summaryrefslogtreecommitdiffstats
path: root/source/UI/Window.h
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-05-30 12:10:58 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-05-30 12:10:58 +0200
commit2d8d7795de974d9bf7c963f99e4dad3a204eadc1 (patch)
treed03ef9b7c04250239acad74981508b0c11a2001d /source/UI/Window.h
parentImplemented left-click inventory painting (diff)
downloadcuberite-2d8d7795de974d9bf7c963f99e4dad3a204eadc1.tar
cuberite-2d8d7795de974d9bf7c963f99e4dad3a204eadc1.tar.gz
cuberite-2d8d7795de974d9bf7c963f99e4dad3a204eadc1.tar.bz2
cuberite-2d8d7795de974d9bf7c963f99e4dad3a204eadc1.tar.lz
cuberite-2d8d7795de974d9bf7c963f99e4dad3a204eadc1.tar.xz
cuberite-2d8d7795de974d9bf7c963f99e4dad3a204eadc1.tar.zst
cuberite-2d8d7795de974d9bf7c963f99e4dad3a204eadc1.zip
Diffstat (limited to '')
-rw-r--r--source/UI/Window.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/UI/Window.h b/source/UI/Window.h
index ae06ecf6a..c31ed8a4d 100644
--- a/source/UI/Window.h
+++ b/source/UI/Window.h
@@ -170,6 +170,9 @@ protected:
/// Processes the entire action stored in the internal structures for inventory painting; distributes one item into each slot
void OnRightPaintEnd(cPlayer & a_Player);
+
+ /// Distributes a_NumToEachSlot items into the slots specified in a_SlotNums; returns the total number of items distributed
+ int DistributeItemToSlots(cPlayer & a_Player, const cItem & a_Item, int a_NumToEachSlot, const cSlotNums & a_SlotNums);
} ;