diff options
author | James Brown | 2002-06-27 10:40:37 +0000 |
---|---|---|
committer | James Brown | 2002-06-27 10:40:37 +0000 |
commit | a1ccc73112525275917472a8c13be9f048cdee6b (patch) | |
tree | 6324569d49ce1b790e84252c253a4c4c9a58a507 /resource.cpp | |
parent | 98880a58c4d283c757aa27d5e4cadf783e450b9a (diff) | |
download | scummvm-rg350-a1ccc73112525275917472a8c13be9f048cdee6b.tar.gz scummvm-rg350-a1ccc73112525275917472a8c13be9f048cdee6b.tar.bz2 scummvm-rg350-a1ccc73112525275917472a8c13be9f048cdee6b.zip |
Basic putt-putt game support.
svn-id: r4434
Diffstat (limited to 'resource.cpp')
-rw-r--r-- | resource.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/resource.cpp b/resource.cpp index fdb9899370..5d4c856836 100644 --- a/resource.cpp +++ b/resource.cpp @@ -64,12 +64,17 @@ void Scumm::openRoom(int room) return; } if (!(_features & GF_SMALL_HEADER)) { + if (_features & GF_AFTER_V7) sprintf(buf, "%s%s.la%d", _gameDataPath, _exe_name, room == 0 ? 0 : res.roomno[rtRoom][room]); + else if (_features & GF_HUMONGOUS) + sprintf(buf, "%s%s.he%.1d", _gameDataPath, _exe_name, + room == 0 ? 0 : res.roomno[rtRoom][room]); else sprintf(buf, "%s%s.%.3d", _gameDataPath, _exe_name, room == 0 ? 0 : res.roomno[rtRoom][room]); + _encbyte = (_features & GF_USE_KEY) ? 0x69 : 0; } else if (!(_features & GF_SMALL_NAMES)) { if (room == 0 || room >= 900) { |