diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-05-26 22:18:56 +0200 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-05-26 22:18:56 +0200 |
commit | 46ce9df7d91bc4da0f924786d668bafa35d63947 (patch) | |
tree | aaa67c9b5b4aa8b12393094e959a7be82595a157 /source | |
parent | ProtectionAreas: Fixed a mistyped variable name (diff) | |
download | cuberite-46ce9df7d91bc4da0f924786d668bafa35d63947.tar cuberite-46ce9df7d91bc4da0f924786d668bafa35d63947.tar.gz cuberite-46ce9df7d91bc4da0f924786d668bafa35d63947.tar.bz2 cuberite-46ce9df7d91bc4da0f924786d668bafa35d63947.tar.lz cuberite-46ce9df7d91bc4da0f924786d668bafa35d63947.tar.xz cuberite-46ce9df7d91bc4da0f924786d668bafa35d63947.tar.zst cuberite-46ce9df7d91bc4da0f924786d668bafa35d63947.zip |
Diffstat (limited to 'source')
-rw-r--r-- | source/ItemGrid.h | 8 | ||||
-rw-r--r-- | 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 |