diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-08 18:30:40 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-08 18:30:40 +0300 |
commit | 9a0da2510f9eed57e4bc974084bf54832ee4c33c (patch) | |
tree | 28dab1528da81c40a3ca648902b91d70f854a096 /src/itemsoundmanager.h | |
parent | b930f7f858b0ad91206939ed1b6d5695bc10f9cc (diff) | |
download | plus-9a0da2510f9eed57e4bc974084bf54832ee4c33c.tar.gz plus-9a0da2510f9eed57e4bc974084bf54832ee4c33c.tar.bz2 plus-9a0da2510f9eed57e4bc974084bf54832ee4c33c.tar.xz plus-9a0da2510f9eed57e4bc974084bf54832ee4c33c.zip |
add support for sounds take and put.
"take" played if take item from container like inventory
"put" played if put item into container.
Diffstat (limited to 'src/itemsoundmanager.h')
-rw-r--r-- | src/itemsoundmanager.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/itemsoundmanager.h b/src/itemsoundmanager.h index 77ef221c7..3341178ca 100644 --- a/src/itemsoundmanager.h +++ b/src/itemsoundmanager.h @@ -33,6 +33,9 @@ class ItemSoundManager final public: A_DELETE_COPY(ItemSoundManager) + static void playSfx(const int item, + const ItemSoundEvent sound); + static void playSfx(const Item *const item, const ItemSoundEvent sound); |