aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/resource.h
diff options
context:
space:
mode:
authorFilippos Karapetis2010-09-10 14:07:32 +0000
committerFilippos Karapetis2010-09-10 14:07:32 +0000
commit4e27844fef5c631bc92fbd9e0e61da7d1d2bfe86 (patch)
tree7869cb7d3d41c1b078deb1f8987257564804bf93 /engines/sci/resource.h
parent8bbbcfe5b8f4c7099d83610c83fe51014e43b6d0 (diff)
downloadscummvm-rg350-4e27844fef5c631bc92fbd9e0e61da7d1d2bfe86.tar.gz
scummvm-rg350-4e27844fef5c631bc92fbd9e0e61da7d1d2bfe86.tar.bz2
scummvm-rg350-4e27844fef5c631bc92fbd9e0e61da7d1d2bfe86.zip
SCI: Some changes regarding resources
- Renamed the debug command "resource_size" to "resource_info", as it now provides the location of where a specified resource is found (i.e. the resource.xxx file, or the file name itself, if the resource is a patch) - "duskdump" shows the original location of dumped resources - loadResource() now shows the location of files that couldn't be loaded svn-id: r52667
Diffstat (limited to 'engines/sci/resource.h')
-rw-r--r--engines/sci/resource.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/sci/resource.h b/engines/sci/resource.h
index 53c00f6ec0..f5d6517398 100644
--- a/engines/sci/resource.h
+++ b/engines/sci/resource.h
@@ -219,6 +219,8 @@ public:
*/
void writeToStream(Common::WriteStream *stream) const;
+ const Common::String &getResourceLocation() const;
+
// FIXME: This audio specific method is a hack. After all, why should a
// Resource have audio specific methods? But for now we keep this, as it
// eases transition.