|
Wing Commander
Reconstructed Win32 source (1996)
|
#include <wc1base.h>
Public Member Functions | |
| void | ix_system_sound_init (IxSample *newSample, unsigned char newBasePriority, unsigned int initialVolume, int newPitchOffset, unsigned short newPan) |
| void | ix_system_sound_construct (IxSample *newSample, unsigned char newBasePriority) |
| void | ix_system_sound_construct_centred (IxSample *newSample) |
| void | ix_system_sound_set_volume (unsigned short newVolume) |
| void | ix_system_sound_set_pan (unsigned short newPan) |
| void | ix_system_sound_set_frequency (int newPitchOffset) |
| void | ix_system_sound_set_priority (unsigned char newBasePriority) |
| void | ix_sound_reprioritise (void) |
| void | ix_sound_set_delete_on_stop (int enabled) |
Data Fields | |
| unsigned int | flags |
| IxSample * | sample |
| int | voice |
| unsigned int | startTime |
| unsigned int | stopTime |
| unsigned int | priority |
| int | pitchOffset |
| unsigned short | volume |
| unsigned short | pan |
| unsigned char | basePriority |
| IxSound * | previous |
| IxSound * | next |
Definition at line 271 of file sound.cpp.
References basePriority, flags, IX_SOUND_HAS_VOICE, IX_SOUND_PLAYING, ix_system_assign_voice(), ix_system_find_highest_waiting(), ix_system_find_lowest_playing(), ix_system_release_voice(), next, pitchOffset, pPlayingSoundList, pQueuedSoundList, previous, priority, and volume.
Referenced by ix_system_sound_set_frequency(), ix_system_sound_set_priority(), and ix_system_sound_set_volume().
| void IxSound::ix_sound_set_delete_on_stop | ( | int | enabled | ) |
Definition at line 346 of file sound.cpp.
References flags, and IX_SOUND_DELETE_ON_STOP.
Referenced by playWAVE().
Definition at line 43 of file sound.cpp.
References ix_system_sound_init().
Definition at line 50 of file sound.cpp.
References ix_system_sound_init().
Referenced by ix_system_new_sound().
| void IxSound::ix_system_sound_init | ( | IxSample * | newSample, |
| unsigned char | newBasePriority, | ||
| unsigned int | initialVolume, | ||
| int | newPitchOffset, | ||
| unsigned short | newPan ) |
Definition at line 16 of file sound.cpp.
References basePriority, flags, IX_SOUND_ALLOCATED, next, pan, pIdleSoundList, pitchOffset, previous, priority, sample, startTime, stopTime, voice, and volume.
Referenced by ix_system_sound_construct(), and ix_system_sound_construct_centred().
| void IxSound::ix_system_sound_set_frequency | ( | int | newPitchOffset | ) |
Definition at line 83 of file sound.cpp.
References flags, IxSample::frequency, IX_SOUND_FREQUENCY_DIRTY, ix_sound_reprioritise(), pitchOffset, and sample.
| void IxSound::ix_system_sound_set_pan | ( | unsigned short | newPan | ) |
Definition at line 76 of file sound.cpp.
References flags, IX_SOUND_PAN_DIRTY, and pan.
| void IxSound::ix_system_sound_set_priority | ( | unsigned char | newBasePriority | ) |
Definition at line 95 of file sound.cpp.
References basePriority, and ix_sound_reprioritise().
| void IxSound::ix_system_sound_set_volume | ( | unsigned short | newVolume | ) |
Definition at line 68 of file sound.cpp.
References flags, ix_sound_reprioritise(), IX_SOUND_VOLUME_DIRTY, and volume.
Referenced by PlaySnowStaticSound(), and playWAVE().
| unsigned char IxSound::basePriority |
Definition at line 160 of file ix.h.
Referenced by ix_sound_reprioritise(), ix_system_sound_init(), and ix_system_sound_set_priority().
| unsigned int IxSound::flags |
Definition at line 62 of file wc1base.h.
Referenced by ix_sound_is_playing(), ix_sound_release(), ix_sound_reprioritise(), ix_sound_set_delete_on_stop(), ix_sound_start(), ix_sound_stop(), ix_sound_unlink_from_free_list(), ix_system_assign_voice(), ix_system_delete_sound(), ix_system_release_voice(), ix_system_service_sounds(), ix_system_sound_init(), ix_system_sound_set_frequency(), ix_system_sound_set_pan(), and ix_system_sound_set_volume().
| IxSound* IxSound::next |
Definition at line 162 of file ix.h.
Referenced by ix_sound_reprioritise(), ix_sound_start(), ix_sound_stop(), ix_sound_unlink_from_free_list(), ix_system_delete_all_sounds(), ix_system_find_highest_waiting(), ix_system_find_lowest_playing(), ix_system_service_sounds(), and ix_system_sound_init().
| unsigned short IxSound::pan |
Definition at line 159 of file ix.h.
Referenced by ix_system_assign_voice(), ix_system_service_sounds(), ix_system_sound_init(), and ix_system_sound_set_pan().
| int IxSound::pitchOffset |
Definition at line 157 of file ix.h.
Referenced by ix_sound_reprioritise(), ix_sound_start(), ix_system_assign_voice(), ix_system_service_sounds(), ix_system_sound_init(), and ix_system_sound_set_frequency().
| IxSound* IxSound::previous |
Definition at line 161 of file ix.h.
Referenced by ix_sound_reprioritise(), ix_sound_start(), ix_sound_stop(), ix_sound_unlink_from_free_list(), and ix_system_sound_init().
| unsigned int IxSound::priority |
Definition at line 156 of file ix.h.
Referenced by ix_sound_reprioritise(), ix_sound_start(), ix_system_find_highest_waiting(), ix_system_find_lowest_playing(), and ix_system_sound_init().
| IxSample * IxSound::sample |
Definition at line 63 of file wc1base.h.
Referenced by FindActiveSoundEntryBySample(), ix_sound_start(), ix_system_assign_voice(), ix_system_service_sounds(), ix_system_sound_init(), and ix_system_sound_set_frequency().
| unsigned int IxSound::startTime |
Definition at line 154 of file ix.h.
Referenced by ix_sound_start(), ix_system_assign_voice(), and ix_system_sound_init().
| unsigned int IxSound::stopTime |
Definition at line 155 of file ix.h.
Referenced by ix_sound_start(), ix_system_service_sounds(), and ix_system_sound_init().
| int IxSound::voice |
Definition at line 153 of file ix.h.
Referenced by ix_sound_release(), ix_system_assign_voice(), ix_system_release_voice(), ix_system_service_sounds(), and ix_system_sound_init().
| unsigned short IxSound::volume |
Definition at line 158 of file ix.h.
Referenced by ix_sound_reprioritise(), ix_system_assign_voice(), ix_system_service_sounds(), ix_system_sound_init(), and ix_system_sound_set_volume().