Files
Polaris/code/game/objects/structures
Leshana e74ebd9805 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-05-04 13:47:52 -04:00
..
2020-03-25 22:10:56 -04:00
2020-03-25 22:10:56 -04:00
2020-03-25 22:10:56 -04:00
2018-10-14 20:03:17 -07:00
2020-03-10 22:33:38 -07:00
2020-02-17 13:14:08 -05:00
2018-01-31 05:11:23 -08:00
2018-12-08 21:27:10 -08:00
2019-04-16 10:54:44 +10:00
2019-11-04 17:37:17 -09:00
2020-02-17 13:14:08 -05:00
2020-02-17 13:14:08 -05:00
2019-07-05 17:03:51 +02:00
2020-02-17 13:14:08 -05:00
2019-12-12 13:29:43 -05:00
2019-09-19 12:38:33 +10:00
2018-12-06 18:34:37 -08:00
2020-03-03 13:44:31 -08:00
2020-02-17 13:14:08 -05:00