From db43ad3b72fe207e6cc03a1fd341ea598d123319 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 4 Oct 2013 19:19:53 +0300 Subject: add pickup and drop sound effects. Works like equip/unequip effects. --- src/being/playerinfo.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/being/playerinfo.h') diff --git a/src/being/playerinfo.h b/src/being/playerinfo.h index cd454692f..eef07c584 100644 --- a/src/being/playerinfo.h +++ b/src/being/playerinfo.h @@ -61,6 +61,7 @@ struct PlayerInfoBackend final IntMap mSkills; }; +class FloorItem; class Inventory; class Item; @@ -267,6 +268,10 @@ namespace PlayerInfo void useEquipItem2(const Item *const item, bool sfx); + void dropItem(const Item *const item, const int amount, bool sfx); + + void pickUpItem(const FloorItem *const item, bool sfx); + void protectItem(const int id); void unprotectItem(const int id); -- cgit v1.2.3-60-g2f50