diff options
author | Bastien Bouclet | 2011-05-15 14:53:05 +0200 |
---|---|---|
committer | Bastien Bouclet | 2011-05-15 17:41:54 +0200 |
commit | e0e28aaeb24983b0e0700b5e561f0d9c991bfb4a (patch) | |
tree | 71cb2103ab5c09b868b9e6226be8e3a681657a81 /engines/mohawk/myst_scripts.h | |
parent | d72037fb72b876b9cc0ca80d585a1a4939a68bd9 (diff) | |
download | scummvm-rg350-e0e28aaeb24983b0e0700b5e561f0d9c991bfb4a.tar.gz scummvm-rg350-e0e28aaeb24983b0e0700b5e561f0d9c991bfb4a.tar.bz2 scummvm-rg350-e0e28aaeb24983b0e0700b5e561f0d9c991bfb4a.zip |
MOHAWK: Implement "Show Map" feature for Myst ME
Diffstat (limited to 'engines/mohawk/myst_scripts.h')
-rw-r--r-- | engines/mohawk/myst_scripts.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/mohawk/myst_scripts.h b/engines/mohawk/myst_scripts.h index c32d6a9266..18f5b27a6d 100644 --- a/engines/mohawk/myst_scripts.h +++ b/engines/mohawk/myst_scripts.h @@ -76,6 +76,9 @@ public: virtual void toggleVar(uint16 var); virtual bool setVarValue(uint16 var, uint16 value); + virtual uint16 getMap() { return 0; } + void showMap(); + void animatedUpdate(uint16 argc, uint16 *argv, uint16 delay); DECLARE_OPCODE(unknown); @@ -119,6 +122,7 @@ public: DECLARE_OPCODE(o_saveMainCursor); DECLARE_OPCODE(o_restoreMainCursor); DECLARE_OPCODE(o_soundWaitStop); + DECLARE_OPCODE(o_exitMap); // Used in multiple stacks DECLARE_OPCODE(o_quit); @@ -144,6 +148,7 @@ protected: MystResource *_invokingResource; uint16 _savedCardId; + uint16 _savedMapCardId; uint16 _savedCursorId; int16 _tempVar; // Generic temp var used by the scripts uint32 _startTime; // Generic start time used by the scripts |