[Scummvm-cvs-logs] CVS: scummvm/scumm/insane insane.cpp,1.41,1.42 insane_scenes.cpp,1.22,1.23
Travis Howell
kirben at users.sourceforge.net
Sat Aug 7 17:48:24 CEST 2004
Update of /cvsroot/scummvm/scummvm/scumm/insane
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23174/scumm/insane
Modified Files:
insane.cpp insane_scenes.cpp
Log Message:
insane skip tag is different in PC FT demo
Index: insane.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/insane/insane.cpp,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -d -r1.41 -r1.42
--- insane.cpp 7 Aug 2004 09:18:41 -0000 1.41
+++ insane.cpp 8 Aug 2004 00:47:37 -0000 1.42
@@ -1302,13 +1302,22 @@
}
void Insane::procSKIP(Chunk &b) {
- _player->checkBlock(b, TYPE_SKIP, 4);
int16 par1, par2;
+ _player->_skipNext = false;
+
+ if ((_vm->_features & GF_DEMO) && (_vm->_features & GF_PC)) {
+ _player->checkBlock(b, TYPE_SKIP, 2);
+ par1 = b.getWord();
+ if (isBitSet(par1))
+ _player->_skipNext = true;
+ return;
+ }
+
+ _player->checkBlock(b, TYPE_SKIP, 4);
par1 = b.getWord();
par2 = b.getWord();
- _player->_skipNext = false;
if (!par2) {
if (isBitSet(par1))
Index: insane_scenes.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/insane/insane_scenes.cpp,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- insane_scenes.cpp 7 Aug 2004 11:52:11 -0000 1.22
+++ insane_scenes.cpp 8 Aug 2004 00:47:38 -0000 1.23
@@ -75,7 +75,7 @@
_mainRoadPos = readArray(2);
if ((_vm->_features & GF_DEMO) && (_vm->_features & GF_PC)) {
- initScene(4);
+ initScene(5);
startVideo("tovista.san", 1, 32, 12, 0);
} else if (_mainRoadPos == _posBrokenTruck) {
initScene(5);
More information about the Scummvm-git-logs
mailing list