Added Script::getStartOffset()
svn-id: r41795
This commit is contained in:
parent
3470faa936
commit
792e77e653
4 changed files with 27 additions and 19 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue