Home
last modified time | relevance | path

Searched refs:eventInfo (Results 1 – 3 of 3) sorted by relevance

/NW4C-2.0.3/sources/libraries/snd/
Dsnd_AnimSoundImpl.cpp112 const AnimSoundFile::EventInfo* eventInfo = event->GetEventInfo(); in ConvertSoundId() local
113 if ( ! eventInfo ) in ConvertSoundId()
118 const char* soundLabel = eventInfo->GetSoundLabel(); in ConvertSoundId()
125 const_cast<AnimSoundFile::EventInfo*>(eventInfo)->placeForSoundId = in ConvertSoundId()
303 const AnimSoundFile::EventInfo* eventInfo = event.GetEventInfo(); in UpdateTrigger() local
304 if ( eventInfo == NULL ) in UpdateTrigger()
311 if ( eventInfo->playDirection == AnimSoundFile::EventInfo::PLAY_DIRECTION_BOTH || in UpdateTrigger()
313 eventInfo->playDirection == AnimSoundFile::EventInfo::PLAY_DIRECTION_FORWARD ) || in UpdateTrigger()
315 eventInfo->playDirection == AnimSoundFile::EventInfo::PLAY_DIRECTION_BACKWARD ) in UpdateTrigger()
330 StopEvent( *eventInfo ); in UpdateTrigger()
[all …]
Dsnd_AnimEventPlayer.cpp54 const AnimSoundFile::EventInfo& eventInfo, bool isStopWhenFinalize ) in InitParam() argument
57 if ( eventInfo.volume < 128 ) in InitParam()
59 m_Handle.SetVolume( static_cast<f32>( eventInfo.volume ) / 128.0f ); in InitParam()
61 if ( eventInfo.pitch != 1.0f ) in InitParam()
63 m_Handle.SetPitch( eventInfo.pitch ); in InitParam()
65 m_pEventInfo = &eventInfo; in InitParam()
67 isStopWhenFinalize && (! eventInfo.IsNotStopSoundWhenAnimationFinish()); in InitParam()
80 const AnimSoundFile::EventInfo& eventInfo, in StartEvent() argument
86 if ( eventInfo.placeForSoundId == SoundArchive::INVALID_ID ) in StartEvent()
88 const char* soundLabel = eventInfo.GetSoundLabel(); in StartEvent()
[all …]
/NW4C-2.0.3/include/nw/snd/
Dsnd_AnimEventPlayer.h41 bool IsPlaying( const AnimSoundFile::EventInfo& eventInfo ) const in IsPlaying() argument
43 return &eventInfo == m_pEventInfo; in IsPlaying()
58 const AnimSoundFile::EventInfo& eventInfo,
62 const AnimSoundFile::EventInfo& eventInfo,
65 void StopEvent( const AnimSoundFile::EventInfo& eventInfo ) in StopEvent() argument
67 if ( m_pEventInfo == &eventInfo ) in StopEvent()
77 void InitParam( const AnimSoundFile::EventInfo& eventInfo, bool isStopWhenFinalize );