aboutsummaryrefslogtreecommitdiff
path: root/engines/agos/saveload.cpp
diff options
context:
space:
mode:
authorOri Avtalion2010-04-12 21:21:06 +0000
committerOri Avtalion2010-04-12 21:21:06 +0000
commit2fc9d6845b51dd589995891681ac01d241e9a2c9 (patch)
treedf054e0e7ca91a179ab140fd5c2961f4e0345598 /engines/agos/saveload.cpp
parent3b252cb4c50494a60ddd3f40589336a757024f3e (diff)
downloadscummvm-rg350-2fc9d6845b51dd589995891681ac01d241e9a2c9.tar.gz
scummvm-rg350-2fc9d6845b51dd589995891681ac01d241e9a2c9.tar.bz2
scummvm-rg350-2fc9d6845b51dd589995891681ac01d241e9a2c9.zip
Apply patch #2982163 - CONFIG: Use HE keyword instead of HB for the Hebrew language
svn-id: r48645
Diffstat (limited to 'engines/agos/saveload.cpp')
-rw-r--r--engines/agos/saveload.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/engines/agos/saveload.cpp b/engines/agos/saveload.cpp
index 191e2fd4a0..e9fbaf3525 100644
--- a/engines/agos/saveload.cpp
+++ b/engines/agos/saveload.cpp
@@ -608,13 +608,13 @@ void AGOSEngine_Simon1::listSaveGames(char *dst) {
lastSlot = slot;
if (slot < 10) {
showMessageFormat(" ");
- } else if (_language == Common::HB_ISR) {
+ } else if (_language == Common::HE_ISR) {
lastSlot = (slot % 10) * 10;
lastSlot += slot / 10;
}
showMessageFormat("%d", lastSlot);
- if (_language == Common::HB_ISR && !(slot % 10))
+ if (_language == Common::HE_ISR && !(slot % 10))
showMessageFormat("0");
showMessageFormat(".%s\n", dst);
dst += 18;
@@ -672,7 +672,7 @@ void AGOSEngine_Simon1::userGame(bool load) {
char *name;
bool b;
char buf[108];
- int maxChar = (_language == Common::HB_ISR) ? 155: 128;
+ int maxChar = (_language == Common::HE_ISR) ? 155: 128;
_saveOrLoad = load;
@@ -711,7 +711,7 @@ restart:;
window->textRow = result;
// init x offset with a 2 character savegame number + a period (18 pix)
- if (_language == Common::HB_ISR) {
+ if (_language == Common::HE_ISR) {
window->textColumn = 3;
window->textColumnOffset = 6;
} else {
@@ -725,7 +725,7 @@ restart:;
// now process entire savegame name to get correct x offset for cursor
_saveGameNameLen = 0;
while (name[_saveGameNameLen]) {
- if (_language == Common::HB_ISR) {
+ if (_language == Common::HE_ISR) {
byte width = 6;
if (name[_saveGameNameLen] >= 64 && name[_saveGameNameLen] < 91)
width = _hebrewCharWidths [name[_saveGameNameLen] - 64];
@@ -770,7 +770,7 @@ restart:;
goto restart;
}
- if (_language == Common::HB_ISR) {
+ if (_language == Common::HE_ISR) {
if (i >= 128)
i -= 64;
else if (i >= 32)
@@ -788,7 +788,7 @@ restart:;
_saveGameNameLen--;
m = name[_saveGameNameLen];
- if (_language == Common::HB_ISR)
+ if (_language == Common::HE_ISR)
x = 8;
else
x = (name[_saveGameNameLen] == 'i' || name[_saveGameNameLen] == 'l') ? 1 : 8;
@@ -889,7 +889,7 @@ void AGOSEngine::userGameBackSpace(WindowBlock *window, int x, byte b) {
oldTextColor = window->textColor;
window->textColor = window->fillColor;
- if (_language == Common::HB_ISR) {
+ if (_language == Common::HE_ISR) {
x = 128;
} else {
x += 120;