18#ifndef INCLUDED_SOUNDGROUP_H
19#define INCLUDED_SOUNDGROUP_H
68 void Update(
float TimeSinceLastFrame);
eSndGrpFlags
Definition: SoundGroup.h:32
@ eRandPitch
Definition: SoundGroup.h:35
@ eLoop
Definition: SoundGroup.h:36
@ eOmnipresent
Definition: SoundGroup.h:37
@ eDistanceless
Definition: SoundGroup.h:38
@ eOwnerOnly
Definition: SoundGroup.h:39
@ eRandOrder
Definition: SoundGroup.h:33
@ eRandGain
Definition: SoundGroup.h:34
Definition: SoundGroup.h:45
u32 m_Seed
Definition: SoundGroup.h:86
float m_Decay
Definition: SoundGroup.h:97
float m_GainUpper
Definition: SoundGroup.h:99
void UploadPropertiesAndPlay(size_t theIndex, const CVector3D &position, entity_id_t source)
Definition: SoundGroup.cpp:190
float m_MinDist
Definition: SoundGroup.h:102
bool LoadSoundGroup(const VfsPath &pathnameXML)
Definition: SoundGroup.cpp:306
CSoundGroup()
Definition: SoundGroup.cpp:119
float m_PitchUpper
Definition: SoundGroup.h:110
void Reload()
Definition: SoundGroup.cpp:268
void SetGain(float gain)
Definition: SoundGroup.cpp:83
void ReleaseGroup()
Definition: SoundGroup.cpp:292
float m_MaxStereoAngle
Definition: SoundGroup.h:105
void SetFlag(int flag)
Definition: SoundGroup.h:71
bool TestFlag(int flag)
Definition: SoundGroup.h:74
float m_Pitch
Definition: SoundGroup.h:108
std::vector< std::wstring > m_Filenames
Definition: SoundGroup.h:88
void PlayNext(const CVector3D &position, entity_id_t source)
Definition: SoundGroup.cpp:259
std::vector< CSoundData * > m_SoundGroups
Definition: SoundGroup.h:84
float m_Priority
Definition: SoundGroup.h:111
void Update(float TimeSinceLastFrame)
Definition: SoundGroup.cpp:302
float m_CurTime
Definition: SoundGroup.h:96
VfsPath m_Filepath
Definition: SoundGroup.h:90
float m_IntensityThreshold
Definition: SoundGroup.h:107
float RadiansOffCenter(const CVector3D &position, bool &onScreen, float &itemRollOff)
Definition: SoundGroup.cpp:136
float m_MaxDist
Definition: SoundGroup.h:103
float m_PitchLower
Definition: SoundGroup.h:109
void SetDefaultValues()
Definition: SoundGroup.cpp:88
float m_Gain
Definition: SoundGroup.h:98
float m_ConeOuterAngle
Definition: SoundGroup.h:93
~CSoundGroup()
Definition: SoundGroup.cpp:130
float m_ConeInnerAngle
Definition: SoundGroup.h:92
size_t m_CurrentSoundIndex
Definition: SoundGroup.h:91
float m_ConeOuterGain
Definition: SoundGroup.h:94
u8 m_Flags
Definition: SoundGroup.h:113
float m_GainLower
Definition: SoundGroup.h:100
Definition: Vector3D.h:31
u32 entity_id_t
Entity ID type.
Definition: Entity.h:29
uint8_t u8
Definition: types.h:37
uint32_t u32
Definition: types.h:39