diff options
author | Bastien Bouclet | 2018-05-17 20:46:42 +0200 |
---|---|---|
committer | Bastien Bouclet | 2018-05-17 20:49:28 +0200 |
commit | 6798f9c77ebe9c436c16cd1525554eb49bc1ba1d (patch) | |
tree | 3a6d86bb9759ecc5a09e1fe47ebf54d080e076d8 /engines/mohawk/myst.h | |
parent | 44fd44ccc965b91a38c534e0a890772e83577c4b (diff) | |
download | scummvm-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.h | 9 |
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(); |