mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-01-28 10:12:01 +00:00
Refactored mousedrag procs, added signals, some safeguards, did some cleanups around, renamed them to make a little more sense. Mostly put in line with TG's code. Fast clicking and releasing with a drag, depending on the grace period and how fast it is done, can be counted as clicks, to aid in combat scenarios where you spamclick.
11 lines
574 B
Plaintext
11 lines
574 B
Plaintext
/*
|
|
AURORA NOTE: INTERACT_ATOM_MOUSEDROP_IGNORE_USABILITY is not implemented at the moment, it's kept only to keep the INTERACT_ATOM_MOUSEDROP_IGNORE_CHECKS the same
|
|
*/
|
|
|
|
/// Bypass all adjacency checks for mouse drop
|
|
#define INTERACT_ATOM_MOUSEDROP_IGNORE_ADJACENT (1<<11)
|
|
/// Bypass all can_perform_action checks for mouse drop
|
|
#define INTERACT_ATOM_MOUSEDROP_IGNORE_USABILITY (1<<12)
|
|
/// Bypass all adjacency and other checks for mouse drop
|
|
#define INTERACT_ATOM_MOUSEDROP_IGNORE_CHECKS (INTERACT_ATOM_MOUSEDROP_IGNORE_ADJACENT | INTERACT_ATOM_MOUSEDROP_IGNORE_USABILITY)
|