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 ef7fc40db0..18d47d4333 100644 --- a/engines/gob/script.cpp +++ b/engines/gob/script.cpp @@ -422,6 +422,8 @@ bool Script::getTOTProperties() { _exFileNumber = _totData[60]; _communHandling = _totData[61]; + _startOffset = READ_LE_UINT32(_totData + 100); + return true; } @@ -534,6 +536,10 @@ uint8 Script::getCommunHandling() const { return _communHandling; } +uint32 Script::getStartOffset() const { + return _startOffset; +} + uint32 Script::getVariablesCount(const char *fileName, GobEngine *vm) { if (!vm->_dataIO->existData(fileName)) return 0; |
