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:
parent
956dc54e3d
commit
e2d3521d7d
4 changed files with 34 additions and 8 deletions
|
@ -103,6 +103,7 @@ static const PlainGameDescriptor mohawkGames[] = {
|
|||
{"cstime", "Where in Time is Carmen Sandiego?"},
|
||||
{"csworld", "Where in the World is Carmen Sandiego?"},
|
||||
{"csamtrak", "Where in America is Carmen Sandiego? (The Great Amtrak Train Adventure)"},
|
||||
{"carmentq", "Carmen Sandiego's ThinkQuick Challenge"},
|
||||
{"maggiesfa", "Maggie's Farmyard Adventure"},
|
||||
{"jamesmath", "James Discovers/Explores Math"},
|
||||
{"treehouse", "The Treehouse"},
|
||||
|
@ -131,6 +132,7 @@ static const char *directoryGlobs[] = {
|
|||
"assets1",
|
||||
"data",
|
||||
"program",
|
||||
"95instal",
|
||||
"Rugrats Adventure Game",
|
||||
0
|
||||
};
|
||||
|
@ -232,6 +234,8 @@ bool MohawkMetaEngine::createInstance(OSystem *syst, Engine **engine, const ADGa
|
|||
case Mohawk::GType_LIVINGBOOKSV1:
|
||||
case Mohawk::GType_LIVINGBOOKSV2:
|
||||
case Mohawk::GType_LIVINGBOOKSV3:
|
||||
case Mohawk::GType_LIVINGBOOKSV4:
|
||||
case Mohawk::GType_LIVINGBOOKSV5:
|
||||
*engine = new Mohawk::MohawkEngine_LivingBooks(syst, gd);
|
||||
break;
|
||||
case Mohawk::GType_CSTIME:
|
||||
|
|
|
@ -522,6 +522,21 @@ static const MohawkGameDescription gameDescriptions[] = {
|
|||
0
|
||||
},
|
||||
|
||||
{
|
||||
{
|
||||
"carmentq",
|
||||
"",
|
||||
AD_ENTRY1("Outline.txt", "67abce5dcda969c23f367a98c90439bc"),
|
||||
Common::EN_ANY,
|
||||
Common::kPlatformWindows,
|
||||
ADGF_NO_FLAGS,
|
||||
Common::GUIO_NONE
|
||||
},
|
||||
GType_LIVINGBOOKSV5,
|
||||
0,
|
||||
0
|
||||
},
|
||||
|
||||
{
|
||||
{
|
||||
"maggiesfa",
|
||||
|
@ -608,7 +623,7 @@ static const MohawkGameDescription gameDescriptions[] = {
|
|||
ADGF_NO_FLAGS,
|
||||
Common::GUIO_NONE
|
||||
},
|
||||
GType_LIVINGBOOKSV2,
|
||||
GType_LIVINGBOOKSV3,
|
||||
0,
|
||||
0
|
||||
},
|
||||
|
@ -624,7 +639,7 @@ static const MohawkGameDescription gameDescriptions[] = {
|
|||
ADGF_NO_FLAGS,
|
||||
Common::GUIO_NONE
|
||||
},
|
||||
GType_LIVINGBOOKSV2,
|
||||
GType_LIVINGBOOKSV3,
|
||||
0,
|
||||
0
|
||||
},
|
||||
|
@ -639,7 +654,7 @@ static const MohawkGameDescription gameDescriptions[] = {
|
|||
ADGF_NO_FLAGS,
|
||||
Common::GUIO_NONE
|
||||
},
|
||||
GType_LIVINGBOOKSV2,
|
||||
GType_LIVINGBOOKSV3,
|
||||
0,
|
||||
0
|
||||
},
|
||||
|
@ -1003,7 +1018,7 @@ static const MohawkGameDescription gameDescriptions[] = {
|
|||
ADGF_NO_FLAGS,
|
||||
Common::GUIO_NONE
|
||||
},
|
||||
GType_LIVINGBOOKSV2,
|
||||
GType_LIVINGBOOKSV3,
|
||||
0,
|
||||
0
|
||||
},
|
||||
|
@ -1019,7 +1034,7 @@ static const MohawkGameDescription gameDescriptions[] = {
|
|||
ADGF_NO_FLAGS,
|
||||
Common::GUIO_NONE
|
||||
},
|
||||
GType_LIVINGBOOKSV2,
|
||||
GType_LIVINGBOOKSV3,
|
||||
0,
|
||||
0
|
||||
},
|
||||
|
@ -1124,7 +1139,7 @@ static const MohawkGameDescription gameDescriptions[] = {
|
|||
ADGF_NO_FLAGS,
|
||||
Common::GUIO_NONE
|
||||
},
|
||||
GType_LIVINGBOOKSV3,
|
||||
GType_LIVINGBOOKSV4,
|
||||
0,
|
||||
0,
|
||||
},
|
||||
|
@ -1139,7 +1154,7 @@ static const MohawkGameDescription gameDescriptions[] = {
|
|||
ADGF_NO_FLAGS,
|
||||
Common::GUIO_NONE
|
||||
},
|
||||
GType_LIVINGBOOKSV3,
|
||||
GType_LIVINGBOOKSV4,
|
||||
0,
|
||||
0,
|
||||
},
|
||||
|
|
|
@ -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() {
|
||||
|
|
|
@ -62,7 +62,9 @@ enum MohawkGameType {
|
|||
GType_CSUSA,
|
||||
GType_LIVINGBOOKSV1,
|
||||
GType_LIVINGBOOKSV2,
|
||||
GType_LIVINGBOOKSV3
|
||||
GType_LIVINGBOOKSV3,
|
||||
GType_LIVINGBOOKSV4,
|
||||
GType_LIVINGBOOKSV5
|
||||
};
|
||||
|
||||
enum MohawkGameFeatures {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue