diff options
author | Max Horn | 2010-06-15 12:10:18 +0000 |
---|---|---|
committer | Max Horn | 2010-06-15 12:10:18 +0000 |
commit | 793c04f43b3d75b4b6d1ff2a2a93f2a496c0065f (patch) | |
tree | 3bdb42141d74ed6d8db0033e251ab8d98bf74089 /engines/sci/resource.h | |
parent | dea38106f84873a62c4a342c564dbfe9f38ff480 (diff) | |
download | scummvm-rg350-793c04f43b3d75b4b6d1ff2a2a93f2a496c0065f.tar.gz scummvm-rg350-793c04f43b3d75b4b6d1ff2a2a93f2a496c0065f.tar.bz2 scummvm-rg350-793c04f43b3d75b4b6d1ff2a2a93f2a496c0065f.zip |
SCI: Changed some 'const char *' to Common::String
svn-id: r49811
Diffstat (limited to 'engines/sci/resource.h')
-rw-r--r-- | engines/sci/resource.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/sci/resource.h b/engines/sci/resource.h index 7677209d2d..9b498b59de 100644 --- a/engines/sci/resource.h +++ b/engines/sci/resource.h @@ -322,7 +322,7 @@ protected: * Add a path to the resource manager's list of sources. * @return a pointer to the added source structure, or NULL if an error occurred. */ - ResourceSource *addPatchDir(const char *path); + ResourceSource *addPatchDir(const Common::String &path); ResourceSource *getVolume(ResourceSource *map, int volume_nr); @@ -333,7 +333,7 @@ protected: * @param filename The name of the source to add * @return A pointer to the added source structure, or NULL if an error occurred. */ - ResourceSource *addSource(ResourceSource *map, ResSourceType type, const char *filename, + ResourceSource *addSource(ResourceSource *map, ResSourceType type, const Common::String &filename, int number); ResourceSource *addSource(ResourceSource *map, ResSourceType type, @@ -345,7 +345,7 @@ protected: * @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, int volume_nr = 0); + ResourceSource *addExternalMap(const Common::String &filename, int volume_nr = 0); ResourceSource *addExternalMap(const Common::FSNode *mapFile, int volume_nr = 0); @@ -355,7 +355,7 @@ protected: * @param resNr The map resource number * @return A pointer to the added source structure, or NULL if an error occurred. */ - ResourceSource *addInternalMap(const char *name, int resNr); + ResourceSource *addInternalMap(const Common::String &name, int resNr); /** * Checks, if an audio volume got compressed by our tool. If that's the case, it will set audioCompressionType |