diff options
Diffstat (limited to 'engines/mohawk/myst_stacks/preview.h')
-rw-r--r-- | engines/mohawk/myst_stacks/preview.h | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/engines/mohawk/myst_stacks/preview.h b/engines/mohawk/myst_stacks/preview.h index 7e4e418eef..a884be8d4d 100644 --- a/engines/mohawk/myst_stacks/preview.h +++ b/engines/mohawk/myst_stacks/preview.h @@ -40,6 +40,9 @@ public: Preview(MohawkEngine_Myst *vm); ~Preview(); + void disablePersistentScripts(); + void runPersistentScripts(); + private: void setupOpcodes(); @@ -48,8 +51,20 @@ private: DECLARE_OPCODE(opcode_198); DECLARE_OPCODE(opcode_199); - DECLARE_OPCODE(opcode_298); - DECLARE_OPCODE(opcode_299); + DECLARE_OPCODE(o_speech_init); + DECLARE_OPCODE(o_library_init); + + uint16 _libraryState; // 4 + MystResourceType8 *_library; // 32 + + bool _speechRunning; + uint _speechStep; + CueList _cueList; + int16 _currentCue; + uint32 _speechNextTime; // 6 + + void speech_run(); + void speechUpdateCue(); }; } // End of namespace MystStacks |