Minimum BYOND version is now 510
CHANGED the mouse to be a datum, client.mouse.
Sorry about that! It should just take some Find/Replace to fix.
CHANGED mouse.buttons to use the MouseButtons enumerator
FIXED the mouse catcher being layered wrongly in BYOND 510
CHANGED mouse catcher's plane to -100 and layer to BACKGROUND_LAYER
REPLACED client.mouse_map_x/y with mouse.GetMapPixelX/Y()
ADDED support for events using the Kaiochao.Event library
ADDED OnPressed, OnMoved, and OnReleased events to the mouse
NOTE must be enabled with the MOUSE_ENABLE_EVENTS flag because it relies on another library
ADDED mouse.move_x/y, which tells you how many pixels the mouse has moved since the last movement
NOTE can be disabled with the MOUSE_DISABLE_MOVES flag
ADDED the mouse catcher as its own type, /mouse_catcher
IMPROVED screen-loc parsing to use regex
ADDED mouse.screen_loc_regex, which contains the regex used to parse screen-locs
NOTE map IDs are required to not be a string of digits, to avoid parser confusion
BAD: "12345"
GOOD: "map" "map1" "25137580a20951627"
ADDED changelog.dm
ID:2112111
Jul 6 2016, 4:46 pm
|
|
Jul 6 2016, 5:11 pm
|
|
Thank you very much for this! I am using a modified version of this library and I just recently ran into some problems with it. This update is much appreciated.
|