[Scummvm-cvs-logs] SF.net SVN: scummvm:[41193] scummvm/branches/gsoc2009-16bit/engines/scumm/ cursor.cpp

Kirben at users.sourceforge.net Kirben at users.sourceforge.net
Fri Jun 5 09:07:56 CEST 2009


Revision: 41193
          http://scummvm.svn.sourceforge.net/scummvm/?rev=41193&view=rev
Author:   Kirben
Date:     2009-06-05 07:07:56 +0000 (Fri, 05 Jun 2009)

Log Message:
-----------
HACK not required at this point, since transparency color of 5 is still used for 16bit color HE games.

Modified Paths:
--------------
    scummvm/branches/gsoc2009-16bit/engines/scumm/cursor.cpp

Modified: scummvm/branches/gsoc2009-16bit/engines/scumm/cursor.cpp
===================================================================
--- scummvm/branches/gsoc2009-16bit/engines/scumm/cursor.cpp	2009-06-05 06:47:49 UTC (rev 41192)
+++ scummvm/branches/gsoc2009-16bit/engines/scumm/cursor.cpp	2009-06-05 07:07:56 UTC (rev 41193)
@@ -111,13 +111,7 @@
 }
 
 void ScummEngine::updateCursor() {
-	//HACK Put the 16-bit mapped color, and
-	//hope no other palette entry shares it
 	int transColor = (_game.heversion >= 80) ? 5 : 255;
-	if (_game.features & GF_16BIT_COLOR && _hePalettes) 
-		transColor = READ_LE_UINT16(_hePalettes + 2048 + transColor * 2);
-	else
-		transColor = 0;
 	CursorMan.replaceCursor(_grabbedCursor, _cursor.width, _cursor.height,
 							_cursor.hotspotX, _cursor.hotspotY,
 							(_game.platform == Common::kPlatformNES ? _grabbedCursor[63] : transColor),


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