diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-04 02:03:12 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-04 13:13:21 +0300 |
commit | 343809fe458a08bf96fe4f537db2d81d7523632e (patch) | |
tree | 0230a135f3ecaf574a3d67f090e6dcb21f1934f5 /src/resources/iteminfo.h | |
parent | b0238edbc3f125e5d7d9d1506f7c9b78a440a200 (diff) | |
download | ManaVerse-343809fe458a08bf96fe4f537db2d81d7523632e.tar.gz ManaVerse-343809fe458a08bf96fe4f537db2d81d7523632e.tar.bz2 ManaVerse-343809fe458a08bf96fe4f537db2d81d7523632e.tar.xz ManaVerse-343809fe458a08bf96fe4f537db2d81d7523632e.zip |
Add new item sound events constants.
Diffstat (limited to 'src/resources/iteminfo.h')
-rw-r--r-- | src/resources/iteminfo.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/resources/iteminfo.h b/src/resources/iteminfo.h index b386e51f7..cf2c64e27 100644 --- a/src/resources/iteminfo.h +++ b/src/resources/iteminfo.h @@ -216,11 +216,11 @@ class ItemInfo final void setAttackRange(const int r) { mAttackRange = r; } - void addSound(const SoundEvent event, + void addSound(const ItemSoundEvent event, const std::string &filename, const int delay); - const SoundInfo &getSound(const SoundEvent event) + const SoundInfo &getSound(const ItemSoundEvent event) const A_WARN_UNUSED; int getDrawBefore(const int direction) const A_WARN_UNUSED; @@ -345,7 +345,7 @@ class ItemInfo final std::map <int, std::string> mAnimationFiles; /** Stores the names of sounds to be played at certain event. */ - std::map <SoundEvent, SoundInfoVect> mSounds; + std::map <ItemSoundEvent, SoundInfoVect> mSounds; std::map <int, int> mTags; const std::map <int, ColorDB::ItemColor> *mColors; std::string mColorList; |