summaryrefslogtreecommitdiff
path: root/src/itemsoundmanager.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-04 19:19:53 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-04 19:19:53 +0300
commitdb43ad3b72fe207e6cc03a1fd341ea598d123319 (patch)
tree6d338e9e0bff66e7751d6d0866f32388bdcfe59c /src/itemsoundmanager.h
parent65a88f27b994f7ade178368c569d466f6344ded6 (diff)
downloadplus-db43ad3b72fe207e6cc03a1fd341ea598d123319.tar.gz
plus-db43ad3b72fe207e6cc03a1fd341ea598d123319.tar.bz2
plus-db43ad3b72fe207e6cc03a1fd341ea598d123319.tar.xz
plus-db43ad3b72fe207e6cc03a1fd341ea598d123319.zip
add pickup and drop sound effects.
Works like equip/unequip effects.
Diffstat (limited to 'src/itemsoundmanager.h')
-rw-r--r--src/itemsoundmanager.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/itemsoundmanager.h b/src/itemsoundmanager.h
index a22daf94b..77ef221c7 100644
--- a/src/itemsoundmanager.h
+++ b/src/itemsoundmanager.h
@@ -25,6 +25,7 @@
#include "localconsts.h"
+class FloorItem;
class Item;
class ItemSoundManager final
@@ -34,6 +35,9 @@ class ItemSoundManager final
static void playSfx(const Item *const item,
const ItemSoundEvent sound);
+
+ static void playSfx(const FloorItem *const item,
+ const ItemSoundEvent sound);
};
#endif // ITEMSOUNDMANAGER_H