5 lines
5.2 KiB
HTML
5 lines
5.2 KiB
HTML
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/controller/subsystem/parallax - /tg/ Station 13</title></head><body><header><a href="index.html">/tg/ Station 13</a> - <a href="index.html#modules">Modules</a> - <a href="index.html#types">Types</a> — <a href="datum/controller/subsystem/parallax.html#proc">Proc Details</a></header><main><h1>parallax <aside>/<a href="datum.html">datum</a>/<a href="datum/controller/subsystem.html">controller/subsystem</a>/<a href="datum/controller/subsystem/parallax.html">parallax</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/controllers/subsystem/parallax.dm#L1"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/parallax.dm 1"></a></h1><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Procs</h2></td></tr><tr><th><a href="datum/controller/subsystem/parallax.html#proc/get_parallax_datum">get_parallax_datum</a></th><td>Gets parallax for zlevel.</td></tr><tr><th><a href="datum/controller/subsystem/parallax.html#proc/get_parallax_motion">get_parallax_motion</a></th><td>Gets parallax motion for a zlevel</td></tr><tr><th><a href="datum/controller/subsystem/parallax.html#proc/get_parallax_type">get_parallax_type</a></th><td>Gets parallax type for zlevel.</td></tr><tr><th><a href="datum/controller/subsystem/parallax.html#proc/get_parallax_vis_contents">get_parallax_vis_contents</a></th><td>Gets parallax added vis contents for zlevel</td></tr><tr><th><a href="datum/controller/subsystem/parallax.html#proc/reset_clients_on_z">reset_clients_on_z</a></th><td>resets all parallax for clients on a z</td></tr><tr><th><a href="datum/controller/subsystem/parallax.html#proc/update_clients_on_z">update_clients_on_z</a></th><td>updates all parallax for clients on a z</td></tr><tr><th><a href="datum/controller/subsystem/parallax.html#proc/update_z_motion">update_z_motion</a></th><td>updates motion of all clients on z</td></tr></table><h2 id="proc">Proc Details</h2><h3 id="proc/get_parallax_datum"><aside class="declaration">proc </aside>get_parallax_datum<aside>(z) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/controllers/subsystem/parallax.dm#L50"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/parallax.dm 50"></a></aside></h3><p>Gets parallax for zlevel.</p><h3 id="proc/get_parallax_motion"><aside class="declaration">proc </aside>get_parallax_motion<aside>(z) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/controllers/subsystem/parallax.dm#L69"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/parallax.dm 69"></a></aside></h3><p>Gets parallax motion for a zlevel</p>
|
|
<p>Returns null or list(speed, dir deg clockwise from north, windup, turnrate)
|
|
THE RETURNED LIST MUST BE A 4-TUPLE, OR PARALLAX WILL CRASH.
|
|
DO NOT SCREW WITH THIS UNLESS YOU KNOW WHAT YOU ARE DOING.</p>
|
|
<p>This will override area motion</p><h3 id="proc/get_parallax_type"><aside class="declaration">proc </aside>get_parallax_type<aside>(z) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/controllers/subsystem/parallax.dm#L44"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/parallax.dm 44"></a></aside></h3><p>Gets parallax type for zlevel.</p><h3 id="proc/get_parallax_vis_contents"><aside class="declaration">proc </aside>get_parallax_vis_contents<aside>(z) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/controllers/subsystem/parallax.dm#L57"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/parallax.dm 57"></a></aside></h3><p>Gets parallax added vis contents for zlevel</p><h3 id="proc/reset_clients_on_z"><aside class="declaration">proc </aside>reset_clients_on_z<aside>(z) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/controllers/subsystem/parallax.dm#L83"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/parallax.dm 83"></a></aside></h3><p>resets all parallax for clients on a z</p><h3 id="proc/update_clients_on_z"><aside class="declaration">proc </aside>update_clients_on_z<aside>(z) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/controllers/subsystem/parallax.dm#L75"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/parallax.dm 75"></a></aside></h3><p>updates all parallax for clients on a z</p><h3 id="proc/update_z_motion"><aside class="declaration">proc </aside>update_z_motion<aside>(z) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/controllers/subsystem/parallax.dm#L91"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/parallax.dm 91"></a></aside></h3><p>updates motion of all clients on z</p></main><footer>tgstation.dme <a href="https://github.com/evilew/GS13-Citadel/tree/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e">e8e0068</a> (master) — <a href="https://github.com/SpaceManiac/SpacemanDMM/blob/master/crates/dmdoc/README.md">dmdoc 1.9.0</a></footer></body></html> |