From d75a7c51a3ea79c10f628d1452de55ee1ce01d62 Mon Sep 17 00:00:00 2001 From: CocosRobot Date: Fri, 2 May 2014 00:37:21 +0000 Subject: [PATCH] [AUTO]: updating luabinding automatically --- .../scripting/lua-bindings/auto/api/Layer.lua | 15 ------------- .../lua-bindings/auto/api/PhysicsWorld.lua | 13 +++++++---- .../scripting/lua-bindings/auto/api/Scene.lua | 22 +++++++++++++++++++ .../auto/lua_cocos2dx_auto.cpp.REMOVED.git-id | 2 +- .../lua-bindings/auto/lua_cocos2dx_auto.hpp | 1 - ...a_cocos2dx_physics_auto.cpp.REMOVED.git-id | 2 +- .../auto/lua_cocos2dx_physics_auto.hpp | 1 + 7 files changed, 34 insertions(+), 22 deletions(-) diff --git a/cocos/scripting/lua-bindings/auto/api/Layer.lua b/cocos/scripting/lua-bindings/auto/api/Layer.lua index 8156f9714c..005f4aefc7 100644 --- a/cocos/scripting/lua-bindings/auto/api/Layer.lua +++ b/cocos/scripting/lua-bindings/auto/api/Layer.lua @@ -3,26 +3,11 @@ -- @module Layer -- @extend Node --------------------------------- --- @function [parent=#Layer] updatePhysics --- @param self --- @param #float float - --------------------------------- --- @function [parent=#Layer] getPhysicsWorld --- @param self --- @return PhysicsWorld#PhysicsWorld ret (return value: cc.PhysicsWorld) - -------------------------------- -- @function [parent=#Layer] create -- @param self -- @return Layer#Layer ret (return value: cc.Layer) --------------------------------- --- @function [parent=#Layer] createWithPhysics --- @param self --- @return Layer#Layer ret (return value: cc.Layer) - -------------------------------- -- @function [parent=#Layer] getDescription -- @param self diff --git a/cocos/scripting/lua-bindings/auto/api/PhysicsWorld.lua b/cocos/scripting/lua-bindings/auto/api/PhysicsWorld.lua index 56b1dfd03a..3722b4a69b 100644 --- a/cocos/scripting/lua-bindings/auto/api/PhysicsWorld.lua +++ b/cocos/scripting/lua-bindings/auto/api/PhysicsWorld.lua @@ -3,15 +3,20 @@ -- @module PhysicsWorld -------------------------------- --- @function [parent=#PhysicsWorld] setGravity +-- @function [parent=#PhysicsWorld] getGravity -- @param self --- @param #cc.math::Vector2 array +-- @return math::Vector2#math::Vector2 ret (return value: cc.math::Vector2) -------------------------------- -- @function [parent=#PhysicsWorld] getAllBodies -- @param self -- @return array_table#array_table ret (return value: array_table) +-------------------------------- +-- @function [parent=#PhysicsWorld] setGravity +-- @param self +-- @param #cc.math::Vector2 array + -------------------------------- -- @function [parent=#PhysicsWorld] getSpeed -- @param self @@ -68,9 +73,9 @@ -- @return int#int ret (return value: int) -------------------------------- --- @function [parent=#PhysicsWorld] getGravity +-- @function [parent=#PhysicsWorld] getScene -- @param self --- @return math::Vector2#math::Vector2 ret (return value: cc.math::Vector2) +-- @return Scene#Scene ret (return value: cc.Scene) -------------------------------- -- @function [parent=#PhysicsWorld] setDebugDrawMask diff --git a/cocos/scripting/lua-bindings/auto/api/Scene.lua b/cocos/scripting/lua-bindings/auto/api/Scene.lua index 994cde90bd..112cdd6a5a 100644 --- a/cocos/scripting/lua-bindings/auto/api/Scene.lua +++ b/cocos/scripting/lua-bindings/auto/api/Scene.lua @@ -3,11 +3,21 @@ -- @module Scene -- @extend Node +-------------------------------- +-- @function [parent=#Scene] getPhysicsWorld +-- @param self +-- @return PhysicsWorld#PhysicsWorld ret (return value: cc.PhysicsWorld) + -------------------------------- -- @function [parent=#Scene] create -- @param self -- @return Scene#Scene ret (return value: cc.Scene) +-------------------------------- +-- @function [parent=#Scene] createWithPhysics +-- @param self +-- @return Scene#Scene ret (return value: cc.Scene) + -------------------------------- -- @function [parent=#Scene] getDescription -- @param self @@ -18,4 +28,16 @@ -- @param self -- @return Scene#Scene ret (return value: cc.Scene) +-------------------------------- +-- @function [parent=#Scene] update +-- @param self +-- @param #float float + +-------------------------------- +-- @function [parent=#Scene] addChild +-- @param self +-- @param #cc.Node node +-- @param #int int +-- @param #int int + return nil diff --git a/cocos/scripting/lua-bindings/auto/lua_cocos2dx_auto.cpp.REMOVED.git-id b/cocos/scripting/lua-bindings/auto/lua_cocos2dx_auto.cpp.REMOVED.git-id index 69c4659218..5949c2c56e 100644 --- a/cocos/scripting/lua-bindings/auto/lua_cocos2dx_auto.cpp.REMOVED.git-id +++ b/cocos/scripting/lua-bindings/auto/lua_cocos2dx_auto.cpp.REMOVED.git-id @@ -1 +1 @@ -0de0678d6c9c9e08d20c3775bf99531def80654a \ No newline at end of file +386e6619a3dd4ab1afa2a66944aa4ced9b12960c \ No newline at end of file diff --git a/cocos/scripting/lua-bindings/auto/lua_cocos2dx_auto.hpp b/cocos/scripting/lua-bindings/auto/lua_cocos2dx_auto.hpp index 2f162c819c..4f347a554e 100644 --- a/cocos/scripting/lua-bindings/auto/lua_cocos2dx_auto.hpp +++ b/cocos/scripting/lua-bindings/auto/lua_cocos2dx_auto.hpp @@ -1565,7 +1565,6 @@ int register_all_cocos2dx(lua_State* tolua_S); - #endif // __cocos2dx_h__ diff --git a/cocos/scripting/lua-bindings/auto/lua_cocos2dx_physics_auto.cpp.REMOVED.git-id b/cocos/scripting/lua-bindings/auto/lua_cocos2dx_physics_auto.cpp.REMOVED.git-id index 32350ab95a..0d0f02b543 100644 --- a/cocos/scripting/lua-bindings/auto/lua_cocos2dx_physics_auto.cpp.REMOVED.git-id +++ b/cocos/scripting/lua-bindings/auto/lua_cocos2dx_physics_auto.cpp.REMOVED.git-id @@ -1 +1 @@ -549fefb3c45c97c9e6f963ed72c8386437cb4dc9 \ No newline at end of file +8a49e1e092b844f369715d9f7d98a458d0f89d3c \ No newline at end of file diff --git a/cocos/scripting/lua-bindings/auto/lua_cocos2dx_physics_auto.hpp b/cocos/scripting/lua-bindings/auto/lua_cocos2dx_physics_auto.hpp index 58175d4bf4..c0232624cf 100644 --- a/cocos/scripting/lua-bindings/auto/lua_cocos2dx_physics_auto.hpp +++ b/cocos/scripting/lua-bindings/auto/lua_cocos2dx_physics_auto.hpp @@ -262,6 +262,7 @@ int register_all_cocos2dx_physics(lua_State* tolua_S); + #endif // __cocos2dx_physics_h__