aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/myst_stacks/myst.h
diff options
context:
space:
mode:
authorBastien Bouclet2010-12-11 11:40:12 +0000
committerBastien Bouclet2010-12-11 11:40:12 +0000
commit7419d8c0874b36d9ef8954132832dbba9f5f6204 (patch)
tree3125a2b5bead816c4d58c7bc8747779fe4eca424 /engines/mohawk/myst_stacks/myst.h
parent2a8c1ab13a73d4ac6d239a28c9509f69301448a3 (diff)
downloadscummvm-rg350-7419d8c0874b36d9ef8954132832dbba9f5f6204.tar.gz
scummvm-rg350-7419d8c0874b36d9ef8954132832dbba9f5f6204.tar.bz2
scummvm-rg350-7419d8c0874b36d9ef8954132832dbba9f5f6204.zip
MOHAWK: Implement Myst opcodes 116, 186, 188, 189, clock tower time controls
svn-id: r54863
Diffstat (limited to 'engines/mohawk/myst_stacks/myst.h')
-rw-r--r--engines/mohawk/myst_stacks/myst.h15
1 files changed, 10 insertions, 5 deletions
diff --git a/engines/mohawk/myst_stacks/myst.h b/engines/mohawk/myst_stacks/myst.h
index 371bf0c34d..0fdadc387b 100644
--- a/engines/mohawk/myst_stacks/myst.h
+++ b/engines/mohawk/myst_stacks/myst.h
@@ -62,6 +62,7 @@ private:
void opcode_212_run();
void opcode_212_disable();
void libraryCombinationBook_run();
+ void clockWheel_run();
DECLARE_OPCODE(o_libraryBookPageTurnLeft);
@@ -73,7 +74,7 @@ private:
DECLARE_OPCODE(opcode_113);
DECLARE_OPCODE(opcode_114);
DECLARE_OPCODE(o_bookGivePage);
- DECLARE_OPCODE(opcode_116);
+ DECLARE_OPCODE(o_clockWheelsExecute);
DECLARE_OPCODE(opcode_117);
DECLARE_OPCODE(opcode_118);
DECLARE_OPCODE(opcode_119);
@@ -120,9 +121,9 @@ private:
DECLARE_OPCODE(opcode_183);
DECLARE_OPCODE(opcode_184);
DECLARE_OPCODE(opcode_185);
- DECLARE_OPCODE(opcode_186);
- DECLARE_OPCODE(opcode_188);
- DECLARE_OPCODE(opcode_189);
+ DECLARE_OPCODE(o_clockMinuteWheelStartTurn);
+ DECLARE_OPCODE(o_clockWheelEndTurn);
+ DECLARE_OPCODE(o_clockHourWheelStartTurn);
DECLARE_OPCODE(o_libraryCombinationBookStartRight);
DECLARE_OPCODE(o_libraryCombinationBookStartLeft);
DECLARE_OPCODE(opcode_192);
@@ -180,7 +181,6 @@ private:
uint16 _rocketLeverPosition; // 296
bool _libraryCombinationBookPagesTurning;
- uint32 _libraryCombinationBookStart; // 8
int16 _libraryBookPage; // 86
uint16 _libraryBookNumPages; // 88
uint16 _libraryBookBaseImage; // 90
@@ -194,6 +194,8 @@ private:
uint16 _fireplaceLines[6]; // 74 to 84
+ uint16 _clockTurningWheel;
+
void generatorRedrawRocket();
void generatorButtonValue(MystResource *button, uint16 &offset, uint16 &value);
@@ -205,6 +207,9 @@ private:
void libraryCombinationBookTurnLeft();
uint16 bookCountPages(uint16 var);
+
+ void clockWheelStartTurn(uint16 wheel);
+ void clockWheelTurn(uint16 var);
};
} // End of namespace Mohawk