code/__DEFINES/movement_defines.dm
MIN_GLIDE_SIZE | The minimum for glide_size to be clamped to. |
---|---|
MAX_GLIDE_SIZE | The maximum for glide_size to be clamped to. This shouldn't be higher than the icon size, and generally you shouldn't be changing this, but it's here just in case. |
MOVEMENT_DEFAULT_PRIORITY | Standard, go lower then this if you want to override, higher otherwise |
MOVEMENT_SPACE_PRIORITY | Very few things should override this |
MOVEMENT_ABOVE_SPACE_PRIORITY | Higher then the heavens |
MOVEMENT_LOOP_START_FAST | Should the loop act immediately following its addition? |
MOVEMENT_LOOP_IGNORE_PRIORITY | Do we not use the priority system? |
MOVEMENT_LOOP_IGNORE_GLIDE | Should we override the loop's glide? |
MOVEMENT_LOOP_NO_DIR_UPDATE | Should we not update our movables dir on move? |
MOVEMENT_LOOP_OUTSIDE_CONTROL | Is the loop moving the movable outside its control, like it's an external force? e.g. footsteps won't play if enabled. |
MOVELOOP_STATUS_PAUSED | Has the loop been paused, soon to be resumed? |
MOVELOOP_STATUS_RUNNING | Is the loop running? (Is true even when paused) |
MOVELOOP_STATUS_QUEUED | Is the loop queued in a subsystem? |
CHECK_MOVE_LOOP_FLAGS | Returns a bitfield containing flags both present in flags arg and the processing_move_loop_flags move_packet variable.
Has no use outside of procs called within the movement proc chain. |
MOVELOOP_FAILURE | Return values for moveloop Move() |
SET_ACTIVE_MOVEMENT | The arguments of this macro correspond directly to the argument order of /atom/movable/proc/Moved |
RESOLVE_ACTIVE_MOVEMENT | Finish any active movements |
Define Details
CHECK_MOVE_LOOP_FLAGS
Returns a bitfield containing flags both present in flags
arg and the processing_move_loop_flags
move_packet variable.
Has no use outside of procs called within the movement proc chain.
MAX_GLIDE_SIZE
The maximum for glide_size to be clamped to. This shouldn't be higher than the icon size, and generally you shouldn't be changing this, but it's here just in case.
MIN_GLIDE_SIZE
The minimum for glide_size to be clamped to.
MOVELOOP_FAILURE
Return values for moveloop Move()
MOVELOOP_STATUS_PAUSED
Has the loop been paused, soon to be resumed?
MOVELOOP_STATUS_QUEUED
Is the loop queued in a subsystem?
MOVELOOP_STATUS_RUNNING
Is the loop running? (Is true even when paused)
MOVEMENT_ABOVE_SPACE_PRIORITY
Higher then the heavens
MOVEMENT_DEFAULT_PRIORITY
Standard, go lower then this if you want to override, higher otherwise
MOVEMENT_LOOP_IGNORE_GLIDE
Should we override the loop's glide?
MOVEMENT_LOOP_IGNORE_PRIORITY
Do we not use the priority system?
MOVEMENT_LOOP_NO_DIR_UPDATE
Should we not update our movables dir on move?
MOVEMENT_LOOP_OUTSIDE_CONTROL
Is the loop moving the movable outside its control, like it's an external force? e.g. footsteps won't play if enabled.
MOVEMENT_LOOP_START_FAST
Should the loop act immediately following its addition?
MOVEMENT_SPACE_PRIORITY
Very few things should override this
RESOLVE_ACTIVE_MOVEMENT
Finish any active movements
SET_ACTIVE_MOVEMENT
The arguments of this macro correspond directly to the argument order of /atom/movable/proc/Moved