ADL: Add skeleton for hires6

This commit is contained in:
Walter van Niftrik 2016-04-08 12:35:23 +02:00 committed by Walter van Niftrik
parent 266e63453f
commit ae405707cc
6 changed files with 243 additions and 3 deletions

View file

@ -74,6 +74,7 @@ static const PlainGameDescriptor adlGames[] = {
{ "hires0", "Hi-Res Adventure #0: Mission Asteroid" },
{ "hires1", "Hi-Res Adventure #1: Mystery House" },
{ "hires2", "Hi-Res Adventure #2: Wizard and the Princess" },
{ "hires6", "Hi-Res Adventure #6: The Dark Crystal" },
{ 0, 0 }
};
@ -136,6 +137,23 @@ static const AdlGameDescription gameDescriptions[] = {
},
GAME_TYPE_HIRES0
},
{ // Hi-Res Adventure #6: The Dark Crystal - Apple II - Roberta Williams Anthology
{
"hires6", 0,
{
{ "DARK1A.DSK", 0, "00c2646d6943d1405717332a6f42d493", 143360 },
{ "DARK2A.NIB", 0, "271eb92db107e8d5829437f8ba77991e", 232960 },
{ "DARK1B.NIB", 0, "dbedd736617343ade0e6bead8bf2b10c", 232960 },
{ "DARK2B.NIB", 0, "cb72044a9b391c4285f4752f746bea2e", 232960 },
AD_LISTEND
},
Common::EN_ANY,
Common::kPlatformApple2GS, // FIXME
ADGF_UNSTABLE,
GUIO2(GAMEOPTION_MONO, GAMEOPTION_SCANLINES)
},
GAME_TYPE_HIRES6
},
{ AD_TABLE_END_MARKER, GAME_TYPE_NONE }
};
@ -276,6 +294,7 @@ void AdlMetaEngine::removeSaveState(const char *target, int slot) const {
Engine *HiRes1Engine_create(OSystem *syst, const AdlGameDescription *gd);
Engine *HiRes2Engine_create(OSystem *syst, const AdlGameDescription *gd);
Engine *HiRes6Engine_create(OSystem *syst, const AdlGameDescription *gd);
bool AdlMetaEngine::createInstance(OSystem *syst, Engine **engine, const ADGameDescription *gd) const {
if (!gd)
@ -290,6 +309,9 @@ bool AdlMetaEngine::createInstance(OSystem *syst, Engine **engine, const ADGameD
case GAME_TYPE_HIRES2:
*engine = HiRes2Engine_create(syst, adlGd);
break;
case GAME_TYPE_HIRES6:
*engine = HiRes6Engine_create(syst, adlGd);
break;
default:
error("Unknown GameType");
}