|
102 Dalmatians: Puppies to the Rescue
Decompilation Source Reference | GitLab repository
|
#include "pcdogs/actor/types.h"#include "pcdogs/audio/types.h"#include "pcdogs/level/types.h"#include "pcdogs/math/types.h"#include "pcdogs/package/types.h"#include "pcdogs/types/common.h"Go to the source code of this file.
Functions | |
| int32_t | Audio_ResolveActorSoundIndex (struct Pkg_ActorTemplate const *actor_template, int32_t encoded_sound_selector) |
| void | Audio_PlayLevelSoundIndexAtPosition (int32_t sound_index, struct Math_Vec3I32 *position) |
| void | Audio_StopOrUpdateSoundsAtPosition (int32_t sound_index_or_mode, struct Math_Vec3I32 *position, char looping_only) |
| void | Audio_TriggerMusicTransition (int32_t track_index, int32_t transition_mode, struct Level_TransitionTimingData const *transition_timing, int32_t volume_percent) |
| uint8_t | Audio_CanRegisterCollisionSound (struct Audio_CollisionSoundCooldownEntry *entries, struct Actor_State *other_actor, int32_t sound_key) |
| uint8_t | Audio_RegisterCollisionSoundEvent (struct Actor_State *actor, struct Actor_State *other_actor, int32_t sound_key, uint32_t packed_impact_cooldown) |
| void | Audio_InitializeSystem (void) |
| void | Audio_ShutdownSystem (void) |
| void | Audio_ReleaseSoundHandle (int32_t slot_index) |
| void | Audio_StopAllSamples (void) |
| void | Audio_StopAllSounds (void) |
| void | Audio_InitializeLevelAudio (void) |
| void | Audio_StartSoundPlayback (int32_t slot_index, uint32_t const *riff_data, int32_t pitch_q12, int32_t volume, int32_t pan, char loop_flag) |
| int32_t | Audio_IsSamplePlaying (int32_t slot_index) |
| void | Audio_SetSamplePan (int32_t slot_index, int32_t pan_fp12) |
| void | Audio_SetSampleVolume (int32_t slot_index, int32_t volume_fp12) |
| void | Audio_SetSamplePitch (int32_t slot_index, int32_t pitch_scale_q12) |
| void | Audio_OpenStream (struct Audio_MusicStreamRecord *stream_record) |
| int32_t | Audio_IsStreamPlaying (struct Audio_MusicStreamRecord const *stream_record) |
| void | Audio_SetStreamVolume (int32_t volume_fp12) |
| void | Audio_PlayMusicStream (struct Audio_MusicStreamRecord *stream_record, int32_t volume_fp12) |
| void | Audio_PauseStream (void) |
| void | Audio_ResumeStream (void) |
| void | Audio_CloseMusicStream (void) |
| int32_t | Audio_GetEnabledFlag (void) |
| void | Audio_SetEnabledFlag (uint8_t enabled) |
| int32_t | Audio_SetMusicFadeTarget (int32_t target_volume, int16_t frame_count) |
| void | Audio_FadeOutMusic (void) |
| void | Audio_FadeInMusic (void) |
| void | Audio_StopMusicAndPause (void) |
| void | Audio_ResetMusicState (struct Audio_MusicStreamRecord *stream_record) |
| void | Audio_StartMusicWithFade (struct Audio_MusicStreamRecord *stream_record) |
| int32_t | Audio_CheckStreamStatus (struct Audio_MusicStreamRecord const *stream_record) |
| void | Audio_ProcessMusicFade (void) |
| void | Audio_StopMusicAndPauseThunk (void) |
| void | Audio_FixupSoundDefinitions (struct Audio_SoundDefinition *sound_defs, int32_t count, void *sample_data_base) |
| void | Audio_StopSound (int32_t slot_index) |
| uint8_t | Audio_FreeSoundSlot (int32_t slot_index, BOOL clear_resource_flag) |
| int32_t | Audio_PlaySound3D (struct Audio_SoundDefinition *sound_def, struct Math_Vec3I32 *position) |
| int32_t | Audio_AllocateSoundSlot (struct Audio_SoundDefinition *sound_def) |
| BOOL | Audio_UpdateSoundPosition (int32_t slot_index) |
| int32_t | Audio_FindSoundByType (int32_t slot_index, struct Audio_SoundDefinition *sound_def, struct Math_Vec3I32 *position) |
| void | Audio_UpdateSoundChannels (int32_t channel_mask) |
| void | Audio_ProcessSoundQueue (void) |
| uint8_t | Audio_CalculateSpatialVolumeAndPan (struct Math_Vec3I32 *sound_position, uint32_t audible_radius, int32_t *out_volume_q12, int16_t *out_pan_angle) |
| void | Audio_PauseAllSounds (void) |
| void | Audio_ResumeAllSounds (void) |
| int32_t Audio_AllocateSoundSlot | ( | struct Audio_SoundDefinition * | sound_def | ) |
Definition at line 145 of file channels.c.
| uint8_t Audio_CalculateSpatialVolumeAndPan | ( | struct Math_Vec3I32 * | sound_position, |
| uint32_t | audible_radius, | ||
| int32_t * | out_volume_q12, | ||
| int16_t * | out_pan_angle ) |
| uint8_t Audio_CanRegisterCollisionSound | ( | struct Audio_CollisionSoundCooldownEntry * | entries, |
| struct Actor_State * | other_actor, | ||
| int32_t | sound_key ) |
| int32_t Audio_CheckStreamStatus | ( | struct Audio_MusicStreamRecord const * | stream_record | ) |
| int32_t Audio_FindSoundByType | ( | int32_t | slot_index, |
| struct Audio_SoundDefinition * | sound_def, | ||
| struct Math_Vec3I32 * | position ) |
Definition at line 214 of file channels.c.
| void Audio_FixupSoundDefinitions | ( | struct Audio_SoundDefinition * | sound_defs, |
| int32_t | count, | ||
| void * | sample_data_base ) |
| uint8_t Audio_FreeSoundSlot | ( | int32_t | slot_index, |
| BOOL | clear_resource_flag ) |
Definition at line 97 of file channels.c.
| int32_t Audio_IsStreamPlaying | ( | struct Audio_MusicStreamRecord const * | stream_record | ) |
| void Audio_OpenStream | ( | struct Audio_MusicStreamRecord * | stream_record | ) |
| void Audio_PauseAllSounds | ( | void | ) |
Definition at line 525 of file channels.c.
| void Audio_PlayLevelSoundIndexAtPosition | ( | int32_t | sound_index, |
| struct Math_Vec3I32 * | position ) |
| void Audio_PlayMusicStream | ( | struct Audio_MusicStreamRecord * | stream_record, |
| int32_t | volume_fp12 ) |
| int32_t Audio_PlaySound3D | ( | struct Audio_SoundDefinition * | sound_def, |
| struct Math_Vec3I32 * | position ) |
| void Audio_ProcessSoundQueue | ( | void | ) |
Definition at line 321 of file channels.c.
| uint8_t Audio_RegisterCollisionSoundEvent | ( | struct Actor_State * | actor, |
| struct Actor_State * | other_actor, | ||
| int32_t | sound_key, | ||
| uint32_t | packed_impact_cooldown ) |
| void Audio_ReleaseSoundHandle | ( | int32_t | slot_index | ) |
Definition at line 27 of file channels.c.
| void Audio_ResetMusicState | ( | struct Audio_MusicStreamRecord * | stream_record | ) |
| int32_t Audio_ResolveActorSoundIndex | ( | struct Pkg_ActorTemplate const * | actor_template, |
| int32_t | encoded_sound_selector ) |
| void Audio_ResumeAllSounds | ( | void | ) |
Definition at line 546 of file channels.c.
| int32_t Audio_SetMusicFadeTarget | ( | int32_t | target_volume, |
| int16_t | frame_count ) |
| void Audio_SetSamplePan | ( | int32_t | slot_index, |
| int32_t | pan_fp12 ) |
| void Audio_SetSamplePitch | ( | int32_t | slot_index, |
| int32_t | pitch_scale_q12 ) |
| void Audio_SetSampleVolume | ( | int32_t | slot_index, |
| int32_t | volume_fp12 ) |
| void Audio_StartMusicWithFade | ( | struct Audio_MusicStreamRecord * | stream_record | ) |
| void Audio_StartSoundPlayback | ( | int32_t | slot_index, |
| uint32_t const * | riff_data, | ||
| int32_t | pitch_q12, | ||
| int32_t | volume, | ||
| int32_t | pan, | ||
| char | loop_flag ) |
Definition at line 51 of file channels.c.
| void Audio_StopAllSounds | ( | void | ) |
Definition at line 39 of file channels.c.
| void Audio_StopOrUpdateSoundsAtPosition | ( | int32_t | sound_index_or_mode, |
| struct Math_Vec3I32 * | position, | ||
| char | looping_only ) |
| void Audio_StopSound | ( | int32_t | slot_index | ) |
Definition at line 89 of file channels.c.
| void Audio_TriggerMusicTransition | ( | int32_t | track_index, |
| int32_t | transition_mode, | ||
| struct Level_TransitionTimingData const * | transition_timing, | ||
| int32_t | volume_percent ) |
| void Audio_UpdateSoundChannels | ( | int32_t | channel_mask | ) |
Definition at line 275 of file channels.c.