From e3799aec91b2fec930f78b958c1d130c5f0dd8c3 Mon Sep 17 00:00:00 2001 From: halx99 Date: Thu, 11 Aug 2022 01:57:48 +0000 Subject: [PATCH] Committing genbindings changes --- .../lua-bindings/auto/axlua_base_auto.cpp | 195 ------------------ .../lua-bindings/auto/axlua_base_auto.hpp | 4 - 2 files changed, 199 deletions(-) diff --git a/extensions/scripting/lua-bindings/auto/axlua_base_auto.cpp b/extensions/scripting/lua-bindings/auto/axlua_base_auto.cpp index 132d405ad1..cecb27b13f 100644 --- a/extensions/scripting/lua-bindings/auto/axlua_base_auto.cpp +++ b/extensions/scripting/lua-bindings/auto/axlua_base_auto.cpp @@ -88833,56 +88833,6 @@ int lua_axys_base_Camera_getBackgroundBrush(lua_State* tolua_S) return 0; } -int lua_axys_base_Camera_setAspectRatio(lua_State* tolua_S) -{ - int argc = 0; - axys::Camera* cobj = nullptr; - bool ok = true; - -#if _AX_DEBUG >= 1 - tolua_Error tolua_err; -#endif - - -#if _AX_DEBUG >= 1 - if (!tolua_isusertype(tolua_S,1,"ax.Camera",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (axys::Camera*)tolua_tousertype(tolua_S,1,0); - -#if _AX_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_axys_base_Camera_setAspectRatio'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 1) - { - double arg0; - - ok &= luaval_to_number(tolua_S, 2,&arg0, "ax.Camera:setAspectRatio"); - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_axys_base_Camera_setAspectRatio'", nullptr); - return 0; - } - cobj->setAspectRatio(arg0); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "ax.Camera:setAspectRatio",argc, 1); - return 0; - -#if _AX_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_axys_base_Camera_setAspectRatio'.",&tolua_err); -#endif - - return 0; -} int lua_axys_base_Camera_setFarPlane(lua_State* tolua_S) { int argc = 0; @@ -89174,53 +89124,6 @@ int lua_axys_base_Camera_setAdditionalProjection(lua_State* tolua_S) return 0; } -int lua_axys_base_Camera_initDefault(lua_State* tolua_S) -{ - int argc = 0; - axys::Camera* cobj = nullptr; - bool ok = true; - -#if _AX_DEBUG >= 1 - tolua_Error tolua_err; -#endif - - -#if _AX_DEBUG >= 1 - if (!tolua_isusertype(tolua_S,1,"ax.Camera",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (axys::Camera*)tolua_tousertype(tolua_S,1,0); - -#if _AX_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_axys_base_Camera_initDefault'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_axys_base_Camera_initDefault'", nullptr); - return 0; - } - bool ret = cobj->initDefault(); - tolua_pushboolean(tolua_S,(bool)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "ax.Camera:initDefault",argc, 0); - return 0; - -#if _AX_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_axys_base_Camera_initDefault'.",&tolua_err); -#endif - - return 0; -} int lua_axys_base_Camera_setNearPlane(lua_State* tolua_S) { int argc = 0; @@ -89271,53 +89174,6 @@ int lua_axys_base_Camera_setNearPlane(lua_State* tolua_S) return 0; } -int lua_axys_base_Camera_getAspectRatio(lua_State* tolua_S) -{ - int argc = 0; - axys::Camera* cobj = nullptr; - bool ok = true; - -#if _AX_DEBUG >= 1 - tolua_Error tolua_err; -#endif - - -#if _AX_DEBUG >= 1 - if (!tolua_isusertype(tolua_S,1,"ax.Camera",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (axys::Camera*)tolua_tousertype(tolua_S,1,0); - -#if _AX_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_axys_base_Camera_getAspectRatio'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_axys_base_Camera_getAspectRatio'", nullptr); - return 0; - } - double ret = cobj->getAspectRatio(); - tolua_pushnumber(tolua_S,(lua_Number)ret); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "ax.Camera:getAspectRatio",argc, 0); - return 0; - -#if _AX_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_axys_base_Camera_getAspectRatio'.",&tolua_err); -#endif - - return 0; -} int lua_axys_base_Camera_applyZoom(lua_State* tolua_S) { int argc = 0; @@ -89765,53 +89621,6 @@ int lua_axys_base_Camera_isVisibleInFrustum(lua_State* tolua_S) return 0; } -int lua_axys_base_Camera_applyCustomProperties(lua_State* tolua_S) -{ - int argc = 0; - axys::Camera* cobj = nullptr; - bool ok = true; - -#if _AX_DEBUG >= 1 - tolua_Error tolua_err; -#endif - - -#if _AX_DEBUG >= 1 - if (!tolua_isusertype(tolua_S,1,"ax.Camera",0,&tolua_err)) goto tolua_lerror; -#endif - - cobj = (axys::Camera*)tolua_tousertype(tolua_S,1,0); - -#if _AX_DEBUG >= 1 - if (!cobj) - { - tolua_error(tolua_S,"invalid 'cobj' in function 'lua_axys_base_Camera_applyCustomProperties'", nullptr); - return 0; - } -#endif - - argc = lua_gettop(tolua_S)-1; - if (argc == 0) - { - if(!ok) - { - tolua_error(tolua_S,"invalid arguments in function 'lua_axys_base_Camera_applyCustomProperties'", nullptr); - return 0; - } - cobj->applyCustomProperties(); - lua_settop(tolua_S, 1); - return 1; - } - luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "ax.Camera:applyCustomProperties",argc, 0); - return 0; - -#if _AX_DEBUG >= 1 - tolua_lerror: - tolua_error(tolua_S,"#ferror in function 'lua_axys_base_Camera_applyCustomProperties'.",&tolua_err); -#endif - - return 0; -} int lua_axys_base_Camera_setDepth(lua_State* tolua_S) { int argc = 0; @@ -90621,16 +90430,13 @@ int lua_register_axys_base_Camera(lua_State* tolua_S) tolua_function(tolua_S,"lookAt",lua_axys_base_Camera_lookAt); tolua_function(tolua_S,"apply",lua_axys_base_Camera_apply); tolua_function(tolua_S,"getBackgroundBrush",lua_axys_base_Camera_getBackgroundBrush); - tolua_function(tolua_S,"setAspectRatio",lua_axys_base_Camera_setAspectRatio); tolua_function(tolua_S,"setFarPlane",lua_axys_base_Camera_setFarPlane); tolua_function(tolua_S,"getProjectionMatrix",lua_axys_base_Camera_getProjectionMatrix); tolua_function(tolua_S,"isBrushValid",lua_axys_base_Camera_isBrushValid); tolua_function(tolua_S,"getDepthInView",lua_axys_base_Camera_getDepthInView); tolua_function(tolua_S,"clearBackground",lua_axys_base_Camera_clearBackground); tolua_function(tolua_S,"setAdditionalProjection",lua_axys_base_Camera_setAdditionalProjection); - tolua_function(tolua_S,"initDefault",lua_axys_base_Camera_initDefault); tolua_function(tolua_S,"setNearPlane",lua_axys_base_Camera_setNearPlane); - tolua_function(tolua_S,"getAspectRatio",lua_axys_base_Camera_getAspectRatio); tolua_function(tolua_S,"applyZoom",lua_axys_base_Camera_applyZoom); tolua_function(tolua_S,"setFOV",lua_axys_base_Camera_setFOV); tolua_function(tolua_S,"getCameraFlag",lua_axys_base_Camera_getCameraFlag); @@ -90640,7 +90446,6 @@ int lua_register_axys_base_Camera(lua_State* tolua_S) tolua_function(tolua_S,"getRenderOrder",lua_axys_base_Camera_getRenderOrder); tolua_function(tolua_S,"projectGL",lua_axys_base_Camera_projectGL); tolua_function(tolua_S,"isVisibleInFrustum",lua_axys_base_Camera_isVisibleInFrustum); - tolua_function(tolua_S,"applyCustomProperties",lua_axys_base_Camera_applyCustomProperties); tolua_function(tolua_S,"setDepth",lua_axys_base_Camera_setDepth); tolua_function(tolua_S,"setScene",lua_axys_base_Camera_setScene); tolua_function(tolua_S,"getFOV",lua_axys_base_Camera_getFOV); diff --git a/extensions/scripting/lua-bindings/auto/axlua_base_auto.hpp b/extensions/scripting/lua-bindings/auto/axlua_base_auto.hpp index 36deb181a4..27b68c2527 100644 --- a/extensions/scripting/lua-bindings/auto/axlua_base_auto.hpp +++ b/extensions/scripting/lua-bindings/auto/axlua_base_auto.hpp @@ -2406,10 +2406,6 @@ int register_all_axys_base(lua_State* tolua_S); - - - -