diff options
author | Jonathan Gray | 2004-06-25 08:18:51 +0000 |
---|---|---|
committer | Jonathan Gray | 2004-06-25 08:18:51 +0000 |
commit | 2ce0184d12e926b559d9ca33b14f544cdaeb7544 (patch) | |
tree | 8bfebd8afba8624338f7bd67456731c0cc9c7452 | |
parent | ae10ed243c658b3e0ecfc6fb70969caffddc6d3e (diff) | |
download | scummvm-rg350-2ce0184d12e926b559d9ca33b14f544cdaeb7544.tar.gz scummvm-rg350-2ce0184d12e926b559d9ca33b14f544cdaeb7544.tar.bz2 scummvm-rg350-2ce0184d12e926b559d9ca33b14f544cdaeb7544.zip |
add debugging messages for index blocks which don't already have them via readResTypeList
svn-id: r14038
-rw-r--r-- | scumm/resource.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scumm/resource.cpp b/scumm/resource.cpp index 11c48a20fd..a52726dc20 100644 --- a/scumm/resource.cpp +++ b/scumm/resource.cpp @@ -327,6 +327,7 @@ void ScummEngine::readIndexFile() { break; case MKID('DOBJ'): + debug(9, "found DOBJ block, reading object table"); if (_version == 8) num = _fileHandle.readUint32LE(); else @@ -375,6 +376,7 @@ void ScummEngine::readIndexFile() { case MKID('RNAM'): _fileHandle.seek(itemsize - 8, SEEK_CUR); + debug(9, "found RNAM block, skipping"); break; case MKID('DLFL'): @@ -382,18 +384,22 @@ void ScummEngine::readIndexFile() { _fileHandle.seek(-2, SEEK_CUR); _HEV7RoomOffsets = (byte *)calloc(2 + (i * 4), 1); _fileHandle.read(_HEV7RoomOffsets, (2 + (i * 4)) ); + debug(9, "found DLFL block, offsets read"); break; case MKID('DIRM'): _fileHandle.seek(itemsize - 8, SEEK_CUR); + debug(9, "found DIRM block, skipping"); break; case MKID('DIRI'): num = _fileHandle.readUint16LE(); _fileHandle.seek(num + (8 * num), SEEK_CUR); + debug(9, "found DIRI block, skipping"); break; case MKID('ANAM'): + debug(9, "found ANAM block, reading audio names"); _numAudioNames = _fileHandle.readUint16LE(); _audioNames = (char*)malloc(_numAudioNames * 9); _fileHandle.read(_audioNames, _numAudioNames * 9); |