aboutsummaryrefslogtreecommitdiff
path: root/engines/mortevielle
diff options
context:
space:
mode:
authorPaul Gilbert2012-01-20 20:24:57 +1100
committerStrangerke2012-04-06 08:20:19 +0200
commit9a79a5e059812c50d35b27139950bac38b8eb3fd (patch)
treeddc5ce3735e5879bdb04c261811a1f5844b462c4 /engines/mortevielle
parente9b10db262f76b1b8486bd96d7a3010cb08e3b45 (diff)
downloadscummvm-rg350-9a79a5e059812c50d35b27139950bac38b8eb3fd.tar.gz
scummvm-rg350-9a79a5e059812c50d35b27139950bac38b8eb3fd.tar.bz2
scummvm-rg350-9a79a5e059812c50d35b27139950bac38b8eb3fd.zip
MORTEVIELLE: Formatting fixes for game menu display
Diffstat (limited to 'engines/mortevielle')
-rw-r--r--engines/mortevielle/menu.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/engines/mortevielle/menu.cpp b/engines/mortevielle/menu.cpp
index 8c6561e097..a43372063e 100644
--- a/engines/mortevielle/menu.cpp
+++ b/engines/mortevielle/menu.cpp
@@ -51,7 +51,7 @@ namespace Mortevielle {
clrscr;
mortevielle_exit(0);
}
- while (s.size() < 30) s = s + ' ';
+ while (s.size() < 20) s = s + ' ';
switch (h) {
case invent :
if (l != 7) {
@@ -83,22 +83,22 @@ namespace Mortevielle {
switch (h) {
case invent : {
if (l > 6) {
- inv[l].setChar('<', 1);
- inv[l].setChar('>', 22);
+ inv[l].setChar('<', 0);
+ inv[l].setChar('>', 21);
} else inv[l].setChar('*', 1);
}
break;
case depla :
- dep[l].setChar('*', 1);
+ dep[l].setChar('*', 0);
break;
case action :
- act[l].setChar('*', 1);
+ act[l].setChar('*', 0);
break;
case saction :
- self_[l].setChar('*', 1);
+ self_[l].setChar('*', 0);
break;
case discut :
- dis[l].setChar('*', 1);
+ dis[l].setChar('*', 0);
break;
}
}
@@ -111,23 +111,23 @@ namespace Mortevielle {
l = lo(no);
switch (h) {
case invent : {
- inv[l].setChar(' ', 1);
- inv[l].setChar(' ', 22);
+ inv[l].setChar(' ', 0);
+ inv[l].setChar(' ', 21);
}
break;
case depla :
- dep[l].setChar(' ', 1);
+ dep[l].setChar(' ', 0);
break;
case action :
- act[l].setChar(' ', 1);
+ act[l].setChar(' ', 0);
break;
case saction : {
- self_[l].setChar(' ', 1);
- self_[l].setChar(' ', 1);
+ self_[l].setChar(' ', 0);
+ self_[l].setChar(' ', 0);
}
break;
case discut :
- dis[l].setChar(' ', 1);
+ dis[l].setChar(' ', 0);
break;
}
}