Odamex
Setting the Standard in Multiplayer Doom
server/src/s_sound.cpp File Reference

Data Structures

struct  AmbientSound

Functions

fixed_t P_AproxDistance2 (fixed_t *listener, fixed_t x, fixed_t y)
fixed_t P_AproxDistance2 (AActor *listener, fixed_t x, fixed_t y)
void S_NoiseDebug (void)
void S_Init (float sfxVolume, float musicVolume)
void S_Start (void)
void S_SoundID (int channel, int sound_id, float volume, int attenuation)
void S_SoundID (AActor *ent, int channel, int sound_id, float volume, int attenuation)
void S_SoundID (fixed_t *pt, int channel, int sound_id, float volume, int attenuation)
void S_LoopedSoundID (AActor *ent, int channel, int sound_id, float volume, int attenuation)
void S_LoopedSoundID (fixed_t *pt, int channel, int sound_id, float volume, int attenuation)
void S_PlatSound (fixed_t *pt, int channel, const char *name, float volume, int attenuation)
void S_Sound (int channel, const char *name, float volume, int attenuation)
void S_Sound (AActor *ent, int channel, const char *name, float volume, int attenuation)
void S_Sound (fixed_t *pt, int channel, const char *name, float volume, int attenuation)
void S_LoopedSound (AActor *ent, int channel, const char *name, float volume, int attenuation)
void S_LoopedSound (fixed_t *pt, int channel, const char *name, float volume, int attenuation)
void S_Sound (fixed_t x, fixed_t y, int channel, const char *name, float volume, int attenuation)
bool S_StopSoundID (int sound_id)
void S_StopSound (fixed_t *pt)
void S_StopSound (fixed_t *pt, int channel)
void S_StopSound (AActor *ent, int channel)
void S_StopAllChannels (void)
void S_RelinkSound (AActor *from, AActor *to)
bool S_GetSoundPlayingInfo (fixed_t *pt, int sound_id)
bool S_GetSoundPlayingInfo (AActor *ent, int sound_id)
void S_PauseSound (void)
void S_ResumeSound (void)
void S_UpdateSounds (void *listener_p)
void S_SetMusicVolume (float volume)
void S_SetSfxVolume (float volume)
void S_StartMusic (const char *m_id)
void S_ChangeMusic (std::string musicname, int looping)
void S_StopMusic (void)
void S_HashSounds (void)
int S_FindSound (const char *logicalname)
int S_FindSoundByLump (int lump)
int S_AddSoundLump (char *logicalname, int lump)
void S_ClearSoundLumps ()
int S_AddSound (char *logicalname, char *lumpname)
void S_ParseSndInfo (void)
void A_Ambient (AActor *actor)
void S_ActivateAmbient (AActor *origin, int ambient)

Variables

int sfx_sawup
int sfx_sawidl
int sfx_sawful
int sfx_sawhit
int sfx_itemup
int sfx_tink
int sfx_plasma
int sfx_chngun
int sfx_chainguy
int sfx_empty
sfxinfo_tS_sfx
int numsfx

Function Documentation

void A_Ambient ( AActor actor)
fixed_t P_AproxDistance2 ( fixed_t listener,
fixed_t  x,
fixed_t  y 
)
fixed_t P_AproxDistance2 ( AActor listener,
fixed_t  x,
fixed_t  y 
)
void S_ActivateAmbient ( AActor origin,
int  ambient 
)
int S_AddSound ( char *  logicalname,
char *  lumpname 
)
int S_AddSoundLump ( char *  logicalname,
int  lump 
)
void S_ChangeMusic ( std::string  musicname,
int  looping 
)
void S_ClearSoundLumps ( void  )
int S_FindSound ( const char *  logicalname)
int S_FindSoundByLump ( int  lump)
bool S_GetSoundPlayingInfo ( fixed_t pt,
int  sound_id 
)
bool S_GetSoundPlayingInfo ( AActor ent,
int  sound_id 
)
void S_HashSounds ( void  )
void S_Init ( float  sfxVolume,
float  musicVolume 
)
void S_LoopedSound ( AActor ent,
int  channel,
const char *  name,
float  volume,
int  attenuation 
)
void S_LoopedSound ( fixed_t pt,
int  channel,
const char *  name,
float  volume,
int  attenuation 
)
void S_LoopedSoundID ( AActor ent,
int  channel,
int  sound_id,
float  volume,
int  attenuation 
)
void S_LoopedSoundID ( fixed_t pt,
int  channel,
int  sound_id,
float  volume,
int  attenuation 
)
void S_NoiseDebug ( void  )
void S_ParseSndInfo ( void  )
void S_PauseSound ( void  )
void S_PlatSound ( fixed_t pt,
int  channel,
const char *  name,
float  volume,
int  attenuation 
)
void S_RelinkSound ( AActor from,
AActor to 
)
void S_ResumeSound ( void  )
void S_SetMusicVolume ( float  volume)
void S_SetSfxVolume ( float  volume)
void S_Sound ( AActor ent,
int  channel,
const char *  name,
float  volume,
int  attenuation 
)
void S_Sound ( fixed_t pt,
int  channel,
const char *  name,
float  volume,
int  attenuation 
)
void S_Sound ( fixed_t  x,
fixed_t  y,
int  channel,
const char *  name,
float  volume,
int  attenuation 
)
void S_Sound ( int  channel,
const char *  name,
float  volume,
int  attenuation 
)
void S_SoundID ( AActor ent,
int  channel,
int  sound_id,
float  volume,
int  attenuation 
)
void S_SoundID ( fixed_t pt,
int  channel,
int  sound_id,
float  volume,
int  attenuation 
)
void S_SoundID ( int  channel,
int  sound_id,
float  volume,
int  attenuation 
)
void S_Start ( void  )
void S_StartMusic ( const char *  m_id)
void S_StopAllChannels ( void  )
void S_StopMusic ( void  )
void S_StopSound ( AActor ent,
int  channel 
)
void S_StopSound ( fixed_t pt,
int  channel 
)
void S_StopSound ( fixed_t pt)
bool S_StopSoundID ( int  sound_id)
void S_UpdateSounds ( void *  listener_p)

Variable Documentation

int numsfx
int sfx_empty
int sfx_sawup
int sfx_tink
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends