[Scummvm-cvs-logs] scummvm master -> ba330e32be08117915036286d8fcbaa21bcc0655

Strangerke Strangerke at scummvm.org
Sat Jan 31 11:45:39 CET 2015


This automated email contains information about 2 new commits which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
ebc5c55ce3 MORTEVIELLE: fixed text position
ba330e32be Merge pull request #579 from chrilith/mortevielle_textpos


Commit: ebc5c55ce3d22f6e353bce07d1d797176a641208
    https://github.com/scummvm/scummvm/commit/ebc5c55ce3d22f6e353bce07d1d797176a641208
Author: Chris Apers (chrilith at hotmail.com)
Date: 2015-01-29T13:24:24+01:00

Commit Message:
MORTEVIELLE: fixed text position

Checked against french and german versions. “Your are alone” text isn’t
centred in original code.

Changed paths:
    engines/mortevielle/utils.cpp



diff --git a/engines/mortevielle/utils.cpp b/engines/mortevielle/utils.cpp
index 5fe4767..5137e18 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);
 


Commit: ba330e32be08117915036286d8fcbaa21bcc0655
    https://github.com/scummvm/scummvm/commit/ba330e32be08117915036286d8fcbaa21bcc0655
Author: Arnaud Boutonné (Strangerke at scummvm.org)
Date: 2015-01-31T11:44:43+01:00

Commit Message:
Merge pull request #579 from chrilith/mortevielle_textpos

MORTEVIELLE: fixed text position

Changed paths:
    engines/mortevielle/utils.cpp









More information about the Scummvm-git-logs mailing list