[AUTO]: updating luabinding automatically

This commit is contained in:
CocosRobot 2015-03-17 06:28:14 +00:00
parent aa573a9553
commit 9df3f57e0d
35 changed files with 2313 additions and 4696 deletions

View File

@ -10,37 +10,6 @@
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
-- Pause the Process
-- @function [parent=#ArmatureAnimation] pause
-- @param self
-- @return ArmatureAnimation#ArmatureAnimation self (return value: ccs.ArmatureAnimation)
--------------------------------
-- Scale animation play speed.<br>
-- param animationScale Scale value
-- @function [parent=#ArmatureAnimation] setSpeedScale
-- @param self
-- @param #float speedScale
-- @return ArmatureAnimation#ArmatureAnimation self (return value: ccs.ArmatureAnimation)
--------------------------------
-- Init with a Armature<br>
-- param armature The Armature ArmatureAnimation will bind to
-- @function [parent=#ArmatureAnimation] init
-- @param self
-- @param #ccs.Armature armature
-- @return bool#bool ret (return value: bool)
--------------------------------
--
-- @function [parent=#ArmatureAnimation] playWithIndexes
-- @param self
-- @param #array_table movementIndexes
-- @param #int durationTo
-- @param #bool loop
-- @return ArmatureAnimation#ArmatureAnimation self (return value: ccs.ArmatureAnimation)
--------------------------------
-- Play animation by animation name.<br>
-- param animationName The animation name you want to play<br>
@ -66,22 +35,27 @@
-- @return ArmatureAnimation#ArmatureAnimation self (return value: ccs.ArmatureAnimation)
--------------------------------
-- Resume the Process
-- @function [parent=#ArmatureAnimation] resume
-- @param self
-- @return ArmatureAnimation#ArmatureAnimation self (return value: ccs.ArmatureAnimation)
--------------------------------
-- Stop the Process
-- @function [parent=#ArmatureAnimation] stop
--
-- @function [parent=#ArmatureAnimation] playWithIndexes
-- @param self
-- @param #array_table movementIndexes
-- @param #int durationTo
-- @param #bool loop
-- @return ArmatureAnimation#ArmatureAnimation self (return value: ccs.ArmatureAnimation)
--------------------------------
--
-- @function [parent=#ArmatureAnimation] update
-- @function [parent=#ArmatureAnimation] setAnimationData
-- @param self
-- @param #float dt
-- @param #ccs.AnimationData data
-- @return ArmatureAnimation#ArmatureAnimation self (return value: ccs.ArmatureAnimation)
--------------------------------
-- Scale animation play speed.<br>
-- param animationScale Scale value
-- @function [parent=#ArmatureAnimation] setSpeedScale
-- @param self
-- @param #float speedScale
-- @return ArmatureAnimation#ArmatureAnimation self (return value: ccs.ArmatureAnimation)
--------------------------------
@ -90,6 +64,42 @@
-- @param self
-- @return AnimationData#AnimationData ret (return value: ccs.AnimationData)
--------------------------------
-- Go to specified frame and play current movement.<br>
-- You need first switch to the movement you want to play, then call this function.<br>
-- example : playByIndex(0);<br>
-- gotoAndPlay(0);<br>
-- playByIndex(1);<br>
-- gotoAndPlay(0);<br>
-- gotoAndPlay(15);
-- @function [parent=#ArmatureAnimation] gotoAndPlay
-- @param self
-- @param #int frameIndex
-- @return ArmatureAnimation#ArmatureAnimation self (return value: ccs.ArmatureAnimation)
--------------------------------
-- Init with a Armature<br>
-- param armature The Armature ArmatureAnimation will bind to
-- @function [parent=#ArmatureAnimation] init
-- @param self
-- @param #ccs.Armature armature
-- @return bool#bool ret (return value: bool)
--------------------------------
--
-- @function [parent=#ArmatureAnimation] playWithNames
-- @param self
-- @param #array_table movementNames
-- @param #int durationTo
-- @param #bool loop
-- @return ArmatureAnimation#ArmatureAnimation self (return value: ccs.ArmatureAnimation)
--------------------------------
-- Get movement count
-- @function [parent=#ArmatureAnimation] getMovementCount
-- @param self
-- @return long#long ret (return value: long)
--------------------------------
--
-- @function [parent=#ArmatureAnimation] playWithIndex
@ -106,41 +116,6 @@
-- @param self
-- @return string#string ret (return value: string)
--------------------------------
--
-- @function [parent=#ArmatureAnimation] setAnimationData
-- @param self
-- @param #ccs.AnimationData data
-- @return ArmatureAnimation#ArmatureAnimation self (return value: ccs.ArmatureAnimation)
--------------------------------
-- Go to specified frame and play current movement.<br>
-- You need first switch to the movement you want to play, then call this function.<br>
-- example : playByIndex(0);<br>
-- gotoAndPlay(0);<br>
-- playByIndex(1);<br>
-- gotoAndPlay(0);<br>
-- gotoAndPlay(15);
-- @function [parent=#ArmatureAnimation] gotoAndPlay
-- @param self
-- @param #int frameIndex
-- @return ArmatureAnimation#ArmatureAnimation self (return value: ccs.ArmatureAnimation)
--------------------------------
--
-- @function [parent=#ArmatureAnimation] playWithNames
-- @param self
-- @param #array_table movementNames
-- @param #int durationTo
-- @param #bool loop
-- @return ArmatureAnimation#ArmatureAnimation self (return value: ccs.ArmatureAnimation)
--------------------------------
-- Get movement count
-- @function [parent=#ArmatureAnimation] getMovementCount
-- @param self
-- @return long#long ret (return value: long)
--------------------------------
-- Create with a Armature<br>
-- param armature The Armature ArmatureAnimation will bind to
@ -149,6 +124,31 @@
-- @param #ccs.Armature armature
-- @return ArmatureAnimation#ArmatureAnimation ret (return value: ccs.ArmatureAnimation)
--------------------------------
-- Pause the Process
-- @function [parent=#ArmatureAnimation] pause
-- @param self
-- @return ArmatureAnimation#ArmatureAnimation self (return value: ccs.ArmatureAnimation)
--------------------------------
-- Stop the Process
-- @function [parent=#ArmatureAnimation] stop
-- @param self
-- @return ArmatureAnimation#ArmatureAnimation self (return value: ccs.ArmatureAnimation)
--------------------------------
--
-- @function [parent=#ArmatureAnimation] update
-- @param self
-- @param #float dt
-- @return ArmatureAnimation#ArmatureAnimation self (return value: ccs.ArmatureAnimation)
--------------------------------
-- Resume the Process
-- @function [parent=#ArmatureAnimation] resume
-- @param self
-- @return ArmatureAnimation#ArmatureAnimation self (return value: ccs.ArmatureAnimation)
--------------------------------
-- js ctor
-- @function [parent=#ArmatureAnimation] ArmatureAnimation

View File

@ -10,15 +10,6 @@
-- @param self
-- @return int#int ret (return value: int)
--------------------------------
-- update billboard's transform and turn it towards camera
-- @function [parent=#BillBoard] visit
-- @param self
-- @param #cc.Renderer renderer
-- @param #mat4_table parentTransform
-- @param #unsigned int parentFlags
-- @return BillBoard#BillBoard self (return value: cc.BillBoard)
--------------------------------
-- Set the billboard rotation mode.
-- @function [parent=#BillBoard] setMode
@ -48,4 +39,13 @@
-- @param #int mode
-- @return BillBoard#BillBoard ret (return value: cc.BillBoard)
--------------------------------
-- update billboard's transform and turn it towards camera
-- @function [parent=#BillBoard] visit
-- @param self
-- @param #cc.Renderer renderer
-- @param #mat4_table parentTransform
-- @param #unsigned int parentFlags
-- @return BillBoard#BillBoard self (return value: cc.BillBoard)
return nil

View File

@ -11,28 +11,12 @@
-- @param #bool bEnabled
-- @return Control#Control self (return value: cc.Control)
--------------------------------
--
-- @function [parent=#Control] onTouchMoved
-- @param self
-- @param #cc.Touch touch
-- @param #cc.Event event
-- @return Control#Control self (return value: cc.Control)
--------------------------------
--
-- @function [parent=#Control] getState
-- @param self
-- @return int#int ret (return value: int)
--------------------------------
--
-- @function [parent=#Control] onTouchEnded
-- @param self
-- @param #cc.Touch touch
-- @param #cc.Event event
-- @return Control#Control self (return value: cc.Control)
--------------------------------
-- Sends action messages for the given control events.<br>
-- param controlEvents A bitmask whose set flags specify the control events for<br>
@ -55,28 +39,12 @@
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
--
-- @function [parent=#Control] onTouchCancelled
-- @param self
-- @param #cc.Touch touch
-- @param #cc.Event event
-- @return Control#Control self (return value: cc.Control)
--------------------------------
-- Updates the control layout using its current internal state.
-- @function [parent=#Control] needsLayout
-- @param self
-- @return Control#Control self (return value: cc.Control)
--------------------------------
--
-- @function [parent=#Control] onTouchBegan
-- @param self
-- @param #cc.Touch touch
-- @param #cc.Event event
-- @return bool#bool ret (return value: bool)
--------------------------------
--
-- @function [parent=#Control] hasVisibleParents
@ -127,6 +95,14 @@
-- @param self
-- @return Control#Control ret (return value: cc.Control)
--------------------------------
--
-- @function [parent=#Control] onTouchMoved
-- @param self
-- @param #cc.Touch touch
-- @param #cc.Event event
-- @return Control#Control self (return value: cc.Control)
--------------------------------
--
-- @function [parent=#Control] isOpacityModifyRGB
@ -140,4 +116,28 @@
-- @param #bool bOpacityModifyRGB
-- @return Control#Control self (return value: cc.Control)
--------------------------------
--
-- @function [parent=#Control] onTouchCancelled
-- @param self
-- @param #cc.Touch touch
-- @param #cc.Event event
-- @return Control#Control self (return value: cc.Control)
--------------------------------
--
-- @function [parent=#Control] onTouchEnded
-- @param self
-- @param #cc.Touch touch
-- @param #cc.Event event
-- @return Control#Control self (return value: cc.Control)
--------------------------------
--
-- @function [parent=#Control] onTouchBegan
-- @param self
-- @param #cc.Touch touch
-- @param #cc.Event event
-- @return bool#bool ret (return value: bool)
return nil

View File

@ -10,13 +10,6 @@
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
--
-- @function [parent=#ControlButton] setSelected
-- @param self
-- @param #bool enabled
-- @return ControlButton#ControlButton self (return value: cc.ControlButton)
--------------------------------
-- Sets the title label to use for the specified state.<br>
-- If a property is not specified for a state, the default is to use<br>
@ -37,20 +30,6 @@
-- @param #bool adjustBackgroundImage
-- @return ControlButton#ControlButton self (return value: cc.ControlButton)
--------------------------------
--
-- @function [parent=#ControlButton] setHighlighted
-- @param self
-- @param #bool enabled
-- @return ControlButton#ControlButton self (return value: cc.ControlButton)
--------------------------------
--
-- @function [parent=#ControlButton] setZoomOnTouchDown
-- @param self
-- @param #bool var
-- @return ControlButton#ControlButton self (return value: cc.ControlButton)
--------------------------------
-- Sets the title string to use for the specified state.<br>
-- If a property is not specified for a state, the default is to use<br>
@ -122,9 +101,9 @@
--------------------------------
--
-- @function [parent=#ControlButton] setEnabled
-- @function [parent=#ControlButton] setZoomOnTouchDown
-- @param self
-- @param #bool enabled
-- @param #bool var
-- @return ControlButton#ControlButton self (return value: cc.ControlButton)
--------------------------------
@ -143,18 +122,16 @@
-- @return int#int ret (return value: int)
--------------------------------
--
-- @function [parent=#ControlButton] needsLayout
-- Sets the font of the label, changes the label to a BMFont if neccessary.<br>
-- param fntFile The name of the font to change to<br>
-- param state The state that uses the specified fntFile. The values are described<br>
-- in "CCControlState".
-- @function [parent=#ControlButton] setTitleBMFontForState
-- @param self
-- @param #string fntFile
-- @param #int state
-- @return ControlButton#ControlButton self (return value: cc.ControlButton)
--------------------------------
-- @overload self
-- @overload self
-- @function [parent=#ControlButton] getCurrentTitle
-- @param self
-- @return string#string ret (return value: string)
--------------------------------
--
-- @function [parent=#ControlButton] getScaleRatio
@ -274,16 +251,12 @@
-- @return ControlButton#ControlButton self (return value: cc.ControlButton)
--------------------------------
-- Sets the font of the label, changes the label to a BMFont if neccessary.<br>
-- param fntFile The name of the font to change to<br>
-- param state The state that uses the specified fntFile. The values are described<br>
-- in "CCControlState".
-- @function [parent=#ControlButton] setTitleBMFontForState
-- @overload self
-- @overload self
-- @function [parent=#ControlButton] getCurrentTitle
-- @param self
-- @param #string fntFile
-- @param #int state
-- @return ControlButton#ControlButton self (return value: cc.ControlButton)
-- @return string#string ret (return value: string)
--------------------------------
--
-- @function [parent=#ControlButton] getTitleBMFontForState
@ -321,10 +294,9 @@
--------------------------------
--
-- @function [parent=#ControlButton] onTouchMoved
-- @function [parent=#ControlButton] setEnabled
-- @param self
-- @param #cc.Touch touch
-- @param #cc.Event event
-- @param #bool enabled
-- @return ControlButton#ControlButton self (return value: cc.ControlButton)
--------------------------------
@ -342,6 +314,21 @@
-- @param #color3b_table
-- @return ControlButton#ControlButton self (return value: cc.ControlButton)
--------------------------------
--
-- @function [parent=#ControlButton] onTouchMoved
-- @param self
-- @param #cc.Touch touch
-- @param #cc.Event event
-- @return ControlButton#ControlButton self (return value: cc.ControlButton)
--------------------------------
--
-- @function [parent=#ControlButton] setSelected
-- @param self
-- @param #bool enabled
-- @return ControlButton#ControlButton self (return value: cc.ControlButton)
--------------------------------
--
-- @function [parent=#ControlButton] onTouchCancelled
@ -352,11 +339,18 @@
--------------------------------
--
-- @function [parent=#ControlButton] setOpacity
-- @function [parent=#ControlButton] needsLayout
-- @param self
-- @param #unsigned char var
-- @return ControlButton#ControlButton self (return value: cc.ControlButton)
--------------------------------
--
-- @function [parent=#ControlButton] onTouchBegan
-- @param self
-- @param #cc.Touch touch
-- @param #cc.Event event
-- @return bool#bool ret (return value: bool)
--------------------------------
--
-- @function [parent=#ControlButton] updateDisplayedOpacity
@ -364,6 +358,13 @@
-- @param #unsigned char parentOpacity
-- @return ControlButton#ControlButton self (return value: cc.ControlButton)
--------------------------------
--
-- @function [parent=#ControlButton] setHighlighted
-- @param self
-- @param #bool enabled
-- @return ControlButton#ControlButton self (return value: cc.ControlButton)
--------------------------------
--
-- @function [parent=#ControlButton] updateDisplayedColor
@ -373,10 +374,9 @@
--------------------------------
--
-- @function [parent=#ControlButton] onTouchBegan
-- @function [parent=#ControlButton] setOpacity
-- @param self
-- @param #cc.Touch touch
-- @param #cc.Event event
-- @return bool#bool ret (return value: bool)
-- @param #unsigned char var
-- @return ControlButton#ControlButton self (return value: cc.ControlButton)
return nil

View File

@ -6,9 +6,10 @@
--------------------------------
--
-- @function [parent=#ControlColourPicker] setEnabled
-- @function [parent=#ControlColourPicker] hueSliderValueChanged
-- @param self
-- @param #bool bEnabled
-- @param #cc.Ref sender
-- @param #int controlEvent
-- @return ControlColourPicker#ControlColourPicker self (return value: cc.ControlColourPicker)
--------------------------------
@ -17,21 +18,6 @@
-- @param self
-- @return ControlHuePicker#ControlHuePicker ret (return value: cc.ControlHuePicker)
--------------------------------
--
-- @function [parent=#ControlColourPicker] setColor
-- @param self
-- @param #color3b_table colorValue
-- @return ControlColourPicker#ControlColourPicker self (return value: cc.ControlColourPicker)
--------------------------------
--
-- @function [parent=#ControlColourPicker] hueSliderValueChanged
-- @param self
-- @param #cc.Ref sender
-- @param #int controlEvent
-- @return ControlColourPicker#ControlColourPicker self (return value: cc.ControlColourPicker)
--------------------------------
--
-- @function [parent=#ControlColourPicker] getcolourPicker
@ -85,6 +71,20 @@
-- @param self
-- @return ControlColourPicker#ControlColourPicker ret (return value: cc.ControlColourPicker)
--------------------------------
--
-- @function [parent=#ControlColourPicker] setEnabled
-- @param self
-- @param #bool bEnabled
-- @return ControlColourPicker#ControlColourPicker self (return value: cc.ControlColourPicker)
--------------------------------
--
-- @function [parent=#ControlColourPicker] setColor
-- @param self
-- @param #color3b_table colorValue
-- @return ControlColourPicker#ControlColourPicker self (return value: cc.ControlColourPicker)
--------------------------------
-- js ctor
-- @function [parent=#ControlColourPicker] ControlColourPicker

View File

@ -4,13 +4,6 @@
-- @extend Control
-- @parent_module cc
--------------------------------
--
-- @function [parent=#ControlHuePicker] setEnabled
-- @param self
-- @param #bool enabled
-- @return ControlHuePicker#ControlHuePicker self (return value: cc.ControlHuePicker)
--------------------------------
--
-- @function [parent=#ControlHuePicker] initWithTargetAndPos
@ -85,6 +78,13 @@
-- @param #vec2_table pos
-- @return ControlHuePicker#ControlHuePicker ret (return value: cc.ControlHuePicker)
--------------------------------
--
-- @function [parent=#ControlHuePicker] setEnabled
-- @param self
-- @param #bool enabled
-- @return ControlHuePicker#ControlHuePicker self (return value: cc.ControlHuePicker)
--------------------------------
--
-- @function [parent=#ControlHuePicker] onTouchMoved

View File

@ -30,13 +30,6 @@
-- @param self
-- @return Sprite#Sprite ret (return value: cc.Sprite)
--------------------------------
--
-- @function [parent=#ControlSaturationBrightnessPicker] setEnabled
-- @param self
-- @param #bool enabled
-- @return ControlSaturationBrightnessPicker#ControlSaturationBrightnessPicker self (return value: cc.ControlSaturationBrightnessPicker)
--------------------------------
--
-- @function [parent=#ControlSaturationBrightnessPicker] getSlider
@ -69,6 +62,13 @@
-- @param #vec2_table pos
-- @return ControlSaturationBrightnessPicker#ControlSaturationBrightnessPicker ret (return value: cc.ControlSaturationBrightnessPicker)
--------------------------------
--
-- @function [parent=#ControlSaturationBrightnessPicker] setEnabled
-- @param self
-- @param #bool enabled
-- @return ControlSaturationBrightnessPicker#ControlSaturationBrightnessPicker self (return value: cc.ControlSaturationBrightnessPicker)
--------------------------------
-- js ctor
-- @function [parent=#ControlSaturationBrightnessPicker] ControlSaturationBrightnessPicker

View File

@ -6,27 +6,7 @@
--------------------------------
--
-- @function [parent=#ControlSlider] getSelectedThumbSprite
-- @param self
-- @return Sprite#Sprite ret (return value: cc.Sprite)
--------------------------------
--
-- @function [parent=#ControlSlider] locationFromTouch
-- @param self
-- @param #cc.Touch touch
-- @return vec2_table#vec2_table ret (return value: vec2_table)
--------------------------------
--
-- @function [parent=#ControlSlider] setSelectedThumbSprite
-- @param self
-- @param #cc.Sprite var
-- @return ControlSlider#ControlSlider self (return value: cc.ControlSlider)
--------------------------------
--
-- @function [parent=#ControlSlider] setProgressSprite
-- @function [parent=#ControlSlider] setBackgroundSprite
-- @param self
-- @param #cc.Sprite var
-- @return ControlSlider#ControlSlider self (return value: cc.ControlSlider)
@ -37,12 +17,49 @@
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
-- @overload self, cc.Sprite, cc.Sprite, cc.Sprite, cc.Sprite
-- @overload self, cc.Sprite, cc.Sprite, cc.Sprite
-- @function [parent=#ControlSlider] initWithSprites
-- @param self
-- @param #cc.Sprite backgroundSprite
-- @param #cc.Sprite progressSprite
-- @param #cc.Sprite thumbSprite
-- @param #cc.Sprite selectedThumbSprite
-- @return bool#bool ret (return value: bool)
--------------------------------
--
-- @function [parent=#ControlSlider] getMinimumAllowedValue
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
--
-- @function [parent=#ControlSlider] getMaximumValue
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
--
-- @function [parent=#ControlSlider] getSelectedThumbSprite
-- @param self
-- @return Sprite#Sprite ret (return value: cc.Sprite)
--------------------------------
--
-- @function [parent=#ControlSlider] setProgressSprite
-- @param self
-- @param #cc.Sprite var
-- @return ControlSlider#ControlSlider self (return value: cc.ControlSlider)
--------------------------------
--
-- @function [parent=#ControlSlider] setMaximumValue
-- @param self
-- @param #float val
-- @return ControlSlider#ControlSlider self (return value: cc.ControlSlider)
--------------------------------
--
-- @function [parent=#ControlSlider] getMinimumValue
@ -56,6 +73,38 @@
-- @param #cc.Sprite var
-- @return ControlSlider#ControlSlider self (return value: cc.ControlSlider)
--------------------------------
--
-- @function [parent=#ControlSlider] getValue
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
--
-- @function [parent=#ControlSlider] getBackgroundSprite
-- @param self
-- @return Sprite#Sprite ret (return value: cc.Sprite)
--------------------------------
--
-- @function [parent=#ControlSlider] getThumbSprite
-- @param self
-- @return Sprite#Sprite ret (return value: cc.Sprite)
--------------------------------
--
-- @function [parent=#ControlSlider] setValue
-- @param self
-- @param #float val
-- @return ControlSlider#ControlSlider self (return value: cc.ControlSlider)
--------------------------------
--
-- @function [parent=#ControlSlider] locationFromTouch
-- @param self
-- @param #cc.Touch touch
-- @return vec2_table#vec2_table ret (return value: vec2_table)
--------------------------------
--
-- @function [parent=#ControlSlider] setMinimumValue
@ -70,75 +119,6 @@
-- @param #float var
-- @return ControlSlider#ControlSlider self (return value: cc.ControlSlider)
--------------------------------
--
-- @function [parent=#ControlSlider] setEnabled
-- @param self
-- @param #bool enabled
-- @return ControlSlider#ControlSlider self (return value: cc.ControlSlider)
--------------------------------
--
-- @function [parent=#ControlSlider] setValue
-- @param self
-- @param #float val
-- @return ControlSlider#ControlSlider self (return value: cc.ControlSlider)
--------------------------------
--
-- @function [parent=#ControlSlider] setMaximumValue
-- @param self
-- @param #float val
-- @return ControlSlider#ControlSlider self (return value: cc.ControlSlider)
--------------------------------
--
-- @function [parent=#ControlSlider] needsLayout
-- @param self
-- @return ControlSlider#ControlSlider self (return value: cc.ControlSlider)
--------------------------------
--
-- @function [parent=#ControlSlider] getBackgroundSprite
-- @param self
-- @return Sprite#Sprite ret (return value: cc.Sprite)
--------------------------------
-- @overload self, cc.Sprite, cc.Sprite, cc.Sprite, cc.Sprite
-- @overload self, cc.Sprite, cc.Sprite, cc.Sprite
-- @function [parent=#ControlSlider] initWithSprites
-- @param self
-- @param #cc.Sprite backgroundSprite
-- @param #cc.Sprite progressSprite
-- @param #cc.Sprite thumbSprite
-- @param #cc.Sprite selectedThumbSprite
-- @return bool#bool ret (return value: bool)
--------------------------------
--
-- @function [parent=#ControlSlider] getMaximumValue
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
--
-- @function [parent=#ControlSlider] isTouchInside
-- @param self
-- @param #cc.Touch touch
-- @return bool#bool ret (return value: bool)
--------------------------------
--
-- @function [parent=#ControlSlider] getValue
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
--
-- @function [parent=#ControlSlider] getThumbSprite
-- @param self
-- @return Sprite#Sprite ret (return value: cc.Sprite)
--------------------------------
--
-- @function [parent=#ControlSlider] getProgressSprite
@ -147,7 +127,7 @@
--------------------------------
--
-- @function [parent=#ControlSlider] setBackgroundSprite
-- @function [parent=#ControlSlider] setSelectedThumbSprite
-- @param self
-- @param #cc.Sprite var
-- @return ControlSlider#ControlSlider self (return value: cc.ControlSlider)
@ -172,6 +152,26 @@
-- @param #cc.Sprite selectedThumbSprite
-- @return ControlSlider#ControlSlider ret (return value: cc.ControlSlider)
--------------------------------
--
-- @function [parent=#ControlSlider] isTouchInside
-- @param self
-- @param #cc.Touch touch
-- @return bool#bool ret (return value: bool)
--------------------------------
--
-- @function [parent=#ControlSlider] setEnabled
-- @param self
-- @param #bool enabled
-- @return ControlSlider#ControlSlider self (return value: cc.ControlSlider)
--------------------------------
--
-- @function [parent=#ControlSlider] needsLayout
-- @param self
-- @return ControlSlider#ControlSlider self (return value: cc.ControlSlider)
--------------------------------
-- js ctor
-- @function [parent=#ControlSlider] ControlSlider

View File

@ -4,92 +4,12 @@
-- @extend Control
-- @parent_module cc
--------------------------------
--
-- @function [parent=#ControlStepper] setMinusSprite
-- @param self
-- @param #cc.Sprite var
-- @return ControlStepper#ControlStepper self (return value: cc.ControlStepper)
--------------------------------
--
-- @function [parent=#ControlStepper] getMinusLabel
-- @param self
-- @return Label#Label ret (return value: cc.Label)
--------------------------------
--
-- @function [parent=#ControlStepper] setWraps
-- @param self
-- @param #bool wraps
-- @return ControlStepper#ControlStepper self (return value: cc.ControlStepper)
--------------------------------
--
-- @function [parent=#ControlStepper] isContinuous
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
--
-- @function [parent=#ControlStepper] getMinusSprite
-- @param self
-- @return Sprite#Sprite ret (return value: cc.Sprite)
--------------------------------
-- Update the layout of the stepper with the given touch location.
-- @function [parent=#ControlStepper] updateLayoutUsingTouchLocation
-- @param self
-- @param #vec2_table location
-- @return ControlStepper#ControlStepper self (return value: cc.ControlStepper)
--------------------------------
-- Set the numeric value of the stepper. If send is true, the Control::EventType::VALUE_CHANGED is sent.
-- @function [parent=#ControlStepper] setValueWithSendingEvent
-- @param self
-- @param #double value
-- @param #bool send
-- @return ControlStepper#ControlStepper self (return value: cc.ControlStepper)
--------------------------------
--
-- @function [parent=#ControlStepper] getPlusLabel
-- @param self
-- @return Label#Label ret (return value: cc.Label)
--------------------------------
-- Stop the autorepeat.
-- @function [parent=#ControlStepper] stopAutorepeat
-- @param self
-- @return ControlStepper#ControlStepper self (return value: cc.ControlStepper)
--------------------------------
--
-- @function [parent=#ControlStepper] setMinimumValue
-- @param self
-- @param #double minimumValue
-- @return ControlStepper#ControlStepper self (return value: cc.ControlStepper)
--------------------------------
--
-- @function [parent=#ControlStepper] getPlusSprite
-- @param self
-- @return Sprite#Sprite ret (return value: cc.Sprite)
--------------------------------
--
-- @function [parent=#ControlStepper] setPlusSprite
-- @param self
-- @param #cc.Sprite var
-- @return ControlStepper#ControlStepper self (return value: cc.ControlStepper)
--------------------------------
--
-- @function [parent=#ControlStepper] setMinusLabel
-- @param self
-- @param #cc.Label var
-- @return ControlStepper#ControlStepper self (return value: cc.ControlStepper)
--------------------------------
--
-- @function [parent=#ControlStepper] setValue
@ -104,6 +24,22 @@
-- @param #double stepValue
-- @return ControlStepper#ControlStepper self (return value: cc.ControlStepper)
--------------------------------
--
-- @function [parent=#ControlStepper] initWithMinusSpriteAndPlusSprite
-- @param self
-- @param #cc.Sprite minusSprite
-- @param #cc.Sprite plusSprite
-- @return bool#bool ret (return value: bool)
--------------------------------
-- Set the numeric value of the stepper. If send is true, the Control::EventType::VALUE_CHANGED is sent.
-- @function [parent=#ControlStepper] setValueWithSendingEvent
-- @param self
-- @param #double value
-- @param #bool send
-- @return ControlStepper#ControlStepper self (return value: cc.ControlStepper)
--------------------------------
--
-- @function [parent=#ControlStepper] setMaximumValue
@ -113,9 +49,28 @@
--------------------------------
--
-- @function [parent=#ControlStepper] update
-- @function [parent=#ControlStepper] getMinusLabel
-- @param self
-- @param #float dt
-- @return Label#Label ret (return value: cc.Label)
--------------------------------
--
-- @function [parent=#ControlStepper] getPlusLabel
-- @param self
-- @return Label#Label ret (return value: cc.Label)
--------------------------------
--
-- @function [parent=#ControlStepper] setWraps
-- @param self
-- @param #bool wraps
-- @return ControlStepper#ControlStepper self (return value: cc.ControlStepper)
--------------------------------
--
-- @function [parent=#ControlStepper] setMinusLabel
-- @param self
-- @param #cc.Label var
-- @return ControlStepper#ControlStepper self (return value: cc.ControlStepper)
--------------------------------
@ -125,13 +80,38 @@
-- @return ControlStepper#ControlStepper self (return value: cc.ControlStepper)
--------------------------------
--
-- @function [parent=#ControlStepper] initWithMinusSpriteAndPlusSprite
-- Update the layout of the stepper with the given touch location.
-- @function [parent=#ControlStepper] updateLayoutUsingTouchLocation
-- @param self
-- @param #vec2_table location
-- @return ControlStepper#ControlStepper self (return value: cc.ControlStepper)
--------------------------------
--
-- @function [parent=#ControlStepper] isContinuous
-- @param self
-- @param #cc.Sprite minusSprite
-- @param #cc.Sprite plusSprite
-- @return bool#bool ret (return value: bool)
--------------------------------
-- Stop the autorepeat.
-- @function [parent=#ControlStepper] stopAutorepeat
-- @param self
-- @return ControlStepper#ControlStepper self (return value: cc.ControlStepper)
--------------------------------
--
-- @function [parent=#ControlStepper] setMinimumValue
-- @param self
-- @param #double minimumValue
-- @return ControlStepper#ControlStepper self (return value: cc.ControlStepper)
--------------------------------
--
-- @function [parent=#ControlStepper] setPlusLabel
-- @param self
-- @param #cc.Label var
-- @return ControlStepper#ControlStepper self (return value: cc.ControlStepper)
--------------------------------
--
-- @function [parent=#ControlStepper] getValue
@ -140,9 +120,22 @@
--------------------------------
--
-- @function [parent=#ControlStepper] setPlusLabel
-- @function [parent=#ControlStepper] getPlusSprite
-- @param self
-- @param #cc.Label var
-- @return Sprite#Sprite ret (return value: cc.Sprite)
--------------------------------
--
-- @function [parent=#ControlStepper] setPlusSprite
-- @param self
-- @param #cc.Sprite var
-- @return ControlStepper#ControlStepper self (return value: cc.ControlStepper)
--------------------------------
--
-- @function [parent=#ControlStepper] setMinusSprite
-- @param self
-- @param #cc.Sprite var
-- @return ControlStepper#ControlStepper self (return value: cc.ControlStepper)
--------------------------------
@ -169,6 +162,13 @@
-- @param #cc.Event pEvent
-- @return ControlStepper#ControlStepper self (return value: cc.ControlStepper)
--------------------------------
--
-- @function [parent=#ControlStepper] update
-- @param self
-- @param #float dt
-- @return ControlStepper#ControlStepper self (return value: cc.ControlStepper)
--------------------------------
--
-- @function [parent=#ControlStepper] onTouchBegan

View File

@ -4,13 +4,6 @@
-- @extend Control
-- @parent_module cc
--------------------------------
--
-- @function [parent=#ControlSwitch] setEnabled
-- @param self
-- @param #bool enabled
-- @return ControlSwitch#ControlSwitch self (return value: cc.ControlSwitch)
--------------------------------
-- @overload self, bool
-- @overload self, bool, bool
@ -20,6 +13,13 @@
-- @param #bool animated
-- @return ControlSwitch#ControlSwitch self (return value: cc.ControlSwitch)
--------------------------------
--
-- @function [parent=#ControlSwitch] locationFromTouch
-- @param self
-- @param #cc.Touch touch
-- @return vec2_table#vec2_table ret (return value: vec2_table)
--------------------------------
--
-- @function [parent=#ControlSwitch] isOn
@ -45,13 +45,6 @@
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
--
-- @function [parent=#ControlSwitch] locationFromTouch
-- @param self
-- @param #cc.Touch touch
-- @return vec2_table#vec2_table ret (return value: vec2_table)
--------------------------------
-- @overload self, cc.Sprite, cc.Sprite, cc.Sprite, cc.Sprite
-- @overload self, cc.Sprite, cc.Sprite, cc.Sprite, cc.Sprite, cc.Label, cc.Label
@ -65,6 +58,13 @@
-- @param #cc.Label offLabel
-- @return ControlSwitch#ControlSwitch ret (return value: cc.ControlSwitch)
--------------------------------
--
-- @function [parent=#ControlSwitch] setEnabled
-- @param self
-- @param #bool enabled
-- @return ControlSwitch#ControlSwitch self (return value: cc.ControlSwitch)
--------------------------------
--
-- @function [parent=#ControlSwitch] onTouchMoved

View File

@ -17,13 +17,6 @@
-- @param self
-- @return EventFrame#EventFrame self (return value: ccs.EventFrame)
--------------------------------
--
-- @function [parent=#EventFrame] setNode
-- @param self
-- @param #cc.Node node
-- @return EventFrame#EventFrame self (return value: ccs.EventFrame)
--------------------------------
--
-- @function [parent=#EventFrame] getEvent
@ -42,6 +35,13 @@
-- @param self
-- @return Frame#Frame ret (return value: ccs.Frame)
--------------------------------
--
-- @function [parent=#EventFrame] setNode
-- @param self
-- @param #cc.Node node
-- @return EventFrame#EventFrame self (return value: ccs.EventFrame)
--------------------------------
--
-- @function [parent=#EventFrame] EventFrame

View File

@ -4,14 +4,6 @@
-- @extend FadeOutTRTiles
-- @parent_module cc
--------------------------------
--
-- @function [parent=#FadeOutUpTiles] transformTile
-- @param self
-- @param #vec2_table pos
-- @param #float distance
-- @return FadeOutUpTiles#FadeOutUpTiles self (return value: cc.FadeOutUpTiles)
--------------------------------
-- creates the action with the grid size and the duration <br>
-- param duration in seconds
@ -27,6 +19,14 @@
-- @param self
-- @return FadeOutUpTiles#FadeOutUpTiles ret (return value: cc.FadeOutUpTiles)
--------------------------------
--
-- @function [parent=#FadeOutUpTiles] transformTile
-- @param self
-- @param #vec2_table pos
-- @param #float distance
-- @return FadeOutUpTiles#FadeOutUpTiles self (return value: cc.FadeOutUpTiles)
--------------------------------
--
-- @function [parent=#FadeOutUpTiles] testFunc

View File

@ -4,16 +4,16 @@
-- @extend GridAction
-- @parent_module cc
--------------------------------
-- returns the grid
-- @function [parent=#Grid3DAction] getGrid
-- @param self
-- @return GridBase#GridBase ret (return value: cc.GridBase)
--------------------------------
--
-- @function [parent=#Grid3DAction] clone
-- @param self
-- @return Grid3DAction#Grid3DAction ret (return value: cc.Grid3DAction)
--------------------------------
-- returns the grid
-- @function [parent=#Grid3DAction] getGrid
-- @param self
-- @return GridBase#GridBase ret (return value: cc.GridBase)
return nil

View File

@ -24,12 +24,6 @@
-- @param #int startCharMap
-- @return bool#bool ret (return value: bool)
--------------------------------
--
-- @function [parent=#LabelAtlas] updateAtlasValues
-- @param self
-- @return LabelAtlas#LabelAtlas self (return value: cc.LabelAtlas)
--------------------------------
--
-- @function [parent=#LabelAtlas] getString
@ -49,6 +43,12 @@
-- @param #int startCharMap
-- @return LabelAtlas#LabelAtlas ret (return value: cc.LabelAtlas)
--------------------------------
--
-- @function [parent=#LabelAtlas] updateAtlasValues
-- @param self
-- @return LabelAtlas#LabelAtlas self (return value: cc.LabelAtlas)
--------------------------------
--
-- @function [parent=#LabelAtlas] getDescription

View File

@ -57,18 +57,20 @@
-- @param #string name
-- @return Menu#Menu self (return value: cc.Menu)
--------------------------------
--
-- @function [parent=#Menu] isOpacityModifyRGB
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
--
-- @function [parent=#Menu] getDescription
-- @param self
-- @return string#string ret (return value: string)
--------------------------------
--
-- @function [parent=#Menu] removeChild
-- @param self
-- @param #cc.Node child
-- @param #bool cleanup
-- @return Menu#Menu self (return value: cc.Menu)
--------------------------------
--
-- @function [parent=#Menu] setOpacityModifyRGB
@ -78,10 +80,8 @@
--------------------------------
--
-- @function [parent=#Menu] removeChild
-- @function [parent=#Menu] isOpacityModifyRGB
-- @param self
-- @param #cc.Node child
-- @param #bool cleanup
-- @return Menu#Menu self (return value: cc.Menu)
-- @return bool#bool ret (return value: bool)
return nil

View File

@ -4,12 +4,6 @@
-- @extend Grid3DAction
-- @parent_module cc
--------------------------------
--
-- @function [parent=#PageTurn3D] getGrid
-- @param self
-- @return GridBase#GridBase ret (return value: cc.GridBase)
--------------------------------
-- create the action
-- @function [parent=#PageTurn3D] create
@ -24,6 +18,12 @@
-- @param self
-- @return PageTurn3D#PageTurn3D ret (return value: cc.PageTurn3D)
--------------------------------
--
-- @function [parent=#PageTurn3D] getGrid
-- @param self
-- @return GridBase#GridBase ret (return value: cc.GridBase)
--------------------------------
-- param time in seconds
-- @function [parent=#PageTurn3D] update

View File

@ -79,13 +79,6 @@
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
--
-- @function [parent=#ParticleSystem] setRotation
-- @param self
-- @param #float newRotation
-- @return ParticleSystem#ParticleSystem self (return value: cc.ParticleSystem)
--------------------------------
--
-- @function [parent=#ParticleSystem] setTangentialAccel
@ -93,20 +86,6 @@
-- @param #float t
-- @return ParticleSystem#ParticleSystem self (return value: cc.ParticleSystem)
--------------------------------
--
-- @function [parent=#ParticleSystem] setScaleY
-- @param self
-- @param #float newScaleY
-- @return ParticleSystem#ParticleSystem self (return value: cc.ParticleSystem)
--------------------------------
--
-- @function [parent=#ParticleSystem] setScaleX
-- @param self
-- @param #float newScaleX
-- @return ParticleSystem#ParticleSystem self (return value: cc.ParticleSystem)
--------------------------------
--
-- @function [parent=#ParticleSystem] getRadialAccel
@ -309,12 +288,6 @@
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
--
-- @function [parent=#ParticleSystem] isOpacityModifyRGB
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
--
-- @function [parent=#ParticleSystem] isActive
@ -527,13 +500,6 @@
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
--
-- @function [parent=#ParticleSystem] setScale
-- @param self
-- @param #float s
-- @return ParticleSystem#ParticleSystem self (return value: cc.ParticleSystem)
--------------------------------
-- emission rate of the particles
-- @function [parent=#ParticleSystem] getEmissionRate
@ -559,13 +525,6 @@
-- @param #float sizeVar
-- @return ParticleSystem#ParticleSystem self (return value: cc.ParticleSystem)
--------------------------------
-- does the alpha value modify color
-- @function [parent=#ParticleSystem] setOpacityModifyRGB
-- @param self
-- @param #bool opacityModifyRGB
-- @return ParticleSystem#ParticleSystem self (return value: cc.ParticleSystem)
--------------------------------
-- Add a particle to the emitter
-- @function [parent=#ParticleSystem] addParticle
@ -677,6 +636,40 @@
-- @param #int numberOfParticles
-- @return ParticleSystem#ParticleSystem ret (return value: cc.ParticleSystem)
--------------------------------
--
-- @function [parent=#ParticleSystem] setScaleY
-- @param self
-- @param #float newScaleY
-- @return ParticleSystem#ParticleSystem self (return value: cc.ParticleSystem)
--------------------------------
--
-- @function [parent=#ParticleSystem] setScaleX
-- @param self
-- @param #float newScaleX
-- @return ParticleSystem#ParticleSystem self (return value: cc.ParticleSystem)
--------------------------------
--
-- @function [parent=#ParticleSystem] isOpacityModifyRGB
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
-- does the alpha value modify color
-- @function [parent=#ParticleSystem] setOpacityModifyRGB
-- @param self
-- @param #bool opacityModifyRGB
-- @return ParticleSystem#ParticleSystem self (return value: cc.ParticleSystem)
--------------------------------
--
-- @function [parent=#ParticleSystem] setScale
-- @param self
-- @param #float s
-- @return ParticleSystem#ParticleSystem self (return value: cc.ParticleSystem)
--------------------------------
--
-- @function [parent=#ParticleSystem] update
@ -684,4 +677,11 @@
-- @param #float dt
-- @return ParticleSystem#ParticleSystem self (return value: cc.ParticleSystem)
--------------------------------
--
-- @function [parent=#ParticleSystem] setRotation
-- @param self
-- @param #float newRotation
-- @return ParticleSystem#ParticleSystem self (return value: cc.ParticleSystem)
return nil

View File

@ -12,13 +12,6 @@
-- @param #int index
-- @return RichText#RichText self (return value: ccui.RichText)
--------------------------------
--
-- @function [parent=#RichText] setAnchorPoint
-- @param self
-- @param #vec2_table pt
-- @return RichText#RichText self (return value: ccui.RichText)
--------------------------------
--
-- @function [parent=#RichText] pushBackElement
@ -26,13 +19,6 @@
-- @param #ccui.RichElement element
-- @return RichText#RichText self (return value: ccui.RichText)
--------------------------------
--
-- @function [parent=#RichText] ignoreContentAdaptWithSize
-- @param self
-- @param #bool ignore
-- @return RichText#RichText self (return value: ccui.RichText)
--------------------------------
--
-- @function [parent=#RichText] setVerticalSpace
@ -60,6 +46,13 @@
-- @param self
-- @return RichText#RichText ret (return value: ccui.RichText)
--------------------------------
--
-- @function [parent=#RichText] setAnchorPoint
-- @param self
-- @param #vec2_table pt
-- @return RichText#RichText self (return value: ccui.RichText)
--------------------------------
--
-- @function [parent=#RichText] getDescription
@ -72,6 +65,13 @@
-- @param self
-- @return size_table#size_table ret (return value: size_table)
--------------------------------
--
-- @function [parent=#RichText] ignoreContentAdaptWithSize
-- @param self
-- @param #bool ignore
-- @return RichText#RichText self (return value: ccui.RichText)
--------------------------------
--
-- @function [parent=#RichText] RichText

View File

@ -21,7 +21,7 @@
-- @return Sprite#Sprite self (return value: cc.Sprite)
--------------------------------
-- returns the Texture2D object used by the sprite
-- Returns the Texture2D object used by the sprite.
-- @function [parent=#Sprite] getTexture
-- @param self
-- @return Texture2D#Texture2D ret (return value: cc.Texture2D)
@ -43,7 +43,7 @@
-- @return Sprite#Sprite self (return value: cc.Sprite)
--------------------------------
-- Returns the batch node object if this sprite is rendered by SpriteBatchNode<br>
-- Returns the batch node object if this sprite is rendered by SpriteBatchNode.<br>
-- return The SpriteBatchNode object if this sprite is rendered by SpriteBatchNode,<br>
-- nullptr if the sprite isn't used batch node.
-- @function [parent=#Sprite] getBatchNode
@ -63,12 +63,6 @@
-- @param #bool cleanup
-- @return Sprite#Sprite self (return value: cc.Sprite)
--------------------------------
-- Updates the quad according the rotation, position, scale values.
-- @function [parent=#Sprite] updateTransform
-- @param self
-- @return Sprite#Sprite self (return value: cc.Sprite)
--------------------------------
-- @overload self, rect_table, bool, size_table
-- @overload self, rect_table
@ -80,7 +74,7 @@
-- @return Sprite#Sprite self (return value: cc.Sprite)
--------------------------------
-- Returns whether or not a SpriteFrame is being displayed
-- Returns whether or not a SpriteFrame is being displayed.
-- @function [parent=#Sprite] isFrameDisplayed
-- @param self
-- @param #cc.SpriteFrame frame
@ -116,7 +110,7 @@
--------------------------------
-- / @{/ @name Animation methods<br>
-- Changes the display frame with animation name and index.<br>
-- The animation name will be get from the AnimationCache
-- The animation name will be get from the AnimationCache.
-- @function [parent=#Sprite] setDisplayFrameWithAnimationName
-- @param self
-- @param #string animationName
@ -124,7 +118,7 @@
-- @return Sprite#Sprite self (return value: cc.Sprite)
--------------------------------
-- Sets the weak reference of the TextureAtlas when the sprite is rendered using via SpriteBatchNode
-- Sets the weak reference of the TextureAtlas when the sprite is rendered using via SpriteBatchNode.
-- @function [parent=#Sprite] setTextureAtlas
-- @param self
-- @param #cc.TextureAtlas textureAtlas
@ -145,7 +139,7 @@
--------------------------------
-- Sets the index used on the TextureAtlas.<br>
-- warning Don't modify this value unless you know what you are doing
-- warning Don't modify this value unless you know what you are doing.
-- @function [parent=#Sprite] setAtlasIndex
-- @param self
-- @param #long atlasIndex
@ -165,7 +159,7 @@
-- @return bool#bool ret (return value: bool)
--------------------------------
-- Returns the rect of the Sprite in points
-- Returns the rect of the Sprite in points.
-- @function [parent=#Sprite] getTextureRect
-- @param self
-- @return rect_table#rect_table ret (return value: rect_table)
@ -173,7 +167,7 @@
--------------------------------
-- / @{/ @name Functions inherited from TextureProtocol<br>
-- code<br>
-- When this function bound into js or lua,the parameter will be changed<br>
-- When this function bound into js or lua,the parameter will be changed.<br>
-- In js: var setBlendFunc(var src, var dst)<br>
-- In lua: local setBlendFunc(local src, local dst)<br>
-- endcode
@ -183,7 +177,7 @@
-- @return Sprite#Sprite self (return value: cc.Sprite)
--------------------------------
-- Gets the weak reference of the TextureAtlas when the sprite is rendered using via SpriteBatchNode
-- Gets the weak reference of the TextureAtlas when the sprite is rendered using via SpriteBatchNode.
-- @function [parent=#Sprite] getTextureAtlas
-- @param self
-- @return TextureAtlas#TextureAtlas ret (return value: cc.TextureAtlas)
@ -245,7 +239,7 @@
-- A SpriteFrame will be fetched from the SpriteFrameCache by spriteFrameName param.<br>
-- If the SpriteFrame doesn't exist it will raise an exception.<br>
-- param spriteFrameName A null terminated string which indicates the sprite frame name.<br>
-- return An autoreleased sprite object
-- return An autoreleased sprite object.
-- @function [parent=#Sprite] createWithSpriteFrameName
-- @param self
-- @param #string spriteFrameName
@ -253,22 +247,13 @@
--------------------------------
-- Creates a sprite with an sprite frame.<br>
-- param spriteFrame A sprite frame which involves a texture and a rect<br>
-- return An autoreleased sprite object
-- param spriteFrame A sprite frame which involves a texture and a rect.<br>
-- return An autoreleased sprite object.
-- @function [parent=#Sprite] createWithSpriteFrame
-- @param self
-- @param #cc.SpriteFrame spriteFrame
-- @return Sprite#Sprite ret (return value: cc.Sprite)
--------------------------------
--
-- @function [parent=#Sprite] draw
-- @param self
-- @param #cc.Renderer renderer
-- @param #mat4_table transform
-- @param #unsigned int flags
-- @return Sprite#Sprite self (return value: cc.Sprite)
--------------------------------
-- @overload self, cc.Node, int, string
-- @overload self, cc.Node, int, int
@ -279,33 +264,6 @@
-- @param #int tag
-- @return Sprite#Sprite self (return value: cc.Sprite)
--------------------------------
--
-- @function [parent=#Sprite] setScaleY
-- @param self
-- @param #float scaleY
-- @return Sprite#Sprite self (return value: cc.Sprite)
--------------------------------
-- / @{/ @name Functions inherited from Node
-- @function [parent=#Sprite] setScaleX
-- @param self
-- @param #float scaleX
-- @return Sprite#Sprite self (return value: cc.Sprite)
--------------------------------
--
-- @function [parent=#Sprite] isOpacityModifyRGB
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
--
-- @function [parent=#Sprite] setPositionZ
-- @param self
-- @param #float positionZ
-- @return Sprite#Sprite self (return value: cc.Sprite)
--------------------------------
--
-- @function [parent=#Sprite] setAnchorPoint
@ -320,17 +278,11 @@
-- @param #float rotationX
-- @return Sprite#Sprite self (return value: cc.Sprite)
--------------------------------
-- / @}
-- @function [parent=#Sprite] getDescription
-- @param self
-- @return string#string ret (return value: string)
--------------------------------
--
-- @function [parent=#Sprite] setRotationSkewY
-- @function [parent=#Sprite] setScaleY
-- @param self
-- @param #float rotationY
-- @param #float scaleY
-- @return Sprite#Sprite self (return value: cc.Sprite)
--------------------------------
@ -344,25 +296,9 @@
--------------------------------
--
-- @function [parent=#Sprite] reorderChild
-- @function [parent=#Sprite] isOpacityModifyRGB
-- @param self
-- @param #cc.Node child
-- @param #int zOrder
-- @return Sprite#Sprite self (return value: cc.Sprite)
--------------------------------
--
-- @function [parent=#Sprite] removeChild
-- @param self
-- @param #cc.Node child
-- @param #bool cleanup
-- @return Sprite#Sprite self (return value: cc.Sprite)
--------------------------------
--
-- @function [parent=#Sprite] sortAllChildren
-- @param self
-- @return Sprite#Sprite self (return value: cc.Sprite)
-- @return bool#bool ret (return value: bool)
--------------------------------
--
@ -378,6 +314,84 @@
-- @param #float rotation
-- @return Sprite#Sprite self (return value: cc.Sprite)
--------------------------------
--
-- @function [parent=#Sprite] draw
-- @param self
-- @param #cc.Renderer renderer
-- @param #mat4_table transform
-- @param #unsigned int flags
-- @return Sprite#Sprite self (return value: cc.Sprite)
--------------------------------
-- / @{/ @name Functions inherited from Node.
-- @function [parent=#Sprite] setScaleX
-- @param self
-- @param #float scaleX
-- @return Sprite#Sprite self (return value: cc.Sprite)
--------------------------------
-- / @}
-- @function [parent=#Sprite] getDescription
-- @param self
-- @return string#string ret (return value: string)
--------------------------------
--
-- @function [parent=#Sprite] setRotationSkewY
-- @param self
-- @param #float rotationY
-- @return Sprite#Sprite self (return value: cc.Sprite)
--------------------------------
--
-- @function [parent=#Sprite] sortAllChildren
-- @param self
-- @return Sprite#Sprite self (return value: cc.Sprite)
--------------------------------
--
-- @function [parent=#Sprite] reorderChild
-- @param self
-- @param #cc.Node child
-- @param #int zOrder
-- @return Sprite#Sprite self (return value: cc.Sprite)
--------------------------------
--
-- @function [parent=#Sprite] ignoreAnchorPointForPosition
-- @param self
-- @param #bool value
-- @return Sprite#Sprite self (return value: cc.Sprite)
--------------------------------
--
-- @function [parent=#Sprite] setPositionZ
-- @param self
-- @param #float positionZ
-- @return Sprite#Sprite self (return value: cc.Sprite)
--------------------------------
--
-- @function [parent=#Sprite] removeChild
-- @param self
-- @param #cc.Node child
-- @param #bool cleanup
-- @return Sprite#Sprite self (return value: cc.Sprite)
--------------------------------
-- Updates the quad according the rotation, position, scale values.
-- @function [parent=#Sprite] updateTransform
-- @param self
-- @return Sprite#Sprite self (return value: cc.Sprite)
--------------------------------
--
-- @function [parent=#Sprite] setSkewX
-- @param self
-- @param #float sx
-- @return Sprite#Sprite self (return value: cc.Sprite)
--------------------------------
--
-- @function [parent=#Sprite] setSkewY
@ -392,18 +406,4 @@
-- @param #bool bVisible
-- @return Sprite#Sprite self (return value: cc.Sprite)
--------------------------------
--
-- @function [parent=#Sprite] setSkewX
-- @param self
-- @param #float sx
-- @return Sprite#Sprite self (return value: cc.Sprite)
--------------------------------
--
-- @function [parent=#Sprite] ignoreAnchorPointForPosition
-- @param self
-- @param #bool value
-- @return Sprite#Sprite self (return value: cc.Sprite)
return nil

View File

@ -233,13 +233,6 @@
-- @param #bool enable
-- @return TextField#TextField self (return value: ccui.TextField)
--------------------------------
--
-- @function [parent=#TextField] hitTest
-- @param self
-- @param #vec2_table pt
-- @return bool#bool ret (return value: bool)
--------------------------------
--
-- @function [parent=#TextField] setMaxLength
@ -295,6 +288,13 @@
-- @param #float dt
-- @return TextField#TextField self (return value: ccui.TextField)
--------------------------------
--
-- @function [parent=#TextField] hitTest
-- @param self
-- @param #vec2_table pt
-- @return bool#bool ret (return value: bool)
--------------------------------
--
-- @function [parent=#TextField] getVirtualRendererSize

View File

@ -10,13 +10,6 @@
-- @param self
-- @return string#string ret (return value: string)
--------------------------------
--
-- @function [parent=#TextureFrame] setNode
-- @param self
-- @param #cc.Node node
-- @return TextureFrame#TextureFrame self (return value: ccs.TextureFrame)
--------------------------------
--
-- @function [parent=#TextureFrame] setTextureName
@ -36,6 +29,13 @@
-- @param self
-- @return Frame#Frame ret (return value: ccs.Frame)
--------------------------------
--
-- @function [parent=#TextureFrame] setNode
-- @param self
-- @param #cc.Node node
-- @return TextureFrame#TextureFrame self (return value: ccs.TextureFrame)
--------------------------------
--
-- @function [parent=#TextureFrame] TextureFrame

View File

@ -4,16 +4,16 @@
-- @extend GridAction
-- @parent_module cc
--------------------------------
-- returns the grid
-- @function [parent=#TiledGrid3DAction] getGrid
-- @param self
-- @return GridBase#GridBase ret (return value: cc.GridBase)
--------------------------------
--
-- @function [parent=#TiledGrid3DAction] clone
-- @param self
-- @return TiledGrid3DAction#TiledGrid3DAction ret (return value: cc.TiledGrid3DAction)
--------------------------------
-- returns the grid
-- @function [parent=#TiledGrid3DAction] getGrid
-- @param self
-- @return GridBase#GridBase ret (return value: cc.GridBase)
return nil

View File

@ -4,12 +4,6 @@
-- @extend TransitionSlideInL
-- @parent_module cc
--------------------------------
-- returns the action that will be performed by the incoming and outgoing scene
-- @function [parent=#TransitionSlideInB] action
-- @param self
-- @return ActionInterval#ActionInterval ret (return value: cc.ActionInterval)
--------------------------------
--
-- @function [parent=#TransitionSlideInB] create
@ -18,4 +12,10 @@
-- @param #cc.Scene scene
-- @return TransitionSlideInB#TransitionSlideInB ret (return value: cc.TransitionSlideInB)
--------------------------------
-- returns the action that will be performed by the incoming and outgoing scene
-- @function [parent=#TransitionSlideInB] action
-- @param self
-- @return ActionInterval#ActionInterval ret (return value: cc.ActionInterval)
return nil

View File

@ -4,12 +4,6 @@
-- @extend TransitionSlideInL
-- @parent_module cc
--------------------------------
-- returns the action that will be performed by the incoming and outgoing scene
-- @function [parent=#TransitionSlideInR] action
-- @param self
-- @return ActionInterval#ActionInterval ret (return value: cc.ActionInterval)
--------------------------------
--
-- @function [parent=#TransitionSlideInR] create
@ -18,4 +12,10 @@
-- @param #cc.Scene scene
-- @return TransitionSlideInR#TransitionSlideInR ret (return value: cc.TransitionSlideInR)
--------------------------------
-- returns the action that will be performed by the incoming and outgoing scene
-- @function [parent=#TransitionSlideInR] action
-- @param self
-- @return ActionInterval#ActionInterval ret (return value: cc.ActionInterval)
return nil

View File

@ -4,12 +4,6 @@
-- @extend TransitionSlideInL
-- @parent_module cc
--------------------------------
-- returns the action that will be performed by the incoming and outgoing scene
-- @function [parent=#TransitionSlideInT] action
-- @param self
-- @return ActionInterval#ActionInterval ret (return value: cc.ActionInterval)
--------------------------------
--
-- @function [parent=#TransitionSlideInT] create
@ -18,4 +12,10 @@
-- @param #cc.Scene scene
-- @return TransitionSlideInT#TransitionSlideInT ret (return value: cc.TransitionSlideInT)
--------------------------------
-- returns the action that will be performed by the incoming and outgoing scene
-- @function [parent=#TransitionSlideInT] action
-- @param self
-- @return ActionInterval#ActionInterval ret (return value: cc.ActionInterval)
return nil

View File

@ -2733,62 +2733,6 @@ int lua_cocos2dx_3d_BillBoard_getMode(lua_State* tolua_S)
return 0;
}
int lua_cocos2dx_3d_BillBoard_visit(lua_State* tolua_S)
{
int argc = 0;
cocos2d::BillBoard* cobj = nullptr;
bool ok = true;
#if COCOS2D_DEBUG >= 1
tolua_Error tolua_err;
#endif
#if COCOS2D_DEBUG >= 1
if (!tolua_isusertype(tolua_S,1,"cc.BillBoard",0,&tolua_err)) goto tolua_lerror;
#endif
cobj = (cocos2d::BillBoard*)tolua_tousertype(tolua_S,1,0);
#if COCOS2D_DEBUG >= 1
if (!cobj)
{
tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_3d_BillBoard_visit'", nullptr);
return 0;
}
#endif
argc = lua_gettop(tolua_S)-1;
if (argc == 3)
{
cocos2d::Renderer* arg0;
cocos2d::Mat4 arg1;
unsigned int arg2;
ok &= luaval_to_object<cocos2d::Renderer>(tolua_S, 2, "cc.Renderer",&arg0);
ok &= luaval_to_mat4(tolua_S, 3, &arg1, "cc.BillBoard:visit");
ok &= luaval_to_uint32(tolua_S, 4,&arg2, "cc.BillBoard:visit");
if(!ok)
{
tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_3d_BillBoard_visit'", nullptr);
return 0;
}
cobj->visit(arg0, arg1, arg2);
lua_settop(tolua_S, 1);
return 1;
}
luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.BillBoard:visit",argc, 3);
return 0;
#if COCOS2D_DEBUG >= 1
tolua_lerror:
tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_3d_BillBoard_visit'.",&tolua_err);
#endif
return 0;
}
int lua_cocos2dx_3d_BillBoard_setMode(lua_State* tolua_S)
{
int argc = 0;
@ -3012,7 +2956,6 @@ int lua_register_cocos2dx_3d_BillBoard(lua_State* tolua_S)
tolua_beginmodule(tolua_S,"BillBoard");
tolua_function(tolua_S,"getMode",lua_cocos2dx_3d_BillBoard_getMode);
tolua_function(tolua_S,"visit",lua_cocos2dx_3d_BillBoard_visit);
tolua_function(tolua_S,"setMode",lua_cocos2dx_3d_BillBoard_setMode);
tolua_function(tolua_S,"create", lua_cocos2dx_3d_BillBoard_create);
tolua_function(tolua_S,"createWithTexture", lua_cocos2dx_3d_BillBoard_createWithTexture);

View File

@ -74,7 +74,6 @@ int register_all_cocos2dx_3d(lua_State* tolua_S);
#endif // __cocos2dx_3d_h__

View File

@ -29401,53 +29401,6 @@ int lua_register_cocos2dx_GridAction(lua_State* tolua_S)
return 1;
}
int lua_cocos2dx_Grid3DAction_getGrid(lua_State* tolua_S)
{
int argc = 0;
cocos2d::Grid3DAction* cobj = nullptr;
bool ok = true;
#if COCOS2D_DEBUG >= 1
tolua_Error tolua_err;
#endif
#if COCOS2D_DEBUG >= 1
if (!tolua_isusertype(tolua_S,1,"cc.Grid3DAction",0,&tolua_err)) goto tolua_lerror;
#endif
cobj = (cocos2d::Grid3DAction*)tolua_tousertype(tolua_S,1,0);
#if COCOS2D_DEBUG >= 1
if (!cobj)
{
tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_Grid3DAction_getGrid'", nullptr);
return 0;
}
#endif
argc = lua_gettop(tolua_S)-1;
if (argc == 0)
{
if(!ok)
{
tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_Grid3DAction_getGrid'", nullptr);
return 0;
}
cocos2d::GridBase* ret = cobj->getGrid();
object_to_luaval<cocos2d::GridBase>(tolua_S, "cc.GridBase",(cocos2d::GridBase*)ret);
return 1;
}
luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Grid3DAction:getGrid",argc, 0);
return 0;
#if COCOS2D_DEBUG >= 1
tolua_lerror:
tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_Grid3DAction_getGrid'.",&tolua_err);
#endif
return 0;
}
static int lua_cocos2dx_Grid3DAction_finalize(lua_State* tolua_S)
{
printf("luabindings: finalizing LUA object (Grid3DAction)");
@ -29460,7 +29413,6 @@ int lua_register_cocos2dx_Grid3DAction(lua_State* tolua_S)
tolua_cclass(tolua_S,"Grid3DAction","cc.Grid3DAction","cc.GridAction",nullptr);
tolua_beginmodule(tolua_S,"Grid3DAction");
tolua_function(tolua_S,"getGrid",lua_cocos2dx_Grid3DAction_getGrid);
tolua_endmodule(tolua_S);
std::string typeName = typeid(cocos2d::Grid3DAction).name();
g_luaType[typeName] = "cc.Grid3DAction";
@ -29468,53 +29420,6 @@ int lua_register_cocos2dx_Grid3DAction(lua_State* tolua_S)
return 1;
}
int lua_cocos2dx_TiledGrid3DAction_getGrid(lua_State* tolua_S)
{
int argc = 0;
cocos2d::TiledGrid3DAction* cobj = nullptr;
bool ok = true;
#if COCOS2D_DEBUG >= 1
tolua_Error tolua_err;
#endif
#if COCOS2D_DEBUG >= 1
if (!tolua_isusertype(tolua_S,1,"cc.TiledGrid3DAction",0,&tolua_err)) goto tolua_lerror;
#endif
cobj = (cocos2d::TiledGrid3DAction*)tolua_tousertype(tolua_S,1,0);
#if COCOS2D_DEBUG >= 1
if (!cobj)
{
tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_TiledGrid3DAction_getGrid'", nullptr);
return 0;
}
#endif
argc = lua_gettop(tolua_S)-1;
if (argc == 0)
{
if(!ok)
{
tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_TiledGrid3DAction_getGrid'", nullptr);
return 0;
}
cocos2d::GridBase* ret = cobj->getGrid();
object_to_luaval<cocos2d::GridBase>(tolua_S, "cc.GridBase",(cocos2d::GridBase*)ret);
return 1;
}
luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.TiledGrid3DAction:getGrid",argc, 0);
return 0;
#if COCOS2D_DEBUG >= 1
tolua_lerror:
tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_TiledGrid3DAction_getGrid'.",&tolua_err);
#endif
return 0;
}
static int lua_cocos2dx_TiledGrid3DAction_finalize(lua_State* tolua_S)
{
printf("luabindings: finalizing LUA object (TiledGrid3DAction)");
@ -29527,7 +29432,6 @@ int lua_register_cocos2dx_TiledGrid3DAction(lua_State* tolua_S)
tolua_cclass(tolua_S,"TiledGrid3DAction","cc.TiledGrid3DAction","cc.GridAction",nullptr);
tolua_beginmodule(tolua_S,"TiledGrid3DAction");
tolua_function(tolua_S,"getGrid",lua_cocos2dx_TiledGrid3DAction_getGrid);
tolua_endmodule(tolua_S);
std::string typeName = typeid(cocos2d::TiledGrid3DAction).name();
g_luaType[typeName] = "cc.TiledGrid3DAction";
@ -31638,53 +31542,6 @@ int lua_register_cocos2dx_Twirl(lua_State* tolua_S)
return 1;
}
int lua_cocos2dx_PageTurn3D_getGrid(lua_State* tolua_S)
{
int argc = 0;
cocos2d::PageTurn3D* cobj = nullptr;
bool ok = true;
#if COCOS2D_DEBUG >= 1
tolua_Error tolua_err;
#endif
#if COCOS2D_DEBUG >= 1
if (!tolua_isusertype(tolua_S,1,"cc.PageTurn3D",0,&tolua_err)) goto tolua_lerror;
#endif
cobj = (cocos2d::PageTurn3D*)tolua_tousertype(tolua_S,1,0);
#if COCOS2D_DEBUG >= 1
if (!cobj)
{
tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_PageTurn3D_getGrid'", nullptr);
return 0;
}
#endif
argc = lua_gettop(tolua_S)-1;
if (argc == 0)
{
if(!ok)
{
tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_PageTurn3D_getGrid'", nullptr);
return 0;
}
cocos2d::GridBase* ret = cobj->getGrid();
object_to_luaval<cocos2d::GridBase>(tolua_S, "cc.GridBase",(cocos2d::GridBase*)ret);
return 1;
}
luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.PageTurn3D:getGrid",argc, 0);
return 0;
#if COCOS2D_DEBUG >= 1
tolua_lerror:
tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_PageTurn3D_getGrid'.",&tolua_err);
#endif
return 0;
}
int lua_cocos2dx_PageTurn3D_create(lua_State* tolua_S)
{
int argc = 0;
@ -31735,7 +31592,6 @@ int lua_register_cocos2dx_PageTurn3D(lua_State* tolua_S)
tolua_cclass(tolua_S,"PageTurn3D","cc.PageTurn3D","cc.Grid3DAction",nullptr);
tolua_beginmodule(tolua_S,"PageTurn3D");
tolua_function(tolua_S,"getGrid",lua_cocos2dx_PageTurn3D_getGrid);
tolua_function(tolua_S,"create", lua_cocos2dx_PageTurn3D_create);
tolua_endmodule(tolua_S);
std::string typeName = typeid(cocos2d::PageTurn3D).name();
@ -32423,59 +32279,6 @@ int lua_register_cocos2dx_FadeOutBLTiles(lua_State* tolua_S)
return 1;
}
int lua_cocos2dx_FadeOutUpTiles_transformTile(lua_State* tolua_S)
{
int argc = 0;
cocos2d::FadeOutUpTiles* cobj = nullptr;
bool ok = true;
#if COCOS2D_DEBUG >= 1
tolua_Error tolua_err;
#endif
#if COCOS2D_DEBUG >= 1
if (!tolua_isusertype(tolua_S,1,"cc.FadeOutUpTiles",0,&tolua_err)) goto tolua_lerror;
#endif
cobj = (cocos2d::FadeOutUpTiles*)tolua_tousertype(tolua_S,1,0);
#if COCOS2D_DEBUG >= 1
if (!cobj)
{
tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_FadeOutUpTiles_transformTile'", nullptr);
return 0;
}
#endif
argc = lua_gettop(tolua_S)-1;
if (argc == 2)
{
cocos2d::Vec2 arg0;
double arg1;
ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.FadeOutUpTiles:transformTile");
ok &= luaval_to_number(tolua_S, 3,&arg1, "cc.FadeOutUpTiles:transformTile");
if(!ok)
{
tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_FadeOutUpTiles_transformTile'", nullptr);
return 0;
}
cobj->transformTile(arg0, arg1);
lua_settop(tolua_S, 1);
return 1;
}
luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.FadeOutUpTiles:transformTile",argc, 2);
return 0;
#if COCOS2D_DEBUG >= 1
tolua_lerror:
tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_FadeOutUpTiles_transformTile'.",&tolua_err);
#endif
return 0;
}
int lua_cocos2dx_FadeOutUpTiles_create(lua_State* tolua_S)
{
int argc = 0;
@ -32526,7 +32329,6 @@ int lua_register_cocos2dx_FadeOutUpTiles(lua_State* tolua_S)
tolua_cclass(tolua_S,"FadeOutUpTiles","cc.FadeOutUpTiles","cc.FadeOutTRTiles",nullptr);
tolua_beginmodule(tolua_S,"FadeOutUpTiles");
tolua_function(tolua_S,"transformTile",lua_cocos2dx_FadeOutUpTiles_transformTile);
tolua_function(tolua_S,"create", lua_cocos2dx_FadeOutUpTiles_create);
tolua_endmodule(tolua_S);
std::string typeName = typeid(cocos2d::FadeOutUpTiles).name();
@ -37348,53 +37150,6 @@ int lua_cocos2dx_LabelAtlas_initWithString(lua_State* tolua_S)
return 0;
}
int lua_cocos2dx_LabelAtlas_updateAtlasValues(lua_State* tolua_S)
{
int argc = 0;
cocos2d::LabelAtlas* cobj = nullptr;
bool ok = true;
#if COCOS2D_DEBUG >= 1
tolua_Error tolua_err;
#endif
#if COCOS2D_DEBUG >= 1
if (!tolua_isusertype(tolua_S,1,"cc.LabelAtlas",0,&tolua_err)) goto tolua_lerror;
#endif
cobj = (cocos2d::LabelAtlas*)tolua_tousertype(tolua_S,1,0);
#if COCOS2D_DEBUG >= 1
if (!cobj)
{
tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_LabelAtlas_updateAtlasValues'", nullptr);
return 0;
}
#endif
argc = lua_gettop(tolua_S)-1;
if (argc == 0)
{
if(!ok)
{
tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_LabelAtlas_updateAtlasValues'", nullptr);
return 0;
}
cobj->updateAtlasValues();
lua_settop(tolua_S, 1);
return 1;
}
luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.LabelAtlas:updateAtlasValues",argc, 0);
return 0;
#if COCOS2D_DEBUG >= 1
tolua_lerror:
tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_LabelAtlas_updateAtlasValues'.",&tolua_err);
#endif
return 0;
}
int lua_cocos2dx_LabelAtlas_getString(lua_State* tolua_S)
{
int argc = 0;
@ -37529,7 +37284,6 @@ int lua_register_cocos2dx_LabelAtlas(lua_State* tolua_S)
tolua_beginmodule(tolua_S,"LabelAtlas");
tolua_function(tolua_S,"setString",lua_cocos2dx_LabelAtlas_setString);
tolua_function(tolua_S,"initWithString",lua_cocos2dx_LabelAtlas_initWithString);
tolua_function(tolua_S,"updateAtlasValues",lua_cocos2dx_LabelAtlas_updateAtlasValues);
tolua_function(tolua_S,"getString",lua_cocos2dx_LabelAtlas_getString);
tolua_function(tolua_S,"_create", lua_cocos2dx_LabelAtlas_create);
tolua_endmodule(tolua_S);
@ -43367,53 +43121,6 @@ int lua_register_cocos2dx_TransitionSlideInL(lua_State* tolua_S)
return 1;
}
int lua_cocos2dx_TransitionSlideInR_action(lua_State* tolua_S)
{
int argc = 0;
cocos2d::TransitionSlideInR* cobj = nullptr;
bool ok = true;
#if COCOS2D_DEBUG >= 1
tolua_Error tolua_err;
#endif
#if COCOS2D_DEBUG >= 1
if (!tolua_isusertype(tolua_S,1,"cc.TransitionSlideInR",0,&tolua_err)) goto tolua_lerror;
#endif
cobj = (cocos2d::TransitionSlideInR*)tolua_tousertype(tolua_S,1,0);
#if COCOS2D_DEBUG >= 1
if (!cobj)
{
tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_TransitionSlideInR_action'", nullptr);
return 0;
}
#endif
argc = lua_gettop(tolua_S)-1;
if (argc == 0)
{
if(!ok)
{
tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_TransitionSlideInR_action'", nullptr);
return 0;
}
cocos2d::ActionInterval* ret = cobj->action();
object_to_luaval<cocos2d::ActionInterval>(tolua_S, "cc.ActionInterval",(cocos2d::ActionInterval*)ret);
return 1;
}
luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.TransitionSlideInR:action",argc, 0);
return 0;
#if COCOS2D_DEBUG >= 1
tolua_lerror:
tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_TransitionSlideInR_action'.",&tolua_err);
#endif
return 0;
}
int lua_cocos2dx_TransitionSlideInR_create(lua_State* tolua_S)
{
int argc = 0;
@ -43464,7 +43171,6 @@ int lua_register_cocos2dx_TransitionSlideInR(lua_State* tolua_S)
tolua_cclass(tolua_S,"TransitionSlideInR","cc.TransitionSlideInR","cc.TransitionSlideInL",nullptr);
tolua_beginmodule(tolua_S,"TransitionSlideInR");
tolua_function(tolua_S,"action",lua_cocos2dx_TransitionSlideInR_action);
tolua_function(tolua_S,"create", lua_cocos2dx_TransitionSlideInR_create);
tolua_endmodule(tolua_S);
std::string typeName = typeid(cocos2d::TransitionSlideInR).name();
@ -43473,53 +43179,6 @@ int lua_register_cocos2dx_TransitionSlideInR(lua_State* tolua_S)
return 1;
}
int lua_cocos2dx_TransitionSlideInB_action(lua_State* tolua_S)
{
int argc = 0;
cocos2d::TransitionSlideInB* cobj = nullptr;
bool ok = true;
#if COCOS2D_DEBUG >= 1
tolua_Error tolua_err;
#endif
#if COCOS2D_DEBUG >= 1
if (!tolua_isusertype(tolua_S,1,"cc.TransitionSlideInB",0,&tolua_err)) goto tolua_lerror;
#endif
cobj = (cocos2d::TransitionSlideInB*)tolua_tousertype(tolua_S,1,0);
#if COCOS2D_DEBUG >= 1
if (!cobj)
{
tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_TransitionSlideInB_action'", nullptr);
return 0;
}
#endif
argc = lua_gettop(tolua_S)-1;
if (argc == 0)
{
if(!ok)
{
tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_TransitionSlideInB_action'", nullptr);
return 0;
}
cocos2d::ActionInterval* ret = cobj->action();
object_to_luaval<cocos2d::ActionInterval>(tolua_S, "cc.ActionInterval",(cocos2d::ActionInterval*)ret);
return 1;
}
luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.TransitionSlideInB:action",argc, 0);
return 0;
#if COCOS2D_DEBUG >= 1
tolua_lerror:
tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_TransitionSlideInB_action'.",&tolua_err);
#endif
return 0;
}
int lua_cocos2dx_TransitionSlideInB_create(lua_State* tolua_S)
{
int argc = 0;
@ -43570,7 +43229,6 @@ int lua_register_cocos2dx_TransitionSlideInB(lua_State* tolua_S)
tolua_cclass(tolua_S,"TransitionSlideInB","cc.TransitionSlideInB","cc.TransitionSlideInL",nullptr);
tolua_beginmodule(tolua_S,"TransitionSlideInB");
tolua_function(tolua_S,"action",lua_cocos2dx_TransitionSlideInB_action);
tolua_function(tolua_S,"create", lua_cocos2dx_TransitionSlideInB_create);
tolua_endmodule(tolua_S);
std::string typeName = typeid(cocos2d::TransitionSlideInB).name();
@ -43579,53 +43237,6 @@ int lua_register_cocos2dx_TransitionSlideInB(lua_State* tolua_S)
return 1;
}
int lua_cocos2dx_TransitionSlideInT_action(lua_State* tolua_S)
{
int argc = 0;
cocos2d::TransitionSlideInT* cobj = nullptr;
bool ok = true;
#if COCOS2D_DEBUG >= 1
tolua_Error tolua_err;
#endif
#if COCOS2D_DEBUG >= 1
if (!tolua_isusertype(tolua_S,1,"cc.TransitionSlideInT",0,&tolua_err)) goto tolua_lerror;
#endif
cobj = (cocos2d::TransitionSlideInT*)tolua_tousertype(tolua_S,1,0);
#if COCOS2D_DEBUG >= 1
if (!cobj)
{
tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_TransitionSlideInT_action'", nullptr);
return 0;
}
#endif
argc = lua_gettop(tolua_S)-1;
if (argc == 0)
{
if(!ok)
{
tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_TransitionSlideInT_action'", nullptr);
return 0;
}
cocos2d::ActionInterval* ret = cobj->action();
object_to_luaval<cocos2d::ActionInterval>(tolua_S, "cc.ActionInterval",(cocos2d::ActionInterval*)ret);
return 1;
}
luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.TransitionSlideInT:action",argc, 0);
return 0;
#if COCOS2D_DEBUG >= 1
tolua_lerror:
tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_TransitionSlideInT_action'.",&tolua_err);
#endif
return 0;
}
int lua_cocos2dx_TransitionSlideInT_create(lua_State* tolua_S)
{
int argc = 0;
@ -43676,7 +43287,6 @@ int lua_register_cocos2dx_TransitionSlideInT(lua_State* tolua_S)
tolua_cclass(tolua_S,"TransitionSlideInT","cc.TransitionSlideInT","cc.TransitionSlideInL",nullptr);
tolua_beginmodule(tolua_S,"TransitionSlideInT");
tolua_function(tolua_S,"action",lua_cocos2dx_TransitionSlideInT_action);
tolua_function(tolua_S,"create", lua_cocos2dx_TransitionSlideInT_create);
tolua_endmodule(tolua_S);
std::string typeName = typeid(cocos2d::TransitionSlideInT).name();
@ -50164,53 +49774,6 @@ int lua_cocos2dx_Sprite_removeAllChildrenWithCleanup(lua_State* tolua_S)
return 0;
}
int lua_cocos2dx_Sprite_updateTransform(lua_State* tolua_S)
{
int argc = 0;
cocos2d::Sprite* cobj = nullptr;
bool ok = true;
#if COCOS2D_DEBUG >= 1
tolua_Error tolua_err;
#endif
#if COCOS2D_DEBUG >= 1
if (!tolua_isusertype(tolua_S,1,"cc.Sprite",0,&tolua_err)) goto tolua_lerror;
#endif
cobj = (cocos2d::Sprite*)tolua_tousertype(tolua_S,1,0);
#if COCOS2D_DEBUG >= 1
if (!cobj)
{
tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_Sprite_updateTransform'", nullptr);
return 0;
}
#endif
argc = lua_gettop(tolua_S)-1;
if (argc == 0)
{
if(!ok)
{
tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_Sprite_updateTransform'", nullptr);
return 0;
}
cobj->updateTransform();
lua_settop(tolua_S, 1);
return 1;
}
luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.Sprite:updateTransform",argc, 0);
return 0;
#if COCOS2D_DEBUG >= 1
tolua_lerror:
tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_Sprite_updateTransform'.",&tolua_err);
#endif
return 0;
}
int lua_cocos2dx_Sprite_setTextureRect(lua_State* tolua_S)
{
int argc = 0;
@ -51323,7 +50886,6 @@ int lua_register_cocos2dx_Sprite(lua_State* tolua_S)
tolua_function(tolua_S,"getBatchNode",lua_cocos2dx_Sprite_getBatchNode);
tolua_function(tolua_S,"getOffsetPosition",lua_cocos2dx_Sprite_getOffsetPosition);
tolua_function(tolua_S,"removeAllChildrenWithCleanup",lua_cocos2dx_Sprite_removeAllChildrenWithCleanup);
tolua_function(tolua_S,"updateTransform",lua_cocos2dx_Sprite_updateTransform);
tolua_function(tolua_S,"setTextureRect",lua_cocos2dx_Sprite_setTextureRect);
tolua_function(tolua_S,"isFrameDisplayed",lua_cocos2dx_Sprite_isFrameDisplayed);
tolua_function(tolua_S,"getAtlasIndex",lua_cocos2dx_Sprite_getAtlasIndex);
@ -54949,56 +54511,6 @@ int lua_cocos2dx_ParticleSystem_getEndSizeVar(lua_State* tolua_S)
return 0;
}
int lua_cocos2dx_ParticleSystem_setRotation(lua_State* tolua_S)
{
int argc = 0;
cocos2d::ParticleSystem* cobj = nullptr;
bool ok = true;
#if COCOS2D_DEBUG >= 1
tolua_Error tolua_err;
#endif
#if COCOS2D_DEBUG >= 1
if (!tolua_isusertype(tolua_S,1,"cc.ParticleSystem",0,&tolua_err)) goto tolua_lerror;
#endif
cobj = (cocos2d::ParticleSystem*)tolua_tousertype(tolua_S,1,0);
#if COCOS2D_DEBUG >= 1
if (!cobj)
{
tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_ParticleSystem_setRotation'", nullptr);
return 0;
}
#endif
argc = lua_gettop(tolua_S)-1;
if (argc == 1)
{
double arg0;
ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.ParticleSystem:setRotation");
if(!ok)
{
tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_ParticleSystem_setRotation'", nullptr);
return 0;
}
cobj->setRotation(arg0);
lua_settop(tolua_S, 1);
return 1;
}
luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:setRotation",argc, 1);
return 0;
#if COCOS2D_DEBUG >= 1
tolua_lerror:
tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_ParticleSystem_setRotation'.",&tolua_err);
#endif
return 0;
}
int lua_cocos2dx_ParticleSystem_setTangentialAccel(lua_State* tolua_S)
{
int argc = 0;
@ -55049,106 +54561,6 @@ int lua_cocos2dx_ParticleSystem_setTangentialAccel(lua_State* tolua_S)
return 0;
}
int lua_cocos2dx_ParticleSystem_setScaleY(lua_State* tolua_S)
{
int argc = 0;
cocos2d::ParticleSystem* cobj = nullptr;
bool ok = true;
#if COCOS2D_DEBUG >= 1
tolua_Error tolua_err;
#endif
#if COCOS2D_DEBUG >= 1
if (!tolua_isusertype(tolua_S,1,"cc.ParticleSystem",0,&tolua_err)) goto tolua_lerror;
#endif
cobj = (cocos2d::ParticleSystem*)tolua_tousertype(tolua_S,1,0);
#if COCOS2D_DEBUG >= 1
if (!cobj)
{
tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_ParticleSystem_setScaleY'", nullptr);
return 0;
}
#endif
argc = lua_gettop(tolua_S)-1;
if (argc == 1)
{
double arg0;
ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.ParticleSystem:setScaleY");
if(!ok)
{
tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_ParticleSystem_setScaleY'", nullptr);
return 0;
}
cobj->setScaleY(arg0);
lua_settop(tolua_S, 1);
return 1;
}
luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:setScaleY",argc, 1);
return 0;
#if COCOS2D_DEBUG >= 1
tolua_lerror:
tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_ParticleSystem_setScaleY'.",&tolua_err);
#endif
return 0;
}
int lua_cocos2dx_ParticleSystem_setScaleX(lua_State* tolua_S)
{
int argc = 0;
cocos2d::ParticleSystem* cobj = nullptr;
bool ok = true;
#if COCOS2D_DEBUG >= 1
tolua_Error tolua_err;
#endif
#if COCOS2D_DEBUG >= 1
if (!tolua_isusertype(tolua_S,1,"cc.ParticleSystem",0,&tolua_err)) goto tolua_lerror;
#endif
cobj = (cocos2d::ParticleSystem*)tolua_tousertype(tolua_S,1,0);
#if COCOS2D_DEBUG >= 1
if (!cobj)
{
tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_ParticleSystem_setScaleX'", nullptr);
return 0;
}
#endif
argc = lua_gettop(tolua_S)-1;
if (argc == 1)
{
double arg0;
ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.ParticleSystem:setScaleX");
if(!ok)
{
tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_ParticleSystem_setScaleX'", nullptr);
return 0;
}
cobj->setScaleX(arg0);
lua_settop(tolua_S, 1);
return 1;
}
luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:setScaleX",argc, 1);
return 0;
#if COCOS2D_DEBUG >= 1
tolua_lerror:
tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_ParticleSystem_setScaleX'.",&tolua_err);
#endif
return 0;
}
int lua_cocos2dx_ParticleSystem_getRadialAccel(lua_State* tolua_S)
{
int argc = 0;
@ -56654,53 +56066,6 @@ int lua_cocos2dx_ParticleSystem_getEndRadius(lua_State* tolua_S)
return 0;
}
int lua_cocos2dx_ParticleSystem_isOpacityModifyRGB(lua_State* tolua_S)
{
int argc = 0;
cocos2d::ParticleSystem* cobj = nullptr;
bool ok = true;
#if COCOS2D_DEBUG >= 1
tolua_Error tolua_err;
#endif
#if COCOS2D_DEBUG >= 1
if (!tolua_isusertype(tolua_S,1,"cc.ParticleSystem",0,&tolua_err)) goto tolua_lerror;
#endif
cobj = (cocos2d::ParticleSystem*)tolua_tousertype(tolua_S,1,0);
#if COCOS2D_DEBUG >= 1
if (!cobj)
{
tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_ParticleSystem_isOpacityModifyRGB'", nullptr);
return 0;
}
#endif
argc = lua_gettop(tolua_S)-1;
if (argc == 0)
{
if(!ok)
{
tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_ParticleSystem_isOpacityModifyRGB'", nullptr);
return 0;
}
bool ret = cobj->isOpacityModifyRGB();
tolua_pushboolean(tolua_S,(bool)ret);
return 1;
}
luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:isOpacityModifyRGB",argc, 0);
return 0;
#if COCOS2D_DEBUG >= 1
tolua_lerror:
tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_ParticleSystem_isOpacityModifyRGB'.",&tolua_err);
#endif
return 0;
}
int lua_cocos2dx_ParticleSystem_isActive(lua_State* tolua_S)
{
int argc = 0;
@ -58259,56 +57624,6 @@ int lua_cocos2dx_ParticleSystem_getRotationIsDir(lua_State* tolua_S)
return 0;
}
int lua_cocos2dx_ParticleSystem_setScale(lua_State* tolua_S)
{
int argc = 0;
cocos2d::ParticleSystem* cobj = nullptr;
bool ok = true;
#if COCOS2D_DEBUG >= 1
tolua_Error tolua_err;
#endif
#if COCOS2D_DEBUG >= 1
if (!tolua_isusertype(tolua_S,1,"cc.ParticleSystem",0,&tolua_err)) goto tolua_lerror;
#endif
cobj = (cocos2d::ParticleSystem*)tolua_tousertype(tolua_S,1,0);
#if COCOS2D_DEBUG >= 1
if (!cobj)
{
tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_ParticleSystem_setScale'", nullptr);
return 0;
}
#endif
argc = lua_gettop(tolua_S)-1;
if (argc == 1)
{
double arg0;
ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.ParticleSystem:setScale");
if(!ok)
{
tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_ParticleSystem_setScale'", nullptr);
return 0;
}
cobj->setScale(arg0);
lua_settop(tolua_S, 1);
return 1;
}
luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:setScale",argc, 1);
return 0;
#if COCOS2D_DEBUG >= 1
tolua_lerror:
tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_ParticleSystem_setScale'.",&tolua_err);
#endif
return 0;
}
int lua_cocos2dx_ParticleSystem_getEmissionRate(lua_State* tolua_S)
{
int argc = 0;
@ -58500,56 +57815,6 @@ int lua_cocos2dx_ParticleSystem_setStartSizeVar(lua_State* tolua_S)
return 0;
}
int lua_cocos2dx_ParticleSystem_setOpacityModifyRGB(lua_State* tolua_S)
{
int argc = 0;
cocos2d::ParticleSystem* cobj = nullptr;
bool ok = true;
#if COCOS2D_DEBUG >= 1
tolua_Error tolua_err;
#endif
#if COCOS2D_DEBUG >= 1
if (!tolua_isusertype(tolua_S,1,"cc.ParticleSystem",0,&tolua_err)) goto tolua_lerror;
#endif
cobj = (cocos2d::ParticleSystem*)tolua_tousertype(tolua_S,1,0);
#if COCOS2D_DEBUG >= 1
if (!cobj)
{
tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_ParticleSystem_setOpacityModifyRGB'", nullptr);
return 0;
}
#endif
argc = lua_gettop(tolua_S)-1;
if (argc == 1)
{
bool arg0;
ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.ParticleSystem:setOpacityModifyRGB");
if(!ok)
{
tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_ParticleSystem_setOpacityModifyRGB'", nullptr);
return 0;
}
cobj->setOpacityModifyRGB(arg0);
lua_settop(tolua_S, 1);
return 1;
}
luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:setOpacityModifyRGB",argc, 1);
return 0;
#if COCOS2D_DEBUG >= 1
tolua_lerror:
tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_ParticleSystem_setOpacityModifyRGB'.",&tolua_err);
#endif
return 0;
}
int lua_cocos2dx_ParticleSystem_addParticle(lua_State* tolua_S)
{
int argc = 0;
@ -59319,10 +58584,7 @@ int lua_register_cocos2dx_ParticleSystem(lua_State* tolua_S)
tolua_function(tolua_S,"getStartSpinVar",lua_cocos2dx_ParticleSystem_getStartSpinVar);
tolua_function(tolua_S,"getRadialAccelVar",lua_cocos2dx_ParticleSystem_getRadialAccelVar);
tolua_function(tolua_S,"getEndSizeVar",lua_cocos2dx_ParticleSystem_getEndSizeVar);
tolua_function(tolua_S,"setRotation",lua_cocos2dx_ParticleSystem_setRotation);
tolua_function(tolua_S,"setTangentialAccel",lua_cocos2dx_ParticleSystem_setTangentialAccel);
tolua_function(tolua_S,"setScaleY",lua_cocos2dx_ParticleSystem_setScaleY);
tolua_function(tolua_S,"setScaleX",lua_cocos2dx_ParticleSystem_setScaleX);
tolua_function(tolua_S,"getRadialAccel",lua_cocos2dx_ParticleSystem_getRadialAccel);
tolua_function(tolua_S,"setStartRadius",lua_cocos2dx_ParticleSystem_setStartRadius);
tolua_function(tolua_S,"setRotatePerSecond",lua_cocos2dx_ParticleSystem_setRotatePerSecond);
@ -59354,7 +58616,6 @@ int lua_register_cocos2dx_ParticleSystem(lua_State* tolua_S)
tolua_function(tolua_S,"setTangentialAccelVar",lua_cocos2dx_ParticleSystem_setTangentialAccelVar);
tolua_function(tolua_S,"setEndRadiusVar",lua_cocos2dx_ParticleSystem_setEndRadiusVar);
tolua_function(tolua_S,"getEndRadius",lua_cocos2dx_ParticleSystem_getEndRadius);
tolua_function(tolua_S,"isOpacityModifyRGB",lua_cocos2dx_ParticleSystem_isOpacityModifyRGB);
tolua_function(tolua_S,"isActive",lua_cocos2dx_ParticleSystem_isActive);
tolua_function(tolua_S,"setRadialAccelVar",lua_cocos2dx_ParticleSystem_setRadialAccelVar);
tolua_function(tolua_S,"setStartSize",lua_cocos2dx_ParticleSystem_setStartSize);
@ -59387,12 +58648,10 @@ int lua_register_cocos2dx_ParticleSystem(lua_State* tolua_S)
tolua_function(tolua_S,"setEmissionRate",lua_cocos2dx_ParticleSystem_setEmissionRate);
tolua_function(tolua_S,"getEndColorVar",lua_cocos2dx_ParticleSystem_getEndColorVar);
tolua_function(tolua_S,"getRotationIsDir",lua_cocos2dx_ParticleSystem_getRotationIsDir);
tolua_function(tolua_S,"setScale",lua_cocos2dx_ParticleSystem_setScale);
tolua_function(tolua_S,"getEmissionRate",lua_cocos2dx_ParticleSystem_getEmissionRate);
tolua_function(tolua_S,"getEndColor",lua_cocos2dx_ParticleSystem_getEndColor);
tolua_function(tolua_S,"getLifeVar",lua_cocos2dx_ParticleSystem_getLifeVar);
tolua_function(tolua_S,"setStartSizeVar",lua_cocos2dx_ParticleSystem_setStartSizeVar);
tolua_function(tolua_S,"setOpacityModifyRGB",lua_cocos2dx_ParticleSystem_setOpacityModifyRGB);
tolua_function(tolua_S,"addParticle",lua_cocos2dx_ParticleSystem_addParticle);
tolua_function(tolua_S,"getStartRadius",lua_cocos2dx_ParticleSystem_getStartRadius);
tolua_function(tolua_S,"getParticleCount",lua_cocos2dx_ParticleSystem_getParticleCount);

View File

@ -1619,21 +1619,6 @@ int register_all_cocos2dx(lua_State* tolua_S);

View File

@ -311,27 +311,6 @@ int register_all_cocos2dx_extension(lua_State* tolua_S);

View File

@ -504,12 +504,6 @@ int register_all_cocos2dx_studio(lua_State* tolua_S);

View File

@ -16913,56 +16913,6 @@ int lua_cocos2dx_ui_TextField_setTouchAreaEnabled(lua_State* tolua_S)
return 0;
}
int lua_cocos2dx_ui_TextField_hitTest(lua_State* tolua_S)
{
int argc = 0;
cocos2d::ui::TextField* cobj = nullptr;
bool ok = true;
#if COCOS2D_DEBUG >= 1
tolua_Error tolua_err;
#endif
#if COCOS2D_DEBUG >= 1
if (!tolua_isusertype(tolua_S,1,"ccui.TextField",0,&tolua_err)) goto tolua_lerror;
#endif
cobj = (cocos2d::ui::TextField*)tolua_tousertype(tolua_S,1,0);
#if COCOS2D_DEBUG >= 1
if (!cobj)
{
tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_ui_TextField_hitTest'", nullptr);
return 0;
}
#endif
argc = lua_gettop(tolua_S)-1;
if (argc == 1)
{
cocos2d::Vec2 arg0;
ok &= luaval_to_vec2(tolua_S, 2, &arg0, "ccui.TextField:hitTest");
if(!ok)
{
tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_ui_TextField_hitTest'", nullptr);
return 0;
}
bool ret = cobj->hitTest(arg0);
tolua_pushboolean(tolua_S,(bool)ret);
return 1;
}
luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "ccui.TextField:hitTest",argc, 1);
return 0;
#if COCOS2D_DEBUG >= 1
tolua_lerror:
tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_ui_TextField_hitTest'.",&tolua_err);
#endif
return 0;
}
int lua_cocos2dx_ui_TextField_setMaxLength(lua_State* tolua_S)
{
int argc = 0;
@ -17280,7 +17230,6 @@ int lua_register_cocos2dx_ui_TextField(lua_State* tolua_S)
tolua_function(tolua_S,"isMaxLengthEnabled",lua_cocos2dx_ui_TextField_isMaxLengthEnabled);
tolua_function(tolua_S,"setDetachWithIME",lua_cocos2dx_ui_TextField_setDetachWithIME);
tolua_function(tolua_S,"setTouchAreaEnabled",lua_cocos2dx_ui_TextField_setTouchAreaEnabled);
tolua_function(tolua_S,"hitTest",lua_cocos2dx_ui_TextField_hitTest);
tolua_function(tolua_S,"setMaxLength",lua_cocos2dx_ui_TextField_setMaxLength);
tolua_function(tolua_S,"setTouchSize",lua_cocos2dx_ui_TextField_setTouchSize);
tolua_function(tolua_S,"getTouchSize",lua_cocos2dx_ui_TextField_getTouchSize);
@ -19469,56 +19418,6 @@ int lua_cocos2dx_ui_RichText_insertElement(lua_State* tolua_S)
return 0;
}
int lua_cocos2dx_ui_RichText_setAnchorPoint(lua_State* tolua_S)
{
int argc = 0;
cocos2d::ui::RichText* cobj = nullptr;
bool ok = true;
#if COCOS2D_DEBUG >= 1
tolua_Error tolua_err;
#endif
#if COCOS2D_DEBUG >= 1
if (!tolua_isusertype(tolua_S,1,"ccui.RichText",0,&tolua_err)) goto tolua_lerror;
#endif
cobj = (cocos2d::ui::RichText*)tolua_tousertype(tolua_S,1,0);
#if COCOS2D_DEBUG >= 1
if (!cobj)
{
tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_ui_RichText_setAnchorPoint'", nullptr);
return 0;
}
#endif
argc = lua_gettop(tolua_S)-1;
if (argc == 1)
{
cocos2d::Vec2 arg0;
ok &= luaval_to_vec2(tolua_S, 2, &arg0, "ccui.RichText:setAnchorPoint");
if(!ok)
{
tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_ui_RichText_setAnchorPoint'", nullptr);
return 0;
}
cobj->setAnchorPoint(arg0);
lua_settop(tolua_S, 1);
return 1;
}
luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "ccui.RichText:setAnchorPoint",argc, 1);
return 0;
#if COCOS2D_DEBUG >= 1
tolua_lerror:
tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_ui_RichText_setAnchorPoint'.",&tolua_err);
#endif
return 0;
}
int lua_cocos2dx_ui_RichText_pushBackElement(lua_State* tolua_S)
{
int argc = 0;
@ -19569,56 +19468,6 @@ int lua_cocos2dx_ui_RichText_pushBackElement(lua_State* tolua_S)
return 0;
}
int lua_cocos2dx_ui_RichText_ignoreContentAdaptWithSize(lua_State* tolua_S)
{
int argc = 0;
cocos2d::ui::RichText* cobj = nullptr;
bool ok = true;
#if COCOS2D_DEBUG >= 1
tolua_Error tolua_err;
#endif
#if COCOS2D_DEBUG >= 1
if (!tolua_isusertype(tolua_S,1,"ccui.RichText",0,&tolua_err)) goto tolua_lerror;
#endif
cobj = (cocos2d::ui::RichText*)tolua_tousertype(tolua_S,1,0);
#if COCOS2D_DEBUG >= 1
if (!cobj)
{
tolua_error(tolua_S,"invalid 'cobj' in function 'lua_cocos2dx_ui_RichText_ignoreContentAdaptWithSize'", nullptr);
return 0;
}
#endif
argc = lua_gettop(tolua_S)-1;
if (argc == 1)
{
bool arg0;
ok &= luaval_to_boolean(tolua_S, 2,&arg0, "ccui.RichText:ignoreContentAdaptWithSize");
if(!ok)
{
tolua_error(tolua_S,"invalid arguments in function 'lua_cocos2dx_ui_RichText_ignoreContentAdaptWithSize'", nullptr);
return 0;
}
cobj->ignoreContentAdaptWithSize(arg0);
lua_settop(tolua_S, 1);
return 1;
}
luaL_error(tolua_S, "%s has wrong number of arguments: %d, was expecting %d \n", "ccui.RichText:ignoreContentAdaptWithSize",argc, 1);
return 0;
#if COCOS2D_DEBUG >= 1
tolua_lerror:
tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_ui_RichText_ignoreContentAdaptWithSize'.",&tolua_err);
#endif
return 0;
}
int lua_cocos2dx_ui_RichText_setVerticalSpace(lua_State* tolua_S)
{
int argc = 0;
@ -19856,9 +19705,7 @@ int lua_register_cocos2dx_ui_RichText(lua_State* tolua_S)
tolua_beginmodule(tolua_S,"RichText");
tolua_function(tolua_S,"new",lua_cocos2dx_ui_RichText_constructor);
tolua_function(tolua_S,"insertElement",lua_cocos2dx_ui_RichText_insertElement);
tolua_function(tolua_S,"setAnchorPoint",lua_cocos2dx_ui_RichText_setAnchorPoint);
tolua_function(tolua_S,"pushBackElement",lua_cocos2dx_ui_RichText_pushBackElement);
tolua_function(tolua_S,"ignoreContentAdaptWithSize",lua_cocos2dx_ui_RichText_ignoreContentAdaptWithSize);
tolua_function(tolua_S,"setVerticalSpace",lua_cocos2dx_ui_RichText_setVerticalSpace);
tolua_function(tolua_S,"formatText",lua_cocos2dx_ui_RichText_formatText);
tolua_function(tolua_S,"removeElement",lua_cocos2dx_ui_RichText_removeElement);

View File

@ -544,9 +544,6 @@ int register_all_cocos2dx_ui(lua_State* tolua_S);