/tg/ Station 13 - Modules - Types

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)
/proc/should_border_obj_smoothHelper proc for smoothing border objects. Return this from smoothing_allowed() to get the desired effect Indexes into some global lists that encode direction bullshit
/proc/dir_to_all_junctionsTakes a direction, turns it into all the junctions that contain it