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
idSoundWorldLocal Class Reference

#include <snd_local.h>

Inheritance diagram for idSoundWorldLocal:
idSoundWorld

Public Member Functions

virtual ~idSoundWorldLocal (void)
 
virtual void ClearAllSoundEmitters (void)
 
virtual void StopAllSounds (void)
 
virtual idSoundEmitterAllocSoundEmitter (void)
 
virtual idSoundEmitterEmitterForIndex (int index)
 
virtual float CurrentShakeAmplitudeForPosition (const int time, const idVec3 &listererPosition)
 
virtual void PlaceListener (const idVec3 &origin, const idMat3 &axis, const int listenerId, const int gameTime, const idStr &areaName)
 
virtual void FadeSoundClasses (const int soundClass, const float to, const float over)
 
virtual void StartWritingDemo (idDemoFile *demo)
 
virtual void StopWritingDemo (void)
 
virtual void ProcessDemoCommand (idDemoFile *readDemo)
 
virtual void PlayShaderDirectly (const char *name, int channel=-1)
 
virtual void Pause (void)
 
virtual void UnPause (void)
 
virtual bool IsPaused (void)
 
virtual void AVIOpen (const char *path, const char *name)
 
virtual void AVIClose (void)
 
virtual void WriteToSaveGame (idFile *savefile)
 
virtual void ReadFromSaveGame (idFile *savefile)
 
virtual void ReadFromSaveGameSoundChannel (idFile *saveGame, idSoundChannel *ch)
 
virtual void ReadFromSaveGameSoundShaderParams (idFile *saveGame, soundShaderParms_t *params)
 
virtual void WriteToSaveGameSoundChannel (idFile *saveGame, idSoundChannel *ch)
 
virtual void WriteToSaveGameSoundShaderParams (idFile *saveGame, soundShaderParms_t *params)
 
virtual void SetSlowmo (bool active)
 
virtual void SetSlowmoSpeed (float speed)
 
virtual void SetEnviroSuit (bool active)
 
 idSoundWorldLocal (void)
 
void Shutdown (void)
 
void Init (idRenderWorld *rw)
 
void ClearBuffer (void)
 
void ForegroundUpdate (int currentTime)
 
void OffsetSoundTime (int offset44kHz)
 
idSoundEmitterLocalAllocLocalSoundEmitter ()
 
void CalcEars (int numSpeakers, idVec3 realOrigin, idVec3 listenerPos, idMat3 listenerAxis, float ears[6], float spatialize)
 
void AddChannelContribution (idSoundEmitterLocal *sound, idSoundChannel *chan, int current44kHz, int numSpeakers, float *finalMixBuffer)
 
void MixLoop (int current44kHz, int numSpeakers, float *finalMixBuffer)
 
void AVIUpdate (void)
 
void ResolveOrigin (const int stackDepth, const soundPortalTrace_t *prevStack, const int soundArea, const float dist, const idVec3 &soundOrigin, idSoundEmitterLocal *def)
 
float FindAmplitude (idSoundEmitterLocal *sound, const int localTime, const idVec3 *listenerPosition, const s_channelType channel, bool shakesOnly)
 
- Public Member Functions inherited from idSoundWorld
virtual ~idSoundWorld (void)
 

Public Attributes

idRenderWorldrw
 
idDemoFilewriteDemo
 
idMat3 listenerAxis
 
idVec3 listenerPos
 
int listenerPrivateId
 
idVec3 listenerQU
 
int listenerArea
 
idStr listenerAreaName
 
int listenerEnvironmentID
 
int gameMsec
 
int game44kHz
 
int pause44kHz
 
int lastAVI44kHz
 
idList< idSoundEmitterLocal * > emitters
 
idSoundFade soundClassFade [SOUND_MAX_CLASSES]
 
idFilefpa [6]
 
idStr aviDemoPath
 
idStr aviDemoName
 
idSoundEmitterLocallocalSound
 
bool slowmoActive
 
float slowmoSpeed
 
bool enviroSuitActive
 

Detailed Description

Definition at line 547 of file snd_local.h.

Constructor & Destructor Documentation

idSoundWorldLocal::~idSoundWorldLocal ( void  )
virtual

Definition at line 89 of file snd_world.cpp.

idSoundWorldLocal::idSoundWorldLocal ( void  )

Definition at line 81 of file snd_world.cpp.

Member Function Documentation

