[Scummvm-cvs-logs] SF.net SVN: scummvm: [21168] scummvm/trunk/engines/lure
fingolfin at users.sourceforge.net
fingolfin at users.sourceforge.net
Thu Mar 9 05:00:06 CET 2006
Revision: 21168
Author: fingolfin
Date: 2006-03-09 04:59:46 -0800 (Thu, 09 Mar 2006)
ViewCVS: http://svn.sourceforge.net/scummvm/?rev=21168&view=rev
Log Message:
-----------
Replaced GF_ENGLISH in LureGameSettings by a proper Common::Language member variable; added (commented out) entries for the german and french lure
Modified Paths:
--------------
scummvm/trunk/engines/lure/lure.cpp
scummvm/trunk/engines/lure/luredefs.h
Modified: scummvm/trunk/engines/lure/lure.cpp
===================================================================
--- scummvm/trunk/engines/lure/lure.cpp 2006-03-09 12:52:54 UTC (rev 21167)
+++ scummvm/trunk/engines/lure/lure.cpp 2006-03-09 12:59:46 UTC (rev 21168)
@@ -55,15 +55,22 @@
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 @@
}
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);
}
Modified: scummvm/trunk/engines/lure/luredefs.h
===================================================================
--- scummvm/trunk/engines/lure/luredefs.h 2006-03-09 12:52:54 UTC (rev 21167)
+++ scummvm/trunk/engines/lure/luredefs.h 2006-03-09 12:59:46 UTC (rev 21168)
@@ -36,7 +36,6 @@
enum {
GF_FLOPPY = 1 << 0,
- GF_ENGLISH = 1 << 1,
GF_LNGUNK = 1 << 15
};
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list