[Scummvm-cvs-logs] CVS: scummvm/scumm scummvm.cpp,2.382,2.383
Max Horn
fingolfin at users.sourceforge.net
Tue Sep 9 17:29:36 CEST 2003
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/scumm charset.cpp,2.61,2.62 nut_renderer.cpp,1.31,1.32 object.cpp,1.137,1.138 script_v6.cpp,1.184,1.185 script_v8.cpp,2.191,2.192 scummvm.cpp,2.381,2.382 string.cpp,1.157,1.158
- Next message: [Scummvm-cvs-logs] CVS: scummvm/scumm resource.cpp,1.156,1.157
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv23145
Modified Files:
scummvm.cpp
Log Message:
fix for bug #770042 (LOOM: Some bits of dialogue are repeated)
Index: scummvm.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/scummvm.cpp,v
retrieving revision 2.382
retrieving revision 2.383
diff -u -d -r2.382 -r2.383
--- scummvm.cpp 9 Sep 2003 20:54:18 -0000 2.382
+++ scummvm.cpp 10 Sep 2003 00:28:26 -0000 2.383
@@ -1248,6 +1248,13 @@
if (VAR_EGO != 0xFF)
oldEgo = VAR(VAR_EGO);
+ // In V1-V3 games, CHARSET_1 is called much earlier than in newer games.
+ // See also bug #770042 for a case were this makes a difference.
+ // FIXME: Actually I am only sure that this is correct for V1-V2 and Loom.
+ // We should also check Indy3 & Zak256.
+ if (_version <= 3)
+ CHARSET_1();
+
processKbd();
if (_features & GF_NEW_CAMERA) {
@@ -1385,13 +1392,15 @@
}
if (_currentRoom == 0) {
- CHARSET_1();
+ if (_version > 3)
+ CHARSET_1();
drawDirtyScreenParts();
} else {
walkActors();
moveCamera();
fixObjectFlags();
- CHARSET_1();
+ if (_version > 3)
+ CHARSET_1();
if (camera._cur.x != camera._last.x || _BgNeedsRedraw || _fullRedraw
|| ((_features & GF_NEW_CAMERA) && camera._cur.y != camera._last.y)) {
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/scumm charset.cpp,2.61,2.62 nut_renderer.cpp,1.31,1.32 object.cpp,1.137,1.138 script_v6.cpp,1.184,1.185 script_v8.cpp,2.191,2.192 scummvm.cpp,2.381,2.382 string.cpp,1.157,1.158
- Next message: [Scummvm-cvs-logs] CVS: scummvm/scumm resource.cpp,1.156,1.157
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Scummvm-git-logs
mailing list