aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/sound/sound_manager.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/titanic/sound/sound_manager.h')
-rw-r--r--engines/titanic/sound/sound_manager.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/engines/titanic/sound/sound_manager.h b/engines/titanic/sound/sound_manager.h
index 3c217324c2..59a514ca3d 100644
--- a/engines/titanic/sound/sound_manager.h
+++ b/engines/titanic/sound/sound_manager.h
@@ -33,6 +33,10 @@
namespace Titanic {
+enum VolumeMode {
+ VOL_NORMAL = -1, VOL_QUIET = -2, VOL_VERY_QUIET = -3, VOL_MUTE = -4
+};
+
/**
* Abstract interface class for a sound manager
*/
@@ -222,7 +226,7 @@ public:
/**
* Gets the volume for a given mode? value
*/
- uint getModeVolume(int mode);
+ uint getModeVolume(VolumeMode mode);
};
class QSoundManagerSound : public ListItem {