/tg/ Station 13 - Modules - TypesDefine Details

code/__HELPERS/icon_smoothing.dm

/proc/generate_adjacent_directionsEncodes connectivity between border objects Returns a list accessable by a border object's dir, the direction between it and a target, and a target Said list will return the direction the two objects connect, if any exists (if the target isn't a border object and the direction is fine, return the inverse of the direction in use)
CAN_DIAGONAL_SMOOTHAre two atoms border adjacent, takes a border object, something to compare against, and the direction between A and B Returns the way in which the first thing is adjacent to the second
BITMASK_FOUNDCheck that non border objects use to smooth against border objects
BITMASK_ON_BORDER_CHECKReturns true if the smooth is acceptable, FALSE otherwise
/proc/dir_to_all_junctionsTakes a direction, turns it into all the junctions that contain it

Define Details

BITMASK_FOUND

Check that non border objects use to smooth against border objects

BITMASK_ON_BORDER_CHECK

Returns true if the smooth is acceptable, FALSE otherwise

CAN_DIAGONAL_SMOOTH

Are two atoms border adjacent, takes a border object, something to compare against, and the direction between A and B Returns the way in which the first thing is adjacent to the second