From: <cl...@us...> - 2009-03-23 04:43:57
|
Revision: 113 http://fortress.svn.sourceforge.net/fortress/?rev=113&view=rev Author: clrg Date: 2009-03-23 04:43:50 +0000 (Mon, 23 Mar 2009) Log Message: ----------- Fix minimap, vexipath Modified Paths: -------------- branches/prototype2/.vexipath branches/prototype2/src/net/sourceforge/fortress/minimap.t Modified: branches/prototype2/.vexipath =================================================================== --- branches/prototype2/.vexipath 2009-03-23 03:52:35 UTC (rev 112) +++ branches/prototype2/.vexipath 2009-03-23 04:43:50 UTC (rev 113) @@ -1,6 +1,6 @@ { "source" : [ - "F/fortress-classic/src", + "F/fortress-prototype2/src", "LVexi Game Library", "LVexi Platform" ], Modified: branches/prototype2/src/net/sourceforge/fortress/minimap.t =================================================================== --- branches/prototype2/src/net/sourceforge/fortress/minimap.t 2009-03-23 03:52:35 UTC (rev 112) +++ branches/prototype2/src/net/sourceforge/fortress/minimap.t 2009-03-23 04:43:50 UTC (rev 113) @@ -37,7 +37,7 @@ var moveMap = function() { // assumes minimap tiles are 1px by 1px - var m = surface.mouse; + var m = surface.frame.mouse; var nx = ox + m.x - mx; var ny = oy + m.y - my; nx = 0 > nx ? 0 : (nx > $minimap.width-1 ? $minimap.width-1 : nx); @@ -52,21 +52,21 @@ var releaseFunc = function(v) { cascade = v; - surface.delMoveTrap(moveMapFunc); - surface.Focused --= releaseFunc; - surface._Release1 --= releaseFunc; + surface.frame.Focused --= releaseFunc; + surface.event.delMoveTrap(moveMapFunc); + surface.event._Release1 --= releaseFunc; } var pressFunc = function(v) { cascade = v; - var m = surface.mouse; + var m = surface.frame.mouse; mx = m.x; my = m.y; ox = mouse.x; oy = mouse.y; - surface.addMoveTrap(moveMapFunc); - surface.Focused ++= releaseFunc; - surface._Release1 ++= releaseFunc; + surface.frame.Focused ++= releaseFunc; + surface.event.addMoveTrap(moveMapFunc); + surface.event._Release1 ++= releaseFunc; moveMap(); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |