mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-26 13:37:58 +01:00
3 lines
3.8 KiB
HTML
3 lines
3.8 KiB
HTML
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../"><link rel="stylesheet" href="dmdoc.css"><title>code/__DEFINES/_click.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/_click.html#define">Define Details</a></header><main><h1>code/__DEFINES/_click.dm <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/__DEFINES/_click.dm"><img src="git.png" width="16" height="16" title="code/__DEFINES/_click.dm"></a></h1><table class="summary" cellspacing="0"><tr><th><a href="code/__DEFINES/_click.html#define/BUTTON">BUTTON</a></th><td>Mouse button that was just clicked/released
|
|
if(modifiers<a href="code/__DEFINES/_click.html#define/BUTTON" title="BUTTON">BUTTON</a> == LEFT_CLICK)</td></tr><tr><th><a href="code/__DEFINES/_click.html#define/MOUSE_OPACITY_TRANSPARENT">MOUSE_OPACITY_TRANSPARENT</a></th><td>Objects will ignore being clicked on regardless of their transparency (used in parallax, lighting effects, holograms, lasers, etc.)</td></tr><tr><th><a href="code/__DEFINES/_click.html#define/MOUSE_OPACITY_ICON">MOUSE_OPACITY_ICON</a></th><td>Objects will be clicked on if it is the topmost object and the pixel isn't transparent at the position of the mouse (default behavior for 99.99% of game objects)</td></tr><tr><th><a href="code/__DEFINES/_click.html#define/MOUSE_OPACITY_OPAQUE">MOUSE_OPACITY_OPAQUE</a></th><td>Objects will be always be clicked on regardless of pixel transparency or other objects at that location (used in space vines, storage containers)</td></tr></table><h2 id="define">Define Details</h2><h3 id="define/BUTTON"><aside class="declaration">#define </aside>BUTTON <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/__DEFINES/_click.dm#L11"><img src="git.png" width="16" height="16" title="code/__DEFINES/_click.dm 11"></a></h3><p>Mouse button that was just clicked/released
|
|
if(modifiers<a href="code/__DEFINES/_click.html#define/BUTTON" title="BUTTON">BUTTON</a> == LEFT_CLICK)</p><h3 id="define/MOUSE_OPACITY_ICON"><aside class="declaration">#define </aside>MOUSE_OPACITY_ICON <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/__DEFINES/_click.dm#L43"><img src="git.png" width="16" height="16" title="code/__DEFINES/_click.dm 43"></a></h3><p>Objects will be clicked on if it is the topmost object and the pixel isn't transparent at the position of the mouse (default behavior for 99.99% of game objects)</p><h3 id="define/MOUSE_OPACITY_OPAQUE"><aside class="declaration">#define </aside>MOUSE_OPACITY_OPAQUE <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/__DEFINES/_click.dm#L45"><img src="git.png" width="16" height="16" title="code/__DEFINES/_click.dm 45"></a></h3><p>Objects will be always be clicked on regardless of pixel transparency or other objects at that location (used in space vines, storage containers)</p><h3 id="define/MOUSE_OPACITY_TRANSPARENT"><aside class="declaration">#define </aside>MOUSE_OPACITY_TRANSPARENT <a href="https://github.com/ParadiseSS13/Paradise/blob/8a8a00a2a9bec485351e5f219982b7315d3504fa/code/__DEFINES/_click.dm#L41"><img src="git.png" width="16" height="16" title="code/__DEFINES/_click.dm 41"></a></h3><p>Objects will ignore being clicked on regardless of their transparency (used in parallax, lighting effects, holograms, lasers, etc.)</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> |