diff options
author | Matthew Hoops | 2010-01-27 04:26:28 +0000 |
---|---|---|
committer | Matthew Hoops | 2010-01-27 04:26:28 +0000 |
commit | eabbe89971d420bcd9a464fb08f3daef20a910f8 (patch) | |
tree | a29cdc0385d6237e226c4d513f126f18d9912e6c /engines/sci/resource.h | |
parent | 3f7b6f9472aa288f26500a049b95e6562c042485 (diff) | |
download | scummvm-rg350-eabbe89971d420bcd9a464fb08f3daef20a910f8.tar.gz scummvm-rg350-eabbe89971d420bcd9a464fb08f3daef20a910f8.tar.bz2 scummvm-rg350-eabbe89971d420bcd9a464fb08f3daef20a910f8.zip |
Improve support for the SCI2.1/SCI3 file naming scheme. Multiple maps can be used and have to be matched up with their volume counterparts. Adding detection for the Phantasmagoria Demo too.
svn-id: r47588
Diffstat (limited to 'engines/sci/resource.h')
-rw-r--r-- | engines/sci/resource.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/sci/resource.h b/engines/sci/resource.h index 247488f2e8..a5d35ea983 100644 --- a/engines/sci/resource.h +++ b/engines/sci/resource.h @@ -333,9 +333,10 @@ protected: /** * Add an external (i.e., separate file) map resource to the resource manager's list of sources. * @param file_name The name of the volume to add + * @param volume_nr The volume number the map starts at, 0 for <SCI2.1 * @return A pointer to the added source structure, or NULL if an error occurred. */ - ResourceSource *addExternalMap(const char *file_name); + ResourceSource *addExternalMap(const char *file_name, int volume_nr = 0); ResourceSource *addExternalMap(const Common::FSNode *mapFile); |