Cleaned up evolution method definitions, rewrote the "Fill Bag" Debug feature to make it much faster, removed all instances of changing the game window's title

This commit is contained in:
Maruno17
2021-07-22 22:46:43 +01:00
parent d21d3cb1fd
commit cb0220b751
15 changed files with 89 additions and 98 deletions

View File

@@ -419,24 +419,24 @@ class MapScreenScene
end
def onRightClick(mapid,x,y)
# echoln("rightclick (#{mapid})")
# echoln "rightclick (#{mapid})"
end
def onMouseUp(mapid)
# echoln("mouseup (#{mapid})")
# echoln "mouseup (#{mapid})"
@dragging=false if @dragging
end
def onRightMouseUp(mapid)
# echoln("rightmouseup (#{mapid})")
# echoln "rightmouseup (#{mapid})"
end
def onMouseOver(mapid,x,y)
# echoln("mouseover (#{mapid},#{x},#{y})")
# echoln "mouseover (#{mapid},#{x},#{y})"
end
def onMouseMove(mapid,x,y)
# echoln("mousemove (#{mapid},#{x},#{y})")
# echoln "mousemove (#{mapid},#{x},#{y})"
if @dragging
if @dragmapid>=0
sprite=getMapSprite(@dragmapid)