aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/resource.h
diff options
context:
space:
mode:
authorBastien Bouclet2018-07-10 19:03:09 +0200
committerBastien Bouclet2018-07-10 19:09:30 +0200
commite105c2a78ae14a0b3c6645fe98db98f3c299f13f (patch)
tree0a882e4cdea019535f8a11b16d4cf3b3cd71eef0 /engines/mohawk/resource.h
parent204060d1f0b88a5e1d4cb2010a76080281e3a327 (diff)
downloadscummvm-rg350-e105c2a78ae14a0b3c6645fe98db98f3c299f13f.tar.gz
scummvm-rg350-e105c2a78ae14a0b3c6645fe98db98f3c299f13f.tar.bz2
scummvm-rg350-e105c2a78ae14a0b3c6645fe98db98f3c299f13f.zip
MOHAWK: RIVEN: Fix off-by-one ids in ospit for the 25th localized versions
Fixes Trac#10620.
Diffstat (limited to 'engines/mohawk/resource.h')
-rw-r--r--engines/mohawk/resource.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/mohawk/resource.h b/engines/mohawk/resource.h
index 809c55da1d..426e022ae4 100644
--- a/engines/mohawk/resource.h
+++ b/engines/mohawk/resource.h
@@ -145,6 +145,8 @@ public:
Common::Array<uint32> getResourceTypeList() const;
Common::Array<uint16> getResourceIDList(uint32 type) const;
+ /** Offset the resource ids for a resource type by the specified amount */
+ void offsetResourceIDs(uint32 type, uint16 startId, int16 increment);
protected:
Common::SeekableReadStream *_stream;