aboutsummaryrefslogtreecommitdiff
path: root/engines/hugo
diff options
context:
space:
mode:
authorArnaud Boutonné2010-09-25 13:39:19 +0000
committerArnaud Boutonné2010-09-25 13:39:19 +0000
commit009e48154789696ca1a3920982c9ef836cae8735 (patch)
treed414ba4651f241c340f58f84ada40db1f60a9738 /engines/hugo
parent387753705ac55cce4dced8182e3816475a5a877d (diff)
downloadscummvm-rg350-009e48154789696ca1a3920982c9ef836cae8735.tar.gz
scummvm-rg350-009e48154789696ca1a3920982c9ef836cae8735.tar.bz2
scummvm-rg350-009e48154789696ca1a3920982c9ef836cae8735.zip
HUGO: Add H2 Dos splash screen
svn-id: r52880
Diffstat (limited to 'engines/hugo')
-rw-r--r--engines/hugo/intro.cpp23
1 files changed, 20 insertions, 3 deletions
diff --git a/engines/hugo/intro.cpp b/engines/hugo/intro.cpp
index 3a4beebd1c..589897c760 100644
--- a/engines/hugo/intro.cpp
+++ b/engines/hugo/intro.cpp
@@ -166,6 +166,25 @@ void intro_v2d::preNewGame() {
}
void intro_v2d::introInit() {
+ _vm.screen().loadFont(0);
+ _vm.file().readBackground(_vm._numScreens - 1); // display splash screen
+
+ char buffer[128];
+
+ if (_boot.registered)
+ sprintf(buffer, "%s Registered Version", COPYRIGHT);
+ else
+ sprintf(buffer, "%s Shareware Version", COPYRIGHT);
+ _vm.screen().writeStr(CENTER, 186, buffer, _TLIGHTRED);
+
+ if (scumm_stricmp(_boot.distrib, "David P. Gray")) {
+ sprintf(buffer, "Distributed by %s.", _boot.distrib);
+ _vm.screen().writeStr(CENTER, 1, buffer, _TLIGHTRED);
+ }
+
+ _vm.screen().displayBackground();
+ g_system->updateScreen();
+ g_system->delayMillis(5000);
}
bool intro_v2d::introPlay() {
@@ -183,10 +202,8 @@ void intro_v3d::preNewGame() {
}
void intro_v3d::introInit() {
- _vm.file().readBackground(25); // display splash screen
- _vm.screen().displayBackground();
-
_vm.screen().loadFont(0);
+ _vm.file().readBackground(_vm._numScreens - 1); // display splash screen
char buffer[128];
if (_boot.registered)