mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-02 23:49:40 +00:00
No shadow palette in later games.
svn-id: r14955
This commit is contained in:
parent
8d6e15b34a
commit
c9a4f23e51
@ -2321,8 +2321,6 @@ void ScummEngine::readMAXS(int blockSize) {
|
|||||||
_numRoomVariables = 64;
|
_numRoomVariables = 64;
|
||||||
_numGlobalScripts = 200;
|
_numGlobalScripts = 200;
|
||||||
|
|
||||||
_shadowPaletteSize = 256;
|
|
||||||
|
|
||||||
} else if (_heversion >= 70 && (blockSize == 38 + 8)) { // Scummsys.9x
|
} else if (_heversion >= 70 && (blockSize == 38 + 8)) { // Scummsys.9x
|
||||||
_numVariables = _fileHandle.readUint16LE();
|
_numVariables = _fileHandle.readUint16LE();
|
||||||
_fileHandle.readUint16LE();
|
_fileHandle.readUint16LE();
|
||||||
@ -2349,7 +2347,6 @@ void ScummEngine::readMAXS(int blockSize) {
|
|||||||
_numRoomVariables = 64;
|
_numRoomVariables = 64;
|
||||||
_numGlobalScripts = 200;
|
_numGlobalScripts = 200;
|
||||||
|
|
||||||
_shadowPaletteSize = 256;
|
|
||||||
} else if (_heversion >= 70 && blockSize > 38) { // sputm7.2
|
} else if (_heversion >= 70 && blockSize > 38) { // sputm7.2
|
||||||
if (blockSize != 32 + 8)
|
if (blockSize != 32 + 8)
|
||||||
error("MAXS block of size %d not supported, please report", blockSize);
|
error("MAXS block of size %d not supported, please report", blockSize);
|
||||||
@ -2374,7 +2371,6 @@ void ScummEngine::readMAXS(int blockSize) {
|
|||||||
_objectRoomTable = (byte *)calloc(_numGlobalObjects, 1);
|
_objectRoomTable = (byte *)calloc(_numGlobalObjects, 1);
|
||||||
_numGlobalScripts = 200;
|
_numGlobalScripts = 200;
|
||||||
|
|
||||||
_shadowPaletteSize = 256;
|
|
||||||
} else if (_version == 6) {
|
} else if (_version == 6) {
|
||||||
if (blockSize != 30 + 8)
|
if (blockSize != 30 + 8)
|
||||||
error("MAXS block of size %d not supported", blockSize);
|
error("MAXS block of size %d not supported", blockSize);
|
||||||
|
Loading…
Reference in New Issue
Block a user