22 #ifndef MYST_SCRIPTS_PREVIEW_H 23 #define MYST_SCRIPTS_PREVIEW_H 25 #include "mohawk/sound.h" 26 #include "mohawk/myst_stacks/myst.h" 28 #include "common/scummsys.h" 29 #include "common/util.h" 33 struct MystScriptEntry;
35 namespace MystStacks {
37 #define DECLARE_OPCODE(x) void x(uint16 var, const ArgumentsArray &args) 44 void disablePersistentScripts()
override;
45 void runPersistentScripts()
override;
50 DECLARE_OPCODE(o_fadeToBlack);
51 DECLARE_OPCODE(o_fadeFromBlack);
52 DECLARE_OPCODE(o_stayHere);
53 DECLARE_OPCODE(o_speechStop);
55 DECLARE_OPCODE(o_libraryBookcaseTransformDemo_init);
56 DECLARE_OPCODE(o_speech_init);
57 DECLARE_OPCODE(o_library_init);
66 uint32 _speechNextTime;
69 void speechUpdateCue();
71 void libraryBookcaseTransform_run()
override;
Definition: myst_areas.h:154