Files
GS13NG/atom/movable/screen/parallax_layer.html

1 line
7.7 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../../"><link rel="stylesheet" href="dmdoc.css"><title>/atom/movable/screen/parallax_layer - /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="atom/movable/screen/parallax_layer.html#var">Var Details</a> - <a href="atom/movable/screen/parallax_layer.html#proc">Proc Details</a></header><main><h1>parallax_layer <aside>/<a href="atom.html">atom</a>/<a href="atom/movable.html">movable</a>/<a href="atom/movable/screen.html">screen</a>/<a href="atom/movable/screen/parallax_layer.html">parallax_layer</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/_rendering/parallax/parallax_object.dm#L2"><img src="git.png" width="16" height="16" title="code/_rendering/parallax/parallax_object.dm 2"></a></h1><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="atom/movable/screen/parallax_layer.html#var/absolute">absolute</a></th><td>absolute - always determine shift x/y as a function of real x/y instead of allowing for relative scroll.</td></tr><tr><th><a href="atom/movable/screen/parallax_layer.html#var/center_x">center_x</a></th><td>normal centered x</td></tr><tr><th><a href="atom/movable/screen/parallax_layer.html#var/center_y">center_y</a></th><td>normal centered y</td></tr><tr><th><a href="atom/movable/screen/parallax_layer.html#var/dynamic_self_tile">dynamic_self_tile</a></th><td>dynamic self tile - tile to our view size. set this to false for static parallax layers.</td></tr><tr><th><a href="atom/movable/screen/parallax_layer.html#var/map_id">map_id</a></th><td>map id</td></tr><tr><th><a href="atom/movable/screen/parallax_layer.html#var/offset_x">offset_x</a></th><td>current cached offset x</td></tr><tr><th><a href="atom/movable/screen/parallax_layer.html#var/offset_y">offset_y</a></th><td>current cached offset y</td></tr><tr><th><a href="atom/movable/screen/parallax_layer.html#var/parallax_intensity">parallax_intensity</a></th><td>parallax level required to see this</td></tr><tr><th><a href="atom/movable/screen/parallax_layer.html#var/queued_animation">queued_animation</a></th><td>queued animation timerid</td></tr><tr><th><a href="atom/movable/screen/parallax_layer.html#var/speed">speed</a></th><td>pixel x/y shift per real x/y</td></tr><tr><th><a href="atom/movable/screen/parallax_layer.html#var/view_current">view_current</a></th><td>current view we're adapted to</td></tr><tr><td colspan="2"><h2>Procs</h2></td></tr><tr><th><a href="atom/movable/screen/parallax_layer.html#proc/GetOverlays">GetOverlays</a></th><td>Return &quot;natural&quot; overlays, as we're goin to do some fuckery to overlays above.</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/absolute"><aside class="declaration">var </aside>absolute <aside> </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/_rendering/parallax/parallax_object.dm#L22"><img src="git.png" width="16" height="16" title="code/_rendering/parallax/parallax_object.dm 22"></a></h3><p>absolute - always determine shift x/y as a function of real x/y instead of allowing for relative scroll.</p><h3 id="var/center_x"><aside class="declaration">var </aside>center_x <aside> </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/_rendering/parallax/parallax_object.dm#L18"><img src="git.png" width="16" height="16" title="code/_rendering/parallax/parallax_object.dm 18"></a></h3><p>normal centered x</p><h3 id="var/center_y"><aside class="declaration">var </aside>center_y <aside> </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/_rendering/parallax/parallax_object.dm#L20"><img src="git.png" width="16" height="16" title="code/_rendering/parallax/parallax_object.dm 20"></a></h3><p>normal centered y</p><h3 id="var/dynamic_self_tile"><aside class="declaration">var </aside>dynamic_self_tile <aside> </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/_rendering/parallax/parallax_object.dm#L28"><img src="git.png" width="16" height="16" title="code/_rendering/parallax/parallax_object.dm 28"></a></h3><p>dynamic self tile - tile to our view size. set this to false for static parallax layers.</p><h3 id="var/map_id"><aside class="declaration">var </aside>map_id <aside> </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/_rendering/parallax/parallax_object.dm#L30"><img src="git.png" width="16" height="16" title="code/_rendering/parallax/parallax_object.dm 30"></a></h3><p>map id</p><h3 id="var/offset_x"><aside class="declaration">var </aside>offset_x <aside> </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/_rendering/parallax/parallax_object.dm#L14"><img src="git.png" width="16" height="16" title="code/_rendering/parallax/parallax_object.dm 14"></a></h3><p>current cached offset x</p><h3 id="var/offset_y"><aside class="declaration">var </aside>offset_y <aside> </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/_rendering/parallax/parallax_object.dm#L16"><img src="git.png" width="16" height="16" title="code/_rendering/parallax/parallax_object.dm 16"></a></h3><p>current cached offset y</p><h3 id="var/parallax_intensity"><aside class="declaration">var </aside>parallax_intensity <aside> </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/_rendering/parallax/parallax_object.dm#L24"><img src="git.png" width="16" height="16" title="code/_rendering/parallax/parallax_object.dm 24"></a></h3><p>parallax level required to see this</p><h3 id="var/queued_animation"><aside class="declaration">var </aside>queued_animation <aside> </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/_rendering/parallax/parallax_object.dm#L34"><img src="git.png" width="16" height="16" title="code/_rendering/parallax/parallax_object.dm 34"></a></h3><p>queued animation timerid</p><h3 id="var/speed"><aside class="declaration">var </aside>speed <aside> </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/_rendering/parallax/parallax_object.dm#L12"><img src="git.png" width="16" height="16" title="code/_rendering/parallax/parallax_object.dm 12"></a></h3><p>pixel x/y shift per real x/y</p><h3 id="var/view_current"><aside class="declaration">var </aside>view_current <aside> </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/_rendering/parallax/parallax_object.dm#L26"><img src="git.png" width="16" height="16" title="code/_rendering/parallax/parallax_object.dm 26"></a></h3><p>current view we're adapted to</p><h2 id="proc">Proc Details</h2><h3 id="proc/GetOverlays"><aside class="declaration">proc </aside>GetOverlays<aside>() <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/_rendering/parallax/parallax_object.dm#L104"><img src="git.png" width="16" height="16" title="code/_rendering/parallax/parallax_object.dm 104"></a></aside></h3><p>Return &quot;natural&quot; overlays, as we're goin to do some fuckery to overlays above.</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>