Files
CHOMPStation2/code/__defines
Leshana 10b0323d6f Use can_atmos_pass to reduce proc-calls in c_airblock()
- Add additional can_atmos_pass value ATMOS_PASS_PROC which indicates custom behavior requiring calling the CanZASPass proc.
  - The benefit being for the other three values we DON'T need to call CanZASPass at all!  We already know the behavior without the overhead of a proc call.
  - Obviously any atom with can_atmos_pass = ATMOS_PASS_PROC cannot now call ..() in CanZASPass() since the default behavior would be to (recursively) call CanZASPass()
  - This required re-numbering the constants, so I also fixed all code that assumed particular values for the constants.
- Switched all types which overrode CanZASPass with custom logic to be can_atmos_pass = ATMOS_PASS_PROC
- Changed /turf/c_airblock() to skip calling /atom/movable/c_airblock() for the three can_atmos_pass values that don't require calling the proc.
2020-04-30 14:50:57 -04:00
..
2020-04-26 10:58:56 -04:00
2020-04-02 23:42:47 -04:00
2020-02-24 16:35:08 -05:00
2020-04-16 13:50:43 -04:00
2019-09-22 14:50:28 -04:00
2019-04-28 15:10:06 +10:00
2019-10-19 23:28:38 -04:00
2020-04-21 14:38:00 -04:00
2019-12-12 10:40:27 -05:00
2020-04-10 11:41:38 -04:00
2020-04-20 04:12:53 -04:00
2020-03-23 21:34:32 -04:00
2019-03-29 09:50:28 -04:00
2019-03-30 16:19:24 -04:00
2020-03-11 11:11:40 -04:00
2019-10-13 02:05:16 -05:00
2020-04-13 01:35:01 -04:00
2020-03-24 21:43:27 -04:00