diff options
Diffstat (limited to 'engines/gob/script.cpp')
-rw-r--r-- | engines/gob/script.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/gob/script.cpp b/engines/gob/script.cpp index 18d47d4333..4bed65704e 100644 --- a/engines/gob/script.cpp +++ b/engines/gob/script.cpp @@ -424,6 +424,8 @@ bool Script::getTOTProperties() { _startOffset = READ_LE_UINT32(_totData + 100); + _centerOffset = READ_LE_UINT16(_totData + 126); + return true; } @@ -540,6 +542,10 @@ uint32 Script::getStartOffset() const { return _startOffset; } +uint32 Script::getCenterOffset() const { + return _centerOffset; +} + uint32 Script::getVariablesCount(const char *fileName, GobEngine *vm) { if (!vm->_dataIO->existData(fileName)) return 0; |