aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/myst.h
diff options
context:
space:
mode:
authorBastien Bouclet2018-05-17 20:46:42 +0200
committerBastien Bouclet2018-05-17 20:49:28 +0200
commit6798f9c77ebe9c436c16cd1525554eb49bc1ba1d (patch)
tree3a6d86bb9759ecc5a09e1fe47ebf54d080e076d8 /engines/mohawk/myst.h
parent44fd44ccc965b91a38c534e0a890772e83577c4b (diff)
downloadscummvm-rg350-6798f9c77ebe9c436c16cd1525554eb49bc1ba1d.tar.gz
scummvm-rg350-6798f9c77ebe9c436c16cd1525554eb49bc1ba1d.tar.bz2
scummvm-rg350-6798f9c77ebe9c436c16cd1525554eb49bc1ba1d.zip
MOHAWK: Don't allow displaying the map when the game is not interactive
Fixes Trac#10526 and Trac#10531.
Diffstat (limited to 'engines/mohawk/myst.h')
-rw-r--r--engines/mohawk/myst.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/engines/mohawk/myst.h b/engines/mohawk/myst.h
index 2758b7fdca..fcbdafa512 100644
--- a/engines/mohawk/myst.h
+++ b/engines/mohawk/myst.h
@@ -236,6 +236,13 @@ public:
GUI::Debugger *getDebugger() override { return _console; }
+ /**
+ * Is the game currently interactive
+ *
+ * When the game is interactive, the user can interact with the game world
+ * and perform other operations such as loading saved games, ...
+ */
+ bool isInteractive();
bool canLoadGameStateCurrently() override;
bool canSaveGameStateCurrently() override;
Common::Error loadGameState(int slot) override;
@@ -284,7 +291,7 @@ private:
bool _mouseClicked;
bool _mouseMoved;
bool _escapePressed;
- bool _interactive; // Is the game currently interactive
+ bool _waitingOnBlockingOperation;
Common::Array<MystCursorHint> _cursorHints;
void loadCursorHints();