aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/resource.h
diff options
context:
space:
mode:
authorMatthew Hoops2010-11-22 17:50:30 +0000
committerMatthew Hoops2010-11-22 17:50:30 +0000
commitcc6c7e33bff84f12512d01058c3f5a384ff36c83 (patch)
tree942c01d5de9829cd7dd00a8d542f38120e9a2475 /engines/mohawk/resource.h
parenteba5c441b27d0c7ec82b4d7abd0f51bfee2dc8ba (diff)
downloadscummvm-rg350-cc6c7e33bff84f12512d01058c3f5a384ff36c83.tar.gz
scummvm-rg350-cc6c7e33bff84f12512d01058c3f5a384ff36c83.tar.bz2
scummvm-rg350-cc6c7e33bff84f12512d01058c3f5a384ff36c83.zip
MOHAWK: Switch slider bitmap ID's to matching via string; fixes some versions
svn-id: r54416
Diffstat (limited to 'engines/mohawk/resource.h')
-rw-r--r--engines/mohawk/resource.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/mohawk/resource.h b/engines/mohawk/resource.h
index e710cb1b10..00cd46ba1c 100644
--- a/engines/mohawk/resource.h
+++ b/engines/mohawk/resource.h
@@ -186,8 +186,8 @@ public:
virtual bool hasResource(uint32 tag, uint16 id);
virtual bool hasResource(uint32 tag, const Common::String &resName);
virtual Common::SeekableReadStream *getResource(uint32 tag, uint16 id);
- virtual Common::SeekableReadStream *getResource(uint32 tag, const Common::String &resName);
virtual uint32 getOffset(uint32 tag, uint16 id);
+ virtual uint16 findResourceID(uint32 type, const Common::String &resName);
protected:
Common::SeekableReadStream *_mhk;
@@ -220,6 +220,7 @@ public:
Common::SeekableReadStream *getResource(uint32 tag, uint16 id);
Common::SeekableReadStream *getResource(uint32 tag, const Common::String &resName) { return 0; }
uint32 getOffset(uint32 tag, uint16 id);
+ uint16 findResourceID(uint32 type, const Common::String &resName) { return 0xFFFF; }
private:
struct OldType {