summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-06-12 14:30:47 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-06-12 14:30:47 +0200
commit9cef5838a8d449776a1c21be3799971ff6350134 (patch)
tree3f57c1aa653e09d97b775fb53130b7403b1d85cf /source
parentImplemented the Hopper block handler (diff)
downloadcuberite-9cef5838a8d449776a1c21be3799971ff6350134.tar
cuberite-9cef5838a8d449776a1c21be3799971ff6350134.tar.gz
cuberite-9cef5838a8d449776a1c21be3799971ff6350134.tar.bz2
cuberite-9cef5838a8d449776a1c21be3799971ff6350134.tar.lz
cuberite-9cef5838a8d449776a1c21be3799971ff6350134.tar.xz
cuberite-9cef5838a8d449776a1c21be3799971ff6350134.tar.zst
cuberite-9cef5838a8d449776a1c21be3799971ff6350134.zip
Diffstat (limited to 'source')
-rw-r--r--source/Bindings.cpp20
-rw-r--r--source/Bindings.h2
-rw-r--r--source/BlockEntities/ChestEntity.h8
3 files changed, 6 insertions, 24 deletions
diff --git a/source/Bindings.cpp b/source/Bindings.cpp
index a8f600dc7..02f8ce325 100644
--- a/source/Bindings.cpp
+++ b/source/Bindings.cpp
@@ -1,6 +1,6 @@
/*
** Lua binding: AllToLua
-** Generated automatically by tolua++-1.0.92 on 06/12/13 10:17:24.
+** Generated automatically by tolua++-1.0.92 on 06/12/13 14:28:57.
*/
#ifndef __cplusplus
@@ -16665,23 +16665,6 @@ static int tolua_AllToLua_cChestEntity_new00_local(lua_State* tolua_S)
}
#endif //#ifndef TOLUA_DISABLE
-/* get function: __cBlockEntityWindowOwner__ of class cChestEntity */
-#ifndef TOLUA_DISABLE_tolua_get_cChestEntity___cBlockEntityWindowOwner__
-static int tolua_get_cChestEntity___cBlockEntityWindowOwner__(lua_State* tolua_S)
-{
- cChestEntity* self = (cChestEntity*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in accessing variable '__cBlockEntityWindowOwner__'",NULL);
-#endif
-#ifdef __cplusplus
- tolua_pushusertype(tolua_S,(void*)static_cast<cBlockEntityWindowOwner*>(self), "cBlockEntityWindowOwner");
-#else
- tolua_pushusertype(tolua_S,(void*)((cBlockEntityWindowOwner*)self), "cBlockEntityWindowOwner");
-#endif
- return 1;
-}
-#endif //#ifndef TOLUA_DISABLE
-
/* method: AddDropSpenserDir of class cDropSpenserEntity */
#ifndef TOLUA_DISABLE_tolua_AllToLua_cDropSpenserEntity_AddDropSpenserDir00
static int tolua_AllToLua_cDropSpenserEntity_AddDropSpenserDir00(lua_State* tolua_S)
@@ -27770,7 +27753,6 @@ TOLUA_API int tolua_AllToLua_open (lua_State* tolua_S)
tolua_function(tolua_S,"new",tolua_AllToLua_cChestEntity_new00);
tolua_function(tolua_S,"new_local",tolua_AllToLua_cChestEntity_new00_local);
tolua_function(tolua_S,".call",tolua_AllToLua_cChestEntity_new00_local);
- tolua_variable(tolua_S,"__cBlockEntityWindowOwner__",tolua_get_cChestEntity___cBlockEntityWindowOwner__,NULL);
tolua_endmodule(tolua_S);
tolua_cclass(tolua_S,"cDropSpenserEntity","cDropSpenserEntity","cBlockEntityWithItems",NULL);
tolua_beginmodule(tolua_S,"cDropSpenserEntity");
diff --git a/source/Bindings.h b/source/Bindings.h
index 348b087aa..ec7581add 100644
--- a/source/Bindings.h
+++ b/source/Bindings.h
@@ -1,6 +1,6 @@
/*
** Lua binding: AllToLua
-** Generated automatically by tolua++-1.0.92 on 06/12/13 10:17:24.
+** Generated automatically by tolua++-1.0.92 on 06/12/13 14:28:57.
*/
/* Exported function */
diff --git a/source/BlockEntities/ChestEntity.h b/source/BlockEntities/ChestEntity.h
index 03cd5a943..86cb618d5 100644
--- a/source/BlockEntities/ChestEntity.h
+++ b/source/BlockEntities/ChestEntity.h
@@ -21,10 +21,10 @@ class cNBTData;
-// tolua_begin
-class cChestEntity :
- public cBlockEntityWithItems,
- public cBlockEntityWindowOwner
+class cChestEntity : // tolua_export
+ public cBlockEntityWindowOwner,
+ // tolua_begin
+ public cBlockEntityWithItems
{
typedef cBlockEntityWithItems super;