DREAMWEB: Final fixes for Russian version

This commit is contained in:
Eugene Sandulenko 2020-12-09 01:13:23 +01:00
parent f654d9ea4a
commit a77c78c552
2 changed files with 9 additions and 8 deletions

View File

@ -345,15 +345,11 @@ void DreamWebEngine::printCurs() {
} else
height = 8;
int w = 6;
if (getLanguage() == Common::RU_RUS)
w = 7;
multiGet(_textUnder, x, y, w, height);
multiGet(_textUnder, x, y, 6, height);
++_mainTimer;
if ((_mainTimer & 16) == 0)
showFrame(_monitorCharset, x, y, '/' - 32, 0);
multiDump(x - 6, y, 12, height);
multiDump(x - (getLanguage() == Common::RU_RUS ? 7 : 6), y, 12, height);
}
void DreamWebEngine::delCurs() {

View File

@ -294,9 +294,14 @@ void DreamWebEngine::openOb() {
copyName(_openedType, _openedOb, commandLine);
printMessage(kInventx, kInventy+86, 62, 240, false);
if (getLanguage() != Common::RU_RUS) {
printMessage(kInventx, kInventy+86, 62, 240, false);
printDirect(commandLine, _lastXPos + 5, kInventy+86, 220, false);
printDirect(commandLine, _lastXPos + 5, kInventy+86, 220, false);
} else {
printDirect(commandLine, kInventx, kInventy+86, 220, false);
printMessage(_lastXPos, kInventy+86, 62, 240, false);
}
fillOpen();
_openChangeSize = getOpenedSlotCount() * kItempicsize + kInventx;