aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2005-03-31 23:14:09 +0000
committerMax Horn2005-03-31 23:14:09 +0000
commit3ea3c422427b889480504588e593e40adb22ec05 (patch)
treed4d8b924962a8d5d340bee69490f741ff34f3d18
parentbed16296425df6def9b59ebe7df6f5ee45dcf035 (diff)
downloadscummvm-rg350-3ea3c422427b889480504588e593e40adb22ec05.tar.gz
scummvm-rg350-3ea3c422427b889480504588e593e40adb22ec05.tar.bz2
scummvm-rg350-3ea3c422427b889480504588e593e40adb22ec05.zip
Extended comment on _CLUT_offs a bit
svn-id: r17315
-rw-r--r--scumm/scumm.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/scumm/scumm.cpp b/scumm/scumm.cpp
index 510f38e743..119afece33 100644
--- a/scumm/scumm.cpp
+++ b/scumm/scumm.cpp
@@ -2622,13 +2622,16 @@ void ScummEngine::initRoomSubBlocks() {
}
// Locate the standard room palette (for V3-V5 games).
- // Note: We used to use findResourceSmall instead of findResourceData;
+ // TODO: We used to use findResourceSmall instead of findResourceData;
// in the small header case. That means we have to do some ugly trickery
// in order to emulate the old behaviour. It would be very nice to get
// rid of that. That would require some changes to the palette code.
+ // In particular, it seems only setPaletteFromPtr would have to be
+ // adapted, which would be trivial, since it now adds _resourceHeaderSize
+ // to the palette pointer.
//
- // And of course this would break savegame compatibility unless extra code
- // were added to the save/load system to cope with this.
+ // Of course this would break savegame compatibility unless extra code
+ // were added to the save/load system to cope with this.
if (_features & GF_OLD_BUNDLE)
ptr = 0;
else