diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-04 19:19:53 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-04 19:19:53 +0300 |
commit | db43ad3b72fe207e6cc03a1fd341ea598d123319 (patch) | |
tree | 6d338e9e0bff66e7751d6d0866f32388bdcfe59c /src/being/playerinfo.h | |
parent | 65a88f27b994f7ade178368c569d466f6344ded6 (diff) | |
download | manaplus-db43ad3b72fe207e6cc03a1fd341ea598d123319.tar.gz manaplus-db43ad3b72fe207e6cc03a1fd341ea598d123319.tar.bz2 manaplus-db43ad3b72fe207e6cc03a1fd341ea598d123319.tar.xz manaplus-db43ad3b72fe207e6cc03a1fd341ea598d123319.zip |
add pickup and drop sound effects.
Works like equip/unequip effects.
Diffstat (limited to 'src/being/playerinfo.h')
-rw-r--r-- | src/being/playerinfo.h | 5 |
1 files changed, 5 insertions, 0 deletions
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); |