aboutsummaryrefslogtreecommitdiff
path: root/engines/mortevielle
diff options
context:
space:
mode:
authorChris Apers2015-01-27 20:48:31 +0100
committerChris Apers2015-01-27 20:48:31 +0100
commitd928871f7a03b410f4fcac43c44315e2f999efc9 (patch)
tree4d10783684ba20424a29b03331baed53cc4d2bce /engines/mortevielle
parentbdd75f975df17679af140895f8c544cd019eeb61 (diff)
downloadscummvm-rg350-d928871f7a03b410f4fcac43c44315e2f999efc9.tar.gz
scummvm-rg350-d928871f7a03b410f4fcac43c44315e2f999efc9.tar.bz2
scummvm-rg350-d928871f7a03b410f4fcac43c44315e2f999efc9.zip
MORTEVIELLE: added starting screen
To give credits to the original authors and developers.
Diffstat (limited to 'engines/mortevielle')
-rw-r--r--engines/mortevielle/utils.cpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/engines/mortevielle/utils.cpp b/engines/mortevielle/utils.cpp
index 74f2bc5897..49e1777c5e 100644
--- a/engines/mortevielle/utils.cpp
+++ b/engines/mortevielle/utils.cpp
@@ -1726,6 +1726,22 @@ void MortevielleEngine::showMoveMenuAlert() {
* @remarks Originally called 'dialpre'
*/
void MortevielleEngine::showConfigScreen() {
+ // FIXME: need a DOS palette, index 9 (light blue). Also we should show DOS font here
+ Common::String tmpStr;
+ int width, cy = 0;
+ clearScreen();
+ do {
+ ++cy;
+ tmpStr = getString(cy + 456);
+ width = _screenSurface->getStringWidth(tmpStr);
+ _text->displayStr(tmpStr, 320 - width / 2, cy * 8, 80, 1, 2);
+ } while (cy != 20);
+
+ int ix = 0;
+ do {
+ ++ix;
+ } while (!(keyPressed() || ix == 0x5e5));
+
_crep = 998;
}
@@ -2132,6 +2148,7 @@ void MortevielleEngine::showTitleScreen() {
clearScreen();
draw(0, 0);
+ // FIXME: should be a DOS font here
Common::String cpr = "COPYRIGHT 1989 : LANKHOR";
_screenSurface->putxy(104 + 72 * kResolutionScaler, 185);
_screenSurface->drawString(cpr, 0);