From a607dd1bcd7859e2da599414be0d2d97e642cd87 Mon Sep 17 00:00:00 2001 From: Nipun Garg Date: Sat, 29 Jun 2019 02:04:44 +0530 Subject: HDB: Add functions related to _pauseFlag --- engines/hdb/hdb.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'engines') 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; } -- cgit v1.2.3