[Scummvm-cvs-logs] CVS: scummvm/sword1 animation.cpp,1.10,1.10.2.1
Torbj?rn Andersson
eriktorbjorn at users.sourceforge.net
Sun Feb 15 06:24:01 CET 2004
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/scumm object.cpp,1.166,1.167
- Next message: [Scummvm-cvs-logs] CVS: scummvm/sword2/driver animation.cpp,1.21,1.21.2.1 animation.h,1.18,1.18.2.1 d_sound.cpp,1.106,1.106.2.1 d_sound.h,1.43,1.43.2.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/scummvm/scummvm/sword1
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6028/sword1
Modified Files:
Tag: branch-0-6-0
animation.cpp
Log Message:
Added proper handling of BS2 cutscene lead-outs, plus some other minor
fixes.
Index: animation.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sword1/animation.cpp,v
retrieving revision 1.10
retrieving revision 1.10.2.1
diff -u -d -r1.10 -r1.10.2.1
--- animation.cpp 13 Feb 2004 00:54:58 -0000 1.10
+++ animation.cpp 15 Feb 2004 14:16:33 -0000 1.10.2.1
@@ -74,8 +74,14 @@
p = 0;
while (!feof(f)) {
- if (fscanf(f, "%i %i", &palettes[p].end, &palettes[p].cnt) != 2)
+ int end, cnt;
+
+ if (fscanf(f, "%i %i", &end, &cnt) != 2)
break;
+
+ palettes[p].end = (uint) end;
+ palettes[p].cnt = (uint) cnt;
+
for (i = 0; i < palettes[p].cnt; i++) {
int r, g, b;
fscanf(f, "%i", &r);
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/scumm object.cpp,1.166,1.167
- Next message: [Scummvm-cvs-logs] CVS: scummvm/sword2/driver animation.cpp,1.21,1.21.2.1 animation.h,1.18,1.18.2.1 d_sound.cpp,1.106,1.106.2.1 d_sound.h,1.43,1.43.2.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Scummvm-git-logs
mailing list