|
Wing Commander II
Reconstructed Win32 source (1996)
|
#include <game.h>
Public Member Functions | |
| void | ix_system_sound_set_volume (unsigned short volume) |
| void | ix_system_sound_set_pan (unsigned short pan) |
| void | ix_sound_set_delete_on_stop (int enabled) |
| 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_sound_unlink_from_free_list (void) |
| 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 273 of file sound.cpp.
References basePriority, flags, g_1_pActiveSoundList, g_1_pWaitingSoundList, 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, previous, priority, and volume.
Referenced by ix_system_sound_set_frequency(), ix_system_sound_set_pan(), ix_system_sound_set_priority(), and ix_system_sound_set_volume().
| void IxSound::ix_sound_set_delete_on_stop | ( | int | enabled | ) |
Definition at line 352 of file sound.cpp.
References flags, and IX_SOUND_DELETE_ON_STOP.
Referenced by PlayRawSpeechBuffer(), and playWAVE().
| void IxSound::ix_sound_set_delete_on_stop | ( | int | enabled | ) |
Definition at line 57 of file sound.cpp.
References flags, g_1_pFreeSoundHead, IX_SOUND_ALLOCATED, next, and previous.
Referenced by ix_system_delete_sound().
Definition at line 44 of file sound.cpp.
References ix_system_sound_init().
Definition at line 51 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 17 of file sound.cpp.
References basePriority, flags, g_1_pFreeSoundHead, IX_SOUND_ALLOCATED, next, pan, 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 84 of file sound.cpp.
References flags, IxSample::frequency, IX_SOUND_FREQUENCY_DIRTY, ix_sound_reprioritise(), pitchOffset, and sample.
Referenced by ix_system_sound_set_pan().
| void IxSound::ix_system_sound_set_pan | ( | unsigned short | newPan | ) |
| void IxSound::ix_system_sound_set_pan | ( | unsigned short | pan | ) |
Definition at line 77 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 96 of file sound.cpp.
References basePriority, and ix_sound_reprioritise().
Referenced by ix_system_sound_set_pan().
| void IxSound::ix_system_sound_set_volume | ( | unsigned short | newVolume | ) |
| void IxSound::ix_system_sound_set_volume | ( | unsigned short | volume | ) |
Definition at line 69 of file sound.cpp.
References flags, ix_sound_reprioritise(), IX_SOUND_VOLUME_DIRTY, and volume.
Referenced by PlayRawSpeechBuffer(), PlaySnowStaticSound(), and playWAVE().
| unsigned char IxSound::basePriority |
Definition at line 121 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 138 of file game.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 123 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 120 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 118 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 122 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 117 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 139 of file game.h.
Referenced by ix_sound_get_sample(), 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 115 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 116 of file ix.h.
Referenced by ix_sound_start(), ix_system_service_sounds(), and ix_system_sound_init().
| int IxSound::voice |
Definition at line 114 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 119 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().