MOHAWK: LB detection/path updates.

Mark the v2.9x games as v3, mark Rugrats as v4, add detection for
CarmenTQ and add its install directory to the path.

svn-id: r55698
This commit is contained in:
Alyssa Milburn 2011-01-31 23:10:18 +00:00
parent 956dc54e3d
commit e2d3521d7d
4 changed files with 34 additions and 8 deletions

View file

@ -86,8 +86,13 @@ MohawkEngine_LivingBooks::MohawkEngine_LivingBooks(OSystem *syst, const MohawkGa
g_eventRec.registerRandomSource(*_rnd, "livingbooks");
const Common::FSNode gameDataDir(ConfMan.get("path"));
// Rugrats
SearchMan.addSubDirectoryMatching(gameDataDir, "program");
SearchMan.addSubDirectoryMatching(gameDataDir, "Rugrats Adventure Game");
// CarmenTQ
const Common::FSNode CTQPath = gameDataDir.getChild("95instal");
if (CTQPath.exists())
SearchMan.addDirectory(CTQPath.getPath(), CTQPath, 0, 4);
}
MohawkEngine_LivingBooks::~MohawkEngine_LivingBooks() {