This commit is contained in:
yinkaile 2014-05-06 09:34:34 +08:00
commit ede895ed6d
108 changed files with 662 additions and 630 deletions

View File

@ -1,3 +1,6 @@
cocos2d-x-3.1-alpha1 May.8 2014
[FIX] ParticleSystem: Particles can be created without a texture
cocos2d-x-3.1-alpha0 May.1 2014
[NEW] Android: Adds support for get response when Activity's onActivityResult is triggered
[NEW] Core: Adds RefPtr<T> smart pointer support

View File

@ -387,9 +387,9 @@ bool ParticleSystem::initWithDictionary(ValueMap& dictionary, const std::string&
{
setTexture(tex);
}
else
else if( dictionary.find("textureImageData") != dictionary.end() )
{
std::string textureData = dictionary["textureImageData"].asString();
std::string textureData = dictionary.at("textureImageData").asString();
CCASSERT(!textureData.empty(), "");
auto dataLen = textureData.size();
@ -420,8 +420,9 @@ bool ParticleSystem::initWithDictionary(ValueMap& dictionary, const std::string&
{
_yCoordFlipped = dictionary["yCoordFlipped"].asInt();
}
CCASSERT( this->_texture != nullptr, "CCParticleSystem: error loading the texture");
if( !this->_texture)
CCLOGWARN("cocos2d: Warning: ParticleSystemQuad system without a texture");
}
ret = true;
}

View File

@ -48,42 +48,6 @@ THE SOFTWARE.
NS_CC_BEGIN
//implementation ParticleSystemQuad
// overriding the init method
bool ParticleSystemQuad::initWithTotalParticles(int numberOfParticles)
{
// base initialization
if( ParticleSystem::initWithTotalParticles(numberOfParticles) )
{
// allocating data space
if( ! this->allocMemory() ) {
this->release();
return false;
}
initIndices();
if (Configuration::getInstance()->supportsShareableVAO())
{
setupVBOandVAO();
}
else
{
setupVBO();
}
setShaderProgram(ShaderCache::getInstance()->getProgram(GLProgram::SHADER_NAME_POSITION_TEXTURE_COLOR_NO_MVP));
#if CC_ENABLE_CACHE_TEXTURE_DATA
// Need to listen the event only when not use batchnode, because it will use VBO
auto listener = EventListenerCustom::create(EVENT_COME_TO_FOREGROUND, CC_CALLBACK_1(ParticleSystemQuad::listenBackToForeground, this));
_eventDispatcher->addEventListenerWithSceneGraphPriority(listener, this);
#endif
return true;
}
return false;
}
ParticleSystemQuad::ParticleSystemQuad()
:_quads(nullptr)
,_indices(nullptr)
@ -132,6 +96,53 @@ ParticleSystemQuad * ParticleSystemQuad::createWithTotalParticles(int numberOfPa
return ret;
}
ParticleSystemQuad * ParticleSystemQuad::create(ValueMap &dictionary)
{
ParticleSystemQuad *ret = new (std::nothrow) ParticleSystemQuad();
if (ret && ret->initWithDictionary(dictionary))
{
ret->autorelease();
return ret;
}
CC_SAFE_DELETE(ret);
return ret;
}
//implementation ParticleSystemQuad
// overriding the init method
bool ParticleSystemQuad::initWithTotalParticles(int numberOfParticles)
{
// base initialization
if( ParticleSystem::initWithTotalParticles(numberOfParticles) )
{
// allocating data space
if( ! this->allocMemory() ) {
this->release();
return false;
}
initIndices();
if (Configuration::getInstance()->supportsShareableVAO())
{
setupVBOandVAO();
}
else
{
setupVBO();
}
setShaderProgram(ShaderCache::getInstance()->getProgram(GLProgram::SHADER_NAME_POSITION_TEXTURE_COLOR_NO_MVP));
#if CC_ENABLE_CACHE_TEXTURE_DATA
// Need to listen the event only when not use batchnode, because it will use VBO
auto listener = EventListenerCustom::create(EVENT_COME_TO_FOREGROUND, CC_CALLBACK_1(ParticleSystemQuad::listenBackToForeground, this));
_eventDispatcher->addEventListenerWithSceneGraphPriority(listener, this);
#endif
return true;
}
return false;
}
// pointRect should be in Texture coordinates, not pixel coordinates
void ParticleSystemQuad::initTexCoordsWithRect(const Rect& pointRect)

View File

@ -65,6 +65,8 @@ public:
This plist files can be created manually or with Particle Designer:
*/
static ParticleSystemQuad * create(const std::string& filename);
/** creates a Particle Emitter with a dictionary */
static ParticleSystemQuad * create(ValueMap &dictionary);
/** Sets a new SpriteFrame as particle.
WARNING: this method is experimental. Use setTextureWithRect instead.

View File

@ -61,8 +61,8 @@ NS_CC_BEGIN
Sprite* Sprite::createWithTexture(Texture2D *texture)
{
Sprite *sprite = new Sprite();
if (sprite->initWithTexture(texture))
Sprite *sprite = new (std::nothrow) Sprite();
if (sprite && sprite->initWithTexture(texture))
{
sprite->autorelease();
return sprite;
@ -73,8 +73,8 @@ Sprite* Sprite::createWithTexture(Texture2D *texture)
Sprite* Sprite::createWithTexture(Texture2D *texture, const Rect& rect, bool rotated)
{
Sprite *sprite = new Sprite();
if (sprite->initWithTexture(texture, rect, rotated))
Sprite *sprite = new (std::nothrow) Sprite();
if (sprite && sprite->initWithTexture(texture, rect, rotated))
{
sprite->autorelease();
return sprite;
@ -85,8 +85,8 @@ Sprite* Sprite::createWithTexture(Texture2D *texture, const Rect& rect, bool rot
Sprite* Sprite::create(const std::string& filename)
{
Sprite *sprite = new Sprite();
if (sprite->initWithFile(filename))
Sprite *sprite = new (std::nothrow) Sprite();
if (sprite && sprite->initWithFile(filename))
{
sprite->autorelease();
return sprite;
@ -97,8 +97,8 @@ Sprite* Sprite::create(const std::string& filename)
Sprite* Sprite::create(const std::string& filename, const Rect& rect)
{
Sprite *sprite = new Sprite();
if (sprite->initWithFile(filename, rect))
Sprite *sprite = new (std::nothrow) Sprite();
if (sprite && sprite->initWithFile(filename, rect))
{
sprite->autorelease();
return sprite;
@ -109,8 +109,8 @@ Sprite* Sprite::create(const std::string& filename, const Rect& rect)
Sprite* Sprite::createWithSpriteFrame(SpriteFrame *spriteFrame)
{
Sprite *sprite = new Sprite();
if (spriteFrame && sprite->initWithSpriteFrame(spriteFrame))
Sprite *sprite = new (std::nothrow) Sprite();
if (sprite && spriteFrame && sprite->initWithSpriteFrame(spriteFrame))
{
sprite->autorelease();
return sprite;
@ -134,7 +134,7 @@ Sprite* Sprite::createWithSpriteFrameName(const std::string& spriteFrameName)
Sprite* Sprite::create()
{
Sprite *sprite = new Sprite();
Sprite *sprite = new (std::nothrow) Sprite();
if (sprite && sprite->init())
{
sprite->autorelease();

View File

@ -770,6 +770,7 @@ CC_DEPRECATED_ATTRIBUTE typedef GLView CCEGLView;
CC_DEPRECATED_ATTRIBUTE typedef Component CCComponent;
CC_DEPRECATED_ATTRIBUTE typedef AffineTransform CCAffineTransform;
CC_DEPRECATED_ATTRIBUTE typedef Vector2 CCPoint;
CC_DEPRECATED_ATTRIBUTE typedef Vector2 Point;
CC_DEPRECATED_ATTRIBUTE typedef Size CCSize;
CC_DEPRECATED_ATTRIBUTE typedef Rect CCRect;
CC_DEPRECATED_ATTRIBUTE typedef Color3B ccColor3B;

View File

@ -42,11 +42,6 @@ USING_NS_CC_MATH;
* @{
*/
// for Vector2 assignement operator and copy constructor
class CC_DLL Size;
CC_DEPRECATED_ATTRIBUTE typedef Vector2 Point;
class CC_DLL Size
{
public:

View File

@ -23,9 +23,9 @@
//#define M_1_PI 0.31830988618379067154
#ifdef __cplusplus
#define NS_CC_MATH_BEGIN namespace cocos2d { namespace math {
#define NS_CC_MATH_END } }
#define USING_NS_CC_MATH using namespace cocos2d::math
#define NS_CC_MATH_BEGIN namespace cocos2d {
#define NS_CC_MATH_END }
#define USING_NS_CC_MATH using namespace cocos2d
#else
#define NS_CC_MATH_BEGIN
#define NS_CC_MATH_END

View File

@ -764,6 +764,8 @@ public:
*/
inline const Vector2 operator*(float x, const Vector2& v);
typedef Vector2 Point2;
NS_CC_MATH_END
#include "Vector2.inl"

View File

@ -491,6 +491,8 @@ public:
*/
inline const Vector3 operator*(float x, const Vector3& v);
typedef Vector3 Point3;
NS_CC_MATH_END
#include "Vector3.inl"

View File

@ -6,7 +6,7 @@
--------------------------------
-- overload function: setEye(float, float, float)
--
-- overload function: setEye(cc.math::Vector3)
-- overload function: setEye(array_table)
--
-- @function [parent=#ActionCamera] setEye
-- @param self
@ -17,27 +17,27 @@
--------------------------------
-- @function [parent=#ActionCamera] getEye
-- @param self
-- @return math::Vector3#math::Vector3 ret (return value: cc.math::Vector3)
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
-- @function [parent=#ActionCamera] setUp
-- @param self
-- @param #cc.math::Vector3 array
-- @param #array_table array
--------------------------------
-- @function [parent=#ActionCamera] getCenter
-- @param self
-- @return math::Vector3#math::Vector3 ret (return value: cc.math::Vector3)
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
-- @function [parent=#ActionCamera] setCenter
-- @param self
-- @param #cc.math::Vector3 array
-- @param #array_table array
--------------------------------
-- @function [parent=#ActionCamera] getUp
-- @param self
-- @return math::Vector3#math::Vector3 ret (return value: cc.math::Vector3)
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
-- @function [parent=#ActionCamera] startWithTarget

View File

@ -141,19 +141,19 @@
--------------------------------
-- @function [parent=#Armature] setAnchorPoint
-- @param self
-- @param #cc.math::Vector2 array
-- @param #array_table array
--------------------------------
-- @function [parent=#Armature] draw
-- @param self
-- @param #cc.Renderer renderer
-- @param #cc.math::Matrix matrix
-- @param #cc.Matrix matrix
-- @param #bool bool
--------------------------------
-- @function [parent=#Armature] getAnchorPointInPoints
-- @param self
-- @return math::Vector2#math::Vector2 ret (return value: cc.math::Vector2)
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
-- @function [parent=#Armature] update
@ -163,7 +163,7 @@
--------------------------------
-- @function [parent=#Armature] getNodeToParentTransform
-- @param self
-- @return math::Matrix#math::Matrix ret (return value: cc.math::Matrix)
-- @return Matrix#Matrix ret (return value: cc.Matrix)
--------------------------------
-- @function [parent=#Armature] getBoundingBox

View File

@ -50,7 +50,7 @@
-- @function [parent=#AtlasNode] draw
-- @param self
-- @param #cc.Renderer renderer
-- @param #cc.math::Matrix matrix
-- @param #cc.Matrix matrix
-- @param #bool bool
--------------------------------

View File

@ -30,7 +30,7 @@
-- @function [parent=#BatchNode] draw
-- @param self
-- @param #cc.Renderer renderer
-- @param #cc.math::Matrix matrix
-- @param #cc.Matrix matrix
-- @param #bool bool
--------------------------------

View File

@ -162,7 +162,7 @@
--------------------------------
-- @function [parent=#Bone] getNodeToArmatureTransform
-- @param self
-- @return math::Matrix#math::Matrix ret (return value: cc.math::Matrix)
-- @return Matrix#Matrix ret (return value: cc.Matrix)
--------------------------------
-- @function [parent=#Bone] getDisplayManager
@ -202,7 +202,7 @@
--------------------------------
-- @function [parent=#Bone] getNodeToWorldTransform
-- @param self
-- @return math::Matrix#math::Matrix ret (return value: cc.math::Matrix)
-- @return Matrix#Matrix ret (return value: cc.Matrix)
--------------------------------
-- @function [parent=#Bone] update

View File

@ -16,7 +16,7 @@
--------------------------------
-- @function [parent=#CardinalSplineBy] updatePosition
-- @param self
-- @param #cc.math::Vector2 array
-- @param #array_table array
--------------------------------
-- @function [parent=#CardinalSplineBy] reverse

View File

@ -11,7 +11,7 @@
--------------------------------
-- @function [parent=#CardinalSplineTo] updatePosition
-- @param self
-- @param #cc.math::Vector2 array
-- @param #array_table array
--------------------------------
-- @function [parent=#CardinalSplineTo] initWithDuration

View File

@ -11,7 +11,7 @@
--------------------------------
-- @function [parent=#ContourData] addVertex
-- @param self
-- @param #cc.math::Vector2 array
-- @param #array_table array
--------------------------------
-- @function [parent=#ContourData] create

View File

@ -82,7 +82,7 @@
-- @function [parent=#Control] getTouchLocation
-- @param self
-- @param #cc.Touch touch
-- @return math::Vector2#math::Vector2 ret (return value: cc.math::Vector2)
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
-- @function [parent=#Control] isHighlighted

View File

@ -43,12 +43,12 @@
--------------------------------
-- @function [parent=#ControlButton] setLabelAnchorPoint
-- @param self
-- @param #cc.math::Vector2 array
-- @param #array_table array
--------------------------------
-- @function [parent=#ControlButton] getLabelAnchorPoint
-- @param self
-- @return math::Vector2#math::Vector2 ret (return value: cc.math::Vector2)
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
-- @function [parent=#ControlButton] getTitleTTFSizeForState

View File

@ -12,7 +12,7 @@
-- @function [parent=#ControlHuePicker] initWithTargetAndPos
-- @param self
-- @param #cc.Node node
-- @param #cc.math::Vector2 array
-- @param #array_table array
-- @return bool#bool ret (return value: bool)
--------------------------------
@ -23,7 +23,7 @@
--------------------------------
-- @function [parent=#ControlHuePicker] getStartPos
-- @param self
-- @return math::Vector2#math::Vector2 ret (return value: cc.math::Vector2)
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
-- @function [parent=#ControlHuePicker] getHue
@ -64,7 +64,7 @@
-- @function [parent=#ControlHuePicker] create
-- @param self
-- @param #cc.Node node
-- @param #cc.math::Vector2 array
-- @param #array_table array
-- @return ControlHuePicker#ControlHuePicker ret (return value: cc.ControlHuePicker)
--------------------------------

View File

@ -6,7 +6,7 @@
--------------------------------
-- @function [parent=#ControlPotentiometer] setPreviousLocation
-- @param self
-- @param #cc.math::Vector2 array
-- @param #array_table array
--------------------------------
-- @function [parent=#ControlPotentiometer] setValue
@ -26,16 +26,16 @@
--------------------------------
-- @function [parent=#ControlPotentiometer] angleInDegreesBetweenLineFromPoint_toPoint_toLineFromPoint_toPoint
-- @param self
-- @param #cc.math::Vector2 array
-- @param #cc.math::Vector2 array
-- @param #cc.math::Vector2 array
-- @param #cc.math::Vector2 array
-- @param #array_table array
-- @param #array_table array
-- @param #array_table array
-- @param #array_table array
-- @return float#float ret (return value: float)
--------------------------------
-- @function [parent=#ControlPotentiometer] potentiometerBegan
-- @param self
-- @param #cc.math::Vector2 array
-- @param #array_table array
--------------------------------
-- @function [parent=#ControlPotentiometer] setMaximumValue
@ -60,19 +60,19 @@
--------------------------------
-- @function [parent=#ControlPotentiometer] getPreviousLocation
-- @param self
-- @return math::Vector2#math::Vector2 ret (return value: cc.math::Vector2)
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
-- @function [parent=#ControlPotentiometer] distanceBetweenPointAndPoint
-- @param self
-- @param #cc.math::Vector2 array
-- @param #cc.math::Vector2 array
-- @param #array_table array
-- @param #array_table array
-- @return float#float ret (return value: float)
--------------------------------
-- @function [parent=#ControlPotentiometer] potentiometerEnded
-- @param self
-- @param #cc.math::Vector2 array
-- @param #array_table array
--------------------------------
-- @function [parent=#ControlPotentiometer] setProgressTimer
@ -100,7 +100,7 @@
--------------------------------
-- @function [parent=#ControlPotentiometer] potentiometerMoved
-- @param self
-- @param #cc.math::Vector2 array
-- @param #array_table array
--------------------------------
-- @function [parent=#ControlPotentiometer] create

View File

@ -12,13 +12,13 @@
-- @function [parent=#ControlSaturationBrightnessPicker] initWithTargetAndPos
-- @param self
-- @param #cc.Node node
-- @param #cc.math::Vector2 array
-- @param #array_table array
-- @return bool#bool ret (return value: bool)
--------------------------------
-- @function [parent=#ControlSaturationBrightnessPicker] getStartPos
-- @param self
-- @return math::Vector2#math::Vector2 ret (return value: cc.math::Vector2)
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
-- @function [parent=#ControlSaturationBrightnessPicker] getOverlay
@ -54,7 +54,7 @@
-- @function [parent=#ControlSaturationBrightnessPicker] create
-- @param self
-- @param #cc.Node node
-- @param #cc.math::Vector2 array
-- @param #array_table array
-- @return ControlSaturationBrightnessPicker#ControlSaturationBrightnessPicker ret (return value: cc.ControlSaturationBrightnessPicker)
--------------------------------

View File

@ -12,7 +12,7 @@
-- @function [parent=#ControlSlider] locationFromTouch
-- @param self
-- @param #cc.Touch touch
-- @return math::Vector2#math::Vector2 ret (return value: cc.math::Vector2)
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
-- @function [parent=#ControlSlider] setSelectedThumbSprite

View File

@ -31,7 +31,7 @@
--------------------------------
-- @function [parent=#ControlStepper] updateLayoutUsingTouchLocation
-- @param self
-- @param #cc.math::Vector2 array
-- @param #array_table array
--------------------------------
-- @function [parent=#ControlStepper] setValueWithSendingEvent

View File

@ -47,7 +47,7 @@
-- @function [parent=#ControlSwitch] locationFromTouch
-- @param self
-- @param #cc.Touch touch
-- @return math::Vector2#math::Vector2 ret (return value: cc.math::Vector2)
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
-- overload function: create(cc.Sprite, cc.Sprite, cc.Sprite, cc.Sprite)

View File

@ -58,7 +58,7 @@
-- @function [parent=#Director] loadMatrix
-- @param self
-- @param #cc.MATRIX_STACK_TYPE matrix_stack_type
-- @param #cc.math::Matrix matrix
-- @param #cc.Matrix matrix
--------------------------------
-- @function [parent=#Director] getNotificationNode
@ -83,7 +83,7 @@
--------------------------------
-- @function [parent=#Director] getVisibleOrigin
-- @param self
-- @return math::Vector2#math::Vector2 ret (return value: cc.math::Vector2)
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
-- @function [parent=#Director] mainLoop
@ -107,8 +107,8 @@
--------------------------------
-- @function [parent=#Director] convertToUI
-- @param self
-- @param #cc.math::Vector2 array
-- @return math::Vector2#math::Vector2 ret (return value: cc.math::Vector2)
-- @param #array_table array
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
-- @function [parent=#Director] setDefaultValues
@ -177,8 +177,8 @@
--------------------------------
-- @function [parent=#Director] convertToGL
-- @param self
-- @param #cc.math::Vector2 array
-- @return math::Vector2#math::Vector2 ret (return value: cc.math::Vector2)
-- @param #array_table array
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
-- @function [parent=#Director] purgeCachedData
@ -212,7 +212,7 @@
-- @function [parent=#Director] getMatrix
-- @param self
-- @param #cc.MATRIX_STACK_TYPE matrix_stack_type
-- @return math::Matrix#math::Matrix ret (return value: cc.math::Matrix)
-- @return Matrix#Matrix ret (return value: cc.Matrix)
--------------------------------
-- @function [parent=#Director] popScene
@ -286,7 +286,7 @@
-- @function [parent=#Director] multiplyMatrix
-- @param self
-- @param #cc.MATRIX_STACK_TYPE matrix_stack_type
-- @param #cc.math::Matrix matrix
-- @param #cc.Matrix matrix
--------------------------------
-- @function [parent=#Director] getActionManager

View File

@ -11,7 +11,7 @@
--------------------------------
-- @function [parent=#DisplayManager] getAnchorPointInPoints
-- @param self
-- @return math::Vector2#math::Vector2 ret (return value: cc.math::Vector2)
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
-- @function [parent=#DisplayManager] getDisplayRenderNodeType
@ -57,7 +57,7 @@
--------------------------------
-- overload function: containPoint(float, float)
--
-- overload function: containPoint(cc.math::Vector2)
-- overload function: containPoint(array_table)
--
-- @function [parent=#DisplayManager] containPoint
-- @param self
@ -90,7 +90,7 @@
--------------------------------
-- @function [parent=#DisplayManager] getAnchorPoint
-- @param self
-- @return math::Vector2#math::Vector2 ret (return value: cc.math::Vector2)
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
-- @function [parent=#DisplayManager] getDecorativeDisplayList

View File

@ -6,16 +6,16 @@
--------------------------------
-- @function [parent=#DrawNode] drawQuadraticBezier
-- @param self
-- @param #cc.math::Vector2 array
-- @param #cc.math::Vector2 array
-- @param #cc.math::Vector2 array
-- @param #array_table array
-- @param #array_table array
-- @param #array_table array
-- @param #unsigned int int
-- @param #color4F_table color4f
--------------------------------
-- @function [parent=#DrawNode] onDraw
-- @param self
-- @param #cc.math::Matrix matrix
-- @param #cc.Matrix matrix
-- @param #bool bool
--------------------------------
@ -25,33 +25,33 @@
--------------------------------
-- @function [parent=#DrawNode] drawTriangle
-- @param self
-- @param #cc.math::Vector2 array
-- @param #cc.math::Vector2 array
-- @param #cc.math::Vector2 array
-- @param #array_table array
-- @param #array_table array
-- @param #array_table array
-- @param #color4F_table color4f
--------------------------------
-- @function [parent=#DrawNode] drawDot
-- @param self
-- @param #cc.math::Vector2 array
-- @param #array_table array
-- @param #float float
-- @param #color4F_table color4f
--------------------------------
-- @function [parent=#DrawNode] drawCubicBezier
-- @param self
-- @param #cc.math::Vector2 array
-- @param #cc.math::Vector2 array
-- @param #cc.math::Vector2 array
-- @param #cc.math::Vector2 array
-- @param #array_table array
-- @param #array_table array
-- @param #array_table array
-- @param #array_table array
-- @param #unsigned int int
-- @param #color4F_table color4f
--------------------------------
-- @function [parent=#DrawNode] drawSegment
-- @param self
-- @param #cc.math::Vector2 array
-- @param #cc.math::Vector2 array
-- @param #array_table array
-- @param #array_table array
-- @param #float float
-- @param #color4F_table color4f
@ -64,7 +64,7 @@
-- @function [parent=#DrawNode] draw
-- @param self
-- @param #cc.Renderer renderer
-- @param #cc.math::Matrix matrix
-- @param #cc.Matrix matrix
-- @param #bool bool
return nil

View File

@ -109,12 +109,12 @@
--------------------------------
-- @function [parent=#EditBox] setAnchorPoint
-- @param self
-- @param #cc.math::Vector2 array
-- @param #array_table array
--------------------------------
-- @function [parent=#EditBox] setPosition
-- @param self
-- @param #cc.math::Vector2 array
-- @param #array_table array
--------------------------------
-- @function [parent=#EditBox] setVisible

View File

@ -6,17 +6,17 @@
--------------------------------
-- @function [parent=#FadeOutTRTiles] turnOnTile
-- @param self
-- @param #cc.math::Vector2 array
-- @param #array_table array
--------------------------------
-- @function [parent=#FadeOutTRTiles] turnOffTile
-- @param self
-- @param #cc.math::Vector2 array
-- @param #array_table array
--------------------------------
-- @function [parent=#FadeOutTRTiles] transformTile
-- @param self
-- @param #cc.math::Vector2 array
-- @param #array_table array
-- @param #float float
--------------------------------

View File

@ -6,7 +6,7 @@
--------------------------------
-- @function [parent=#FadeOutUpTiles] transformTile
-- @param self
-- @param #cc.math::Vector2 array
-- @param #array_table array
-- @param #float float
--------------------------------

View File

@ -45,13 +45,13 @@
-- @return string#string ret (return value: string)
--------------------------------
-- overload function: setUniformsForBuiltins(cc.math::Matrix)
-- overload function: setUniformsForBuiltins(cc.Matrix)
--
-- overload function: setUniformsForBuiltins()
--
-- @function [parent=#GLProgram] setUniformsForBuiltins
-- @param self
-- @param #cc.math::Matrix matrix
-- @param #cc.Matrix matrix
--------------------------------
-- @function [parent=#GLProgram] setUniformLocationWith3i

View File

@ -53,7 +53,7 @@
--------------------------------
-- @function [parent=#GLViewProtocol] getVisibleOrigin
-- @param self
-- @return math::Vector2#math::Vector2 ret (return value: cc.math::Vector2)
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
-- @function [parent=#GLViewProtocol] getFrameSize

View File

@ -34,7 +34,7 @@
--------------------------------
-- @function [parent=#GridBase] getStep
-- @param self
-- @return math::Vector2#math::Vector2 ret (return value: cc.math::Vector2)
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
-- @function [parent=#GridBase] set2DProjection
@ -43,7 +43,7 @@
--------------------------------
-- @function [parent=#GridBase] setStep
-- @param self
-- @param #cc.math::Vector2 array
-- @param #array_table array
--------------------------------
-- @function [parent=#GridBase] setTextureFlipped

View File

@ -7,7 +7,7 @@
-- @function [parent=#JumpBy] create
-- @param self
-- @param #float float
-- @param #cc.math::Vector2 array
-- @param #array_table array
-- @param #float float
-- @param #int int
-- @return JumpBy#JumpBy ret (return value: cc.JumpBy)

View File

@ -7,7 +7,7 @@
-- @function [parent=#JumpTo] create
-- @param self
-- @param #float float
-- @param #cc.math::Vector2 array
-- @param #array_table array
-- @param #float float
-- @param #int int
-- @return JumpTo#JumpTo ret (return value: cc.JumpTo)

View File

@ -76,7 +76,7 @@
-- @function [parent=#Label] setBMFontFilePath
-- @param self
-- @param #string str
-- @param #cc.math::Vector2 array
-- @param #array_table array
-- @return bool#bool ret (return value: bool)
--------------------------------
@ -222,7 +222,7 @@
-- @param #string str
-- @param #cc.TextHAlignment texthalignment
-- @param #int int
-- @param #cc.math::Vector2 array
-- @param #array_table array
-- @return Label#Label ret (return value: cc.Label)
--------------------------------
@ -260,7 +260,7 @@
-- @function [parent=#Label] draw
-- @param self
-- @param #cc.Renderer renderer
-- @param #cc.math::Matrix matrix
-- @param #cc.Matrix matrix
-- @param #bool bool
--------------------------------

View File

@ -46,7 +46,7 @@
-- @param #string str
-- @param #float float
-- @param #cc.TextHAlignment texthalignment
-- @param #cc.math::Vector2 array
-- @param #array_table array
-- @return bool#bool ret (return value: bool)
--------------------------------
@ -63,7 +63,7 @@
-- @function [parent=#LabelBMFont] setFntFile
-- @param self
-- @param #string str
-- @param #cc.math::Vector2 array
-- @param #array_table array
--------------------------------
-- @function [parent=#LabelBMFont] setAlignment
@ -78,7 +78,7 @@
--------------------------------
-- overload function: create()
--
-- overload function: create(string, string, float, cc.TextHAlignment, cc.math::Vector2)
-- overload function: create(string, string, float, cc.TextHAlignment, array_table)
--
-- @function [parent=#LabelBMFont] create
-- @param self
@ -86,7 +86,7 @@
-- @param #string str
-- @param #float float
-- @param #cc.TextHAlignment texthalignment
-- @param #cc.math::Vector2 array
-- @param #array_table array
-- @return LabelBMFont#LabelBMFont ret (retunr value: cc.LabelBMFont)
--------------------------------

View File

@ -37,7 +37,7 @@
-- @function [parent=#LayerColor] draw
-- @param self
-- @param #cc.Renderer renderer
-- @param #cc.math::Matrix matrix
-- @param #cc.Matrix matrix
-- @param #bool bool
--------------------------------

View File

@ -21,7 +21,7 @@
--------------------------------
-- @function [parent=#LayerGradient] setVector
-- @param self
-- @param #cc.math::Vector2 array
-- @param #array_table array
--------------------------------
-- @function [parent=#LayerGradient] setStartOpacity
@ -41,7 +41,7 @@
--------------------------------
-- @function [parent=#LayerGradient] getVector
-- @param self
-- @return math::Vector2#math::Vector2 ret (return value: cc.math::Vector2)
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
-- @function [parent=#LayerGradient] setEndColor
@ -68,13 +68,13 @@
--
-- overload function: create()
--
-- overload function: create(color4B_table, color4B_table, cc.math::Vector2)
-- overload function: create(color4B_table, color4B_table, array_table)
--
-- @function [parent=#LayerGradient] create
-- @param self
-- @param #color4B_table color4b
-- @param #color4B_table color4b
-- @param #cc.math::Vector2 array
-- @param #array_table array
-- @return LayerGradient#LayerGradient ret (retunr value: cc.LayerGradient)
--------------------------------

View File

@ -6,7 +6,7 @@
--------------------------------
-- @function [parent=#Layout] setBackGroundColorVector
-- @param self
-- @param #cc.math::Vector2 array
-- @param #array_table array
--------------------------------
-- @function [parent=#Layout] setClippingType
@ -26,7 +26,7 @@
--------------------------------
-- @function [parent=#Layout] getBackGroundColorVector
-- @param self
-- @return math::Vector2#math::Vector2 ret (return value: cc.math::Vector2)
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
-- @function [parent=#Layout] getClippingType

View File

@ -6,7 +6,7 @@
--------------------------------
-- @function [parent=#Lens3D] setPosition
-- @param self
-- @param #cc.math::Vector2 array
-- @param #array_table array
--------------------------------
-- @function [parent=#Lens3D] setConcave
@ -21,7 +21,7 @@
--------------------------------
-- @function [parent=#Lens3D] getPosition
-- @param self
-- @return math::Vector2#math::Vector2 ret (return value: cc.math::Vector2)
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
-- @function [parent=#Lens3D] getLensEffect
@ -33,7 +33,7 @@
-- @param self
-- @param #float float
-- @param #size_table size
-- @param #cc.math::Vector2 array
-- @param #array_table array
-- @param #float float
-- @return Lens3D#Lens3D ret (return value: cc.Lens3D)

View File

@ -99,7 +99,7 @@
--------------------------------
-- overload function: setPosition(float, float)
--
-- overload function: setPosition(cc.math::Vector2)
-- overload function: setPosition(array_table)
--
-- @function [parent=#MotionStreak] setPosition
-- @param self

View File

@ -7,7 +7,7 @@
-- @function [parent=#MoveBy] create
-- @param self
-- @param #float float
-- @param #cc.math::Vector2 array
-- @param #array_table array
-- @return MoveBy#MoveBy ret (return value: cc.MoveBy)
--------------------------------

View File

@ -7,7 +7,7 @@
-- @function [parent=#MoveTo] create
-- @param self
-- @param #float float
-- @param #cc.math::Vector2 array
-- @param #array_table array
-- @return MoveTo#MoveTo ret (return value: cc.MoveTo)
--------------------------------

View File

@ -72,8 +72,8 @@
--------------------------------
-- @function [parent=#Node] convertToWorldSpaceAR
-- @param self
-- @param #cc.math::Vector2 array
-- @return math::Vector2#math::Vector2 ret (return value: cc.math::Vector2)
-- @param #array_table array
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
-- @function [parent=#Node] isIgnoreAnchorPointForPosition
@ -132,12 +132,12 @@
--------------------------------
-- @function [parent=#Node] getNodeToWorldTransform
-- @param self
-- @return math::Matrix#math::Matrix ret (return value: cc.math::Matrix)
-- @return Matrix#Matrix ret (return value: cc.Matrix)
--------------------------------
-- @function [parent=#Node] getPosition3D
-- @param self
-- @return math::Vector3#math::Vector3 ret (return value: cc.math::Vector3)
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
-- @function [parent=#Node] removeChild
@ -148,8 +148,8 @@
--------------------------------
-- @function [parent=#Node] convertToWorldSpace
-- @param self
-- @param #cc.math::Vector2 array
-- @return math::Vector2#math::Vector2 ret (return value: cc.math::Vector2)
-- @param #array_table array
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
-- @function [parent=#Node] getScene
@ -180,7 +180,7 @@
-- @function [parent=#Node] convertTouchToNodeSpace
-- @param self
-- @param #cc.Touch touch
-- @return math::Vector2#math::Vector2 ret (return value: cc.math::Vector2)
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
-- overload function: removeAllChildrenWithCleanup(bool)
@ -209,24 +209,24 @@
--------------------------------
-- @function [parent=#Node] getRotation3D
-- @param self
-- @return math::Vector3#math::Vector3 ret (return value: cc.math::Vector3)
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
-- @function [parent=#Node] getNodeToParentTransform
-- @param self
-- @return math::Matrix#math::Matrix ret (return value: cc.math::Matrix)
-- @return Matrix#Matrix ret (return value: cc.Matrix)
--------------------------------
-- @function [parent=#Node] convertTouchToNodeSpaceAR
-- @param self
-- @param #cc.Touch touch
-- @return math::Vector2#math::Vector2 ret (return value: cc.math::Vector2)
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
-- @function [parent=#Node] convertToNodeSpace
-- @param self
-- @param #cc.math::Vector2 array
-- @return math::Vector2#math::Vector2 ret (return value: cc.math::Vector2)
-- @param #array_table array
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
-- @function [parent=#Node] resume
@ -240,7 +240,7 @@
--------------------------------
-- overload function: setPosition(float, float)
--
-- overload function: setPosition(cc.math::Vector2)
-- overload function: setPosition(array_table)
--
-- @function [parent=#Node] setPosition
-- @param self
@ -271,7 +271,7 @@
--------------------------------
-- @function [parent=#Node] setRotation3D
-- @param self
-- @param #cc.math::Vector3 array
-- @param #array_table array
--------------------------------
-- @function [parent=#Node] setPositionX
@ -281,12 +281,12 @@
--------------------------------
-- @function [parent=#Node] setNodeToParentTransform
-- @param self
-- @param #cc.math::Matrix matrix
-- @param #cc.Matrix matrix
--------------------------------
-- @function [parent=#Node] getAnchorPoint
-- @param self
-- @return math::Vector2#math::Vector2 ret (return value: cc.math::Vector2)
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
-- @function [parent=#Node] getNumberOfRunningActions
@ -310,8 +310,8 @@
--------------------------------
-- @function [parent=#Node] convertToNodeSpaceAR
-- @param self
-- @param #cc.math::Vector2 array
-- @return math::Vector2#math::Vector2 ret (return value: cc.math::Vector2)
-- @param #array_table array
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
-- @function [parent=#Node] addComponent
@ -332,7 +332,7 @@
--------------------------------
-- @function [parent=#Node] getAnchorPointInPoints
-- @param self
-- @return math::Vector2#math::Vector2 ret (return value: cc.math::Vector2)
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
-- @function [parent=#Node] runAction
@ -373,11 +373,11 @@
--------------------------------
-- overload function: setAdditionalTransform(cc.AffineTransform)
--
-- overload function: setAdditionalTransform(cc.math::Matrix)
-- overload function: setAdditionalTransform(cc.Matrix)
--
-- @function [parent=#Node] setAdditionalTransform
-- @param self
-- @param #cc.math::Matrix matrix
-- @param #cc.Matrix matrix
--------------------------------
-- @function [parent=#Node] getDisplayedOpacity
@ -471,7 +471,7 @@
--------------------------------
-- @function [parent=#Node] getParentToNodeTransform
-- @param self
-- @return math::Matrix#math::Matrix ret (return value: cc.math::Matrix)
-- @return Matrix#Matrix ret (return value: cc.Matrix)
--------------------------------
-- @function [parent=#Node] setGlobalZOrder
@ -572,12 +572,12 @@
--------------------------------
-- overload function: draw()
--
-- overload function: draw(cc.Renderer, cc.math::Matrix, bool)
-- overload function: draw(cc.Renderer, cc.Matrix, bool)
--
-- @function [parent=#Node] draw
-- @param self
-- @param #cc.Renderer renderer
-- @param #cc.math::Matrix matrix
-- @param #cc.Matrix matrix
-- @param #bool bool
--------------------------------
@ -597,7 +597,7 @@
--------------------------------
-- @function [parent=#Node] setPosition3D
-- @param self
-- @param #cc.math::Vector3 array
-- @param #array_table array
--------------------------------
-- @function [parent=#Node] update
@ -611,7 +611,7 @@
--------------------------------
-- @function [parent=#Node] getWorldToNodeTransform
-- @param self
-- @return math::Matrix#math::Matrix ret (return value: cc.math::Matrix)
-- @return Matrix#Matrix ret (return value: cc.Matrix)
--------------------------------
-- @function [parent=#Node] getScale

View File

@ -17,8 +17,8 @@
-- @param self
-- @param #cc.Node node
-- @param #int int
-- @param #cc.math::Vector2 array
-- @param #cc.math::Vector2 array
-- @param #array_table array
-- @param #array_table array
--------------------------------
-- @function [parent=#ParallaxNode] removeAllChildrenWithCleanup

View File

@ -70,7 +70,7 @@
-- @function [parent=#ParticleBatchNode] draw
-- @param self
-- @param #cc.Renderer renderer
-- @param #cc.math::Matrix matrix
-- @param #cc.Matrix matrix
-- @param #bool bool
--------------------------------

View File

@ -36,7 +36,7 @@
--------------------------------
-- @function [parent=#ParticleSystem] setPosVar
-- @param self
-- @param #cc.math::Vector2 array
-- @param #array_table array
--------------------------------
-- @function [parent=#ParticleSystem] getEndSpin
@ -106,7 +106,7 @@
--------------------------------
-- @function [parent=#ParticleSystem] getGravity
-- @param self
-- @return math::Vector2#math::Vector2 ret (return value: cc.math::Vector2)
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
-- @function [parent=#ParticleSystem] getTangentialAccel
@ -151,7 +151,7 @@
--------------------------------
-- @function [parent=#ParticleSystem] getPosVar
-- @param self
-- @return math::Vector2#math::Vector2 ret (return value: cc.math::Vector2)
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
-- @function [parent=#ParticleSystem] updateWithNoTime
@ -179,7 +179,7 @@
--------------------------------
-- @function [parent=#ParticleSystem] getSourcePosition
-- @param self
-- @return math::Vector2#math::Vector2 ret (return value: cc.math::Vector2)
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
-- @function [parent=#ParticleSystem] setLifeVar
@ -200,7 +200,7 @@
-- @function [parent=#ParticleSystem] updateQuadWithParticle
-- @param self
-- @param #cc.sParticle sparticle
-- @param #cc.math::Vector2 array
-- @param #array_table array
--------------------------------
-- @function [parent=#ParticleSystem] getAtlasIndex
@ -294,7 +294,7 @@
--------------------------------
-- @function [parent=#ParticleSystem] setSourcePosition
-- @param self
-- @param #cc.math::Vector2 array
-- @param #array_table array
--------------------------------
-- @function [parent=#ParticleSystem] getEndSpinVar
@ -389,7 +389,7 @@
--------------------------------
-- @function [parent=#ParticleSystem] setGravity
-- @param self
-- @param #cc.math::Vector2 array
-- @param #array_table array
--------------------------------
-- @function [parent=#ParticleSystem] postStep

View File

@ -19,9 +19,11 @@
--
-- overload function: create()
--
-- overload function: create(map_table)
--
-- @function [parent=#ParticleSystemQuad] create
-- @param self
-- @param #string str
-- @param #map_table map
-- @return ParticleSystemQuad#ParticleSystemQuad ret (retunr value: cc.ParticleSystemQuad)
--------------------------------

View File

@ -48,14 +48,14 @@
-- @return float#float ret (return value: float)
--------------------------------
-- overload function: applyImpulse(cc.math::Vector2, cc.math::Vector2)
-- overload function: applyImpulse(array_table, array_table)
--
-- overload function: applyImpulse(cc.math::Vector2)
-- overload function: applyImpulse(array_table)
--
-- @function [parent=#PhysicsBody] applyImpulse
-- @param self
-- @param #cc.math::Vector2 array
-- @param #cc.math::Vector2 array
-- @param #array_table array
-- @param #array_table array
--------------------------------
-- @function [parent=#PhysicsBody] setRotationOffset
@ -63,14 +63,14 @@
-- @param #float float
--------------------------------
-- overload function: applyForce(cc.math::Vector2, cc.math::Vector2)
-- overload function: applyForce(array_table, array_table)
--
-- overload function: applyForce(cc.math::Vector2)
-- overload function: applyForce(array_table)
--
-- @function [parent=#PhysicsBody] applyForce
-- @param self
-- @param #cc.math::Vector2 array
-- @param #cc.math::Vector2 array
-- @param #array_table array
-- @param #array_table array
--------------------------------
-- @function [parent=#PhysicsBody] addShape
@ -97,7 +97,7 @@
--------------------------------
-- @function [parent=#PhysicsBody] getVelocity
-- @param self
-- @return math::Vector2#math::Vector2 ret (return value: cc.math::Vector2)
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
-- @function [parent=#PhysicsBody] getLinearDamping
@ -126,7 +126,7 @@
--------------------------------
-- @function [parent=#PhysicsBody] getPositionOffset
-- @param self
-- @return math::Vector2#math::Vector2 ret (return value: cc.math::Vector2)
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
-- @function [parent=#PhysicsBody] setCategoryBitmask
@ -146,7 +146,7 @@
--------------------------------
-- @function [parent=#PhysicsBody] getPosition
-- @param self
-- @return math::Vector2#math::Vector2 ret (return value: cc.math::Vector2)
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
-- @function [parent=#PhysicsBody] setEnable
@ -176,8 +176,8 @@
--------------------------------
-- @function [parent=#PhysicsBody] local2World
-- @param self
-- @param #cc.math::Vector2 array
-- @return math::Vector2#math::Vector2 ret (return value: cc.math::Vector2)
-- @param #array_table array
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
-- @function [parent=#PhysicsBody] getCategoryBitmask
@ -212,8 +212,8 @@
--------------------------------
-- @function [parent=#PhysicsBody] world2Local
-- @param self
-- @param #cc.math::Vector2 array
-- @return math::Vector2#math::Vector2 ret (return value: cc.math::Vector2)
-- @param #array_table array
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
-- @function [parent=#PhysicsBody] isEnabled
@ -243,7 +243,7 @@
--------------------------------
-- @function [parent=#PhysicsBody] setVelocity
-- @param self
-- @param #cc.math::Vector2 array
-- @param #array_table array
--------------------------------
-- @function [parent=#PhysicsBody] setLinearDamping
@ -258,7 +258,7 @@
--------------------------------
-- @function [parent=#PhysicsBody] setPositionOffset
-- @param self
-- @param #cc.math::Vector2 array
-- @param #array_table array
--------------------------------
-- @function [parent=#PhysicsBody] setRotationEnable
@ -278,8 +278,8 @@
--------------------------------
-- @function [parent=#PhysicsBody] getVelocityAtLocalPoint
-- @param self
-- @param #cc.math::Vector2 array
-- @return math::Vector2#math::Vector2 ret (return value: cc.math::Vector2)
-- @param #array_table array
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
-- @function [parent=#PhysicsBody] isResting
@ -305,8 +305,8 @@
--------------------------------
-- @function [parent=#PhysicsBody] getVelocityAtWorldPoint
-- @param self
-- @param #cc.math::Vector2 array
-- @return math::Vector2#math::Vector2 ret (return value: cc.math::Vector2)
-- @param #array_table array
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
-- @function [parent=#PhysicsBody] setContactTestBitmask
@ -332,14 +332,14 @@
-- @param self
-- @param #size_table size
-- @param #cc.PhysicsMaterial physicsmaterial
-- @param #cc.math::Vector2 array
-- @param #array_table array
-- @return PhysicsBody#PhysicsBody ret (return value: cc.PhysicsBody)
--------------------------------
-- @function [parent=#PhysicsBody] createEdgeSegment
-- @param self
-- @param #cc.math::Vector2 array
-- @param #cc.math::Vector2 array
-- @param #array_table array
-- @param #array_table array
-- @param #cc.PhysicsMaterial physicsmaterial
-- @param #float float
-- @return PhysicsBody#PhysicsBody ret (return value: cc.PhysicsBody)
@ -363,7 +363,7 @@
-- @param #size_table size
-- @param #cc.PhysicsMaterial physicsmaterial
-- @param #float float
-- @param #cc.math::Vector2 array
-- @param #array_table array
-- @return PhysicsBody#PhysicsBody ret (return value: cc.PhysicsBody)
--------------------------------
@ -371,7 +371,7 @@
-- @param self
-- @param #float float
-- @param #cc.PhysicsMaterial physicsmaterial
-- @param #cc.math::Vector2 array
-- @param #array_table array
-- @return PhysicsBody#PhysicsBody ret (return value: cc.PhysicsBody)
return nil

View File

@ -10,7 +10,7 @@
--------------------------------
-- @function [parent=#PhysicsContactPostSolve] getSurfaceVelocity
-- @param self
-- @return math::Vector2#math::Vector2 ret (return value: cc.math::Vector2)
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
-- @function [parent=#PhysicsContactPostSolve] getRestitution

View File

@ -24,12 +24,12 @@
--------------------------------
-- @function [parent=#PhysicsContactPreSolve] getSurfaceVelocity
-- @param self
-- @return math::Vector2#math::Vector2 ret (return value: cc.math::Vector2)
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
-- @function [parent=#PhysicsContactPreSolve] setSurfaceVelocity
-- @param self
-- @param #cc.math::Vector2 array
-- @param #array_table array
--------------------------------
-- @function [parent=#PhysicsContactPreSolve] setRestitution

View File

@ -18,8 +18,8 @@
-- @param self
-- @param #cc.PhysicsBody physicsbody
-- @param #cc.PhysicsBody physicsbody
-- @param #cc.math::Vector2 array
-- @param #cc.math::Vector2 array
-- @param #array_table array
-- @param #array_table array
-- @return PhysicsJointDistance#PhysicsJointDistance ret (return value: cc.PhysicsJointDistance)
return nil

View File

@ -8,7 +8,7 @@
-- @param self
-- @param #cc.PhysicsBody physicsbody
-- @param #cc.PhysicsBody physicsbody
-- @param #cc.math::Vector2 array
-- @param #array_table array
-- @return PhysicsJointFixed#PhysicsJointFixed ret (return value: cc.PhysicsJointFixed)
return nil

View File

@ -6,41 +6,41 @@
--------------------------------
-- @function [parent=#PhysicsJointGroove] setAnchr2
-- @param self
-- @param #cc.math::Vector2 array
-- @param #array_table array
--------------------------------
-- @function [parent=#PhysicsJointGroove] setGrooveA
-- @param self
-- @param #cc.math::Vector2 array
-- @param #array_table array
--------------------------------
-- @function [parent=#PhysicsJointGroove] setGrooveB
-- @param self
-- @param #cc.math::Vector2 array
-- @param #array_table array
--------------------------------
-- @function [parent=#PhysicsJointGroove] getGrooveA
-- @param self
-- @return math::Vector2#math::Vector2 ret (return value: cc.math::Vector2)
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
-- @function [parent=#PhysicsJointGroove] getGrooveB
-- @param self
-- @return math::Vector2#math::Vector2 ret (return value: cc.math::Vector2)
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
-- @function [parent=#PhysicsJointGroove] getAnchr2
-- @param self
-- @return math::Vector2#math::Vector2 ret (return value: cc.math::Vector2)
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
-- @function [parent=#PhysicsJointGroove] construct
-- @param self
-- @param #cc.PhysicsBody physicsbody
-- @param #cc.PhysicsBody physicsbody
-- @param #cc.math::Vector2 array
-- @param #cc.math::Vector2 array
-- @param #cc.math::Vector2 array
-- @param #array_table array
-- @param #array_table array
-- @param #array_table array
-- @return PhysicsJointGroove#PhysicsJointGroove ret (return value: cc.PhysicsJointGroove)
return nil

View File

@ -6,12 +6,12 @@
--------------------------------
-- @function [parent=#PhysicsJointLimit] setAnchr2
-- @param self
-- @param #cc.math::Vector2 array
-- @param #array_table array
--------------------------------
-- @function [parent=#PhysicsJointLimit] setAnchr1
-- @param self
-- @param #cc.math::Vector2 array
-- @param #array_table array
--------------------------------
-- @function [parent=#PhysicsJointLimit] setMax
@ -21,12 +21,12 @@
--------------------------------
-- @function [parent=#PhysicsJointLimit] getAnchr2
-- @param self
-- @return math::Vector2#math::Vector2 ret (return value: cc.math::Vector2)
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
-- @function [parent=#PhysicsJointLimit] getAnchr1
-- @param self
-- @return math::Vector2#math::Vector2 ret (return value: cc.math::Vector2)
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
-- @function [parent=#PhysicsJointLimit] getMin
@ -44,16 +44,16 @@
-- @param #float float
--------------------------------
-- overload function: construct(cc.PhysicsBody, cc.PhysicsBody, cc.math::Vector2, cc.math::Vector2, float, float)
-- overload function: construct(cc.PhysicsBody, cc.PhysicsBody, array_table, array_table, float, float)
--
-- overload function: construct(cc.PhysicsBody, cc.PhysicsBody, cc.math::Vector2, cc.math::Vector2)
-- overload function: construct(cc.PhysicsBody, cc.PhysicsBody, array_table, array_table)
--
-- @function [parent=#PhysicsJointLimit] construct
-- @param self
-- @param #cc.PhysicsBody physicsbody
-- @param #cc.PhysicsBody physicsbody
-- @param #cc.math::Vector2 array
-- @param #cc.math::Vector2 array
-- @param #array_table array
-- @param #array_table array
-- @param #float float
-- @param #float float
-- @return PhysicsJointLimit#PhysicsJointLimit ret (retunr value: cc.PhysicsJointLimit)

View File

@ -8,7 +8,7 @@
-- @param self
-- @param #cc.PhysicsBody physicsbody
-- @param #cc.PhysicsBody physicsbody
-- @param #cc.math::Vector2 array
-- @param #array_table array
-- @return PhysicsJointPin#PhysicsJointPin ret (return value: cc.PhysicsJointPin)
return nil

View File

@ -6,12 +6,12 @@
--------------------------------
-- @function [parent=#PhysicsJointSpring] setAnchr2
-- @param self
-- @param #cc.math::Vector2 array
-- @param #array_table array
--------------------------------
-- @function [parent=#PhysicsJointSpring] setAnchr1
-- @param self
-- @param #cc.math::Vector2 array
-- @param #array_table array
--------------------------------
-- @function [parent=#PhysicsJointSpring] getDamping
@ -31,12 +31,12 @@
--------------------------------
-- @function [parent=#PhysicsJointSpring] getAnchr2
-- @param self
-- @return math::Vector2#math::Vector2 ret (return value: cc.math::Vector2)
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
-- @function [parent=#PhysicsJointSpring] getAnchr1
-- @param self
-- @return math::Vector2#math::Vector2 ret (return value: cc.math::Vector2)
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
-- @function [parent=#PhysicsJointSpring] getStiffness
@ -58,8 +58,8 @@
-- @param self
-- @param #cc.PhysicsBody physicsbody
-- @param #cc.PhysicsBody physicsbody
-- @param #cc.math::Vector2 array
-- @param #cc.math::Vector2 array
-- @param #array_table array
-- @param #array_table array
-- @param #float float
-- @param #float float
-- @return PhysicsJointSpring#PhysicsJointSpring ret (return value: cc.PhysicsJointSpring)

View File

@ -56,7 +56,7 @@
--------------------------------
-- @function [parent=#PhysicsShape] containsPoint
-- @param self
-- @param #cc.math::Vector2 array
-- @param #array_table array
-- @return bool#bool ret (return value: bool)
--------------------------------
@ -77,7 +77,7 @@
--------------------------------
-- @function [parent=#PhysicsShape] getCenter
-- @param self
-- @return math::Vector2#math::Vector2 ret (return value: cc.math::Vector2)
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
-- @function [parent=#PhysicsShape] getDensity
@ -112,7 +112,7 @@
--------------------------------
-- @function [parent=#PhysicsShape] getOffset
-- @param self
-- @return math::Vector2#math::Vector2 ret (return value: cc.math::Vector2)
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
-- @function [parent=#PhysicsShape] getRestitution

View File

@ -18,7 +18,7 @@
-- @param self
-- @param #size_table size
-- @param #cc.PhysicsMaterial physicsmaterial
-- @param #cc.math::Vector2 array
-- @param #array_table array
-- @return PhysicsShapeBox#PhysicsShapeBox ret (return value: cc.PhysicsShapeBox)
--------------------------------
@ -32,13 +32,13 @@
-- @param self
-- @param #float float
-- @param #size_table size
-- @param #cc.math::Vector2 array
-- @param #array_table array
-- @return float#float ret (return value: float)
--------------------------------
-- @function [parent=#PhysicsShapeBox] getOffset
-- @param self
-- @return math::Vector2#math::Vector2 ret (return value: cc.math::Vector2)
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
-- @function [parent=#PhysicsShapeBox] calculateDefaultMoment

View File

@ -13,7 +13,7 @@
-- @param self
-- @param #float float
-- @param #cc.PhysicsMaterial physicsmaterial
-- @param #cc.math::Vector2 array
-- @param #array_table array
-- @return PhysicsShapeCircle#PhysicsShapeCircle ret (return value: cc.PhysicsShapeCircle)
--------------------------------
@ -27,13 +27,13 @@
-- @param self
-- @param #float float
-- @param #float float
-- @param #cc.math::Vector2 array
-- @param #array_table array
-- @return float#float ret (return value: float)
--------------------------------
-- @function [parent=#PhysicsShapeCircle] getOffset
-- @param self
-- @return math::Vector2#math::Vector2 ret (return value: cc.math::Vector2)
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
-- @function [parent=#PhysicsShapeCircle] calculateDefaultMoment

View File

@ -14,12 +14,12 @@
-- @param #size_table size
-- @param #cc.PhysicsMaterial physicsmaterial
-- @param #float float
-- @param #cc.math::Vector2 array
-- @param #array_table array
-- @return PhysicsShapeEdgeBox#PhysicsShapeEdgeBox ret (return value: cc.PhysicsShapeEdgeBox)
--------------------------------
-- @function [parent=#PhysicsShapeEdgeBox] getOffset
-- @param self
-- @return math::Vector2#math::Vector2 ret (return value: cc.math::Vector2)
-- @return array_table#array_table ret (return value: array_table)
return nil

View File

@ -11,6 +11,6 @@
--------------------------------
-- @function [parent=#PhysicsShapeEdgeChain] getCenter
-- @param self
-- @return math::Vector2#math::Vector2 ret (return value: cc.math::Vector2)
-- @return array_table#array_table ret (return value: array_table)
return nil

View File

@ -11,6 +11,6 @@
--------------------------------
-- @function [parent=#PhysicsShapeEdgePolygon] getCenter
-- @param self
-- @return math::Vector2#math::Vector2 ret (return value: cc.math::Vector2)
-- @return array_table#array_table ret (return value: array_table)
return nil

View File

@ -6,18 +6,18 @@
--------------------------------
-- @function [parent=#PhysicsShapeEdgeSegment] getPointB
-- @param self
-- @return math::Vector2#math::Vector2 ret (return value: cc.math::Vector2)
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
-- @function [parent=#PhysicsShapeEdgeSegment] getPointA
-- @param self
-- @return math::Vector2#math::Vector2 ret (return value: cc.math::Vector2)
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
-- @function [parent=#PhysicsShapeEdgeSegment] create
-- @param self
-- @param #cc.math::Vector2 array
-- @param #cc.math::Vector2 array
-- @param #array_table array
-- @param #array_table array
-- @param #cc.PhysicsMaterial physicsmaterial
-- @param #float float
-- @return PhysicsShapeEdgeSegment#PhysicsShapeEdgeSegment ret (return value: cc.PhysicsShapeEdgeSegment)
@ -25,6 +25,6 @@
--------------------------------
-- @function [parent=#PhysicsShapeEdgeSegment] getCenter
-- @param self
-- @return math::Vector2#math::Vector2 ret (return value: cc.math::Vector2)
-- @return array_table#array_table ret (return value: array_table)
return nil

View File

@ -12,7 +12,7 @@
-- @function [parent=#PhysicsShapePolygon] getPoint
-- @param self
-- @param #int int
-- @return math::Vector2#math::Vector2 ret (return value: cc.math::Vector2)
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
-- @function [parent=#PhysicsShapePolygon] calculateDefaultMoment
@ -22,6 +22,6 @@
--------------------------------
-- @function [parent=#PhysicsShapePolygon] getCenter
-- @param self
-- @return math::Vector2#math::Vector2 ret (return value: cc.math::Vector2)
-- @return array_table#array_table ret (return value: array_table)
return nil

View File

@ -5,7 +5,7 @@
--------------------------------
-- @function [parent=#PhysicsWorld] getGravity
-- @param self
-- @return math::Vector2#math::Vector2 ret (return value: cc.math::Vector2)
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
-- @function [parent=#PhysicsWorld] getAllBodies
@ -15,7 +15,7 @@
--------------------------------
-- @function [parent=#PhysicsWorld] setGravity
-- @param self
-- @param #cc.math::Vector2 array
-- @param #array_table array
--------------------------------
-- @function [parent=#PhysicsWorld] getSpeed
@ -50,7 +50,7 @@
--------------------------------
-- @function [parent=#PhysicsWorld] getShapes
-- @param self
-- @param #cc.math::Vector2 array
-- @param #array_table array
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
@ -60,7 +60,7 @@
--------------------------------
-- @function [parent=#PhysicsWorld] getShape
-- @param self
-- @param #cc.math::Vector2 array
-- @param #array_table array
-- @return PhysicsShape#PhysicsShape ret (return value: cc.PhysicsShape)
--------------------------------

View File

@ -6,7 +6,7 @@
--------------------------------
-- @function [parent=#Place] create
-- @param self
-- @param #cc.math::Vector2 array
-- @param #array_table array
-- @return Place#Place ret (return value: cc.Place)
--------------------------------

View File

@ -11,7 +11,7 @@
--------------------------------
-- @function [parent=#ProgressTimer] setBarChangeRate
-- @param self
-- @param #cc.math::Vector2 array
-- @param #array_table array
--------------------------------
-- @function [parent=#ProgressTimer] getPercentage
@ -36,12 +36,12 @@
--------------------------------
-- @function [parent=#ProgressTimer] setMidpoint
-- @param self
-- @param #cc.math::Vector2 array
-- @param #array_table array
--------------------------------
-- @function [parent=#ProgressTimer] getBarChangeRate
-- @param self
-- @return math::Vector2#math::Vector2 ret (return value: cc.math::Vector2)
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
-- overload function: setReverseDirection(bool)
@ -55,7 +55,7 @@
--------------------------------
-- @function [parent=#ProgressTimer] getMidpoint
-- @param self
-- @return math::Vector2#math::Vector2 ret (return value: cc.math::Vector2)
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
-- @function [parent=#ProgressTimer] setPercentage
@ -76,13 +76,13 @@
--------------------------------
-- @function [parent=#ProgressTimer] setAnchorPoint
-- @param self
-- @param #cc.math::Vector2 array
-- @param #array_table array
--------------------------------
-- @function [parent=#ProgressTimer] draw
-- @param self
-- @param #cc.Renderer renderer
-- @param #cc.math::Matrix matrix
-- @param #cc.Matrix matrix
-- @param #bool bool
--------------------------------

View File

@ -6,7 +6,7 @@
--------------------------------
-- @function [parent=#RenderTexture] setVirtualViewport
-- @param self
-- @param #cc.math::Vector2 array
-- @param #array_table array
-- @param #rect_table rect
-- @param #rect_table rect
@ -169,7 +169,7 @@
-- @function [parent=#RenderTexture] draw
-- @param self
-- @param #cc.Renderer renderer
-- @param #cc.math::Matrix matrix
-- @param #cc.Matrix matrix
-- @param #bool bool
--------------------------------

View File

@ -12,7 +12,7 @@
--------------------------------
-- @function [parent=#RichText] setAnchorPoint
-- @param self
-- @param #cc.math::Vector2 array
-- @param #array_table array
--------------------------------
-- @function [parent=#RichText] pushBackElement

View File

@ -26,19 +26,19 @@
--------------------------------
-- @function [parent=#Ripple3D] setPosition
-- @param self
-- @param #cc.math::Vector2 array
-- @param #array_table array
--------------------------------
-- @function [parent=#Ripple3D] getPosition
-- @param self
-- @return math::Vector2#math::Vector2 ret (return value: cc.math::Vector2)
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
-- @function [parent=#Ripple3D] create
-- @param self
-- @param #float float
-- @param #size_table size
-- @param #cc.math::Vector2 array
-- @param #array_table array
-- @param #float float
-- @param #unsigned int int
-- @param #float float

View File

@ -8,7 +8,7 @@
--
-- overload function: create(float, float)
--
-- overload function: create(float, cc.math::Vector3)
-- overload function: create(float, array_table)
--
-- @function [parent=#RotateBy] create
-- @param self

View File

@ -24,7 +24,7 @@
--------------------------------
-- @function [parent=#ScrollView] scrollToPercentBothDirection
-- @param self
-- @param #cc.math::Vector2 array
-- @param #array_table array
-- @param #float float
-- @param #bool bool
@ -123,7 +123,7 @@
--------------------------------
-- @function [parent=#ScrollView] jumpToPercentBothDirection
-- @param self
-- @param #cc.math::Vector2 array
-- @param #array_table array
--------------------------------
-- @function [parent=#ScrollView] scrollToPercentVertical

View File

@ -6,7 +6,7 @@
--------------------------------
-- @function [parent=#ShuffleTiles] placeTile
-- @param self
-- @param #cc.math::Vector2 array
-- @param #array_table array
-- @param #cc.Tile tile
--------------------------------

View File

@ -15,7 +15,7 @@
--------------------------------
-- @function [parent=#Skeleton] onDraw
-- @param self
-- @param #cc.math::Matrix matrix
-- @param #cc.Matrix matrix
-- @param #bool bool
--------------------------------

View File

@ -11,7 +11,7 @@
--------------------------------
-- @function [parent=#Skin] getNodeToWorldTransformAR
-- @param self
-- @return math::Matrix#math::Matrix ret (return value: cc.math::Matrix)
-- @return Matrix#Matrix ret (return value: cc.Matrix)
--------------------------------
-- @function [parent=#Skin] initWithFile
@ -62,13 +62,13 @@
--------------------------------
-- @function [parent=#Skin] getNodeToWorldTransform
-- @param self
-- @return math::Matrix#math::Matrix ret (return value: cc.math::Matrix)
-- @return Matrix#Matrix ret (return value: cc.Matrix)
--------------------------------
-- @function [parent=#Skin] draw
-- @param self
-- @param #cc.Renderer renderer
-- @param #cc.math::Matrix matrix
-- @param #cc.Matrix matrix
-- @param #bool bool
--------------------------------

View File

@ -114,7 +114,7 @@
--------------------------------
-- @function [parent=#Slider] hitTest
-- @param self
-- @param #cc.math::Vector2 array
-- @param #array_table array
-- @return bool#bool ret (return value: bool)
--------------------------------

View File

@ -44,7 +44,7 @@
--------------------------------
-- @function [parent=#Sprite] getOffsetPosition
-- @param self
-- @return math::Vector2#math::Vector2 ret (return value: cc.math::Vector2)
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
-- @function [parent=#Sprite] removeAllChildrenWithCleanup
@ -184,7 +184,7 @@
-- @function [parent=#Sprite] draw
-- @param self
-- @param #cc.Renderer renderer
-- @param #cc.math::Matrix matrix
-- @param #cc.Matrix matrix
-- @param #bool bool
--------------------------------
@ -217,7 +217,7 @@
--------------------------------
-- @function [parent=#Sprite] setAnchorPoint
-- @param self
-- @param #cc.math::Vector2 array
-- @param #array_table array
--------------------------------
-- @function [parent=#Sprite] setRotationSkewX

View File

@ -118,7 +118,7 @@
-- @function [parent=#SpriteBatchNode] draw
-- @param self
-- @param #cc.Renderer renderer
-- @param #cc.math::Matrix matrix
-- @param #cc.Matrix matrix
-- @param #bool bool
--------------------------------

View File

@ -19,7 +19,7 @@
-- @param #cc.Texture2D texture2d
--------------------------------
-- overload function: initWithTexture(cc.Texture2D, rect_table, bool, cc.math::Vector2, size_table)
-- overload function: initWithTexture(cc.Texture2D, rect_table, bool, array_table, size_table)
--
-- overload function: initWithTexture(cc.Texture2D, rect_table)
--
@ -28,7 +28,7 @@
-- @param #cc.Texture2D texture2d
-- @param #rect_table rect
-- @param #bool bool
-- @param #cc.math::Vector2 array
-- @param #array_table array
-- @param #size_table size
-- @return bool#bool ret (retunr value: bool)
@ -50,7 +50,7 @@
--------------------------------
-- @function [parent=#SpriteFrame] setOffsetInPixels
-- @param self
-- @param #cc.math::Vector2 array
-- @param #array_table array
--------------------------------
-- @function [parent=#SpriteFrame] getRectInPixels
@ -75,12 +75,12 @@
--------------------------------
-- @function [parent=#SpriteFrame] setOffset
-- @param self
-- @param #cc.math::Vector2 array
-- @param #array_table array
--------------------------------
-- @function [parent=#SpriteFrame] getOffset
-- @param self
-- @return math::Vector2#math::Vector2 ret (return value: cc.math::Vector2)
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
-- @function [parent=#SpriteFrame] isRotated
@ -88,7 +88,7 @@
-- @return bool#bool ret (return value: bool)
--------------------------------
-- overload function: initWithTextureFilename(string, rect_table, bool, cc.math::Vector2, size_table)
-- overload function: initWithTextureFilename(string, rect_table, bool, array_table, size_table)
--
-- overload function: initWithTextureFilename(string, rect_table)
--
@ -97,7 +97,7 @@
-- @param #string str
-- @param #rect_table rect
-- @param #bool bool
-- @param #cc.math::Vector2 array
-- @param #array_table array
-- @param #size_table size
-- @return bool#bool ret (retunr value: bool)
@ -109,7 +109,7 @@
--------------------------------
-- @function [parent=#SpriteFrame] getOffsetInPixels
-- @param self
-- @return math::Vector2#math::Vector2 ret (return value: cc.math::Vector2)
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
-- @function [parent=#SpriteFrame] getOriginalSize
@ -117,7 +117,7 @@
-- @return size_table#size_table ret (return value: size_table)
--------------------------------
-- overload function: create(string, rect_table, bool, cc.math::Vector2, size_table)
-- overload function: create(string, rect_table, bool, array_table, size_table)
--
-- overload function: create(string, rect_table)
--
@ -126,12 +126,12 @@
-- @param #string str
-- @param #rect_table rect
-- @param #bool bool
-- @param #cc.math::Vector2 array
-- @param #array_table array
-- @param #size_table size
-- @return SpriteFrame#SpriteFrame ret (retunr value: cc.SpriteFrame)
--------------------------------
-- overload function: createWithTexture(cc.Texture2D, rect_table, bool, cc.math::Vector2, size_table)
-- overload function: createWithTexture(cc.Texture2D, rect_table, bool, array_table, size_table)
--
-- overload function: createWithTexture(cc.Texture2D, rect_table)
--
@ -140,7 +140,7 @@
-- @param #cc.Texture2D texture2d
-- @param #rect_table rect
-- @param #bool bool
-- @param #cc.math::Vector2 array
-- @param #array_table array
-- @param #size_table size
-- @return SpriteFrame#SpriteFrame ret (retunr value: cc.SpriteFrame)

View File

@ -6,15 +6,15 @@
--------------------------------
-- @function [parent=#TMXLayer] getTileGIDAt
-- @param self
-- @param #cc.math::Vector2 array
-- @param #array_table array
-- @param #cc.TMXTileFlags_ tmxtileflags_
-- @return unsigned int#unsigned int ret (return value: unsigned int)
--------------------------------
-- @function [parent=#TMXLayer] getPositionAt
-- @param self
-- @param #cc.math::Vector2 array
-- @return math::Vector2#math::Vector2 ret (return value: cc.math::Vector2)
-- @param #array_table array
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
-- @function [parent=#TMXLayer] setLayerOrientation
@ -58,7 +58,7 @@
--------------------------------
-- @function [parent=#TMXLayer] removeTileAt
-- @param self
-- @param #cc.math::Vector2 array
-- @param #array_table array
--------------------------------
-- @function [parent=#TMXLayer] initWithTilesetInfo
@ -73,14 +73,14 @@
-- @param self
--------------------------------
-- overload function: setTileGID(unsigned int, cc.math::Vector2, cc.TMXTileFlags_)
-- overload function: setTileGID(unsigned int, array_table, cc.TMXTileFlags_)
--
-- overload function: setTileGID(unsigned int, cc.math::Vector2)
-- overload function: setTileGID(unsigned int, array_table)
--
-- @function [parent=#TMXLayer] setTileGID
-- @param self
-- @param #unsigned int int
-- @param #cc.math::Vector2 array
-- @param #array_table array
-- @param #cc.TMXTileFlags_ tmxtileflags_
--------------------------------
@ -126,7 +126,7 @@
--------------------------------
-- @function [parent=#TMXLayer] getTileAt
-- @param self
-- @param #cc.math::Vector2 array
-- @param #array_table array
-- @return Sprite#Sprite ret (return value: cc.Sprite)
--------------------------------

View File

@ -6,7 +6,7 @@
--------------------------------
-- @function [parent=#TMXObjectGroup] setPositionOffset
-- @param self
-- @param #cc.math::Vector2 array
-- @param #array_table array
--------------------------------
-- @function [parent=#TMXObjectGroup] getProperty
@ -17,7 +17,7 @@
--------------------------------
-- @function [parent=#TMXObjectGroup] getPositionOffset
-- @param self
-- @return math::Vector2#math::Vector2 ret (return value: cc.math::Vector2)
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
-- @function [parent=#TMXObjectGroup] getObject

View File

@ -149,7 +149,7 @@
--------------------------------
-- @function [parent=#TextField] hitTest
-- @param self
-- @param #cc.math::Vector2 array
-- @param #array_table array
-- @return bool#bool ret (return value: bool)
--------------------------------

View File

@ -149,7 +149,7 @@
--------------------------------
-- @function [parent=#Texture2D] drawAtPoint
-- @param self
-- @param #cc.math::Vector2 array
-- @param #array_table array
--------------------------------
-- @function [parent=#Texture2D] hasMipmaps

View File

@ -24,14 +24,14 @@
--------------------------------
-- @function [parent=#TileMapAtlas] getTileAt
-- @param self
-- @param #cc.math::Vector2 array
-- @param #array_table array
-- @return color3B_table#color3B_table ret (return value: color3B_table)
--------------------------------
-- @function [parent=#TileMapAtlas] setTile
-- @param self
-- @param #color3B_table color3b
-- @param #cc.math::Vector2 array
-- @param #array_table array
--------------------------------
-- @function [parent=#TileMapAtlas] setTGAInfo

View File

@ -6,27 +6,27 @@
--------------------------------
-- @function [parent=#Touch] getPreviousLocationInView
-- @param self
-- @return math::Vector2#math::Vector2 ret (return value: cc.math::Vector2)
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
-- @function [parent=#Touch] getLocation
-- @param self
-- @return math::Vector2#math::Vector2 ret (return value: cc.math::Vector2)
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
-- @function [parent=#Touch] getDelta
-- @param self
-- @return math::Vector2#math::Vector2 ret (return value: cc.math::Vector2)
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
-- @function [parent=#Touch] getStartLocationInView
-- @param self
-- @return math::Vector2#math::Vector2 ret (return value: cc.math::Vector2)
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
-- @function [parent=#Touch] getStartLocation
-- @param self
-- @return math::Vector2#math::Vector2 ret (return value: cc.math::Vector2)
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
-- @function [parent=#Touch] getID
@ -43,12 +43,12 @@
--------------------------------
-- @function [parent=#Touch] getLocationInView
-- @param self
-- @return math::Vector2#math::Vector2 ret (return value: cc.math::Vector2)
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
-- @function [parent=#Touch] getPreviousLocation
-- @param self
-- @return math::Vector2#math::Vector2 ret (return value: cc.math::Vector2)
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
-- @function [parent=#Touch] Touch

View File

@ -14,7 +14,7 @@
-- @function [parent=#TransitionCrossFade] draw
-- @param self
-- @param #cc.Renderer renderer
-- @param #cc.math::Matrix matrix
-- @param #cc.Matrix matrix
-- @param #bool bool
return nil

View File

@ -26,7 +26,7 @@
-- @function [parent=#TransitionFadeTR] draw
-- @param self
-- @param #cc.Renderer renderer
-- @param #cc.math::Matrix matrix
-- @param #cc.Matrix matrix
-- @param #bool bool
return nil

View File

@ -29,7 +29,7 @@
-- @function [parent=#TransitionPageTurn] draw
-- @param self
-- @param #cc.Renderer renderer
-- @param #cc.math::Matrix matrix
-- @param #cc.Matrix matrix
-- @param #bool bool
--------------------------------

View File

@ -22,7 +22,7 @@
-- @function [parent=#TransitionScene] draw
-- @param self
-- @param #cc.Renderer renderer
-- @param #cc.math::Matrix matrix
-- @param #cc.Matrix matrix
-- @param #bool bool
--------------------------------

View File

@ -25,7 +25,7 @@
-- @function [parent=#TransitionSplitCols] draw
-- @param self
-- @param #cc.Renderer renderer
-- @param #cc.math::Matrix matrix
-- @param #cc.Matrix matrix
-- @param #bool bool
return nil

View File

@ -20,7 +20,7 @@
-- @function [parent=#TransitionTurnOffTiles] draw
-- @param self
-- @param #cc.Renderer renderer
-- @param #cc.math::Matrix matrix
-- @param #cc.Matrix matrix
-- @param #bool bool
return nil

View File

@ -6,12 +6,12 @@
--------------------------------
-- @function [parent=#TurnOffTiles] turnOnTile
-- @param self
-- @param #cc.math::Vector2 array
-- @param #array_table array
--------------------------------
-- @function [parent=#TurnOffTiles] turnOffTile
-- @param self
-- @param #cc.math::Vector2 array
-- @param #array_table array
--------------------------------
-- @function [parent=#TurnOffTiles] shuffle

View File

@ -26,19 +26,19 @@
--------------------------------
-- @function [parent=#Twirl] setPosition
-- @param self
-- @param #cc.math::Vector2 array
-- @param #array_table array
--------------------------------
-- @function [parent=#Twirl] getPosition
-- @param self
-- @return math::Vector2#math::Vector2 ret (return value: cc.math::Vector2)
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
-- @function [parent=#Twirl] create
-- @param self
-- @param #float float
-- @param #size_table size
-- @param #cc.math::Vector2 array
-- @param #array_table array
-- @param #unsigned int int
-- @param #float float
-- @return Twirl#Twirl ret (return value: cc.Twirl)

View File

@ -6,7 +6,7 @@
--------------------------------
-- @function [parent=#Widget] setSizePercent
-- @param self
-- @param #cc.math::Vector2 array
-- @param #array_table array
--------------------------------
-- @function [parent=#Widget] getCustomSize
@ -31,12 +31,12 @@
--------------------------------
-- @function [parent=#Widget] getTouchEndPos
-- @param self
-- @return math::Vector2#math::Vector2 ret (return value: cc.math::Vector2)
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
-- @function [parent=#Widget] setPositionPercent
-- @param self
-- @param #cc.math::Vector2 array
-- @param #array_table array
--------------------------------
-- @function [parent=#Widget] getLayoutSize
@ -113,7 +113,7 @@
--------------------------------
-- @function [parent=#Widget] getWorldPosition
-- @param self
-- @return math::Vector2#math::Vector2 ret (return value: cc.math::Vector2)
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
-- @function [parent=#Widget] didNotSelectSelf
@ -137,7 +137,7 @@
--------------------------------
-- @function [parent=#Widget] getTouchMovePos
-- @param self
-- @return math::Vector2#math::Vector2 ret (return value: cc.math::Vector2)
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
-- @function [parent=#Widget] setEnabled
@ -167,12 +167,12 @@
--------------------------------
-- @function [parent=#Widget] getSizePercent
-- @param self
-- @return math::Vector2#math::Vector2 ret (return value: cc.math::Vector2)
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
-- @function [parent=#Widget] getTouchStartPos
-- @param self
-- @return math::Vector2#math::Vector2 ret (return value: cc.math::Vector2)
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
-- @function [parent=#Widget] setActionTag
@ -187,7 +187,7 @@
--------------------------------
-- @function [parent=#Widget] clippingParentAreaContainPoint
-- @param self
-- @param #cc.math::Vector2 array
-- @param #array_table array
-- @return bool#bool ret (return value: bool)
--------------------------------
@ -227,12 +227,12 @@
--------------------------------
-- @function [parent=#Widget] getPositionPercent
-- @param self
-- @return math::Vector2#math::Vector2 ret (return value: cc.math::Vector2)
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
-- @function [parent=#Widget] hitTest
-- @param self
-- @param #cc.math::Vector2 array
-- @param #array_table array
-- @return bool#bool ret (return value: bool)
--------------------------------
@ -255,7 +255,7 @@
-- @param self
-- @param #int int
-- @param #ccui.Widget widget
-- @param #cc.math::Vector2 array
-- @param #array_table array
--------------------------------
-- @function [parent=#Widget] setSize
@ -295,7 +295,7 @@
--------------------------------
-- @function [parent=#Widget] setPosition
-- @param self
-- @param #cc.math::Vector2 array
-- @param #array_table array
--------------------------------
-- @function [parent=#Widget] getDescription

View File

@ -718,7 +718,7 @@ int lua_cocos2dx_GLProgram_setUniformsForBuiltins(lua_State* tolua_S)
argc = lua_gettop(tolua_S)-1;
do{
if (argc == 1) {
cocos2d::math::Matrix arg0;
cocos2d::Matrix arg0;
ok &= luaval_to_matrix(tolua_S, 2, &arg0);
if (!ok) { break; }
@ -1598,7 +1598,7 @@ int lua_cocos2dx_Touch_getPreviousLocationInView(lua_State* tolua_S)
{
if(!ok)
return 0;
cocos2d::math::Vector2 ret = cobj->getPreviousLocationInView();
cocos2d::Vector2 ret = cobj->getPreviousLocationInView();
vector2_to_luaval(tolua_S, ret);
return 1;
}
@ -1642,7 +1642,7 @@ int lua_cocos2dx_Touch_getLocation(lua_State* tolua_S)
{
if(!ok)
return 0;
cocos2d::math::Vector2 ret = cobj->getLocation();
cocos2d::Vector2 ret = cobj->getLocation();
vector2_to_luaval(tolua_S, ret);
return 1;
}
@ -1686,7 +1686,7 @@ int lua_cocos2dx_Touch_getDelta(lua_State* tolua_S)
{
if(!ok)
return 0;
cocos2d::math::Vector2 ret = cobj->getDelta();
cocos2d::Vector2 ret = cobj->getDelta();
vector2_to_luaval(tolua_S, ret);
return 1;
}
@ -1730,7 +1730,7 @@ int lua_cocos2dx_Touch_getStartLocationInView(lua_State* tolua_S)
{
if(!ok)
return 0;
cocos2d::math::Vector2 ret = cobj->getStartLocationInView();
cocos2d::Vector2 ret = cobj->getStartLocationInView();
vector2_to_luaval(tolua_S, ret);
return 1;
}
@ -1774,7 +1774,7 @@ int lua_cocos2dx_Touch_getStartLocation(lua_State* tolua_S)
{
if(!ok)
return 0;
cocos2d::math::Vector2 ret = cobj->getStartLocation();
cocos2d::Vector2 ret = cobj->getStartLocation();
vector2_to_luaval(tolua_S, ret);
return 1;
}
@ -1914,7 +1914,7 @@ int lua_cocos2dx_Touch_getLocationInView(lua_State* tolua_S)
{
if(!ok)
return 0;
cocos2d::math::Vector2 ret = cobj->getLocationInView();
cocos2d::Vector2 ret = cobj->getLocationInView();
vector2_to_luaval(tolua_S, ret);
return 1;
}
@ -1958,7 +1958,7 @@ int lua_cocos2dx_Touch_getPreviousLocation(lua_State* tolua_S)
{
if(!ok)
return 0;
cocos2d::math::Vector2 ret = cobj->getPreviousLocation();
cocos2d::Vector2 ret = cobj->getPreviousLocation();
vector2_to_luaval(tolua_S, ret);
return 1;
}
@ -3640,7 +3640,7 @@ int lua_cocos2dx_Texture2D_drawAtPoint(lua_State* tolua_S)
argc = lua_gettop(tolua_S)-1;
if (argc == 1)
{
cocos2d::math::Vector2 arg0;
cocos2d::Vector2 arg0;
ok &= luaval_to_vector2(tolua_S, 2, &arg0);
if(!ok)
@ -5406,12 +5406,12 @@ int lua_cocos2dx_Node_convertToWorldSpaceAR(lua_State* tolua_S)
argc = lua_gettop(tolua_S)-1;
if (argc == 1)
{
cocos2d::math::Vector2 arg0;
cocos2d::Vector2 arg0;
ok &= luaval_to_vector2(tolua_S, 2, &arg0);
if(!ok)
return 0;
cocos2d::math::Vector2 ret = cobj->convertToWorldSpaceAR(arg0);
cocos2d::Vector2 ret = cobj->convertToWorldSpaceAR(arg0);
vector2_to_luaval(tolua_S, ret);
return 1;
}
@ -5952,7 +5952,7 @@ int lua_cocos2dx_Node_getNodeToWorldTransform(lua_State* tolua_S)
{
if(!ok)
return 0;
cocos2d::math::Matrix ret = cobj->getNodeToWorldTransform();
cocos2d::Matrix ret = cobj->getNodeToWorldTransform();
matrix_to_luaval(tolua_S, ret);
return 1;
}
@ -5996,7 +5996,7 @@ int lua_cocos2dx_Node_getPosition3D(lua_State* tolua_S)
{
if(!ok)
return 0;
cocos2d::math::Vector3 ret = cobj->getPosition3D();
cocos2d::Vector3 ret = cobj->getPosition3D();
vector3_to_luaval(tolua_S, ret);
return 1;
}
@ -6097,12 +6097,12 @@ int lua_cocos2dx_Node_convertToWorldSpace(lua_State* tolua_S)
argc = lua_gettop(tolua_S)-1;
if (argc == 1)
{
cocos2d::math::Vector2 arg0;
cocos2d::Vector2 arg0;
ok &= luaval_to_vector2(tolua_S, 2, &arg0);
if(!ok)
return 0;
cocos2d::math::Vector2 ret = cobj->convertToWorldSpace(arg0);
cocos2d::Vector2 ret = cobj->convertToWorldSpace(arg0);
vector2_to_luaval(tolua_S, ret);
return 1;
}
@ -6373,7 +6373,7 @@ int lua_cocos2dx_Node_convertTouchToNodeSpace(lua_State* tolua_S)
ok &= luaval_to_object<cocos2d::Touch>(tolua_S, 2, "cc.Touch",&arg0);
if(!ok)
return 0;
cocos2d::math::Vector2 ret = cobj->convertTouchToNodeSpace(arg0);
cocos2d::Vector2 ret = cobj->convertTouchToNodeSpace(arg0);
vector2_to_luaval(tolua_S, ret);
return 1;
}
@ -6600,7 +6600,7 @@ int lua_cocos2dx_Node_getRotation3D(lua_State* tolua_S)
{
if(!ok)
return 0;
cocos2d::math::Vector3 ret = cobj->getRotation3D();
cocos2d::Vector3 ret = cobj->getRotation3D();
vector3_to_luaval(tolua_S, ret);
return 1;
}
@ -6644,7 +6644,7 @@ int lua_cocos2dx_Node_getNodeToParentTransform(lua_State* tolua_S)
{
if(!ok)
return 0;
const cocos2d::math::Matrix& ret = cobj->getNodeToParentTransform();
const cocos2d::Matrix& ret = cobj->getNodeToParentTransform();
matrix_to_luaval(tolua_S, ret);
return 1;
}
@ -6691,7 +6691,7 @@ int lua_cocos2dx_Node_convertTouchToNodeSpaceAR(lua_State* tolua_S)
ok &= luaval_to_object<cocos2d::Touch>(tolua_S, 2, "cc.Touch",&arg0);
if(!ok)
return 0;
cocos2d::math::Vector2 ret = cobj->convertTouchToNodeSpaceAR(arg0);
cocos2d::Vector2 ret = cobj->convertTouchToNodeSpaceAR(arg0);
vector2_to_luaval(tolua_S, ret);
return 1;
}
@ -6733,12 +6733,12 @@ int lua_cocos2dx_Node_convertToNodeSpace(lua_State* tolua_S)
argc = lua_gettop(tolua_S)-1;
if (argc == 1)
{
cocos2d::math::Vector2 arg0;
cocos2d::Vector2 arg0;
ok &= luaval_to_vector2(tolua_S, 2, &arg0);
if(!ok)
return 0;
cocos2d::math::Vector2 ret = cobj->convertToNodeSpace(arg0);
cocos2d::Vector2 ret = cobj->convertToNodeSpace(arg0);
vector2_to_luaval(tolua_S, ret);
return 1;
}
@ -6877,7 +6877,7 @@ int lua_cocos2dx_Node_setPosition(lua_State* tolua_S)
ok = true;
do{
if (argc == 1) {
cocos2d::math::Vector2 arg0;
cocos2d::Vector2 arg0;
ok &= luaval_to_vector2(tolua_S, 2, &arg0);
if (!ok) { break; }
@ -7111,7 +7111,7 @@ int lua_cocos2dx_Node_setRotation3D(lua_State* tolua_S)
argc = lua_gettop(tolua_S)-1;
if (argc == 1)
{
cocos2d::math::Vector3 arg0;
cocos2d::Vector3 arg0;
ok &= luaval_to_vector3(tolua_S, 2, &arg0);
if(!ok)
@ -7203,7 +7203,7 @@ int lua_cocos2dx_Node_setNodeToParentTransform(lua_State* tolua_S)
argc = lua_gettop(tolua_S)-1;
if (argc == 1)
{
cocos2d::math::Matrix arg0;
cocos2d::Matrix arg0;
ok &= luaval_to_matrix(tolua_S, 2, &arg0);
if(!ok)
@ -7251,7 +7251,7 @@ int lua_cocos2dx_Node_getAnchorPoint(lua_State* tolua_S)
{
if(!ok)
return 0;
const cocos2d::math::Vector2& ret = cobj->getAnchorPoint();
const cocos2d::Vector2& ret = cobj->getAnchorPoint();
vector2_to_luaval(tolua_S, ret);
return 1;
}
@ -7468,12 +7468,12 @@ int lua_cocos2dx_Node_convertToNodeSpaceAR(lua_State* tolua_S)
argc = lua_gettop(tolua_S)-1;
if (argc == 1)
{
cocos2d::math::Vector2 arg0;
cocos2d::Vector2 arg0;
ok &= luaval_to_vector2(tolua_S, 2, &arg0);
if(!ok)
return 0;
cocos2d::math::Vector2 ret = cobj->convertToNodeSpaceAR(arg0);
cocos2d::Vector2 ret = cobj->convertToNodeSpaceAR(arg0);
vector2_to_luaval(tolua_S, ret);
return 1;
}
@ -7654,7 +7654,7 @@ int lua_cocos2dx_Node_getAnchorPointInPoints(lua_State* tolua_S)
{
if(!ok)
return 0;
const cocos2d::math::Vector2& ret = cobj->getAnchorPointInPoints();
const cocos2d::Vector2& ret = cobj->getAnchorPointInPoints();
vector2_to_luaval(tolua_S, ret);
return 1;
}
@ -8017,8 +8017,8 @@ int lua_cocos2dx_Node_setAdditionalTransform(lua_State* tolua_S)
ok = true;
do{
if (argc == 1) {
cocos2d::math::Matrix* arg0;
ok &= luaval_to_object<cocos2d::math::Matrix>(tolua_S, 2, "cc.math::Matrix",&arg0);
cocos2d::Matrix* arg0;
ok &= luaval_to_object<cocos2d::Matrix>(tolua_S, 2, "cc.Matrix",&arg0);
if (!ok) { break; }
cobj->setAdditionalTransform(arg0);
@ -8801,7 +8801,7 @@ int lua_cocos2dx_Node_getParentToNodeTransform(lua_State* tolua_S)
{
if(!ok)
return 0;
const cocos2d::math::Matrix& ret = cobj->getParentToNodeTransform();
const cocos2d::Matrix& ret = cobj->getParentToNodeTransform();
matrix_to_luaval(tolua_S, ret);
return 1;
}
@ -9671,7 +9671,7 @@ int lua_cocos2dx_Node_draw(lua_State* tolua_S)
ok &= luaval_to_object<cocos2d::Renderer>(tolua_S, 2, "cc.Renderer",&arg0);
if (!ok) { break; }
cocos2d::math::Matrix arg1;
cocos2d::Matrix arg1;
ok &= luaval_to_matrix(tolua_S, 3, &arg1);
if (!ok) { break; }
@ -9817,7 +9817,7 @@ int lua_cocos2dx_Node_setPosition3D(lua_State* tolua_S)
argc = lua_gettop(tolua_S)-1;
if (argc == 1)
{
cocos2d::math::Vector3 arg0;
cocos2d::Vector3 arg0;
ok &= luaval_to_vector3(tolua_S, 2, &arg0);
if(!ok)
@ -9954,7 +9954,7 @@ int lua_cocos2dx_Node_getWorldToNodeTransform(lua_State* tolua_S)
{
if(!ok)
return 0;
cocos2d::math::Matrix ret = cobj->getWorldToNodeTransform();
cocos2d::Matrix ret = cobj->getWorldToNodeTransform();
matrix_to_luaval(tolua_S, ret);
return 1;
}
@ -11726,7 +11726,7 @@ int lua_cocos2dx_Director_loadMatrix(lua_State* tolua_S)
if (argc == 2)
{
cocos2d::MATRIX_STACK_TYPE arg0;
cocos2d::math::Matrix arg1;
cocos2d::Matrix arg1;
ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0);
@ -11952,7 +11952,7 @@ int lua_cocos2dx_Director_getVisibleOrigin(lua_State* tolua_S)
{
if(!ok)
return 0;
cocos2d::math::Vector2 ret = cobj->getVisibleOrigin();
cocos2d::Vector2 ret = cobj->getVisibleOrigin();
vector2_to_luaval(tolua_S, ret);
return 1;
}
@ -12171,12 +12171,12 @@ int lua_cocos2dx_Director_convertToUI(lua_State* tolua_S)
argc = lua_gettop(tolua_S)-1;
if (argc == 1)
{
cocos2d::math::Vector2 arg0;
cocos2d::Vector2 arg0;
ok &= luaval_to_vector2(tolua_S, 2, &arg0);
if(!ok)
return 0;
cocos2d::math::Vector2 ret = cobj->convertToUI(arg0);
cocos2d::Vector2 ret = cobj->convertToUI(arg0);
vector2_to_luaval(tolua_S, ret);
return 1;
}
@ -12836,12 +12836,12 @@ int lua_cocos2dx_Director_convertToGL(lua_State* tolua_S)
argc = lua_gettop(tolua_S)-1;
if (argc == 1)
{
cocos2d::math::Vector2 arg0;
cocos2d::Vector2 arg0;
ok &= luaval_to_vector2(tolua_S, 2, &arg0);
if(!ok)
return 0;
cocos2d::math::Vector2 ret = cobj->convertToGL(arg0);
cocos2d::Vector2 ret = cobj->convertToGL(arg0);
vector2_to_luaval(tolua_S, ret);
return 1;
}
@ -13154,7 +13154,7 @@ int lua_cocos2dx_Director_getMatrix(lua_State* tolua_S)
ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0);
if(!ok)
return 0;
cocos2d::math::Matrix ret = cobj->getMatrix(arg0);
cocos2d::Matrix ret = cobj->getMatrix(arg0);
matrix_to_luaval(tolua_S, ret);
return 1;
}
@ -13825,7 +13825,7 @@ int lua_cocos2dx_Director_multiplyMatrix(lua_State* tolua_S)
if (argc == 2)
{
cocos2d::MATRIX_STACK_TYPE arg0;
cocos2d::math::Matrix arg1;
cocos2d::Matrix arg1;
ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0);
@ -17335,7 +17335,7 @@ int lua_cocos2dx_SpriteFrame_initWithTexture(lua_State* tolua_S)
ok &= luaval_to_boolean(tolua_S, 4,&arg2);
if (!ok) { break; }
cocos2d::math::Vector2 arg3;
cocos2d::Vector2 arg3;
ok &= luaval_to_vector2(tolua_S, 5, &arg3);
if (!ok) { break; }
@ -17537,7 +17537,7 @@ int lua_cocos2dx_SpriteFrame_setOffsetInPixels(lua_State* tolua_S)
argc = lua_gettop(tolua_S)-1;
if (argc == 1)
{
cocos2d::math::Vector2 arg0;
cocos2d::Vector2 arg0;
ok &= luaval_to_vector2(tolua_S, 2, &arg0);
if(!ok)
@ -17763,7 +17763,7 @@ int lua_cocos2dx_SpriteFrame_setOffset(lua_State* tolua_S)
argc = lua_gettop(tolua_S)-1;
if (argc == 1)
{
cocos2d::math::Vector2 arg0;
cocos2d::Vector2 arg0;
ok &= luaval_to_vector2(tolua_S, 2, &arg0);
if(!ok)
@ -17811,7 +17811,7 @@ int lua_cocos2dx_SpriteFrame_getOffset(lua_State* tolua_S)
{
if(!ok)
return 0;
const cocos2d::math::Vector2& ret = cobj->getOffset();
const cocos2d::Vector2& ret = cobj->getOffset();
vector2_to_luaval(tolua_S, ret);
return 1;
}
@ -17904,7 +17904,7 @@ int lua_cocos2dx_SpriteFrame_initWithTextureFilename(lua_State* tolua_S)
ok &= luaval_to_boolean(tolua_S, 4,&arg2);
if (!ok) { break; }
cocos2d::math::Vector2 arg3;
cocos2d::Vector2 arg3;
ok &= luaval_to_vector2(tolua_S, 5, &arg3);
if (!ok) { break; }
@ -18020,7 +18020,7 @@ int lua_cocos2dx_SpriteFrame_getOffsetInPixels(lua_State* tolua_S)
{
if(!ok)
return 0;
const cocos2d::math::Vector2& ret = cobj->getOffsetInPixels();
const cocos2d::Vector2& ret = cobj->getOffsetInPixels();
vector2_to_luaval(tolua_S, ret);
return 1;
}
@ -18105,7 +18105,7 @@ int lua_cocos2dx_SpriteFrame_create(lua_State* tolua_S)
bool arg2;
ok &= luaval_to_boolean(tolua_S, 4,&arg2);
if (!ok) { break; }
cocos2d::math::Vector2 arg3;
cocos2d::Vector2 arg3;
ok &= luaval_to_vector2(tolua_S, 5, &arg3);
if (!ok) { break; }
cocos2d::Size arg4;
@ -18168,7 +18168,7 @@ int lua_cocos2dx_SpriteFrame_createWithTexture(lua_State* tolua_S)
bool arg2;
ok &= luaval_to_boolean(tolua_S, 4,&arg2);
if (!ok) { break; }
cocos2d::math::Vector2 arg3;
cocos2d::Vector2 arg3;
ok &= luaval_to_vector2(tolua_S, 5, &arg3);
if (!ok) { break; }
cocos2d::Size arg4;
@ -20038,7 +20038,7 @@ int lua_cocos2dx_RotateBy_create(lua_State* tolua_S)
double arg0;
ok &= luaval_to_number(tolua_S, 2,&arg0);
if (!ok) { break; }
cocos2d::math::Vector3 arg1;
cocos2d::Vector3 arg1;
ok &= luaval_to_vector3(tolua_S, 3, &arg1);
if (!ok) { break; }
cocos2d::RotateBy* ret = cocos2d::RotateBy::create(arg0, arg1);
@ -20093,7 +20093,7 @@ int lua_cocos2dx_MoveBy_create(lua_State* tolua_S)
if (argc == 2)
{
double arg0;
cocos2d::math::Vector2 arg1;
cocos2d::Vector2 arg1;
ok &= luaval_to_number(tolua_S, 2,&arg0);
ok &= luaval_to_vector2(tolua_S, 3, &arg1);
if(!ok)
@ -20148,7 +20148,7 @@ int lua_cocos2dx_MoveTo_create(lua_State* tolua_S)
if (argc == 2)
{
double arg0;
cocos2d::math::Vector2 arg1;
cocos2d::Vector2 arg1;
ok &= luaval_to_number(tolua_S, 2,&arg0);
ok &= luaval_to_vector2(tolua_S, 3, &arg1);
if(!ok)
@ -20317,7 +20317,7 @@ int lua_cocos2dx_JumpBy_create(lua_State* tolua_S)
if (argc == 4)
{
double arg0;
cocos2d::math::Vector2 arg1;
cocos2d::Vector2 arg1;
double arg2;
int arg3;
ok &= luaval_to_number(tolua_S, 2,&arg0);
@ -20376,7 +20376,7 @@ int lua_cocos2dx_JumpTo_create(lua_State* tolua_S)
if (argc == 4)
{
double arg0;
cocos2d::math::Vector2 arg1;
cocos2d::Vector2 arg1;
double arg2;
int arg3;
ok &= luaval_to_number(tolua_S, 2,&arg0);
@ -21474,7 +21474,7 @@ int lua_cocos2dx_ActionCamera_setEye(lua_State* tolua_S)
ok = true;
do{
if (argc == 1) {
cocos2d::math::Vector3 arg0;
cocos2d::Vector3 arg0;
ok &= luaval_to_vector3(tolua_S, 2, &arg0);
if (!ok) { break; }
@ -21523,7 +21523,7 @@ int lua_cocos2dx_ActionCamera_getEye(lua_State* tolua_S)
{
if(!ok)
return 0;
const cocos2d::math::Vector3& ret = cobj->getEye();
const cocos2d::Vector3& ret = cobj->getEye();
vector3_to_luaval(tolua_S, ret);
return 1;
}
@ -21565,7 +21565,7 @@ int lua_cocos2dx_ActionCamera_setUp(lua_State* tolua_S)
argc = lua_gettop(tolua_S)-1;
if (argc == 1)
{
cocos2d::math::Vector3 arg0;
cocos2d::Vector3 arg0;
ok &= luaval_to_vector3(tolua_S, 2, &arg0);
if(!ok)
@ -21613,7 +21613,7 @@ int lua_cocos2dx_ActionCamera_getCenter(lua_State* tolua_S)
{
if(!ok)
return 0;
const cocos2d::math::Vector3& ret = cobj->getCenter();
const cocos2d::Vector3& ret = cobj->getCenter();
vector3_to_luaval(tolua_S, ret);
return 1;
}
@ -21655,7 +21655,7 @@ int lua_cocos2dx_ActionCamera_setCenter(lua_State* tolua_S)
argc = lua_gettop(tolua_S)-1;
if (argc == 1)
{
cocos2d::math::Vector3 arg0;
cocos2d::Vector3 arg0;
ok &= luaval_to_vector3(tolua_S, 2, &arg0);
if(!ok)
@ -21703,7 +21703,7 @@ int lua_cocos2dx_ActionCamera_getUp(lua_State* tolua_S)
{
if(!ok)
return 0;
const cocos2d::math::Vector3& ret = cobj->getUp();
const cocos2d::Vector3& ret = cobj->getUp();
vector3_to_luaval(tolua_S, ret);
return 1;
}
@ -25101,7 +25101,7 @@ int lua_cocos2dx_Place_create(lua_State* tolua_S)
if (argc == 1)
{
cocos2d::math::Vector2 arg0;
cocos2d::Vector2 arg0;
ok &= luaval_to_vector2(tolua_S, 2, &arg0);
if(!ok)
return 0;
@ -25965,7 +25965,7 @@ int lua_cocos2dx_Lens3D_setPosition(lua_State* tolua_S)
argc = lua_gettop(tolua_S)-1;
if (argc == 1)
{
cocos2d::math::Vector2 arg0;
cocos2d::Vector2 arg0;
ok &= luaval_to_vector2(tolua_S, 2, &arg0);
if(!ok)
@ -26105,7 +26105,7 @@ int lua_cocos2dx_Lens3D_getPosition(lua_State* tolua_S)
{
if(!ok)
return 0;
const cocos2d::math::Vector2& ret = cobj->getPosition();
const cocos2d::Vector2& ret = cobj->getPosition();
vector2_to_luaval(tolua_S, ret);
return 1;
}
@ -26182,7 +26182,7 @@ int lua_cocos2dx_Lens3D_create(lua_State* tolua_S)
{
double arg0;
cocos2d::Size arg1;
cocos2d::math::Vector2 arg2;
cocos2d::Vector2 arg2;
double arg3;
ok &= luaval_to_number(tolua_S, 2,&arg0);
ok &= luaval_to_size(tolua_S, 3, &arg1);
@ -26435,7 +26435,7 @@ int lua_cocos2dx_Ripple3D_setPosition(lua_State* tolua_S)
argc = lua_gettop(tolua_S)-1;
if (argc == 1)
{
cocos2d::math::Vector2 arg0;
cocos2d::Vector2 arg0;
ok &= luaval_to_vector2(tolua_S, 2, &arg0);
if(!ok)
@ -26483,7 +26483,7 @@ int lua_cocos2dx_Ripple3D_getPosition(lua_State* tolua_S)
{
if(!ok)
return 0;
const cocos2d::math::Vector2& ret = cobj->getPosition();
const cocos2d::Vector2& ret = cobj->getPosition();
vector2_to_luaval(tolua_S, ret);
return 1;
}
@ -26516,7 +26516,7 @@ int lua_cocos2dx_Ripple3D_create(lua_State* tolua_S)
{
double arg0;
cocos2d::Size arg1;
cocos2d::math::Vector2 arg2;
cocos2d::Vector2 arg2;
double arg3;
unsigned int arg4;
double arg5;
@ -27323,7 +27323,7 @@ int lua_cocos2dx_Twirl_setPosition(lua_State* tolua_S)
argc = lua_gettop(tolua_S)-1;
if (argc == 1)
{
cocos2d::math::Vector2 arg0;
cocos2d::Vector2 arg0;
ok &= luaval_to_vector2(tolua_S, 2, &arg0);
if(!ok)
@ -27371,7 +27371,7 @@ int lua_cocos2dx_Twirl_getPosition(lua_State* tolua_S)
{
if(!ok)
return 0;
const cocos2d::math::Vector2& ret = cobj->getPosition();
const cocos2d::Vector2& ret = cobj->getPosition();
vector2_to_luaval(tolua_S, ret);
return 1;
}
@ -27404,7 +27404,7 @@ int lua_cocos2dx_Twirl_create(lua_State* tolua_S)
{
double arg0;
cocos2d::Size arg1;
cocos2d::math::Vector2 arg2;
cocos2d::Vector2 arg2;
unsigned int arg3;
double arg4;
ok &= luaval_to_number(tolua_S, 2,&arg0);
@ -27765,7 +27765,7 @@ int lua_cocos2dx_ShuffleTiles_placeTile(lua_State* tolua_S)
argc = lua_gettop(tolua_S)-1;
if (argc == 2)
{
cocos2d::math::Vector2 arg0;
cocos2d::Vector2 arg0;
cocos2d::Tile* arg1;
ok &= luaval_to_vector2(tolua_S, 2, &arg0);
@ -27970,7 +27970,7 @@ int lua_cocos2dx_FadeOutTRTiles_turnOnTile(lua_State* tolua_S)
argc = lua_gettop(tolua_S)-1;
if (argc == 1)
{
cocos2d::math::Vector2 arg0;
cocos2d::Vector2 arg0;
ok &= luaval_to_vector2(tolua_S, 2, &arg0);
if(!ok)
@ -28016,7 +28016,7 @@ int lua_cocos2dx_FadeOutTRTiles_turnOffTile(lua_State* tolua_S)
argc = lua_gettop(tolua_S)-1;
if (argc == 1)
{
cocos2d::math::Vector2 arg0;
cocos2d::Vector2 arg0;
ok &= luaval_to_vector2(tolua_S, 2, &arg0);
if(!ok)
@ -28062,7 +28062,7 @@ int lua_cocos2dx_FadeOutTRTiles_transformTile(lua_State* tolua_S)
argc = lua_gettop(tolua_S)-1;
if (argc == 2)
{
cocos2d::math::Vector2 arg0;
cocos2d::Vector2 arg0;
double arg1;
ok &= luaval_to_vector2(tolua_S, 2, &arg0);
@ -28275,7 +28275,7 @@ int lua_cocos2dx_FadeOutUpTiles_transformTile(lua_State* tolua_S)
argc = lua_gettop(tolua_S)-1;
if (argc == 2)
{
cocos2d::math::Vector2 arg0;
cocos2d::Vector2 arg0;
double arg1;
ok &= luaval_to_vector2(tolua_S, 2, &arg0);
@ -28435,7 +28435,7 @@ int lua_cocos2dx_TurnOffTiles_turnOnTile(lua_State* tolua_S)
argc = lua_gettop(tolua_S)-1;
if (argc == 1)
{
cocos2d::math::Vector2 arg0;
cocos2d::Vector2 arg0;
ok &= luaval_to_vector2(tolua_S, 2, &arg0);
if(!ok)
@ -28481,7 +28481,7 @@ int lua_cocos2dx_TurnOffTiles_turnOffTile(lua_State* tolua_S)
argc = lua_gettop(tolua_S)-1;
if (argc == 1)
{
cocos2d::math::Vector2 arg0;
cocos2d::Vector2 arg0;
ok &= luaval_to_vector2(tolua_S, 2, &arg0);
if(!ok)
@ -29355,7 +29355,7 @@ int lua_cocos2dx_CardinalSplineTo_updatePosition(lua_State* tolua_S)
argc = lua_gettop(tolua_S)-1;
if (argc == 1)
{
cocos2d::math::Vector2 arg0;
cocos2d::Vector2 arg0;
ok &= luaval_to_vector2(tolua_S, 2, &arg0);
if(!ok)
@ -29704,9 +29704,9 @@ int lua_cocos2dx_DrawNode_drawQuadraticBezier(lua_State* tolua_S)
argc = lua_gettop(tolua_S)-1;
if (argc == 5)
{
cocos2d::math::Vector2 arg0;
cocos2d::math::Vector2 arg1;
cocos2d::math::Vector2 arg2;
cocos2d::Vector2 arg0;
cocos2d::Vector2 arg1;
cocos2d::Vector2 arg2;
unsigned int arg3;
cocos2d::Color4F arg4;
@ -29762,7 +29762,7 @@ int lua_cocos2dx_DrawNode_onDraw(lua_State* tolua_S)
argc = lua_gettop(tolua_S)-1;
if (argc == 2)
{
cocos2d::math::Matrix arg0;
cocos2d::Matrix arg0;
bool arg1;
ok &= luaval_to_matrix(tolua_S, 2, &arg0);
@ -29854,9 +29854,9 @@ int lua_cocos2dx_DrawNode_drawTriangle(lua_State* tolua_S)
argc = lua_gettop(tolua_S)-1;
if (argc == 4)
{
cocos2d::math::Vector2 arg0;
cocos2d::math::Vector2 arg1;
cocos2d::math::Vector2 arg2;
cocos2d::Vector2 arg0;
cocos2d::Vector2 arg1;
cocos2d::Vector2 arg2;
cocos2d::Color4F arg3;
ok &= luaval_to_vector2(tolua_S, 2, &arg0);
@ -29909,7 +29909,7 @@ int lua_cocos2dx_DrawNode_drawDot(lua_State* tolua_S)
argc = lua_gettop(tolua_S)-1;
if (argc == 3)
{
cocos2d::math::Vector2 arg0;
cocos2d::Vector2 arg0;
double arg1;
cocos2d::Color4F arg2;
@ -29961,10 +29961,10 @@ int lua_cocos2dx_DrawNode_drawCubicBezier(lua_State* tolua_S)
argc = lua_gettop(tolua_S)-1;
if (argc == 6)
{
cocos2d::math::Vector2 arg0;
cocos2d::math::Vector2 arg1;
cocos2d::math::Vector2 arg2;
cocos2d::math::Vector2 arg3;
cocos2d::Vector2 arg0;
cocos2d::Vector2 arg1;
cocos2d::Vector2 arg2;
cocos2d::Vector2 arg3;
unsigned int arg4;
cocos2d::Color4F arg5;
@ -30022,8 +30022,8 @@ int lua_cocos2dx_DrawNode_drawSegment(lua_State* tolua_S)
argc = lua_gettop(tolua_S)-1;
if (argc == 4)
{
cocos2d::math::Vector2 arg0;
cocos2d::math::Vector2 arg1;
cocos2d::Vector2 arg0;
cocos2d::Vector2 arg1;
double arg2;
cocos2d::Color4F arg3;
@ -33219,7 +33219,7 @@ int lua_cocos2dx_Label_setBMFontFilePath(lua_State* tolua_S)
if (argc == 2)
{
std::string arg0;
cocos2d::math::Vector2 arg1;
cocos2d::Vector2 arg1;
ok &= luaval_to_std_string(tolua_S, 2,&arg0);
@ -34452,7 +34452,7 @@ int lua_cocos2dx_Label_createWithBMFont(lua_State* tolua_S)
std::string arg1;
cocos2d::TextHAlignment arg2;
int arg3;
cocos2d::math::Vector2 arg4;
cocos2d::Vector2 arg4;
ok &= luaval_to_std_string(tolua_S, 2,&arg0);
ok &= luaval_to_std_string(tolua_S, 3,&arg1);
ok &= luaval_to_int32(tolua_S, 4,(int *)&arg2);
@ -35135,7 +35135,7 @@ int lua_cocos2dx_LabelBMFont_initWithString(lua_State* tolua_S)
std::string arg1;
double arg2;
cocos2d::TextHAlignment arg3;
cocos2d::math::Vector2 arg4;
cocos2d::Vector2 arg4;
ok &= luaval_to_std_string(tolua_S, 2,&arg0);
@ -35291,7 +35291,7 @@ int lua_cocos2dx_LabelBMFont_setFntFile(lua_State* tolua_S)
if (argc == 2)
{
std::string arg0;
cocos2d::math::Vector2 arg1;
cocos2d::Vector2 arg1;
ok &= luaval_to_std_string(tolua_S, 2,&arg0);
@ -35500,7 +35500,7 @@ int lua_cocos2dx_LabelBMFont_create(lua_State* tolua_S)
cocos2d::TextHAlignment arg3;
ok &= luaval_to_int32(tolua_S, 5,(int *)&arg3);
if (!ok) { break; }
cocos2d::math::Vector2 arg4;
cocos2d::Vector2 arg4;
ok &= luaval_to_vector2(tolua_S, 6, &arg4);
if (!ok) { break; }
cocos2d::LabelBMFont* ret = cocos2d::LabelBMFont::create(arg0, arg1, arg2, arg3, arg4);
@ -36024,7 +36024,7 @@ int lua_cocos2dx_LayerGradient_setVector(lua_State* tolua_S)
argc = lua_gettop(tolua_S)-1;
if (argc == 1)
{
cocos2d::math::Vector2 arg0;
cocos2d::Vector2 arg0;
ok &= luaval_to_vector2(tolua_S, 2, &arg0);
if(!ok)
@ -36210,7 +36210,7 @@ int lua_cocos2dx_LayerGradient_getVector(lua_State* tolua_S)
{
if(!ok)
return 0;
const cocos2d::math::Vector2& ret = cobj->getVector();
const cocos2d::Vector2& ret = cobj->getVector();
vector2_to_luaval(tolua_S, ret);
return 1;
}
@ -36454,7 +36454,7 @@ int lua_cocos2dx_LayerGradient_create(lua_State* tolua_S)
cocos2d::Color4B arg1;
ok &=luaval_to_color4b(tolua_S, 3, &arg1);
if (!ok) { break; }
cocos2d::math::Vector2 arg2;
cocos2d::Vector2 arg2;
ok &= luaval_to_vector2(tolua_S, 4, &arg2);
if (!ok) { break; }
cocos2d::LayerGradient* ret = cocos2d::LayerGradient::create(arg0, arg1, arg2);
@ -43045,7 +43045,7 @@ int lua_cocos2dx_Sprite_getOffsetPosition(lua_State* tolua_S)
{
if(!ok)
return 0;
const cocos2d::math::Vector2& ret = cobj->getOffsetPosition();
const cocos2d::Vector2& ret = cobj->getOffsetPosition();
vector2_to_luaval(tolua_S, ret);
return 1;
}
@ -44204,7 +44204,7 @@ int lua_cocos2dx_ProgressTimer_setBarChangeRate(lua_State* tolua_S)
argc = lua_gettop(tolua_S)-1;
if (argc == 1)
{
cocos2d::math::Vector2 arg0;
cocos2d::Vector2 arg0;
ok &= luaval_to_vector2(tolua_S, 2, &arg0);
if(!ok)
@ -44428,7 +44428,7 @@ int lua_cocos2dx_ProgressTimer_setMidpoint(lua_State* tolua_S)
argc = lua_gettop(tolua_S)-1;
if (argc == 1)
{
cocos2d::math::Vector2 arg0;
cocos2d::Vector2 arg0;
ok &= luaval_to_vector2(tolua_S, 2, &arg0);
if(!ok)
@ -44476,7 +44476,7 @@ int lua_cocos2dx_ProgressTimer_getBarChangeRate(lua_State* tolua_S)
{
if(!ok)
return 0;
cocos2d::math::Vector2 ret = cobj->getBarChangeRate();
cocos2d::Vector2 ret = cobj->getBarChangeRate();
vector2_to_luaval(tolua_S, ret);
return 1;
}
@ -44573,7 +44573,7 @@ int lua_cocos2dx_ProgressTimer_getMidpoint(lua_State* tolua_S)
{
if(!ok)
return 0;
cocos2d::math::Vector2 ret = cobj->getMidpoint();
cocos2d::Vector2 ret = cobj->getMidpoint();
vector2_to_luaval(tolua_S, ret);
return 1;
}
@ -45521,7 +45521,7 @@ int lua_cocos2dx_RenderTexture_setVirtualViewport(lua_State* tolua_S)
argc = lua_gettop(tolua_S)-1;
if (argc == 3)
{
cocos2d::math::Vector2 arg0;
cocos2d::Vector2 arg0;
cocos2d::Rect arg1;
cocos2d::Rect arg2;
@ -47840,7 +47840,7 @@ int lua_cocos2dx_ParticleSystem_setPosVar(lua_State* tolua_S)
argc = lua_gettop(tolua_S)-1;
if (argc == 1)
{
cocos2d::math::Vector2 arg0;
cocos2d::Vector2 arg0;
ok &= luaval_to_vector2(tolua_S, 2, &arg0);
if(!ok)
@ -48476,7 +48476,7 @@ int lua_cocos2dx_ParticleSystem_getGravity(lua_State* tolua_S)
{
if(!ok)
return 0;
const cocos2d::math::Vector2& ret = cobj->getGravity();
const cocos2d::Vector2& ret = cobj->getGravity();
vector2_to_luaval(tolua_S, ret);
return 1;
}
@ -48882,7 +48882,7 @@ int lua_cocos2dx_ParticleSystem_getPosVar(lua_State* tolua_S)
{
if(!ok)
return 0;
const cocos2d::math::Vector2& ret = cobj->getPosVar();
const cocos2d::Vector2& ret = cobj->getPosVar();
vector2_to_luaval(tolua_S, ret);
return 1;
}
@ -49146,7 +49146,7 @@ int lua_cocos2dx_ParticleSystem_getSourcePosition(lua_State* tolua_S)
{
if(!ok)
return 0;
const cocos2d::math::Vector2& ret = cobj->getSourcePosition();
const cocos2d::Vector2& ret = cobj->getSourcePosition();
vector2_to_luaval(tolua_S, ret);
return 1;
}
@ -49327,7 +49327,7 @@ int lua_cocos2dx_ParticleSystem_updateQuadWithParticle(lua_State* tolua_S)
if (argc == 2)
{
cocos2d::sParticle* arg0;
cocos2d::math::Vector2 arg1;
cocos2d::Vector2 arg1;
#pragma warning NO CONVERSION TO NATIVE FOR sParticle*;
@ -50184,7 +50184,7 @@ int lua_cocos2dx_ParticleSystem_setSourcePosition(lua_State* tolua_S)
argc = lua_gettop(tolua_S)-1;
if (argc == 1)
{
cocos2d::math::Vector2 arg0;
cocos2d::Vector2 arg0;
ok &= luaval_to_vector2(tolua_S, 2, &arg0);
if(!ok)
@ -51044,7 +51044,7 @@ int lua_cocos2dx_ParticleSystem_setGravity(lua_State* tolua_S)
argc = lua_gettop(tolua_S)-1;
if (argc == 1)
{
cocos2d::math::Vector2 arg0;
cocos2d::Vector2 arg0;
ok &= luaval_to_vector2(tolua_S, 2, &arg0);
if(!ok)
@ -52364,7 +52364,20 @@ int lua_cocos2dx_ParticleSystemQuad_create(lua_State* tolua_S)
}
} while (0);
ok = true;
CCLOG("%s has wrong number of arguments: %d, was expecting %d", "create",argc, 0);
do
{
if (argc == 1)
{
cocos2d::ValueMap arg0;
ok &= luaval_to_ccvaluemap(tolua_S, 2, &arg0);
if (!ok) { break; }
cocos2d::ParticleSystemQuad* ret = cocos2d::ParticleSystemQuad::create(arg0);
object_to_luaval<cocos2d::ParticleSystemQuad>(tolua_S, "cc.ParticleSystemQuad",(cocos2d::ParticleSystemQuad*)ret);
return 1;
}
} while (0);
ok = true;
CCLOG("%s has wrong number of arguments: %d, was expecting %d", "create",argc, 1);
return 0;
#if COCOS2D_DEBUG >= 1
tolua_lerror:
@ -53659,7 +53672,7 @@ int lua_cocos2dx_GridBase_getStep(lua_State* tolua_S)
{
if(!ok)
return 0;
const cocos2d::math::Vector2& ret = cobj->getStep();
const cocos2d::Vector2& ret = cobj->getStep();
vector2_to_luaval(tolua_S, ret);
return 1;
}
@ -53744,7 +53757,7 @@ int lua_cocos2dx_GridBase_setStep(lua_State* tolua_S)
argc = lua_gettop(tolua_S)-1;
if (argc == 1)
{
cocos2d::math::Vector2 arg0;
cocos2d::Vector2 arg0;
ok &= luaval_to_vector2(tolua_S, 2, &arg0);
if(!ok)
@ -55120,7 +55133,7 @@ int lua_cocos2dx_GLViewProtocol_getVisibleOrigin(lua_State* tolua_S)
{
if(!ok)
return 0;
cocos2d::math::Vector2 ret = cobj->getVisibleOrigin();
cocos2d::Vector2 ret = cobj->getVisibleOrigin();
vector2_to_luaval(tolua_S, ret);
return 1;
}
@ -58404,8 +58417,8 @@ int lua_cocos2dx_ParallaxNode_addChild(lua_State* tolua_S)
{
cocos2d::Node* arg0;
int arg1;
cocos2d::math::Vector2 arg2;
cocos2d::math::Vector2 arg3;
cocos2d::Vector2 arg2;
cocos2d::Vector2 arg3;
ok &= luaval_to_object<cocos2d::Node>(tolua_S, 2, "cc.Node",&arg0);
@ -58604,7 +58617,7 @@ int lua_cocos2dx_TMXObjectGroup_setPositionOffset(lua_State* tolua_S)
argc = lua_gettop(tolua_S)-1;
if (argc == 1)
{
cocos2d::math::Vector2 arg0;
cocos2d::Vector2 arg0;
ok &= luaval_to_vector2(tolua_S, 2, &arg0);
if(!ok)
@ -58699,7 +58712,7 @@ int lua_cocos2dx_TMXObjectGroup_getPositionOffset(lua_State* tolua_S)
{
if(!ok)
return 0;
const cocos2d::math::Vector2& ret = cobj->getPositionOffset();
const cocos2d::Vector2& ret = cobj->getPositionOffset();
vector2_to_luaval(tolua_S, ret);
return 1;
}
@ -60995,7 +61008,7 @@ int lua_cocos2dx_TMXLayer_getTileGIDAt(lua_State* tolua_S)
argc = lua_gettop(tolua_S)-1;
if (argc == 1)
{
cocos2d::math::Vector2 arg0;
cocos2d::Vector2 arg0;
ok &= luaval_to_vector2(tolua_S, 2, &arg0);
if(!ok)
@ -61006,7 +61019,7 @@ int lua_cocos2dx_TMXLayer_getTileGIDAt(lua_State* tolua_S)
}
if (argc == 2)
{
cocos2d::math::Vector2 arg0;
cocos2d::Vector2 arg0;
cocos2d::TMXTileFlags_* arg1;
ok &= luaval_to_vector2(tolua_S, 2, &arg0);
@ -61056,12 +61069,12 @@ int lua_cocos2dx_TMXLayer_getPositionAt(lua_State* tolua_S)
argc = lua_gettop(tolua_S)-1;
if (argc == 1)
{
cocos2d::math::Vector2 arg0;
cocos2d::Vector2 arg0;
ok &= luaval_to_vector2(tolua_S, 2, &arg0);
if(!ok)
return 0;
cocos2d::math::Vector2 ret = cobj->getPositionAt(arg0);
cocos2d::Vector2 ret = cobj->getPositionAt(arg0);
vector2_to_luaval(tolua_S, ret);
return 1;
}
@ -61464,7 +61477,7 @@ int lua_cocos2dx_TMXLayer_removeTileAt(lua_State* tolua_S)
argc = lua_gettop(tolua_S)-1;
if (argc == 1)
{
cocos2d::math::Vector2 arg0;
cocos2d::Vector2 arg0;
ok &= luaval_to_vector2(tolua_S, 2, &arg0);
if(!ok)
@ -61605,7 +61618,7 @@ int lua_cocos2dx_TMXLayer_setTileGID(lua_State* tolua_S)
ok &= luaval_to_uint32(tolua_S, 2,&arg0);
if (!ok) { break; }
cocos2d::math::Vector2 arg1;
cocos2d::Vector2 arg1;
ok &= luaval_to_vector2(tolua_S, 3, &arg1);
if (!ok) { break; }
@ -61624,7 +61637,7 @@ int lua_cocos2dx_TMXLayer_setTileGID(lua_State* tolua_S)
ok &= luaval_to_uint32(tolua_S, 2,&arg0);
if (!ok) { break; }
cocos2d::math::Vector2 arg1;
cocos2d::Vector2 arg1;
ok &= luaval_to_vector2(tolua_S, 3, &arg1);
if (!ok) { break; }
@ -61989,7 +62002,7 @@ int lua_cocos2dx_TMXLayer_getTileAt(lua_State* tolua_S)
argc = lua_gettop(tolua_S)-1;
if (argc == 1)
{
cocos2d::math::Vector2 arg0;
cocos2d::Vector2 arg0;
ok &= luaval_to_vector2(tolua_S, 2, &arg0);
if(!ok)
@ -62989,7 +63002,7 @@ int lua_cocos2dx_TileMapAtlas_getTileAt(lua_State* tolua_S)
argc = lua_gettop(tolua_S)-1;
if (argc == 1)
{
cocos2d::math::Vector2 arg0;
cocos2d::Vector2 arg0;
ok &= luaval_to_vector2(tolua_S, 2, &arg0);
if(!ok)
@ -63037,7 +63050,7 @@ int lua_cocos2dx_TileMapAtlas_setTile(lua_State* tolua_S)
if (argc == 2)
{
cocos2d::Color3B arg0;
cocos2d::math::Vector2 arg1;
cocos2d::Vector2 arg1;
ok &= luaval_to_color3b(tolua_S, 2, &arg0);

View File

@ -2027,7 +2027,7 @@ int lua_cocos2dx_extension_Control_getTouchLocation(lua_State* tolua_S)
ok &= luaval_to_object<cocos2d::Touch>(tolua_S, 2, "cc.Touch",&arg0);
if(!ok)
return 0;
cocos2d::math::Vector2 ret = cobj->getTouchLocation(arg0);
cocos2d::Vector2 ret = cobj->getTouchLocation(arg0);
vector2_to_luaval(tolua_S, ret);
return 1;
}
@ -2506,7 +2506,7 @@ int lua_cocos2dx_extension_ControlButton_setLabelAnchorPoint(lua_State* tolua_S)
argc = lua_gettop(tolua_S)-1;
if (argc == 1)
{
cocos2d::math::Vector2 arg0;
cocos2d::Vector2 arg0;
ok &= luaval_to_vector2(tolua_S, 2, &arg0);
if(!ok)
@ -2554,7 +2554,7 @@ int lua_cocos2dx_extension_ControlButton_getLabelAnchorPoint(lua_State* tolua_S)
{
if(!ok)
return 0;
const cocos2d::math::Vector2& ret = cobj->getLabelAnchorPoint();
const cocos2d::Vector2& ret = cobj->getLabelAnchorPoint();
vector2_to_luaval(tolua_S, ret);
return 1;
}
@ -4170,7 +4170,7 @@ int lua_cocos2dx_extension_ControlHuePicker_initWithTargetAndPos(lua_State* tolu
if (argc == 2)
{
cocos2d::Node* arg0;
cocos2d::math::Vector2 arg1;
cocos2d::Vector2 arg1;
ok &= luaval_to_object<cocos2d::Node>(tolua_S, 2, "cc.Node",&arg0);
@ -4267,7 +4267,7 @@ int lua_cocos2dx_extension_ControlHuePicker_getStartPos(lua_State* tolua_S)
{
if(!ok)
return 0;
cocos2d::math::Vector2 ret = cobj->getStartPos();
cocos2d::Vector2 ret = cobj->getStartPos();
vector2_to_luaval(tolua_S, ret);
return 1;
}
@ -4613,7 +4613,7 @@ int lua_cocos2dx_extension_ControlHuePicker_create(lua_State* tolua_S)
if (argc == 2)
{
cocos2d::Node* arg0;
cocos2d::math::Vector2 arg1;
cocos2d::Vector2 arg1;
ok &= luaval_to_object<cocos2d::Node>(tolua_S, 2, "cc.Node",&arg0);
ok &= luaval_to_vector2(tolua_S, 3, &arg1);
if(!ok)
@ -4769,7 +4769,7 @@ int lua_cocos2dx_extension_ControlSaturationBrightnessPicker_initWithTargetAndPo
if (argc == 2)
{
cocos2d::Node* arg0;
cocos2d::math::Vector2 arg1;
cocos2d::Vector2 arg1;
ok &= luaval_to_object<cocos2d::Node>(tolua_S, 2, "cc.Node",&arg0);
@ -4820,7 +4820,7 @@ int lua_cocos2dx_extension_ControlSaturationBrightnessPicker_getStartPos(lua_Sta
{
if(!ok)
return 0;
cocos2d::math::Vector2 ret = cobj->getStartPos();
cocos2d::Vector2 ret = cobj->getStartPos();
vector2_to_luaval(tolua_S, ret);
return 1;
}
@ -5118,7 +5118,7 @@ int lua_cocos2dx_extension_ControlSaturationBrightnessPicker_create(lua_State* t
if (argc == 2)
{
cocos2d::Node* arg0;
cocos2d::math::Vector2 arg1;
cocos2d::Vector2 arg1;
ok &= luaval_to_object<cocos2d::Node>(tolua_S, 2, "cc.Node",&arg0);
ok &= luaval_to_vector2(tolua_S, 3, &arg1);
if(!ok)
@ -5828,7 +5828,7 @@ int lua_cocos2dx_extension_ControlPotentiometer_setPreviousLocation(lua_State* t
argc = lua_gettop(tolua_S)-1;
if (argc == 1)
{
cocos2d::math::Vector2 arg0;
cocos2d::Vector2 arg0;
ok &= luaval_to_vector2(tolua_S, 2, &arg0);
if(!ok)
@ -6008,10 +6008,10 @@ int lua_cocos2dx_extension_ControlPotentiometer_angleInDegreesBetweenLineFromPoi
argc = lua_gettop(tolua_S)-1;
if (argc == 4)
{
cocos2d::math::Vector2 arg0;
cocos2d::math::Vector2 arg1;
cocos2d::math::Vector2 arg2;
cocos2d::math::Vector2 arg3;
cocos2d::Vector2 arg0;
cocos2d::Vector2 arg1;
cocos2d::Vector2 arg2;
cocos2d::Vector2 arg3;
ok &= luaval_to_vector2(tolua_S, 2, &arg0);
@ -6064,7 +6064,7 @@ int lua_cocos2dx_extension_ControlPotentiometer_potentiometerBegan(lua_State* to
argc = lua_gettop(tolua_S)-1;
if (argc == 1)
{
cocos2d::math::Vector2 arg0;
cocos2d::Vector2 arg0;
ok &= luaval_to_vector2(tolua_S, 2, &arg0);
if(!ok)
@ -6292,7 +6292,7 @@ int lua_cocos2dx_extension_ControlPotentiometer_getPreviousLocation(lua_State* t
{
if(!ok)
return 0;
cocos2d::math::Vector2 ret = cobj->getPreviousLocation();
cocos2d::Vector2 ret = cobj->getPreviousLocation();
vector2_to_luaval(tolua_S, ret);
return 1;
}
@ -6334,8 +6334,8 @@ int lua_cocos2dx_extension_ControlPotentiometer_distanceBetweenPointAndPoint(lua
argc = lua_gettop(tolua_S)-1;
if (argc == 2)
{
cocos2d::math::Vector2 arg0;
cocos2d::math::Vector2 arg1;
cocos2d::Vector2 arg0;
cocos2d::Vector2 arg1;
ok &= luaval_to_vector2(tolua_S, 2, &arg0);
@ -6384,7 +6384,7 @@ int lua_cocos2dx_extension_ControlPotentiometer_potentiometerEnded(lua_State* to
argc = lua_gettop(tolua_S)-1;
if (argc == 1)
{
cocos2d::math::Vector2 arg0;
cocos2d::Vector2 arg0;
ok &= luaval_to_vector2(tolua_S, 2, &arg0);
if(!ok)
@ -6619,7 +6619,7 @@ int lua_cocos2dx_extension_ControlPotentiometer_potentiometerMoved(lua_State* to
argc = lua_gettop(tolua_S)-1;
if (argc == 1)
{
cocos2d::math::Vector2 arg0;
cocos2d::Vector2 arg0;
ok &= luaval_to_vector2(tolua_S, 2, &arg0);
if(!ok)
@ -6824,7 +6824,7 @@ int lua_cocos2dx_extension_ControlSlider_locationFromTouch(lua_State* tolua_S)
ok &= luaval_to_object<cocos2d::Touch>(tolua_S, 2, "cc.Touch",&arg0);
if(!ok)
return 0;
cocos2d::math::Vector2 ret = cobj->locationFromTouch(arg0);
cocos2d::Vector2 ret = cobj->locationFromTouch(arg0);
vector2_to_luaval(tolua_S, ret);
return 1;
}
@ -8249,7 +8249,7 @@ int lua_cocos2dx_extension_ControlStepper_updateLayoutUsingTouchLocation(lua_Sta
argc = lua_gettop(tolua_S)-1;
if (argc == 1)
{
cocos2d::math::Vector2 arg0;
cocos2d::Vector2 arg0;
ok &= luaval_to_vector2(tolua_S, 2, &arg0);
if(!ok)
@ -9374,7 +9374,7 @@ int lua_cocos2dx_extension_ControlSwitch_locationFromTouch(lua_State* tolua_S)
ok &= luaval_to_object<cocos2d::Touch>(tolua_S, 2, "cc.Touch",&arg0);
if(!ok)
return 0;
cocos2d::math::Vector2 ret = cobj->locationFromTouch(arg0);
cocos2d::Vector2 ret = cobj->locationFromTouch(arg0);
vector2_to_luaval(tolua_S, ret);
return 1;
}
@ -9688,7 +9688,7 @@ int lua_cocos2dx_extension_ScrollView_setContentOffsetInDuration(lua_State* tolu
argc = lua_gettop(tolua_S)-1;
if (argc == 2)
{
cocos2d::math::Vector2 arg0;
cocos2d::Vector2 arg0;
double arg1;
ok &= luaval_to_vector2(tolua_S, 2, &arg0);
@ -10253,7 +10253,7 @@ int lua_cocos2dx_extension_ScrollView_setContentOffset(lua_State* tolua_S)
argc = lua_gettop(tolua_S)-1;
if (argc == 1)
{
cocos2d::math::Vector2 arg0;
cocos2d::Vector2 arg0;
ok &= luaval_to_vector2(tolua_S, 2, &arg0);
if(!ok)
@ -10263,7 +10263,7 @@ int lua_cocos2dx_extension_ScrollView_setContentOffset(lua_State* tolua_S)
}
if (argc == 2)
{
cocos2d::math::Vector2 arg0;
cocos2d::Vector2 arg0;
bool arg1;
ok &= luaval_to_vector2(tolua_S, 2, &arg0);
@ -10541,7 +10541,7 @@ int lua_cocos2dx_extension_ScrollView_getContentOffset(lua_State* tolua_S)
{
if(!ok)
return 0;
cocos2d::math::Vector2 ret = cobj->getContentOffset();
cocos2d::Vector2 ret = cobj->getContentOffset();
vector2_to_luaval(tolua_S, ret);
return 1;
}
@ -10816,7 +10816,7 @@ int lua_cocos2dx_extension_ScrollView_maxContainerOffset(lua_State* tolua_S)
{
if(!ok)
return 0;
cocos2d::math::Vector2 ret = cobj->maxContainerOffset();
cocos2d::Vector2 ret = cobj->maxContainerOffset();
vector2_to_luaval(tolua_S, ret);
return 1;
}
@ -11001,7 +11001,7 @@ int lua_cocos2dx_extension_ScrollView_minContainerOffset(lua_State* tolua_S)
{
if(!ok)
return 0;
cocos2d::math::Vector2 ret = cobj->minContainerOffset();
cocos2d::Vector2 ret = cobj->minContainerOffset();
vector2_to_luaval(tolua_S, ret);
return 1;
}

Some files were not shown because too many files have changed in this diff Show More