Inexor
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
inexor::sound::soundtype Struct Reference

Public Member Functions

int findsound (const char *name, int vol)
 
int addslot (const char *name, int vol)
 
int addsound (const char *name, int vol, int maxuses=0)
 
void addalt (const char *name, int vol)
 
void clear ()
 
void reset ()
 
void preloadsound (int n)
 
bool playing (const soundchannel &chan, const soundconfig &config) const
 

Public Attributes

vector< soundslotslots
 
vector< soundconfigconfigs
 

Member Function Documentation

void inexor::sound::soundtype::addalt ( const char *  name,
int  vol 
)
inline
int inexor::sound::soundtype::addslot ( const char *  name,
int  vol 
)
inline
int inexor::sound::soundtype::addsound ( const char *  name,
int  vol,
int  maxuses = 0 
)
inline
void inexor::sound::soundtype::clear ( )
inline
int inexor::sound::soundtype::findsound ( const char *  name,
int  vol 
)
inline
bool inexor::sound::soundtype::playing ( const soundchannel chan,
const soundconfig config 
) const
inline
void inexor::sound::soundtype::preloadsound ( int  n)
inline
void inexor::sound::soundtype::reset ( )
inline

Member Data Documentation

vector<soundconfig> inexor::sound::soundtype::configs
vector<soundslot> inexor::sound::soundtype::slots

The documentation for this struct was generated from the following file: