[Scummvm-cvs-logs] CVS: scummvm/scumm costume.cpp,1.56,1.57
Max Horn
fingolfin at users.sourceforge.net
Fri Jun 6 15:36:03 CEST 2003
Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv17904
Modified Files:
costume.cpp
Log Message:
hook for V2 costumes (based on a brief glimpse at the costume resources; however I haven't yet looked at the rest of the format, so this would just crash if you enabled it right now)
Index: costume.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/costume.cpp,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -d -r1.56 -r1.57
--- costume.cpp 1 Jun 2003 18:20:38 -0000 1.56
+++ costume.cpp 6 Jun 2003 22:35:23 -0000 1.57
@@ -413,16 +413,19 @@
_baseptr = _ptr;
switch (_ptr[7] & 0x7F) {
+ case 0x57: // Only used in V1 games
+ _numColors = 0;
+ break;
case 0x58:
_numColors = 16;
break;
case 0x59:
_numColors = 32;
break;
- case 0x60: /* New since version 6 */
+ case 0x60: // New since version 6
_numColors = 16;
break;
- case 0x61: /* New since version 6 */
+ case 0x61: // New since version 6
_numColors = 32;
break;
default:
More information about the Scummvm-git-logs
mailing list