benilla-re systems structs docs

MusicVolumeHandler

function · sound · orchestration

Address
0x4573e0 · 27 bytes, up to 0x4573fa
Meaning
Sets the Music category volume from the CVar's float; 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.