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

#include <sound.h>

Inheritance diagram for idSoundShader:
idDecl

Public Member Functions

 idSoundShader (void)
 
virtual ~idSoundShader (void)
 
virtual size_t Size (void) const
 
virtual bool SetDefaultText (void)
 
virtual const char * DefaultDefinition (void) const
 
virtual bool Parse (const char *text, const int textLength)
 
virtual void FreeData (void)
 
virtual void List (void) const
 
virtual const char * GetDescription () const
 
virtual float GetMinDistance () const
 
virtual float GetMaxDistance () const
 
virtual const idSoundShaderGetAltSound () const
 
virtual bool HasDefaultSound () const
 
virtual const soundShaderParms_tGetParms () const
 
virtual int GetNumSounds () const
 
virtual const char * GetSound (int index) const
 
virtual bool CheckShakesAndOgg (void) const
 
- Public Member Functions inherited from idDecl
 idDecl (void)
 
virtual ~idDecl (void)
 
const char * GetName (void) const
 
declType_t GetType (void) const
 
declState_t GetState (void) const
 
bool IsImplicit (void) const
 
bool IsValid (void) const
 
void Invalidate (void)
 
void EnsureNotPurged (void)
 
int Index (void) const
 
int GetLineNum (void) const
 
const char * GetFileName (void) const
 
void GetText (char *text) const
 
int GetTextLength (void) const
 
void SetText (const char *text)
 
bool ReplaceSourceFileText (void)
 
bool SourceFileChanged (void) const
 
void MakeDefault (void)
 
bool EverReferenced (void) const
 
virtual void Print (void) const
 

Private Member Functions

void Init (void)
 
bool ParseShader (idLexer &src)
 

Private Attributes

soundShaderParms_t parms
 
bool onDemand
 
int speakerMask
 
const idSoundShaderaltSound
 
idStr desc
 
bool errorDuringParse
 
float leadinVolume
 
idSoundSampleleadins [SOUND_MAX_LIST_WAVS]
 
int numLeadins
 
idSoundSampleentries [SOUND_MAX_LIST_WAVS]
 
int numEntries
 

Friends

class idSoundWorldLocal
 
class idSoundEmitterLocal
 
class idSoundChannel
 
class idSoundCache
 

Additional Inherited Members

- Public Attributes inherited from idDecl
idDeclBasebase
 

Detailed Description

Definition at line 78 of file sound.h.

Constructor & Destructor Documentation

idSoundShader::idSoundShader ( void  )

Definition at line 55 of file snd_shader.cpp.

idSoundShader::~idSoundShader ( void  )
virtual

Definition at line 64 of file snd_shader.cpp.

Member Function Documentation

bool idSoundShader::CheckShakesAndOgg ( void  ) const
virtual

Definition at line 377 of file snd_shader.cpp.

const char * idSoundShader::DefaultDefinition ( void  ) const
virtual

Reimplemented from idDecl.

Definition at line 117 of file snd_shader.cpp.

void idSoundShader::FreeData ( void  )
virtual

Reimplemented from idDecl.

Definition at line 81 of file snd_shader.cpp.

const idSoundShader * idSoundShader::GetAltSound ( void  ) const
virtual

Definition at line 431 of file snd_shader.cpp.

const char * idSoundShader::GetDescription ( void  ) const
virtual

Definition at line 458 of file snd_shader.cpp.

float idSoundShader::GetMaxDistance ( ) const
virtual

Definition at line 449 of file snd_shader.cpp.

float idSoundShader::GetMinDistance ( ) const
virtual

Definition at line 440 of file snd_shader.cpp.

int idSoundShader::GetNumSounds ( ) const
virtual

Definition at line 490 of file snd_shader.cpp.

const soundShaderParms_t * idSoundShader::GetParms ( ) const
virtual

Definition at line 481 of file snd_shader.cpp.

const char * idSoundShader::GetSound ( int  index) const
virtual

Definition at line 499 of file snd_shader.cpp.

bool idSoundShader::HasDefaultSound ( ) const
virtual

Definition at line 467 of file snd_shader.cpp.

void idSoundShader::Init ( void  )
private

Definition at line 40 of file snd_shader.cpp.

void idSoundShader::List ( void  ) const
virtual

Reimplemented from idDecl.

Definition at line 403 of file snd_shader.cpp.

bool idSoundShader::Parse ( const char *  text,
const int  textLength 
)
virtual

Reimplemented from idDecl.

Definition at line 131 of file snd_shader.cpp.

bool idSoundShader::ParseShader ( idLexer src)
private

Definition at line 153 of file snd_shader.cpp.

bool idSoundShader::SetDefaultText ( void  )
virtual

Reimplemented from idDecl.

Definition at line 91 of file snd_shader.cpp.

size_t idSoundShader::Size ( void  ) const
virtual

Reimplemented from idDecl.

Definition at line 72 of file snd_shader.cpp.

Friends And Related Function Documentation

friend class idSoundCache
friend

Definition at line 113 of file sound.h.

friend class idSoundChannel
friend

Definition at line 112 of file sound.h.

friend class idSoundEmitterLocal
friend

Definition at line 111 of file sound.h.

friend class idSoundWorldLocal
friend

Definition at line 110 of file sound.h.

Member Data Documentation

const idSoundShader* idSoundShader::altSound
private

Definition at line 120 of file sound.h.

idStr idSoundShader::desc
private

Definition at line 121 of file sound.h.

idSoundSample* idSoundShader::entries[SOUND_MAX_LIST_WAVS]
private

Definition at line 127 of file sound.h.

bool idSoundShader::errorDuringParse
private

Definition at line 122 of file sound.h.

idSoundSample* idSoundShader::leadins[SOUND_MAX_LIST_WAVS]
private

Definition at line 125 of file sound.h.

float idSoundShader::leadinVolume
private

Definition at line 123 of file sound.h.

int idSoundShader::numEntries
private

Definition at line 128 of file sound.h.

int idSoundShader::numLeadins
private

Definition at line 126 of file sound.h.

bool idSoundShader::onDemand
private

Definition at line 118 of file sound.h.

soundShaderParms_t idSoundShader::parms
private

Definition at line 116 of file sound.h.

int idSoundShader::speakerMask
private

Definition at line 119 of file sound.h.


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