code/__DEFINES/turfs.dm
RECT_TURFS | Returns a list of turfs within H_RADIUS tiles horizontally and V_RADIUS tiles vertically of CENTER. |
---|---|
RANGE_TURFS | Returns a list of turfs within Dist tiles of Center. When Dist >= 5 faster than a range() filtered to /turf s. |
ORANGE_TURFS | Returns a list of turfs within Dist tiles of Center, excluding Center. When Dist >= 5 faster than an orange() filtered to /turf s. |
Z_TURFS | Returns all turfs in a zlevel |
CORNER_BLOCK | Returns a list of turfs in the rectangle specified by BOTTOM LEFT corner and height/width |
CORNER_BLOCK_OFFSET | Returns a list of turfs similar to CORNER_BLOCK but with offsets |
CORNER_OUTLINE | Returns an outline (neighboring turfs) of the given block |
Define Details
CORNER_BLOCK
Returns a list of turfs in the rectangle specified by BOTTOM LEFT corner and height/width
CORNER_BLOCK_OFFSET
Returns a list of turfs similar to CORNER_BLOCK but with offsets
CORNER_OUTLINE
Returns an outline (neighboring turfs) of the given block
ORANGE_TURFS
Returns a list of turfs within Dist tiles of Center, excluding Center. When Dist >= 5 faster than an orange()
filtered to /turf
s.
RANGE_TURFS
Returns a list of turfs within Dist tiles of Center. When Dist >= 5 faster than a range()
filtered to /turf
s.
RECT_TURFS
Returns a list of turfs within H_RADIUS tiles horizontally and V_RADIUS tiles vertically of CENTER.
Z_TURFS
Returns all turfs in a zlevel