code/__DEFINES/_tick.dm
MAPTICK_MC_MIN_RESERVE | Percentage of tick to leave for master controller to run |
---|---|
TICK_BYOND_RESERVE | Tick limit while running normally |
TICK_LIMIT_TO_RUN | Tick limit used to resume things in stoplag |
TICK_LIMIT_MC | Tick limit for MC while running |
TICK_USAGE | for general usage of tick_usage |
TICK_USAGE_REAL | to be used where the result isn't checked |
TICK_CHECK | Returns true if tick_usage is above the limit |
CHECK_TICK | runs stoplag if tick_usage is above the limit |
RUNNING_BEFORE_MASTER | Checks if a sleeping proc is running before or after the master controller |
VERB_SHOULD_YIELD | Returns true if a verb ought to yield to the MC (IE: queue up to be processed by a subsystem) |
TICK_CHECK_HIGH_PRIORITY | Returns true if tick usage is above 95, for high priority usage |
CHECK_TICK_HIGH_PRIORITY | runs stoplag if tick_usage is above 95, for high priority usage |
Define Details
CHECK_TICK
runs stoplag if tick_usage is above the limit
CHECK_TICK_HIGH_PRIORITY
runs stoplag if tick_usage is above 95, for high priority usage
MAPTICK_MC_MIN_RESERVE
Percentage of tick to leave for master controller to run
RUNNING_BEFORE_MASTER
Checks if a sleeping proc is running before or after the master controller
TICK_BYOND_RESERVE
Tick limit while running normally
TICK_CHECK
Returns true if tick_usage is above the limit
TICK_CHECK_HIGH_PRIORITY
Returns true if tick usage is above 95, for high priority usage
TICK_LIMIT_MC
Tick limit for MC while running
TICK_LIMIT_TO_RUN
Tick limit used to resume things in stoplag
TICK_USAGE
for general usage of tick_usage
TICK_USAGE_REAL
to be used where the result isn't checked
VERB_SHOULD_YIELD
Returns true if a verb ought to yield to the MC (IE: queue up to be processed by a subsystem)