aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/script.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/gob/script.h')
-rw-r--r--engines/gob/script.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/engines/gob/script.h b/engines/gob/script.h
index 697bad344d..63cb237e6e 100644
--- a/engines/gob/script.h
+++ b/engines/gob/script.h
@@ -116,6 +116,10 @@ public:
/** Push the current script position and branch to the specified offset. */
void call(uint32 offset);
+ // Fixed properties
+ uint8 getVersionMajor() const;
+ uint8 getVersionMinor() const;
+
private:
struct CallEntry {
byte *totPtr;
@@ -134,6 +138,9 @@ private:
int16 _lomHandle;
+ uint8 _versionMajor;
+ uint8 _versionMinor;
+
Common::Stack<CallEntry> _callStack;
/** Loading a TOT file. */
@@ -141,6 +148,8 @@ private:
/** Loading a LOM file. */
bool loadLOM(const Common::String &fileName);
+ bool getTOTProperties();
+
/** Unloading a TOT file. */
void unloadTOT();
};