aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorNipun Garg2019-06-29 02:04:44 +0530
committerEugene Sandulenko2019-09-03 17:17:04 +0200
commita607dd1bcd7859e2da599414be0d2d97e642cd87 (patch)
tree7d46a7d231a64eb6907adb364463a119430e7b79 /engines
parentb42109d368622408ca9a61f8157ba2a01a493005 (diff)
downloadscummvm-rg350-a607dd1bcd7859e2da599414be0d2d97e642cd87.tar.gz
scummvm-rg350-a607dd1bcd7859e2da599414be0d2d97e642cd87.tar.bz2
scummvm-rg350-a607dd1bcd7859e2da599414be0d2d97e642cd87.zip
HDB: Add functions related to _pauseFlag
Diffstat (limited to 'engines')
-rw-r--r--engines/hdb/hdb.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/engines/hdb/hdb.h b/engines/hdb/hdb.h
index c33742a896..e9f0548869 100644
--- a/engines/hdb/hdb.h
+++ b/engines/hdb/hdb.h
@@ -164,6 +164,13 @@ public:
_actionMode = status;
}
+ void togglePause() {
+ _pauseFlag ^= 1;
+ }
+ int getPause() {
+ return _pauseFlag;
+ }
+
void resetTimer() {
_timePlayed = _timeSeconds = 0;
}