MOHAWK: Add a console command that does random clicks in all the cards

A surprisingly effective way of finding bugs
This commit is contained in:
Bastien Bouclet 2016-02-14 09:44:52 +01:00
parent 4b81c807c8
commit f0e416a034
4 changed files with 45 additions and 0 deletions

View file

@ -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;