diff options
author | Marisa-Chan | 2013-10-24 22:25:34 +0000 |
---|---|---|
committer | Marisa-Chan | 2013-10-24 22:25:34 +0000 |
commit | 803ff02136ddc102084094430aabc366192afe99 (patch) | |
tree | 2d6d72de18c75666717d5c9c6b93afc3a10861a5 /engines/zvision/script_manager.h | |
parent | 3e51ed6a785ffb1871ffdbfff6aaad309959a1ee (diff) | |
download | scummvm-rg350-803ff02136ddc102084094430aabc366192afe99.tar.gz scummvm-rg350-803ff02136ddc102084094430aabc366192afe99.tar.bz2 scummvm-rg350-803ff02136ddc102084094430aabc366192afe99.zip |
ZVISION: New data types for script files and puzzle reference.
Diffstat (limited to 'engines/zvision/script_manager.h')
-rw-r--r-- | engines/zvision/script_manager.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/engines/zvision/script_manager.h b/engines/zvision/script_manager.h index 767919ef0e..6dd2190cf1 100644 --- a/engines/zvision/script_manager.h +++ b/engines/zvision/script_manager.h @@ -119,6 +119,24 @@ public: private: ZVision *_engine; + + struct script_scope { + uint32 proc_count; + + PuzzleList *scope_queue; // For adding puzzles to queue + PuzzleList *exec_queue; // Switch to it when execute + PuzzleList _priv_queue_one; + PuzzleList _priv_queue_two; + + PuzzleList _puzzles; + ControlList _controls; + }; + + struct puzzle_ref { + Puzzle *puz; + script_scope *scope; + }; + /** * Holds the global state variable. Do NOT directly modify this. Use the accessors and * mutators getStateValue() and setStateValue(). This ensures that Puzzles that reference a |