Master 
Vars | |
| current_initializing_subsystem | During initialization, will be the instanced subsytem that is currently initializing. Outside of initialization, returns null. |
|---|---|
| current_runlevel | for scheduling different subsystems for different stages of the round |
| current_ticklimit | current tick limit, assigned before running a subsystem. used by CHECK_TICK as well so that the procs subsystems call can obey that SS's tick limits |
| init_stage_completed | Most recent init stage to complete init. |
| iteration | How many times have we ran |
| last_run | world.time of last fire, for tracking lag outside of the mc |
| last_type_processed | The type of the last subsystem to be fire()'d. |
| make_runtime | makes the mc main loop runtime |
| map_loading | Are we loading in a new map? |
| processing | Are we processing (higher values increase the processing delay by n ticks) |
| queue_head | Start of queue linked list |
| queue_tail | End of queue linked list (used for appending to the list) |
| skip_ticks | Only run ticker subsystems for the next n ticks. |
| sleep_delta | How long is the MC sleeping between runs, read only (set by Loop() based off of anti-tick-contention heuristics) |
| stack_end_detector | Stack end detector to detect stack overflows that kill the mc's main loop |
| subsystems | List of subsystems to process(). |
Procs | |
| RunQueue | RunQueue - Run thru the queue of subsystems to run, running them while balancing out their allocated tick precentage Returns 0 if runtimed, a negitive number for logic errors, and a positive number if the operation completed without errors |
| init_subsystem | Initialize a given subsystem and handle the results. |
| laggy_byond_map_update_incoming | Warns us that the end of tick byond map_update will be laggier then normal, so that we can just skip running subsystems this tick. |
Var Details
current_initializing_subsystem 
During initialization, will be the instanced subsytem that is currently initializing. Outside of initialization, returns null.
current_runlevel 
for scheduling different subsystems for different stages of the round
current_ticklimit 
current tick limit, assigned before running a subsystem. used by CHECK_TICK as well so that the procs subsystems call can obey that SS's tick limits
init_stage_completed 
Most recent init stage to complete init.
iteration 
How many times have we ran
last_run 
world.time of last fire, for tracking lag outside of the mc
last_type_processed 
The type of the last subsystem to be fire()'d.
make_runtime 
makes the mc main loop runtime
map_loading 
Are we loading in a new map?
processing 
Are we processing (higher values increase the processing delay by n ticks)
queue_head 
Start of queue linked list
queue_tail 
End of queue linked list (used for appending to the list)
skip_ticks 
Only run ticker subsystems for the next n ticks.
sleep_delta 
How long is the MC sleeping between runs, read only (set by Loop() based off of anti-tick-contention heuristics)
stack_end_detector 
Stack end detector to detect stack overflows that kill the mc's main loop
subsystems 
List of subsystems to process().
Proc Details
RunQueue
RunQueue - Run thru the queue of subsystems to run, running them while balancing out their allocated tick precentage Returns 0 if runtimed, a negitive number for logic errors, and a positive number if the operation completed without errors
init_subsystem
Initialize a given subsystem and handle the results.
Arguments:
- subsystem - the subsystem to initialize.
laggy_byond_map_update_incoming
Warns us that the end of tick byond map_update will be laggier then normal, so that we can just skip running subsystems this tick.