[Scummvm-cvs-logs] SF.net SVN: scummvm:[48005] scummvm/trunk/engines/cine/pal.cpp

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Mon Feb 8 21:28:14 CET 2010


Revision: 48005
          http://scummvm.svn.sourceforge.net/scummvm/?rev=48005&view=rev
Author:   lordhoto
Date:     2010-02-08 20:28:13 +0000 (Mon, 08 Feb 2010)

Log Message:
-----------
According to Buddha^ it should be fine to calculate (and set) the AMIGA dim palette in Palette::setGlobalOSystemPalette.

Modified Paths:
--------------
    scummvm/trunk/engines/cine/pal.cpp

Modified: scummvm/trunk/engines/cine/pal.cpp
===================================================================
--- scummvm/trunk/engines/cine/pal.cpp	2010-02-08 20:14:25 UTC (rev 48004)
+++ scummvm/trunk/engines/cine/pal.cpp	2010-02-08 20:28:13 UTC (rev 48005)
@@ -188,8 +188,6 @@
 	byte buf[256 * 4]; // Allocate space for the largest possible palette
 	save(buf, sizeof(buf), Cine::kSystemPalFormat, CINE_LITTLE_ENDIAN);
 
-	// TODO: Think over whether this is really the correct place to calculate the Amiga
-	// specific transparency palette.
 	if (g_cine->getPlatform() == Common::kPlatformAmiga && colorCount() == 16) {
 		// The Amiga version of Future Wars does use the upper 16 colors for a darkened
 		// game palette to allow transparent dialog boxes. To support that in our code


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