From 6eb9f41e68a2eda945f7361cd05baa84a973d4d0 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Thu, 25 Jan 2007 00:37:12 +0000 Subject: Use file sizes in detection too. svn-id: r25172 --- engines/saga/sagagame.cpp | 51 +++++++++++++++++++++++++++++++++++++---------- engines/saga/sagagame.h | 1 + 2 files changed, 42 insertions(+), 10 deletions(-) (limited to 'engines/saga') diff --git a/engines/saga/sagagame.cpp b/engines/saga/sagagame.cpp index f549d65b3a..0a790a521a 100644 --- a/engines/saga/sagagame.cpp +++ b/engines/saga/sagagame.cpp @@ -592,11 +592,11 @@ static const SAGAGameDescription gameDescriptions[] = { NULL, }, - // Inherit the earth - MAC Demo version + // Inherit the earth - MAC Demo version 2 { { "ite", - "Demo", + "Demo 2", { {"ited.rsc", GAME_RESOURCEFILE, "addfc9d82bc2fa1f4cab23743c652c08", -1}, {"scriptsd.rsc", GAME_SCRIPTFILE, "fded5c59b8b7c5976229f960d21e6b0b", -1}, @@ -623,11 +623,11 @@ static const SAGAGameDescription gameDescriptions[] = { ITEMacPatch_Files, }, - // Inherit the earth - early MAC Demo version + // Inherit the earth - MAC Demo version 1 { { "ite", - "early Demo", + "Demo 1", { {"ited.rsc", GAME_RESOURCEFILE, "addfc9d82bc2fa1f4cab23743c652c08", -1}, {"scriptsd.rsc", GAME_SCRIPTFILE, "fded5c59b8b7c5976229f960d21e6b0b", -1}, @@ -725,7 +725,7 @@ static const SAGAGameDescription gameDescriptions[] = { { {"ited.rsc", GAME_RESOURCEFILE, "3a450852cbf3c80773984d565647e6ac", -1}, {"scriptsd.rsc", GAME_SCRIPTFILE, "3f12b67fa93e56e1a6be39d2921d80bb", -1}, - {"soundsd.rsc", GAME_SOUNDFILE, "95a6c148e22e99a8c243f2978223583c", -1}, + {"soundsd.rsc", GAME_SOUNDFILE, "95a6c148e22e99a8c243f2978223583c", 2026769}, {"voicesd.rsc", GAME_VOICEFILE, "e139d86bab2ee8ba3157337f894a92d4", -1}, {"musicd.rsc", GAME_MUSICFILE, "d6454756517f042f01210458abe8edd4", -1}, { NULL, 0, NULL, 0} @@ -748,15 +748,46 @@ static const SAGAGameDescription gameDescriptions[] = { ITELinPatch_Files, }, - // Inherit the earth - Win32 Demo version + // Inherit the earth - Win32 Demo version 3 { { "ite", - "Demo", + "Demo 3", + { + {"ited.rsc", GAME_RESOURCEFILE, "3a450852cbf3c80773984d565647e6ac", -1}, + {"scriptsd.rsc", GAME_SCRIPTFILE, "3f12b67fa93e56e1a6be39d2921d80bb", -1}, + {"soundsd.rsc", GAME_SOUNDFILE, "95a6c148e22e99a8c243f2978223583c", 2005074}, + {"voicesd.rsc", GAME_VOICEFILE, "e139d86bab2ee8ba3157337f894a92d4", -1}, + {"musicd.rsc", GAME_MUSICFILE, "d6454756517f042f01210458abe8edd4", -1}, + { NULL, 0, NULL, 0} + }, + Common::EN_ANY, + Common::kPlatformWindows, + }, + GType_ITE, + GID_ITE_WINDEMO3, + GF_WYRMKEEP | GF_CD_FX | GF_SCENE_SUBSTITUTES, + &ITE_DisplayInfo, + ITE_DEFAULT_SCENE, + &ITE_Resources, + ARRAYSIZE(ITEWINDEMO_GameFonts), + ITEWINDEMO_GameFonts, + &ITEWINDEMO2_GameVoice, + &ITEWINDEMO2_GameSound, + &ITELINDEMO_GameMusic, + ARRAYSIZE(ITEWinPatch2_Files), + ITEWinPatch2_Files, + }, + + // Inherit the earth - Win32 Demo version 2 + { + { + "ite", + "Demo 2", { {"ited.rsc", GAME_RESOURCEFILE, "3a450852cbf3c80773984d565647e6ac", -1}, {"scriptsd.rsc", GAME_SCRIPTFILE, "3f12b67fa93e56e1a6be39d2921d80bb", -1}, - {"soundsd.rsc", GAME_SOUNDFILE, "95a6c148e22e99a8c243f2978223583c", -1}, + {"soundsd.rsc", GAME_SOUNDFILE, "95a6c148e22e99a8c243f2978223583c", 2005074}, {"voicesd.rsc", GAME_VOICEFILE, "e139d86bab2ee8ba3157337f894a92d4", -1}, { NULL, 0, NULL, 0} }, @@ -778,11 +809,11 @@ static const SAGAGameDescription gameDescriptions[] = { ITEWinPatch2_Files, }, - // Inherit the earth - early Win32 Demo version + // Inherit the earth - Win32 Demo version 1 { { "ite", - "early Demo", + "Demo 1", { {"ited.rsc", GAME_RESOURCEFILE, "3a450852cbf3c80773984d565647e6ac", -1}, {"scriptsd.rsc", GAME_SCRIPTFILE, "3f12b67fa93e56e1a6be39d2921d80bb", -1}, diff --git a/engines/saga/sagagame.h b/engines/saga/sagagame.h index 593ad30ecb..cd4aa48faf 100644 --- a/engines/saga/sagagame.h +++ b/engines/saga/sagagame.h @@ -22,6 +22,7 @@ enum GameIds { GID_ITE_MACDEMO1, // older Wyrmkeep mac demo GID_ITE_LINDEMO, GID_ITE_WINDEMO2, + GID_ITE_WINDEMO3, GID_ITE_MACDEMO2, // German -- cgit v1.2.3