Files
GS13NG/code/__DEFINES/instruments.html
2025-02-05 06:19:18 +00:00

1 line
4.5 KiB
HTML

<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../"><link rel="stylesheet" href="dmdoc.css"><title>code/__DEFINES/instruments.dm - /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="code/__DEFINES/instruments.html#define">Define Details</a></header><main><h1>code/__DEFINES/instruments.dm <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/instruments.dm0"><img src="git.png" width="16" height="16" title="code/__DEFINES/instruments.dm0"></a></h1><table class="summary" cellspacing="0"><tr><th><a href="code/__DEFINES/instruments.html#define/CHANNELS_PER_INSTRUMENT">CHANNELS_PER_INSTRUMENT</a></th><td>Max number of playing notes per instrument.</td></tr><tr><th><a href="code/__DEFINES/instruments.html#define/INSTRUMENT_DISTANCE_FALLOFF_BUFF">INSTRUMENT_DISTANCE_FALLOFF_BUFF</a></th><td>Distance multiplier that makes us not be impacted by 3d sound as much. This is a multiplier so lower it is the closer we will pretend to be to people.</td></tr><tr><th><a href="code/__DEFINES/instruments.html#define/INSTRUMENT_DISTANCE_NO_FALLOFF">INSTRUMENT_DISTANCE_NO_FALLOFF</a></th><td>How many tiles instruments have no falloff for</td></tr><tr><th><a href="code/__DEFINES/instruments.html#define/INSTRUMENT_MAX_TOTAL_SUSTAIN">INSTRUMENT_MAX_TOTAL_SUSTAIN</a></th><td>Maximum length a note should ever go for</td></tr><tr><th><a href="code/__DEFINES/instruments.html#define/INSTRUMENT_EXP_FALLOFF_MIN">INSTRUMENT_EXP_FALLOFF_MIN</a></th><td>These are per decisecond.</td></tr><tr><th><a href="code/__DEFINES/instruments.html#define/INSTRUMENT_MIN_SUSTAIN_DROPOFF">INSTRUMENT_MIN_SUSTAIN_DROPOFF</a></th><td>Minimum volume for when the sound is considered dead.</td></tr></table><h2 id="define">Define Details</h2><h3 id="define/CHANNELS_PER_INSTRUMENT"><aside class="declaration">#define </aside>CHANNELS_PER_INSTRUMENT <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/instruments.dm#L7"><img src="git.png" width="16" height="16" title="code/__DEFINES/instruments.dm 7"></a></h3><p>Max number of playing notes per instrument.</p><h3 id="define/INSTRUMENT_DISTANCE_FALLOFF_BUFF"><aside class="declaration">#define </aside>INSTRUMENT_DISTANCE_FALLOFF_BUFF <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/instruments.dm#L10"><img src="git.png" width="16" height="16" title="code/__DEFINES/instruments.dm 10"></a></h3><p>Distance multiplier that makes us not be impacted by 3d sound as much. This is a multiplier so lower it is the closer we will pretend to be to people.</p><h3 id="define/INSTRUMENT_DISTANCE_NO_FALLOFF"><aside class="declaration">#define </aside>INSTRUMENT_DISTANCE_NO_FALLOFF <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/instruments.dm#L12"><img src="git.png" width="16" height="16" title="code/__DEFINES/instruments.dm 12"></a></h3><p>How many tiles instruments have no falloff for</p><h3 id="define/INSTRUMENT_EXP_FALLOFF_MIN"><aside class="declaration">#define </aside>INSTRUMENT_EXP_FALLOFF_MIN <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/instruments.dm#L18"><img src="git.png" width="16" height="16" title="code/__DEFINES/instruments.dm 18"></a></h3><p>These are per decisecond.</p><h3 id="define/INSTRUMENT_MAX_TOTAL_SUSTAIN"><aside class="declaration">#define </aside>INSTRUMENT_MAX_TOTAL_SUSTAIN <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/instruments.dm#L15"><img src="git.png" width="16" height="16" title="code/__DEFINES/instruments.dm 15"></a></h3><p>Maximum length a note should ever go for</p><h3 id="define/INSTRUMENT_MIN_SUSTAIN_DROPOFF"><aside class="declaration">#define </aside>INSTRUMENT_MIN_SUSTAIN_DROPOFF <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/instruments.dm#L22"><img src="git.png" width="16" height="16" title="code/__DEFINES/instruments.dm 22"></a></h3><p>Minimum volume for when the sound is considered dead.</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>