summaryrefslogtreecommitdiffstats
path: root/source/Bindings.cpp
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-10-20 23:53:09 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-10-20 23:53:09 +0200
commite30bec4fd6aedbe70e39640d6b1c78157aa1b38b (patch)
tree63b964427f37752ac639a134a89ac792d3917120 /source/Bindings.cpp
parentProtoProxy: ListenPort and ConnectPort are now settable on commandline, the defaults have switched (listens on 25564, connects to localhost:25565) (diff)
downloadcuberite-e30bec4fd6aedbe70e39640d6b1c78157aa1b38b.tar
cuberite-e30bec4fd6aedbe70e39640d6b1c78157aa1b38b.tar.gz
cuberite-e30bec4fd6aedbe70e39640d6b1c78157aa1b38b.tar.bz2
cuberite-e30bec4fd6aedbe70e39640d6b1c78157aa1b38b.tar.lz
cuberite-e30bec4fd6aedbe70e39640d6b1c78157aa1b38b.tar.xz
cuberite-e30bec4fd6aedbe70e39640d6b1c78157aa1b38b.tar.zst
cuberite-e30bec4fd6aedbe70e39640d6b1c78157aa1b38b.zip
Diffstat (limited to 'source/Bindings.cpp')
-rw-r--r--source/Bindings.cpp39
1 files changed, 3 insertions, 36 deletions
diff --git a/source/Bindings.cpp b/source/Bindings.cpp
index 49eba37e5..77eea9269 100644
--- a/source/Bindings.cpp
+++ b/source/Bindings.cpp
@@ -1,6 +1,6 @@
/*
** Lua binding: AllToLua
-** Generated automatically by tolua++-1.0.92 on 10/20/12 13:37:50.
+** Generated automatically by tolua++-1.0.92 on 10/20/12 23:51:02.
*/
#ifndef __cplusplus
@@ -296,9 +296,9 @@ static int tolua_AllToLua_cStairs_RotationToMetaData00(lua_State* tolua_S)
#endif
{
float a_Rotation = ((float) tolua_tonumber(tolua_S,2,0));
- int a_Direction = ((int) tolua_tonumber(tolua_S,3,0));
+ char a_BlockFace = ((char) tolua_tonumber(tolua_S,3,0));
{
- char tolua_ret = (char) cStairs::RotationToMetaData(a_Rotation,a_Direction);
+ unsigned char tolua_ret = (unsigned char) cStairs::RotationToMetaData(a_Rotation,a_BlockFace);
tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
}
}
@@ -14237,38 +14237,6 @@ static int tolua_AllToLua_cChestEntity_UsedBy00(lua_State* tolua_S)
}
#endif //#ifndef TOLUA_DISABLE
-/* method: GetChestHeight of class cChestEntity */
-#ifndef TOLUA_DISABLE_tolua_AllToLua_cChestEntity_GetChestHeight00
-static int tolua_AllToLua_cChestEntity_GetChestHeight00(lua_State* tolua_S)
-{
-#ifndef TOLUA_RELEASE
- tolua_Error tolua_err;
- if (
- !tolua_isusertype(tolua_S,1,"cChestEntity",0,&tolua_err) ||
- !tolua_isnoobj(tolua_S,2,&tolua_err)
- )
- goto tolua_lerror;
- else
-#endif
- {
- cChestEntity* self = (cChestEntity*) tolua_tousertype(tolua_S,1,0);
-#ifndef TOLUA_RELEASE
- if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetChestHeight'", NULL);
-#endif
- {
- int tolua_ret = (int) self->GetChestHeight();
- tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
- }
- }
- return 1;
-#ifndef TOLUA_RELEASE
- tolua_lerror:
- tolua_error(tolua_S,"#ferror in function 'GetChestHeight'.",&tolua_err);
- return 0;
-#endif
-}
-#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)
@@ -22995,7 +22963,6 @@ TOLUA_API int tolua_AllToLua_open (lua_State* tolua_S)
tolua_function(tolua_S,"GetSlot",tolua_AllToLua_cChestEntity_GetSlot00);
tolua_function(tolua_S,"SetSlot",tolua_AllToLua_cChestEntity_SetSlot00);
tolua_function(tolua_S,"UsedBy",tolua_AllToLua_cChestEntity_UsedBy00);
- tolua_function(tolua_S,"GetChestHeight",tolua_AllToLua_cChestEntity_GetChestHeight00);
tolua_variable(tolua_S,"__cBlockEntityWindowOwner__",tolua_get_cChestEntity___cBlockEntityWindowOwner__,NULL);
tolua_endmodule(tolua_S);
tolua_cclass(tolua_S,"Lua__cChestEntity","Lua__cChestEntity","cChestEntity",NULL);