#include <DynamicAudioEventInfo.h>
Inherits AudioEventInfo.
Additional Inherited Members | |
Public Attributes inherited from AudioEventInfo | |
| AsciiString | m_audioName |
| AsciiString | m_filename |
| Real | m_volume |
| Real | m_volumeShift |
| Real | m_minVolume |
| Real | m_pitchShiftMin |
| Real | m_pitchShiftMax |
| Int | m_delayMin |
| Int | m_delayMax |
| Int | m_limit |
| Int | m_loopCount |
| AudioPriority | m_priority |
| UnsignedInt | m_type |
| UnsignedInt | m_control |
| std::vector< AsciiString > | m_soundsMorning |
| std::vector< AsciiString > | m_sounds |
| std::vector< AsciiString > | m_soundsNight |
| std::vector< AsciiString > | m_soundsEvening |
| std::vector< AsciiString > | m_attackSounds |
| std::vector< AsciiString > | m_decaySounds |
| Real | m_lowPassFreq |
| Real | m_minDistance |
| Real | m_maxDistance |
| AudioType | m_soundType |
Static Public Attributes inherited from AudioEventInfo | |
| static const FieldParse | m_audioEventInfo [] |
| the parse table for INI definition | |
Protected Member Functions inherited from MemoryPoolObject | |
| virtual | ~MemoryPoolObject () |
| void * | operator new (size_t s) |
| void | operator delete (void *p) |
| virtual MemoryPool * | getObjectMemoryPool ()=0 |
Definition at line 44 of file DynamicAudioEventInfo.h.
| DynamicAudioEventInfo::DynamicAudioEventInfo | ( | ) |
Default constructor
Definition at line 35 of file DynamicAudioEventInfo.cpp.
|
explicit |
Initialize AudioEventInfo portion of DynamicAudioEventInfo as copy; leave remainder uninitialized
Definition at line 40 of file DynamicAudioEventInfo.cpp.
|
virtual |
Override; cheap dynamic casting
Reimplemented from AudioEventInfo.
Definition at line 56 of file DynamicAudioEventInfo.cpp.
|
virtual |
Override; cheap dynamic casting
Reimplemented from AudioEventInfo.
Definition at line 62 of file DynamicAudioEventInfo.cpp.
| const AsciiString & DynamicAudioEventInfo::getOriginalName | ( | ) | const |
Get the name of the INI entry this event info was derived from
Definition at line 139 of file DynamicAudioEventInfo.cpp.
|
virtual |
Override; dynamic audio events are used only for level-specific stuff at the moment
Reimplemented from AudioEventInfo.
Definition at line 50 of file DynamicAudioEventInfo.cpp.
| void DynamicAudioEventInfo::overrideAudioName | ( | const AsciiString & | newName | ) |
Override; change the name of this audio event
Definition at line 69 of file DynamicAudioEventInfo.cpp.
| void DynamicAudioEventInfo::overrideLoopCount | ( | Int | newLoopCount | ) |
Override; change the looping properties of this audio event
Definition at line 91 of file DynamicAudioEventInfo.cpp.
| void DynamicAudioEventInfo::overrideLoopFlag | ( | Bool | newLoopFlag | ) |
Override; change the looping property of this audio event
Definition at line 80 of file DynamicAudioEventInfo.cpp.
| void DynamicAudioEventInfo::overrideMaxRange | ( | Real | newMaxRange | ) |
Override; change the name of this audio event
Definition at line 123 of file DynamicAudioEventInfo.cpp.
| void DynamicAudioEventInfo::overrideMinRange | ( | Real | newMinRange | ) |
Override; change the name of this audio event
Definition at line 115 of file DynamicAudioEventInfo.cpp.
| void DynamicAudioEventInfo::overrideMinVolume | ( | Real | newMinVolume | ) |
Override; change the minimum volume of this audio event
Definition at line 107 of file DynamicAudioEventInfo.cpp.
| void DynamicAudioEventInfo::overridePriority | ( | AudioPriority | newPriority | ) |
Override; change the name of this audio event
Definition at line 131 of file DynamicAudioEventInfo.cpp.
| void DynamicAudioEventInfo::overrideVolume | ( | Real | newVolume | ) |
Override; change the volume of this audio event
Definition at line 99 of file DynamicAudioEventInfo.cpp.
|
inline |
Query: was overrideAudioName called?
Definition at line 112 of file DynamicAudioEventInfo.h.
|
inline |
Query: was overrideLoopCount called?
Definition at line 124 of file DynamicAudioEventInfo.h.
|
inline |
Query: was overrideLoopFlag called?
Definition at line 118 of file DynamicAudioEventInfo.h.
|
inline |
Query: was overrideMaxRange called?
Definition at line 148 of file DynamicAudioEventInfo.h.
|
inline |
Query: was overrideMinRange called?
Definition at line 142 of file DynamicAudioEventInfo.h.
|
inline |
Query: was overrideMinVolume called?
Definition at line 136 of file DynamicAudioEventInfo.h.
|
inline |
Query: was overridePriority called?
Definition at line 154 of file DynamicAudioEventInfo.h.
|
inline |
Query: was overrideVolume called?
Definition at line 130 of file DynamicAudioEventInfo.h.
| void DynamicAudioEventInfo::xferNoName | ( | Xfer * | xfer | ) |
Transfer all overridden fields except the customized name
Definition at line 152 of file DynamicAudioEventInfo.cpp.