[AUTO]: updating luabinding automatically

This commit is contained in:
CocosRobot 2014-10-16 09:55:07 +00:00
parent 064f0d9042
commit 4a084a4ebc
4 changed files with 166 additions and 69 deletions

View File

@ -1,64 +0,0 @@
--------------------------------
-- @module Skeleton
-- @extend Node,BlendProtocol
-- @parent_module sp
--------------------------------
--
-- @function [parent=#Skeleton] setToSetupPose
-- @param self
--------------------------------
--
-- @function [parent=#Skeleton] setBlendFunc
-- @param self
-- @param #cc.BlendFunc func
--------------------------------
--
-- @function [parent=#Skeleton] onDraw
-- @param self
-- @param #mat4_table transform
-- @param #unsigned int flags
--------------------------------
--
-- @function [parent=#Skeleton] setSlotsToSetupPose
-- @param self
--------------------------------
--
-- @function [parent=#Skeleton] getBlendFunc
-- @param self
-- @return BlendFunc#BlendFunc ret (return value: cc.BlendFunc)
--------------------------------
--
-- @function [parent=#Skeleton] setSkin
-- @param self
-- @param #char skinName
-- @return bool#bool ret (return value: bool)
--------------------------------
--
-- @function [parent=#Skeleton] setBonesToSetupPose
-- @param self
--------------------------------
--
-- @function [parent=#Skeleton] getBoundingBox
-- @param self
-- @return rect_table#rect_table ret (return value: rect_table)
--------------------------------
--
-- @function [parent=#Skeleton] onEnter
-- @param self
--------------------------------
--
-- @function [parent=#Skeleton] onExit
-- @param self
return nil

View File

@ -1,17 +1,69 @@
-------------------------------- --------------------------------
-- @module SkeletonAnimation -- @module SkeletonAnimation
-- @extend Skeleton -- @extend SkeletonRenderer
-- @parent_module sp -- @parent_module sp
--------------------------------
--
-- @function [parent=#SkeletonAnimation] setStartListener
-- @param self
-- @param #function listener
--------------------------------
--
-- @function [parent=#SkeletonAnimation] setTrackEventListener
-- @param self
-- @param #spTrackEntry entry
-- @param #function listener
--------------------------------
--
-- @function [parent=#SkeletonAnimation] setTrackCompleteListener
-- @param self
-- @param #spTrackEntry entry
-- @param #function listener
--------------------------------
--
-- @function [parent=#SkeletonAnimation] setTrackStartListener
-- @param self
-- @param #spTrackEntry entry
-- @param #function listener
--------------------------------
--
-- @function [parent=#SkeletonAnimation] setCompleteListener
-- @param self
-- @param #function listener
--------------------------------
--
-- @function [parent=#SkeletonAnimation] setTrackEndListener
-- @param self
-- @param #spTrackEntry entry
-- @param #function listener
--------------------------------
--
-- @function [parent=#SkeletonAnimation] setEventListener
-- @param self
-- @param #function listener
-------------------------------- --------------------------------
-- --
-- @function [parent=#SkeletonAnimation] setMix -- @function [parent=#SkeletonAnimation] setMix
-- @param self -- @param self
-- @param #char fromAnimation -- @param #string fromAnimation
-- @param #char toAnimation -- @param #string toAnimation
-- @param #float duration -- @param #float duration
--------------------------------
--
-- @function [parent=#SkeletonAnimation] setEndListener
-- @param self
-- @param #function listener
-------------------------------- --------------------------------
-- --
-- @function [parent=#SkeletonAnimation] clearTracks -- @function [parent=#SkeletonAnimation] clearTracks
@ -22,4 +74,14 @@
-- @function [parent=#SkeletonAnimation] clearTrack -- @function [parent=#SkeletonAnimation] clearTrack
-- @param self -- @param self
--------------------------------
-- @overload self, string, string, float
-- @overload self, string, spAtlas, float
-- @function [parent=#SkeletonAnimation] createWithFile
-- @param self
-- @param #string skeletonDataFile
-- @param #spAtlas atlas
-- @param #float scale
-- @return SkeletonAnimation#SkeletonAnimation ret (retunr value: sp.SkeletonAnimation)
return nil return nil

View File

@ -0,0 +1,99 @@
--------------------------------
-- @module SkeletonRenderer
-- @extend Node,BlendProtocol
-- @parent_module sp
--------------------------------
--
-- @function [parent=#SkeletonRenderer] setTimeScale
-- @param self
-- @param #float scale
--------------------------------
--
-- @function [parent=#SkeletonRenderer] isOpacityModifyRGB
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
--
-- @function [parent=#SkeletonRenderer] setDebugSlotsEnabled
-- @param self
-- @param #bool enabled
--------------------------------
--
-- @function [parent=#SkeletonRenderer] getDebugSlotsEnabled
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
--
-- @function [parent=#SkeletonRenderer] setBonesToSetupPose
-- @param self
--------------------------------
--
-- @function [parent=#SkeletonRenderer] setSlotsToSetupPose
-- @param self
--------------------------------
--
-- @function [parent=#SkeletonRenderer] setSkin
-- @param self
-- @param #string skinName
-- @return bool#bool ret (return value: bool)
--------------------------------
--
-- @function [parent=#SkeletonRenderer] setToSetupPose
-- @param self
--------------------------------
--
-- @function [parent=#SkeletonRenderer] setOpacityModifyRGB
-- @param self
-- @param #bool value
--------------------------------
--
-- @function [parent=#SkeletonRenderer] setDebugBonesEnabled
-- @param self
-- @param #bool enabled
--------------------------------
--
-- @function [parent=#SkeletonRenderer] getSkeleton
-- @param self
-- @return spSkeleton#spSkeleton ret (return value: spSkeleton)
--------------------------------
--
-- @function [parent=#SkeletonRenderer] getDebugBonesEnabled
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
--
-- @function [parent=#SkeletonRenderer] getTimeScale
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
-- @overload self, string, string, float
-- @overload self, string, spAtlas, float
-- @function [parent=#SkeletonRenderer] createWithFile
-- @param self
-- @param #string skeletonDataFile
-- @param #spAtlas atlas
-- @param #float scale
-- @return SkeletonRenderer#SkeletonRenderer ret (retunr value: sp.SkeletonRenderer)
--------------------------------
--
-- @function [parent=#SkeletonRenderer] getBoundingBox
-- @param self
-- @return rect_table#rect_table ret (return value: rect_table)
return nil

View File

@ -2,8 +2,8 @@
-- @module sp -- @module sp
-------------------------------------------------------- --------------------------------------------------------
-- the sp Skeleton -- the sp SkeletonRenderer
-- @field [parent=#sp] Skeleton#Skeleton Skeleton preloaded module -- @field [parent=#sp] SkeletonRenderer#SkeletonRenderer SkeletonRenderer preloaded module
-------------------------------------------------------- --------------------------------------------------------