aboutsummaryrefslogtreecommitdiff
path: root/engines/glk
diff options
context:
space:
mode:
Diffstat (limited to 'engines/glk')
-rw-r--r--engines/glk/adrift/detection.cpp2
-rw-r--r--engines/glk/adrift/detection_tables.h9
-rw-r--r--engines/glk/detection.cpp7
-rw-r--r--engines/glk/detection.h2
4 files changed, 17 insertions, 3 deletions
diff --git a/engines/glk/adrift/detection.cpp b/engines/glk/adrift/detection.cpp
index fc41ac0787..7623fdf19a 100644
--- a/engines/glk/adrift/detection.cpp
+++ b/engines/glk/adrift/detection.cpp
@@ -81,7 +81,7 @@ bool AdriftMetaEngine::detectGames(const Common::FSList &fslist, DetectedGames &
gameList.push_back(GlkDetectedGame(desc.gameId, desc.description, filename, md5, filesize));
} else {
PlainGameDescriptor gameDesc = findGame(p->_gameId);
- gameList.push_back(GlkDetectedGame(p->_gameId, gameDesc.description, filename));
+ gameList.push_back(GlkDetectedGame(p->_gameId, gameDesc.description, p->_extra, filename, p->_language));
}
}
diff --git a/engines/glk/adrift/detection_tables.h b/engines/glk/adrift/detection_tables.h
index 0df9388a01..a507e497c3 100644
--- a/engines/glk/adrift/detection_tables.h
+++ b/engines/glk/adrift/detection_tables.h
@@ -69,7 +69,6 @@ const PlainGameDescriptor ADRIFT_GAME_LIST[] = {
{ "crawlersdelight", "Crawler's Delight" },
{ "crimeadventure", "Crime Adventure" },
{ "cursed", "Cursed" },
- { "cursedhints", "Cursed - Hints" },
{ "cyber1", "Cyber Warp 1" },
{ "cyber2", "Cyber Warp 2" },
{ "darkness", "Darkness" },
@@ -164,6 +163,9 @@ const PlainGameDescriptor ADRIFT_GAME_LIST[] = {
{ "noblecrook4", "Noble Crook, episode 4" },
{ "sonofcamelot", "Son of Camelot" },
+ // Italian Games
+ { "ilgolem", "Il Golem" },
+
{ nullptr, nullptr }
};
@@ -196,7 +198,7 @@ const AdriftGameDescription ADRIFT_GAMES[] = {
DT_ENTRY0("crawlersdelight", "9da704541689f95b3636ad729cfda5f4", 18705),
DT_ENTRY0("crimeadventure", "965eafa4579caa3bb8382a07b5e1771e", 15073),
DT_ENTRY0("cursed", "62d2e05e62f1137b25a61bbb46154729", 487990),
- DT_ENTRY0("cursed_hints", "4ad13bf274af97ebbfe47c4a852b3a46", 36793),
+ DT_ENTRY1("cursed", "Hints", "4ad13bf274af97ebbfe47c4a852b3a46", 36793),
DT_ENTRY0("cyber1", "b53f7a302edad4d9e2a3310dc1c66e72", 1786),
DT_ENTRY0("cyber2", "535c161818ee238e112b1d00bd082b26", 3384),
DT_ENTRY0("darkness", "f02a5be2f9a2fd59ef10f3d16157ee27", 25238),
@@ -292,6 +294,9 @@ const AdriftGameDescription ADRIFT_GAMES[] = {
DT_ENTRY0("noblecrook4", "cb26241f8dba982bb0cd357ebd8fac45", 20606),
DT_ENTRY0("sonofcamelot", "7b3e9e45edc75202b3f586d0ca8dddde", 474380),
+ // Italian Games
+ DT_ENTRYL0("ilgolem", Common::IT_ITA, "7ab97545be9c30457d0c9e748ab7885f", 6372213),
+
DT_END_MARKER
};
diff --git a/engines/glk/detection.cpp b/engines/glk/detection.cpp
index 0345e8fcc7..cce1ec1ef0 100644
--- a/engines/glk/detection.cpp
+++ b/engines/glk/detection.cpp
@@ -70,6 +70,13 @@ GlkDetectedGame::GlkDetectedGame(const char *id, const char *desc, const Common:
addExtraEntry("filename", filename);
}
+GlkDetectedGame::GlkDetectedGame(const char *id, const char *desc, const char *extra,
+ const Common::String &filename, Common::Language lang) :
+ DetectedGame(id, desc, lang, Common::kPlatformUnknown, extra) {
+ setGUIOptions(GUIO3(GUIO_NOSPEECH, GUIO_NOMUSIC, GUIO_NOSUBTITLES));
+ addExtraEntry("filename", filename);
+}
+
GlkDetectedGame::GlkDetectedGame(const char *id, const char *desc, const Common::String &filename,
const Common::String &md5, size_t filesize) :
DetectedGame(id, desc, Common::UNK_LANG, Common::kPlatformUnknown) {
diff --git a/engines/glk/detection.h b/engines/glk/detection.h
index f3ed374106..d262e4393c 100644
--- a/engines/glk/detection.h
+++ b/engines/glk/detection.h
@@ -112,6 +112,8 @@ public:
Common::Language lang);
GlkDetectedGame(const char *id, const char *desc, const Common::String &filename,
const Common::String &md5, size_t filesize);
+ GlkDetectedGame(const char *id, const char *desc, const char *extra, const Common::String &filename,
+ Common::Language lang);
};
/**