aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/script.h
diff options
context:
space:
mode:
authorFilippos Karapetis2011-11-05 10:07:03 +0200
committerFilippos Karapetis2011-11-05 10:07:03 +0200
commit58190c36b4cc84b3200239211d91b0291301db56 (patch)
treefb21e29ce777cc9750809e0195a698bb31355b53 /engines/sci/engine/script.h
parent267c6f1756c9582b8bd9534334c7f264a2400929 (diff)
downloadscummvm-rg350-58190c36b4cc84b3200239211d91b0291301db56.tar.gz
scummvm-rg350-58190c36b4cc84b3200239211d91b0291301db56.tar.bz2
scummvm-rg350-58190c36b4cc84b3200239211d91b0291301db56.zip
SCI: Made the object map hashmap of the Script class private
Diffstat (limited to 'engines/sci/engine/script.h')
-rw-r--r--engines/sci/engine/script.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/engines/sci/engine/script.h b/engines/sci/engine/script.h
index b6610aadea..8c5495d852 100644
--- a/engines/sci/engine/script.h
+++ b/engines/sci/engine/script.h
@@ -62,7 +62,7 @@ private:
const uint16 *_exportTable; /**< Abs. offset of the export table or 0 if not present */
uint16 _numExports; /**< Number of entries in the exports table */
- const byte *_synonyms; /**< Synonyms block or 0 if not present*/
+ const byte *_synonyms; /**< Synonyms block or 0 if not present */
uint16 _numSynonyms; /**< Number of entries in the synonyms block */
int _localsOffset;
@@ -72,12 +72,7 @@ private:
SegmentId _localsSegment; /**< The local variable segment */
LocalVariables *_localsBlock;
-public:
- /**
- * Table for objects, contains property variables.
- * Indexed by the TODO offset.
- */
- ObjMap _objects;
+ ObjMap _objects; /**< Table for objects, contains property variables */
public:
int getLocalsOffset() const { return _localsOffset; }
@@ -92,6 +87,7 @@ public:
SegmentId getLocalsSegment() const { return _localsSegment; }
reg_t *getLocalsBegin() { return _localsBlock ? _localsBlock->_locals.begin() : NULL; }
void syncLocalsBlock(SegManager *segMan);
+ ObjMap getObjectMap() const { return _objects; }
public:
Script();