[Scummvm-cvs-logs] CVS: scummvm/scumm scumm.cpp,1.394,1.395

Max Horn fingolfin at users.sourceforge.net
Thu Mar 31 15:15:37 CEST 2005


Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22957

Modified Files:
	scumm.cpp 
Log Message:
Extended comment on _CLUT_offs a bit

Index: scumm.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/scumm.cpp,v
retrieving revision 1.394
retrieving revision 1.395
diff -u -d -r1.394 -r1.395
--- scumm.cpp	31 Mar 2005 23:11:39 -0000	1.394
+++ scumm.cpp	31 Mar 2005 23:14:09 -0000	1.395
@@ -2622,13 +2622,16 @@
 	}
 
 	// 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





More information about the Scummvm-git-logs mailing list