Changeset View
Changeset View
Standalone View
Standalone View
source/tools/atlas/GameInterface/GameLoop.h
Show All 18 Lines | |||||
#define INCLUDED_GAMELOOP | #define INCLUDED_GAMELOOP | ||||
#include "ps/GameSetup/CmdLineArgs.h" | #include "ps/GameSetup/CmdLineArgs.h" | ||||
extern void (*Atlas_GLSetCurrent)(void* context); | extern void (*Atlas_GLSetCurrent)(void* context); | ||||
class AtlasView; | class AtlasView; | ||||
void RendererIncrementalLoad(); | |||||
struct GameLoopState | struct GameLoopState | ||||
{ | { | ||||
GameLoopState() : running(false) {}; | GameLoopState() : running(false) {}; | ||||
CmdLineArgs args; | CmdLineArgs args; | ||||
bool running; // whether the Atlas game loop is still running | bool running; // whether the Atlas game loop is still running | ||||
AtlasView* view; // current 'view' (controls updates, rendering, etc) | AtlasView* view; // current 'view' (controls updates, rendering, etc) | ||||
Show All 14 Lines |
Wildfire Games · Phabricator