[Scummvm-cvs-logs] CVS: scummvm/gob parse.cpp,1.13,1.14
Eugene Sandulenko
sev at users.sourceforge.net
Thu Oct 13 13:55:23 CEST 2005
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/scumm saveload.cpp,1.235,1.236
- Next message: [Scummvm-cvs-logs] CVS: scummvm/kyra kyra.cpp,1.52,1.53 kyra.h,1.23,1.24 resource.cpp,1.19,1.20 screen.cpp,1.10,1.11 seqplayer.cpp,1.3,1.4 seqplayer.h,1.2,1.3 wsamovie.cpp,1.12,1.13
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/scummvm/scummvm/gob
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24737
Modified Files:
parse.cpp
Log Message:
Patch from wjp which fixed parser operands and now protection screen always
shows numbers, not just rotation of them. Still no screen updated during the
process.
Index: parse.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/gob/parse.cpp,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- parse.cpp 19 Jul 2005 09:10:05 -0000 1.13
+++ parse.cpp 13 Oct 2005 20:54:16 -0000 1.14
@@ -134,8 +134,7 @@
inter_execPtr++;
temp += parse_parseValExpr();
*operPtr = 20;
- //XXX: Checkme
- *valPtr = *(inter_variables + temp);
+ *valPtr = (uint8)*(inter_variables + temp);
}
break;
@@ -162,8 +161,7 @@
inter_execPtr++;
temp2 = parse_parseValExpr();
*operPtr = 20;
- //XXX: Checkme
- *valPtr = *(inter_variables + temp * 4 + offset * 4 * inter_animDataSize + temp2);
+ *valPtr = (uint8)*(inter_variables + temp * 4 + offset * 4 * inter_animDataSize + temp2);
}
break;
@@ -773,8 +771,7 @@
temp = inter_load16() * 4;
inter_execPtr++;
temp += parse_parseValExpr();
- //XXX: Checkme
- *valPtr = *(inter_variables + temp);
+ *valPtr = (uint8)*(inter_variables + temp);
break;
case 26:
@@ -793,8 +790,7 @@
} else {
inter_execPtr++;
temp2 = parse_parseValExpr();
- //XXX: Checkme
- *valPtr = *(inter_variables + temp * 4 + offset * 4 * inter_animDataSize + temp2);
+ *valPtr = (uint8)*(inter_variables + temp * 4 + offset * 4 * inter_animDataSize + temp2);
}
break;
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/scumm saveload.cpp,1.235,1.236
- Next message: [Scummvm-cvs-logs] CVS: scummvm/kyra kyra.cpp,1.52,1.53 kyra.h,1.23,1.24 resource.cpp,1.19,1.20 screen.cpp,1.10,1.11 seqplayer.cpp,1.3,1.4 seqplayer.h,1.2,1.3 wsamovie.cpp,1.12,1.13
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Scummvm-git-logs
mailing list