mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-30 15:37:36 +01:00
1 line
5.1 KiB
HTML
1 line
5.1 KiB
HTML
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/controller/subsystem/movement - 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="datum/controller/subsystem/movement.html#var">Var Details</a> - <a href="datum/controller/subsystem/movement.html#proc">Proc Details</a></header><main><h1>movement <aside>/<a href="datum.html">datum</a>/<a href="datum/controller.html">controller</a>/<a href="datum/controller/subsystem.html">subsystem</a>/<a href="datum/controller/subsystem/movement.html">movement</a></aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/controllers/subsystem/movement/SSmovement.dm#L1"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/movement/SSmovement.dm 1"></a></h1><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="datum/controller/subsystem/movement.html#var/buckets">buckets</a></th><td>Assoc list of "target time" -> list(things to process). Used for quick lookup</td></tr><tr><th><a href="datum/controller/subsystem/movement.html#var/canonical_time">canonical_time</a></th><td>The time we started our last fire at</td></tr><tr><th><a href="datum/controller/subsystem/movement.html#var/sorted_buckets">sorted_buckets</a></th><td>Sorted list of list(target time, bucket to process)</td></tr><tr><th><a href="datum/controller/subsystem/movement.html#var/visual_delay">visual_delay</a></th><td>The visual delay of the subsystem</td></tr><tr><td colspan="2"><h2>Procs</h2></td></tr><tr><th><a href="datum/controller/subsystem/movement.html#proc/pour_bucket">pour_bucket</a></th><td>Processes a bucket of movement loops (This should only ever be called by fire(), it exists to prevent runtime fuckery)</td></tr><tr><th><a href="datum/controller/subsystem/movement.html#proc/smash_bucket">smash_bucket</a></th><td>Removes a bucket from our system. You only need to pass in the time, but if you pass in the index of the list you save us some work</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/buckets"><aside class="declaration">var </aside>buckets <aside>– /list</aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/controllers/subsystem/movement/SSmovement.dm#L14"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/movement/SSmovement.dm 14"></a></h3><p>Assoc list of "target time" -> list(things to process). Used for quick lookup</p><h3 id="var/canonical_time"><aside class="declaration">var </aside>canonical_time <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/controllers/subsystem/movement/SSmovement.dm#L18"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/movement/SSmovement.dm 18"></a></h3><p>The time we started our last fire at</p><h3 id="var/sorted_buckets"><aside class="declaration">var </aside>sorted_buckets <aside>– /list</aside> <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/controllers/subsystem/movement/SSmovement.dm#L16"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/movement/SSmovement.dm 16"></a></h3><p>Sorted list of list(target time, bucket to process)</p><h3 id="var/visual_delay"><aside class="declaration">var </aside>visual_delay <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/controllers/subsystem/movement/SSmovement.dm#L20"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/movement/SSmovement.dm 20"></a></h3><p>The visual delay of the subsystem</p><h2 id="proc">Proc Details</h2><h3 id="proc/pour_bucket"><aside class="declaration">proc </aside>pour_bucket<aside>(/list/bucket_info) <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/controllers/subsystem/movement/SSmovement.dm#L50"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/movement/SSmovement.dm 50"></a></aside></h3><p>Processes a bucket of movement loops (This should only ever be called by fire(), it exists to prevent runtime fuckery)</p><h3 id="proc/smash_bucket"><aside class="declaration">proc </aside>smash_bucket<aside>(index, bucket_time) <a href="https://github.com/ParadiseSS13/Paradise/blob/edee60476d21ee840643bd1abe7f6003a8c65773/code/controllers/subsystem/movement/SSmovement.dm#L72"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/movement/SSmovement.dm 72"></a></aside></h3><p>Removes a bucket from our system. You only need to pass in the time, but if you pass in the index of the list you save us some work</p></main><footer>paradise.dme <a href="https://github.com/ParadiseSS13/Paradise/tree/edee60476d21ee840643bd1abe7f6003a8c65773">edee604</a> (master) — <a href="https://github.com/SpaceManiac/SpacemanDMM/blob/master/crates/dmdoc/README.md">dmdoc 1.11.0</a></footer></body></html> |