diff options
author | Max Horn | 2006-03-09 12:59:46 +0000 |
---|---|---|
committer | Max Horn | 2006-03-09 12:59:46 +0000 |
commit | de295c562db98bd80b9aa174cd221ac76ad35b69 (patch) | |
tree | f53d558cdec0213e1118031f2cda014536d87011 | |
parent | 6b19677e1d15d7b4f8e1230642e1d1a1fee69907 (diff) | |
download | scummvm-rg350-de295c562db98bd80b9aa174cd221ac76ad35b69.tar.gz scummvm-rg350-de295c562db98bd80b9aa174cd221ac76ad35b69.tar.bz2 scummvm-rg350-de295c562db98bd80b9aa174cd221ac76ad35b69.zip |
Replaced GF_ENGLISH in LureGameSettings by a proper Common::Language member variable; added (commented out) entries for the german and french lure
svn-id: r21168
-rw-r--r-- | engines/lure/lure.cpp | 16 | ||||
-rw-r--r-- | engines/lure/luredefs.h | 1 |
2 files changed, 10 insertions, 7 deletions
diff --git a/engines/lure/lure.cpp b/engines/lure/lure.cpp index 64a166765c..1aa37046e7 100644 --- a/engines/lure/lure.cpp +++ b/engines/lure/lure.cpp @@ -55,15 +55,22 @@ struct LureGameSettings { const char *description; byte id; uint32 features; + Common::Language language; const char *md5sum; const char *checkFile; }; // static const LureGameSettings lure_games[] = { - { "lure", "Lure of the Temptress", GI_LURE, GF_ENGLISH | GF_FLOPPY, + { "lure", "Lure of the Temptress", GI_LURE, GF_FLOPPY, Common::EN_USA, "e45ea5d279a268c7d3c6524c2f63a2d2", "disk1.vga" }, - { 0, 0, 0, 0, 0, 0 } +/* + { "lure", "Lure of the Temptress", GI_LURE, GF_FLOPPY, Common::DE_DEU, + "00469bde05e79e634c3dd3931d3a708a", "disk1.vga" }, + { "lure", "Lure of the Temptress", GI_LURE, GF_FLOPPY, Common::FR_FRA, + "2e6c42dbc76ba4f329261f1ff7013309", "disk1.vga" }, +*/ + { 0, 0, 0, 0, Common::UNK_LANG, 0, 0 } }; // Keep list of different supported games @@ -125,10 +132,7 @@ DetectedGameList Engine_LURE_detectGames(const FSList &fslist) { } for (g = lure_games; g->gameid; g++) { if (strcmp(g->md5sum, (char *)md5str) == 0) { - DetectedGame dg(*g); - if (g->features & GF_ENGLISH) - dg.language = Common::EN_USA; - + DetectedGame dg(*g, g->language); dg.updateDesc((g->features & GF_FLOPPY) ? "Floppy" : 0); detectedGames.push_back(dg); } diff --git a/engines/lure/luredefs.h b/engines/lure/luredefs.h index 833ad3ff40..d259502811 100644 --- a/engines/lure/luredefs.h +++ b/engines/lure/luredefs.h @@ -36,7 +36,6 @@ namespace Lure { enum { GF_FLOPPY = 1 << 0, - GF_ENGLISH = 1 << 1, GF_LNGUNK = 1 << 15 }; |