#include <sound.h>
Public Methods | |
Sound (int n=32) | |
~Sound () | |
Static Public Methods | |
void | PlaySample (sound s) |
void | PlayTheme (int loops) |
void | StopTheme () |
void | LoadTheme (string path) |
bool | ThemeIsPlaying () |
bool | SampleIsPlaying (sound s) |
Private Attributes | |
int | numchannels |
Static Private Attributes | |
vector< Sample * > | sEffects |
Music * | theme |
|
Definition at line 16 of file sound.cpp. References BEAR_WALK_SOUND_1, GUN_SHOT, sEffects, theme, THEME_MUSIC, UFO_SOUND, and WALK_SOUND. |
|
|
|
Definition at line 80 of file sound.cpp. References PlayTheme(), StopTheme(), theme, and ThemeIsPlaying(). Referenced by Game::step(). |
|
Definition at line 63 of file sound.cpp. References BEAR_WALK, GUNSHOT, sEffects, sound, UFO_NOISE, and WALKING. Referenced by Game::GameLoop(), and Game::step(). |
|
Definition at line 72 of file sound.cpp. References Music::Play(), and theme. Referenced by Game::Game(), LoadTheme(), and Game::step(). |
|
Definition at line 91 of file sound.cpp. References BEAR_WALK, GUNSHOT, sEffects, sound, UFO_NOISE, and WALKING. Referenced by Game::GameLoop(). |
|
Definition at line 76 of file sound.cpp. References Music::Stop(), and theme. Referenced by LoadTheme(), and Game::step(). |
|
Definition at line 87 of file sound.cpp. References Music::IsPlaying(), and theme. Referenced by LoadTheme(), and Game::step(). |
|
|
|
Definition at line 13 of file sound.cpp. Referenced by PlaySample(), SampleIsPlaying(), Sound(), and ~Sound(). |
|
Definition at line 14 of file sound.cpp. Referenced by LoadTheme(), PlayTheme(), Sound(), StopTheme(), ThemeIsPlaying(), and ~Sound(). |