benilla-re systems structs docs

ZoneAmbienceShutdown

function · sound · orchestration

Address
0x460a40 · 20 bytes, up to 0x460a53
Meaning
Forgets the area's ambience row and destroys the ambience loop
Confidence
verified, proof one
Finding
sound/interface#world-start-and-teardown

Finding: World start and teardown in sound: the interface

SndInterfaceWorldInitialize registers the world CVars and, unless switch 0x1a is set, starts the zone music, finds the ghost and underwater ambiences, builds the water and doodad emitters, registers the frame handler, sizes the zone-intro times, builds the emote sounds, and sets the night flag and the ambience. 0x457cc0 unregisters the frame handler and stops the zone music, the water sounds, the ambience, the doodad emitters and the zone intro, frees the emote tables and releases the server object sounds. 0x4576c0, at exit, resets the reverb and the submerged and ghost states, stops the glue and credits music, unloads the definitions and shuts the engine.

The derivation is in the doc.

Callers 1

Callees 1

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