void idSoundWorldLocal::AddChannelContribution ( idSoundEmitterLocal sound,
idSoundChannel chan,
int  current44kHz,
int  numSpeakers,
float finalMixBuffer 
)

Definition at line 1570 of file snd_world.cpp.

idSoundEmitterLocal * idSoundWorldLocal::AllocLocalSoundEmitter ( )

Definition at line 144 of file snd_world.cpp.

idSoundEmitter * idSoundWorldLocal::AllocSoundEmitter ( void  )
virtual

Implements idSoundWorld.

Definition at line 194 of file snd_world.cpp.

void idSoundWorldLocal::AVIClose ( void  )
virtual

Implements idSoundWorld.

Definition at line 624 of file snd_world.cpp.

void idSoundWorldLocal::AVIOpen ( const char *  path,
const char *  name 
)
virtual

Implements idSoundWorld.

Definition at line 547 of file snd_world.cpp.

void idSoundWorldLocal::AVIUpdate ( void  )

Definition at line 577 of file snd_world.cpp.

void idSoundWorldLocal::CalcEars ( int  numSpeakers,
idVec3  realOrigin,
idVec3  listenerPos,
idMat3  listenerAxis,
float  ears[6],
float  spatialize 
)

Definition at line 1503 of file snd_world.cpp.

void idSoundWorldLocal::ClearAllSoundEmitters ( void  )
virtual

Implements idSoundWorld.

Definition at line 123 of file snd_world.cpp.

void idSoundWorldLocal::ClearBuffer ( void  )
float idSoundWorldLocal::CurrentShakeAmplitudeForPosition ( const int  time,
const idVec3 listererPosition 
)
virtual

Implements idSoundWorld.

Definition at line 388 of file snd_world.cpp.

idSoundEmitter * idSoundWorldLocal::EmitterForIndex ( int  index)
virtual

Implements idSoundWorld.

Definition at line 1390 of file snd_world.cpp.

void idSoundWorldLocal::FadeSoundClasses ( const int  soundClass,
const float  to,
const float  over 
)
virtual

Implements idSoundWorld.

Definition at line 2085 of file snd_world.cpp.

float idSoundWorldLocal::FindAmplitude ( idSoundEmitterLocal sound,
const int  localTime,
const idVec3 listenerPosition,
const s_channelType  channel,
bool  shakesOnly 
)

Definition at line 1926 of file snd_world.cpp.

void idSoundWorldLocal::ForegroundUpdate ( int  currentTime)

Definition at line 959 of file snd_world.cpp.

void idSoundWorldLocal::Init ( idRenderWorld rw)

Definition at line 39 of file snd_world.cpp.

bool idSoundWorldLocal::IsPaused ( void  )
virtual

Implements idSoundWorld.

Definition at line 1453 of file snd_world.cpp.

void idSoundWorldLocal::MixLoop ( int  current44kHz,
int  numSpeakers,
float finalMixBuffer 
)

Definition at line 420 of file snd_world.cpp.

void idSoundWorldLocal::OffsetSoundTime ( int  offset44kHz)

Definition at line 1070 of file snd_world.cpp.

void idSoundWorldLocal::Pause ( void  )
virtual

Implements idSoundWorld.

Definition at line 1420 of file snd_world.cpp.

void idSoundWorldLocal::PlaceListener ( const idVec3 origin,
const idMat3 axis,
const int  listenerId,
const int  gameTime,
const idStr areaName 
)
virtual

Implements idSoundWorld.

Definition at line 891 of file snd_world.cpp.

void idSoundWorldLocal::PlayShaderDirectly ( const char *  name,
int  channel = -1 
)
virtual

Implements idSoundWorld.

Definition at line 1466 of file snd_world.cpp.

void idSoundWorldLocal::ProcessDemoCommand ( idDemoFile readDemo)
virtual

Implements idSoundWorld.

Definition at line 244 of file snd_world.cpp.

void idSoundWorldLocal::ReadFromSaveGame ( idFile savefile)
virtual

Implements idSoundWorld.

Definition at line 1219 of file snd_world.cpp.

void idSoundWorldLocal::ReadFromSaveGameSoundChannel ( idFile saveGame,
idSoundChannel ch 
)
virtual

Definition at line 1362 of file snd_world.cpp.

void idSoundWorldLocal::ReadFromSaveGameSoundShaderParams ( idFile saveGame,
soundShaderParms_t params 
)
virtual

