0ad/source/tools/atlas/GameInterface/GameLoop.h
Ykkrosh 549150fe38 Atlas: simple camera control and terrain editing.
Terrain: added terrain-editing code to CTerrain, for better
encapsulation or something.
Console: simplified screen resizing.
Game/etc: removed some unnecessary header file inclusions.

This was SVN commit r2459.
2005-07-03 16:25:48 +00:00

22 lines
376 B
C

#ifndef GAMELOOP_H__
#define GAMELOOP_H__
struct GameLoopState
{
int argc;
char** argv;
bool running;
bool rendering;
const void* currentDC;
float frameLength; // smoothed to avoid large jumps
struct
{
float scrollSpeed[4]; // [fwd, bwd, left, right]. 0.0f for disabled.
} input;
};
extern GameLoopState* g_GameLoop;
#endif // GAMELOOP_H__