|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
NLSOUND::CComplexSound Class Reference#include <complex_sound.h>
Inheritance diagram for NLSOUND::CComplexSound:
List of all members.
Member Enumeration Documentation
enum NLSOUND::CComplexSound::TPATTERN_MODE
|
|
Constructor & Destructor Documentation
NLSOUND::CComplexSound::CComplexSound |
( |
|
) |
|
|
NLSOUND::CComplexSound::~CComplexSound |
( |
|
) |
[virtual] |
|
Member Function Documentation
bool NLSOUND::CComplexSound::doFadeIn |
( |
|
) |
[inline] |
|
bool NLSOUND::CComplexSound::doFadeOut |
( |
|
) |
[inline] |
|
const std::vector<uint32>& NLSOUND::CComplexSound::getDelaySeq |
( |
|
) |
const [inline] |
|
uint32 NLSOUND::CComplexSound::getDuration |
( |
|
) |
[virtual] |
|
|
Return the length of the sound in ms.
Implements NLSOUND::CSound.
Definition at line 56 of file complex_sound.cpp.
References _DelaySeq, _Duration, _DurationValid, _Sounds, _SoundSeq, _TicksPerSeconds, _XFadeLenght, NLSOUND::CSound::CSound, MODE_ALL_IN_ONE, MODE_CHAINED, MODE_SPARSE, sint32, and uint32. |
uint32 NLSOUND::CComplexSound::getFadeLenght |
( |
|
) |
const [inline] |
|
float NLSOUND::CComplexSound::getMaxDistance |
( |
|
) |
const [private, virtual] |
|
TPATTERN_MODE NLSOUND::CComplexSound::getPatternMode |
( |
|
) |
[inline] |
|
const std::string& NLSOUND::CComplexSound::getSound |
( |
uint |
index |
) |
const [inline] |
|
const std::vector<std::string>& NLSOUND::CComplexSound::getSounds |
( |
|
) |
const [inline] |
|
const std::vector<uint32>& NLSOUND::CComplexSound::getSoundSeq |
( |
|
) |
const [inline] |
|
TSOUND_TYPE NLSOUND::CComplexSound::getSoundType |
( |
|
) |
[inline, virtual] |
|
void NLSOUND::CComplexSound::getSubSoundList |
( |
std::vector< std::pair< std::string, CSound * > > & |
subsounds |
) |
const [virtual] |
|
virtual float NLSOUND::CComplexSound::getTicksPerSecond |
( |
|
) |
[inline, virtual] |
|
void NLSOUND::CComplexSound::importForm |
( |
const std::string & |
filename, |
|
|
NLGEORGES::UFormElm & |
formRoot |
|
) |
[virtual] |
|
|
Load the sound parameters from georges' form.
Reimplemented from NLSOUND::CSound.
Definition at line 212 of file complex_sound.cpp.
References _DelaySeq, _DoFadeIn, _DoFadeOut, _DurationValid, _PatternMode, _Sounds, _SoundSeq, _TicksPerSeconds, _XFadeLenght, NLGEORGES::UFormElm::getArraySize, NLGEORGES::UFormElm::getArrayValue, NLGEORGES::UFormElm::getDfnName, NLGEORGES::UFormElm::getNodeByName, NLGEORGES::UFormElm::getValueByName, MODE_ALL_IN_ONE, MODE_CHAINED, MODE_SPARSE, nlassert, nlassertex, and parseSequence. |
bool NLSOUND::CComplexSound::isDetailed |
( |
|
) |
const [virtual] |
|
void NLSOUND::CComplexSound::parseSequence |
( |
const std::string & |
str, |
|
|
std::vector< uint32 > & |
seq, |
|
|
uint |
scale = 1 |
|
) |
[private] |
|
|
Reimplemented from NLSOUND::CSound.
Definition at line 194 of file complex_sound.cpp.
References _DelaySeq, _DoFadeIn, _DoFadeOut, _DurationValid, _PatternMode, _Sounds, _SoundSeq, _TicksPerSeconds, _XFadeLenght, NLMISC::IStream::isReading, s, NLMISC::IStream::serial, NLMISC::IStream::serialCont, and NLMISC::IStream::serialEnum. |
void NLSOUND::CComplexSound::setPatternMode |
( |
TPATTERN_MODE |
patternMode |
) |
[inline] |
|
virtual void NLSOUND::CComplexSound::setTicksPerSecond |
( |
float |
ticks |
) |
[inline, virtual] |
|
Member Data Documentation
std::vector<uint32> NLSOUND::CComplexSound::_DelaySeq [private]
|
|
bool NLSOUND::CComplexSound::_DoFadeIn [private]
|
|
bool NLSOUND::CComplexSound::_DoFadeOut [private]
|
|
uint32 NLSOUND::CComplexSound::_Duration [private]
|
|
bool NLSOUND::CComplexSound::_DurationValid [private]
|
|
bool NLSOUND::CComplexSound::_MaxDistValid [private]
|
|
std::vector<std::string> NLSOUND::CComplexSound::_Sounds [private]
|
|
std::vector<uint32> NLSOUND::CComplexSound::_SoundSeq [private]
|
|
float NLSOUND::CComplexSound::_TicksPerSeconds [private]
|
|
uint32 NLSOUND::CComplexSound::_XFadeLenght [private]
|
|
The documentation for this class was generated from the following files:
|
|