diff options
Diffstat (limited to 'src/Game.h')
-rw-r--r-- | src/Game.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/Game.h b/src/Game.h index 5e6520b..58770c3 100644 --- a/src/Game.h +++ b/src/Game.h @@ -122,9 +122,8 @@ public: bool blurness; bool paused; - int mainmenu; + bool menu; - Point olddrawmouse; XYZ vipgoal; XYZ aimer[2]; @@ -156,7 +155,6 @@ public: bool killedinnocent; bool gameinprogress; bool beatgame; - bool mainmenuness; int murderer; float timeremaining; int whichsong; @@ -178,6 +176,8 @@ public: void Splat(int k); }; #else // __cplusplus +#include <stdbool.h> + typedef struct Game Game; #endif // __cplusplus @@ -189,6 +189,7 @@ extern "C" { void handleKey(Game* game, int key, int action, int mods); void initGl(Game* game); void initGame(Game* game); + void setMenu(Game* game, bool value); void eventLoop(Game* game); void closeGame(Game* game); #ifdef __cplusplus |