diff options
Diffstat (limited to 'scumm/resource_v2.cpp')
-rw-r--r-- | scumm/resource_v2.cpp | 25 |
1 files changed, 2 insertions, 23 deletions
diff --git a/scumm/resource_v2.cpp b/scumm/resource_v2.cpp index 0147d33ee3..b2c512224d 100644 --- a/scumm/resource_v2.cpp +++ b/scumm/resource_v2.cpp @@ -64,7 +64,7 @@ void ScummEngine_v2::readClassicIndexFile() { _fileHandle->seek(0, SEEK_SET); - readMAXS(); + readMAXS(0); // Jamieson630: palManipulate variable initialization _palManipCounter = 0; @@ -134,7 +134,7 @@ void ScummEngine_v2::readEnhancedIndexFile() { _fileHandle->clearIOFailed(); _fileHandle->seek(0, SEEK_SET); - readMAXS(); + readMAXS(0); // Jamieson630: palManipulate variable initialization _palManipCounter = 0; @@ -189,27 +189,6 @@ void ScummEngine_v2::readIndexFile() { closeRoom(); } -void ScummEngine_v2::readMAXS() { - // FIXME - I'm not sure for those values yet, they will have to be rechecked - - _numVariables = 800; // 800 - _numBitVariables = 4096; // 2048 - _numLocalObjects = 200; // 200 - _numArray = 50; - _numVerbs = 100; - _numNewNames = 50; - _objectRoomTable = NULL; - _numCharsets = 9; // 9 - _numInventory = 80; // 80 - _numGlobalScripts = 200; - _numFlObject = 50; - - _shadowPaletteSize = 256; - - _shadowPalette = (byte *) calloc(_shadowPaletteSize, 1); // FIXME - needs to be removed later - allocateArrays(); -} - void ScummEngine_v2::loadCharset(int num) { // Stub, V2 font resources are hardcoded into the engine. } |