From bc466f07a454271d4845a7e8c7f0822541c5afbd Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Thu, 20 Sep 2012 13:25:54 +0000 Subject: Refactored windows. As described on the forum: http://forum.mc-server.org/showthread.php?tid=561 For now, only basic clicking works; shift-click not implemented yet. git-svn-id: http://mc-server.googlecode.com/svn/trunk@867 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/cChestEntity.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'source/cChestEntity.h') diff --git a/source/cChestEntity.h b/source/cChestEntity.h index 1e186dc9c..962e9f86d 100644 --- a/source/cChestEntity.h +++ b/source/cChestEntity.h @@ -2,7 +2,7 @@ #pragma once #include "cBlockEntity.h" -#include "cWindowOwner.h" +#include "UI/cWindowOwner.h" @@ -22,10 +22,10 @@ class cNBTData; -class cChestEntity : //tolua_export - public cBlockEntity, //tolua_export - public cBlockEntityWindowOwner //tolua_export -{ //tolua_export +class cChestEntity : // tolua_export + public cBlockEntity, // tolua_export + public cBlockEntityWindowOwner // tolua_export +{ // tolua_export public: cChestEntity(int a_X, int a_Y, int a_Z, cWorld * a_World); virtual ~cChestEntity(); @@ -34,7 +34,7 @@ public: void HandleData( cNBTData* a_NBTData ); const cItem * GetSlot( int a_Slot ) const; //tolua_export - void SetSlot( int a_Slot, cItem & a_Item ); //tolua_export + void SetSlot(int a_Slot, const cItem & a_Item ); //tolua_export bool LoadFromJson( const Json::Value& a_Value ); virtual void SaveToJson(Json::Value& a_Value ) override; -- cgit v1.2.3