[Scummvm-cvs-logs] CVS: scummvm/backends/null null.cpp,1.13,1.14

Eugene Sandulenko sev at users.sourceforge.net
Tue May 4 19:31:03 CEST 2004


Update of /cvsroot/scummvm/scummvm/backends/null
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22596/null

Modified Files:
	null.cpp 
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: null.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/null/null.cpp,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- null.cpp	28 Mar 2004 16:30:47 -0000	1.13
+++ null.cpp	5 May 2004 02:30:15 -0000	1.14
@@ -36,7 +36,7 @@
 	void updateScreen() {}
 	bool showMouse(bool visible) { return false; }
 	void set_mouse_pos(int x, int y) {}
-	void setMouseCursor(const byte *buf, uint w, uint h, int hotspot_x, int hotspot_y) {}
+	void setMouseCursor(const byte *buf, uint w, uint h, int hotspot_x, int hotspot_y, byte keycolor = 255) {}
 	void set_shake_pos(int shake_pos) {}
 	uint32 get_msecs();
 	void delay_msecs(uint msecs);





More information about the Scummvm-git-logs mailing list