[Scummvm-cvs-logs] CVS: scummvm/scumm costume.cpp,1.69,1.70

Max Horn fingolfin at users.sourceforge.net
Tue Jul 8 03:52:26 CEST 2003


Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv15188

Modified Files:
	costume.cpp 
Log Message:
clarified comment

Index: costume.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/costume.cpp,v
retrieving revision 1.69
retrieving revision 1.70
diff -u -d -r1.69 -r1.70
--- costume.cpp	8 Jul 2003 10:49:13 -0000	1.69
+++ costume.cpp	8 Jul 2003 10:51:55 -0000	1.70
@@ -608,10 +608,10 @@
 	if (_version == 1) {
 		// FIXME: lc._numColors is 0 for C64 codec...
 		// Is this code here really correct? If I compare V1 and V2 maniac,
-		// I noticed that for V1, there are 3 bytes / entry (i.e. the offsets
-		// increase in steps of 3), while for V2 there are 10 bytes / entry.
-		// That makes me wonder if the following decoder is correct *at all*
-		// for the C64 data
+		// looking at the case Actor 1, frame 1, anim 6, I notice that for V1,
+		// there are 3 bytes / entry (i.e. the offsets) increase in steps of 3)
+		// But for V2 there are 10 bytes / entry. That makes me wonder if the
+		// following decoder is correct *at all* for the C64 data
 		r = lc._baseptr + READ_LE_UINT16(lc._ptr + anim * 2 + lc._numColors + 30);
 	} else {
 		r = lc._baseptr + READ_LE_UINT16(lc._ptr + anim * 2 + lc._numColors + 42);





More information about the Scummvm-git-logs mailing list