[Scummvm-cvs-logs] SF.net SVN: scummvm:[47523] scummvm/trunk/engines/sci/graphics/screen.cpp

m_kiewitz at users.sourceforge.net m_kiewitz at users.sourceforge.net
Sun Jan 24 21:51:38 CET 2010


Revision: 47523
          http://scummvm.svn.sourceforge.net/scummvm/?rev=47523&view=rev
Author:   m_kiewitz
Date:     2010-01-24 20:51:34 +0000 (Sun, 24 Jan 2010)

Log Message:
-----------
SCI: added comment about using color 255 all the time for amiga games

Modified Paths:
--------------
    scummvm/trunk/engines/sci/graphics/screen.cpp

Modified: scummvm/trunk/engines/sci/graphics/screen.cpp
===================================================================
--- scummvm/trunk/engines/sci/graphics/screen.cpp	2010-01-24 20:47:35 UTC (rev 47522)
+++ scummvm/trunk/engines/sci/graphics/screen.cpp	2010-01-24 20:51:34 UTC (rev 47523)
@@ -59,6 +59,9 @@
 	_unditherState = true;
 
 	if (_resMan->isVGA() || (_resMan->getViewType() == kViewAmiga)) {
+		// It's not 100% accurate to set white to be 255 for amiga games
+		//  The problem is: there are 16-color and 32-color amiga games, so we would need to jump around
+		//  255 is defined as white in our sci at all times, so it doesnt matter
 		_colorWhite = 255;
 		if (getSciVersion() >= SCI_VERSION_1_1)
 			_colorDefaultVectorData = 255;


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