aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/myst.cpp
diff options
context:
space:
mode:
authorBastien Bouclet2016-02-14 09:44:52 +0100
committerBastien Bouclet2016-02-14 09:58:43 +0100
commitf0e416a0341f437f267a505191e7485917c312dd (patch)
treee4cd6fc1124a00e23381b87de1e05756b2d3d4de /engines/mohawk/myst.cpp
parent4b81c807c8432e48be64d971a4b6cc932bb9c109 (diff)
downloadscummvm-rg350-f0e416a0341f437f267a505191e7485917c312dd.tar.gz
scummvm-rg350-f0e416a0341f437f267a505191e7485917c312dd.tar.bz2
scummvm-rg350-f0e416a0341f437f267a505191e7485917c312dd.zip
MOHAWK: Add a console command that does random clicks in all the cards
A surprisingly effective way of finding bugs
Diffstat (limited to 'engines/mohawk/myst.cpp')
-rw-r--r--engines/mohawk/myst.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/mohawk/myst.cpp b/engines/mohawk/myst.cpp
index dc6fe9a1eb..852196e6ac 100644
--- a/engines/mohawk/myst.cpp
+++ b/engines/mohawk/myst.cpp
@@ -121,6 +121,10 @@ Common::SeekableReadStream *MohawkEngine_Myst::getResource(uint32 tag, uint16 id
return nullptr;
}
+Common::Array<uint16> MohawkEngine_Myst::getResourceIDList(uint32 type) const {
+ return _mhk[0]->getResourceIDList(type);
+}
+
void MohawkEngine_Myst::cachePreload(uint32 tag, uint16 id) {
if (!_cache.enabled)
return;