diff options
Diffstat (limited to 'engines/mohawk/resource.h')
-rw-r--r-- | engines/mohawk/resource.h | 3 |
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 { |