Namespaces
Classes
The device accelerometer reports values for each axis in units of g-force.
More...
The
CCAccelerometer class lets you register to receive acceleration-related data from the onboard hardware.
More...
Base class for Easing actions.
More...
Instant actions are immediate actions.
More...
An interval action is an action that takes place within a certain period of time.
More...
Animates a sprite given the name of an Animation.
More...
Singleton that manages the Animations.
More...
An action that moves the target with a cubic Bezier curve by a certain distance.
More...
An action that moves the target with a cubic Bezier curve to a destination point.
More...
Blinks a
CCNode object by modifying it's visible attribute.
More...
Visitor that helps to perform action that depends on polymorphic object type.
More...
Delays the action a certain amount of seconds.
More...
Class that creates and handle the main Window and manages how and when to execute the Scenes.
More...
DisplayLinkDirector is a Director that synchronizes timers with the refresh rate of the display.
More...
Ease Elastic abstract class.
More...
Base class for Easing actions with rate parameters.
More...
Helper class to handle file operations.
More...
Helper class to handle file operations.
More...
Helper class to handle file operations.
More...
Helper class to handle file operations.
More...
Helper class to handle file operations.
More...
Helper class to handle file operations.
More...
Helper class to handle file operations.
More...
Helper class to handle file operations.
More...
Helper class to handle file operations.
More...
Helper class to handle file operations.
More...
Helper class to handle file operations.
More...
Helper class to handle file operations.
More...
Base class actions that do have a finite time duration.
More...
FBO class that grabs the the contents of the screen.
More...
Base class for Grid actions.
More...
Input method editor delegate.
More...
Input Method Edit Message Dispatcher.
More...
Moves a
CCNode object simulating a parabolic jump movement by modifying it's position attribute.
More...
Moves a
CCNode object to a parabolic position simulating a jump movement by modifying it's position attribute.
More...
Dispatch the keypad message from the phone.
More...
CCLabelTTF is a subclass of CCTextureNode that knows how to render text labels.
More...
CCMultipleLayer is a
CCLayer with the ability to multiplex it's children.
More...
A
CCMenuItemToggle A simple container class that "toggles" it's inner items The inner items can be any MenuItem.
More...
Moves a
CCNode object x,y pixels by modifying it's position attribute.
More...
CCOrbitCamera action Orbits the camera around the center of the screen using spherical coordinates.
More...
This action simulates a page turn from the bottom right hand corner of the screen.
More...
CCParticleBatchNode is like a batch node: if it contains children, it will draw them in 1 single OpenGL call (often known as "batch draw").
More...
An explosion particle system.
More...
A fireworks particle system.
More...
Particle System base class.
More...
An Array that contain control points.
More...
Progress from a percentage to another percentage.
More...
Structure which can tell where mipmap begins and how long is it.
More...
Repeats an action a number of times.
More...
Repeats an action for ever.
More...
Executes an action in reverse order, from time=duration to time=0.
More...
Rotates a
CCNode object clockwise a number of degrees by modifying it's rotation attribute.
More...
Rotates a
CCNode object to a certain angle by modifying it's rotation attribute.
More...
Scales a
CCNode object a zoom factor by modifying it's scale attribute.
More...
Scales a
CCNode object to a zoom factor by modifying it's scale attribute.
More...
Scheduler is responsible for triggering the scheduled callbacks.
More...
Runs actions sequentially, one after another.
More...
Skews a
CCNode object to given angles by modifying it's skewX and skewY attributes.
More...
Spawn a new action immediately.
More...
Changes the speed of an action, making it take longer (speed>1) or less (speed<1) time.
More...
CCSpriteBatchNode is like a batch node: if it contains children, it will draw them in 1 single OpenGL call (often known as "batch draw").
More...
Singleton that handles the loading of the sprite frames.
More...
Overrides the target of an action so that it always runs on the target specified at action creation rather than the one specified by runAction.
More...
A class that implements a Texture Atlas.
More...
Singleton that handles the loading of textures Once the texture is loaded, the next time it will return a reference of the previously loaded texture reducing GPU & CPU memory.
More...
Tints a
CCNode that implements the CCNodeRGB protocol from current tint to a custom one.
More...
Tints a
CCNode that implements the CCNodeRGB protocol from current tint to a custom one.
More...
Toggles the visibility of a node.
More...
A transition which peels back the bottom right hand corner of a scene to transition to the scene beneath it simulating a page turn.
More...
CCTransitionRadialCCW transition.
More...
CCTransitionRadialCW transition.
More...
Base class for CCTransition scenes.
More...
A CCTransition that supports orientation like.
More...
Shrink the outgoing scene while grow the incoming scene.
More...
CCTransitionZoomFlipX: Flips the screen horizontally doing a zoom out/in The front face is the outgoing scene and the back face is the incoming scene.
More...
CCTransitionZoomFlipY: Flips the screen vertically doing a little zooming out/in The front face is the outgoing scene and the back face is the incoming scene.
More...
Typedefs
typedef LRESULT(*
CUSTOM_WND_PROC )(UINT message, WPARAM wParam, LPARAM lParam, BOOL *pProcessed)
typedef std::shared_ptr
< std::thread >
pthread_t
typedef void(*
GLInfoFunction )(GLuint program, GLenum pname, GLint *params)
typedef void(*
GLLogFunction )(GLuint program, GLsizei bufsize, GLsizei *length,
GLchar *infolog)
Enumerations
Possible OpenGL projections used by director.
More...
Vertical text alignment type.
More...
Horizontal text alignment type.
More...
Orientation Type used by some transitions.
More...
possible types of particle positions
More...
enum
TargetPlatform {
kTargetWindows,
kTargetLinux,
kTargetMacOS,
kTargetAndroid,
kTargetIphone,
kTargetIpad,
kTargetBlackBerry,
kTargetNaCl,
kTargetEmscripten,
kTargetTizen,
kTargetWinRT,
kTargetWP8
}
enum
ccLanguageType {
kLanguageEnglish = 0,
kLanguageChinese,
kLanguageFrench,
kLanguageItalian,
kLanguageGerman,
kLanguageSpanish,
kLanguageDutch,
kLanguageRussian,
kLanguageKorean,
kLanguageJapanese,
kLanguageHungarian,
kLanguagePortuguese,
kLanguageArabic
}
Enum the language type supported now.
More...
enum
CCTexture2DPixelFormat {
kCCTexture2DPixelFormat_RGBA8888,
kCCTexture2DPixelFormat_RGB888,
kCCTexture2DPixelFormat_RGB565,
kCCTexture2DPixelFormat_A8,
kCCTexture2DPixelFormat_I8,
kCCTexture2DPixelFormat_AI88,
kCCTexture2DPixelFormat_RGBA4444,
kCCTexture2DPixelFormat_RGB5A1,
kCCTexture2DPixelFormat_PVRTC4,
kCCTexture2DPixelFormat_PVRTC2,
kCCTexture2DPixelFormat_Default = kCCTexture2DPixelFormat_RGBA8888,
kTexture2DPixelFormat_RGBA8888 = kCCTexture2DPixelFormat_RGBA8888,
kTexture2DPixelFormat_RGB888 = kCCTexture2DPixelFormat_RGB888,
kTexture2DPixelFormat_RGB565 = kCCTexture2DPixelFormat_RGB565,
kTexture2DPixelFormat_A8 = kCCTexture2DPixelFormat_A8,
kTexture2DPixelFormat_RGBA4444 = kCCTexture2DPixelFormat_RGBA4444,
kTexture2DPixelFormat_RGB5A1 = kCCTexture2DPixelFormat_RGB5A1,
kTexture2DPixelFormat_Default = kCCTexture2DPixelFormat_Default
}
Possible texture pixel formats.
More...
Determine how many mipmaps can we have.
More...
Possible orientations of the TMX map.
More...
Functions
var ( var p0, var p1, var p2, var p3, var tension, var t)
local ( local p0, local p1, local p2, local p3, local tension, local t)
var ( var a, var b, var c, var d, var tx, var ty)
local ( local a, local b, local c, local d, local tx, local ty)
var ( var point, var t)
local ( local point, local t)
var ( var size, var t)
local ( local size, local t)
var ()
local ()
var ( var rect, var anAffineTransform)
local ( local rect, local anAffineTransform)
var ( var t, var tx, var ty)
local ( local t, local tx, local ty)
var ( var t, var sx, var sy)
local ( local t, local sx, local sy)
var ( var t1, var t2)
local ( local t1, local t2)
var ( var t1, var t2)
local ( local t1, local t2)
var ( var t)
local ( local t)
Returns a Core Graphics rectangle structure corresponding to the data in a given string.
More...
Returns a Core Graphics point structure corresponding to the data in a given string.
More...
var ( var pszContent)
Returns a Core Graphics point structure corresponding to the data in a given string.
More...
local ( local pszContent)
Returns a Core Graphics point structure corresponding to the data in a given string.
More...
Returns a Core Graphics size structure corresponding to the data in a given string.
More...
Initializes the drawing primitives.
More...
Frees allocated resources by the drawing primitives.
More...
draws a point given x and y coordinate measured in points
More...
draws a line given the origin and destination point measured in points
More...
draws a rectangle given the origin and destination point measured in points.
More...
draws a solid rectangle given the origin and destination point measured in points.
More...
void
CC_DLL (const
CCPoint *vertices, unsigned int numOfVertices, bool closePolygon)
draws a polygon given a pointer to
CCPoint coordinates and the number of vertices measured in points.
More...
draws a solid polygon given a pointer to CGPoint coordinates, the number of vertices measured in points, and a color.
More...
void
CC_DLL (const
CCPoint ¢er, float radius, float angle, unsigned int segments, bool drawLineToCenter, float scaleX, float scaleY)
draws a circle given the center, radius and number of segments.
More...
local ( local center, local radius, local angle, local segments, local drawLineToCenter, local scaleX, local scaleY)
draws a circle given the center, radius and number of segments.
More...
void
CC_DLL (const
CCPoint ¢er, float radius, float angle, unsigned int segments, bool drawLineToCenter)
local ( local center, local radius, local angle, local segments, local drawLineToCenter)
draws a Cardinal Spline path.
More...
void
CC_DLL (GLubyte r, GLubyte g, GLubyte b, GLubyte a)
set the drawing color with 4 unsigned bytes
More...
void
CC_DLL (GLfloat r, GLfloat g, GLfloat b, GLfloat a)
set the drawing color with 4 floats
More...
void
CC_DLL (GLfloat pointSize)
set the point size in points.
More...
var ()
local ()
var ( var file)
local ( local file)
Purges the FNT config cache.
More...
void
CC_DLL (const char *pszFormat,...)
var ( var pszFormat)
local ( local pszFormat)
void
CC_DLL (const char *pszFormat)
var ( var pszFormat)
local ( local pszFormat)
void
CC_DLL (const char *pszMsg, const char *pszTitle)
var ( var pszMsg, var pszTitle)
local ( local pszMsg, local pszTitle)
(void) my_error_exit(j_common_ptr cinfo)
var ()
local ()
var ( var m, var attributes)
local ( local m, local attributes)
template<class T >
void (void *value_ptr)
void (DWORD dwMilliseconds)
std::wstring
CC_DLL (const char *pszUtf8Str, unsigned len=-1)
std::string
CC_DLL (const wchar_t *pwszStr)
std::string (Platform::String^s)
float (float dips)
float (float v)
Concurrency::task
< Platform::Array< byte >^> (Platform::String^path)
Invalidates the GL state cache.
More...
var ()
Invalidates the GL state cache.
More...
local ()
Invalidates the GL state cache.
More...
Uses the GL program in case program is different than the current one.
More...
var ( var program)
Uses the GL program in case program is different than the current one.
More...
local ( local program)
Uses the GL program in case program is different than the current one.
More...
void
CC_DLL (GLenum sfactor, GLenum dfactor)
Uses a blending function in case it not already used.
More...
Resets the blending mode back to the cached state in case you used glBlendFuncSeparate() or glBlendEquation().
More...
sets the projection matrix as dirty
More...
void
CC_DLL (unsigned int flags)
Will enable the vertex attribs that are passed as flags.
More...
void
CC_DLL (GLuint textureId)
If the texture is not already bound to texture unit 0, it binds it.
More...
void
CC_DLL (GLuint textureUnit, GLuint textureId)
If the texture is not already bound to a given unit, it binds it.
More...
void
CC_DLL (GLuint textureId)
It will delete a given texture.
More...
var ( var textureId)
It will delete a given texture.
More...
local ( local textureId)
It will delete a given texture.
More...
void
CC_DLL (GLuint textureUnit, GLuint textureId)
It will delete a given texture.
More...
var ( var textureUnit, var textureId)
It will delete a given texture.
More...
local ( local textureUnit, local textureId)
It will delete a given texture.
More...
If the vertex array is not already bound, it binds it.
More...
It will enable / disable the server side GL states.
More...
int (unsigned char *in, unsigned int inLength, unsigned char **out)
Decodes a 64base encoded memory.
More...
var ( var in, var inLength, var out)
Decodes a 64base encoded memory.
More...
local ( local in, local inLength, local out)
Decodes a 64base encoded memory.
More...
Calculates distance between point an origin.
More...
var ( var v)
Calculates distance between point an origin.
More...
local ( local v)
Calculates distance between point an origin.
More...
Calculates the distance between two points.
More...
var ( var v1, var v2)
Calculates the distance between two points.
More...
local ( local v1, local v2)
Calculates the distance between two points.
More...
Returns point multiplied to a length of 1.
More...
Converts radians to a normalized vector.
More...
var ( var a)
Converts radians to a normalized vector.
More...
local ( local a)
Converts radians to a normalized vector.
More...
Converts a vector to radians.
More...
var ( var v)
Converts a vector to radians.
More...
local ( local v)
Converts a vector to radians.
More...
float
CC_DLL (float value, float min_inclusive, float max_inclusive)
Clamp a value between from and to.
More...
local ( local value, local min_inclusive, local max_inclusive)
Clamp a value between from and to.
More...
Clamp a point between from and to.
More...
var ( var p, var from, var to)
Clamp a point between from and to.
More...
local ( local p, local from, local to)
Clamp a point between from and to.
More...
var ( var s)
local ( local s)
Run a math operation function on each point component absf, fllorf, ceilf, roundf any function that has the signature: float func(float); For example: let's try to take the floor of x,y ccpCompOp(p,floorf);.
More...
var ( var p)
Run a math operation function on each point component absf, fllorf, ceilf, roundf any function that has the signature: float func(float); For example: let's try to take the floor of x,y ccpCompOp(p,floorf);.
More...
local ( local p)
Run a math operation function on each point component absf, fllorf, ceilf, roundf any function that has the signature: float func(float); For example: let's try to take the floor of x,y ccpCompOp(p,floorf);.
More...
Linear Interpolation between two points a and b.
More...
var ( var a, var b, var variance)
local ( local a, local b, local variance)
Multiplies a and b components, a.x*b.x, a.y*b.y.
More...
var ( var a, var b)
local ( local a, local b)
Rotates a point counter clockwise by the angle around a pivot.
More...
A general line-line intersection test.
More...
var ( var A, var B, var C, var D)
local ( local A, local B, local C, local D)
CC_DLL void (const char *timerName)
var ( var timerName)
local ( local timerName)
CC_DLL void (const char *timerName)
var ( var timerName)
local ( local timerName)
CC_DLL void (const char *timerName)
local ( local timerName)
CC_DLL void (std::vector< unsigned short > *str)
Trims the space characters at the end of UTF8 string.
More...
local ( local str)
Trims the space characters at the end of UTF8 string.
More...
CC_DLL bool (unsigned short ch)
Whether the character is a whitespace character.
More...
var ( var ch)
Whether the character is a whitespace character.
More...
local ( local ch)
Whether the character is a whitespace character.
More...
CC_DLL bool (unsigned short ch)
Whether the character is a Chinese/Japanese/Korean character.
More...
CC_DLL int (const unsigned short *str)
Returns the character count in UTF16 string.
More...
var ( var str)
Returns the character count in UTF16 string.
More...
local ( local str)
Returns the character count in UTF16 string.
More...
Returns the length of the string in characters.
More...
var ( var p)
Returns the length of the string in characters.
More...
local ( local p)
Returns the length of the string in characters.
More...
CC_DLL unsigned int (const std::vector< unsigned short > &str, unsigned short c)
Find the last character that is not equal to the character given.
More...
var ( var str, var c)
Find the last character that is not equal to the character given.
More...
local ( local str, local c)
Find the last character that is not equal to the character given.
More...
CC_DLL std::vector< unsigned
short > (const unsigned short *str)
Gets UTF16 character vector from UTF16 string.
More...
CC_DLL unsigned short * (const char *utf8, int *outUTF16CharacterCount=
NULL)
Creates an utf8 string from a c string.
More...
var ( var utf8, var
NULL)
Creates an utf8 string from a c string.
More...
local ( local utf8, local
NULL)
Creates an utf8 string from a c string.
More...
CC_DLL char * (const unsigned short *utf16, int *outUTF8CharacterCount=
NULL)
Converts a string from UTF-16 to UTF-8.
More...
unsigned long (unsigned long value)
returns the Next Power of Two value.
More...
converts a line to a polygon
More...
var ( var points, var stroke, var vertices, var offset, var nuPoints)
converts a line to a polygon
More...
local ( local points, local stroke, local vertices, local offset, local nuPoints)
converts a line to a polygon
More...
bool
CC_DLL (float Ax, float Ay, float Bx, float By, float Cx, float Cy, float Dx, float Dy, float *T)
returns whether or not the line intersects
More...
var ( var Ax, var Ay, var Bx, var By, var Cx, var Cy, var Dx, var Dy, var T)
returns whether or not the line intersects
More...
local ( local Ax, local Ay, local Bx, local By, local Cx, local Cy, local Dx, local Dy, local T)
returns whether or not the line intersects
More...
var ( var t, var m)
local ( local t, local m)
var ( var m, var t)
local ( local m, local t)
Variables
Typedef Documentation
typedef LRESULT(*
CUSTOM_WND_PROC)(UINT message,
WPARAM wParam, LPARAM lParam,
BOOL *pProcessed)
typedef LRESULT(*
CUSTOM_WND_PROC)(UINT message,
WPARAM wParam, LPARAM lParam,
BOOL *pProcessed)
typedef LRESULT(*
CUSTOM_WND_PROC)(UINT message,
WPARAM wParam, LPARAM lParam,
BOOL *pProcessed)
typedef std::shared_ptr
<std::thread>
pthread_t
Enumeration Type Documentation
| Enumerator |
|---|
| kCCActionTagInvalid |
Default tag.
|
| Enumerator |
|---|
| kCCActionTagInvalid |
Default tag.
|
| Enumerator |
|---|
| kCCActionTagInvalid |
Default tag.
|
| Enumerator |
|---|
| ConfigurationError |
| ConfigurationString |
| ConfigurationInt |
| ConfigurationDouble |
| ConfigurationBoolean |
| Enumerator |
|---|
| ConfigurationError |
| ConfigurationString |
| ConfigurationInt |
| ConfigurationDouble |
| ConfigurationBoolean |
| Enumerator |
|---|
| ConfigurationError |
| ConfigurationString |
| ConfigurationInt |
| ConfigurationDouble |
| ConfigurationBoolean |
| Enumerator |
|---|
| kCCLuaBridgeErrorOk |
| kCCLuaBridgeErrorInvalidParameters |
| kCCLuaBridgeErrorClassNotFound |
| kCCLuaBridgeErrorMethodNotFound |
| kCCLuaBridgeErrorExceptionOccurred |
| kCCLuaBridgeErrorMethodSignature |
| kCCLuaBridgeErrorJavaVMError |
| Enumerator |
|---|
| kCCLuaBridgeErrorOk |
| kCCLuaBridgeErrorInvalidParameters |
| kCCLuaBridgeErrorClassNotFound |
| kCCLuaBridgeErrorMethodNotFound |
| kCCLuaBridgeErrorExceptionOccurred |
| kCCLuaBridgeErrorMethodSignature |
| kCCLuaBridgeErrorJavaVMError |
| Enumerator |
|---|
| kCCLuaBridgeErrorOk |
| kCCLuaBridgeErrorInvalidParameters |
| kCCLuaBridgeErrorClassNotFound |
| kCCLuaBridgeErrorMethodNotFound |
| kCCLuaBridgeErrorExceptionOccurred |
| kCCLuaBridgeErrorMethodSignature |
| kCCLuaBridgeErrorJavaVMError |
| Enumerator |
|---|
| CCLuaValueTypeInt |
| CCLuaValueTypeFloat |
| CCLuaValueTypeBoolean |
| CCLuaValueTypeString |
| CCLuaValueTypeDict |
| CCLuaValueTypeArray |
| CCLuaValueTypeCCObject |
| Enumerator |
|---|
| CCLuaValueTypeInt |
| CCLuaValueTypeFloat |
| CCLuaValueTypeBoolean |
| CCLuaValueTypeString |
| CCLuaValueTypeDict |
| CCLuaValueTypeArray |
| CCLuaValueTypeCCObject |
| Enumerator |
|---|
| CCLuaValueTypeInt |
| CCLuaValueTypeFloat |
| CCLuaValueTypeBoolean |
| CCLuaValueTypeString |
| CCLuaValueTypeDict |
| CCLuaValueTypeArray |
| CCLuaValueTypeCCObject |
| Enumerator |
|---|
| kScriptTypeNone |
| kScriptTypeLua |
| kScriptTypeJavascript |
| Enumerator |
|---|
| kScriptTypeNone |
| kScriptTypeLua |
| kScriptTypeJavascript |
| Enumerator |
|---|
| kScriptTypeNone |
| kScriptTypeLua |
| kScriptTypeJavascript |
Horizontal text alignment type.
| Enumerator |
|---|
| kCCTextAlignmentLeft |
| kCCTextAlignmentCenter |
| kCCTextAlignmentRight |
Horizontal text alignment type.
| Enumerator |
|---|
| kCCTextAlignmentLeft |
| kCCTextAlignmentCenter |
| kCCTextAlignmentRight |
Horizontal text alignment type.
| Enumerator |
|---|
| kCCTextAlignmentLeft |
| kCCTextAlignmentCenter |
| kCCTextAlignmentRight |
| Enumerator |
|---|
| kCCTouchesAllAtOnce |
| kCCTouchesOneByOne |
| Enumerator |
|---|
| kCCTouchesAllAtOnce |
| kCCTouchesOneByOne |
| Enumerator |
|---|
| kCCTouchesAllAtOnce |
| kCCTouchesOneByOne |
Vertical text alignment type.
| Enumerator |
|---|
| kCCVerticalTextAlignmentTop |
| kCCVerticalTextAlignmentCenter |
| kCCVerticalTextAlignmentBottom |
Vertical text alignment type.
| Enumerator |
|---|
| kCCVerticalTextAlignmentTop |
| kCCVerticalTextAlignmentCenter |
| kCCVerticalTextAlignmentBottom |
Vertical text alignment type.
| Enumerator |
|---|
| kCCVerticalTextAlignmentTop |
| kCCVerticalTextAlignmentCenter |
| kCCVerticalTextAlignmentBottom |
| Enumerator |
|---|
| kTargetWindows |
| kTargetLinux |
| kTargetMacOS |
| kTargetAndroid |
| kTargetIphone |
| kTargetIpad |
| kTargetBlackBerry |
| kTargetNaCl |
| kTargetEmscripten |
| kTargetTizen |
| kTargetWinRT |
| kTargetWP8 |
| Enumerator |
|---|
| kTargetWindows |
| kTargetLinux |
| kTargetMacOS |
| kTargetAndroid |
| kTargetIphone |
| kTargetIpad |
| kTargetBlackBerry |
| kTargetNaCl |
| kTargetEmscripten |
| kTargetTizen |
| kTargetWinRT |
| kTargetWP8 |
| Enumerator |
|---|
| kTargetWindows |
| kTargetLinux |
| kTargetMacOS |
| kTargetAndroid |
| kTargetIphone |
| kTargetIpad |
| kTargetBlackBerry |
| kTargetNaCl |
| kTargetEmscripten |
| kTargetTizen |
| kTargetWinRT |
| kTargetWP8 |
Function Documentation
CC_DLL void
cocos2d::cc_utf8_trim_ws
(
std::vector< unsigned short > *
str )
Trims the space characters at the end of UTF8 string.
var cc_utf8_trim_ws
(
var
str )
Trims the space characters at the end of UTF8 string.
local cc_utf8_trim_ws
(
local
str )
Trims the space characters at the end of UTF8 string.
void cocos2d::CGAffineToGL
(
const CCAffineTransform *
t,
GLfloat *
m
)
var CGAffineToGL
(
var
t,
var
m
)
local CGAffineToGL
(
local
t,
local
m
)
void cocos2d::GLToCGAffine
(
const GLfloat *
m,
CCAffineTransform *
t
)
var GLToCGAffine
(
var
m,
var
t
)
local GLToCGAffine
(
local
m,
local
t
)
float
b,
float
c,
float
d,
float
tx,
float
ty
)
var __CCAffineTransformMake
(
var
a,
var
b,
var
c,
var
d,
var
tx,
var
ty
)
local __CCAffineTransformMake
(
local
a,
local
b,
local
c,
local
d,
local
tx,
local
ty
)
CC_DLL CCPoint
cocos2d::__CCPointApplyAffineTransform
(
const CCPoint &
point,
const CCAffineTransform &
t
)
var __CCPointApplyAffineTransform
(
var
point,
var
t
)
local __CCPointApplyAffineTransform
(
local
point,
local
t
)
std::wstring
CC_DLL
cocos2d::CCUtf8ToUnicode
(
const char *
pszUtf8Str,
unsigned
len = -1
)
var CCUtf8ToUnicode
(
var
pszUtf8Str,
var
len = -1
)
local CCUtf8ToUnicode
(
local
pszUtf8Str,
local
len = -1
)
std::string
CC_DLL
cocos2d::CCUnicodeToUtf8
(
const wchar_t *
pwszStr )
var CCUnicodeToUtf8
(
var
pwszStr )
local CCUnicodeToUtf8
(
local
pwszStr )
CC_DLL CCSize
cocos2d::__CCSizeApplyAffineTransform
(
const CCSize &
size,
const CCAffineTransform &
t
)
var __CCSizeApplyAffineTransform
(
var
size,
var
t
)
local __CCSizeApplyAffineTransform
(
local
size,
local
t
)
std::string
cocos2d::PlatformStringToString
(
Platform::String^
s )
var PlatformStringToString
(
var
s )
local PlatformStringToString
(
local
s )
unsigned long cocos2d::ccNextPOT
(
unsigned long
value )
returns the Next Power of Two value.
Examples:
- If "value" is 15, it will return 16.
- If "value" is 16, it will return 16.
- If "value" is 17, it will return 32.
- Since
- v0.99.5
var ccNextPOT
(
var
value )
returns the Next Power of Two value.
Examples:
- If "value" is 15, it will return 16.
- If "value" is 16, it will return 16.
- If "value" is 17, it will return 32.
- Since
- v0.99.5
local ccNextPOT
(
local
value )
returns the Next Power of Two value.
Examples:
- If "value" is 15, it will return 16.
- If "value" is 16, it will return 16.
- If "value" is 17, it will return 32.
- Since
- v0.99.5
int cocos2d::base64Decode
(
unsigned char *
in,
unsigned int
inLength,
unsigned char **
out
)
Decodes a 64base encoded memory.
The decoded memory is expected to be freed by the caller.
- Returns
- the length of the out buffer
- Since
- v0.8.1
var base64Decode
(
var
in,
var
inLength,
var
out
)
Decodes a 64base encoded memory.
The decoded memory is expected to be freed by the caller.
- Returns
- the length of the out buffer
- Since
- v0.8.1
local base64Decode
(
local
in,
local
inLength,
local
out
)
Decodes a 64base encoded memory.
The decoded memory is expected to be freed by the caller.
- Returns
- the length of the out buffer
- Since
- v0.8.1
CC_DLL bool
cocos2d::isspace_unicode
(
unsigned short
ch )
var isspace_unicode
(
var
ch )
local isspace_unicode
(
local
ch )
float cocos2d::ConvertDipsToPixels
(
float
dips )
var ConvertDipsToPixels
(
var
dips )
local ConvertDipsToPixels
(
local
dips )
var CCAffineTransformMakeIdentity
(
)
local CCAffineTransformMakeIdentity
(
)
float cocos2d::getScaledDPIValue
(
float
v )
var getScaledDPIValue
(
var
v )
local getScaledDPIValue
(
local
v )
CC_DLL CCRect
cocos2d::CCRectApplyAffineTransform
(
const CCRect &
rect,
const CCAffineTransform &
anAffineTransform
)
var CCRectApplyAffineTransform
(
var
rect,
var
anAffineTransform
)
local CCRectApplyAffineTransform
(
local
rect,
local
anAffineTransform
)
Concurrency::task
<Platform::Array<byte>
^> cocos2d::ReadDataAsync
(
Platform::String^
path )
var ReadDataAsync
(
var
path )
local ReadDataAsync
(
local
path )
var CCAffineTransformTranslate
(
var
t,
var
tx,
var
ty
)
local CCAffineTransformTranslate
(
local
t,
local
tx,
local
ty
)
var CCAffineTransformRotate
(
var
aTransform,
var
anAngle
)
local CCAffineTransformRotate
(
local
aTransform,
local
anAngle
)
void cocos2d::pthread_mutex_init
(
pthread_mutex_t *
m,
void *
attributes
)
var pthread_mutex_init
(
var
m,
var
attributes
)
local pthread_mutex_init
(
local
m,
local
attributes
)
var CCAffineTransformScale
(
var
t,
var
sx,
var
sy
)
local CCAffineTransformScale
(
local
t,
local
sx,
local
sy
)
const CCAffineTransform &
t2
)
var CCAffineTransformConcat
(
var
t1,
var
t2
)
local CCAffineTransformConcat
(
local
t1,
local
t2
)
int cocos2d::pthread_mutex_lock
(
pthread_mutex_t *
m )
var pthread_mutex_lock
(
var
m )
local pthread_mutex_lock
(
local
m )
CC_DLL bool
cocos2d::CCAffineTransformEqualToTransform
(
const CCAffineTransform &
t1,
const CCAffineTransform &
t2
)
var
CCAffineTransformEqualToTransform
(
var
t1,
var
t2
)
local
CCAffineTransformEqualToTransform
(
local
t1,
local
t2
)
int cocos2d::pthread_mutex_unlock
(
pthread_mutex_t *
m )
var pthread_mutex_unlock
(
var
m )
local pthread_mutex_unlock
(
local
m )
var CCAffineTransformInvert
(
var
t )
local CCAffineTransformInvert
(
local
t )
void cocos2d::pthread_mutex_destroy
(
pthread_mutex_t *
m )
var pthread_mutex_destroy
(
var
m )
local pthread_mutex_destroy
(
local
m )
CC_DLL bool cocos2d::iscjk_unicode
(
unsigned short
ch )
var iscjk_unicode
(
var
ch )
local iscjk_unicode
(
local
ch )
int cocos2d::pthread_attr_init
(
pthread_attr_t *
attr )
var pthread_attr_init
(
var
attr )
local pthread_attr_init
(
local
attr )
CCPoint CC_DLL
cocos2d::CCPointFromString
(
const char *
pszContent )
Returns a Core Graphics point structure corresponding to the data in a given string.
- Parameters
-
pszContent A string object whose contents are of the form "{x,y}", where x is the x coordinate and y is the y coordinate. The x and y values can represent integer or float values. An example of a valid string is "{3.0,2.5}". The string is not localized, so items are always separated with a comma.
- Returns
- A Core Graphics structure that represents a point. If the string is not well-formed, the function returns CCPointZero.
var CCPointFromString
(
var
pszContent )
Returns a Core Graphics point structure corresponding to the data in a given string.
- Parameters
-
pszContent A string object whose contents are of the form "{x,y}", where x is the x coordinate and y is the y coordinate. The x and y values can represent integer or float values. An example of a valid string is "{3.0,2.5}". The string is not localized, so items are always separated with a comma.
- Returns
- A Core Graphics structure that represents a point. If the string is not well-formed, the function returns CCPointZero.
local CCPointFromString
(
local
pszContent )
Returns a Core Graphics point structure corresponding to the data in a given string.
- Parameters
-
pszContent A string object whose contents are of the form "{x,y}", where x is the x coordinate and y is the y coordinate. The x and y values can represent integer or float values. An example of a valid string is "{3.0,2.5}". The string is not localized, so items are always separated with a comma.
- Returns
- A Core Graphics structure that represents a point. If the string is not well-formed, the function returns CCPointZero.
int cocos2d::pthread_create
(
pthread_t *
thread,
const pthread_attr_t *
attr,
T
start,
void *
arg
)
var pthread_create
(
var
thread,
var
attr,
var
start,
var
arg
)
local pthread_create
(
local
thread,
local
attr,
local
start,
local
arg
)
CC_DLL int cocos2d::cc_wcslen
(
const unsigned short *
str )
Returns the character count in UTF16 string.
- Parameters
-
str pointer to the start of a UTF-16 encoded string. It must be an NULL terminal UTF8 string.
var cc_wcslen
(
var
str )
Returns the character count in UTF16 string.
- Parameters
-
str pointer to the start of a UTF-16 encoded string. It must be an NULL terminal UTF8 string.
local cc_wcslen
(
local
str )
Returns the character count in UTF16 string.
- Parameters
-
str pointer to the start of a UTF-16 encoded string. It must be an NULL terminal UTF8 string.
int cocos2d::pthread_detach
(
pthread_t
thread )
var pthread_detach
(
var
thread )
local pthread_detach
(
local
thread )
int cocos2d::pthread_join
(
pthread_t
thread,
void **
ret
)
var pthread_join
(
var
thread,
var
ret
)
local pthread_join
(
local
thread,
local
ret
)
CCSize CC_DLL
cocos2d::CCSizeFromString
(
const char *
pszContent )
Returns a Core Graphics size structure corresponding to the data in a given string.
- Parameters
-
pszContent A string object whose contents are of the form "{w, h}", where w is the width and h is the height. The w and h values can be integer or float values. An example of a valid string is "{3.0,2.5}". The string is not localized, so items are always separated with a comma.
- Returns
- A Core Graphics structure that represents a size. If the string is not well-formed, the function returns CCSizeZero.
void cocos2d::pthread_exit
(
void *
value_ptr )
var pthread_exit
(
var
value_ptr )
local pthread_exit
(
local
value_ptr )
void cocos2d::Sleep
(
DWORD
dwMilliseconds )
var Sleep
(
var
dwMilliseconds )
local Sleep
(
local
dwMilliseconds )
CC_DLL long cocos2d::cc_utf8_strlen
(
const char *
p )
Returns the length of the string in characters.
- Parameters
-
p pointer to the start of a UTF-8 encoded string. It must be an NULL terminal UTF8 string.
- Returns
- the length of the string in characters
var cc_utf8_strlen
(
var
p )
Returns the length of the string in characters.
- Parameters
-
p pointer to the start of a UTF-8 encoded string. It must be an NULL terminal UTF8 string.
- Returns
- the length of the string in characters
local cc_utf8_strlen
(
local
p )
Returns the length of the string in characters.
- Parameters
-
p pointer to the start of a UTF-8 encoded string. It must be an NULL terminal UTF8 string.
- Returns
- the length of the string in characters
void
CC_DLL cocos2d::ccDrawFree
(
)
Frees allocated resources by the drawing primitives.
Frees allocated resources by the drawing primitives.
Frees allocated resources by the drawing primitives.
CC_DLL unsigned int
cocos2d::cc_utf8_find_last_not_char
(
const std::vector< unsigned short > &
str,
unsigned short
c
)
Find the last character that is not equal to the character given.
- Parameters
-
str the string to be searched.
c the character to be searched for.
- Returns
- the index of the last character that is not
c.
var cc_utf8_find_last_not_char
(
var
str,
var
c
)
Find the last character that is not equal to the character given.
- Parameters
-
str the string to be searched.
c the character to be searched for.
- Returns
- the index of the last character that is not
c.
local cc_utf8_find_last_not_char
(
local
str,
local
c
)
Find the last character that is not equal to the character given.
- Parameters
-
str the string to be searched.
c the character to be searched for.
- Returns
- the index of the last character that is not
c.
void
CC_DLL
cocos2d::ccGLDeleteProgram
(
GLuint
program )
Deletes the GL program.
If it is the one that is being used, it invalidates it. If CC_ENABLE_GL_STATE_CACHE is disabled, it will the glDeleteProgram() directly.
- Since
- v2.0.0
var ccGLDeleteProgram
(
var
program )
Deletes the GL program.
If it is the one that is being used, it invalidates it. If CC_ENABLE_GL_STATE_CACHE is disabled, it will the glDeleteProgram() directly.
- Since
- v2.0.0
local ccGLDeleteProgram
(
local
program )
Deletes the GL program.
If it is the one that is being used, it invalidates it. If CC_ENABLE_GL_STATE_CACHE is disabled, it will the glDeleteProgram() directly.
- Since
- v2.0.0
CC_DLL std::vector<unsigned
short>
cocos2d::cc_utf16_vec_from_utf16_str
(
const unsigned short *
str )
Gets UTF16 character vector from UTF16 string.
var cc_utf16_vec_from_utf16_str
(
var
str )
Gets UTF16 character vector from UTF16 string.
local cc_utf16_vec_from_utf16_str
(
local
str )
Gets UTF16 character vector from UTF16 string.
CC_DLL void
cocos2d::CCProfilingEndTimingBlock
(
const char *
timerName )
var CCProfilingEndTimingBlock
(
var
timerName )
local CCProfilingEndTimingBlock
(
local
timerName )
CC_DLL void
cocos2d::CCProfilingResetTimingBlock
(
const char *
timerName )
var CCProfilingResetTimingBlock
(
var
timerName )
local CCProfilingResetTimingBlock
(
local
timerName )
CC_DLL unsigned short*
cocos2d::cc_utf8_to_utf16
(
const char *
utf8,
int *
outUTF16CharacterCount =
NULL
)
Creates an utf8 string from a c string.
The result will be null terminated.
- Parameters
-
utf8 pointer to the start of a C string. It must be an NULL terminal UTF8 string.
outUTF16CharacterCount The character count in the return UTF16 string.
- Returns
- the newly created utf16 string, it must be released with
delete[], If an error occurs, NULL will be returned.
var cc_utf8_to_utf16
(
var
utf8,
var
outUTF16CharacterCount =
NULL
)
Creates an utf8 string from a c string.
The result will be null terminated.
- Parameters
-
utf8 pointer to the start of a C string. It must be an NULL terminal UTF8 string.
outUTF16CharacterCount The character count in the return UTF16 string.
- Returns
- the newly created utf16 string, it must be released with
delete[], If an error occurs, NULL will be returned.
local cc_utf8_to_utf16
(
local
utf8,
local
outUTF16CharacterCount =
NULL
)
Creates an utf8 string from a c string.
The result will be null terminated.
- Parameters
-
utf8 pointer to the start of a C string. It must be an NULL terminal UTF8 string.
outUTF16CharacterCount The character count in the return UTF16 string.
- Returns
- the newly created utf16 string, it must be released with
delete[], If an error occurs, NULL will be returned.
void
CC_DLL
cocos2d::ccGLBlendResetToCache
(
void
)
Resets the blending mode back to the cached state in case you used glBlendFuncSeparate() or glBlendEquation().
If CC_ENABLE_GL_STATE_CACHE is disabled, it will just set the default blending mode using GL_FUNC_ADD.
- Since
- v2.0.0
var ccGLBlendResetToCache
(
)
Resets the blending mode back to the cached state in case you used glBlendFuncSeparate() or glBlendEquation().
If CC_ENABLE_GL_STATE_CACHE is disabled, it will just set the default blending mode using GL_FUNC_ADD.
- Since
- v2.0.0
local ccGLBlendResetToCache
(
)
Resets the blending mode back to the cached state in case you used glBlendFuncSeparate() or glBlendEquation().
If CC_ENABLE_GL_STATE_CACHE is disabled, it will just set the default blending mode using GL_FUNC_ADD.
- Since
- v2.0.0
var gettimeofday
(
var
,
var
)
local gettimeofday
(
local
,
local
)
void
CC_DLL
cocos2d::ccSetProjectionMatrixDirty
(
void
)
sets the projection matrix as dirty
- Since
- v2.0.0
var ccSetProjectionMatrixDirty
(
)
sets the projection matrix as dirty
- Since
- v2.0.0
local ccSetProjectionMatrixDirty
(
)
sets the projection matrix as dirty
- Since
- v2.0.0
CC_DLL char*
cocos2d::cc_utf16_to_utf8
(
const unsigned short *
utf16,
int *
outUTF8CharacterCount =
NULL
)
Converts a string from UTF-16 to UTF-8.
The result will be null terminated.
- Parameters
-
utf16 an UTF-16 encoded string, It must be an NULL terminal UTF16 string.
outUTF8CharacterCount The character count in the return UTF8 string.
- Returns
- a pointer to a newly allocated UTF-8 string. This value must be released with
delete[]. If an error occurs, NULL will be returned.
var cc_utf16_to_utf8
(
var
utf16,
var
outUTF8CharacterCount =
NULL
)
Converts a string from UTF-16 to UTF-8.
The result will be null terminated.
- Parameters
-
utf16 an UTF-16 encoded string, It must be an NULL terminal UTF16 string.
outUTF8CharacterCount The character count in the return UTF8 string.
- Returns
- a pointer to a newly allocated UTF-8 string. This value must be released with
delete[]. If an error occurs, NULL will be returned.
local cc_utf16_to_utf8
(
local
utf16,
local
outUTF8CharacterCount =
NULL
)
Converts a string from UTF-16 to UTF-8.
The result will be null terminated.
- Parameters
-
utf16 an UTF-16 encoded string, It must be an NULL terminal UTF16 string.
outUTF8CharacterCount The character count in the return UTF8 string.
- Returns
- a pointer to a newly allocated UTF-8 string. This value must be released with
delete[]. If an error occurs, NULL will be returned.
void
CC_DLL
cocos2d::ccGLBindTexture2D
(
GLuint
textureId )
If the texture is not already bound to texture unit 0, it binds it.
If CC_ENABLE_GL_STATE_CACHE is disabled, it will call glBindTexture() directly.
- Since
- v2.0.0
var ccGLBindTexture2D
(
var
textureId )
If the texture is not already bound to texture unit 0, it binds it.
If CC_ENABLE_GL_STATE_CACHE is disabled, it will call glBindTexture() directly.
- Since
- v2.0.0
local ccGLBindTexture2D
(
local
textureId )
If the texture is not already bound to texture unit 0, it binds it.
If CC_ENABLE_GL_STATE_CACHE is disabled, it will call glBindTexture() directly.
- Since
- v2.0.0
void
CC_DLL
cocos2d::ccGLDeleteTexture
(
GLuint
textureId )
It will delete a given texture.
If the texture was bound, it will invalidate the cached. If CC_ENABLE_GL_STATE_CACHE is disabled, it will call glDeleteTextures() directly.
- Since
- v2.0.0
var ccGLDeleteTexture
(
var
textureId )
It will delete a given texture.
If the texture was bound, it will invalidate the cached. If CC_ENABLE_GL_STATE_CACHE is disabled, it will call glDeleteTextures() directly.
- Since
- v2.0.0
local ccGLDeleteTexture
(
local
textureId )
It will delete a given texture.
If the texture was bound, it will invalidate the cached. If CC_ENABLE_GL_STATE_CACHE is disabled, it will call glDeleteTextures() directly.
- Since
- v2.0.0
void
CC_DLL
cocos2d::ccGLDeleteTextureN
(
GLuint
textureUnit,
GLuint
textureId
)
It will delete a given texture.
If the texture was bound, it will invalidate the cached for the given texture unit. If CC_ENABLE_GL_STATE_CACHE is disabled, it will call glDeleteTextures() directly.
- Since
- v2.1.0
var ccGLDeleteTextureN
(
var
textureUnit,
var
textureId
)
It will delete a given texture.
If the texture was bound, it will invalidate the cached for the given texture unit. If CC_ENABLE_GL_STATE_CACHE is disabled, it will call glDeleteTextures() directly.
- Since
- v2.1.0
local ccGLDeleteTextureN
(
local
textureUnit,
local
textureId
)
It will delete a given texture.
If the texture was bound, it will invalidate the cached for the given texture unit. If CC_ENABLE_GL_STATE_CACHE is disabled, it will call glDeleteTextures() directly.
- Since
- v2.1.0
void
CC_DLL cocos2d::ccGLBindVAO
(
GLuint
vaoId )
If the vertex array is not already bound, it binds it.
If CC_ENABLE_GL_STATE_CACHE is disabled, it will call glBindVertexArray() directly.
- Since
- v2.0.0
var ccGLBindVAO
(
var
vaoId )
If the vertex array is not already bound, it binds it.
If CC_ENABLE_GL_STATE_CACHE is disabled, it will call glBindVertexArray() directly.
- Since
- v2.0.0
local ccGLBindVAO
(
local
vaoId )
If the vertex array is not already bound, it binds it.
If CC_ENABLE_GL_STATE_CACHE is disabled, it will call glBindVertexArray() directly.
- Since
- v2.0.0
float
CC_DLL cocos2d::ccpLength
(
const CCPoint &
v )
Calculates distance between point an origin.
- Returns
- float
- Since
- v0.7.2
Calculates distance between point an origin.
- Returns
- float
- Since
- v0.7.2
local ccpLength
(
local
v )
Calculates distance between point an origin.
- Returns
- float
- Since
- v0.7.2
float
CC_DLL cocos2d::ccpDistance
(
const CCPoint &
v1,
const CCPoint &
v2
)
Calculates the distance between two points.
- Returns
- float
- Since
- v0.7.2
var ccpDistance
(
var
v1,
var
v2
)
Calculates the distance between two points.
- Returns
- float
- Since
- v0.7.2
local ccpDistance
(
local
v1,
local
v2
)
Calculates the distance between two points.
- Returns
- float
- Since
- v0.7.2
Returns point multiplied to a length of 1.
- Returns
- CCPoint
- Since
- v0.7.2
var ccpNormalize
(
var
v )
Returns point multiplied to a length of 1.
- Returns
- CCPoint
- Since
- v0.7.2
local ccpNormalize
(
local
v )
Returns point multiplied to a length of 1.
- Returns
- CCPoint
- Since
- v0.7.2
float
CC_DLL cocos2d::ccpToAngle
(
const CCPoint &
v )
Converts a vector to radians.
- Returns
- float
- Since
- v0.7.2
Converts a vector to radians.
- Returns
- float
- Since
- v0.7.2
local ccpToAngle
(
local
v )
Converts a vector to radians.
- Returns
- float
- Since
- v0.7.2
bool
CC_DLL cocos2d::ccpFuzzyEqual
(
const CCPoint &
a,
const CCPoint &
b,
float
variance
)
- Returns
- if points have fuzzy equality which means equal with some degree of variance.
- Since
- v0.99.1
var ccpFuzzyEqual
(
var
a,
var
b,
var
variance
)
- Returns
- if points have fuzzy equality which means equal with some degree of variance.
- Since
- v0.99.1
local ccpFuzzyEqual
(
local
a,
local
b,
local
variance
)
- Returns
- if points have fuzzy equality which means equal with some degree of variance.
- Since
- v0.99.1
Multiplies a and b components, a.x*b.x, a.y*b.y.
- Returns
- a component-wise multiplication
- Since
- v0.99.1
var ccpCompMult
(
var
a,
var
b
)
Multiplies a and b components, a.x*b.x, a.y*b.y.
- Returns
- a component-wise multiplication
- Since
- v0.99.1
local ccpCompMult
(
local
a,
local
b
)
Multiplies a and b components, a.x*b.x, a.y*b.y.
- Returns
- a component-wise multiplication
- Since
- v0.99.1
float
CC_DLL
cocos2d::ccpAngleSigned
(
const CCPoint &
a,
const CCPoint &
b
)
- Returns
- the signed angle in radians between two vector directions
- Since
- v0.99.1
var ccpAngleSigned
(
var
a,
var
b
)
- Returns
- the signed angle in radians between two vector directions
- Since
- v0.99.1
local ccpAngleSigned
(
local
a,
local
b
)
- Returns
- the signed angle in radians between two vector directions
- Since
- v0.99.1
float
CC_DLL cocos2d::ccpAngle
(
const CCPoint &
a,
const CCPoint &
b
)
- Returns
- the angle in radians between two vector directions
- Since
- v0.99.1
var ccpAngle
(
var
a,
var
b
)
- Returns
- the angle in radians between two vector directions
- Since
- v0.99.1
local ccpAngle
(
local
a,
local
b
)
- Returns
- the angle in radians between two vector directions
- Since
- v0.99.1
cocos2d::METHODDEF
(
void
)
const CCPoint &
pivot,
float
angle
)
Rotates a point counter clockwise by the angle around a pivot.
- Parameters
-
v is the point to rotate
pivot is the pivot, naturally
angle is the angle of rotation cw in radians
- Returns
- the rotated point
- Since
- v0.99.1
var ccpRotateByAngle
(
var
v,
var
pivot,
var
angle
)
Rotates a point counter clockwise by the angle around a pivot.
- Parameters
-
v is the point to rotate
pivot is the pivot, naturally
angle is the angle of rotation cw in radians
- Returns
- the rotated point
- Since
- v0.99.1
local ccpRotateByAngle
(
local
v,
local
pivot,
local
angle
)
Rotates a point counter clockwise by the angle around a pivot.
- Parameters
-
v is the point to rotate
pivot is the pivot, naturally
angle is the angle of rotation cw in radians
- Returns
- the rotated point
- Since
- v0.99.1
CC_DLL const char*
cocos2d::cocos2dVersion
(
)
const CCPoint &
B,
const CCPoint &
C,
const CCPoint &
D
)
var ccpIntersectPoint
(
var
A,
var
B,
var
C,
var
D
)
local ccpIntersectPoint
(
local
A,
local
B,
local
C,
local
D
)
Variable Documentation
var CCAffineTransformIdentity
local CCAffineTransformIdentity