[Scummvm-cvs-logs] SF.net SVN: scummvm: [31300] scummvm/trunk/engines/agos
Kirben at users.sourceforge.net
Kirben at users.sourceforge.net
Sat Mar 29 14:27:26 CET 2008
Revision: 31300
http://scummvm.svn.sourceforge.net/scummvm/?rev=31300&view=rev
Author: Kirben
Date: 2008-03-29 06:27:25 -0700 (Sat, 29 Mar 2008)
Log Message:
-----------
Add patch #1928643 - Czech fan translation of Simon the Sorcerer 1.
Modified Paths:
--------------
scummvm/trunk/engines/agos/detection_tables.h
scummvm/trunk/engines/agos/verb.cpp
Modified: scummvm/trunk/engines/agos/detection_tables.h
===================================================================
--- scummvm/trunk/engines/agos/detection_tables.h 2008-03-29 00:08:56 UTC (rev 31299)
+++ scummvm/trunk/engines/agos/detection_tables.h 2008-03-29 13:27:25 UTC (rev 31300)
@@ -1021,6 +1021,29 @@
GF_OLD_BUNDLE
},
+ // Simon the Sorcerer 1 - English DOS Floppy with Czech patch
+ {
+ {
+ "simon1",
+ "Floppy",
+
+ {
+ { "gamepc", GAME_BASEFILE, "62de24fc579b94fac7d3d23201b65b14", -1},
+ { "icon.dat", GAME_ICONFILE, "22107c24dfb31b66ac503c28a6e20b19", -1},
+ { "stripped.txt", GAME_STRFILE, "c95a0a1ee973e19c2a1c5d12026c139f", -1},
+ { "tbllist", GAME_TBLFILE, "d198a80de2c59e4a0cd24b98814849e8", -1},
+ { NULL, 0, NULL, 0}
+ },
+ Common::CZ_CZE,
+ Common::kPlatformPC,
+ Common::ADGF_NO_FLAGS
+ },
+
+ GType_SIMON1,
+ GID_SIMON1DOS,
+ GF_OLD_BUNDLE
+ },
+
// Simon the Sorcerer 1 - English DOS Floppy with Russian patch
{
{
@@ -1067,6 +1090,29 @@
GF_OLD_BUNDLE
},
+ // Simon the Sorcerer 1 - English DOS Floppy (Infocom) with Czech patch
+ {
+ {
+ "simon1",
+ "Floppy",
+
+ {
+ { "gamepc", GAME_BASEFILE, "62de24fc579b94fac7d3d23201b65b14", -1},
+ { "icon.dat", GAME_ICONFILE, "22107c24dfb31b66ac503c28a6e20b19", -1},
+ { "stripped.txt", GAME_STRFILE, "2af9affc5981eec44b90d4c556145cb8", -1},
+ { "tbllist", GAME_TBLFILE, "d198a80de2c59e4a0cd24b98814849e8", -1},
+ { NULL, 0, NULL, 0}
+ },
+ Common::CZ_CZE,
+ Common::kPlatformPC,
+ Common::ADGF_NO_FLAGS
+ },
+
+ GType_SIMON1,
+ GID_SIMON1DOS,
+ GF_OLD_BUNDLE
+ },
+
// Simon the Sorcerer 1 - English DOS Floppy (Infocom) with Russian patch
{
{
Modified: scummvm/trunk/engines/agos/verb.cpp
===================================================================
--- scummvm/trunk/engines/agos/verb.cpp 2008-03-29 00:08:56 UTC (rev 31299)
+++ scummvm/trunk/engines/agos/verb.cpp 2008-03-29 13:27:25 UTC (rev 31300)
@@ -140,6 +140,21 @@
"Give"
};
+static const char *const czech_verb_names[] = {
+ "Jit",
+ "Podivat se",
+ "Otevrit",
+ "Pohnout s",
+ "Snist",
+ "Sebrat",
+ "Zavrit",
+ "Pouzit",
+ "Mluvit s",
+ "Odstranit",
+ "Oblect",
+ "Dat"
+};
+
static const char *const russian_verb_prep_names[] = {
"", "", "", "",
"", "", "", "s yfn?",
@@ -182,6 +197,12 @@
"", "", "", "to whom ?"
};
+static const char *const czech_verb_prep_names[] = {
+ "", "", "", "",
+ "", "", "", "s cim ?",
+ "", "", "", "komu ?"
+};
+
void AGOSEngine_Feeble::clearName() {
stopAnimateSimon2(2, 6);
_lastNameOn = NULL;
@@ -250,6 +271,9 @@
case Common::DE_DEU:
verb_prep_names = german_verb_prep_names;
break;
+ case Common::CZ_CZE:
+ verb_prep_names = czech_verb_prep_names;
+ break;
default:
verb_prep_names = english_verb_prep_names;
break;
@@ -276,6 +300,9 @@
case Common::DE_DEU:
verb_names = german_verb_names;
break;
+ case Common::CZ_CZE:
+ verb_names = czech_verb_names;
+ break;
default:
verb_names = english_verb_names;
break;
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