Starshatter_Open
Open source Starshatter engine
|
#include <AudioConfig.h>
Public Member Functions | |
AudioConfig () | |
~AudioConfig () | |
void | Load () |
void | Save () |
int | GetMenuMusic () const |
int | GetGameMusic () const |
int | GetEfxVolume () const |
int | GetGuiVolume () const |
int | GetWrnVolume () const |
int | GetVoxVolume () const |
void | SetMenuMusic (int v) |
void | SetGameMusic (int v) |
void | SetEfxVolume (int v) |
void | SetGuiVolume (int v) |
void | SetWrnVolume (int v) |
void | SetVoxVolume (int v) |
Static Public Member Functions | |
static void | Initialize () |
static void | Close () |
static AudioConfig * | GetInstance () |
static int | MenuMusic () |
static int | GameMusic () |
static int | EfxVolume () |
static int | GuiVolume () |
static int | WrnVolume () |
static int | VoxVolume () |
static int | Silence () |
static void | SetTraining (bool t) |
Protected Attributes | |
int | menu_music |
int | game_music |
int | efx_volume |
int | gui_volume |
int | wrn_volume |
int | vox_volume |
bool | training |
Definition at line 22 of file AudioConfig.h.
AudioConfig::AudioConfig | ( | ) |
Definition at line 29 of file AudioConfig.cpp.
AudioConfig::~AudioConfig | ( | ) |
Definition at line 42 of file AudioConfig.cpp.
|
static |
Definition at line 59 of file AudioConfig.cpp.
|
static |
Definition at line 98 of file AudioConfig.cpp.
|
static |
Definition at line 83 of file AudioConfig.cpp.
|
inline |
Definition at line 46 of file AudioConfig.h.
|
inline |
Definition at line 45 of file AudioConfig.h.
|
inline |
Definition at line 47 of file AudioConfig.h.
|
static |
Definition at line 66 of file AudioConfig.cpp.
|
inline |
Definition at line 44 of file AudioConfig.h.
|
inline |
Definition at line 49 of file AudioConfig.h.
|
inline |
Definition at line 48 of file AudioConfig.h.
|
static |
Definition at line 113 of file AudioConfig.cpp.
|
static |
Definition at line 51 of file AudioConfig.cpp.
void AudioConfig::Load | ( | ) |
Definition at line 225 of file AudioConfig.cpp.
|
static |
Definition at line 74 of file AudioConfig.cpp.
void AudioConfig::Save | ( | ) |
Definition at line 365 of file AudioConfig.cpp.
void AudioConfig::SetEfxVolume | ( | int | v | ) |
Definition at line 185 of file AudioConfig.cpp.
void AudioConfig::SetGameMusic | ( | int | v | ) |
Definition at line 176 of file AudioConfig.cpp.
void AudioConfig::SetGuiVolume | ( | int | v | ) |
Definition at line 194 of file AudioConfig.cpp.
void AudioConfig::SetMenuMusic | ( | int | v | ) |
Definition at line 167 of file AudioConfig.cpp.
|
static |
Definition at line 158 of file AudioConfig.cpp.
void AudioConfig::SetVoxVolume | ( | int | v | ) |
Definition at line 214 of file AudioConfig.cpp.
void AudioConfig::SetWrnVolume | ( | int | v | ) |
Definition at line 204 of file AudioConfig.cpp.
|
static |
Definition at line 152 of file AudioConfig.cpp.
|
static |
Definition at line 137 of file AudioConfig.cpp.
|
static |
Definition at line 122 of file AudioConfig.cpp.
|
protected |
Definition at line 62 of file AudioConfig.h.
|
protected |
Definition at line 60 of file AudioConfig.h.
|
protected |
Definition at line 63 of file AudioConfig.h.
|
protected |
Definition at line 59 of file AudioConfig.h.
|
protected |
Definition at line 67 of file AudioConfig.h.
|
protected |
Definition at line 65 of file AudioConfig.h.
|
protected |
Definition at line 64 of file AudioConfig.h.