code/__HELPERS/icon_smoothing.dm 
/proc/generate_adjacent_directions | Encodes 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_smooth | Helper 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_junctions | Takes a direction, turns it into all the junctions that contain it |