mirror of
https://github.com/fulpstation/fulpstation.git
synced 2025-12-09 07:54:14 +00:00
* Initial merge * Map files * dme mon ami * Cult span renames * updatepaths * AltClick renamed to click_alt * beefman hair color stuff * bye bye beefman viro * get_all_gear * Updated mentor refresh verb * bloodsucker rack atom_deconstruct * removed LateInitialize from nanites machines * brain trauama now calls parent on_lose * readme * greyscale fulp edit * arrival sound fulp edit * tgui routes fulp edit * build.js fulp edit * fulpui-patches * Missed a couple of shuttles * tgui files * Map updates * tgui tweaks and screenshots * fixed typo * halloween beacon texture * Vault piggy banks * beacon icon fr * Selene cargo chat console * selene labour shuttle * Photobooths! * Moved photobooth button on selene * Theia updates * Reset maps.txt * Order consoles * Ports TG's #82906, fixes plasma cutters * Theia vault piggy bank * CLICK_ACTION_SUCCESS for coffin alt clicking
22 lines
592 B
Plaintext
22 lines
592 B
Plaintext
#define ACTIVE_MOVEMENT_OLDLOC 1
|
|
#define ACTIVE_MOVEMENT_DIRECTION 2
|
|
#define ACTIVE_MOVEMENT_FORCED 3
|
|
#define ACTIVE_MOVEMENT_OLDLOCS 4
|
|
|
|
/// The arguments of this macro correspond directly to the argument order of /atom/movable/proc/Moved
|
|
#define SET_ACTIVE_MOVEMENT(_old_loc, _direction, _forced, _oldlocs) \
|
|
active_movement = list( \
|
|
_old_loc, \
|
|
_direction, \
|
|
_forced, \
|
|
_oldlocs, \
|
|
)
|
|
|
|
/// Finish any active movements
|
|
#define RESOLVE_ACTIVE_MOVEMENT \
|
|
if(active_movement) { \
|
|
var/__move_args = active_movement; \
|
|
active_movement = null; \
|
|
Moved(arglist(__move_args)); \
|
|
}
|