code/__DEFINES/_tick.dm
MAPTICK_MC_MIN_RESERVE | Percentage of tick to leave for master controller to run |
---|---|
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 |
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
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