BandaStation - Modules - TypesDefine Details

code/__DEFINES/visual_helpers.dm

SET_BASE_PIXELUse this to set the base and ACTUAL pixel offsets of an object at the same time You should always use this for pixel setting in typepaths, unless you want the map display to look different from in game
_SET_BASE_PIXEL_NO_OFFSETHelper define, sets JUST base pixel offsets
SET_BASE_PIXEL_NOMAPMuch like SET_BASE_PIXEL, except it will not effect pixel offsets in mapping programs
NEXT_VISUAL_TICKWhat world.time will we next complete a visual tick? This is important because we often want to avoid moving an object twice in a tick, since this can lead to teleportation instead of gliding (such as when you move an atom that just spawned)

Define Details

NEXT_VISUAL_TICK

What world.time will we next complete a visual tick? This is important because we often want to avoid moving an object twice in a tick, since this can lead to teleportation instead of gliding (such as when you move an atom that just spawned)

SET_BASE_PIXEL

Use this to set the base and ACTUAL pixel offsets of an object at the same time You should always use this for pixel setting in typepaths, unless you want the map display to look different from in game

SET_BASE_PIXEL_NOMAP

Much like SET_BASE_PIXEL, except it will not effect pixel offsets in mapping programs

_SET_BASE_PIXEL_NO_OFFSET

Helper define, sets JUST base pixel offsets