- Port hit-order Lua stand-ins (unit tokens, tooltips, combat log filters and current entry, bags/containers, quest POI, minimap, titles, world states, trade, group roles, runes, mirror timers, saved-variable registration, Quit) - LoadAddOn: real add-on loading (Blizzard_CombatLog etc. now load) - CombatLogEntry::PushEvent: COMBAT_LOG_EVENT arguments - World map chain: SetMapToCurrentZone, SetMap, GetWorldPosition, landmarks, overlays, highlight, zones, dungeon levels, player position - OpenArchives: locale index was off by one (enUS read the koKR DBC slot, leaving zone/map names empty) - Zone/area sound chain, invisible units (spline mode read size), raid/bag crash fixes, stand-in console, waystone icon for all executables - Coding-rule cleanups: statics/includes at the top, event enums, Lua _Scripts layout Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
54 lines
1.4 KiB
C++
54 lines
1.4 KiB
C++
#ifndef WOW_SOURCE_SOUNDINTERFACE_SOUNDINTERFACE2ZONESOUNDS_H
|
|
#define WOW_SOURCE_SOUNDINTERFACE_SOUNDINTERFACE2ZONESOUNDS_H
|
|
|
|
#include <cstddef>
|
|
#include <cstdint>
|
|
#include "Engine/Source/Storm/H/stpl.h"
|
|
#include "WoW/Source/SoundInterface/SoundInterface2.h"
|
|
|
|
class SE2SoundKitProperties;
|
|
|
|
struct SI2ZoneSoundInfo {
|
|
/* 0000 */ int32_t m_music[2];
|
|
/* 0008 */ int32_t m_silenceMin[2];
|
|
/* 0010 */ int32_t m_silenceMax[2];
|
|
/* 0018 */ int32_t m_ambience[2];
|
|
/* 0020 */ int32_t m_reverb;
|
|
|
|
SI2ZoneSoundInfo();
|
|
~SI2ZoneSoundInfo();
|
|
};
|
|
|
|
struct SI2ZoneMusicTimer {
|
|
/* 0000 */ int32_t m_soundKitId;
|
|
/* 0004 */ int32_t m_silenceMin;
|
|
/* 0008 */ int32_t m_silenceMax;
|
|
};
|
|
|
|
class SI2ZoneSound {
|
|
public:
|
|
/* 0000 */ int32_t m_soundKitId;
|
|
/* 0004 */ int32_t m_type;
|
|
/* 0008 */ SE2SoundKitObject m_object;
|
|
|
|
SI2ZoneSound();
|
|
};
|
|
|
|
class SI2ZoneSoundPair {
|
|
public:
|
|
/* 0000 */ SI2ZoneSound m_sounds[2];
|
|
/* 0038 */ uint32_t m_current;
|
|
/* 003C */ uint32_t m_next;
|
|
|
|
SI2ZoneSoundPair();
|
|
~SI2ZoneSoundPair();
|
|
int32_t GetCurrentType();
|
|
int32_t GetPlayingSoundKitId();
|
|
bool IsPlaying();
|
|
void SetFinishedCallback(void (*callback)(SESound*, void*), void* param);
|
|
void Stop(int32_t immediate);
|
|
int32_t Transition(int32_t soundKitId, int32_t type, SE2SoundKitProperties* properties, int32_t immediate, float fadeOutTime);
|
|
};
|
|
|
|
#endif
|