[Scummvm-cvs-logs] CVS: scummvm/simon simon.cpp,1.272,1.273 simon.h,1.85,1.86

Max Horn fingolfin at users.sourceforge.net
Fri Aug 1 17:37:17 CEST 2003


Update of /cvsroot/scummvm/scummvm/simon
In directory sc8-pr-cvs1:/tmp/cvs-serv16859/simon

Modified Files:
	simon.cpp simon.h 
Log Message:
removed OSystem::set_mouse_pos (I hope I didn't break any backends, but if I did it should be trivial to get them working again)

Index: simon.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/simon/simon.cpp,v
retrieving revision 1.272
retrieving revision 1.273
diff -u -d -r1.272 -r1.273
--- simon.cpp	31 Jul 2003 01:59:31 -0000	1.272
+++ simon.cpp	2 Aug 2003 00:36:38 -0000	1.273
@@ -264,7 +264,6 @@
 	_fast_mode = 0;
 	_dx_use_3_or_4_for_lock = 0;
 
-	_mouse_pos_changed = 0;
 	_debugMode = 0;
 	_debugLevel = 0;
 	_language = 0;
@@ -4289,10 +4288,6 @@
 		}
 	}
 
-	if (_mouse_pos_changed) {
-		_mouse_pos_changed = false;
-		_system->set_mouse_pos(_sdl_mouse_x, _sdl_mouse_y);
-	}
 	_system->copy_rect(_sdl_buf_attached, 320, 0, 0, 320, 200);
 	_system->update_screen();
 
@@ -4494,7 +4489,6 @@
 				case OSystem::EVENT_MOUSEMOVE:
 					_sdl_mouse_x = event.mouse.x;
 					_sdl_mouse_y = event.mouse.y;
-					_mouse_pos_changed = true;
 					break;
 
 					case OSystem::EVENT_LBUTTONDOWN:

Index: simon.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/simon/simon.h,v
retrieving revision 1.85
retrieving revision 1.86
diff -u -d -r1.85 -r1.86
--- simon.h	30 Jul 2003 10:05:09 -0000	1.85
+++ simon.h	2 Aug 2003 00:36:38 -0000	1.86
@@ -179,7 +179,6 @@
 	bool _fast_mode;
 	bool _dx_use_3_or_4_for_lock;
 
-	bool _mouse_pos_changed;
 	uint16 _debugMode;
 	uint16 _language;
 	bool _noSubtitles;





More information about the Scummvm-git-logs mailing list