SndInterfaceWorldShutdown
function · sound · primitive
- Address
0x457cc0· 150 bytes, up to0x457d55- Meaning
- Stops the world's music, ambience, water, emitters and intro, frees emote tables and server sounds
- 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
- ClientDestroyGame client
Callees 10
- CmdLineGetBool unassigned
- EventUnregister core
- FreeEmoteSounds sound
- ZoneMusicShutdown sound
- ZoneAmbienceShutdown sound
- ZoneIntroShutdown sound
- EmitterShutdown sound
- WaterSoundShutdown sound
- SMemFree storm
- Sound::Stop sound
Calls and jumps by a bare address, from tables/calls.tsv.