Starshatter_Open
Open source Starshatter engine
Main Page
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
AudioConfig.h
Go to the documentation of this file.
1
/* Project Starshatter 4.5
2
Destroyer Studios LLC
3
Copyright © 1997-2004. All Rights Reserved.
4
5
SUBSYSTEM: Stars.exe
6
FILE: AudioConfig.h
7
AUTHOR: John DiCamillo
8
9
10
OVERVIEW
11
========
12
Audio Configuration class
13
*/
14
15
#ifndef AudioConfig_h
16
#define AudioConfig_h
17
18
#include "
Types.h
"
19
20
// +--------------------------------------------------------------------+
21
22
class
AudioConfig
23
{
24
public
:
25
AudioConfig
();
26
~AudioConfig
();
27
28
static
void
Initialize
();
29
static
void
Close
();
30
static
AudioConfig
*
GetInstance
();
31
32
void
Load
();
33
void
Save
();
34
35
static
int
MenuMusic
();
36
static
int
GameMusic
();
37
static
int
EfxVolume
();
38
static
int
GuiVolume
();
39
static
int
WrnVolume
();
40
static
int
VoxVolume
();
41
static
int
Silence
();
42
static
void
SetTraining
(
bool
t);
43
44
int
GetMenuMusic
()
const
{
return
menu_music
; }
45
int
GetGameMusic
()
const
{
return
game_music
; }
46
int
GetEfxVolume
()
const
{
return
efx_volume
; }
47
int
GetGuiVolume
()
const
{
return
gui_volume
; }
48
int
GetWrnVolume
()
const
{
return
wrn_volume
; }
49
int
GetVoxVolume
()
const
{
return
vox_volume
; }
50
51
void
SetMenuMusic
(
int
v);
52
void
SetGameMusic
(
int
v);
53
void
SetEfxVolume
(
int
v);
54
void
SetGuiVolume
(
int
v);
55
void
SetWrnVolume
(
int
v);
56
void
SetVoxVolume
(
int
v);
57
58
protected
:
59
int
menu_music
;
60
int
game_music
;
61
62
int
efx_volume
;
63
int
gui_volume
;
64
int
wrn_volume
;
65
int
vox_volume
;
66
67
bool
training
;
68
};
69
70
#endif AudioConfig_h
71
Stars45
AudioConfig.h
Generated on Tue Jun 5 2012 20:46:44 for Starshatter_Open by
1.8.1