[Scummvm-cvs-logs] SF.net SVN: scummvm:[33444] scummvm/trunk/engines/cine/various.cpp
buddha_ at users.sourceforge.net
buddha_ at users.sourceforge.net
Wed Jul 30 13:03:53 CEST 2008
Revision: 33444
http://scummvm.svn.sourceforge.net/scummvm/?rev=33444&view=rev
Author: buddha_
Date: 2008-07-30 11:03:52 +0000 (Wed, 30 Jul 2008)
Log Message:
-----------
Added some debug aids related to addAni and the processSeqList crashing.
Modified Paths:
--------------
scummvm/trunk/engines/cine/various.cpp
Modified: scummvm/trunk/engines/cine/various.cpp
===================================================================
--- scummvm/trunk/engines/cine/various.cpp 2008-07-30 10:59:37 UTC (rev 33443)
+++ scummvm/trunk/engines/cine/various.cpp 2008-07-30 11:03:52 UTC (rev 33444)
@@ -2186,6 +2186,8 @@
const int8 *ptr2;
int16 di;
+ debug(5, "addAni: param1 = %d, objIdx = %d, ptr = %p, param3 = %d", param1, objIdx, ptr, param3);
+
// In the original an error string is set and 0 is returned if the following doesn't hold
assert(ptr);
@@ -2291,6 +2293,19 @@
int16 var_10;
int16 var_4;
int16 var_2;
+
+ // Initial interpretations for variables addressed through ptr1 (8-bit addressing):
+ // These may be inaccurate!
+ // 0: ?
+ // 1: xRadius
+ // 2: yRadius
+ // 3: ?
+ // 4: xAdd
+ // 5: yAdd
+ // 6: ?
+ // 7: ?
+ // After this come (At least at positions 0, 1 and 3 in 16-bit addressing)
+ // 16-bit big-endian values used for addressing through ptr1.
if (element.var12 < element.var10) {
element.var12++;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list