diff options
author | Filippos Karapetis | 2010-06-14 12:44:57 +0000 |
---|---|---|
committer | Filippos Karapetis | 2010-06-14 12:44:57 +0000 |
commit | cd77cb96fc85ba2f681337630c4374ce0565927f (patch) | |
tree | 01a533bfc4c41c3ea63d100b6ab933ba2b880dcc /engines/sci/engine/segment.h | |
parent | b921cebce882de6d32ed3fd62de16ee215daa467 (diff) | |
download | scummvm-rg350-cd77cb96fc85ba2f681337630c4374ce0565927f.tar.gz scummvm-rg350-cd77cb96fc85ba2f681337630c4374ce0565927f.tar.bz2 scummvm-rg350-cd77cb96fc85ba2f681337630c4374ce0565927f.zip |
Some cleanup of the script locals code
svn-id: r49649
Diffstat (limited to 'engines/sci/engine/segment.h')
-rw-r--r-- | engines/sci/engine/segment.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/engines/sci/engine/segment.h b/engines/sci/engine/segment.h index f1b6dccaa2..8759c630e8 100644 --- a/engines/sci/engine/segment.h +++ b/engines/sci/engine/segment.h @@ -364,6 +364,9 @@ private: Common::Array<CodeBlock> _codeBlocks; + int _localsOffset; + uint16 _localsCount; + public: /** * Table for objects, contains property variables. @@ -371,7 +374,8 @@ public: */ ObjMap _objects; - int _localsOffset; + int getLocalsOffset() const { return _localsOffset; } + uint16 getLocalsCount() const { return _localsCount; } SegmentId _localsSegment; /**< The local variable segment */ LocalVariables *_localsBlock; |