[Scummvm-cvs-logs] CVS: scummvm scummvm.cpp,1.47,1.48
James Brown
ender at users.sourceforge.net
Mon Feb 25 09:30:15 CET 2002
Update of /cvsroot/scummvm/scummvm
In directory usw-pr-cvs1:/tmp/cvs-serv18152
Modified Files:
scummvm.cpp
Log Message:
Very very big hack to kind-of make zak256 and indy3 capable of walking.
Please, for the love of god, someone fix this. :)
Index: scummvm.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scummvm.cpp,v
retrieving revision 1.47
retrieving revision 1.48
diff -C2 -d -r1.47 -r1.48
*** scummvm.cpp 24 Feb 2002 17:25:02 -0000 1.47
--- scummvm.cpp 25 Feb 2002 17:29:51 -0000 1.48
***************
*** 698,706 ****
ptr += size;
size = getResourceDataSize(ptr-size-6) - size;
! if(size>=0)
! {
createResource(rtMatrix, 1, size);
memcpy(getResourceAddress(rtMatrix, 1), ptr, size);
}
}
} else {
--- 698,709 ----
ptr += size;
size = getResourceDataSize(ptr-size-6) - size;
!
! if (_features & GF_OLD256) { // FIXME: Total hack.
! createBoxMatrix(); // This function shouldn't
! } else if(size>=0) { // do this :)
createResource(rtMatrix, 1, size);
memcpy(getResourceAddress(rtMatrix, 1), ptr, size);
}
+
}
} else {
More information about the Scummvm-git-logs
mailing list