[Scummvm-cvs-logs] CVS: scummvm/scumm resource.cpp,1.353,1.354
kirben
kirben at users.sourceforge.net
Sun Jan 15 16:41:07 CET 2006
Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10869/scumm
Modified Files:
resource.cpp
Log Message:
Index block are specific to later HE games.
Index: resource.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/resource.cpp,v
retrieving revision 1.353
retrieving revision 1.354
diff -u -d -r1.353 -r1.354
--- resource.cpp 16 Jan 2006 00:36:42 -0000 1.353
+++ resource.cpp 16 Jan 2006 00:40:49 -0000 1.354
@@ -463,6 +463,16 @@
_fileHandle->read(_heV7DiskOffsets, i);
break;
+ case MKID('SVER'):
+ _fileHandle->seek(itemsize - 8, SEEK_CUR);
+ debug(0, "SVER index block not yet handled, skipping");
+ break;
+
+ case MKID('INIB'):
+ _fileHandle->seek(itemsize - 8, SEEK_CUR);
+ debug(2, "INIB index block not yet handled, skipping");
+ break;
+
default:
ScummEngine::readIndexBlock(blocktype, itemsize);
}
@@ -514,16 +524,6 @@
readResTypeList(rtTalkie, MKID('TLKE'), "talkie");
break;
- case MKID('SVER'):
- _fileHandle->seek(itemsize - 8, SEEK_CUR);
- debug(0, "SVER index block not yet handled, skipping");
- break;
-
- case MKID('INIB'):
- _fileHandle->seek(itemsize - 8, SEEK_CUR);
- debug(2, "INIB index block not yet handled, skipping");
- break;
-
case MKID('DIRI'):
readResTypeList(rtRoomImage, MKID('RMIM'), "room image");
break;
More information about the Scummvm-git-logs
mailing list