aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/myst_stacks/myst.h
diff options
context:
space:
mode:
authorBastien Bouclet2010-12-19 07:02:02 +0000
committerBastien Bouclet2010-12-19 07:02:02 +0000
commitc3fdcef75180d3acf32dace78970f3040cf9d451 (patch)
tree21f5fc0aa9b601a1261f43568ace649a467f209c /engines/mohawk/myst_stacks/myst.h
parente9e09d297c949bfe09ab9e17fa017fe95eb1388b (diff)
downloadscummvm-rg350-c3fdcef75180d3acf32dace78970f3040cf9d451.tar.gz
scummvm-rg350-c3fdcef75180d3acf32dace78970f3040cf9d451.tar.bz2
scummvm-rg350-c3fdcef75180d3acf32dace78970f3040cf9d451.zip
MOHAWK: Fix Myst courtyard boxes. Hover areas entering / leaving is now handled separatly from other resources since the former have to get events even when they are disabled.
svn-id: r54959
Diffstat (limited to 'engines/mohawk/myst_stacks/myst.h')
-rw-r--r--engines/mohawk/myst_stacks/myst.h17
1 files changed, 7 insertions, 10 deletions
diff --git a/engines/mohawk/myst_stacks/myst.h b/engines/mohawk/myst_stacks/myst.h
index 19c7200ec7..75af64bc2c 100644
--- a/engines/mohawk/myst_stacks/myst.h
+++ b/engines/mohawk/myst_stacks/myst.h
@@ -51,11 +51,7 @@ private:
void toggleVar(uint16 var);
bool setVarValue(uint16 var, uint16 value);
- void opcode_201_run();
- void opcode_201_disable();
void towerRotationMap_run();
- void opcode_205_run();
- void opcode_205_disable();
void libraryBookcaseTransform_run();
void generatorControlRoom_run();
void opcode_212_run();
@@ -73,7 +69,7 @@ private:
DECLARE_OPCODE(o_libraryBookPageTurnRight);
DECLARE_OPCODE(o_fireplaceToggleButton);
DECLARE_OPCODE(o_fireplaceRotation);
- DECLARE_OPCODE(opcode_105);
+ DECLARE_OPCODE(o_courtyardBoxesCheckSolution);
DECLARE_OPCODE(o_towerRotationStart);
DECLARE_OPCODE(o_towerRotationEnd);
DECLARE_OPCODE(opcode_109);
@@ -133,8 +129,8 @@ private:
DECLARE_OPCODE(opcode_177);
DECLARE_OPCODE(o_libraryCombinationBookStop);
DECLARE_OPCODE(o_cabinMatchLight);
- DECLARE_OPCODE(opcode_183);
- DECLARE_OPCODE(opcode_184);
+ DECLARE_OPCODE(o_courtyardBoxEnter);
+ DECLARE_OPCODE(o_courtyardBoxLeave);
DECLARE_OPCODE(o_clockMinuteWheelStartTurn);
DECLARE_OPCODE(o_clockWheelEndTurn);
DECLARE_OPCODE(o_clockHourWheelStartTurn);
@@ -149,10 +145,10 @@ private:
DECLARE_OPCODE(opcode_199);
DECLARE_OPCODE(o_libraryBook_init);
- DECLARE_OPCODE(opcode_201);
+ DECLARE_OPCODE(o_courtyardBox_init);
DECLARE_OPCODE(o_towerRotationMap_init);
DECLARE_OPCODE(o_forechamberDoor_init);
- DECLARE_OPCODE(opcode_204);
+ DECLARE_OPCODE(o_shipAccess_init);
DECLARE_OPCODE(opcode_205);
DECLARE_OPCODE(opcode_206);
DECLARE_OPCODE(opcode_208);
@@ -206,6 +202,8 @@ private:
uint16 _libraryBookSound1; // 298
uint16 _libraryBookSound2; // 300
+ uint16 _courtyardBoxSound; // 302
+
uint16 _fireplaceLines[6]; // 74 to 84
uint16 _clockTurningWheel;
@@ -239,7 +237,6 @@ private:
uint16 _treeMinPosition; // 228
uint16 _treeMinAccessiblePosition; // 230
uint16 _treeMaxAccessiblePosition; // 232
- uint32 _treeLastMoveTime;
void generatorRedrawRocket();
void generatorButtonValue(MystResource *button, uint16 &offset, uint16 &value);