mirror of
https://github.com/OpenDriver2/REDRIVER2.git
synced 2024-11-25 11:52:32 +01:00
19 lines
386 B
C
19 lines
386 B
C
enum GameStates
|
|
{
|
|
STATE_NONE = 0,
|
|
STATE_INITFRONTEND,
|
|
STATE_FRONTEND,
|
|
STATE_GAMESTART,
|
|
STATE_GAMELAUNCH, // launch single game
|
|
STATE_LADDER, // launch a mission ladder
|
|
STATE_GAMEINIT,
|
|
STATE_GAMELOOP,
|
|
STATE_GAMECOMPLETE,
|
|
STATE_FMVPLAY,
|
|
};
|
|
|
|
// changes the state
|
|
extern void SetState(GameStates newState, void* param = NULL);
|
|
|
|
// does the state loop
|
|
extern void DoStateLoop(); |