diff options
author | Strangerke | 2012-03-28 07:59:22 +0200 |
---|---|---|
committer | Strangerke | 2012-04-06 08:23:57 +0200 |
commit | 76bf72ce695ebaf465025cdbd2a5f4e37dfce681 (patch) | |
tree | 7ea4d3c4e8420b3c356f9d1358096f92d8a13b97 /engines/mortevielle | |
parent | cdea613e51db56477ab213a3a0e87c3773348d08 (diff) | |
download | scummvm-rg350-76bf72ce695ebaf465025cdbd2a5f4e37dfce681.tar.gz scummvm-rg350-76bf72ce695ebaf465025cdbd2a5f4e37dfce681.tar.bz2 scummvm-rg350-76bf72ce695ebaf465025cdbd2a5f4e37dfce681.zip |
MORTEVIELLE: Fix invert in Dep menu. Still a bit short due to Inventory width too small. Also add some ingame same/load slots
Diffstat (limited to 'engines/mortevielle')
-rw-r--r-- | engines/mortevielle/menu.cpp | 8 | ||||
-rw-r--r-- | engines/mortevielle/mortevielle.cpp | 6 |
2 files changed, 6 insertions, 8 deletions
diff --git a/engines/mortevielle/menu.cpp b/engines/mortevielle/menu.cpp index 4dcb034f76..4616d1387c 100644 --- a/engines/mortevielle/menu.cpp +++ b/engines/mortevielle/menu.cpp @@ -43,8 +43,8 @@ const byte _menuConstants[8][4] = { {43, 25, 11, 5}, {55, 37, 5, 8}, {64, 13, 11, 2}, - {62, 22, 13, 4}, - {62, 25, 13, 5} + {62, 42, 13, 9}, + {62, 46, 13, 10} }; /** @@ -56,7 +56,7 @@ void Menu::setText(int menuId, Common::String name) { byte l = lo(menuId); Common::String s = name; - while (s.size() < 30) + while (s.size() < 20) s += ' '; switch (h) { @@ -313,8 +313,6 @@ void Menu::menuDown(int ii) { int cx, xcc, xco; int lignNumb; - /* debug('menuDown'); */ - // Make a copy of the current screen surface for later restore g_vm->_backgroundSurface.copyFrom(g_vm->_screenSurface); diff --git a/engines/mortevielle/mortevielle.cpp b/engines/mortevielle/mortevielle.cpp index af4db82bae..ed9441c5ab 100644 --- a/engines/mortevielle/mortevielle.cpp +++ b/engines/mortevielle/mortevielle.cpp @@ -636,11 +636,11 @@ void MortevielleEngine::handleAction() { return; } if (_menu._menuSelected && (_msg[3] == MENU_SAVE)) { - Common::String saveName = Common::String::format("Savegame #%d", _msg[4] & 7); - _savegameManager.saveGame(_msg[4] & 7, saveName); + Common::String saveName = Common::String::format("Savegame #%d", _msg[4] & 15); + _savegameManager.saveGame(_msg[4] & 15, saveName); } if (_menu._menuSelected && (_msg[3] == MENU_LOAD)) - _savegameManager.loadGame((_msg[4] & 7) - 1); + _savegameManager.loadGame((_msg[4] & 15) - 1); if (inkey == '\103') { /* F9 */ temps = Alert::show(_hintPctMessage, 1); return; |