aboutsummaryrefslogtreecommitdiff
path: root/engines/agi/text.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2007-09-23 16:43:43 +0000
committerEugene Sandulenko2007-09-23 16:43:43 +0000
commit38d8105e4e7c29f0794dee87f908081e77aa0962 (patch)
tree28f49dcda1e2e9861b989c68457694ca3b1f8a90 /engines/agi/text.cpp
parentb138ff45fc716aefc58bcd402919a2d5e53fefdf (diff)
downloadscummvm-rg350-38d8105e4e7c29f0794dee87f908081e77aa0962.tar.gz
scummvm-rg350-38d8105e4e7c29f0794dee87f908081e77aa0962.tar.bz2
scummvm-rg350-38d8105e4e7c29f0794dee87f908081e77aa0962.zip
Add support for Russian versions of AGI games
svn-id: r29056
Diffstat (limited to 'engines/agi/text.cpp')
-rw-r--r--engines/agi/text.cpp12
1 files changed, 10 insertions, 2 deletions
diff --git a/engines/agi/text.cpp b/engines/agi/text.cpp
index bb334d0401..aea1468dcb 100644
--- a/engines/agi/text.cpp
+++ b/engines/agi/text.cpp
@@ -606,8 +606,16 @@ void AgiEngine::writeStatus() {
return;
}
- sprintf(x, " Score:%i of %-3i", _game.vars[vScore], _game.vars[vMaxScore]);
- printStatus("%-17s Sound:%s ", x, getflag(fSoundOn) ? "on " : "off");
+ switch (getLanguage()) {
+ case Common::RU_RUS:
+ sprintf(x, " \x91\xe7\xa5\xe2: %i \xa8\xa7 %-3i", _game.vars[vScore], _game.vars[vMaxScore]);
+ printStatus("%-17s \x87\xa2\xe3\xaa:%s", x, getflag(fSoundOn) ? "\xa2\xaa\xab " : "\xa2\xeb\xaa\xab");
+ break;
+ default:
+ sprintf(x, " Score:%i of %-3i", _game.vars[vScore], _game.vars[vMaxScore]);
+ printStatus("%-17s Sound:%s ", x, getflag(fSoundOn) ? "on " : "off");
+ break;
+ }
}
/**