summaryrefslogtreecommitdiff
path: root/src/sound.h
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2005-04-26 00:04:45 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2005-04-26 00:04:45 +0000
commit8b0e30d3798cd5bdce2c3a34a3c384e90dceac99 (patch)
tree3fdca13a0cc138ed65b72de8cd3747cc79916818 /src/sound.h
parenta31ba215a3043ebd62d415a7d855a531239fb630 (diff)
downloadmana-8b0e30d3798cd5bdce2c3a34a3c384e90dceac99.tar.gz
mana-8b0e30d3798cd5bdce2c3a34a3c384e90dceac99.tar.bz2
mana-8b0e30d3798cd5bdce2c3a34a3c384e90dceac99.tar.xz
mana-8b0e30d3798cd5bdce2c3a34a3c384e90dceac99.zip
Changed keyboard control to integrate better with mouse walk, changed location
of packet.list and chatlog.txt and removed name from player chat "balloon".
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;
};