summaryrefslogtreecommitdiff
path: root/src/sound.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-02-28 22:16:23 +0300
committerAndrei Karas <akaras@inbox.ru>2012-02-28 22:16:23 +0300
commitbbf5743dd18e78298376da6f78c71ae2a524c766 (patch)
tree64ff82f070ce5022b6adc26c5c1727fb38f13794 /src/sound.h
parent8a3adb5dc695fec3f4db5f0705c53687862fb801 (diff)
downloadplus-bbf5743dd18e78298376da6f78c71ae2a524c766.tar.gz
plus-bbf5743dd18e78298376da6f78c71ae2a524c766.tar.bz2
plus-bbf5743dd18e78298376da6f78c71ae2a524c766.tar.xz
plus-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.h9
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