aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStuart George2006-12-19 01:57:30 +0000
committerStuart George2006-12-19 01:57:30 +0000
commitbdf98587c8b6a6ee773680cecb8a63219dcea7c6 (patch)
tree45c45f84b3ec67390debf4aee82ddc1f0230579e
parent66910854c936a2ffccfb1ca06b030f1ca8e1002a (diff)
downloadscummvm-rg350-bdf98587c8b6a6ee773680cecb8a63219dcea7c6.tar.gz
scummvm-rg350-bdf98587c8b6a6ee773680cecb8a63219dcea7c6.tar.bz2
scummvm-rg350-bdf98587c8b6a6ee773680cecb8a63219dcea7c6.zip
Changed game id's back to agi. Added some KQ2 entries
svn-id: r24880
-rw-r--r--engines/agi/detection.cpp72
1 files changed, 65 insertions, 7 deletions
diff --git a/engines/agi/detection.cpp b/engines/agi/detection.cpp
index 7bb48a8606..537158a2be 100644
--- a/engines/agi/detection.cpp
+++ b/engines/agi/detection.cpp
@@ -39,7 +39,7 @@ static DetectedGameList GAME_detectGames(const FSList &fslist);
using Common::File;
static const PlainGameDescriptor agiGames[] = {
- {"kq1", "Kings Quest I" },
+ {"agi", "Sierra AGI Engine" },
{0, 0}
};
@@ -58,6 +58,7 @@ using Common::ADGameDescription;
using Common::File;
+// Kings Quest I entries
static const ADGameFileDescription AGI_KQ1_PC_20F_GameFiles[] = {
{ "logdir", 0, "10ad66e2ecbd66951534a50aedcd0128"},
};
@@ -68,13 +69,24 @@ static const ADGameFileDescription AGI_KQ1_MAC_20C_GameFiles[] = {
{ "logdir", 0, "d4c4739d4ac63f7dbd29255425077d48"},
};
+// Kings Quest II Entries
+static const ADGameFileDescription AGI_KQ2_PC_22_GameFiles[] = {
+ { "logdir", 0, "b944c4ff18fb8867362dc21cc688a283"},
+};
+static const ADGameFileDescription AGI_KQ2_AMIGA_20F_GameFiles[] = {
+ { "logdir", 0, "b866f0fab2fad91433a637a828cfa410"},
+};
+static const ADGameFileDescription AGI_KQ2_MAC_20R_GameFiles[] = {
+ { "logdir", 0, "cbdb0083317c8e7cfb7ac35da4bc7fdc"},
+};
+
static const AGIGameDescription gameDescriptions[] = {
{
// kings quest 1 : pc : 2.0F
{
- "kq1",
- "",
+ "agi",
+ "King's Quest 1 (PC 5.25\"/3.5\") 2.0F [AGI 2.917]",
ARRAYSIZE(AGI_KQ1_PC_20F_GameFiles),
AGI_KQ1_PC_20F_GameFiles,
Common::EN_ANY,
@@ -88,8 +100,8 @@ static const AGIGameDescription gameDescriptions[] = {
{
// kings quest 1 : 2gs : 1.0S
{
- "kq1",
- "",
+ "agi",
+ "King's Quest 1 (IIgs) 1.0S-88223",
ARRAYSIZE(AGI_KQ1_2GS_10S_GameFiles),
AGI_KQ1_2GS_10S_GameFiles,
Common::EN_ANY,
@@ -104,8 +116,8 @@ static const AGIGameDescription gameDescriptions[] = {
{
// kings quest 1 : Mac : 2.0C
{
- "kq1",
- "",
+ "agi",
+ "King's Quest 1 (Mac) 2.0C",
ARRAYSIZE(AGI_KQ1_MAC_20C_GameFiles),
AGI_KQ1_MAC_20C_GameFiles,
Common::EN_ANY,
@@ -117,6 +129,52 @@ static const AGIGameDescription gameDescriptions[] = {
},
+ {
+ // kings quest 2 : PC : 2.2
+ {
+ "agi",
+ "King's Quest 2 (PC 5.25\"/3.5\") 2.2 [AGI 2.426]",
+ ARRAYSIZE(AGI_KQ2_PC_22_GameFiles),
+ AGI_KQ2_PC_22_GameFiles,
+ Common::EN_ANY,
+ Common::kPlatformPC,
+ },
+ GType_V2,
+ 0,
+ 0x2917,
+ },
+
+ {
+ // kings quest 2 : Amiga : 2.0J (not sure if this is broken version or not. need to test
+ {
+ "agi",
+ "King's Quest 2 (Amiga) 2.0J",
+ ARRAYSIZE(AGI_KQ2_AMIGA_20F_GameFiles),
+ AGI_KQ2_AMIGA_20F_GameFiles,
+ Common::EN_ANY,
+ Common::kPlatformAmiga,
+ },
+ GType_V2,
+ AGI_AMIGA,
+ 0x2440,
+ },
+
+ {
+ // kings quest 2 : Mac : 2.0R
+ {
+ "agi",
+ "King's Quest 2 (Mac) 2.0R",
+ ARRAYSIZE(AGI_KQ2_MAC_20R_GameFiles),
+ AGI_KQ2_MAC_20R_GameFiles,
+ Common::EN_ANY,
+ Common::kPlatformMacintosh,
+ },
+ GType_V2,
+ 0,
+ 0x2440,
+ },
+
+
};
bool AgiEngine::initGame() {