8 #include "luainclude.h"
9 #include "SDLVideoOut.h"
23 static SDLVideoOut
*video
;
24 // static Tileset tileset;
32 static const int TICKS_PER_SECOND
= 50;
33 static const int MAX_FRAMESKIP
= 10;
34 static const int SKIP_FRAMES
= (CLOCKS_PER_SEC
/1000) / TICKS_PER_SECOND
;
39 static lua_State
*LUA
;
41 static std::map
<std::string
,ObjectClass
> objectTypes
;
55 void HandleInput( SDL_Event
*event
);
62 static SDLVideoOut
*getVideo();
63 // static Tileset *getTileset();
65 static Player
*getPlayer();