Mouse

by Kaiochao
ID:2112348
 
This one's probably backwards-compatible with yesterday's version (but not the version before that one).

Apparently, if you're dragging an object with one mouse button,
and you click a different object with a different mouse button,
then the 'object' in client.MouseDown(object, ...) is the dragged object,
not the object that was just clicked. WEIRD

FIXED client.MouseExited() caused reports of weird twitchy mouse movements.

ADDED _reference.dm
Check it. NOW!

CHANGED changelog.dm to _changelog.dm
You might still have changelog.dm in your folder, so go ahead and delete it.

ADDED mouse.over_object and mouse.drag_object

ADDED atom.OnMousePressed, OnMouseReleased, OnDragAndDrop, and OnMouseClicked(mouse/Mouse, Button, Modifier)
ADDED events: mouse.OnClicked and OnDragAndDrop(mouse/Mouse, Button, Modifier).

ADDED "atom/From" argument to mouse.GetDeltaX(), .GetDeltaY(), and .GetAngle().