[Scummvm-cvs-logs] SF.net SVN: scummvm: [28882] scummvm/trunk/engines/agi/preagi_winnie.cpp

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Sun Sep 9 17:33:01 CEST 2007


Revision: 28882
          http://scummvm.svn.sourceforge.net/scummvm/?rev=28882&view=rev
Author:   thebluegr
Date:     2007-09-09 08:33:00 -0700 (Sun, 09 Sep 2007)

Log Message:
-----------
Mouse is working now in Winnie. Click to move functionality still not completed, though

Modified Paths:
--------------
    scummvm/trunk/engines/agi/preagi_winnie.cpp

Modified: scummvm/trunk/engines/agi/preagi_winnie.cpp
===================================================================
--- scummvm/trunk/engines/agi/preagi_winnie.cpp	2007-09-09 15:28:26 UTC (rev 28881)
+++ scummvm/trunk/engines/agi/preagi_winnie.cpp	2007-09-09 15:33:00 UTC (rev 28882)
@@ -737,8 +737,8 @@
 				_vm->_system->quit();
 				break;
 			case Common::EVENT_MOUSEMOVE:
-				x = event.mouse.x;
-				y = event.mouse.y;
+				x = event.mouse.x / 8;
+				y = event.mouse.y / 8;
 				getMenuMouseSel(iSel, fCanSel, x, y);
 
 				// Change cursor


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list