diff options
author | daniel0916 <theschokolps@gmail.com> | 2014-04-14 11:48:12 +0200 |
---|---|---|
committer | daniel0916 <theschokolps@gmail.com> | 2014-04-14 11:48:12 +0200 |
commit | 856e900bf8e74cb478904d6322dcb6310ff7a3b2 (patch) | |
tree | ad793b40bdefc94e9fe9a59fe76333f4769869b7 /src/UI/SlotArea.h | |
parent | Fixed invisibility enchantments (diff) | |
download | cuberite-856e900bf8e74cb478904d6322dcb6310ff7a3b2.tar cuberite-856e900bf8e74cb478904d6322dcb6310ff7a3b2.tar.gz cuberite-856e900bf8e74cb478904d6322dcb6310ff7a3b2.tar.bz2 cuberite-856e900bf8e74cb478904d6322dcb6310ff7a3b2.tar.lz cuberite-856e900bf8e74cb478904d6322dcb6310ff7a3b2.tar.xz cuberite-856e900bf8e74cb478904d6322dcb6310ff7a3b2.tar.zst cuberite-856e900bf8e74cb478904d6322dcb6310ff7a3b2.zip |
Diffstat (limited to '')
-rw-r--r-- | src/UI/SlotArea.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/UI/SlotArea.h b/src/UI/SlotArea.h index 82360ffbe..7feb74aa1 100644 --- a/src/UI/SlotArea.h +++ b/src/UI/SlotArea.h @@ -258,21 +258,17 @@ class cSlotAreaEnchanting : typedef cSlotAreaTemporary super; public: - /// a_GridSize is allowed to be only 2 or 3 cSlotAreaEnchanting(int a_NumSlots, cWindow & a_ParentWindow); // cSlotAreaTemporary overrides: virtual void Clicked(cPlayer & a_Player, int a_SlotNum, eClickAction a_ClickAction, const cItem & a_ClickedItem) override; virtual void OnPlayerRemoved(cPlayer & a_Player) override; - // Distributing items into this area is completely disabled - virtual void DistributeStack(cItem & a_ItemStack, cPlayer & a_Player, bool a_ShouldApply, bool a_KeepEmptySlots) override {} - protected: - /// Handles a click in the result slot. Crafts using the current recipe, if possible + /// Handles a click in the item slot. void ClickedResult(cPlayer & a_Player); - /// Handles a shift-click in the result slot. Crafts using the current recipe until it changes or no more space for result. + /// Handles a shift-click in the item slot. void ShiftClickedResult(cPlayer & a_Player); }; |