22 #ifndef MYST_SCRIPTS_CHANNELWOOD_H 23 #define MYST_SCRIPTS_CHANNELWOOD_H 25 #include "common/scummsys.h" 26 #include "common/util.h" 27 #include "mohawk/myst_scripts.h" 31 struct MystScriptEntry;
33 namespace MystStacks {
35 #define DECLARE_OPCODE(x) void x(uint16 var, const ArgumentsArray &args) 42 void disablePersistentScripts()
override;
43 void runPersistentScripts()
override;
47 uint16 getVar(uint16 var)
override;
48 void toggleVar(uint16 var)
override;
49 bool setVarValue(uint16 var, uint16 value)
override;
51 uint16 getMap()
override {
return 9932; }
53 DECLARE_OPCODE(o_bridgeToggle);
54 DECLARE_OPCODE(o_pipeExtend);
55 DECLARE_OPCODE(o_drawImageChangeCardAndVolume);
56 DECLARE_OPCODE(o_waterTankValveOpen);
57 DECLARE_OPCODE(o_leverStartMove);
58 DECLARE_OPCODE(o_leverMove);
59 DECLARE_OPCODE(o_leverMoveFail);
60 DECLARE_OPCODE(o_leverEndMove);
61 DECLARE_OPCODE(o_leverEndMoveResumeBackground);
62 DECLARE_OPCODE(o_leverEndMoveWithSound);
63 DECLARE_OPCODE(o_leverElev3StartMove);
64 DECLARE_OPCODE(o_leverElev3EndMove);
65 DECLARE_OPCODE(o_pumpLeverMove);
66 DECLARE_OPCODE(o_pumpLeverEndMove);
67 DECLARE_OPCODE(o_stairsDoorToggle);
68 DECLARE_OPCODE(o_valveHandleMove1);
69 DECLARE_OPCODE(o_valveHandleMoveStart1);
70 DECLARE_OPCODE(o_valveHandleMoveStop);
71 DECLARE_OPCODE(o_valveHandleMove2);
72 DECLARE_OPCODE(o_valveHandleMoveStart2);
73 DECLARE_OPCODE(o_valveHandleMove3);
74 DECLARE_OPCODE(o_valveHandleMoveStart3);
75 DECLARE_OPCODE(o_hologramMonitor);
76 DECLARE_OPCODE(o_drawerOpen);
77 DECLARE_OPCODE(o_hologramTemple);
78 DECLARE_OPCODE(o_executeMouseUp);
79 DECLARE_OPCODE(o_waterTankValveClose);
80 DECLARE_OPCODE(o_elevatorMovies);
81 DECLARE_OPCODE(o_soundReplace);
83 DECLARE_OPCODE(o_lever_init);
84 DECLARE_OPCODE(o_pipeValve_init);
85 DECLARE_OPCODE(o_drawer_init);
91 uint16 _siriusDrawerState;
98 bool pipeChangeValve(
bool open, uint16 mask);
104 #undef DECLARE_OPCODE Definition: channelwood.h:37
Definition: myst_scripts.h:60
Definition: myst_areas.h:59
Definition: myst_state.h:249