sound
Class CSoundGroup
in SoundGroup.h
in SoundGroup.cpp
- class CSoundGroup
filenames
private vector< CStr > filenames;
m_ConeInnerAngle
private float m_ConeInnerAngle;
m_ConeOuterAngle
private float m_ConeOuterAngle;
m_ConeOuterGain
private float m_ConeOuterGain;
m_CurTime
private float m_CurTime;
m_Decay
private float m_Decay;
m_filepath
private CStr m_filepath;
m_Flags
private unsigned char m_Flags;
m_Gain
private float m_Gain;
m_GainLower
private float m_GainLower;
m_GainUpper
private float m_GainUpper;
m_hReplacement
private Handle m_hReplacement;
m_index
private size_t m_index;
m_Intensity
private size_t m_Intensity;
m_intensity_file
private CStr m_intensity_file;
m_IntensityThreshold
private size_t m_IntensityThreshold;
m_Pitch
private float m_Pitch;
m_PitchLower
private float m_PitchLower;
m_PitchUpper
private float m_PitchUpper;
m_Priority
private float m_Priority;
m_TimeWindow
private float m_TimeWindow;
playtimes
private vector< float > playtimes;
snd_group
private vector< Handle > snd_group;
CSoundGroup
public CSoundGroup( const char* XMLfile );
CSoundGroup
public CSoundGroup( void );
CSoundGroup
CSoundGroup();
- =========================================================================
File : SoundGroup.cpp
Project : 0 A.D.
Description : Loads up a group of sound files with shared properties,
and provides a simple interface for playing them.
=========================================================================
~CSoundGroup
public ~CSoundGroup( void );
~CSoundGroup
~CSoundGroup();
LoadSoundGroup
public bool LoadSoundGroup( const char* XMLfile );
PlayNext
public void PlayNext();
ReleaseGroup
public void ReleaseGroup();
Reload
public void Reload();
SetFlag
public inline void SetFlag( int flag );
TestFlag
public inline bool TestFlag( int flag );
Update
public void Update( float TimeSinceLastFrame );