code/game/sound.dm
/sound | Default override for echo |
---|---|
/proc/playsound | playsound is a proc used to play a 3D sound in a specific range. This uses SOUND_RANGE + extra_range to determine that. |
/proc/get_rand_frequency | get a random frequency. |
/proc/get_rand_frequency_low_range | get_rand_frequency but lower range. |
/proc/get_sfx | Used to convert a SFX define into a .ogg so we can add some variance to sounds. If soundin is already a .ogg, we simply return it |