doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
idSoundEmitterLocal Class Reference

#include <snd_local.h>

Inheritance diagram for idSoundEmitterLocal:
idSoundEmitter

Public Member Functions

 idSoundEmitterLocal (void)
 
virtual ~idSoundEmitterLocal (void)
 
virtual void Free (bool immediate)
 
virtual void UpdateEmitter (const idVec3 &origin, int listenerId, const soundShaderParms_t *parms)
 
virtual int StartSound (const idSoundShader *shader, const s_channelType channel, float diversity=0, int shaderFlags=0, bool allowSlow=true)
 
virtual void ModifySound (const s_channelType channel, const soundShaderParms_t *parms)
 
virtual void StopSound (const s_channelType channel)
 
virtual void FadeSound (const s_channelType channel, float to, float over)
 
virtual bool CurrentlyPlaying (void) const
 
virtual float CurrentAmplitude (void)
 
virtual int Index (void) const
 
void Clear (void)
 
void OverrideParms (const soundShaderParms_t *base, const soundShaderParms_t *over, soundShaderParms_t *out)
 
void CheckForCompletion (int current44kHzTime)
 
void Spatialize (idVec3 listenerPos, int listenerArea, idRenderWorld *rw)
 
idSlowChannel GetSlowChannel (const idSoundChannel *chan)
 
void SetSlowChannel (const idSoundChannel *chan, idSlowChannel slow)
 
void ResetSlowChannel (const idSoundChannel *chan)
 
- Public Member Functions inherited from idSoundEmitter
virtual ~idSoundEmitter (void)
 

Public Attributes

idSoundWorldLocalsoundWorld
 
int index
 
removeStatus_t removeStatus
 
idVec3 origin
 
int listenerId
 
soundShaderParms_t parms
 
float maxDistance
 
int lastValidPortalArea
 
bool playing
 
bool hasShakes
 
idVec3 spatializedOrigin
 
float realDistance
 
float distance
 
idSoundChannel channels [SOUND_MAX_CHANNELS]
 
idSlowChannel slowChannels [SOUND_MAX_CHANNELS]
 
int ampTime
 
float amplitude
 

Detailed Description

Definition at line 434 of file snd_local.h.

Constructor & Destructor Documentation

idSoundEmitterLocal::idSoundEmitterLocal ( void  )

Definition at line 343 of file snd_emitter.cpp.

idSoundEmitterLocal::~idSoundEmitterLocal ( void  )
virtual

Definition at line 353 of file snd_emitter.cpp.

Member Function Documentation

void idSoundEmitterLocal::CheckForCompletion ( int  current44kHzTime)

Definition at line 432 of file snd_emitter.cpp.

void idSoundEmitterLocal::Clear ( void  )

Definition at line 362 of file snd_emitter.cpp.

float idSoundEmitterLocal::CurrentAmplitude ( void  )
virtual

Implements idSoundEmitter.

Definition at line 1049 of file snd_emitter.cpp.

bool idSoundEmitterLocal::CurrentlyPlaying ( void  ) const
virtual

Implements idSoundEmitter.

Definition at line 1028 of file snd_emitter.cpp.

void idSoundEmitterLocal::FadeSound ( const s_channelType  channel,
float  to,
float  over 
)
virtual

Implements idSoundEmitter.

Definition at line 972 of file snd_emitter.cpp.

void idSoundEmitterLocal::Free ( bool  immediate)
virtual

Implements idSoundEmitter.

Definition at line 625 of file snd_emitter.cpp.

idSlowChannel idSoundEmitterLocal::GetSlowChannel ( const idSoundChannel chan)

Definition at line 1077 of file snd_emitter.cpp.

int idSoundEmitterLocal::Index ( void  ) const
virtual

Implements idSoundEmitter.

Definition at line 1037 of file snd_emitter.cpp.

void idSoundEmitterLocal::ModifySound ( const s_channelType  channel,
const soundShaderParms_t parms 
)
virtual

Implements idSoundEmitter.

Definition at line 876 of file snd_emitter.cpp.

void idSoundEmitterLocal::OverrideParms ( const soundShaderParms_t base,
const soundShaderParms_t over,
soundShaderParms_t out 
)

Definition at line 390 of file snd_emitter.cpp.

void idSoundEmitterLocal::ResetSlowChannel ( const idSoundChannel chan)

Definition at line 1095 of file snd_emitter.cpp.

void idSoundEmitterLocal::SetSlowChannel ( const idSoundChannel chan,
idSlowChannel  slow 
)

Definition at line 1086 of file snd_emitter.cpp.

void idSoundEmitterLocal::Spatialize ( idVec3  listenerPos,
int  listenerArea,
idRenderWorld rw 
)

Definition at line 513 of file snd_emitter.cpp.

int idSoundEmitterLocal::StartSound ( const idSoundShader shader,
const s_channelType  channel,
float  diversity = 0,
int  shaderFlags = 0,
bool  allowSlow = true 
)
virtual

Implements idSoundEmitter.

Definition at line 654 of file snd_emitter.cpp.

void idSoundEmitterLocal::StopSound ( const s_channelType  channel)
virtual

Implements idSoundEmitter.

Definition at line 921 of file snd_emitter.cpp.

void idSoundEmitterLocal::UpdateEmitter ( const idVec3 origin,
int  listenerId,
const soundShaderParms_t parms 
)
virtual

Implements idSoundEmitter.

Definition at line 593 of file snd_emitter.cpp.

Member Data Documentation

float idSoundEmitterLocal::amplitude

Definition at line 512 of file snd_local.h.

int idSoundEmitterLocal::ampTime

Definition at line 511 of file snd_local.h.

idSoundChannel idSoundEmitterLocal::channels[SOUND_MAX_CHANNELS]

Definition at line 499 of file snd_local.h.

float idSoundEmitterLocal::distance

Definition at line 494 of file snd_local.h.

bool idSoundEmitterLocal::hasShakes

Definition at line 490 of file snd_local.h.

int idSoundEmitterLocal::index

Definition at line 478 of file snd_local.h.

int idSoundEmitterLocal::lastValidPortalArea

Definition at line 488 of file snd_local.h.

int idSoundEmitterLocal::listenerId

Definition at line 482 of file snd_local.h.

float idSoundEmitterLocal::maxDistance

Definition at line 487 of file snd_local.h.

idVec3 idSoundEmitterLocal::origin

Definition at line 481 of file snd_local.h.

soundShaderParms_t idSoundEmitterLocal::parms

Definition at line 483 of file snd_local.h.

bool idSoundEmitterLocal::playing

Definition at line 489 of file snd_local.h.

float idSoundEmitterLocal::realDistance

Definition at line 493 of file snd_local.h.

removeStatus_t idSoundEmitterLocal::removeStatus

Definition at line 479 of file snd_local.h.

idSlowChannel idSoundEmitterLocal::slowChannels[SOUND_MAX_CHANNELS]

Definition at line 501 of file snd_local.h.

idSoundWorldLocal* idSoundEmitterLocal::soundWorld

Definition at line 476 of file snd_local.h.

idVec3 idSoundEmitterLocal::spatializedOrigin

Definition at line 491 of file snd_local.h.


The documentation for this class was generated from the following files: