aboutsummaryrefslogtreecommitdiff
path: root/engines/hdb/hdb.h
diff options
context:
space:
mode:
authorEugene Sandulenko2019-07-13 14:48:22 +0200
committerEugene Sandulenko2019-09-03 17:17:18 +0200
commita35cf6cb93bf3b7ce4ab78ee85a00ac2186e688b (patch)
tree5169b8f3ad36924ec3a381d46802d72f2b1c85f6 /engines/hdb/hdb.h
parentc5d1ea304b38f22fc7927ef16875b1ef82036886 (diff)
downloadscummvm-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/hdb.h')
-rw-r--r--engines/hdb/hdb.h7
1 files changed, 6 insertions, 1 deletions
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];