[Scummvm-cvs-logs] CVS: scummvm/scumm scumm.cpp,1.89,1.90
Travis Howell
kirben at users.sourceforge.net
Sun Jul 18 04:47:04 CEST 2004
Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9169/scumm
Modified Files:
scumm.cpp
Log Message:
FM Towns versions of indy3 and zak set three extra timers (Verified by disasm.)
Index: scumm.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/scumm.cpp,v
retrieving revision 1.89
retrieving revision 1.90
diff -u -d -r1.89 -r1.90
--- scumm.cpp 17 Jul 2004 07:34:34 -0000 1.89
+++ scumm.cpp 18 Jul 2004 11:46:50 -0000 1.90
@@ -1065,7 +1065,7 @@
if (_version < 7 && _heversion <= 71)
VAR(VAR_VERSION) = 21;
- if (!((_features & GF_MACINTOSH) && (_version == 3))) {
+ if (!((_features & GF_MACINTOSH) && (_version == 3)) && !(_features & GF_FMTOWNS)) {
// This is NOT for the Mac version of Indy3/Loom
VAR(VAR_DEBUGMODE) = _debugMode;
}
@@ -1432,6 +1432,12 @@
VAR(VAR_TMR_1) += delta;
VAR(VAR_TMR_2) += delta;
VAR(VAR_TMR_3) += delta;
+ if ((_gameId == GID_ZAK256 || _gameId == GID_INDY3) && (_features & GF_FMTOWNS)) {
+ // FM Towns version of Indy3 and Zak set three extra timers
+ VAR(39) += delta;
+ VAR(40) += delta;
+ VAR(41) += delta;
+ }
}
if (VAR_TMR_4 != 0xFF)
VAR(VAR_TMR_4) += delta;
@@ -1478,7 +1484,7 @@
VAR(VAR_VIRT_MOUSE_Y) = _virtualMouse.y;
VAR(VAR_MOUSE_X) = _mouse.x;
VAR(VAR_MOUSE_Y) = _mouse.y;
- if (!((_features & GF_MACINTOSH) && (_version == 3))) {
+ if (!((_features & GF_MACINTOSH) && (_version == 3)) && !(_features & GF_FMTOWNS)) {
// This is NOT for the Mac version of Indy3/Loom
VAR(VAR_DEBUGMODE) = _debugMode;
}
More information about the Scummvm-git-logs
mailing list