From 84bdba345d9b34a59337009d0880aa74d3b2d689 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pablo=20Beltr=C3=A1n?= Date: Wed, 24 May 2017 08:09:58 +0200 Subject: Off-hand/shield slot functional, save and load slot, bow + arrow functional (#3725) Fixes #3714. --- src/UI/SlotArea.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'src/UI/SlotArea.h') diff --git a/src/UI/SlotArea.h b/src/UI/SlotArea.h index 005ba6e7f..5a94a26af 100644 --- a/src/UI/SlotArea.h +++ b/src/UI/SlotArea.h @@ -145,6 +145,23 @@ public: +/** Handles the shield of each player */ +class cSlotAreaShield : + public cSlotAreaInventoryBase +{ + typedef cSlotAreaInventoryBase super; + +public: + cSlotAreaShield(cWindow & a_ParentWindow) : + cSlotAreaInventoryBase(cInventory::invShieldCount, cInventory::invShieldOffset, a_ParentWindow) + { + } +}; + + + + + /** Handles the armor area of the player's inventory */ class cSlotAreaArmor : public cSlotAreaInventoryBase -- cgit v1.2.3