summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-09-15 00:13:45 +0200
committermadmaxoft <github@xoft.cz>2013-09-15 00:14:03 +0200
commit37b3b5defb3ca62a4805f2989707db63609e6cdc (patch)
treebe05bff0b74773929fcfba1b8d1429e836fbf849
parentAdded a script that uploads the APIDump's docs to a website. (diff)
downloadcuberite-37b3b5defb3ca62a4805f2989707db63609e6cdc.tar
cuberite-37b3b5defb3ca62a4805f2989707db63609e6cdc.tar.gz
cuberite-37b3b5defb3ca62a4805f2989707db63609e6cdc.tar.bz2
cuberite-37b3b5defb3ca62a4805f2989707db63609e6cdc.tar.lz
cuberite-37b3b5defb3ca62a4805f2989707db63609e6cdc.tar.xz
cuberite-37b3b5defb3ca62a4805f2989707db63609e6cdc.tar.zst
cuberite-37b3b5defb3ca62a4805f2989707db63609e6cdc.zip
-rw-r--r--source/Bindings.cpp36
-rw-r--r--source/Bindings.h2
2 files changed, 36 insertions, 2 deletions
diff --git a/source/Bindings.cpp b/source/Bindings.cpp
index 35b32d5cb..49c103d42 100644
--- a/source/Bindings.cpp
+++ b/source/Bindings.cpp
@@ -1,6 +1,6 @@
/*
** Lua binding: AllToLua
-** Generated automatically by tolua++-1.0.92 on 09/07/13 22:05:18.
+** Generated automatically by tolua++-1.0.92 on 09/15/13 00:13:18.
*/
#ifndef __cplusplus
@@ -4728,6 +4728,38 @@ static int tolua_AllToLua_cEntity_IsMinecart00(lua_State* tolua_S)
}
#endif //#ifndef TOLUA_DISABLE
+/* method: IsBoat of class cEntity */
+#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_IsBoat00
+static int tolua_AllToLua_cEntity_IsBoat00(lua_State* tolua_S)
+{
+#ifndef TOLUA_RELEASE
+ tolua_Error tolua_err;
+ if (
+ !tolua_isusertype(tolua_S,1,"const cEntity",0,&tolua_err) ||
+ !tolua_isnoobj(tolua_S,2,&tolua_err)
+ )
+ goto tolua_lerror;
+ else
+#endif
+ {
+ const cEntity* self = (const cEntity*) tolua_tousertype(tolua_S,1,0);
+#ifndef TOLUA_RELEASE
+ if (!self) tolua_error(tolua_S,"invalid 'self' in function 'IsBoat'", NULL);
+#endif
+ {
+ bool tolua_ret = (bool) self->IsBoat();
+ tolua_pushboolean(tolua_S,(bool)tolua_ret);
+ }
+ }
+ return 1;
+#ifndef TOLUA_RELEASE
+ tolua_lerror:
+ tolua_error(tolua_S,"#ferror in function 'IsBoat'.",&tolua_err);
+ return 0;
+#endif
+}
+#endif //#ifndef TOLUA_DISABLE
+
/* method: IsTNT of class cEntity */
#ifndef TOLUA_DISABLE_tolua_AllToLua_cEntity_IsTNT00
static int tolua_AllToLua_cEntity_IsTNT00(lua_State* tolua_S)
@@ -29652,6 +29684,7 @@ TOLUA_API int tolua_AllToLua_open (lua_State* tolua_S)
tolua_constant(tolua_S,"etMonster",cEntity::etMonster);
tolua_constant(tolua_S,"etFallingBlock",cEntity::etFallingBlock);
tolua_constant(tolua_S,"etMinecart",cEntity::etMinecart);
+ tolua_constant(tolua_S,"etBoat",cEntity::etBoat);
tolua_constant(tolua_S,"etTNT",cEntity::etTNT);
tolua_constant(tolua_S,"etProjectile",cEntity::etProjectile);
tolua_constant(tolua_S,"etMob",cEntity::etMob);
@@ -29664,6 +29697,7 @@ TOLUA_API int tolua_AllToLua_open (lua_State* tolua_S)
tolua_function(tolua_S,"IsPickup",tolua_AllToLua_cEntity_IsPickup00);
tolua_function(tolua_S,"IsMob",tolua_AllToLua_cEntity_IsMob00);
tolua_function(tolua_S,"IsMinecart",tolua_AllToLua_cEntity_IsMinecart00);
+ tolua_function(tolua_S,"IsBoat",tolua_AllToLua_cEntity_IsBoat00);
tolua_function(tolua_S,"IsTNT",tolua_AllToLua_cEntity_IsTNT00);
tolua_function(tolua_S,"IsA",tolua_AllToLua_cEntity_IsA00);
tolua_function(tolua_S,"GetClass",tolua_AllToLua_cEntity_GetClass00);
diff --git a/source/Bindings.h b/source/Bindings.h
index 95935fb90..9088b31aa 100644
--- a/source/Bindings.h
+++ b/source/Bindings.h
@@ -1,6 +1,6 @@
/*
** Lua binding: AllToLua
-** Generated automatically by tolua++-1.0.92 on 09/07/13 22:05:19.
+** Generated automatically by tolua++-1.0.92 on 09/15/13 00:13:19.
*/
/* Exported function */