aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Howell2008-03-29 13:27:25 +0000
committerTravis Howell2008-03-29 13:27:25 +0000
commit7a919a0f4fbbcf2a5bd82533f6f846e2509923a1 (patch)
tree59d49015d4d5ed2f5fc089010368607c048af10b
parentf93c076a7b9d59afa4c80ab4241af7fbf252a0ab (diff)
downloadscummvm-rg350-7a919a0f4fbbcf2a5bd82533f6f846e2509923a1.tar.gz
scummvm-rg350-7a919a0f4fbbcf2a5bd82533f6f846e2509923a1.tar.bz2
scummvm-rg350-7a919a0f4fbbcf2a5bd82533f6f846e2509923a1.zip
Add patch #1928643 - Czech fan translation of Simon the Sorcerer 1.
svn-id: r31300
-rw-r--r--engines/agos/detection_tables.h46
-rw-r--r--engines/agos/verb.cpp27
2 files changed, 73 insertions, 0 deletions
diff --git a/engines/agos/detection_tables.h b/engines/agos/detection_tables.h
index 70f86f521f..33c5ec76bc 100644
--- a/engines/agos/detection_tables.h
+++ b/engines/agos/detection_tables.h
@@ -1021,6 +1021,29 @@ static const AGOSGameDescription gameDescriptions[] = {
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 @@ static const AGOSGameDescription gameDescriptions[] = {
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
{
{
diff --git a/engines/agos/verb.cpp b/engines/agos/verb.cpp
index 2c1af3c243..963bd6bd86 100644
--- a/engines/agos/verb.cpp
+++ b/engines/agos/verb.cpp
@@ -140,6 +140,21 @@ static const char *const english_verb_names[] = {
"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 @@ static const char *const english_verb_prep_names[] = {
"", "", "", "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 @@ void AGOSEngine::printVerbOf(uint hitarea_id) {
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 @@ void AGOSEngine::printVerbOf(uint hitarea_id) {
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;