Namespaces | |
extension | |
ui | |
Classes | |
class | CCAction |
Base class for CCAction objects. More... | |
class | CCFiniteTimeAction |
Base class actions that do have a finite time duration. More... | |
class | CCSpeed |
Changes the speed of an action, making it take longer (speed>1) or less (speed<1) time. More... | |
class | CCFollow |
CCFollow is an action that "follows" a node. More... | |
class | CCActionCamera |
Base class for CCCamera actions. More... | |
class | CCOrbitCamera |
CCOrbitCamera action Orbits the camera around the center of the screen using spherical coordinates. More... | |
class | CCPointArray |
An Array that contain control points. More... | |
class | CCCardinalSplineTo |
//// @ More... | |
class | CCCardinalSplineBy |
//// @ More... | |
class | CCCatmullRomTo |
//// @ More... | |
class | CCCatmullRomBy |
//// @ More... | |
class | CCActionEase |
Base class for Easing actions. More... | |
class | CCEaseRateAction |
Base class for Easing actions with rate parameters. More... | |
class | CCEaseIn |
CCEaseIn action with a rate. More... | |
class | CCEaseOut |
CCEaseOut action with a rate. More... | |
class | CCEaseInOut |
CCEaseInOut action with a rate. More... | |
class | CCEaseExponentialIn |
CCEase Exponential In. More... | |
class | CCEaseExponentialOut |
Ease Exponential Out. More... | |
class | CCEaseExponentialInOut |
Ease Exponential InOut. More... | |
class | CCEaseSineIn |
Ease Sine In. More... | |
class | CCEaseSineOut |
Ease Sine Out. More... | |
class | CCEaseSineInOut |
Ease Sine InOut. More... | |
class | CCEaseElastic |
Ease Elastic abstract class. More... | |
class | CCEaseElasticIn |
Ease Elastic In action. More... | |
class | CCEaseElasticOut |
Ease Elastic Out action. More... | |
class | CCEaseElasticInOut |
Ease Elastic InOut action. More... | |
class | CCEaseBounce |
CCEaseBounce abstract class. More... | |
class | CCEaseBounceIn |
CCEaseBounceIn action. More... | |
class | CCEaseBounceOut |
EaseBounceOut action. More... | |
class | CCEaseBounceInOut |
CCEaseBounceInOut action. More... | |
class | CCEaseBackIn |
CCEaseBackIn action. More... | |
class | CCEaseBackOut |
CCEaseBackOut action. More... | |
class | CCEaseBackInOut |
CCEaseBackInOut action. More... | |
class | CCGridAction |
Base class for Grid actions. More... | |
class | CCGrid3DAction |
Base class for CCGrid3D actions. More... | |
class | CCTiledGrid3DAction |
Base class for CCTiledGrid3D actions. More... | |
class | CCAccelDeccelAmplitude |
CCAccelDeccelAmplitude action. More... | |
class | CCAccelAmplitude |
CCAccelAmplitude action. More... | |
class | CCDeccelAmplitude |
CCDeccelAmplitude action. More... | |
class | CCStopGrid |
CCStopGrid action. More... | |
class | CCReuseGrid |
CCReuseGrid action. More... | |
class | CCWaves3D |
CCWaves3D action. More... | |
class | CCFlipX3D |
CCFlipX3D action. More... | |
class | CCFlipY3D |
CCFlipY3D action. More... | |
class | CCLens3D |
CCLens3D action. More... | |
class | CCRipple3D |
CCRipple3D action. More... | |
class | CCShaky3D |
CCShaky3D action. More... | |
class | CCLiquid |
CCLiquid action. More... | |
class | CCWaves |
CCWaves action. More... | |
class | CCTwirl |
CCTwirl action. More... | |
class | CCActionInstant |
Instant actions are immediate actions. More... | |
class | CCShow |
Show the node. More... | |
class | CCHide |
Hide the node. More... | |
class | CCToggleVisibility |
Toggles the visibility of a node. More... | |
class | CCRemoveSelf |
Remove the node. More... | |
class | CCFlipX |
@ @ More... | |
class | CCFlipY |
@ @ More... | |
class | CCPlace |
@ More... | |
class | CCCallFunc |
@ More... | |
class | CCCallFuncN |
@ More... | |
class | CCCallFuncND |
@
| |
class | CCCallFuncO |
class | CCActionInterval |
An interval action is an action that takes place within a certain period of time. More... | |
class | CCSequence |
Runs actions sequentially, one after another. More... | |
class | CCRepeat |
Repeats an action a number of times. More... | |
class | CCRepeatForever |
Repeats an action for ever. More... | |
class | CCSpawn |
Spawn a new action immediately. More... | |
class | CCRotateTo |
Rotates a CCNode object to a certain angle by modifying it's rotation attribute. More... | |
class | CCRotateBy |
Rotates a CCNode object clockwise a number of degrees by modifying it's rotation attribute. More... | |
class | CCMoveBy |
Moves a CCNode object x,y pixels by modifying it's position attribute. More... | |
class | CCMoveTo |
Moves a CCNode object to the position x,y. More... | |
class | CCSkewTo |
Skews a CCNode object to given angles by modifying it's skewX and skewY attributes. More... | |
class | CCSkewBy |
Skews a CCNode object by skewX and skewY degrees. More... | |
class | CCJumpBy |
Moves a CCNode object simulating a parabolic jump movement by modifying it's position attribute. More... | |
class | CCJumpTo |
Moves a CCNode object to a parabolic position simulating a jump movement by modifying it's position attribute. More... | |
class | CCBezierBy |
An action that moves the target with a cubic Bezier curve by a certain distance. More... | |
class | CCBezierTo |
An action that moves the target with a cubic Bezier curve to a destination point. More... | |
class | CCScaleTo |
Scales a CCNode object to a zoom factor by modifying it's scale attribute. More... | |
class | CCScaleBy |
Scales a CCNode object a zoom factor by modifying it's scale attribute. More... | |
class | CCBlink |
Blinks a CCNode object by modifying it's visible attribute. More... | |
class | CCFadeIn |
Fades In an object that implements the CCRGBAProtocol protocol. More... | |
class | CCFadeOut |
Fades Out an object that implements the CCRGBAProtocol protocol. More... | |
class | CCFadeTo |
Fades an object that implements the CCRGBAProtocol protocol. More... | |
class | CCTintTo |
Tints a CCNode that implements the CCNodeRGB protocol from current tint to a custom one. More... | |
class | CCTintBy |
Tints a CCNode that implements the CCNodeRGB protocol from current tint to a custom one. More... | |
class | CCDelayTime |
Delays the action a certain amount of seconds. More... | |
class | CCReverseTime |
Executes an action in reverse order, from time=duration to time=0. More... | |
class | CCAnimate |
Animates a sprite given the name of an Animation. More... | |
class | CCTargetedAction |
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... | |
class | CCActionManager |
CCActionManager is a singleton that manages all the actions. More... | |
class | CCPageTurn3D |
This action simulates a page turn from the bottom right hand corner of the screen. More... | |
class | CCProgressTo |
Progress to percentage. More... | |
class | CCProgressFromTo |
Progress from a percentage to another percentage. More... | |
class | CCShakyTiles3D |
CCShakyTiles3D action. More... | |
class | CCShatteredTiles3D |
CCShatteredTiles3D action. More... | |
class | CCShuffleTiles |
CCShuffleTiles action Shuffle the tiles in random order. More... | |
class | CCFadeOutTRTiles |
CCFadeOutTRTiles action Fades out the tiles in a Top-Right direction. More... | |
class | CCFadeOutBLTiles |
CCFadeOutBLTiles action. More... | |
class | CCFadeOutUpTiles |
CCFadeOutUpTiles action. More... | |
class | CCFadeOutDownTiles |
CCFadeOutDownTiles action. More... | |
class | CCTurnOffTiles |
CCTurnOffTiles action. More... | |
class | CCWavesTiles3D |
CCWavesTiles3D action. More... | |
class | CCJumpTiles3D |
CCJumpTiles3D action. More... | |
class | CCSplitRows |
CCSplitRows action. More... | |
class | CCSplitCols |
CCSplitCols action. More... | |
class | CCActionTweenDelegate |
class | CCActionTween |
CCActionTween. More... | |
class | CCAtlasNode |
CCAtlasNode is a subclass of CCNode that implements the CCRGBAProtocol and CCTextureProtocol protocol. More... | |
class | CCNode |
CCNode is the main element. More... | |
class | CCNodeRGBA |
CCNodeRGBA is a subclass of CCNode that implements the CCRGBAProtocol protocol. More... | |
class | CCCamera |
A CCCamera is used in every CCNode. More... | |
class | CCConfiguration |
CCConfiguration contains some openGL variables. More... | |
class | CCDirector |
Class that creates and handle the main Window and manages how and when to execute the Scenes. More... | |
class | CCDisplayLinkDirector |
DisplayLinkDirector is a Director that synchronizes timers with the refresh rate of the display. More... | |
class | CCTimer |
Light-weight timer. More... | |
class | CCScheduler |
Scheduler is responsible for triggering the scheduled callbacks. More... | |
struct | CCAffineTransform |
class | CCArray |
class | CCAutoreleasePool |
class | CCPoolManager |
class | CCBool |
class | CCDataVisitor |
Visitor that helps to perform action that depends on polymorphic object type. More... | |
class | CCPrettyPrinter |
class | CCDictElement |
CCDictElement is used for traversing CCDictionary. More... | |
class | CCDictionary |
@ More... | |
class | CCDouble |
class | CCFloat |
class | CCPoint |
class | CCSize |
class | CCRect |
class | CCInteger |
class | CCCopying |
class | CCObject |
class | CCSet |
class | CCString |
struct | CCStringCompare |
class | CCZone |
class | CCDrawNode |
CCDrawNode Node that draws dots, segments and polygons. More... | |
class | CCGrabber |
FBO class that grabs the the contents of the screen. More... | |
class | CCGridBase |
Base class for other. More... | |
class | CCGrid3D |
CCGrid3D is a 3D grid implementation. More... | |
class | CCTiledGrid3D |
class | CCRGBAProtocol |
RGBA protocol that affects CCNode's color and opacity. More... | |
class | CCBlendProtocol |
//////// More... | |
class | CCTextureProtocol |
class | CCLabelProtocol |
class | CCDirectorDelegate |
class | TypeInfo |
struct | ccAnimationFrameData |
class | CCKeypadDelegate |
class | CCKeypadHandler |
@ More... | |
class | CCKeypadDispatcher |
Dispatch the keypad message from the phone. More... | |
class | CCLabelAtlas |
CCLabelAtlas is a subclass of CCAtlasNode. More... | |
class | CCBMFontConfiguration |
CCBMFontConfiguration has parsed configuration of the the .fnt file. More... | |
class | CCLabelBMFont |
@ More... | |
class | CCLabelTTF |
CCLabelTTF is a subclass of CCTextureNode that knows how to render text labels. More... | |
class | CCLayer |
CCLayer is a subclass of CCNode that implements the TouchEventsDelegate protocol. More... | |
class | CCLayerRGBA |
CCLayerRGBA is a subclass of CCLayer that implements the CCRGBAProtocol protocol using a solid color as the background. More... | |
class | CCLayerColor |
CCLayerColor is a subclass of CCLayer that implements the CCRGBAProtocol protocol. More... | |
class | CCLayerGradient |
CCLayerGradient is a subclass of CCLayerColor that draws gradients across the background. More... | |
class | CCLayerMultiplex |
CCMultipleLayer is a CCLayer with the ability to multiplex it's children. More... | |
class | CCScene |
CCScene is a subclass of CCNode that is used only as an abstract concept. More... | |
class | CCTransitionEaseScene |
CCTransitionEaseScene can ease the actions of the scene protocol. More... | |
class | CCTransitionScene |
Base class for CCTransition scenes. More... | |
class | CCTransitionSceneOriented |
A CCTransition that supports orientation like. More... | |
class | CCTransitionRotoZoom |
CCTransitionRotoZoom: Rotate and zoom out the outgoing scene, and then rotate and zoom in the incoming. More... | |
class | CCTransitionJumpZoom |
CCTransitionJumpZoom: Zoom out and jump the outgoing scene, and then jump and zoom in the incoming. More... | |
class | CCTransitionMoveInL |
CCTransitionMoveInL: Move in from to the left the incoming scene. More... | |
class | CCTransitionMoveInR |
CCTransitionMoveInR: Move in from to the right the incoming scene. More... | |
class | CCTransitionMoveInT |
CCTransitionMoveInT: Move in from to the top the incoming scene. More... | |
class | CCTransitionMoveInB |
CCTransitionMoveInB: Move in from to the bottom the incoming scene. More... | |
class | CCTransitionSlideInL |
CCTransitionSlideInL: Slide in the incoming scene from the left border. More... | |
class | CCTransitionSlideInR |
CCTransitionSlideInR: Slide in the incoming scene from the right border. More... | |
class | CCTransitionSlideInB |
CCTransitionSlideInB: Slide in the incoming scene from the bottom border. More... | |
class | CCTransitionSlideInT |
CCTransitionSlideInT: Slide in the incoming scene from the top border. More... | |
class | CCTransitionShrinkGrow |
Shrink the outgoing scene while grow the incoming scene. More... | |
class | CCTransitionFlipX |
CCTransitionFlipX: Flips the screen horizontally. More... | |
class | CCTransitionFlipY |
CCTransitionFlipY: Flips the screen vertically. More... | |
class | CCTransitionFlipAngular |
CCTransitionFlipAngular: Flips the screen half horizontally and half vertically. More... | |
class | CCTransitionZoomFlipX |
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... | |
class | CCTransitionZoomFlipY |
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... | |
class | CCTransitionZoomFlipAngular |
CCTransitionZoomFlipAngular: Flips the screen half horizontally and half vertically doing a little zooming out/in. More... | |
class | CCTransitionFade |
CCTransitionFade: Fade out the outgoing scene and then fade in the incoming scene. More... | |
class | CCTransitionCrossFade |
CCTransitionCrossFade: Cross fades two scenes using the CCRenderTexture object. More... | |
class | CCTransitionTurnOffTiles |
CCTransitionTurnOffTiles: Turn off the tiles of the outgoing scene in random order. More... | |
class | CCTransitionSplitCols |
CCTransitionSplitCols: The odd columns goes upwards while the even columns goes downwards. More... | |
class | CCTransitionSplitRows |
CCTransitionSplitRows: The odd rows goes to the left while the even rows goes to the right. More... | |
class | CCTransitionFadeTR |
CCTransitionFadeTR: Fade the tiles of the outgoing scene from the left-bottom corner the to top-right corner. More... | |
class | CCTransitionFadeBL |
CCTransitionFadeBL: Fade the tiles of the outgoing scene from the top-right corner to the bottom-left corner. More... | |
class | CCTransitionFadeUp |
CCTransitionFadeUp: Fade the tiles of the outgoing scene from the bottom to the top. More... | |
class | CCTransitionFadeDown |
CCTransitionFadeDown: Fade the tiles of the outgoing scene from the top to the bottom. More... | |
class | CCTransitionPageTurn |
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... | |
class | CCTransitionProgress |
class | CCTransitionProgressRadialCCW |
CCTransitionRadialCCW transition. More... | |
class | CCTransitionProgressRadialCW |
CCTransitionRadialCW transition. More... | |
class | CCTransitionProgressHorizontal |
CCTransitionProgressHorizontal transition. More... | |
class | CCTransitionProgressVertical |
class | CCTransitionProgressInOut |
class | CCTransitionProgressOutIn |
class | CCMenu |
A CCMenu. More... | |
class | CCMenuItem |
CCMenuItem base class. More... | |
class | CCMenuItemLabel |
An abstract class for "label" CCMenuItemLabel items Any CCNode that supports the CCLabelProtocol protocol can be added. More... | |
class | CCMenuItemAtlasFont |
A CCMenuItemAtlasFont Helper class that creates a MenuItemLabel class with a LabelAtlas. More... | |
class | CCMenuItemFont |
A CCMenuItemFont Helper class that creates a CCMenuItemLabel class with a Label. More... | |
class | CCMenuItemSprite |
CCMenuItemSprite accepts CCNode<CCRGBAProtocol> objects as items. More... | |
class | CCMenuItemImage |
CCMenuItemImage accepts images as items. More... | |
class | CCMenuItemToggle |
A CCMenuItemToggle A simple container class that "toggles" it's inner items The inner items can be any MenuItem. More... | |
class | CCClippingNode |
CCClippingNode is a subclass of CCNode. More... | |
class | CCMotionStreak |
MotionStreak. More... | |
class | CCProgressTimer |
CCProgressTimer is a subclass of CCNode. More... | |
class | CCRenderTexture |
CCRenderTexture is a generic rendering target. More... | |
class | CCParticleBatchNode |
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... | |
class | CCParticleFire |
A fire particle system. More... | |
class | CCParticleFireworks |
A fireworks particle system. More... | |
class | CCParticleSun |
A sun particle system. More... | |
class | CCParticleGalaxy |
A galaxy particle system. More... | |
class | CCParticleFlower |
A flower particle system. More... | |
class | CCParticleMeteor |
A meteor particle system. More... | |
class | CCParticleSpiral |
An spiral particle system. More... | |
class | CCParticleExplosion |
An explosion particle system. More... | |
class | CCParticleSmoke |
An smoke particle system. More... | |
class | CCParticleSnow |
An snow particle system. More... | |
class | CCParticleRain |
A rain particle system. More... | |
class | CCParticleSystem |
Particle System base class. More... | |
class | CCParticleSystemQuad |
CCParticleSystemQuad is a subclass of CCParticleSystem. More... | |
class | CCAccelerometer |
The CCAccelerometer class lets you register to receive acceleration-related data from the onboard hardware. More... | |
class | CCApplication |
class | CCEGLView |
class | CCFileUtilsAndroid |
Helper class to handle file operations. More... | |
class | JniHelper |
class | CCFileUtilsBlackberry |
Helper class to handle file operations. More... | |
class | CCAcceleration |
The device accelerometer reports values for each axis in units of g-force. More... | |
class | CCAccelerometerDelegate |
The CCAccelerometerDelegate defines a single method for receiving acceleration-related data from the system. More... | |
class | CCApplicationProtocol |
class | CCDevice |
class | CCEGLViewProtocol |
class | CCFileUtils |
Helper class to handle file operations. More... | |
class | CCImage |
struct | tImageSource |
struct | my_error_mgr |
class | CCSAXDelegator |
class | CCSAXParser |
class | CCThread |
class | CCFileUtilsEmscripten |
Helper class to handle file operations. More... | |
class | CCFileUtilsIOS |
Helper class to handle file operations. More... | |
class | CCLock |
class | CCFileUtilsLinux |
Helper class to handle file operations. More... | |
class | CCFileUtilsMac |
Helper class to handle file operations. More... | |
class | CCFileUtilsMarmalade |
Helper class to handle file operations. More... | |
class | CCFileUtilsNaCl |
Helper class to handle file operations. More... | |
struct | cc_timeval |
class | CCTime |
class | CCFileUtilsTizen |
Helper class to handle file operations. More... | |
class | CCFileUtilsWin32 |
Helper class to handle file operations. More... | |
struct | timezone |
class | sealed |
class | CCFileUtilsWinRT |
Helper class to handle file operations. More... | |
class | CCFreeTypeFont |
class | CCPrecompiledShaders |
class | CCScriptHandlerEntry |
class | CCSchedulerScriptHandlerEntry |
@ @ More... | |
class | CCTouchScriptHandlerEntry |
class | CCScriptEngineProtocol |
class | CCScriptEngineManager |
@ More... | |
class | CCGLProgram |
CCGLProgram Class that implements a glProgram. More... | |
class | CCShaderCache |
CCShaderCache Singleton that stores manages GL shaders. More... | |
class | CCAnimationFrame |
CCAnimationFrame A frame of the animation. More... | |
class | CCAnimation |
A CCAnimation object is used to perform animations on the CCSprite objects. More... | |
class | CCAnimationCache |
Singleton that manages the Animations. More... | |
class | CCSprite |
CCSprite is a 2d image ( http://en.wikipedia.org/wiki/Sprite_(computer_graphics) ) More... | |
class | CCSpriteBatchNode |
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... | |
class | CCSpriteFrame |
A CCSpriteFrame has: More... | |
class | CCSpriteFrameCache |
Singleton that handles the loading of the sprite frames. More... | |
class | CCNotificationCenter |
class | CCNotificationObserver |
class | CCProfiler |
CCProfiler cocos2d builtin profiler. More... | |
class | CCProfilingTimer |
class | CCComponent |
class | CCComponentContainer |
class | CCUserDefault |
CCUserDefault acts as a tiny database. More... | |
struct | CCIMEKeyboardNotificationInfo |
class | CCIMEDelegate |
Input method editor delegate. More... | |
class | CCIMEDispatcher |
Input Method Edit Message Dispatcher. More... | |
class | CCTextFieldDelegate |
class | CCTextFieldTTF |
@ More... | |
class | CCTexture2D |
CCTexture2D class. More... | |
class | CCTextureAtlas |
A class that implements a Texture Atlas. More... | |
class | CCTextureCache |
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... | |
class | CCTextureETC |
struct | CCPVRMipmap |
Structure which can tell where mipmap begins and how long is it. More... | |
class | CCTexturePVR |
CCTexturePVR. More... | |
class | CCParallaxNode |
CCParallaxNode: A node that simulates a parallax scroller. More... | |
class | CCTileMapAtlas |
CCTileMapAtlas is a subclass of CCAtlasNode. More... | |
class | CCTMXLayer |
CCTMXLayer represents the TMX layer. More... | |
class | CCTMXObjectGroup |
CCTMXObjectGroup represents the TMX object group. More... | |
class | CCTMXTiledMap |
CCTMXTiledMap knows how to parse and render a TMX map. More... | |
class | CCTMXLayerInfo |
CCTMXLayerInfo contains the information about the layers like: More... | |
class | CCTMXTilesetInfo |
CCTMXTilesetInfo contains the information about the tilesets like: More... | |
class | CCTMXMapInfo |
CCTMXMapInfo contains the information about the map like: More... | |
class | CCTouch |
class | CCEvent |
class | CCTouchDelegate |
class | CCTargetedTouchDelegate |
@ More... | |
class | CCStandardTouchDelegate |
struct | ccTouchHandlerHelperData |
class | EGLTouchDelegate |
class | CCTouchDispatcher |
class | CCTouchHandler |
CCTouchHandler Object than contains the delegate and priority of the event handler. More... | |
class | CCStandardTouchHandler |
class | CCTargetedTouchHandler |
class | CCLuaBridge |
class | CCLuaEngine |
Lua support for cocos2d-x. More... | |
class | CCLuaStack |
Lua support for cocos2d-x. More... | |
union | CCLuaValueField |
class | CCLuaValue |
Lua support for cocos2d-x. More... | |
class | CCLuaObjcBridge |
Typedefs | |
typedef void(CCObject::* | SEL_SCHEDULE )(float) |
typedef void(CCObject::* | SEL_CallFunc )() |
typedef void(CCObject::* | SEL_CallFuncN )(CCNode *) |
typedef void(CCObject::* | SEL_CallFuncND )(CCNode *, void *) |
typedef void(CCObject::* | SEL_CallFuncO )(CCObject *) |
typedef void(CCObject::* | SEL_MenuHandler )(CCObject *) |
typedef void(CCObject::* | SEL_EventHandler )(CCEvent *) |
typedef int(CCObject::* | SEL_Compare )(CCObject *) |
typedef std::set< CCObject * > ::iterator | CCSetIterator |
typedef struct my_error_mgr * | my_error_ptr |
typedef unsigned char | CC_XML_CHAR |
typedef LRESULT(* | CUSTOM_WND_PROC )(UINT message, WPARAM wParam, LPARAM lParam, BOOL *pProcessed) |
typedef HANDLE | pthread_t |
typedef HANDLE | pthread_mutex_t |
typedef int | pthread_cond_t |
typedef void(* | GLInfoFunction )(GLuint program, GLenum pname, GLint *params) |
typedef void(* | GLLogFunction )(GLuint program, GLsizei bufsize, GLsizei *length, GLchar *infolog) |
typedef int | LUA_FUNCTION |
typedef int | LUA_TABLE |
typedef int | LUA_STRING |
typedef std::map< std::string, CCLuaValue > | CCLuaValueDict |
typedef CCLuaValueDict::const_iterator | CCLuaValueDictIterator |
typedef std::list< CCLuaValue > | CCLuaValueArray |
typedef CCLuaValueArray::const_iterator | CCLuaValueArrayIterator |
Functions | |
CC_DLL CCPoint | (CCPoint &p0, CCPoint &p1, CCPoint &p2, CCPoint &p3, float tension, float t) |
CC_DLL CCAffineTransform | (float a, float b, float c, float d, float tx, float ty) |
CC_DLL CCPoint | (const CCPoint &point, const CCAffineTransform &t) |
CC_DLL CCSize | (const CCSize &size, const CCAffineTransform &t) |
CC_DLL CCAffineTransform | () |
CC_DLL CCRect | (const CCRect &rect, const CCAffineTransform &anAffineTransform) |
CC_DLL CCAffineTransform | (const CCAffineTransform &t, float tx, float ty) |
CC_DLL CCAffineTransform | (const CCAffineTransform &aTransform, float anAngle) |
CC_DLL CCAffineTransform | (const CCAffineTransform &t, float sx, float sy) |
CC_DLL CCAffineTransform | (const CCAffineTransform &t1, const CCAffineTransform &t2) |
CC_DLL bool | (const CCAffineTransform &t1, const CCAffineTransform &t2) |
CC_DLL CCAffineTransform | (const CCAffineTransform &t) |
CCRect CC_DLL | (const char *pszContent) |
Returns a Core Graphics rectangle structure corresponding to the data in a given string. More... | |
CCPoint CC_DLL | (const char *pszContent) |
Returns a Core Graphics point structure corresponding to the data in a given string. More... | |
CCSize CC_DLL | (const char *pszContent) |
Returns a Core Graphics size structure corresponding to the data in a given string. More... | |
void CC_DLL | () |
Initializes the drawing primitives. More... | |
void CC_DLL | () |
Frees allocated resources by the drawing primitives. More... | |
void CC_DLL | (const CCPoint &point) |
draws a point given x and y coordinate measured in points More... | |
void CC_DLL | (const CCPoint *points, unsigned int numberOfPoints) |
draws an array of points. More... | |
void CC_DLL | (const CCPoint &origin, const CCPoint &destination) |
draws a line given the origin and destination point measured in points More... | |
void CC_DLL | (CCPoint origin, CCPoint destination) |
draws a rectangle given the origin and destination point measured in points. More... | |
void CC_DLL | (CCPoint origin, CCPoint destination, ccColor4F color) |
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... | |
void CC_DLL | (const CCPoint *poli, unsigned int numberOfPoints, ccColor4F color) |
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... | |
void CC_DLL | (const CCPoint ¢er, float radius, float angle, unsigned int segments, bool drawLineToCenter) |
void CC_DLL | (const CCPoint &origin, const CCPoint &control, const CCPoint &destination, unsigned int segments) |
draws a quad bezier path More... | |
void CC_DLL | (const CCPoint &origin, const CCPoint &control1, const CCPoint &control2, const CCPoint &destination, unsigned int segments) |
draws a cubic bezier path More... | |
void CC_DLL | (CCPointArray *arrayOfControlPoints, unsigned int segments) |
draws a Catmull Rom path. More... | |
void CC_DLL | (CCPointArray *config, float tension, unsigned int segments) |
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... | |
CC_DLL const char * | () |
CC_DLL CCBMFontConfiguration * | (const char *file) |
CC_DLL void | (void) |
Purges the FNT config cache. More... | |
void CC_DLL | (const char *pszFormat,...) |
Output Debug message. More... | |
void CC_DLL | (const char *pszFormat) |
lua can not deal with ... More... | |
void CC_DLL | (const char *pszMsg, const char *pszTitle) |
Pop out a message box. More... | |
(void) my_error_exit(j_common_ptr cinfo) | |
int CC_DLL | (struct timeval *, struct timezone *) |
void | (pthread_mutex_t *m, void *attributes) |
int | (pthread_mutex_t *m) |
int | (pthread_mutex_t *m) |
void | (pthread_mutex_t *m) |
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) |
void CC_DLL | (void) |
Invalidates the GL state cache. More... | |
void CC_DLL | (GLuint program) |
Uses the GL program in case program is different than the current one. More... | |
void CC_DLL | (GLuint program) |
Deletes the GL program. More... | |
void CC_DLL | (GLenum sfactor, GLenum dfactor) |
Uses a blending function in case it not already used. More... | |
void CC_DLL | (void) |
Resets the blending mode back to the cached state in case you used glBlendFuncSeparate() or glBlendEquation(). More... | |
void CC_DLL | (void) |
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... | |
void CC_DLL | (GLuint textureUnit, GLuint textureId) |
It will delete a given texture. More... | |
void CC_DLL | (GLuint vaoId) |
If the vertex array is not already bound, it binds it. More... | |
void CC_DLL | (ccGLServerState flags) |
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... | |
float CC_DLL | (const CCPoint &v) |
Calculates distance between point an origin. More... | |
float CC_DLL | (const CCPoint &v1, const CCPoint &v2) |
Calculates the distance between two points. More... | |
CCPoint CC_DLL | (const CCPoint &v) |
Returns point multiplied to a length of 1. More... | |
CCPoint CC_DLL | (const float a) |
Converts radians to a normalized vector. More... | |
float CC_DLL | (const CCPoint &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... | |
CCPoint CC_DLL | (const CCPoint &p, const CCPoint &from, const CCPoint &to) |
Clamp a point between from and to. More... | |
CCPoint CC_DLL | (const CCSize &s) |
Quickly convert CCSize to a CCPoint. More... | |
CCPoint CC_DLL | (const CCPoint &p, float(*opFunc)(float)) |
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... | |
CCPoint CC_DLL | (const CCPoint &a, const CCPoint &b, float alpha) |
Linear Interpolation between two points a and b. More... | |
bool CC_DLL | (const CCPoint &a, const CCPoint &b, float variance) |
CCPoint CC_DLL | (const CCPoint &a, const CCPoint &b) |
Multiplies a and b components, a.x*b.x, a.y*b.y. More... | |
float CC_DLL | (const CCPoint &a, const CCPoint &b) |
float CC_DLL | (const CCPoint &a, const CCPoint &b) |
CCPoint CC_DLL | (const CCPoint &v, const CCPoint &pivot, float angle) |
Rotates a point counter clockwise by the angle around a pivot. More... | |
bool CC_DLL | (const CCPoint &p1, const CCPoint &p2, const CCPoint &p3, const CCPoint &p4, float *s, float *t) |
A general line-line intersection test. More... | |
bool CC_DLL | (const CCPoint &A, const CCPoint &B, const CCPoint &C, const CCPoint &D) |
CCPoint CC_DLL | (const CCPoint &A, const CCPoint &B, const CCPoint &C, const CCPoint &D) |
CC_DLL void | (const char *timerName) |
CC_DLL void | (const char *timerName) |
CC_DLL void | (const char *timerName) |
CC_DLL int | (const unsigned short *str) |
CC_DLL void | (std::vector< unsigned short > *str) |
CC_DLL bool | (unsigned short ch) |
CC_DLL long | (const char *p, int max) |
CC_DLL unsigned int | (std::vector< unsigned short > str, unsigned short c) |
CC_DLL std::vector< unsigned short > | (const unsigned short *str) |
CC_DLL unsigned short * | (const char *str_old, int length=-1, int *rUtf16Size=NULL) |
CC_DLL char * | (const unsigned short *str, long len, long *items_read, long *items_written) |
cc_utf16_to_utf8: : a UTF-16 encoded string : the maximum length of to use. More... | |
unsigned long | (unsigned long value) |
returns the Next Power of Two value. More... | |
void CC_DLL | (CCPoint *points, float stroke, ccVertex2F *vertices, unsigned int offset, unsigned int 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... | |
void | (const CCAffineTransform *t, GLfloat *m) |
void | (const GLfloat *m, CCAffineTransform *t) |
typedef std::list<CCLuaValue> CCLuaValueArray |
typedef CCLuaValueArray::const_iterator CCLuaValueArrayIterator |
typedef std::map<std::string, CCLuaValue> CCLuaValueDict |
typedef CCLuaValueDict::const_iterator CCLuaValueDictIterator |
typedef LRESULT(* CUSTOM_WND_PROC)(UINT message, WPARAM wParam, LPARAM lParam, BOOL *pProcessed) |
typedef int LUA_FUNCTION |
typedef int LUA_STRING |
typedef int LUA_TABLE |
typedef struct my_error_mgr* my_error_ptr |
typedef int pthread_cond_t |
typedef HANDLE pthread_mutex_t |
typedef HANDLE pthread_t |
enum ccConfigurationType |
enum CCLuaBridgeError |
enum CCLuaValueType |
enum ccScriptType |
enum CCTextAlignment |
enum ccTouchesMode |
enum TargetPlatform |
CC_DLL int cocos2d::cc_wcslen | ( | const unsigned short * | str) |
CC_DLL void cocos2d::cc_utf8_trim_ws |
( | std::vector< unsigned short > * | str) |
CC_DLL bool cocos2d::isspace_unicode |
( | unsigned short | ch) |
void cocos2d::CGAffineToGL | ( | const CCAffineTransform * | t, |
GLfloat * | m | ||
) |
void cocos2d::GLToCGAffine | ( | const GLfloat * | m, |
CCAffineTransform * | t | ||
) |
CC_DLL CCAffineTransform cocos2d::__CCAffineTransformMake |
( | float | a, |
float | b, | ||
float | c, | ||
float | d, | ||
float | tx, | ||
float | ty | ||
) |
void cocos2d::pthread_mutex_init | ( | pthread_mutex_t * | m, |
void * | attributes | ||
) |
CC_DLL CCPoint cocos2d::__CCPointApplyAffineTransform |
( | const CCPoint & | point, |
const CCAffineTransform & | t | ||
) |
std::wstring CC_DLL cocos2d::CCUtf8ToUnicode |
( | const char * | pszUtf8Str, |
unsigned | len = -1 |
||
) |
int cocos2d::pthread_mutex_lock | ( | pthread_mutex_t * | m) |
CC_DLL long cocos2d::cc_utf8_strlen | ( | const char * | p, |
int | max | ||
) |
std::string CC_DLL cocos2d::CCUnicodeToUtf8 |
( | const wchar_t * | pwszStr) |
CC_DLL CCSize cocos2d::__CCSizeApplyAffineTransform |
( | const CCSize & | size, |
const CCAffineTransform & | t | ||
) |
std::string cocos2d::PlatformStringToString |
( | Platform::String^ | s) |
int cocos2d::pthread_mutex_unlock | ( | pthread_mutex_t * | m) |
unsigned long cocos2d::ccNextPOT | ( | unsigned long | value) |
returns the Next Power of Two value.
Examples:
void cocos2d::pthread_mutex_destroy | ( | pthread_mutex_t * | m) |
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.
float cocos2d::ConvertDipsToPixels | ( | float | dips) |
CC_DLL CCAffineTransform cocos2d::CCAffineTransformMakeIdentity |
( | ) |
float cocos2d::getScaledDPIValue | ( | float | v) |
CC_DLL CCRect cocos2d::CCRectApplyAffineTransform |
( | const CCRect & | rect, |
const CCAffineTransform & | anAffineTransform | ||
) |
Concurrency::task <Platform::Array<byte> ^> cocos2d::ReadDataAsync |
( | Platform::String^ | path) |
CC_DLL CCAffineTransform cocos2d::CCAffineTransformTranslate |
( | const CCAffineTransform & | t, |
float | tx, | ||
float | ty | ||
) |
CC_DLL unsigned int cocos2d::cc_utf8_find_last_not_char |
( | std::vector< unsigned short > | str, |
unsigned short | c | ||
) |
CC_DLL CCAffineTransform cocos2d::CCAffineTransformRotate |
( | const CCAffineTransform & | aTransform, |
float | anAngle | ||
) |
CC_DLL CCAffineTransform cocos2d::CCAffineTransformScale |
( | const CCAffineTransform & | t, |
float | sx, | ||
float | sy | ||
) |
CC_DLL std::vector<unsigned short> cocos2d::cc_utf16_vec_from_utf16_str |
( | const unsigned short * | str) |
CC_DLL CCAffineTransform cocos2d::CCAffineTransformConcat |
( | const CCAffineTransform & | t1, |
const CCAffineTransform & | t2 | ||
) |
CC_DLL bool cocos2d::CCAffineTransformEqualToTransform |
( | const CCAffineTransform & | t1, |
const CCAffineTransform & | t2 | ||
) |
CC_DLL CCAffineTransform cocos2d::CCAffineTransformInvert |
( | const CCAffineTransform & | t) |
Returns a Core Graphics point structure corresponding to the data in a given string.
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. |
CC_DLL unsigned short* cocos2d::cc_utf8_to_utf16 |
( | const char * | str_old, |
int | length = -1 , |
||
int * | rUtf16Size = NULL |
||
) |
Returns a Core Graphics size structure corresponding to the data in a given string.
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. |
void CC_DLL cocos2d::ccDrawFree | ( | ) |
Frees allocated resources by the drawing primitives.
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.
CC_DLL char* cocos2d::cc_utf16_to_utf8 |
( | const unsigned short * | str, |
long | len, | ||
long * | items_read, | ||
long * | items_written | ||
) |
cc_utf16_to_utf8: : a UTF-16 encoded string : the maximum length of to use.
If < 0, then the string is terminated with a 0 character. : location to store number of words read, or NULL. If NULL, then G_CONVERT_ERROR_PARTIAL_INPUT will be returned in case contains a trailing partial character. If an error occurs then the index of the invalid input is stored here. : location to store number of bytes written, or NULL. The value stored here does not include the trailing 0 byte. : location to store the error occuring, or NULL to ignore errors. Any of the errors in #GConvertError other than G_CONVERT_ERROR_NO_CONVERSION may occur.
Convert a string from UTF-16 to UTF-8. The result will be terminated with a 0 byte.
Return value: a pointer to a newly allocated UTF-8 string. This value must be freed with free(). If an error occurs, NULL will be returned and set.
CC_DLL void cocos2d::CCProfilingEndTimingBlock |
( | const char * | timerName) |
CC_DLL void cocos2d::CCProfilingResetTimingBlock |
( | const char * | timerName) |
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.
void CC_DLL cocos2d::ccSetProjectionMatrixDirty |
( | void | ) |
sets the projection matrix as dirty
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.
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.
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.
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.
float CC_DLL cocos2d::ccpLength | ( | const CCPoint & | v) |
Calculates distance between point an origin.
float CC_DLL cocos2d::ccpDistance | ( | const CCPoint & | v1, |
const CCPoint & | v2 | ||
) |
Calculates the distance between two points.
float CC_DLL cocos2d::ccpToAngle | ( | const CCPoint & | v) |
Converts a vector to radians.
bool CC_DLL cocos2d::ccpFuzzyEqual | ( | const CCPoint & | a, |
const CCPoint & | b, | ||
float | variance | ||
) |
Multiplies a and b components, a.x*b.x, a.y*b.y.
float CC_DLL cocos2d::ccpAngleSigned |
( | const CCPoint & | a, |
const CCPoint & | b | ||
) |
float CC_DLL cocos2d::ccpAngle | ( | const CCPoint & | a, |
const CCPoint & | b | ||
) |
cocos2d::METHODDEF | ( | void | ) |
Rotates a point counter clockwise by the angle around a pivot.
v | is the point to rotate |
pivot | is the pivot, naturally |
angle | is the angle of rotation cw in radians |
CC_DLL const char* cocos2d::cocos2dVersion |
( | ) |
CCPoint CC_DLL cocos2d::ccpIntersectPoint |
( | const CCPoint & | A, |
const CCPoint & | B, | ||
const CCPoint & | C, | ||
const CCPoint & | D | ||
) |
CC_DLL const CCAffineTransform CCAffineTransformIdentity |