[Scummvm-cvs-logs] CVS: scummvm insane.cpp,1.42,1.43
James Brown
ender at users.sourceforge.net
Fri Jul 12 08:30:06 CEST 2002
- Previous message: [Scummvm-cvs-logs] CVS: scummvm gui.cpp,1.56,1.57
- Next message: [Scummvm-cvs-logs] CVS: scummvm newgui.cpp,1.15,1.16 newgui.h,1.10,1.11 gui.cpp,1.57,1.58 Makefile.common,1.10,1.11
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/scummvm/scummvm
In directory usw-pr-cvs1:/tmp/cvs-serv9666
Modified Files:
insane.cpp
Log Message:
Allow Full Thottle SMUSH to work again
Index: insane.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/insane.cpp,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -d -r1.42 -r1.43
--- insane.cpp 12 Jul 2002 05:25:32 -0000 1.42
+++ insane.cpp 12 Jul 2002 15:29:22 -0000 1.43
@@ -1074,8 +1074,8 @@
if (_saudSize[idx] == 0) {
tag = READ_BE_UINT32(_cur + pos);
pos += 4;
- if (tag != 'SAUD')
- error("trk %d: SAUD tag not found", trk);
+ if (tag != 'SAUD') // FIXME: DIG specific?
+ warning("trk %d: SAUD tag not found", trk);
_saudSize[idx] = READ_BE_UINT32(_cur + pos);
pos += 4;
}
@@ -1117,8 +1117,8 @@
case 'SHDR':
/* FIXME: what is this stuff ? */
break;
- default:
- error("trk %d: unknown tag inside PSAD", trk);
+ default: // FIXME: Add FT tags
+ warning("trk %d: unknown tag inside PSAD", trk);
}
_saudSubSize[idx] -= sublen;
_saudSize[idx] -= sublen;
@@ -1128,6 +1128,12 @@
void SmushPlayer::parseTRES()
{
+ // FIXME: Doesn't work for Full Throttle
+ if (sm->_gameId != GID_DIG) {
+ printf("getStringTRES(%d)\n", READ_LE_UINT16(_cur + 16));
+ return;
+ }
+
byte * txt = getStringTRES (READ_LE_UINT16(_cur + 16));
drawStringTRES (READ_LE_UINT16(_cur), READ_LE_UINT16(_cur + 2), txt);
if (txt != NULL)
- Previous message: [Scummvm-cvs-logs] CVS: scummvm gui.cpp,1.56,1.57
- Next message: [Scummvm-cvs-logs] CVS: scummvm newgui.cpp,1.15,1.16 newgui.h,1.10,1.11 gui.cpp,1.57,1.58 Makefile.common,1.10,1.11
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Scummvm-git-logs
mailing list