aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorEugene Sandulenko2016-04-18 08:16:26 +0200
committerEugene Sandulenko2016-04-18 08:18:17 +0200
commit701120cabd3b5d993154cd4fcd80584d6c2813ce (patch)
tree544c7e35b56b6c59c3dd2b88bcc87b5b8f85df72 /engines
parentc80fe53efce05f52be9d9d0a67032fbc134565b8 (diff)
downloadscummvm-rg350-701120cabd3b5d993154cd4fcd80584d6c2813ce.tar.gz
scummvm-rg350-701120cabd3b5d993154cd4fcd80584d6c2813ce.tar.bz2
scummvm-rg350-701120cabd3b5d993154cd4fcd80584d6c2813ce.zip
SKY: Two more adjustments to Russian BASS
Diffstat (limited to 'engines')
-rw-r--r--engines/sky/control.cpp17
1 files changed, 13 insertions, 4 deletions
diff --git a/engines/sky/control.cpp b/engines/sky/control.cpp
index 07be1c672f..9f78234aba 100644
--- a/engines/sky/control.cpp
+++ b/engines/sky/control.cpp
@@ -324,7 +324,11 @@ void Control::initPanel() {
}
void Control::buttonControl(ConResource *pButton) {
- char autoSave[] = "Restore Autosave";
+ char autoSave[50] = "Restore Autosave";
+
+ if (Common::parseLanguage(ConfMan.get("language")) == Common::RU_RUS)
+ strncpy(autoSave, "Zarpyzit/ abtocoxpahehie", 50);
+
if (pButton == NULL) {
free(_textSprite);
_textSprite = NULL;
@@ -525,8 +529,13 @@ void Control::doControlPanel() {
}
uint16 Control::handleClick(ConResource *pButton) {
- char quitDos[] = "Quit to DOS?";
- char restart[] = "Restart?";
+ char quitDos[50] = "Quit to DOS?";
+ char restart[50] = "Restart?";
+
+ if (Common::parseLanguage(ConfMan.get("language")) == Common::RU_RUS) {
+ strncpy(quitDos, "B[uti b DOC?", 50);
+ strncpy(restart, "Hobaq irpa?", 50);
+ }
switch (pButton->_onClick) {
case DO_NOTHING:
@@ -1562,7 +1571,7 @@ void Control::showGameQuitMsg() {
screenData = _skyScreen->giveCurrent();
- if (Common::parseLanguage(ConfMan.get("language")) == Common::RU_RUS) {
+ if (Common::parseLanguage(ConfMan.get("language")) == Common::RU_RUS) {
_skyText->displayText(_quitTexts[8 * 2 + 0], textBuf1, true, 320, 255);
_skyText->displayText(_quitTexts[8 * 2 + 1], textBuf2, true, 320, 255);
} else {