diff options
author | Strangerke | 2012-03-16 07:38:52 +0100 |
---|---|---|
committer | Strangerke | 2012-04-06 08:23:26 +0200 |
commit | 6e7118a8efe45be2ff220341b5e3ce6bb2ab0003 (patch) | |
tree | e59fda430593943e8bf68ad2e93dab75aab49cae | |
parent | fb096b135bc2ed5cc56137a8c6e58de730758d13 (diff) | |
download | scummvm-rg350-6e7118a8efe45be2ff220341b5e3ce6bb2ab0003.tar.gz scummvm-rg350-6e7118a8efe45be2ff220341b5e3ce6bb2ab0003.tar.bz2 scummvm-rg350-6e7118a8efe45be2ff220341b5e3ce6bb2ab0003.zip |
MORTEVIELLE: Remove dead code related to messint (display of loading message between rooms)
-rw-r--r-- | engines/mortevielle/mor.cpp | 27 |
1 files changed, 2 insertions, 25 deletions
diff --git a/engines/mortevielle/mor.cpp b/engines/mortevielle/mor.cpp index 8a8ef565be..526ac4b5b2 100644 --- a/engines/mortevielle/mor.cpp +++ b/engines/mortevielle/mor.cpp @@ -453,12 +453,8 @@ void modobj(int m) { } void repon(int f, int m) { - Common::String str_; - Common::String str1; - Common::String tmpStr; - if ((m > 499) && (m < 563)) { - tmpStr = deline(m - 501 + kInventoryStringIndex); + Common::String tmpStr = deline(m - 501 + kInventoryStringIndex); if ((int) tmpStr.size() > ((58 + (g_res - 1) * 37) << 1)) g_vm->_largestClearScreen = true; @@ -489,7 +485,7 @@ void repon(int f, int m) { else i = 5; - tmpStr = deline(m); + Common::String tmpStr = deline(m); displayStr(tmpStr, 80, 40, 60, 25, i); if (m == 180) @@ -497,25 +493,6 @@ void repon(int f, int m) { if (m == 179) g_s._pourc[10] = '*'; - } else if (f == 7) { /* messint */ - g_vm->prepareScreenType3(); - tmpStr = deline(m); - - int xSmallStr, xLargeStr, dx; - if (g_res == 1) { - xSmallStr = 252 - tmpStr.size() * 5; - xLargeStr = 100; - dx = 80; - } else { - xSmallStr = 252 - tmpStr.size() * 3; - xLargeStr = 144; - dx = 50; - } - - if (tmpStr.size() < 40) - displayStr(tmpStr, xSmallStr, 86, dx, 3, 5); - else - displayStr(tmpStr, xLargeStr, 86, dx, 3, 5); } } } |