From 2e32b32808304a172844d835934e7aae6b8cd76f Mon Sep 17 00:00:00 2001 From: johndoe123 Date: Fri, 19 Oct 2012 13:55:37 +0000 Subject: NEVERHOOD: Start with the MenuModule --- engines/neverhood/gamemodule.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'engines/neverhood/gamemodule.h') 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 -- cgit v1.2.3