diff options
author | johndoe123 | 2012-10-19 13:55:37 +0000 |
---|---|---|
committer | Willem Jan Palenstijn | 2013-05-08 20:47:32 +0200 |
commit | 2e32b32808304a172844d835934e7aae6b8cd76f (patch) | |
tree | e03ca2d39172207d970305631cc4bb5a6a1b0504 /engines/neverhood/gamemodule.h | |
parent | ef8f0215cfa6287c5d45fef54f040276d95de9b2 (diff) | |
download | scummvm-rg350-2e32b32808304a172844d835934e7aae6b8cd76f.tar.gz scummvm-rg350-2e32b32808304a172844d835934e7aae6b8cd76f.tar.bz2 scummvm-rg350-2e32b32808304a172844d835934e7aae6b8cd76f.zip |
NEVERHOOD: Start with the MenuModule
Diffstat (limited to 'engines/neverhood/gamemodule.h')
-rw-r--r-- | engines/neverhood/gamemodule.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/engines/neverhood/gamemodule.h b/engines/neverhood/gamemodule.h index 40834ce5cd..3f661388ca 100644 --- a/engines/neverhood/gamemodule.h +++ b/engines/neverhood/gamemodule.h @@ -33,9 +33,11 @@ public: GameModule(NeverhoodEngine *vm); virtual ~GameModule(); void startup(); + void checkMainMenu(); void handleMouseMove(int16 x, int16 y); void handleMouseDown(int16 x, int16 y); void handleMouseUp(int16 x, int16 y); + void handleEscapeKey(); void handleSpaceKey(); void initKeySlotsPuzzle(); void initMemoryPuzzle(); @@ -47,6 +49,9 @@ public: uint32 getCurrRadioMusicFileHash(); protected: Entity *_prevChildObject; + int _prevModuleNum; + bool _gameWasLoaded; + bool _mainMenuRequested; bool _someFlag1; bool _field2C; uint32 _counter; @@ -55,6 +60,9 @@ protected: void createModule(int moduleNum, int which); void createModuleByHash(uint32 nameHash); void updateModule(); + void openMainMenu(); + void createMenuModule(); + void updateMenuModule(); }; } // End of namespace Neverhood |