SndInterfaceShutdown
function · sound · primitive
- Address
0x4576c0· 162 bytes, up to0x457761- Meaning
- Resets reverb and states, stops glue and credits music, unloads the definitions and shuts the engine
- 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
- DestroyClientSystems client
Callees 5
- UnlinkFootstepLink sound
- ResetWorldReverb sound
- StopGlueAndCreditsMusic sound
- UnloadSoundDefinitions sound
- Sound::Shutdown sound
Calls and jumps by a bare address, from tables/calls.tsv.