aboutsummaryrefslogtreecommitdiff
path: root/engines/zvision/script_manager.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/zvision/script_manager.h')
-rw-r--r--engines/zvision/script_manager.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/zvision/script_manager.h b/engines/zvision/script_manager.h
index a5324533c0..71fefaf41f 100644
--- a/engines/zvision/script_manager.h
+++ b/engines/zvision/script_manager.h
@@ -143,6 +143,8 @@ private:
* particular state key are checked after the key is modified.
*/
StateMap _globalState;
+ /** Holds execute flags */
+ StateMap _globalStateFlags;
/** References _globalState keys to Puzzles */
PuzzleMap _referenceTable;
/** Holds the Puzzles that should be checked this frame */
@@ -169,6 +171,10 @@ public:
void setStateValue(uint32 key, uint value);
void addToStateValue(uint32 key, uint valueToAdd);
+ uint getStateFlag(uint32 key);
+ void setStateFlag(uint32 key, uint value);
+ void unsetStateFlag(uint32 key, uint value);
+
void addControl(Control *control);
Control *getControl(uint32 key);