Files
wowdecomp/WoW/Source/SoundInterface/SoundInterface2Water.cpp
T
SatyandClaude Opus 5.5 9243e0507a SoundInterface: port SI2 into WoW/Source/SoundInterface
232 SI2 functions (0x4C5900-0x4D2780 plus the DSP, voice chat, zone sound,
advanced kit property and internal code), in files named after the 12340
__FILE__ strings (SoundInterface2*.cpp) and best-guess splits after the
Mac SI3 files. Replaces the _Triage shells. External WoW callees are
declared only (GameTime, DBClient, Unit_C, Item_C, ObjectMgrClient,
ChatFrame, GameUI, CGWorldStateInfo, ComSatClient, SFile name overloads)
and tracked as open items.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
2026-09-27 03:07:31 +02:00

16 lines
467 B
C++

#include <cstddef>
#include <cstdint>
#include "WoW/Source/SoundInterface/SoundInterface2Water.h"
#include "Engine/Source/Event/Event.h"
#include "WoW/Source/SoundInterface/SoundInterface2.h"
// STATIC: 0x00B4AF5C
static SI2WaterSound s_nearestWaterSounds[1];
// VERIFY: cf194119 auto
// OFFSET: 0x004D2750
void SI2::WaterShutdown() {
SI2::StopSound(&s_nearestWaterSounds[0].m_object, 0, -1.0f, 1);
EventUnregister(EVENT_ID_IDLE, SI2::HandleWaterSounds);
}