benilla-re systems structs docs

EnableAmbienceHandler

function · sound · primitive

Address
0x460ab0 · 31 bytes, up to 0x460ace
Meaning
Passes EnableAmbience being 0 to the ambience switch; returns 1
Confidence
verified, proof one
Name from
the community database (idb)
Finding
sound/interface#cvar-handlers

Finding: CVar handlers in sound: the interface

MusicVolume, SoundVolume, MasterVolume and AmbienceVolume parse a float and call the engine's setter. SoundVolume is ignored while a server object sound holds the duck (objects#the-duck). EnableMusic pauses the zone music with the inverse of its value, then starts the glue music with an empty name when on or stops it at once when off. SoundReverb stores its byte and, when off, applies the default reverb. MasterSoundEffects passes value == 0 to the engine. EnableAmbience passes value == 0 to the ambience switch.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 2

Calls and jumps by a bare address, from tables/calls.tsv.