22 #ifndef MYST_SCRIPTS_DEMO_H 23 #define MYST_SCRIPTS_DEMO_H 25 #include "common/scummsys.h" 26 #include "common/util.h" 27 #include "mohawk/myst_stacks/intro.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;
48 DECLARE_OPCODE(o_stopIntro);
49 DECLARE_OPCODE(o_fadeFromBlack);
50 DECLARE_OPCODE(o_fadeToBlack);
52 DECLARE_OPCODE(o_returnToMenu_init);
54 bool _returnToMenuRunning;
55 uint16 _returnToMenuStep;
56 uint32 _returnToMenuNextTime;
58 void returnToMenu_run();