[Scummvm-cvs-logs] SF.net SVN: scummvm:[51161] scummvm/trunk/engines/kyra/sequences_lok.cpp

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Thu Jul 22 22:11:11 CEST 2010


Revision: 51161
          http://scummvm.svn.sourceforge.net/scummvm/?rev=51161&view=rev
Author:   lordhoto
Date:     2010-07-22 20:11:09 +0000 (Thu, 22 Jul 2010)

Log Message:
-----------
Display the MacPlay Gold logo for Macintosh versions which include it.

Modified Paths:
--------------
    scummvm/trunk/engines/kyra/sequences_lok.cpp

Modified: scummvm/trunk/engines/kyra/sequences_lok.cpp
===================================================================
--- scummvm/trunk/engines/kyra/sequences_lok.cpp	2010-07-22 19:59:11 UTC (rev 51160)
+++ scummvm/trunk/engines/kyra/sequences_lok.cpp	2010-07-22 20:11:09 UTC (rev 51161)
@@ -137,6 +137,14 @@
 		_screen->fadeToBlack();
 		if (!_abortIntroFlag)
 			snd_playWanderScoreViaMap(_flags.platform == Common::kPlatformFMTowns ? 57 : 2, 0);
+	} else if (_flags.platform == Common::kPlatformMacintosh && _res->exists("MP_GOLD.CPS")) {
+		_screen->loadPalette("MP_GOLD.COL", _screen->getPalette(0));
+		_screen->loadBitmap("MP_GOLD.CPS", 3, 3, 0);
+		_screen->copyRegion(0, 0, 0, 0, 320, 200, 2, 0);
+		_screen->updateScreen();
+		_screen->fadeFromBlack();
+		delay(120 * _tickLength);
+		_screen->fadeToBlack();
 	}
 
 	_screen->clearPage(0);


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