Updated auxmos (see desc)

1. All callbacks are now auxmos-side, using new auxcallbacks.
2. Heat processing is now paused for and has been optimized by making it have fewer callbacks.
This commit is contained in:
Putnam
2020-12-10 12:03:28 -08:00
parent 65920283f5
commit d1277ad7b2
15 changed files with 32 additions and 58 deletions
+2 -8
View File
@@ -4,17 +4,11 @@ SUBSYSTEM_DEF(callbacks)
wait = 1
priority = FIRE_PRIORITY_CALLBACKS
/proc/_process_callbacks()
SScallbacks.can_fire = 0
SScallbacks.flags |= SS_NO_FIRE
CRASH("Auxtools not found! Callback subsystem shutting itself off.")
/proc/_process_callbacks_priority()
/proc/process_callbacks()
SScallbacks.can_fire = 0
SScallbacks.flags |= SS_NO_FIRE
CRASH("Auxtools not found! Callback subsystem shutting itself off.")
/datum/controller/subsystem/callbacks/fire()
_process_callbacks_priority()
if(TICK_CHECK || _process_callbacks(MC_TICK_REMAINING_MS))
if(process_callbacks(null,MC_TICK_REMAINING_MS))
pause()