aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/variables.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/gob/variables.h')
-rw-r--r--engines/gob/variables.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/engines/gob/variables.h b/engines/gob/variables.h
index c3724bc118..d092a8bc4c 100644
--- a/engines/gob/variables.h
+++ b/engines/gob/variables.h
@@ -148,6 +148,23 @@ private:
Variables::Type _type;
};
+class VariableStack {
+public:
+ VariableStack(uint32 size);
+ ~VariableStack();
+
+ void pushData(const Variables &vars, uint32 offset, uint32 size);
+ void pushInt(uint32 value);
+
+ void pop(Variables &vars, uint32 offset);
+
+private:
+ byte *_stack;
+
+ uint32 _size;
+ uint32 _position;
+};
+
} // End of namespace Gob
#endif // GOB_VARIABLES_H