aboutsummaryrefslogtreecommitdiff
path: root/scumm/resource.cpp
diff options
context:
space:
mode:
authorJonathan Gray2004-08-26 14:35:38 +0000
committerJonathan Gray2004-08-26 14:35:38 +0000
commit30c31c9cb0b4b8fdaf4d8b29ba05c61cbee6dc4f (patch)
tree432824f6551c88574556da00b8dd60c3bbec2c17 /scumm/resource.cpp
parentf6eae9d1a1beeca56667ad40047a1cbac7b91f83 (diff)
downloadscummvm-rg350-30c31c9cb0b4b8fdaf4d8b29ba05c61cbee6dc4f.tar.gz
scummvm-rg350-30c31c9cb0b4b8fdaf4d8b29ba05c61cbee6dc4f.tar.bz2
scummvm-rg350-30c31c9cb0b4b8fdaf4d8b29ba05c61cbee6dc4f.zip
make more he titles get to boot scripts
svn-id: r14780
Diffstat (limited to 'scumm/resource.cpp')
-rw-r--r--scumm/resource.cpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/scumm/resource.cpp b/scumm/resource.cpp
index d97c89f8e0..508b9e211f 100644
--- a/scumm/resource.cpp
+++ b/scumm/resource.cpp
@@ -241,7 +241,10 @@ void ScummEngine::openRoom(int room) {
if (!(_features & GF_SMALL_HEADER)) {
if (_heversion >= 70) { // Windows titles
- sprintf(buf, "%s.he%.1d", _gameName.c_str(), room == 0 ? 0 : 1);
+ if (_heversion >= 98)
+ sprintf(buf, "%s.%s", _gameName.c_str(), room == 0 ? "he0" : "(a)");
+ else
+ sprintf(buf, "%s.he%.1d", _gameName.c_str(), room == 0 ? 0 : 1);
} else if (_version >= 7) {
if (room > 0 && (_version == 8))
VAR(VAR_CURRENTDISK) = res.roomno[rtRoom][room];
@@ -573,6 +576,11 @@ void ScummEngine::readIndexFile() {
warning("DISK index block not yet handled, skipping");
break;
+ case MKID('INIB'):
+ _fileHandle.seek(itemsize - 8, SEEK_CUR);
+ warning("INIB index block not yet handled, skipping");
+ break;
+
case MKID('DIRI'):
readResTypeList(rtRoom, MKID('RMIM'), "room image");
break;