diff options
author | Eugene Sandulenko | 2019-07-13 14:48:22 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2019-09-03 17:17:18 +0200 |
commit | a35cf6cb93bf3b7ce4ab78ee85a00ac2186e688b (patch) | |
tree | 5169b8f3ad36924ec3a381d46802d72f2b1c85f6 /engines/hdb | |
parent | c5d1ea304b38f22fc7927ef16875b1ef82036886 (diff) | |
download | scummvm-rg350-a35cf6cb93bf3b7ce4ab78ee85a00ac2186e688b.tar.gz scummvm-rg350-a35cf6cb93bf3b7ce4ab78ee85a00ac2186e688b.tar.bz2 scummvm-rg350-a35cf6cb93bf3b7ce4ab78ee85a00ac2186e688b.zip |
HDB: Added SetDebug/GetDebug, no relevant functionality
Diffstat (limited to 'engines/hdb')
-rw-r--r-- | engines/hdb/hdb.cpp | 2 | ||||
-rw-r--r-- | engines/hdb/hdb.h | 7 |
2 files changed, 8 insertions, 1 deletions
diff --git a/engines/hdb/hdb.cpp b/engines/hdb/hdb.cpp index ad16393717..da9107afa0 100644 --- a/engines/hdb/hdb.cpp +++ b/engines/hdb/hdb.cpp @@ -174,6 +174,8 @@ void HDBGame::changeGameState() { void HDBGame::start() { _gameState = GAME_TITLE; + + _debugFlag = 0; } bool HDBGame::restartMap() { diff --git a/engines/hdb/hdb.h b/engines/hdb/hdb.h index b7f12a354c..549eed3b02 100644 --- a/engines/hdb/hdb.h +++ b/engines/hdb/hdb.h @@ -222,6 +222,7 @@ public: void togglePause() { _pauseFlag ^= 1; } + int getPause() { return _pauseFlag; } @@ -246,9 +247,12 @@ public: return &_targetName; } + int getDebug() { return _debugFlag; } + void setDebug(int flag) { _debugFlag = flag; } + bool isVoiceless() { /* - FIXME: Add hyperspace-nv.mpc to gameDescriptions[] + FIXME: Add hyperspace-nv.mpc to gameDescriptions[] in detection.cpp, and add a flag check for it. Until then, the voiceless version is unsupported. */ @@ -311,6 +315,7 @@ private: // Misc Variables int _pauseFlag; bool _cheating; + int _debugFlag; char _currentMapname[64]; char _lastMapname[64]; |