[Scummvm-cvs-logs] SF.net SVN: scummvm: [24786] scummvm/trunk/engines/touche
cyx at users.sourceforge.net
cyx at users.sourceforge.net
Sat Nov 25 01:31:52 CET 2006
Revision: 24786
http://svn.sourceforge.net/scummvm/?rev=24786&view=rev
Author: cyx
Date: 2006-11-24 16:31:51 -0800 (Fri, 24 Nov 2006)
Log Message:
-----------
added a few comments and details for another Touche version (tracker item #1602360)
Modified Paths:
--------------
scummvm/trunk/engines/touche/graphics.cpp
scummvm/trunk/engines/touche/plugin.cpp
Modified: scummvm/trunk/engines/touche/graphics.cpp
===================================================================
--- scummvm/trunk/engines/touche/graphics.cpp 2006-11-24 20:25:55 UTC (rev 24785)
+++ scummvm/trunk/engines/touche/graphics.cpp 2006-11-25 00:31:51 UTC (rev 24786)
@@ -29,16 +29,19 @@
void Graphics::setupFont(Common::Language language) {
switch (language) {
+ case Common::FR_FRA:
+ case Common::DE_DEU:
+ _fontOffs = _locFontOffs;
+ _fontSize = _locFontSize;
+ _fontData = _locFontData;
+ break;
+ case Common::IT_ITA:
case Common::EN_ANY:
+ default:
_fontOffs = _engFontOffs;
_fontSize = _engFontSize;
_fontData = _engFontData;
break;
- default: // else default to a localized version
- _fontOffs = _locFontOffs;
- _fontSize = _locFontSize;
- _fontData = _locFontData;
- break;
}
}
Modified: scummvm/trunk/engines/touche/plugin.cpp
===================================================================
--- scummvm/trunk/engines/touche/plugin.cpp 2006-11-24 20:25:55 UTC (rev 24785)
+++ scummvm/trunk/engines/touche/plugin.cpp 2006-11-25 00:31:51 UTC (rev 24786)
@@ -38,33 +38,40 @@
};
static const GameVersion toucheGameVersionsTable[] = {
- {
+ { // retail version
"Touche: The Adventures of the Fifth Musketeer",
26350211,
"2af0177f8887e3430f345e6b4d8b1414",
Common::EN_ANY,
Common::kPlatformPC
},
- {
+ { // retail version - tracker item #1601818
"Touche: The Adventures of the Fifth Musketeer",
26350190,
"95967f0b51d2e813e99ca00325098340",
- Common::EN_USA,
- Common::kPlatformPC
+ Common::EN_ANY,
+ Common::kPlatformWindows
},
- {
+ { // retail version
"Touche: Les Aventures du Cinquieme Mousquetaire",
26558232,
"1caa20bb4d4fc2ce8eb867b6610082b3",
Common::FR_FRA,
Common::kPlatformPC
},
- {
+ { // retail version - tracker item #1598643
"Touche - Die Abenteuer des funften Musketiers",
26625537,
"be2ae6454b3325e410946f2322547cd4",
Common::DE_DEU,
Common::kPlatformPC
+ },
+ { // fan-made translation (http://www.iagtg.net/) - tracker item #1602360
+ "Touche: The Adventures of the Fifth Musketeer",
+ 26367792,
+ "1f442331d4b327c3488a9f6ffe9bdd25",
+ Common::IT_ITA,
+ Common::kPlatformPC
}
};
@@ -127,6 +134,9 @@
}
DetectedGameList detectedGames;
if (foundFile) {
+ // Currently, the detection code is based on a MD5 checksum. If all known versions
+ // have a different file size for TOUCHE.DAT, we may consider using this to do the
+ // detection.
Common::String md5digest = Engine_TOUCHE_md5digest(file);
if (!md5digest.empty()) {
for (int i = 0; i < ARRAYSIZE(toucheGameVersionsTable); ++i) {
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