summaryrefslogtreecommitdiff
path: root/src/resources/soundinfo.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-04 02:03:12 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-04 13:13:21 +0300
commit343809fe458a08bf96fe4f537db2d81d7523632e (patch)
tree0230a135f3ecaf574a3d67f090e6dcb21f1934f5 /src/resources/soundinfo.h
parentb0238edbc3f125e5d7d9d1506f7c9b78a440a200 (diff)
downloadmanaplus-343809fe458a08bf96fe4f537db2d81d7523632e.tar.gz
manaplus-343809fe458a08bf96fe4f537db2d81d7523632e.tar.bz2
manaplus-343809fe458a08bf96fe4f537db2d81d7523632e.tar.xz
manaplus-343809fe458a08bf96fe4f537db2d81d7523632e.zip
Add new item sound events constants.
Diffstat (limited to 'src/resources/soundinfo.h')
-rw-r--r--src/resources/soundinfo.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/resources/soundinfo.h b/src/resources/soundinfo.h
index 30fe8675d..01671d43b 100644
--- a/src/resources/soundinfo.h
+++ b/src/resources/soundinfo.h
@@ -21,6 +21,7 @@
#ifndef RESOURCES_SOUNDINFO_H
#define RESOURCES_SOUNDINFO_H
+#include <map>
#include <string>
#include <vector>
@@ -40,4 +41,24 @@ struct SoundInfo final
typedef std::vector<SoundInfo> SoundInfoVect;
+enum ItemSoundEvent
+{
+ SOUND_EVENT_HIT = 0,
+ SOUND_EVENT_MISS,
+ SOUND_EVENT_HURT,
+ SOUND_EVENT_DIE,
+ SOUND_EVENT_MOVE,
+ SOUND_EVENT_SIT,
+ SOUND_EVENT_SITTOP,
+ SOUND_EVENT_SPAWN,
+ SOUND_EVENT_DROP,
+ SOUND_EVENT_PICKUP,
+ SOUND_EVENT_TAKE, // take from container
+ SOUND_EVENT_PUT, // put into container
+ SOUND_EVENT_EQUIP,
+ SOUND_EVENT_UNEQUIP
+};
+
+typedef std::map<ItemSoundEvent, SoundInfoVect*> ItemSoundEvents;
+
#endif // RESOURCES_SOUNDINFO_H