diff options
author | Bastien Bouclet | 2010-12-04 11:54:08 +0000 |
---|---|---|
committer | Bastien Bouclet | 2010-12-04 11:54:08 +0000 |
commit | 52217fa434ba50751a139b97f634d255a50c6e97 (patch) | |
tree | 052e5fa6f3672ecaecf09625015c0019ec4ee7c1 /engines/mohawk/myst_stacks/myst.h | |
parent | 4a8fc942b7f7ea0636650ed44f0fde6db91c6b11 (diff) | |
download | scummvm-rg350-52217fa434ba50751a139b97f634d255a50c6e97.tar.gz scummvm-rg350-52217fa434ba50751a139b97f634d255a50c6e97.tar.bz2 scummvm-rg350-52217fa434ba50751a139b97f634d255a50c6e97.zip |
MOHAWK: Implement Myst opcodes 120 and 210, rocket power generator
svn-id: r54759
Diffstat (limited to 'engines/mohawk/myst_stacks/myst.h')
-rw-r--r-- | engines/mohawk/myst_stacks/myst.h | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/engines/mohawk/myst_stacks/myst.h b/engines/mohawk/myst_stacks/myst.h index a64c7176dd..8f0827277a 100644 --- a/engines/mohawk/myst_stacks/myst.h +++ b/engines/mohawk/myst_stacks/myst.h @@ -47,6 +47,7 @@ public: private: void setupOpcodes(); + uint16 getVar(uint16 var); void opcode_200_run(); void opcode_200_disable(); @@ -60,8 +61,7 @@ private: void opcode_205_disable(); void opcode_209_run(); void opcode_209_disable(); - void opcode_210_run(); - void opcode_210_disable(); + void o_generatorControlRoom_run(); void opcode_211_run(); void opcode_211_disable(); void opcode_212_run(); @@ -80,7 +80,7 @@ private: DECLARE_OPCODE(opcode_117); DECLARE_OPCODE(opcode_118); DECLARE_OPCODE(opcode_119); - DECLARE_OPCODE(opcode_120); + DECLARE_OPCODE(o_generatorButtonPressed); DECLARE_OPCODE(opcode_121); DECLARE_OPCODE(opcode_122); DECLARE_OPCODE(opcode_123); @@ -139,7 +139,7 @@ private: DECLARE_OPCODE(opcode_206); DECLARE_OPCODE(opcode_208); DECLARE_OPCODE(opcode_209); - DECLARE_OPCODE(opcode_210); + DECLARE_OPCODE(o_generatorControlRoom_init); DECLARE_OPCODE(opcode_211); DECLARE_OPCODE(opcode_212); DECLARE_OPCODE(opcode_213); @@ -164,6 +164,12 @@ private: DECLARE_OPCODE(opcode_308); DECLARE_OPCODE(opcode_309); DECLARE_OPCODE(opcode_312); + + bool _generatorControlRoomRunning; + uint16 _generatorVoltage; // 58 + + void generatorRedrawRocket(); + void generatorButtonValue(MystResource *button, uint16 &offset, uint16 &value); }; } // End of namespace Mohawk |