aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/myst_stacks/myst.h
diff options
context:
space:
mode:
authorBastien Bouclet2010-12-11 17:00:22 +0000
committerBastien Bouclet2010-12-11 17:00:22 +0000
commit36851d4eb4a4b9fe3f717aee24ab4f10e14ac725 (patch)
tree2cf70fbebc9408069e084ab53edcaf7f4d90e314 /engines/mohawk/myst_stacks/myst.h
parent43aa47dd311da8afe47cbf1e1964dedf98506584 (diff)
downloadscummvm-rg350-36851d4eb4a4b9fe3f717aee24ab4f10e14ac725.tar.gz
scummvm-rg350-36851d4eb4a4b9fe3f717aee24ab4f10e14ac725.tar.bz2
scummvm-rg350-36851d4eb4a4b9fe3f717aee24ab4f10e14ac725.zip
MOHAWK: Implement Myst opcodes 113, 114, 198 : Vault open / close
In progress tower rotation svn-id: r54866
Diffstat (limited to 'engines/mohawk/myst_stacks/myst.h')
-rw-r--r--engines/mohawk/myst_stacks/myst.h21
1 files changed, 15 insertions, 6 deletions
diff --git a/engines/mohawk/myst_stacks/myst.h b/engines/mohawk/myst_stacks/myst.h
index 0fdadc387b..2a6e812b8a 100644
--- a/engines/mohawk/myst_stacks/myst.h
+++ b/engines/mohawk/myst_stacks/myst.h
@@ -53,8 +53,7 @@ private:
void opcode_201_run();
void opcode_201_disable();
- void opcode_202_run();
- void opcode_202_disable();
+ void towerRotationMap_run();
void opcode_205_run();
void opcode_205_disable();
void libraryBookcaseTransform_run();
@@ -70,9 +69,11 @@ private:
DECLARE_OPCODE(o_fireplaceToggleButton);
DECLARE_OPCODE(o_fireplaceRotation);
DECLARE_OPCODE(opcode_105);
+ DECLARE_OPCODE(o_towerRotationStart);
+ DECLARE_OPCODE(o_towerRotationEnd);
DECLARE_OPCODE(opcode_109);
- DECLARE_OPCODE(opcode_113);
- DECLARE_OPCODE(opcode_114);
+ DECLARE_OPCODE(o_dockVaultOpen);
+ DECLARE_OPCODE(o_dockVaultClose);
DECLARE_OPCODE(o_bookGivePage);
DECLARE_OPCODE(o_clockWheelsExecute);
DECLARE_OPCODE(opcode_117);
@@ -131,12 +132,12 @@ private:
DECLARE_OPCODE(opcode_195);
DECLARE_OPCODE(opcode_196);
DECLARE_OPCODE(opcode_197);
- DECLARE_OPCODE(opcode_198);
+ DECLARE_OPCODE(o_dockVaultForceClose);
DECLARE_OPCODE(opcode_199);
DECLARE_OPCODE(o_libraryBook_init);
DECLARE_OPCODE(opcode_201);
- DECLARE_OPCODE(opcode_202);
+ DECLARE_OPCODE(o_towerRotationMap_init);
DECLARE_OPCODE(o_forechamberDoor_init);
DECLARE_OPCODE(opcode_204);
DECLARE_OPCODE(opcode_205);
@@ -196,6 +197,14 @@ private:
uint16 _clockTurningWheel;
+ uint16 _dockVaultState; // 92
+
+ bool _towerRotationMapRunning;
+ uint16 _towerRotationMapInitialized; // 292
+ MystResourceType11 *_towerRotationMapTower; // 108
+ MystResourceType8 *_towerRotationMapLabel; // 112
+ bool _towerRotationMapClicked; // 132
+
void generatorRedrawRocket();
void generatorButtonValue(MystResource *button, uint16 &offset, uint16 &value);