#include <soundList.h>
Public Types | |
| enum | Sample { shooting, unitExplodes, buildingCollapses, moving, menu_ack, conquer_building, repair, refuel, jumpdrive } |
Public Member Functions | |
| Sound * | playSound (Sample snd, int subType=0, bool looping=false, const ASCString &label="") |
| Sound * | getSound (Sample snd, int subType=0, const ASCString &label="", int height=-1) |
| ~SoundList () | |
Static Public Member Functions | |
| static SoundList & | getInstance () |
| static void | init () |
Classes | |
| struct | SoundAssignment |
It uses the singleton design pattern.
Definition at line 35 of file soundList.h.
|
|
Definition at line 40 of file soundList.h. |
|
|
Definition at line 278 of file soundList.cpp. |
|
|
Definition at line 60 of file soundList.cpp. References fatalError(). Referenced by SelfDestruct::destruct(), JumpDrive::jump(), BaseVehicleMovement::moveunitxy(), and BattleSoundPlayer::visit(). |
|
||||||||||||||||||||
|
Definition at line 230 of file soundList.cpp. References copytoLower(), displayLogMessage(), SoundSystem::getInstance(), and heightTags. Referenced by playSound(). |
|
|
Definition at line 69 of file soundList.cpp. References displayLogMessage(), fatalError(), and initialize(). Referenced by loaddata(). |
|
||||||||||||||||||||
|
Definition at line 264 of file soundList.cpp. References getSound(), Sound::play(), and Sound::playLoop(). |
1.4.2