[Scummvm-cvs-logs] CVS: scummvm/scumm akos.cpp,1.235,1.236

Gregory Montoir cyx at users.sourceforge.net
Fri Sep 23 17:32:07 CEST 2005


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

Modified Files:
	akos.cpp 
Log Message:
fixed missing actor limbs in racedemo ; shadows are wrong now, but this seems normal as we don't load the xmap resources

Index: akos.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/akos.cpp,v
retrieving revision 1.235
retrieving revision 1.236
diff -u -d -r1.235 -r1.236
--- akos.cpp	23 Sep 2005 23:23:34 -0000	1.235
+++ akos.cpp	24 Sep 2005 00:27:44 -0000	1.236
@@ -467,9 +467,15 @@
 				} else {
 					uint32 type = cond & 0xC0000000;
 					cond &= 0x3FFFFFFF;
-					if (type == 0x40000000) {
+					if (_vm->_heversion >= 95) {
+//						uint16 shadowMask = cond & 0xE000;
+						cond &= ~0xE000;
+					}
+					if (_vm->_heversion >= 95 && cond == 0) {
+						decflag = 1;
+					} else if (type == 0x40000000) { // restored_bit
 						decflag = (a->_heCondMask & cond) ? 1 : 0;
-					} else if (type == 0x80000000) {
+					} else if (type == 0x80000000) { // dirty_bit
 						decflag = (a->_heCondMask & cond) ? 0 : 1;
 					} else {
 						decflag = (a->_heCondMask & cond) ? 1 : 0;





More information about the Scummvm-git-logs mailing list