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.h19
1 files changed, 3 insertions, 16 deletions
diff --git a/engines/gob/script.h b/engines/gob/script.h
index f2f0571a3a..19fe2696ee 100644
--- a/engines/gob/script.h
+++ b/engines/gob/script.h
@@ -29,6 +29,8 @@
#include "common/str.h"
#include "common/stack.h"
+#include "gob/totfile.h"
+
namespace Gob {
class GobEngine;
@@ -36,11 +38,6 @@ class Expression;
class Script {
public:
- enum Function {
- kFunctionStart = 0,
- kFunctionCenter = 13
- };
-
Script(GobEngine *vm);
~Script();
@@ -154,15 +151,7 @@ private:
int16 _lomHandle;
- uint8 _versionMajor;
- uint8 _versionMinor;
- uint32 _variablesCount;
- uint32 _textsOffset;
- uint32 _resourcesOffset;
- uint16 _animDataSize;
- uint8 _imFileNumber;
- uint8 _exFileNumber;
- uint8 _communHandling;
+ TOTFile::Properties _totProperties;
Common::Stack<CallEntry> _callStack;
@@ -171,8 +160,6 @@ private:
/** Loading a LOM file. */
bool loadLOM(const Common::String &fileName);
- bool getTOTProperties();
-
/** Unloading a TOT file. */
void unloadTOT();
};