From 46ce9df7d91bc4da0f924786d668bafa35d63947 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Sun, 26 May 2013 20:18:56 +0000 Subject: [PATCH] Clarified documentation on the cItemGrid:RemoveItem() functions git-svn-id: http://mc-server.googlecode.com/svn/trunk@1519 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/ItemGrid.h | 8 ++++++-- source/PluginManager.h | 4 ++++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/source/ItemGrid.h b/source/ItemGrid.h index 82898537c..80ea17c8b 100644 --- a/source/ItemGrid.h +++ b/source/ItemGrid.h @@ -98,10 +98,14 @@ public: */ int ChangeSlotCount(int a_X, int a_Y, int a_AddToCount); - /// Removes one item from the specified slot, and returns it. If the slot was empty, returns an empty item + /** Removes one item from the stack in the specified slot, and returns it. + If the slot was empty, returns an empty item + */ cItem RemoveOneItem(int a_SlotNum); - /// Removes one item from the specified slot, and returns it. If the slot was empty, returns an empty item + /** Removes one item from the stack in the specified slot, and returns it. + If the slot was empty, returns an empty item + */ cItem RemoveOneItem(int a_X, int a_Y); /// Returns the number of items of type a_Item that are stored diff --git a/source/PluginManager.h b/source/PluginManager.h index d930a0c8b..4a035f088 100644 --- a/source/PluginManager.h +++ b/source/PluginManager.h @@ -3,6 +3,10 @@ #include "Item.h" + + + + class cPlugin; // fwd: World.h