From 2d8d7795de974d9bf7c963f99e4dad3a204eadc1 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Thu, 30 May 2013 10:10:58 +0000 Subject: Implemented right-click inventory painting git-svn-id: http://mc-server.googlecode.com/svn/trunk@1530 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/UI/Window.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source/UI/Window.h') 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); } ; -- cgit v1.2.3