diff options
| author | Jonathan Gray | 2004-09-07 12:54:41 +0000 | 
|---|---|---|
| committer | Jonathan Gray | 2004-09-07 12:54:41 +0000 | 
| commit | 67498a174b0c73d060d704484fa767ccb4f6c7be (patch) | |
| tree | 8b1099037c4742a871917b64b8aa7dc06bd2de98 /scumm/resource.cpp | |
| parent | c6e0afadf0055c931c2f6a27afeabb8a1a264fb6 (diff) | |
| download | scummvm-rg350-67498a174b0c73d060d704484fa767ccb4f6c7be.tar.gz scummvm-rg350-67498a174b0c73d060d704484fa767ccb4f6c7be.tar.bz2 scummvm-rg350-67498a174b0c73d060d704484fa767ccb4f6c7be.zip  | |
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
Diffstat (limited to 'scumm/resource.cpp')
| -rw-r--r-- | scumm/resource.cpp | 10 | 
1 files changed, 8 insertions, 2 deletions
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");  | 
