diff options
Diffstat (limited to 'engines/hdb/hdb.h')
-rw-r--r-- | engines/hdb/hdb.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/engines/hdb/hdb.h b/engines/hdb/hdb.h index f09b81de39..a690be2400 100644 --- a/engines/hdb/hdb.h +++ b/engines/hdb/hdb.h @@ -31,6 +31,7 @@ #include "common/str.h" #include "common/random.h" #include "common/savefile.h" +#include "common/config-manager.h" #include "graphics/surface.h" #include "graphics/thumbnail.h" @@ -235,6 +236,13 @@ public: void setStarsMonkeystone14(int32 value) { _monkeystone14 = value; } void setStarsMonkeystone21(int32 value) { _monkeystone21 = value; } + void setCheatingOn() { + _cheating = true; + } + bool getCheatingOn() { + return _cheating; + } + bool _gameShutdown; Graphics::PixelFormat _format; @@ -254,6 +262,7 @@ private: GameState _gameState; int _actionMode; // 0 or 1 int _pauseFlag; + bool _cheating; char _currentMapname[64]; char _lastMapname[64]; @@ -275,7 +284,6 @@ private: int slot; } _saveInfo, _loadInfo; - }; extern HDBGame *g_hdb; |