Starshatter_Open
Open source Starshatter engine
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
AudioConfig Class Reference

#include <AudioConfig.h>

List of all members.

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 AudioConfigGetInstance ()
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

Detailed Description

Definition at line 22 of file AudioConfig.h.


Constructor & Destructor Documentation

AudioConfig::AudioConfig ( )

Definition at line 29 of file AudioConfig.cpp.

AudioConfig::~AudioConfig ( )

Definition at line 42 of file AudioConfig.cpp.


Member Function Documentation

void AudioConfig::Close ( )
static

Definition at line 59 of file AudioConfig.cpp.

int AudioConfig::EfxVolume ( )
static

Definition at line 98 of file AudioConfig.cpp.

int AudioConfig::GameMusic ( )
static

Definition at line 83 of file AudioConfig.cpp.

int AudioConfig::GetEfxVolume ( ) const
inline

Definition at line 46 of file AudioConfig.h.

int AudioConfig::GetGameMusic ( ) const
inline

Definition at line 45 of file AudioConfig.h.

int AudioConfig::GetGuiVolume ( ) const
inline

Definition at line 47 of file AudioConfig.h.

AudioConfig * AudioConfig::GetInstance ( )
static

Definition at line 66 of file AudioConfig.cpp.

int AudioConfig::GetMenuMusic ( ) const
inline

Definition at line 44 of file AudioConfig.h.

int AudioConfig::GetVoxVolume ( ) const
inline

Definition at line 49 of file AudioConfig.h.

int AudioConfig::GetWrnVolume ( ) const
inline

Definition at line 48 of file AudioConfig.h.

int AudioConfig::GuiVolume ( )
static

Definition at line 113 of file AudioConfig.cpp.

void AudioConfig::Initialize ( )
static

Definition at line 51 of file AudioConfig.cpp.

void AudioConfig::Load ( )

Definition at line 225 of file AudioConfig.cpp.

int AudioConfig::MenuMusic ( )
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.

void AudioConfig::SetTraining ( bool  t)
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.

int AudioConfig::Silence ( )
static

Definition at line 152 of file AudioConfig.cpp.

int AudioConfig::VoxVolume ( )
static

Definition at line 137 of file AudioConfig.cpp.

int AudioConfig::WrnVolume ( )
static

Definition at line 122 of file AudioConfig.cpp.


Member Data Documentation

int AudioConfig::efx_volume
protected

Definition at line 62 of file AudioConfig.h.

int AudioConfig::game_music
protected

Definition at line 60 of file AudioConfig.h.

int AudioConfig::gui_volume
protected

Definition at line 63 of file AudioConfig.h.

int AudioConfig::menu_music
protected

Definition at line 59 of file AudioConfig.h.

bool AudioConfig::training
protected

Definition at line 67 of file AudioConfig.h.

int AudioConfig::vox_volume
protected

Definition at line 65 of file AudioConfig.h.

int AudioConfig::wrn_volume
protected

Definition at line 64 of file AudioConfig.h.


The documentation for this class was generated from the following files: