code/__DEFINES/path.dm
CANASTARPASS_DENSITY | If set, we make the assumption that CanAStarPass() will NEVER return FALSE unless density is true |
---|---|
CANASTARPASS_ALWAYS_PROC | If this is set, we bypass density checks and always call the proc |
CAN_STEP | A helper macro to see if it's possible to step from the first turf into the second one, minding things like door access and directional windows. If you really want to optimize things, optimize this, cuz this gets called a lot. We do early next.density check despite it being already checked in LinkBlockedWithAccess for short-circuit performance |
Define Details
CANASTARPASS_ALWAYS_PROC
If this is set, we bypass density checks and always call the proc
CANASTARPASS_DENSITY
If set, we make the assumption that CanAStarPass() will NEVER return FALSE unless density is true
CAN_STEP
A helper macro to see if it's possible to step from the first turf into the second one, minding things like door access and directional windows. If you really want to optimize things, optimize this, cuz this gets called a lot. We do early next.density check despite it being already checked in LinkBlockedWithAccess for short-circuit performance