aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorChris Apers2015-01-29 12:47:23 +0100
committerChris Apers2015-01-29 13:24:24 +0100
commitebc5c55ce3d22f6e353bce07d1d797176a641208 (patch)
treeafde226472b60f0c6842d2db4fb27d3ad8f50151 /engines
parentf2fffeb17cd8a46728f02fd0195e3f72bb0b29c5 (diff)
downloadscummvm-rg350-ebc5c55ce3d22f6e353bce07d1d797176a641208.tar.gz
scummvm-rg350-ebc5c55ce3d22f6e353bce07d1d797176a641208.tar.bz2
scummvm-rg350-ebc5c55ce3d22f6e353bce07d1d797176a641208.zip
MORTEVIELLE: fixed text position
Checked against french and german versions. “Your are alone” text isn’t centred in original code.
Diffstat (limited to 'engines')
-rw-r--r--engines/mortevielle/utils.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/mortevielle/utils.cpp b/engines/mortevielle/utils.cpp
index 5fe47674c8..5137e1892b 100644
--- a/engines/mortevielle/utils.cpp
+++ b/engines/mortevielle/utils.cpp
@@ -707,11 +707,11 @@ void MortevielleEngine::displayAloneText() {
Common::String sAlone = getEngineString(S_ALONE);
clearUpperRightPart();
- _screenSurface->putxy(580 - (_screenSurface->getStringWidth(sYou) / 2), 30);
+ _screenSurface->putxy(560, 30);
_screenSurface->drawString(sYou, 4);
- _screenSurface->putxy(580 - (_screenSurface->getStringWidth(sAre) / 2), 50);
+ _screenSurface->putxy(560, 50);
_screenSurface->drawString(sAre, 4);
- _screenSurface->putxy(580 - (_screenSurface->getStringWidth(sAlone) / 2), 70);
+ _screenSurface->putxy(560, 70);
_screenSurface->drawString(sAlone, 4);
_currBitIndex = 0;
@@ -1695,7 +1695,7 @@ void MortevielleEngine::clearUpperRightPart() {
else if (_coreVar._faithScore > 65)
st = getEngineString(S_MALSAINE);
- int x1 = 580 - (_screenSurface->getStringWidth(st) / 2);
+ int x1 = 574 - (_screenSurface->getStringWidth(st) / 2);
_screenSurface->putxy(x1, 92);
_screenSurface->drawString(st, 4);