SoundUtils Class Reference

#include <SoundUtils.h>

List of all members.

Static Public Member Functions

static void playRelativeSound (unsigned int priority, SoundBuffer *buffer)
static void playAbsoluteSound (unsigned int priority, SoundBuffer *buffer, Vector &position)

Private Member Functions

 SoundUtils ()


Detailed Description

Definition at line 27 of file SoundUtils.h.


Constructor & Destructor Documentation

SoundUtils::SoundUtils (  )  [private]


Member Function Documentation

void SoundUtils::playRelativeSound ( unsigned int  priority,
SoundBuffer buffer 
) [static]

Definition at line 24 of file SoundUtils.cpp.

References VirtualSoundSource::play(), and VirtualSoundSource::setRelative().

Referenced by GLWChannelView::channelText(), MainCamera::SaveScreen::draw(), and ClientStartGameHandler::processMessage().

void SoundUtils::playAbsoluteSound ( unsigned int  priority,
SoundBuffer buffer,
Vector position 
) [static]

Definition at line 32 of file SoundUtils.cpp.

References VirtualSoundSource::play(), and VirtualSoundSource::setPosition().

Referenced by Water::explosion(), WeaponNapalm::fireWeapon(), ExplosionLaserBeamRenderer::init(), ClientDefenseHandler::processMessage(), Teleport::simulate(), TankFired::simulate(), ShieldHit::simulate(), Lightning::simulate(), Explosion::simulate(), ExplosionRingRenderer::simulate(), and Wall::wallHit().


The documentation for this class was generated from the following files:
Generated on Mon Feb 16 15:15:07 2009 for Scorched3D by  doxygen 1.5.3