[Scummvm-cvs-logs] CVS: scummvm/sky mouse.cpp,1.15,1.16

Joost Peters joostp at users.sourceforge.net
Fri Jul 4 20:01:05 CEST 2003


Update of /cvsroot/scummvm/scummvm/sky
In directory sc8-pr-cvs1:/tmp/cvs-serv14181/sky

Modified Files:
	mouse.cpp 
Log Message:
better mouse hotspot, seems the same as in the original now...only tested on first few scenes & control panel though

Index: mouse.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sky/mouse.cpp,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- mouse.cpp	1 Jul 2003 23:44:31 -0000	1.15
+++ mouse.cpp	5 Jul 2003 03:00:26 -0000	1.16
@@ -203,8 +203,8 @@
 	_mouseHeight = ((struct dataFileHeader *)mouseData)->s_height;
 
 	//_system->set_mouse_cursor(_mouseData2, _mouseWidth, _mouseHeight, mouseX, mouseY);
-	// there's something wrong about the mouse's hotspot. using 0/0 works fine. (but the cursor is still a couple of pixels off)
-	_system->set_mouse_cursor(_mouseData2, _mouseWidth, _mouseHeight, 0, 0);
+	// there's something wrong about the mouse's hotspot. using 4/4 seems to work fine. 
+	_system->set_mouse_cursor(_mouseData2, _mouseWidth, _mouseHeight, 4, 4);
 	if (frameNum == MOUSE_BLANK) _system->show_mouse(false);
 	else _system->show_mouse(true);
 





More information about the Scummvm-git-logs mailing list