aboutsummaryrefslogtreecommitdiff
path: root/scumm/resource_v4.cpp
diff options
context:
space:
mode:
authorMax Horn2005-04-10 00:33:31 +0000
committerMax Horn2005-04-10 00:33:31 +0000
commit78f2f279c40b9ff34b2afcd728a15399b823f57f (patch)
treee457df95d32e50726657009aa0f9073b2f9dd3c4 /scumm/resource_v4.cpp
parent03616ad2c89fffcb7eb49124be060f978ae176f2 (diff)
downloadscummvm-rg350-78f2f279c40b9ff34b2afcd728a15399b823f57f.tar.gz
scummvm-rg350-78f2f279c40b9ff34b2afcd728a15399b823f57f.tar.bz2
scummvm-rg350-78f2f279c40b9ff34b2afcd728a15399b823f57f.zip
Got rid of _dynamicRoomOffsets
svn-id: r17494
Diffstat (limited to 'scumm/resource_v4.cpp')
-rw-r--r--scumm/resource_v4.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/scumm/resource_v4.cpp b/scumm/resource_v4.cpp
index f7cc007d2a..d73ac93acf 100644
--- a/scumm/resource_v4.cpp
+++ b/scumm/resource_v4.cpp
@@ -38,6 +38,7 @@ void ScummEngine_v4::readIndexFile() {
openRoom(0);
while (!_fileHandle->eof()) {
+ // Figure out the sizes of various resources
itemsize = _fileHandle->readUint32LE();
blocktype = _fileHandle->readUint16LE();
if (_fileHandle->ioFailed())
@@ -89,6 +90,8 @@ void ScummEngine_v4::readIndexFile() {
switch (blocktype) {
case 0x4E52: // 'NR'
+ // Names of rooms. Maybe we should read them and put them
+ // into a table, for use by the debugger?
_fileHandle->seek(itemsize - 6, SEEK_CUR);
break;