[Scummvm-cvs-logs] CVS: scummvm/backends/dc display.cpp,1.5,1.6 dc.h,1.6,1.7

Marcus Comstedt marcus_c at users.sourceforge.net
Sun Mar 2 09:47:32 CET 2003


Update of /cvsroot/scummvm/scummvm/backends/dc
In directory sc8-pr-cvs1:/tmp/cvs-serv15601

Modified Files:
	display.cpp dc.h 
Log Message:
warp_mouse added.

Index: display.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/dc/display.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- display.cpp	18 Oct 2002 20:59:03 -0000	1.5
+++ display.cpp	2 Mar 2003 17:41:47 -0000	1.6
@@ -237,6 +237,12 @@
   _ms_cur_y = y;
 }
 
+void OSystem_Dreamcast::warp_mouse(int x, int y)
+{
+  _ms_cur_x = x;
+  _ms_cur_y = y;
+}
+
 void OSystem_Dreamcast::set_mouse_cursor(const byte *buf, uint w, uint h,
 					 int hotspot_x, int hotspot_y)
 {

Index: dc.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/dc/dc.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- dc.h	17 Dec 2002 01:15:12 -0000	1.6
+++ dc.h	2 Mar 2003 17:41:47 -0000	1.7
@@ -23,7 +23,8 @@
 
   // Either show or hide the mouse cursor
   bool show_mouse(bool visible);
-  
+  void warp_mouse(int x, int y);
+
   // Set the position of the mouse cursor
   void set_mouse_pos(int x, int y);
   





More information about the Scummvm-git-logs mailing list