diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-09-20 15:25:54 +0200 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-09-20 15:25:54 +0200 |
commit | bc466f07a454271d4845a7e8c7f0822541c5afbd (patch) | |
tree | c8455a2af322bbd847b6b4ea74256b78aa834c4c /source/cSurvivalInventory.h | |
parent | ProtoProxy: moar packets! (can now sustain parsing while connected to vanilla server, most of the times) (diff) | |
download | cuberite-bc466f07a454271d4845a7e8c7f0822541c5afbd.tar cuberite-bc466f07a454271d4845a7e8c7f0822541c5afbd.tar.gz cuberite-bc466f07a454271d4845a7e8c7f0822541c5afbd.tar.bz2 cuberite-bc466f07a454271d4845a7e8c7f0822541c5afbd.tar.lz cuberite-bc466f07a454271d4845a7e8c7f0822541c5afbd.tar.xz cuberite-bc466f07a454271d4845a7e8c7f0822541c5afbd.tar.zst cuberite-bc466f07a454271d4845a7e8c7f0822541c5afbd.zip |
Diffstat (limited to 'source/cSurvivalInventory.h')
-rw-r--r-- | source/cSurvivalInventory.h | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/source/cSurvivalInventory.h b/source/cSurvivalInventory.h deleted file mode 100644 index 3ad385fcf..000000000 --- a/source/cSurvivalInventory.h +++ /dev/null @@ -1,48 +0,0 @@ - -#pragma once - -#include "cInventory.h" - - - - - -class cSurvivalInventory //tolua_export - : public cInventory -{ //tolua_export - - enum - { - SLOT_CRAFTING_RESULT = 0, - SLOT_CRAFTING_MIN = 1, - SLOT_CRAFTING_MAX = 4, - SLOT_ARMOR_MIN = 5, - SLOT_ARMOR_HELMET = 5, - SLOT_ARMOR_CHESTPLATE = 6, - SLOT_ARMOR_LEGGINGS = 7, - SLOT_ARMOR_BOOTS = 8, - SLOT_ARMOR_MAX = 8, - SLOT_INVENTORY_MIN = 9, - SLOT_INVENTORY_MAX = 35, - SLOT_HOTBAR_MIN = 36, - SLOT_HOTBAR_MAX = 44, - } ; - - void ShiftClickedCraftingResult(short a_SlotNum); - void ShiftClickedCraftingGrid (short a_SlotNum); - void ShiftClickedArmor (short a_Slot); - void ShiftClickedHotbar (short a_Slot); - void ShiftClickedInventory (short a_Slot); - -public: - cSurvivalInventory(cPlayer* a_Owner); - ~cSurvivalInventory(); - - virtual void Clicked(short a_SlotNum, bool a_IsRightClick, bool a_IsShiftPressed, const cItem & a_HeldItem) override; - - void ShiftClicked(short a_SlotNum); -}; //tolua_export - - - - |