aboutsummaryrefslogtreecommitdiff
path: root/engines/neverhood/gamemodule.h
diff options
context:
space:
mode:
authorjohndoe1232013-01-22 12:13:34 +0000
committerWillem Jan Palenstijn2013-05-08 20:47:42 +0200
commit490d447ed19d481c9e15847c9bb43223b71c7847 (patch)
treef2f81fa465decd05fc12221f04177ece0d1ac9be /engines/neverhood/gamemodule.h
parent4389d32974cd0965624d30b6566fcc8e1c2a72b4 (diff)
downloadscummvm-rg350-490d447ed19d481c9e15847c9bb43223b71c7847.tar.gz
scummvm-rg350-490d447ed19d481c9e15847c9bb43223b71c7847.tar.bz2
scummvm-rg350-490d447ed19d481c9e15847c9bb43223b71c7847.zip
NEVERHOOD: Implement restart functionality (from both main menu and game logic)
- Some minor cleanup
Diffstat (limited to 'engines/neverhood/gamemodule.h')
-rw-r--r--engines/neverhood/gamemodule.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/neverhood/gamemodule.h b/engines/neverhood/gamemodule.h
index ee6b000533..b212a1905c 100644
--- a/engines/neverhood/gamemodule.h
+++ b/engines/neverhood/gamemodule.h
@@ -34,6 +34,7 @@ public:
virtual ~GameModule();
void startup();
void restoreGame();
+ void requestRestartGame(bool requestMainMenu);
void checkMainMenu();
void handleMouseMove(int16 x, int16 y);
void handleMouseDown(int16 x, int16 y);
@@ -57,6 +58,7 @@ protected:
Entity *_prevChildObject;
int _prevModuleNum;
bool _gameWasLoaded;
+ bool _restartGameRequested;
bool _mainMenuRequested;
bool _someFlag1;
bool _field2C;