summaryrefslogtreecommitdiff
path: root/src/sound.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sound.h')
-rw-r--r--src/sound.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/sound.h b/src/sound.h
index 27748fb6..401a90f4 100644
--- a/src/sound.h
+++ b/src/sound.h
@@ -50,7 +50,7 @@ class Sound {
* Installs the sound engine.
*/
void init();
-
+
/**
* Logs various info about sound device.
*/
@@ -73,7 +73,7 @@ class Sound {
* Stops currently running background music track.
*/
void stopMusic();
-
+
/**
* Fades in background music.
*
@@ -89,7 +89,7 @@ class Sound {
* \param ms Duration of fade-out effect (ms)
*/
void fadeOutMusic(int ms);
-
+
/**
* Sets music volume.
*
@@ -110,11 +110,12 @@ class Sound {
* \param path Full path to file
*/
void playSfx(const char *path);
-
+
private:
bool installed;
- int musicVolume, sfxVolume;
+ int sfxVolume;
+ int musicVolume;
Mix_Music *music;
};