From 67498a174b0c73d060d704484fa767ccb4f6c7be Mon Sep 17 00:00:00 2001 From: Jonathan Gray Date: Tue, 7 Sep 2004 12:54:41 +0000 Subject: add some he c++ engine related changes. For some reason the cpp versions of spydemo and timedemo aren't getting _heversion set correctly svn-id: r14940 --- scumm/resource.cpp | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'scumm/resource.cpp') diff --git a/scumm/resource.cpp b/scumm/resource.cpp index 0ed33c8483..59fe69779c 100644 --- a/scumm/resource.cpp +++ b/scumm/resource.cpp @@ -241,9 +241,10 @@ void ScummEngine::openRoom(int room) { if (!(_features & GF_SMALL_HEADER)) { if (_heversion >= 70) { // Windows titles - if (_heversion >= 98) + if (_heversion >= 98) { sprintf(buf, "%s.%s", _gameName.c_str(), room == 0 ? "he0" : "(a)"); - else + sprintf(buf2, "%s.(b)", _gameName.c_str()); + } else sprintf(buf, "%s.he%.1d", _gameName.c_str(), room == 0 ? 0 : 1); } else if (_version >= 7) { if (room > 0 && (_version == 8)) @@ -576,6 +577,11 @@ void ScummEngine::readIndexFile() { warning("DIRT index block not yet handled, skipping"); break; + case MKID('SVER'): + _fileHandle.seek(itemsize - 8, SEEK_CUR); + warning("SVER index block not yet handled, skipping"); + break; + case MKID('DISK'): _fileHandle.seek(itemsize - 8, SEEK_CUR); warning("DISK index block not yet handled, skipping"); -- cgit v1.2.3