#include <SoundUtils.h>
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 () | |
Definition at line 27 of file SoundUtils.h.
| SoundUtils::SoundUtils | ( | ) | [private] |
| 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().
1.5.3