Files

1 line
7.1 KiB
HTML

<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../"><link rel="stylesheet" href="dmdoc.css"><title>code/__DEFINES/_tick.dm - Space Station 13</title></head><body><header><a href="index.html">Space Station 13</a> - <a href="index.html#modules">Modules</a> - <a href="index.html#types">Types</a><a href="code/__DEFINES/_tick.html#define">Define Details</a></header><main><h1>code/__DEFINES/_tick.dm <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/__DEFINES/_tick.dm"><img src="git.png" width="16" height="16" title="code/__DEFINES/_tick.dm"></a></h1><table class="summary" cellspacing="0"><tr><th><a href="code/__DEFINES/_tick.html#define/MAPTICK_MC_MIN_RESERVE">MAPTICK_MC_MIN_RESERVE</a></th><td>Percentage of tick to leave for master controller to run</td></tr><tr><th><a href="code/__DEFINES/_tick.html#define/TICK_BYOND_RESERVE">TICK_BYOND_RESERVE</a></th><td>Tick limit while running normally</td></tr><tr><th><a href="code/__DEFINES/_tick.html#define/TICK_LIMIT_TO_RUN">TICK_LIMIT_TO_RUN</a></th><td>Tick limit used to resume things in stoplag</td></tr><tr><th><a href="code/__DEFINES/_tick.html#define/TICK_LIMIT_MC">TICK_LIMIT_MC</a></th><td>Tick limit for MC while running</td></tr><tr><th><a href="code/__DEFINES/_tick.html#define/TICK_USAGE">TICK_USAGE</a></th><td>for general usage of tick_usage</td></tr><tr><th><a href="code/__DEFINES/_tick.html#define/TICK_USAGE_REAL">TICK_USAGE_REAL</a></th><td>to be used where the result isn't checked</td></tr><tr><th><a href="code/__DEFINES/_tick.html#define/TICK_CHECK">TICK_CHECK</a></th><td>Returns true if tick_usage is above the limit</td></tr><tr><th><a href="code/__DEFINES/_tick.html#define/CHECK_TICK">CHECK_TICK</a></th><td>runs stoplag if tick_usage is above the limit</td></tr><tr><th><a href="code/__DEFINES/_tick.html#define/RUNNING_BEFORE_MASTER">RUNNING_BEFORE_MASTER</a></th><td>Checks if a sleeping proc is running before or after the master controller</td></tr><tr><th><a href="code/__DEFINES/_tick.html#define/VERB_SHOULD_YIELD">VERB_SHOULD_YIELD</a></th><td>Returns true if a verb ought to yield to the MC (IE: queue up to be processed by a subsystem)</td></tr><tr><th><a href="code/__DEFINES/_tick.html#define/TICK_CHECK_HIGH_PRIORITY">TICK_CHECK_HIGH_PRIORITY</a></th><td>Returns true if tick usage is above 95, for high priority usage</td></tr><tr><th><a href="code/__DEFINES/_tick.html#define/CHECK_TICK_HIGH_PRIORITY">CHECK_TICK_HIGH_PRIORITY</a></th><td>runs stoplag if tick_usage is above 95, for high priority usage</td></tr></table><h2 id="define">Define Details</h2><h3 id="define/CHECK_TICK"><aside class="declaration">#define </aside>CHECK_TICK <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/__DEFINES/_tick.dm#L21"><img src="git.png" width="16" height="16" title="code/__DEFINES/_tick.dm 21"></a></h3><p>runs stoplag if tick_usage is above the limit</p><h3 id="define/CHECK_TICK_HIGH_PRIORITY"><aside class="declaration">#define </aside>CHECK_TICK_HIGH_PRIORITY <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/__DEFINES/_tick.dm#L31"><img src="git.png" width="16" height="16" title="code/__DEFINES/_tick.dm 31"></a></h3><p>runs stoplag if tick_usage is above 95, for high priority usage</p><h3 id="define/MAPTICK_MC_MIN_RESERVE"><aside class="declaration">#define </aside>MAPTICK_MC_MIN_RESERVE <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/__DEFINES/_tick.dm#L2"><img src="git.png" width="16" height="16" title="code/__DEFINES/_tick.dm 2"></a></h3><p>Percentage of tick to leave for master controller to run</p><h3 id="define/RUNNING_BEFORE_MASTER"><aside class="declaration">#define </aside>RUNNING_BEFORE_MASTER <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/__DEFINES/_tick.dm#L24"><img src="git.png" width="16" height="16" title="code/__DEFINES/_tick.dm 24"></a></h3><p>Checks if a sleeping proc is running before or after the master controller</p><h3 id="define/TICK_BYOND_RESERVE"><aside class="declaration">#define </aside>TICK_BYOND_RESERVE <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/__DEFINES/_tick.dm#L6"><img src="git.png" width="16" height="16" title="code/__DEFINES/_tick.dm 6"></a></h3><p>Tick limit while running normally</p><h3 id="define/TICK_CHECK"><aside class="declaration">#define </aside>TICK_CHECK <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/__DEFINES/_tick.dm#L19"><img src="git.png" width="16" height="16" title="code/__DEFINES/_tick.dm 19"></a></h3><p>Returns true if tick_usage is above the limit</p><h3 id="define/TICK_CHECK_HIGH_PRIORITY"><aside class="declaration">#define </aside>TICK_CHECK_HIGH_PRIORITY <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/__DEFINES/_tick.dm#L29"><img src="git.png" width="16" height="16" title="code/__DEFINES/_tick.dm 29"></a></h3><p>Returns true if tick usage is above 95, for high priority usage</p><h3 id="define/TICK_LIMIT_MC"><aside class="declaration">#define </aside>TICK_LIMIT_MC <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/__DEFINES/_tick.dm#L11"><img src="git.png" width="16" height="16" title="code/__DEFINES/_tick.dm 11"></a></h3><p>Tick limit for MC while running</p><h3 id="define/TICK_LIMIT_TO_RUN"><aside class="declaration">#define </aside>TICK_LIMIT_TO_RUN <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/__DEFINES/_tick.dm#L9"><img src="git.png" width="16" height="16" title="code/__DEFINES/_tick.dm 9"></a></h3><p>Tick limit used to resume things in stoplag</p><h3 id="define/TICK_USAGE"><aside class="declaration">#define </aside>TICK_USAGE <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/__DEFINES/_tick.dm#L14"><img src="git.png" width="16" height="16" title="code/__DEFINES/_tick.dm 14"></a></h3><p>for general usage of tick_usage</p><h3 id="define/TICK_USAGE_REAL"><aside class="declaration">#define </aside>TICK_USAGE_REAL <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/__DEFINES/_tick.dm#L16"><img src="git.png" width="16" height="16" title="code/__DEFINES/_tick.dm 16"></a></h3><p>to be used where the result isn't checked</p><h3 id="define/VERB_SHOULD_YIELD"><aside class="declaration">#define </aside>VERB_SHOULD_YIELD <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/__DEFINES/_tick.dm#L26"><img src="git.png" width="16" height="16" title="code/__DEFINES/_tick.dm 26"></a></h3><p>Returns true if a verb ought to yield to the MC (IE: queue up to be processed by a subsystem)</p></main><footer>paradise.dme <a href="https://github.com/ParadiseSS13/Paradise/tree/8a8a00a2a9bec485351e5f219982b7315d3504fa">8a8a00a</a> (master) — <a href="https://github.com/SpaceManiac/SpacemanDMM/blob/master/crates/dmdoc/README.md">dmdoc 1.11.0</a></footer></body></html>