aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2016-04-16 23:29:16 +0200
committerEugene Sandulenko2016-04-16 23:39:38 +0200
commit83c77021980dc931b24e69e95eca1a4969ef6543 (patch)
treecd22f01279e5028f7d8f30ec5619cc09a34a3276
parentd633a54526481d01f464e794451fbd77317fcaf8 (diff)
downloadscummvm-rg350-83c77021980dc931b24e69e95eca1a4969ef6543.tar.gz
scummvm-rg350-83c77021980dc931b24e69e95eca1a4969ef6543.tar.bz2
scummvm-rg350-83c77021980dc931b24e69e95eca1a4969ef6543.zip
SKY: Added localized quit message for Russian translation
-rw-r--r--engines/sky/control.cpp6
-rw-r--r--engines/sky/control.h2
-rw-r--r--engines/sky/sky.cpp3
-rw-r--r--engines/sky/skydefs.h1
4 files changed, 9 insertions, 3 deletions
diff --git a/engines/sky/control.cpp b/engines/sky/control.cpp
index dfdd765120..e79fa6e5e6 100644
--- a/engines/sky/control.cpp
+++ b/engines/sky/control.cpp
@@ -1584,7 +1584,7 @@ void Control::showGameQuitMsg() {
free(textBuf2);
}
-char Control::_quitTexts[16][35] = {
+char Control::_quitTexts[18][35] = {
"Game over player one",
"BE VIGILANT",
"Das Spiel ist aus.",
@@ -1600,7 +1600,9 @@ char Control::_quitTexts[16][35] = {
"Fim de jogo para o jogador um",
"BE VIGILANT",
"Game over player one",
- "BE VIGILANT"
+ "BE VIGILANT",
+ "Irpa okohseha, irpok 1",
+ "JYD\x96 JDITELEH"
};
uint8 Control::_crossImg[594] = {
diff --git a/engines/sky/control.h b/engines/sky/control.h
index 44591f299d..2089c74363 100644
--- a/engines/sky/control.h
+++ b/engines/sky/control.h
@@ -292,7 +292,7 @@ private:
ControlStatus *_statusBar;
- static char _quitTexts[16][35];
+ static char _quitTexts[18][35];
static uint8 _crossImg[594];
};
diff --git a/engines/sky/sky.cpp b/engines/sky/sky.cpp
index 40b6959a9b..710313b1a1 100644
--- a/engines/sky/sky.cpp
+++ b/engines/sky/sky.cpp
@@ -336,6 +336,9 @@ Common::Error SkyEngine::init() {
case Common::EN_GRB:
_systemVars.language = SKY_ENGLISH;
break;
+ case Common::RU_RUS:
+ _systemVars.language = SKY_RUSSIAN;
+ break;
default:
_systemVars.language = SKY_ENGLISH;
break;
diff --git a/engines/sky/skydefs.h b/engines/sky/skydefs.h
index 167b7dade2..ed07a5e2cd 100644
--- a/engines/sky/skydefs.h
+++ b/engines/sky/skydefs.h
@@ -45,6 +45,7 @@ namespace Sky {
#define SKY_ITALIAN 5
#define SKY_PORTUGUESE 6
#define SKY_SPANISH 7
+#define SKY_RUSSIAN 8
#define ST_COLLISION_BIT 5