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

#include <snd_local.h>

Public Member Functions

 idSoundCache ()
 
 ~idSoundCache ()
 
idSoundSampleFindSound (const idStr &fname, bool loadOnDemandOnly)
 
const int GetNumObjects (void)
 
const idSoundSampleGetObject (const int index) const
 
void ReloadSounds (bool force)
 
void BeginLevelLoad ()
 
void EndLevelLoad ()
 
void PrintMemInfo (MemInfo_t *mi)
 

Private Attributes

bool insideLevelLoad
 
idList< idSoundSample * > listCache
 

Detailed Description

Definition at line 902 of file snd_local.h.

Constructor & Destructor Documentation

idSoundCache::idSoundCache ( )

Definition at line 47 of file snd_cache.cpp.

idSoundCache::~idSoundCache ( )

Definition at line 60 of file snd_cache.cpp.

Member Function Documentation

void idSoundCache::BeginLevelLoad ( void  )

Definition at line 158 of file snd_cache.cpp.

void idSoundCache::EndLevelLoad ( void  )

Definition at line 184 of file snd_cache.cpp.

idSoundSample * idSoundCache::FindSound ( const idStr fname,
bool  loadOnDemandOnly 
)

Definition at line 86 of file snd_cache.cpp.

const int idSoundCache::GetNumObjects ( void  )
inline

Definition at line 909 of file snd_local.h.

const idSoundSample * idSoundCache::GetObject ( const int  index) const

Definition at line 72 of file snd_cache.cpp.

void idSoundCache::PrintMemInfo ( MemInfo_t mi)

Definition at line 222 of file snd_cache.cpp.

void idSoundCache::ReloadSounds ( bool  force)

Definition at line 137 of file snd_cache.cpp.

Member Data Documentation

bool idSoundCache::insideLevelLoad
private

Definition at line 920 of file snd_local.h.

idList<idSoundSample*> idSoundCache::listCache
private

Definition at line 921 of file snd_local.h.


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