diff options
author | Martin Kiewitz | 2015-05-17 18:51:22 +0200 |
---|---|---|
committer | Martin Kiewitz | 2015-05-17 18:51:22 +0200 |
commit | 3b092e5d60760de81ceecdad0901c51883fe077e (patch) | |
tree | 63bc7bc6371b3e003fe448a2e0b13059a8ebf0b7 /engines/sci/engine/script.h | |
parent | a6ceee0d67dadb5300716e0f8b6c5ba7ac503a79 (diff) | |
download | scummvm-rg350-3b092e5d60760de81ceecdad0901c51883fe077e.tar.gz scummvm-rg350-3b092e5d60760de81ceecdad0901c51883fe077e.tar.bz2 scummvm-rg350-3b092e5d60760de81ceecdad0901c51883fe077e.zip |
SCI: identifyOffsets() counter variables
Diffstat (limited to 'engines/sci/engine/script.h')
-rw-r--r-- | engines/sci/engine/script.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/engines/sci/engine/script.h b/engines/sci/engine/script.h index abe6409b98..755e2f3698 100644 --- a/engines/sci/engine/script.h +++ b/engines/sci/engine/script.h @@ -93,6 +93,11 @@ private: protected: offsetLookupArrayType _offsetLookupArray; // Table of all elements of currently loaded script, that may get pointed to +private: + uint16 _offsetLookupObjectCount; + uint16 _offsetLookupStringCount; + uint16 _offsetLookupSaidCount; + public: int getLocalsOffset() const { return _localsOffset; } uint16 getLocalsCount() const { return _localsCount; } @@ -270,6 +275,9 @@ public: * Get the offset array */ const offsetLookupArrayType *getOffsetArray() { return &_offsetLookupArray; }; + uint16 getOffsetObjectCount() { return _offsetLookupObjectCount; }; + uint16 getOffsetStringCount() { return _offsetLookupStringCount; }; + uint16 getOffsetSaidCount() { return _offsetLookupSaidCount; }; private: /** |