Home
last modified time | relevance | path

Searched refs:handle (Results 1 – 19 of 19) sorted by relevance

/NW4C-1.2.23/sources/libraries/lyt/
Dlyt_Arc.cpp102 bool ARCInitHandle(void* arcStart, ARCHandle* handle) in ARCInitHandle() argument
113 handle->archiveStartAddr = arcStart; in ARCInitHandle()
114handle->FSTStart = FSTEntries = reinterpret_cast<FSTEntry*>((u32)arcStart + arcHeader->fstStart); in ARCInitHandle()
115 handle->fileStart = (void*)((u32)arcStart + arcHeader->fileStart); in ARCInitHandle()
119 handle->entryNum = nextDir(FSTEntries, 0); in ARCInitHandle()
120 handle->FSTStringStart = reinterpret_cast<wchar_t*>(&(FSTEntries[handle->entryNum])); in ARCInitHandle()
121 handle->FSTLength = (u32)arcHeader->fstSize; in ARCInitHandle()
122 handle->currDir = 0; in ARCInitHandle()
127 bool ARCOpen(ARCHandle* handle, const wchar_t* fileName, ARCFileInfo* af) in ARCOpen() argument
132 NN_ASSERTMSG( handle, "ARCOpen(): NULL pointer is specified to ARCHandle structure" ); in ARCOpen()
[all …]
/NW4C-1.2.23/sources/libraries/snd/
Dsnd_SoundStartable.cpp82 SoundHandle* handle, in StartSound() argument
88 handle, in StartSound()
94 handle->StartPrepared(); in StartSound()
111 SoundHandle* handle, in StartSound() argument
122 return StartSound( handle, soundId, startInfo ); in StartSound()
137 SoundHandle* handle, in HoldSound() argument
142 if ( handle->IsAttachedSound() && ( handle->GetId() == soundId ) ) in HoldSound()
144 handle->detail_GetAttachedSound()->SetAutoStopCounter( 1 ); in HoldSound()
150 handle, in HoldSound()
156 handle->StartPrepared(); in HoldSound()
[all …]
Dsnd_SequenceSoundHandle.cpp34 SequenceSoundHandle::SequenceSoundHandle( SoundHandle* handle ) in SequenceSoundHandle() argument
37 if ( handle == NULL ) return; in SequenceSoundHandle()
40 if ( !handle->IsAttachedSound() ) return; in SequenceSoundHandle()
43 ut::DynamicCast<internal::SequenceSound*>( handle->detail_GetAttachedSound() ); in SequenceSoundHandle()
Dsnd_WaveSoundHandle.cpp24 WaveSoundHandle::WaveSoundHandle( SoundHandle* handle ) in WaveSoundHandle() argument
27 if ( handle == NULL ) return; in WaveSoundHandle()
30 if ( !handle->IsAttachedSound() ) return; in WaveSoundHandle()
33 ut::DynamicCast<internal::WaveSound*>( handle->detail_GetAttachedSound() ); in WaveSoundHandle()
Dsnd_Sound3DActor.cpp116 SoundHandle* handle, in SetupSound() argument
169 handle, in SetupSound()
176 if ( handle->IsAttachedSound() ) in SetupSound()
178 handle->detail_GetAttachedSound()->SetPanCurve( PAN_CURVE_SINCOS ); in SetupSound()
260 void Sound3DActor::ClearUpdateCallback( SoundHandle& handle ) in ClearUpdateCallback() argument
262 if ( handle.IsAttachedSound() ) in ClearUpdateCallback()
264 handle.detail_GetAttachedSound()->ClearAmbientArgUpdateCallback(); in ClearUpdateCallback()
Dsnd_SoundHandle.cpp32 void SoundHandle::detail_DuplicateHandle( SoundHandle* handle ) in detail_DuplicateHandle() argument
36 if ( handle == NULL ) in detail_DuplicateHandle()
42 if ( handle->IsAttachedSound() == false ) in detail_DuplicateHandle()
47 internal::BasicSound* sound = handle->detail_GetAttachedSound(); in detail_DuplicateHandle()
Dsnd_SoundActor.cpp190 SoundHandle* handle, in SetupSound() argument
205 handle, in SetupSound()
217 SoundHandle* handle, in detail_SetupSoundWithAmbientInfo() argument
233 handle, in detail_SetupSoundWithAmbientInfo()
255 SoundHandle* handle, in detail_SetupSound() argument
265 handle, in detail_SetupSound()
Dsnd_SoundArchivePlayer.cpp720 SoundHandle* handle, in detail_SetupSound() argument
727 handle, in detail_SetupSound()
750 SoundHandle* handle, in detail_SetupSoundImpl() argument
758 NW_NULL_ASSERT( handle ); in detail_SetupSoundImpl()
768 if ( handle->IsAttachedSound() ) { in detail_SetupSoundImpl()
769 handle->DetachSound(); in detail_SetupSoundImpl()
1083 handle->detail_AttachSound( sound ); in detail_SetupSoundImpl()
/NW4C-1.2.23/include/nw/lyt/
Dlyt_Arc.h61 ARCHandle* handle; member
69 ARCHandle* handle; member
77 ARCHandle* handle; member
84 bool ARCInitHandle(void* arcStart, ARCHandle* handle);
85 bool ARCOpen(ARCHandle* handle, const wchar_t* fileName, ARCFileInfo* af);
86 bool ARCFastOpen(ARCHandle* handle, s32 entrynum, ARCFileInfo* af);
87 s32 ARCConvertPathToEntrynum(ARCHandle* handle, const wchar_t* pathPtr);
88 bool ARCEntrynumIsDir( const ARCHandle * handle, s32 entrynum );
94 bool ARCChangeDir(ARCHandle* handle, const wchar_t* dirName);
95 bool ARCGetCurrentDir(ARCHandle* handle, wchar_t* path, u32 maxlen);
[all …]
/NW4C-1.2.23/include/nw/snd/
Dsnd_SoundPlayer.h463 SoundHandle handle; in ForEachSound() local
464 handle.detail_AttachSoundAsTempHandle( &( *curItr ) ); in ForEachSound()
465 function( handle ); in ForEachSound()
466 if ( handle.IsAttachedSound() ) itr++; in ForEachSound()
477 SoundHandle handle; in ForEachSound() local
478 handle.detail_AttachSoundAsTempHandle( &( *curItr ) ); in ForEachSound()
479 function( handle ); in ForEachSound()
496 SoundHandle handle; in ForEachSoundPriorityOrder() local
497 handle.detail_AttachSoundAsTempHandle( &( *curItr ) ); in ForEachSoundPriorityOrder()
498 function( handle ); in ForEachSoundPriorityOrder()
[all …]
Dsnd_ExternalSoundPlayer.h87 SoundHandle handle; in ForEachSound() local
88 handle.detail_AttachSoundAsTempHandle( &( *curItr ) ); in ForEachSound()
89 function( handle ); in ForEachSound()
90 if ( handle.IsAttachedSound() ) itr++; in ForEachSound()
101 SoundHandle handle; in ForEachSound() local
102 handle.detail_AttachSoundAsTempHandle( &( *curItr ) ); in ForEachSound()
103 function( handle ); in ForEachSound()
Dsnd_SoundActor.h243 SoundHandle* handle,
448 SoundHandle* handle,
457 SoundHandle* handle,
Dsnd_Sound3DActor.h271 SoundHandle* handle,
281 static void ClearUpdateCallback( SoundHandle& handle );
Dsnd_SoundArchivePlayer.h438 SoundHandle* handle,
465 SoundHandle* handle,
Dsnd_WaveSoundHandle.h87 WaveSoundHandle( SoundHandle* handle );
Dsnd_SoundStartable.h559 SoundHandle* handle,
Dsnd_SoundHandle.h633 void detail_DuplicateHandle( SoundHandle* handle );
Dsnd_SequenceSoundHandle.h84 SequenceSoundHandle( SoundHandle* handle );
/NW4C-1.2.23/demos/snd/effect/sources/
Dmain.cpp231 nw::snd::SequenceSoundHandle handle( &m_Handle ); in OnUpdatePad() local
232 handle.SetFxSend( nw::snd::AUX_BUS_A, 0.3f ); in OnUpdatePad()
240 nw::snd::WaveSoundHandle handle( &m_Handle ); in OnUpdatePad() local
241 handle.SetFxSend( nw::snd::AUX_BUS_A, 0.3f ); in OnUpdatePad()
249 nw::snd::StreamSoundHandle handle( &m_Handle ); in OnUpdatePad() local
250 handle.SetFxSend( nw::snd::AUX_BUS_A, 0.3f ); in OnUpdatePad()