Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
CSoundGroup Class Reference

#include <SoundGroup.h>

Collaboration diagram for CSoundGroup:

Public Member Functions

 CSoundGroup (const VfsPath &pathnameXML)
 
 CSoundGroup ()
 
 ~CSoundGroup ()
 
void PlayNext (const CVector3D &position, entity_id_t source)
 
float RadiansOffCenter (const CVector3D &position, bool &onScreen, float &itemRollOff)
 
bool LoadSoundGroup (const VfsPath &pathnameXML)
 
void Reload ()
 
void ReleaseGroup ()
 
void Update (float TimeSinceLastFrame)
 
void SetFlag (int flag)
 
bool TestFlag (int flag)
 

Private Member Functions

 NONCOPYABLE (CSoundGroup)
 
void SetGain (float gain)
 
void UploadPropertiesAndPlay (size_t theIndex, const CVector3D &position, entity_id_t source)
 
void SetDefaultValues ()
 

Private Attributes

std::vector< CSoundData * > m_SoundGroups
 
u32 m_Seed
 
std::vector< std::wstring > m_Filenames
 
VfsPath m_Filepath
 
size_t m_CurrentSoundIndex
 
float m_ConeInnerAngle
 
float m_ConeOuterAngle
 
float m_ConeOuterGain
 
float m_CurTime
 
float m_Decay
 
float m_Gain
 
float m_GainUpper
 
float m_GainLower
 
float m_MinDist
 
float m_MaxDist
 
float m_MaxStereoAngle
 
float m_IntensityThreshold
 
float m_Pitch
 
float m_PitchLower
 
float m_PitchUpper
 
float m_Priority
 
u8 m_Flags
 

Constructor & Destructor Documentation

◆ CSoundGroup() [1/2]

CSoundGroup::CSoundGroup ( const VfsPath pathnameXML)

◆ CSoundGroup() [2/2]

CSoundGroup::CSoundGroup ( )

◆ ~CSoundGroup()

CSoundGroup::~CSoundGroup ( )

Member Function Documentation

◆ LoadSoundGroup()

bool CSoundGroup::LoadSoundGroup ( const VfsPath pathnameXML)

◆ NONCOPYABLE()

CSoundGroup::NONCOPYABLE ( CSoundGroup  )
private

◆ PlayNext()

void CSoundGroup::PlayNext ( const CVector3D position,
entity_id_t  source 
)

◆ RadiansOffCenter()

float CSoundGroup::RadiansOffCenter ( const CVector3D position,
bool &  onScreen,
float &  itemRollOff 
)

◆ ReleaseGroup()

void CSoundGroup::ReleaseGroup ( )

◆ Reload()

void CSoundGroup::Reload ( )

◆ SetDefaultValues()

void CSoundGroup::SetDefaultValues ( )
private

◆ SetFlag()

void CSoundGroup::SetFlag ( int  flag)
inline

◆ SetGain()

void CSoundGroup::SetGain ( float  gain)
private

◆ TestFlag()

bool CSoundGroup::TestFlag ( int  flag)
inline

◆ Update()

void CSoundGroup::Update ( float  TimeSinceLastFrame)

◆ UploadPropertiesAndPlay()

void CSoundGroup::UploadPropertiesAndPlay ( size_t  theIndex,
const CVector3D position,
entity_id_t  source 
)
private

Member Data Documentation

◆ m_ConeInnerAngle

float CSoundGroup::m_ConeInnerAngle
private

◆ m_ConeOuterAngle

float CSoundGroup::m_ConeOuterAngle
private

◆ m_ConeOuterGain

float CSoundGroup::m_ConeOuterGain
private

◆ m_CurrentSoundIndex

size_t CSoundGroup::m_CurrentSoundIndex
private

◆ m_CurTime

float CSoundGroup::m_CurTime
private

◆ m_Decay

float CSoundGroup::m_Decay
private

◆ m_Filenames

std::vector<std::wstring> CSoundGroup::m_Filenames
private

◆ m_Filepath

VfsPath CSoundGroup::m_Filepath
private

◆ m_Flags

u8 CSoundGroup::m_Flags
private

◆ m_Gain

float CSoundGroup::m_Gain
private

◆ m_GainLower

float CSoundGroup::m_GainLower
private

◆ m_GainUpper

float CSoundGroup::m_GainUpper
private

◆ m_IntensityThreshold

float CSoundGroup::m_IntensityThreshold
private

◆ m_MaxDist

float CSoundGroup::m_MaxDist
private

◆ m_MaxStereoAngle

float CSoundGroup::m_MaxStereoAngle
private

◆ m_MinDist

float CSoundGroup::m_MinDist
private

◆ m_Pitch

float CSoundGroup::m_Pitch
private

◆ m_PitchLower

float CSoundGroup::m_PitchLower
private

◆ m_PitchUpper

float CSoundGroup::m_PitchUpper
private

◆ m_Priority

float CSoundGroup::m_Priority
private

◆ m_Seed

u32 CSoundGroup::m_Seed
private

◆ m_SoundGroups

std::vector<CSoundData*> CSoundGroup::m_SoundGroups
private

The documentation for this class was generated from the following files: