ZAS Performance Improvements (#2308)

This PR converts ZAS' c_airblock procs into a single macro for performance reasons, as well as allows CanPass to be bypassed for atoms that do not require special air blocking behavior.

Appears to have a significant effect on performance, needs more detailed testing.

Some objects are likely missing canpass flags, I only set the obvious ones. Please comment if you find one I missed.

Might fix #2152.
This commit is contained in:
Lohikar
2017-05-20 19:00:15 +03:00
committed by skull132
parent 4ade21551e
commit d8b6ba2c6c
12 changed files with 130 additions and 53 deletions
+2
View File
@@ -20,6 +20,8 @@
var/glasstype = null // Set this in subtypes. Null is assumed strange or otherwise impossible to dismantle, such as for shuttle glass.
var/silicate = 0 // number of units of silicate
atmos_canpass = CANPASS_PROC
/obj/structure/window/examine(mob/user)
. = ..(user)