benilla-re systems structs docs

EnableMusicHandler

function · sound · orchestration

Address
0x457490 · 59 bytes, up to 0x4574ca
Meaning
Pauses the zone music by the inverse of EnableMusic, then restarts or stops the glue music; 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 4

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