From 50c6a660922410e9c010583f597ee3f011f43226 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Fri, 21 Sep 2012 20:50:34 +0000 Subject: Working shift-click support in crafting areas; window update working in 1.3.2 git-svn-id: http://mc-server.googlecode.com/svn/trunk@869 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/UI/SlotArea.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'source/UI/SlotArea.h') diff --git a/source/UI/SlotArea.h b/source/UI/SlotArea.h index 0f3182036..79f95c5d5 100644 --- a/source/UI/SlotArea.h +++ b/source/UI/SlotArea.h @@ -197,7 +197,10 @@ protected: cRecipeMap m_Recipes; /// Handles a click in the result slot. Crafts using the current recipe, if possible - void ClickedResult(cPlayer & a_Player, bool a_IsShiftPressed); + 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. + void ShiftClickedResult(cPlayer & a_Player); /// Updates the current recipe and result slot based on the ingredients currently in the crafting grid of the specified player void UpdateRecipe(cPlayer & a_Player); -- cgit v1.2.3