diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/hdb/hdb.cpp | 4 | ||||
-rw-r--r-- | engines/hdb/hdb.h | 8 |
2 files changed, 12 insertions, 0 deletions
diff --git a/engines/hdb/hdb.cpp b/engines/hdb/hdb.cpp index 0942085ce8..018e1e51dd 100644 --- a/engines/hdb/hdb.cpp +++ b/engines/hdb/hdb.cpp @@ -85,6 +85,10 @@ bool HDBGame::init() { error("LuaScript::init: Couldn't load the GLOBAL_LUA code."); } + // REMOVE: Putting this here since Menu hasn't been implemented yet. + // Defaults the game into Action Mode + setActionMode(1); + _gameShutdown = false; _systemInit = true; diff --git a/engines/hdb/hdb.h b/engines/hdb/hdb.h index 7416b3cc95..6b027863fc 100644 --- a/engines/hdb/hdb.h +++ b/engines/hdb/hdb.h @@ -119,6 +119,13 @@ public: void useEntity(AIEntity *e); + int getActionMode() { + return _actionMode; + } + void setActionMode(int status) { + _actionMode = status; + } + bool _gameShutdown; Graphics::PixelFormat _format; @@ -129,6 +136,7 @@ private: bool _systemInit; GameState _gameState; + int _actionMode; // 0 or 1 }; |