From 38d8105e4e7c29f0794dee87f908081e77aa0962 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Sun, 23 Sep 2007 16:43:43 +0000 Subject: Add support for Russian versions of AGI games svn-id: r29056 --- engines/agi/text.cpp | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'engines/agi/text.cpp') 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; + } } /** -- cgit v1.2.3