[Scummvm-cvs-logs] SF.net SVN: scummvm:[52880] scummvm/trunk/engines/hugo/intro.cpp
strangerke at users.sourceforge.net
strangerke at users.sourceforge.net
Sat Sep 25 15:39:19 CEST 2010
Revision: 52880
http://scummvm.svn.sourceforge.net/scummvm/?rev=52880&view=rev
Author: strangerke
Date: 2010-09-25 13:39:19 +0000 (Sat, 25 Sep 2010)
Log Message:
-----------
HUGO: Add H2 Dos splash screen
Modified Paths:
--------------
scummvm/trunk/engines/hugo/intro.cpp
Modified: scummvm/trunk/engines/hugo/intro.cpp
===================================================================
--- scummvm/trunk/engines/hugo/intro.cpp 2010-09-25 13:01:48 UTC (rev 52879)
+++ scummvm/trunk/engines/hugo/intro.cpp 2010-09-25 13:39:19 UTC (rev 52880)
@@ -166,6 +166,25 @@
}
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::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)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list