[Scummvm-cvs-logs] CVS: scummvm/common system.h,1.66,1.67

Eugene Sandulenko sev at users.sourceforge.net
Tue May 4 19:33:04 CEST 2004


Update of /cvsroot/scummvm/scummvm/common
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23462

Modified Files:
	system.h 
Log Message:
Extend setMouseCursor with additional keycolor parameter. Lets saga use 255
as white color. Made this function more safe by copying cursor data to
newly created buffer. 


Index: system.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/common/system.h,v
retrieving revision 1.66
retrieving revision 1.67
diff -u -d -r1.66 -r1.67
--- system.h	28 Mar 2004 20:31:18 -0000	1.66
+++ system.h	5 May 2004 02:32:46 -0000	1.67
@@ -357,8 +357,9 @@
 	 * @param h			height of the mouse cursor
 	 * @param hotspotX	horizontal offset from the left side to the hotspot
 	 * @param hotspotY	vertical offset from the top side to the hotspot
+	 * @param keycolor	transparency color index
 	 */
-	virtual void setMouseCursor(const byte *buf, uint w, uint h, int hotspotX, int hotspotY) = 0;
+	virtual void setMouseCursor(const byte *buf, uint w, uint h, int hotspotX, int hotspotY, byte keycolor = 255) = 0;
 
 	//@}
 





More information about the Scummvm-git-logs mailing list