[Scummvm-cvs-logs] CVS: scummvm/scumm scummvm.cpp,2.422,2.423
Jonathan Gray
khalek at users.sourceforge.net
Sat Oct 4 23:39:02 CEST 2003
Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv11543
Modified Files:
scummvm.cpp
Log Message:
correct for towns version
Index: scummvm.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/scummvm.cpp,v
retrieving revision 2.422
retrieving revision 2.423
diff -u -d -r2.422 -r2.423
--- scummvm.cpp 5 Oct 2003 06:11:15 -0000 2.422
+++ scummvm.cpp 5 Oct 2003 06:38:07 -0000 2.423
@@ -1378,12 +1378,15 @@
gdi.clearCharsetMask();
_charset->_hasMask = false;
+ // HACK as in game save stuff isn't supported currently
if (_gameId == GID_LOOM || _gameId == GID_LOOM256) {
int args = 2;
uint value = (_gameId == GID_LOOM256) ? 150 : 100;
+ byte restoreScript = (_features & GF_FMTOWNS) ? 17 : 18;
redrawVerbs();
+ // if verbs should be shown restore them
if (VAR(value) == 2)
- runScript(18, 0, 0, &args);
+ runScript(restoreScript, 0, 0, &args);
} else if (_version > 3) {
for (int i = 0; i < _maxVerbs; i++)
drawVerb(i, 0);
More information about the Scummvm-git-logs
mailing list