aboutsummaryrefslogtreecommitdiff
path: root/engines/sky/detection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sky/detection.cpp')
-rw-r--r--engines/sky/detection.cpp24
1 files changed, 13 insertions, 11 deletions
diff --git a/engines/sky/detection.cpp b/engines/sky/detection.cpp
index 55c61b8665..1a14703972 100644
--- a/engines/sky/detection.cpp
+++ b/engines/sky/detection.cpp
@@ -45,21 +45,22 @@ struct SkyVersion {
int dataDiskSize;
const char *extraDesc;
int version;
+ uint32 guioptions;
};
// TODO: Would be nice if Disk::determineGameVersion() used this table, too.
static const SkyVersion skyVersions[] = {
- { 232, -1, "floppy demo", 272 }, // German
- { 243, -1, "pc gamer demo", 109 },
- { 247, -1, "floppy demo", 267 }, // English
- { 1404, -1, "floppy", 288 },
- { 1413, -1, "floppy", 303 },
- { 1445, 8830435, "floppy", 348 },
- { 1445, -1, "floppy", 331 },
- { 1711, -1, "cd demo", 365 },
- { 5099, -1, "cd", 368 },
- { 5097, -1, "cd", 372 },
- { 0, 0, 0, 0 }
+ { 232, -1, "floppy demo", 272, Common::GUIO_NOSPEECH }, // German
+ { 243, -1, "pc gamer demo", 109, Common::GUIO_NOSPEECH },
+ { 247, -1, "floppy demo", 267, Common::GUIO_NOSPEECH }, // English
+ { 1404, -1, "floppy", 288, Common::GUIO_NOSPEECH },
+ { 1413, -1, "floppy", 303, Common::GUIO_NOSPEECH },
+ { 1445, 8830435, "floppy", 348, Common::GUIO_NOSPEECH },
+ { 1445, -1, "floppy", 331, Common::GUIO_NOSPEECH },
+ { 1711, -1, "cd demo", 365, Common::GUIO_NONE },
+ { 5099, -1, "cd", 368, Common::GUIO_NONE },
+ { 5097, -1, "cd", 372, Common::GUIO_NONE },
+ { 0, 0, 0, 0, 0 }
};
class SkyMetaEngine : public MetaEngine {
@@ -155,6 +156,7 @@ GameList SkyMetaEngine::detectGames(const Common::FSList &fslist) const {
char buf[32];
snprintf(buf, sizeof(buf), "v0.0%d %s", sv->version, sv->extraDesc);
dg.updateDesc(buf);
+ dg.setGUIOptions(sv->guioptions);
break;
}
++sv;