aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/segment.h
diff options
context:
space:
mode:
authorFilippos Karapetis2010-06-14 20:45:00 +0000
committerFilippos Karapetis2010-06-14 20:45:00 +0000
commit1fde7f1abceb5f7c52982e9b2bf18188037b63d5 (patch)
tree0ce987d7607048099598eee49c89e01c2cceabb1 /engines/sci/engine/segment.h
parent86878450ee26cbf2b4f79e5e54787fe5cce2a10e (diff)
downloadscummvm-rg350-1fde7f1abceb5f7c52982e9b2bf18188037b63d5.tar.gz
scummvm-rg350-1fde7f1abceb5f7c52982e9b2bf18188037b63d5.tar.bz2
scummvm-rg350-1fde7f1abceb5f7c52982e9b2bf18188037b63d5.zip
Removed the code used for tracking script code block relocations in SCI0-SCI1 games, as we don't actually relocate these blocks, and it was used solely for verification of the exports table. The issue that this warning was created for should no longer occur
svn-id: r49669
Diffstat (limited to 'engines/sci/engine/segment.h')
-rw-r--r--engines/sci/engine/segment.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/engines/sci/engine/segment.h b/engines/sci/engine/segment.h
index 045cb119a3..02d4809b70 100644
--- a/engines/sci/engine/segment.h
+++ b/engines/sci/engine/segment.h
@@ -331,11 +331,6 @@ private:
reg_t _pos; /**< Object offset within its script; for clones, this is their base */
};
-struct CodeBlock {
- reg_t pos;
- int size;
-};
-
typedef Common::HashMap<uint16, Object> ObjMap;
class Script : public SegmentObj {
@@ -362,8 +357,6 @@ private:
const byte *_synonyms; /**< Synonyms block or 0 if not present*/
uint16 _numSynonyms; /**< Number of entries in the synonyms block */
- Common::Array<CodeBlock> _codeBlocks;
-
int _localsOffset;
uint16 _localsCount;
@@ -403,12 +396,6 @@ public:
const Object *getObject(uint16 offset) const;
/**
- * Informs the segment manager that a code block must be relocated
- * @param location Start of block to relocate
- */
- void scriptAddCodeBlock(reg_t location);
-
- /**
* Initializes an object within the segment manager
* @param obj_pos Location (segment, offset) of the object. It must
* point to the beginning of the script/class block