[Scummvm-cvs-logs] CVS: scummvm/sword1 animation.cpp,1.10,1.11
Torbj?rn Andersson
eriktorbjorn at users.sourceforge.net
Sun Feb 15 06:31:01 CET 2004
- Previous 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
- Next message: [Scummvm-cvs-logs] CVS: scummvm/sword2/driver animation.cpp,1.21,1.22 animation.h,1.18,1.19 d_sound.cpp,1.106,1.107 d_sound.h,1.43,1.44
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/scummvm/scummvm/sword1
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7532/sword1
Modified Files:
animation.cpp
Log Message:
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.11
diff -u -d -r1.10 -r1.11
--- animation.cpp 13 Feb 2004 00:54:58 -0000 1.10
+++ animation.cpp 15 Feb 2004 14:22:54 -0000 1.11
@@ -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/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
- Next message: [Scummvm-cvs-logs] CVS: scummvm/sword2/driver animation.cpp,1.21,1.22 animation.h,1.18,1.19 d_sound.cpp,1.106,1.107 d_sound.h,1.43,1.44
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Scummvm-git-logs
mailing list