aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStrangerke2013-06-28 08:04:19 +0200
committerStrangerke2013-06-28 08:04:19 +0200
commit67f08a36866f7455fe39de2514535695bdf2b541 (patch)
treeb74f9240e062e747de48a5fa06339512ec9fb54b
parent1e2a9900f21daed825dd5498bb51868bd0714a1a (diff)
downloadscummvm-rg350-67f08a36866f7455fe39de2514535695bdf2b541.tar.gz
scummvm-rg350-67f08a36866f7455fe39de2514535695bdf2b541.tar.bz2
scummvm-rg350-67f08a36866f7455fe39de2514535695bdf2b541.zip
MORTEVIELLE: Remove 2 useless functions
-rw-r--r--engines/mortevielle/dialogs.cpp2
-rw-r--r--engines/mortevielle/menu.cpp3
-rw-r--r--engines/mortevielle/mortevielle.h2
-rw-r--r--engines/mortevielle/utils.cpp10
4 files changed, 0 insertions, 17 deletions
diff --git a/engines/mortevielle/dialogs.cpp b/engines/mortevielle/dialogs.cpp
index 1fadf1eaab..c53b20fa5a 100644
--- a/engines/mortevielle/dialogs.cpp
+++ b/engines/mortevielle/dialogs.cpp
@@ -55,7 +55,6 @@ int DialogManager::show(const Common::String &msg, int n) {
Common::String caseStr;
decodeAlertDetails(msg, caseNumb, lignNumb, colNumb, alertStr, caseStr);
- _vm->sauvecr(50, (NUM_LINES + 1) << 4);
int i = 0;
Common::Point curPos;
@@ -175,7 +174,6 @@ int DialogManager::show(const Common::String &msg, int n) {
tmp4 += " ";
_vm->_screenSurface.drawString(tmp4, 1);
}
- _vm->charecr(50, (NUM_LINES + 1) * 16);
_vm->_mouse.showMouse();
/* Restore the background area */
diff --git a/engines/mortevielle/menu.cpp b/engines/mortevielle/menu.cpp
index 8c9fc038fc..408ea0746d 100644
--- a/engines/mortevielle/menu.cpp
+++ b/engines/mortevielle/menu.cpp
@@ -319,7 +319,6 @@ void Menu::menuDown(int ii) {
xco = _menuConstants[ii - 1][0];
lignNumb = _menuConstants[ii - 1][3];
_vm->_mouse.hideMouse();
- _vm->sauvecr(10, (_menuConstants[ii - 1][1] + 1) << 1);
xco = xco << 3;
if (_vm->_resolutionScaler == 1)
cx = 10;
@@ -392,8 +391,6 @@ void Menu::menuDown(int ii) {
*/
void Menu::menuUp(int msgId) {
if (_multiTitle) {
- _vm->charecr(10, (_menuConstants[msgId - 1][1] + 1) << 1);
-
/* Restore the background area */
assert(_vm->_screenSurface.pitch == _vm->_backgroundSurface.pitch);
diff --git a/engines/mortevielle/mortevielle.h b/engines/mortevielle/mortevielle.h
index 9facc5ef86..a07af4269a 100644
--- a/engines/mortevielle/mortevielle.h
+++ b/engines/mortevielle/mortevielle.h
@@ -528,8 +528,6 @@ public:
void handleDescriptionText(int f, int mesgId);
int animof(int ouf, int num);
void pictout(int seg, int dep, int x, int y);
- void sauvecr(int y, int dy);
- void charecr(int y, int dy);
};
extern MortevielleEngine *g_vm;
diff --git a/engines/mortevielle/utils.cpp b/engines/mortevielle/utils.cpp
index f2d0c952dc..bbafbcad66 100644
--- a/engines/mortevielle/utils.cpp
+++ b/engines/mortevielle/utils.cpp
@@ -3441,14 +3441,4 @@ int MortevielleEngine::testou() {
return ord(ch);
}
-void MortevielleEngine::sauvecr(int y, int dy) {
-// _mouse.hideMouse();
-// _mouse.showMouse();
-}
-
-void MortevielleEngine::charecr(int y, int dy) {
-// _mouse.hideMouse();
-// _mouse.showMouse();
-}
-
} // End of namespace Mortevielle