diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-02-28 22:16:23 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-02-28 22:16:23 +0300 |
commit | bbf5743dd18e78298376da6f78c71ae2a524c766 (patch) | |
tree | 64ff82f070ce5022b6adc26c5c1727fb38f13794 /src/sound.h | |
parent | 8a3adb5dc695fec3f4db5f0705c53687862fb801 (diff) | |
download | manaplus-bbf5743dd18e78298376da6f78c71ae2a524c766.tar.gz manaplus-bbf5743dd18e78298376da6f78c71ae2a524c766.tar.bz2 manaplus-bbf5743dd18e78298376da6f78c71ae2a524c766.tar.xz manaplus-bbf5743dd18e78298376da6f78c71ae2a524c766.zip |
Fix some sound event.
Replace hardcoded sound names to constants.
Add party/guild sound.
Diffstat (limited to 'src/sound.h')
-rw-r--r-- | src/sound.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/sound.h b/src/sound.h index cfa847a0b..a967d0a92 100644 --- a/src/sound.h +++ b/src/sound.h @@ -31,6 +31,15 @@ class Music; +const static std::string SOUND_INFO = "soundinfo"; +const static std::string SOUND_ERROR = "sounderror"; +const static std::string SOUND_REQUEST = "soundrequest"; +const static std::string SOUND_TRADE = "soundtrade"; +const static std::string SOUND_WHISPER = "soundwhisper"; +const static std::string SOUND_HIGHLIGHT = "soundhighlight"; +const static std::string SOUND_GLOBAL = "soundglobal"; +const static std::string SOUND_GUILD = "soundguild"; + /** Sound engine * * \ingroup CORE |