Definition at line 1348 of file snd_world.cpp.

void idSoundWorldLocal::ResolveOrigin ( const int  stackDepth,
const soundPortalTrace_t prevStack,
const int  soundArea,
const float  dist,
const idVec3 soundOrigin,
idSoundEmitterLocal def 
)

Definition at line 734 of file snd_world.cpp.

void idSoundWorldLocal::SetEnviroSuit ( bool  active)
virtual

Implements idSoundWorld.

Definition at line 2139 of file snd_world.cpp.

void idSoundWorldLocal::SetSlowmo ( bool  active)
virtual

Implements idSoundWorld.

Definition at line 2121 of file snd_world.cpp.

void idSoundWorldLocal::SetSlowmoSpeed ( float  speed)
virtual

Implements idSoundWorld.

Definition at line 2130 of file snd_world.cpp.

void idSoundWorldLocal::Shutdown ( void  )

Definition at line 100 of file snd_world.cpp.

void idSoundWorldLocal::StartWritingDemo ( idDemoFile demo)
virtual

Implements idSoundWorld.

Definition at line 216 of file snd_world.cpp.

void idSoundWorldLocal::StopAllSounds ( void  )
virtual

Implements idSoundWorld.

Definition at line 1407 of file snd_world.cpp.

void idSoundWorldLocal::StopWritingDemo ( void  )
virtual

Implements idSoundWorld.

Definition at line 233 of file snd_world.cpp.

void idSoundWorldLocal::UnPause ( void  )
virtual

Implements idSoundWorld.

Definition at line 1434 of file snd_world.cpp.

void idSoundWorldLocal::WriteToSaveGame ( idFile savefile)
virtual

Implements idSoundWorld.

Definition at line 1094 of file snd_world.cpp.

void idSoundWorldLocal::WriteToSaveGameSoundChannel ( idFile saveGame,
idSoundChannel ch 
)
virtual

Definition at line 1192 of file snd_world.cpp.

void idSoundWorldLocal::WriteToSaveGameSoundShaderParams ( idFile saveGame,
soundShaderParms_t params 
)
virtual

Definition at line 1178 of file snd_world.cpp.

Member Data Documentation

idStr idSoundWorldLocal::aviDemoName

Definition at line 650 of file snd_local.h.

idStr idSoundWorldLocal::aviDemoPath

Definition at line 649 of file snd_local.h.

idList<idSoundEmitterLocal *> idSoundWorldLocal::emitters

Definition at line 643 of file snd_local.h.

bool idSoundWorldLocal::enviroSuitActive

Definition at line 656 of file snd_local.h.

idFile* idSoundWorldLocal::fpa[6]

Definition at line 648 of file snd_local.h.

int idSoundWorldLocal::game44kHz

Definition at line 639 of file snd_local.h.

int idSoundWorldLocal::gameMsec

Definition at line 638 of file snd_local.h.

int idSoundWorldLocal::lastAVI44kHz

Definition at line 641 of file snd_local.h.

int idSoundWorldLocal::listenerArea

Definition at line 634 of file snd_local.h.

idStr idSoundWorldLocal::listenerAreaName

Definition at line 635 of file snd_local.h.

idMat3 idSoundWorldLocal::listenerAxis

Definition at line 630 of file snd_local.h.

int idSoundWorldLocal::listenerEnvironmentID

Definition at line 636 of file snd_local.h.

idVec3 idSoundWorldLocal::listenerPos

Definition at line 631 of file snd_local.h.

int idSoundWorldLocal::listenerPrivateId

Definition at line 632 of file snd_local.h.

idVec3 idSoundWorldLocal::listenerQU

Definition at line 633 of file snd_local.h.

idSoundEmitterLocal* idSoundWorldLocal::localSound

Definition at line 652 of file snd_local.h.

int idSoundWorldLocal::pause44kHz

Definition at line 640 of file snd_local.h.

idRenderWorld* idSoundWorldLocal::rw

Definition at line 627 of file snd_local.h.

bool idSoundWorldLocal::slowmoActive

Definition at line 654 of file snd_local.h.

float idSoundWorldLocal::slowmoSpeed

Definition at line 655 of file snd_local.h.

idSoundFade idSoundWorldLocal::soundClassFade[SOUND_MAX_CLASSES]

Definition at line 645 of file snd_local.h.

idDemoFile* idSoundWorldLocal::writeDemo

Definition at line 628 of file snd_local.h.


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