location Class Reference

#include <sound.h>

Inherits sourceowner.

Collaboration diagram for location:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 location (int sound, const worldobjreference &r, int priority=SP_NORMAL)
 ~location ()
void attachworldobjreference (const worldobjreference &r)
void evaluateworldobjref ()
void onsourcereassign (source *s)
void updatepos ()
void update ()
void play (bool loop=false)
void pitch (float p)
bool setvolume (float v)
void offset (float secs)
float offset ()
void drop ()

Public Attributes

soundconfig * cfg
source * src
worldobjreference * ref
bool stale
int playmillis


Constructor & Destructor Documentation

location::location ( int  sound,
const worldobjreference &  r,
int  priority = SP_NORMAL 
)

location::~location (  ) 


Member Function Documentation

void location::attachworldobjreference ( const worldobjreference &  r  ) 

void location::drop (  ) 

void location::evaluateworldobjref (  ) 

float location::offset (  ) 

void location::offset ( float  secs  ) 

void location::onsourcereassign ( source *  s  )  [virtual]

Implements sourceowner.

void location::pitch ( float  p  ) 

void location::play ( bool  loop = false  ) 

bool location::setvolume ( float  v  ) 

void location::update (  ) 

void location::updatepos (  ) 


Member Data Documentation


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

Generated on Mon Dec 8 21:41:35 2008 for AssaultCube by  doxygen 1.5.7.1