diff options
-rw-r--r-- | engines/hugo/intro.cpp | 23 |
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) |