mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-05 10:26:40 +00:00
MORTEVIELLE: Remove dead code related to messint (display of loading message between rooms)
This commit is contained in:
parent
fb096b135b
commit
6e7118a8ef
@ -453,12 +453,8 @@ void modobj(int m) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void repon(int f, int m) {
|
void repon(int f, int m) {
|
||||||
Common::String str_;
|
|
||||||
Common::String str1;
|
|
||||||
Common::String tmpStr;
|
|
||||||
|
|
||||||
if ((m > 499) && (m < 563)) {
|
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))
|
if ((int) tmpStr.size() > ((58 + (g_res - 1) * 37) << 1))
|
||||||
g_vm->_largestClearScreen = true;
|
g_vm->_largestClearScreen = true;
|
||||||
@ -489,7 +485,7 @@ void repon(int f, int m) {
|
|||||||
else
|
else
|
||||||
i = 5;
|
i = 5;
|
||||||
|
|
||||||
tmpStr = deline(m);
|
Common::String tmpStr = deline(m);
|
||||||
displayStr(tmpStr, 80, 40, 60, 25, i);
|
displayStr(tmpStr, 80, 40, 60, 25, i);
|
||||||
|
|
||||||
if (m == 180)
|
if (m == 180)
|
||||||
@ -497,25 +493,6 @@ void repon(int f, int m) {
|
|||||||
|
|
||||||
if (m == 179)
|
if (m == 179)
|
||||||
g_s._pourc[10] = '*';
|
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);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user