From 30c31c9cb0b4b8fdaf4d8b29ba05c61cbee6dc4f Mon Sep 17 00:00:00 2001 From: Jonathan Gray Date: Thu, 26 Aug 2004 14:35:38 +0000 Subject: make more he titles get to boot scripts svn-id: r14780 --- scumm/resource.cpp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'scumm/resource.cpp') 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; -- cgit v1.2.3