Add deprecated global functions and variables here. More...
Namespaces | |
DrawPrimitives | |
experimental | |
extension | |
GL | |
network | |
StringUtils | |
tweenfunc | |
ui | |
Classes | |
class | __Array |
class | __Bool |
class | __CCCallFuncND |
Calls a 'callback' with the node as the first argument and the 2nd argument is data ND means: Node and Data. Data is void *, so it could be anything. More... | |
class | __CCCallFuncO |
Calls a 'callback' with an object as the first argument. O means Object. More... | |
class | __Dictionary |
Dictionary is a class like NSDictionary in Obj-C . More... | |
class | __Double |
class | __Float |
class | __Integer |
class | __LayerRGBA |
LayerRGBA is a subclass of Layer that implements the RGBAProtocol protocol using a solid color as the background. More... | |
class | __NodeRGBA |
NodeRGBA is a subclass of Node that implements the RGBAProtocol protocol. More... | |
class | __NotificationCenter |
class | __RGBAProtocol |
RGBA protocol that affects Node's color and opacity. More... | |
class | __Set |
class | __String |
class | AccelAmplitude |
AccelAmplitude action. More... | |
class | AccelDeccelAmplitude |
AccelDeccelAmplitude action. More... | |
class | Acceleration |
The device accelerometer reports values for each axis in units of g-force. More... | |
class | AccelerometerEvent |
class | Action |
Base class for Action objects. More... | |
class | ActionCamera |
Base class for Camera actions. More... | |
class | ActionEase |
Base class for Easing actions. More... | |
class | ActionInstant |
Instant actions are immediate actions. More... | |
class | ActionInterval |
An interval action is an action that takes place within a certain period of time. More... | |
class | ActionManager |
ActionManager is a singleton that manages all the actions. More... | |
class | ActionTween |
ActionTween. More... | |
class | ActionTweenDelegate |
struct | AffineTransform |
class | Animate |
Animates a sprite given the name of an Animation. More... | |
class | Animation |
A Animation object is used to perform animations on the Sprite objects. More... | |
class | AnimationCache |
Singleton that manages the Animations. More... | |
class | AnimationFrame |
AnimationFrame A frame of the animation. More... | |
struct | AnimationFrameData |
class | Application |
class | ApplicationProtocol |
class | AtlasNode |
AtlasNode is a subclass of Node that implements the RGBAProtocol and TextureProtocol protocol. More... | |
class | AutoreleasePool |
class | BackButtonEvent |
class | BatchCommand |
class | BezierBy |
An action that moves the target with a cubic Bezier curve by a certain distance. More... | |
class | BezierTo |
An action that moves the target with a cubic Bezier curve to a destination point. More... | |
struct | BlendFunc |
Blend Function used for textures. More... | |
class | BlendProtocol |
Specify the blending function according glBlendFunc Please refer to glBlendFunc in OpenGL ES Manual http://www.khronos.org/opengles/sdk/docs/man/xhtml/glBlendFunc.xml for more details. More... | |
class | Blink |
Blinks a Node object by modifying it's visible attribute. More... | |
class | CallFunc |
Calls a 'callback'. More... | |
class | CallFuncN |
Calls a 'callback' with the node as the first argument N means Node. More... | |
class | CardinalSplineBy |
Cardinal Spline path. More... | |
class | CardinalSplineTo |
Cardinal Spline path. More... | |
class | CatmullRomBy |
An action that moves the target with a CatmullRom curve by a certain distance. More... | |
class | CatmullRomTo |
An action that moves the target with a CatmullRom curve to a destination point. More... | |
class | CCFileUtilsWinRT |
Helper class to handle file operations. More... | |
class | CCFreeTypeFont |
class | CCPrecompiledShaders |
struct | CCZHeader |
class | ClippingNode |
ClippingNode is a subclass of Node. More... | |
class | Clonable |
Interface that defines how to clone an Ref. More... | |
struct | Color3B |
RGB color composed of bytes 3 bytes. More... | |
struct | Color4B |
RGBA color composed of 4 bytes. More... | |
struct | Color4F |
RGBA color composed of 4 floats. More... | |
class | Component |
class | ComponentContainer |
class | Configuration |
Configuration contains some openGL variables. More... | |
class | CustomCommand |
class | Data |
class | DataVisitor |
Visitor that helps to perform action that depends on polymorphic object type. More... | |
class | DeccelAmplitude |
DeccelAmplitude action. More... | |
class | DelayTime |
Delays the action a certain amount of seconds. More... | |
class | Device |
class | DictElement |
DictElement is used for traversing Dictionary. More... | |
class | Director |
class | DirectorDelegate |
OpenGL projection protocol. More... | |
class | DisplayLinkDirector |
DisplayLinkDirector is a Director that synchronizes timers with the refresh rate of the display. More... | |
class | DrawNode |
DrawNode Node that draws dots, segments and polygons. More... | |
class | EaseBackIn |
EaseBackIn action. More... | |
class | EaseBackInOut |
EaseBackInOut action. More... | |
class | EaseBackOut |
EaseBackOut action. More... | |
class | EaseBezierAction |
Ease Bezier. More... | |
class | EaseBounce |
EaseBounce abstract class. More... | |
class | EaseBounceIn |
EaseBounceIn action. More... | |
class | EaseBounceInOut |
EaseBounceInOut action. More... | |
class | EaseBounceOut |
EaseBounceOut action. More... | |
class | EaseCircleActionIn |
Ease Circle In. More... | |
class | EaseCircleActionInOut |
Ease Circle InOut. More... | |
class | EaseCircleActionOut |
Ease Circle Out. More... | |
class | EaseCubicActionIn |
Ease Cubic In. More... | |
class | EaseCubicActionInOut |
Ease Cubic InOut. More... | |
class | EaseCubicActionOut |
Ease Cubic Out. More... | |
class | EaseElastic |
Ease Elastic abstract class. More... | |
class | EaseElasticIn |
Ease Elastic In action. More... | |
class | EaseElasticInOut |
Ease Elastic InOut action. More... | |
class | EaseElasticOut |
Ease Elastic Out action. More... | |
class | EaseExponentialIn |
Ease Exponential In. More... | |
class | EaseExponentialInOut |
Ease Exponential InOut. More... | |
class | EaseExponentialOut |
Ease Exponential Out. More... | |
class | EaseIn |
EaseIn action with a rate. More... | |
class | EaseInOut |
EaseInOut action with a rate. More... | |
class | EaseOut |
EaseOut action with a rate. More... | |
class | EaseQuadraticActionIn |
Ease Quadratic In. More... | |
class | EaseQuadraticActionInOut |
Ease Quadratic InOut. More... | |
class | EaseQuadraticActionOut |
Ease Quadratic Out. More... | |
class | EaseQuarticActionIn |
Ease Quartic In. More... | |
class | EaseQuarticActionInOut |
Ease Quartic InOut. More... | |
class | EaseQuarticActionOut |
Ease Quartic Out. More... | |
class | EaseQuinticActionIn |
Ease Quintic In. More... | |
class | EaseQuinticActionInOut |
Ease Quintic InOut. More... | |
class | EaseQuinticActionOut |
Ease Quintic Out. More... | |
class | EaseRateAction |
Base class for Easing actions with rate parameters. More... | |
class | EaseSineIn |
Ease Sine In. More... | |
class | EaseSineInOut |
Ease Sine InOut. More... | |
class | EaseSineOut |
Ease Sine Out. More... | |
class | Event |
Base class of all kinds of events. More... | |
class | EventAcceleration |
class | EventCustom |
class | EventDispatcher |
This class manages event listener subscriptions and event dispatching. More... | |
class | EventFocus |
class | EventKeyboard |
class | EventListener |
The base class of event listener. More... | |
class | EventListenerAcceleration |
class | EventListenerCustom |
Usage: auto dispatcher = Director::getInstance()->getEventDispatcher(); Adds a listener: More... | |
class | EventListenerFocus |
class | EventListenerKeyboard |
class | EventListenerMouse |
class | EventListenerTouchAllAtOnce |
class | EventListenerTouchOneByOne |
class | EventMouse |
class | EventTouch |
class | FadeIn |
Fades In an object that implements the RGBAProtocol protocol. More... | |
class | FadeOut |
Fades Out an object that implements the RGBAProtocol protocol. More... | |
class | FadeOutBLTiles |
FadeOutBLTiles action. More... | |
class | FadeOutDownTiles |
FadeOutDownTiles action. More... | |
class | FadeOutTRTiles |
FadeOutTRTiles action Fades out the tiles in a Top-Right direction. More... | |
class | FadeOutUpTiles |
FadeOutUpTiles action. More... | |
class | FadeTo |
Fades an object that implements the RGBAProtocol protocol. More... | |
class | FileUtils |
Helper class to handle file operations. More... | |
class | FileUtilsAndroid |
Helper class to handle file operations. More... | |
class | FileUtilsApple |
Helper class to handle file operations. More... | |
class | FileUtilsLinux |
Helper class to handle file operations. More... | |
class | FileUtilsWin32 |
Helper class to handle file operations. More... | |
class | FiniteTimeAction |
Base class actions that do have a finite time duration. More... | |
class | FlipX |
Flips the sprite horizontally. More... | |
class | FlipX3D |
FlipX3D action. More... | |
class | FlipY |
Flips the sprite vertically. More... | |
class | FlipY3D |
FlipY3D action. More... | |
class | Follow |
Follow is an action that "follows" a node. More... | |
class | Font |
class | FontAtlas |
class | FontAtlasCache |
class | FontCharMap |
struct | FontDefinition |
class | FontFNT |
class | FontFreeType |
struct | FontLetterDefinition |
struct | FontShadow |
types used for defining fonts properties (i.e. More... | |
struct | FontStroke |
class | GLProgram |
GLProgram Class that implements a glProgram. More... | |
class | GLProgramCache |
GLProgramCache Singleton that stores manages GLProgram objects (shaders) More... | |
class | GLProgramState |
GLProgramState holds the 'state' (uniforms and attributes) of the GLProgram. More... | |
class | GLProgramStateCache |
class | GLView |
Class that represent the OpenGL View. More... | |
class | GLViewProtocol |
class | Grabber |
FBO class that grabs the the contents of the screen. More... | |
class | Grid3D |
Grid3D is a 3D grid implementation. More... | |
class | Grid3DAction |
Base class for Grid3D actions. More... | |
class | GridAction |
Base class for Grid actions. More... | |
class | GridBase |
Base class for other. More... | |
class | GroupCommand |
class | GroupCommandManager |
class | Hide |
Hide the node. More... | |
class | Image |
class | IMEDelegate |
Input method editor delegate. More... | |
class | IMEDispatcher |
Input Method Edit Message Dispatcher. More... | |
struct | IMEKeyboardNotificationInfo |
class | InputEvent |
class | JniHelper |
class | JumpBy |
Moves a Node object simulating a parabolic jump movement by modifying it's position attribute. More... | |
class | JumpTiles3D |
JumpTiles3D action. More... | |
class | JumpTo |
Moves a Node object to a parabolic position simulating a jump movement by modifying it's position attribute. More... | |
class | KeyboardEvent |
class | Label |
class | LabelAtlas |
LabelAtlas is a subclass of AtlasNode. More... | |
class | LabelBMFont |
LabelBMFont is a subclass of SpriteBatchNode. More... | |
class | LabelProtocol |
Common interface for Labels. More... | |
class | LabelTextFormatter |
class | LabelTTF |
LabelTTF is a subclass of TextureNode that knows how to render text labels. More... | |
class | Layer |
Layer is a subclass of Node that implements the TouchEventsDelegate protocol. More... | |
class | LayerColor |
LayerColor is a subclass of Layer that implements the RGBAProtocol protocol. More... | |
class | LayerGradient |
LayerGradient is a subclass of LayerColor that draws gradients across the background. More... | |
class | LayerMultiplex |
MultipleLayer is a Layer with the ability to multiplex it's children. More... | |
class | Lens3D |
Lens3D action. More... | |
class | Liquid |
Liquid action. More... | |
class | Lock |
class | LuaBridge |
class | LuaCallFunc |
class | LuaEngine |
class | LuaObjcBridge |
class | LuaStack |
class | LuaValue |
union | LuaValueField |
class | Map |
class | Menu |
A Menu. More... | |
class | MenuItem |
MenuItem base class. More... | |
class | MenuItemAtlasFont |
A MenuItemAtlasFont Helper class that creates a MenuItemLabel class with a LabelAtlas. More... | |
class | MenuItemFont |
A MenuItemFont Helper class that creates a MenuItemLabel class with a Label. More... | |
class | MenuItemImage |
MenuItemImage accepts images as items. More... | |
class | MenuItemLabel |
An abstract class for "label" MenuItemLabel items Any Node that supports the LabelProtocol protocol can be added. More... | |
class | MenuItemSprite |
MenuItemSprite accepts Node<RGBAProtocol> objects as items. More... | |
class | MenuItemToggle |
A MenuItemToggle A simple container class that "toggles" it's inner items The inner items can be any MenuItem. More... | |
class | Mesh |
Mesh: TODO, add description of Mesh. More... | |
class | MeshCommand |
struct | MeshVertexAttrib |
class | MotionStreak |
MotionStreak. More... | |
class | MoveBy |
Moves a Node object x,y pixels by modifying it's position attribute. More... | |
class | MoveTo |
Moves a Node object to the position x,y. More... | |
class | Node |
Node is the base element of the Scene Graph. More... | |
class | NodeGrid |
class | NotificationObserver |
class | ObjLoader |
class | OrbitCamera |
OrbitCamera action Orbits the camera around the center of the screen using spherical coordinates. More... | |
class | PageTurn3D |
This action simulates a page turn from the bottom right hand corner of the screen. More... | |
class | ParallaxNode |
ParallaxNode: A node that simulates a parallax scroller. More... | |
class | ParticleBatchNode |
ParticleBatchNode 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 | ParticleExplosion |
An explosion particle system. More... | |
class | ParticleFire |
A fire particle system. More... | |
class | ParticleFireworks |
A fireworks particle system. More... | |
class | ParticleFlower |
A flower particle system. More... | |
class | ParticleGalaxy |
A galaxy particle system. More... | |
class | ParticleMeteor |
A meteor particle system. More... | |
class | ParticleRain |
A rain particle system. More... | |
class | ParticleSmoke |
An smoke particle system. More... | |
class | ParticleSnow |
An snow particle system. More... | |
class | ParticleSpiral |
An spiral particle system. More... | |
class | ParticleSun |
A sun particle system. More... | |
class | ParticleSystem |
Particle System base class. More... | |
class | ParticleSystemQuad |
ParticleSystemQuad is a subclass of ParticleSystem. More... | |
class | Place |
Places the node in a certain position. More... | |
class | PointArray |
An Array that contain control points. More... | |
class | PointerEvent |
struct | PointSprite |
Vec2 Sprite component. More... | |
class | PoolManager |
class | PrettyPrinter |
class | Profiler |
Profiler cocos2d builtin profiler. More... | |
class | ProfilingTimer |
class | ProgressFromTo |
Progress from a percentage to another percentage. More... | |
class | ProgressTimer |
ProgressTimer is a subclass of Node. More... | |
class | ProgressTo |
Progress to percentage. More... | |
class | ProtectedNode |
struct | Quad2 |
A 2D Quad. 4 * 2 floats. More... | |
struct | Quad3 |
A 3D Quad. 4 * 3 floats. More... | |
class | QuadCommand |
Command used to render one or more Quads. More... | |
class | Rect |
class | Ref |
class | RefPtr |
Wrapper class which maintains a strong reference to a cocos2dx cocos2d::Ref* type object. More... | |
class | RemoveSelf |
Remove the node. More... | |
class | RenderCommand |
Base class of the RenderCommand hierarchy. More... | |
class | RenderCommandPool |
class | Renderer |
class | RenderMeshData |
class | RenderQueue |
Class that knows how to sort RenderCommand objects. More... | |
struct | RenderStackElement |
class | RenderTexture |
RenderTexture is a generic rendering target. More... | |
class | Repeat |
Repeats an action a number of times. More... | |
class | RepeatForever |
Repeats an action for ever. More... | |
class | ReuseGrid |
ReuseGrid action. More... | |
class | ReverseTime |
Executes an action in reverse order, from time=duration to time=0. More... | |
class | Ripple3D |
Ripple3D action. More... | |
class | RotateBy |
Rotates a Node object clockwise a number of degrees by modifying it's rotation attribute. More... | |
class | RotateTo |
Rotates a Node object to a certain angle by modifying it's rotation attribute. More... | |
class | SAXDelegator |
class | SAXParser |
class | ScaleBy |
Scales a Node object a zoom factor by modifying it's scale attribute. More... | |
class | ScaleTo |
Scales a Node object to a zoom factor by modifying it's scale attribute. More... | |
class | Scene |
Scene is a subclass of Node that is used only as an abstract concept. More... | |
class | ScheduleHandlerDelegate |
class | Scheduler |
Scheduler is responsible for triggering the scheduled callbacks. More... | |
class | ScriptHandlerMgr |
class | sealed |
class | Sequence |
Runs actions sequentially, one after another. More... | |
class | Shaky3D |
Shaky3D action. More... | |
class | ShakyTiles3D |
ShakyTiles3D action. More... | |
class | ShatteredTiles3D |
ShatteredTiles3D action. More... | |
class | Show |
Show the node. More... | |
class | ShuffleTiles |
ShuffleTiles action Shuffle the tiles in random order. More... | |
class | Size |
class | SkewBy |
Skews a Node object by skewX and skewY degrees. More... | |
class | SkewTo |
Skews a Node object to given angles by modifying it's skewX and skewY attributes. More... | |
class | Spawn |
Spawn a new action immediately. More... | |
class | Speed |
Changes the speed of an action, making it take longer (speed>1) or less (speed<1) time. More... | |
class | SplitCols |
SplitCols action. More... | |
class | SplitRows |
SplitRows action. More... | |
class | Sprite |
Sprite is a 2d image ( http://en.wikipedia.org/wiki/Sprite_(computer_graphics) ) More... | |
class | Sprite3D |
Sprite3D: TODO add description. More... | |
class | Sprite3DDataCache |
class | SpriteBatchNode |
SpriteBatchNode 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 | SpriteFrame |
A SpriteFrame has: More... | |
class | SpriteFrameCache |
Singleton that handles the loading of the sprite frames. More... | |
class | StopGrid |
StopGrid action. More... | |
struct | StringCompare |
struct | T2F_Quad |
class | TargetedAction |
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... | |
struct | Tex2F |
A vertex composed of 2 floats: x, y. More... | |
class | TextFieldDelegate |
class | TextFieldTTF |
A simple text input field with TTF font. More... | |
class | Texture2D |
Texture2D class. More... | |
class | TextureAtlas |
A class that implements a Texture Atlas. More... | |
class | TextureCache |
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 | TextureProtocol |
Node objects that uses a Texture2D to render the images. More... | |
class | ThreadHelper |
class | TiledGrid3D |
TiledGrid3D is a 3D grid implementation. More... | |
class | TiledGrid3DAction |
Base class for TiledGrid3D actions. More... | |
class | TileMapAtlas |
TileMapAtlas is a subclass of AtlasNode. More... | |
class | Timer |
Light-weight timer. More... | |
class | TimerTargetCallback |
class | TimerTargetSelector |
struct | timezone |
class | TintBy |
Tints a Node that implements the NodeRGB protocol from current tint to a custom one. More... | |
class | TintTo |
Tints a Node that implements the NodeRGB protocol from current tint to a custom one. More... | |
class | TMXLayer |
TMXLayer represents the TMX layer. More... | |
class | TMXLayerInfo |
TMXLayerInfo contains the information about the layers like: More... | |
class | TMXMapInfo |
TMXMapInfo contains the information about the map like: More... | |
class | TMXObjectGroup |
TMXObjectGroup represents the TMX object group. More... | |
class | TMXTiledMap |
TMXTiledMap knows how to parse and render a TMX map. More... | |
class | TMXTilesetInfo |
TMXTilesetInfo contains the information about the tilesets like: More... | |
class | ToggleVisibility |
Toggles the visibility of a node. More... | |
class | Touch |
class | TransitionCrossFade |
TransitionCrossFade: Cross fades two scenes using the RenderTexture object. More... | |
class | TransitionEaseScene |
TransitionEaseScene can ease the actions of the scene protocol. More... | |
class | TransitionFade |
TransitionFade: Fade out the outgoing scene and then fade in the incoming scene. More... | |
class | TransitionFadeBL |
TransitionFadeBL: Fade the tiles of the outgoing scene from the top-right corner to the bottom-left corner. More... | |
class | TransitionFadeDown |
TransitionFadeDown: Fade the tiles of the outgoing scene from the top to the bottom. More... | |
class | TransitionFadeTR |
TransitionFadeTR: Fade the tiles of the outgoing scene from the left-bottom corner the to top-right corner. More... | |
class | TransitionFadeUp |
TransitionFadeUp: Fade the tiles of the outgoing scene from the bottom to the top. More... | |
class | TransitionFlipAngular |
TransitionFlipAngular: Flips the screen half horizontally and half vertically. More... | |
class | TransitionFlipX |
TransitionFlipX: Flips the screen horizontally. More... | |
class | TransitionFlipY |
TransitionFlipY: Flips the screen vertically. More... | |
class | TransitionJumpZoom |
TransitionJumpZoom: Zoom out and jump the outgoing scene, and then jump and zoom in the incoming. More... | |
class | TransitionMoveInB |
TransitionMoveInB: Move in from to the bottom the incoming scene. More... | |
class | TransitionMoveInL |
TransitionMoveInL: Move in from to the left the incoming scene. More... | |
class | TransitionMoveInR |
TransitionMoveInR: Move in from to the right the incoming scene. More... | |
class | TransitionMoveInT |
TransitionMoveInT: Move in from to the top the incoming scene. More... | |
class | TransitionPageTurn |
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 | TransitionProgress |
class | TransitionProgressHorizontal |
TransitionProgressHorizontal transition. More... | |
class | TransitionProgressInOut |
class | TransitionProgressOutIn |
class | TransitionProgressRadialCCW |
TransitionRadialCCW transition. More... | |
class | TransitionProgressRadialCW |
TransitionRadialCW transition. More... | |
class | TransitionProgressVertical |
class | TransitionRotoZoom |
TransitionRotoZoom: Rotate and zoom out the outgoing scene, and then rotate and zoom in the incoming. More... | |
class | TransitionScene |
Base class for Transition scenes. More... | |
class | TransitionSceneOriented |
A Transition that supports orientation like. More... | |
class | TransitionShrinkGrow |
Shrink the outgoing scene while grow the incoming scene. More... | |
class | TransitionSlideInB |
TransitionSlideInB: Slide in the incoming scene from the bottom border. More... | |
class | TransitionSlideInL |
TransitionSlideInL: Slide in the incoming scene from the left border. More... | |
class | TransitionSlideInR |
TransitionSlideInR: Slide in the incoming scene from the right border. More... | |
class | TransitionSlideInT |
TransitionSlideInT: Slide in the incoming scene from the top border. More... | |
class | TransitionSplitCols |
TransitionSplitCols: The odd columns goes upwards while the even columns goes downwards. More... | |
class | TransitionSplitRows |
TransitionSplitRows: The odd rows goes to the left while the even rows goes to the right. More... | |
class | TransitionTurnOffTiles |
TransitionTurnOffTiles: Turn off the tiles of the outgoing scene in random order. More... | |
class | TransitionZoomFlipAngular |
TransitionZoomFlipAngular: Flips the screen half horizontally and half vertically doing a little zooming out/in. More... | |
class | TransitionZoomFlipX |
TransitionZoomFlipX: 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 | TransitionZoomFlipY |
TransitionZoomFlipY: 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 | TurnOffTiles |
TurnOffTiles action. More... | |
class | Twirl |
Twirl action. More... | |
struct | Uniform |
class | UniformValue |
class | UserDefault |
UserDefault acts as a tiny database. More... | |
struct | V2F_C4B_T2F |
a Vec2 with a vertex point, a tex coord point and a color 4B More... | |
struct | V2F_C4B_T2F_Quad |
A Quad of V2F_C4B_T2F. More... | |
struct | V2F_C4B_T2F_Triangle |
A Triangle of V2F_C4B_T2F. More... | |
struct | V2F_C4F_T2F |
a Vec2 with a vertex point, a tex coord point and a color 4F More... | |
struct | V2F_C4F_T2F_Quad |
4 Vertex2FTex2FColor4F Quad More... | |
struct | V3F_C4B_T2F |
a Vec2 with a vertex point, a tex coord point and a color 4B More... | |
struct | V3F_C4B_T2F_Quad |
4 Vertex3FTex2FColor4B More... | |
class | Value |
class | Vector |
struct | VertexAttrib |
class | VertexAttribValue |
class | Waves |
Waves action. More... | |
class | Waves3D |
Waves3D action. More... | |
class | WavesTiles3D |
WavesTiles3D action. More... | |
class | ZipFile |
Zip file - reader helper class. More... | |
class | ZipUtils |
Typedefs | |
typedef std::function< void(Ref *)> | ccMenuCallback |
typedef void(Ref::* | SEL_CallFunc )() |
typedef void(Ref::* | SEL_CallFuncN )(Node *) |
typedef void(Ref::* | SEL_CallFuncND )(Node *, void *) |
typedef void(Ref::* | SEL_CallFuncO )(Ref *) |
typedef void(Ref::* | SEL_MenuHandler )(Ref *) |
typedef void(Ref::* | SEL_SCHEDULE )(float) |
typedef std::function< void(float)> | ccSchedulerFunc |
typedef std::vector< Value > | ValueVector |
typedef std::unordered_map < std::string, Value > | ValueMap |
typedef std::unordered_map < int, Value > | ValueMapIntKey |
typedef std::set< Ref * >::iterator | __SetIterator |
typedef unsigned char | CC_XML_CHAR |
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 struct _MipmapInfo | MipmapInfo |
typedef int | LUA_FUNCTION |
typedef int | LUA_TABLE |
typedef int | LUA_STRING |
typedef std::map< std::string, LuaValue > | LuaValueDict |
typedef LuaValueDict::const_iterator | LuaValueDictIterator |
typedef std::list< LuaValue > | LuaValueArray |
typedef LuaValueArray::const_iterator | LuaValueArrayIterator |
typedef std::vector < ScheduleHandlerDelegate * > | VecShedule |
typedef std::map < cocos2d::Node *, VecShedule > | MapNodeSchedules |
Functions | |
CC_DLL Vec2 | (Vec2 &p0, Vec2 &p1, Vec2 &p2, Vec2 &p3, float tension, float t) |
Returns the Cardinal Spline position for a given set of control points, tension and time. More... | |
bool | (Node *n1, Node *n2) |
int | (const unsigned char *in, unsigned int inLength, unsigned char **out) |
Decodes a 64base encoded memory. More... | |
int | (const unsigned char *in, unsigned int inLength, char **out) |
Encodes bytes into a 64base encoded memory with terminating '\0' character. More... | |
ccArray * | (ssize_t capacity) |
Allocates and initializes a new array with specified capacity. More... | |
void | (ccArray *&arr) |
Frees array after removing all remaining objects. More... | |
void | (ccArray *arr) |
Doubles array capacity. More... | |
void | (ccArray *arr, ssize_t extra) |
Increases array capacity such that max >= num + extra. More... | |
void | (ccArray *arr) |
shrinks the array so the memory footprint corresponds with the number of items More... | |
ssize_t | (ccArray *arr, Ref *object) |
Returns index of first occurrence of object, NSNotFound if object not found. More... | |
bool | (ccArray *arr, Ref *object) |
Returns a Boolean value that indicates whether object is present in array. More... | |
void | (ccArray *arr, Ref *object) |
Appends an object. More... | |
void | (ccArray *arr, Ref *object) |
Appends an object. More... | |
void | (ccArray *arr, ccArray *plusArr) |
Appends objects from plusArr to arr. More... | |
void | (ccArray *arr, ccArray *plusArr) |
Appends objects from plusArr to arr. More... | |
void | (ccArray *arr, Ref *object, ssize_t index) |
Inserts an object at index. More... | |
void | (ccArray *arr, ssize_t index1, ssize_t index2) |
Swaps two objects. More... | |
void | (ccArray *arr) |
Removes all objects from arr. More... | |
void | (ccArray *arr, ssize_t index, bool releaseObj=true) |
Removes object at specified index and pushes back all subsequent objects. More... | |
void | (ccArray *arr, ssize_t index) |
Removes object at specified index and fills the gap with the last object, thereby avoiding the need to push back subsequent objects. More... | |
void | (ccArray *arr, Ref *object) |
void | (ccArray *arr, Ref *object, bool releaseObj=true) |
Searches for the first occurrence of object and removes it. More... | |
void | (ccArray *arr, ccArray *minusArr) |
Removes from arr all objects in minusArr. More... | |
void | (ccArray *arr, ccArray *minusArr) |
Removes from arr all objects in minusArr. More... | |
ccCArray * | (ssize_t capacity) |
Allocates and initializes a new C array with specified capacity. More... | |
void | (ccCArray *arr) |
Frees C array after removing all remaining values. More... | |
void | (ccCArray *arr) |
Doubles C array capacity. More... | |
void | (ccCArray *arr, ssize_t extra) |
Increases array capacity such that max >= num + extra. More... | |
ssize_t | (ccCArray *arr, void *value) |
Returns index of first occurrence of value, NSNotFound if value not found. More... | |
bool | (ccCArray *arr, void *value) |
Returns a Boolean value that indicates whether value is present in the C array. More... | |
void | (ccCArray *arr, void *value, ssize_t index) |
Inserts a value at a certain position. More... | |
void | (ccCArray *arr, void *value) |
Appends an value. More... | |
void | (ccCArray *arr, void *value) |
Appends an value. More... | |
void | (ccCArray *arr, ccCArray *plusArr) |
Appends values from plusArr to arr. More... | |
void | (ccCArray *arr, ccCArray *plusArr) |
Appends values from plusArr to arr. More... | |
void | (ccCArray *arr) |
Removes all values from arr. More... | |
void | (ccCArray *arr, ssize_t index) |
Removes value at specified index and pushes back all subsequent values. More... | |
void | (ccCArray *arr, ssize_t index) |
Removes value at specified index and fills the gap with the last value, thereby avoiding the need to push back subsequent values. More... | |
void | (ccCArray *arr, void *value) |
Searches for the first occurrence of value and removes it. More... | |
void | (ccCArray *arr, ccCArray *minusArr) |
Removes from arr all values in minusArr. More... | |
void | (ccCArray *arr, ccCArray *minusArr) |
Removes from arr all values in minusArr. More... | |
void CC_DLL | (const char *format,...) CC_FORMAT_PRINTF(1 |
Output Debug message. More... | |
Rect CC_DLL | (const std::string &str) |
Returns a Core Graphics rectangle structure corresponding to the data in a given string. More... | |
Vec2 CC_DLL | (const std::string &str) |
Returns a Core Graphics point structure corresponding to the data in a given string. More... | |
Size CC_DLL | (const std::string &str) |
Returns a Core Graphics size structure corresponding to the data in a given string. More... | |
void | (const char *timerName) |
void | (const char *timerName) |
void | (const char *timerName) |
template<class T , class U > | |
RefPtr< T > | (const RefPtr< U > &r) |
Cast between RefPtr types statically. More... | |
template<class T , class U > | |
RefPtr< T > | (const RefPtr< U > &r) |
Cast between RefPtr types dynamically. More... | |
var | ( var r) |
local | ( local r) |
int | (int value) |
returns the Next Power of Two value. More... | |
bool | (unsigned char *buffer, unsigned long bufSize, tImageTGA *info) |
load the image header fields. We only keep those that matter! More... | |
bool | (unsigned char *buffer, unsigned long bufSize, tImageTGA *info) |
loads the image pixels. You shouldn't call this function directly More... | |
tImageTGA * | (unsigned char *buffer, long size) |
this is the function to call when we want to load an image buffer. More... | |
tImageTGA * | (const char *filename) |
this is the function to call when we want to load an image More... | |
void | (tImageTGA *info) |
void | (tImageTGA *info) |
releases the memory used for the image More... | |
CC_DLL const char * | () |
CC_DEPRECATED_ATTRIBUTE Vec2 | (float x, float y) |
Helper macro that creates a Vec2. More... | |
CC_DEPRECATED_ATTRIBUTE Vec2 | (float x, float y) |
CC_DEPRECATED_ATTRIBUTE Size | (float width, float height) |
CC_DEPRECATED_ATTRIBUTE Rect | (float x, float y, float width, float height) |
CC_DEPRECATED_ATTRIBUTE void CC_DLL | (const char *pszFormat,...) CC_FORMAT_PRINTF(1 |
use log() instead More... | |
CC_DEPRECATED_ATTRIBUTE void CC_DLL CC_DEPRECATED_ATTRIBUTE void CC_DLL | () |
CC_DEPRECATED_ATTRIBUTE void CC_DLL | () |
CC_DEPRECATED_ATTRIBUTE void CC_DLL | (const Vec2 &point) |
CC_DEPRECATED_ATTRIBUTE void CC_DLL | (const Vec2 *points, unsigned int numberOfPoints) |
CC_DEPRECATED_ATTRIBUTE void CC_DLL | (const Vec2 &origin, const Vec2 &destination) |
CC_DEPRECATED_ATTRIBUTE void CC_DLL | (Vec2 origin, Vec2 destination) |
CC_DEPRECATED_ATTRIBUTE void CC_DLL | (Vec2 origin, Vec2 destination, Color4F color) |
CC_DEPRECATED_ATTRIBUTE void CC_DLL | (const Vec2 *vertices, unsigned int numOfVertices, bool closePolygon) |
CC_DEPRECATED_ATTRIBUTE void CC_DLL | (const Vec2 *poli, unsigned int numberOfPoints, Color4F color) |
CC_DEPRECATED_ATTRIBUTE void CC_DLL | (const Vec2 ¢er, float radius, float angle, unsigned int segments, bool drawLineToCenter, float scaleX, float scaleY) |
CC_DEPRECATED_ATTRIBUTE void CC_DLL | (const Vec2 ¢er, float radius, float angle, unsigned int segments, bool drawLineToCenter) |
CC_DEPRECATED_ATTRIBUTE void CC_DLL | (const Vec2 ¢er, float radius, float angle, unsigned int segments, float scaleX, float scaleY) |
CC_DEPRECATED_ATTRIBUTE void CC_DLL | (const Vec2 ¢er, float radius, float angle, unsigned int segments) |
CC_DEPRECATED_ATTRIBUTE void CC_DLL | (const Vec2 &origin, const Vec2 &control, const Vec2 &destination, unsigned int segments) |
CC_DEPRECATED_ATTRIBUTE void CC_DLL | (const Vec2 &origin, const Vec2 &control1, const Vec2 &control2, const Vec2 &destination, unsigned int segments) |
CC_DEPRECATED_ATTRIBUTE void CC_DLL | (PointArray *arrayOfControlPoints, unsigned int segments) |
CC_DEPRECATED_ATTRIBUTE void CC_DLL | (PointArray *config, float tension, unsigned int segments) |
CC_DEPRECATED_ATTRIBUTE void CC_DLL | (GLubyte r, GLubyte g, GLubyte b, GLubyte a) |
CC_DEPRECATED_ATTRIBUTE void CC_DLL | (GLfloat r, GLfloat g, GLfloat b, GLfloat a) |
CC_DEPRECATED_ATTRIBUTE void CC_DLL | (GLfloat pointSize) |
CC_DEPRECATED_ATTRIBUTE void CC_DLL | () |
CC_DEPRECATED_ATTRIBUTE void CC_DLL | (GLuint program) |
CC_DEPRECATED_ATTRIBUTE void CC_DLL | (GLuint program) |
CC_DEPRECATED_ATTRIBUTE void CC_DLL | (GLenum sfactor, GLenum dfactor) |
CC_DEPRECATED_ATTRIBUTE void CC_DLL | () |
CC_DEPRECATED_ATTRIBUTE void CC_DLL | () |
CC_DEPRECATED_ATTRIBUTE void CC_DLL | (unsigned int flags) |
CC_DEPRECATED_ATTRIBUTE void CC_DLL | (GLuint textureId) |
CC_DEPRECATED_ATTRIBUTE void CC_DLL | (GLuint textureUnit, GLuint textureId) |
CC_DEPRECATED_ATTRIBUTE void CC_DLL | (GLuint textureId) |
CC_DEPRECATED_ATTRIBUTE void CC_DLL | (GLuint textureUnit, GLuint textureId) |
CC_DEPRECATED_ATTRIBUTE void CC_DLL | (GLuint vaoId) |
CC_DEPRECATED_ATTRIBUTE void CC_DLL | (int flags) |
CC_DEPRECATED_ATTRIBUTE void CC_DLL | (void) |
CC_DEPRECATED_ATTRIBUTE void CC_DLL | (void) |
CC_DEPRECATED_ATTRIBUTE void CC_DLL | (void) |
CC_DEPRECATED_ATTRIBUTE void CC_DLL | (unsigned int mode) |
CC_DEPRECATED_ATTRIBUTE void CC_DLL | (void) |
CC_DEPRECATED_ATTRIBUTE void CC_DLL | (const Mat4 *pIn) |
CC_DEPRECATED_ATTRIBUTE void CC_DLL | (const Mat4 *pIn) |
CC_DEPRECATED_ATTRIBUTE void CC_DLL | (float x, float y, float z) |
CC_DEPRECATED_ATTRIBUTE void CC_DLL | (float angle, float x, float y, float z) |
CC_DEPRECATED_ATTRIBUTE void CC_DLL | (float x, float y, float z) |
CC_DEPRECATED_ATTRIBUTE void CC_DLL | (unsigned int mode, Mat4 *pOut) |
CC_DEPRECATED_ATTRIBUTE CC_DLL Mat4 * | (Mat4 *pOut, const float *pMat) |
CC_DEPRECATED_ATTRIBUTE CC_DLL Mat4 * | (Mat4 *pOut, const Mat4 *pIn) |
CC_DEPRECATED_ATTRIBUTE CC_DLL Mat4 * | (Mat4 *pOut) |
CC_DEPRECATED_ATTRIBUTE CC_DLL Mat4 * | (Mat4 *pOut, const Mat4 *pM) |
CC_DEPRECATED_ATTRIBUTE CC_DLL Mat4 * | (Mat4 *pOut, const Mat4 *pIn) |
CC_DEPRECATED_ATTRIBUTE CC_DLL Mat4 * | (Mat4 *pOut, const Mat4 *pM1, const Mat4 *pM2) |
CC_DEPRECATED_ATTRIBUTE CC_DLL Mat4 * | (Mat4 *pOut, const float x, const float y, const float z) |
CC_DEPRECATED_ATTRIBUTE CC_DLL Mat4 * | (Mat4 *pOut, const float radians) |
CC_DEPRECATED_ATTRIBUTE CC_DLL Mat4 * | (Mat4 *pOut, const float radians) |
CC_DEPRECATED_ATTRIBUTE CC_DLL Mat4 * | (Mat4 *pOut, const float radians) |
CC_DEPRECATED_ATTRIBUTE CC_DLL Mat4 * | (Mat4 *pOut, const Vec3 *axis, float radians) |
CC_DEPRECATED_ATTRIBUTE CC_DLL Mat4 * | (Mat4 *pOut, const float x, const float y, const float z) |
CC_DEPRECATED_ATTRIBUTE CC_DLL Mat4 * | (Mat4 *pOut, float fovY, float aspect, float zNear, float zFar) |
CC_DEPRECATED_ATTRIBUTE CC_DLL Mat4 * | (Mat4 *pOut, float left, float right, float bottom, float top, float nearVal, float farVal) |
CC_DEPRECATED_ATTRIBUTE CC_DLL Mat4 * | (Mat4 *pOut, const Vec3 *pEye, const Vec3 *pCenter, const Vec3 *pUp) |
CC_DEPRECATED_ATTRIBUTE CC_DLL Vec3 * | (Vec3 *pOut, float x, float y, float z) |
CC_DEPRECATED_ATTRIBUTE CC_DLL float | (const Vec3 *pIn) |
CC_DEPRECATED_ATTRIBUTE CC_DLL float | (const Vec3 *pIn) |
CC_DEPRECATED_ATTRIBUTE CC_DLL Vec3 * | (Vec3 *pOut, const Vec3 *pV1, const Vec3 *pV2, float t) |
CC_DEPRECATED_ATTRIBUTE CC_DLL Vec3 * | (Vec3 *pOut, const Vec3 *pIn) |
CC_DEPRECATED_ATTRIBUTE CC_DLL Vec3 * | (Vec3 *pOut, const Vec3 *pV1, const Vec3 *pV2) |
CC_DEPRECATED_ATTRIBUTE CC_DLL float | (const Vec3 *pV1, const Vec3 *pV2) |
CC_DEPRECATED_ATTRIBUTE CC_DLL Vec3 * | (Vec3 *pOut, const Vec3 *pV1, const Vec3 *pV2) |
CC_DEPRECATED_ATTRIBUTE CC_DLL Vec3 * | (Vec3 *pOut, const Vec3 *pV1, const Vec3 *pV2) |
CC_DEPRECATED_ATTRIBUTE CC_DLL Vec3 * | (Vec3 *pOut, const Vec3 *pV1, const Mat4 *pM) |
CC_DEPRECATED_ATTRIBUTE CC_DLL Vec3 * | (Vec3 *pOut, const Vec3 *pV, const Mat4 *pM) |
CC_DEPRECATED_ATTRIBUTE CC_DLL Vec3 * | (Vec3 *pOut, const Vec3 *pV, const Mat4 *pM) |
CC_DEPRECATED_ATTRIBUTE CC_DLL Vec3 * | (Vec3 *pOut, const Vec3 *pIn, const float s) |
CC_DEPRECATED_ATTRIBUTE CC_DLL Vec3 * | (Vec3 *pOut, const Vec3 *pIn) |
CC_DEPRECATED_ATTRIBUTE CC_DLL Vec3 * | (Vec3 *pOut) |
CC_DEPRECATED_ATTRIBUTE CC_DLL Vec2 * | (Vec2 *pOut, float x, float y) |
CC_DEPRECATED_ATTRIBUTE CC_DLL float | (const Vec2 *pIn) |
CC_DEPRECATED_ATTRIBUTE CC_DLL float | (const Vec2 *pIn) |
CC_DEPRECATED_ATTRIBUTE CC_DLL Vec2 * | (Vec2 *pOut, const Vec2 *pIn) |
CC_DEPRECATED_ATTRIBUTE CC_DLL Vec2 * | (Vec2 *pOut, const Vec2 *pV1, const Vec2 *pV2, float t) |
CC_DEPRECATED_ATTRIBUTE CC_DLL Vec2 * | (Vec2 *pOut, const Vec2 *pV1, const Vec2 *pV2) |
CC_DEPRECATED_ATTRIBUTE CC_DLL float | (const Vec2 *pV1, const Vec2 *pV2) |
CC_DEPRECATED_ATTRIBUTE CC_DLL Vec2 * | (Vec2 *pOut, const Vec2 *pV1, const Vec2 *pV2) |
CC_DEPRECATED_ATTRIBUTE CC_DLL Vec2 * | (Vec2 *pOut, const Vec2 *pIn, const float s) |
CC_DEPRECATED_ATTRIBUTE CC_DLL Vec2 * | (Vec2 *pOut, const Vec2 *pIn) |
CC_DEPRECATED_ATTRIBUTE CC_DLL Vec4 * | (Vec4 *pOut, float x, float y, float z, float w) |
CC_DEPRECATED_ATTRIBUTE CC_DLL Vec4 * | (Vec4 *pOut, const Vec4 *pV1, const Vec4 *pV2) |
CC_DEPRECATED_ATTRIBUTE CC_DLL float | (const Vec4 *pV1, const Vec4 *pV2) |
CC_DEPRECATED_ATTRIBUTE CC_DLL float | (const Vec4 *pIn) |
CC_DEPRECATED_ATTRIBUTE CC_DLL float | (const Vec4 *pIn) |
CC_DEPRECATED_ATTRIBUTE CC_DLL Vec4 * | (Vec4 *pOut, const Vec4 *pV1, const Vec4 *pV2, float t) |
CC_DEPRECATED_ATTRIBUTE CC_DLL Vec4 * | (Vec4 *pOut, const Vec4 *pIn) |
CC_DEPRECATED_ATTRIBUTE CC_DLL Vec4 * | (Vec4 *pOut, const Vec4 *pIn, const float s) |
CC_DEPRECATED_ATTRIBUTE CC_DLL Vec4 * | (Vec4 *pOut, const Vec4 *pV1, const Vec4 *pV2) |
CC_DEPRECATED_ATTRIBUTE CC_DLL Vec4 * | (Vec4 *pOut, const Vec4 *pIn) |
CC_DEPRECATED_ATTRIBUTE CC_DLL Vec4 * | (Vec4 *pOut, const Vec4 *pV, const Mat4 *pM) |
CC_DEPRECATED_ATTRIBUTE CC_DLL Vec4 * | (Vec4 *pOut, const Vec4 *pV, const Mat4 *pM) |
CC_DLL AffineTransform | (float a, float b, float c, float d, float tx, float ty) |
CC_DLL Vec2 | (const Vec2 &point, const AffineTransform &t) |
CC_DLL Size | (const Size &size, const AffineTransform &t) |
CC_DLL AffineTransform | () |
CC_DLL Rect | (const Rect &rect, const AffineTransform &anAffineTransform) |
CC_DLL Rect | (const Rect &rect, const Mat4 &transform) |
CC_DLL Vec2 | (const Vec2 &point, const Mat4 &transform) |
CC_DLL AffineTransform | (const AffineTransform &t, float tx, float ty) |
CC_DLL AffineTransform | (const AffineTransform &aTransform, float anAngle) |
CC_DLL AffineTransform | (const AffineTransform &t, float sx, float sy) |
CC_DLL AffineTransform | (const AffineTransform &t1, const AffineTransform &t2) |
CC_DLL bool | (const AffineTransform &t1, const AffineTransform &t2) |
CC_DLL AffineTransform | (const AffineTransform &t) |
Mat4 | (const Mat4 &t1, const Mat4 &t2) |
void CC_DLL | (Vec2 *points, float stroke, Vec2 *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 AffineTransform &t, GLfloat *m) |
void | (const GLfloat *m, AffineTransform *t) |
void CC_DLL | (const char *format) |
lua can not deal with ... More... | |
void CC_DLL | (const char *msg, const char *title) |
Pop out a message box. More... | |
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 | () |
std::string CC_DLL | () |
Add deprecated global functions and variables here.
typedef std::function<void(Ref*)> ccMenuCallback |
typedef int LUA_FUNCTION |
typedef int LUA_STRING |
typedef int LUA_TABLE |
typedef std::list<LuaValue> LuaValueArray |
typedef LuaValueArray::const_iterator LuaValueArrayIterator |
typedef std::map<std::string, LuaValue> LuaValueDict |
typedef LuaValueDict::const_iterator LuaValueDictIterator |
typedef std::map<cocos2d::Node*,VecShedule> MapNodeSchedules |
typedef struct _MipmapInfo MipmapInfo |
typedef int pthread_cond_t |
typedef HANDLE pthread_mutex_t |
typedef HANDLE pthread_t |
typedef std::unordered_map<int, Value> ValueMapIntKey |
typedef std::vector<Value> ValueVector |
typedef std::vector <ScheduleHandlerDelegate*> VecShedule |
anonymous enum |
anonymous enum |
|
strong |
|
strong |
enum LuaBridgeError |
enum LuaValueType |
enum PointerEventType |
|
strong |
|
strong |
void cocos2d::CGAffineToGL | ( | const AffineTransform & | t, |
GLfloat * | m | ||
) |
void cocos2d::GLToCGAffine | ( | const GLfloat * | m, |
AffineTransform * | t | ||
) |
std::wstring CC_DLL cocos2d::CCUtf8ToUnicode |
( | const char * | pszUtf8Str, |
unsigned | len = -1 |
||
) |
std::string CC_DLL cocos2d::CCUnicodeToUtf8 |
( | const wchar_t * | pwszStr | ) |
CC_DLL AffineTransform cocos2d::__CCAffineTransformMake |
( | float | a, |
float | b, | ||
float | c, | ||
float | d, | ||
float | tx, | ||
float | ty | ||
) |
std::string cocos2d::PlatformStringToString |
( | Platform::String^ | s | ) |
void cocos2d::pthread_mutex_init | ( | pthread_mutex_t * | m, |
void * | attributes | ||
) |
CC_DLL Vec2 cocos2d::__CCPointApplyAffineTransform |
( | const Vec2 & | point, |
const AffineTransform & | t | ||
) |
int cocos2d::pthread_mutex_lock | ( | pthread_mutex_t * | m | ) |
float cocos2d::ConvertDipsToPixels | ( | float | dips | ) |
int cocos2d::base64Decode | ( | const 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 by calling free()
int cocos2d::ccNextPOT | ( | int | value | ) |
returns the Next Power of Two value.
Examples:
float cocos2d::getScaledDPIValue | ( | float | v | ) |
int cocos2d::pthread_mutex_unlock | ( | pthread_mutex_t * | m | ) |
Concurrency::task <Platform::Array<byte> ^> cocos2d::ReadDataAsync |
( | Platform::String^ | path | ) |
void cocos2d::pthread_mutex_destroy | ( | pthread_mutex_t * | m | ) |
void CC_DLL cocos2d::CCLogIPAddresses |
( | ) |
CC_DLL AffineTransform cocos2d::AffineTransformMakeIdentity |
( | ) |
CC_DLL Rect cocos2d::RectApplyAffineTransform |
( | const Rect & | rect, |
const AffineTransform & | anAffineTransform | ||
) |
std::string CC_DLL cocos2d::getDeviceIPAddresses |
( | ) |
int cocos2d::base64Encode | ( | const unsigned char * | in, |
unsigned int | inLength, | ||
char ** | out | ||
) |
Encodes bytes into a 64base encoded memory with terminating '\0' character.
The encoded memory is expected to be freed by the caller by calling free()
bool cocos2d::tgaLoadHeader | ( | unsigned char * | buffer, |
unsigned long | bufSize, | ||
tImageTGA * | info | ||
) |
load the image header fields. We only keep those that matter!
CC_DLL AffineTransform cocos2d::AffineTransformTranslate |
( | const AffineTransform & | t, |
float | tx, | ||
float | ty | ||
) |
CC_DLL AffineTransform cocos2d::AffineTransformRotate |
( | const AffineTransform & | aTransform, |
float | anAngle | ||
) |
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. |
bool cocos2d::tgaLoadImageData | ( | unsigned char * | buffer, |
unsigned long | bufSize, | ||
tImageTGA * | info | ||
) |
loads the image pixels. You shouldn't call this function directly
CC_DLL AffineTransform cocos2d::AffineTransformScale |
( | const AffineTransform & | t, |
float | sx, | ||
float | sy | ||
) |
CC_DLL AffineTransform cocos2d::AffineTransformConcat |
( | const AffineTransform & | t1, |
const AffineTransform & | t2 | ||
) |
void CC_DLL cocos2d::log | ( | const char * | format, |
... | |||
) |
Output Debug message.
CC_DLL bool cocos2d::AffineTransformEqualToTransform |
( | const AffineTransform & | t1, |
const AffineTransform & | t2 | ||
) |
tImageTGA* cocos2d::tgaLoadBuffer | ( | unsigned char * | buffer, |
long | size | ||
) |
this is the function to call when we want to load an image buffer.
CC_DLL AffineTransform cocos2d::AffineTransformInvert |
( | const AffineTransform & | t | ) |
ccArray* cocos2d::ccArrayNew | ( | ssize_t | capacity | ) |
Allocates and initializes a new array with specified capacity.
tImageTGA* cocos2d::tgaLoad | ( | const char * | filename | ) |
this is the function to call when we want to load an image
void cocos2d::ccArrayFree | ( | ccArray *& | arr | ) |
Frees array after removing all remaining objects.
Silently ignores nil arr.
void cocos2d::tgaRGBtogreyscale | ( | tImageTGA * | info | ) |
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 cocos2d::tgaDestroy | ( | tImageTGA * | info | ) |
releases the memory used for the image
void cocos2d::ccArrayDoubleCapacity | ( | ccArray * | arr | ) |
Doubles array capacity.
void cocos2d::ccArrayEnsureExtraCapacity |
( | ccArray * | arr, |
ssize_t | extra | ||
) |
Increases array capacity such that max >= num + extra.
void cocos2d::ccArrayShrink | ( | ccArray * | arr | ) |
shrinks the array so the memory footprint corresponds with the number of items
ssize_t cocos2d::ccArrayGetIndexOfObject |
( | ccArray * | arr, |
Ref * | object | ||
) |
Returns index of first occurrence of object, NSNotFound if object not found.
bool cocos2d::ccArrayContainsObject | ( | ccArray * | arr, |
Ref * | object | ||
) |
Returns a Boolean value that indicates whether object is present in array.
void cocos2d::ccArrayAppendObject | ( | ccArray * | arr, |
Ref * | object | ||
) |
Appends an object.
Behavior undefined if array doesn't have enough capacity.
void cocos2d::ccArrayAppendObjectWithResize |
( | ccArray * | arr, |
Ref * | object | ||
) |
Appends an object.
Capacity of arr is increased if needed.
void cocos2d::ccArrayAppendArray | ( | ccArray * | arr, |
ccArray * | plusArr | ||
) |
Appends objects from plusArr to arr.
Behavior undefined if arr doesn't have enough capacity.
void cocos2d::ccArrayAppendArrayWithResize |
( | ccArray * | arr, |
ccArray * | plusArr | ||
) |
Appends objects from plusArr to arr.
Capacity of arr is increased if needed.
void cocos2d::ccArrayInsertObjectAtIndex |
( | ccArray * | arr, |
Ref * | object, | ||
ssize_t | index | ||
) |
Inserts an object at index.
Swaps two objects.
void cocos2d::ccArrayRemoveAllObjects |
( | ccArray * | arr | ) |
Removes all objects from arr.
void cocos2d::ccArrayRemoveObjectAtIndex |
( | ccArray * | arr, |
ssize_t | index, | ||
bool | releaseObj = true |
||
) |
Removes object at specified index and pushes back all subsequent objects.
Behavior undefined if index outside [0, num-1].
void cocos2d::ccArrayFastRemoveObjectAtIndex |
( | ccArray * | arr, |
ssize_t | index | ||
) |
Removes object at specified index and fills the gap with the last object, thereby avoiding the need to push back subsequent objects.
Behavior undefined if index outside [0, num-1].
void cocos2d::ccArrayFastRemoveObject |
( | ccArray * | arr, |
Ref * | object | ||
) |
void cocos2d::ccArrayRemoveObject | ( | ccArray * | arr, |
Ref * | object, | ||
bool | releaseObj = true |
||
) |
Searches for the first occurrence of object and removes it.
If object is not found the function has no effect.
void cocos2d::ccArrayRemoveArray | ( | ccArray * | arr, |
ccArray * | minusArr | ||
) |
Removes from arr all objects in minusArr.
For each object in minusArr, the first matching instance in arr will be removed.
void cocos2d::ccArrayFullRemoveArray |
( | ccArray * | arr, |
ccArray * | minusArr | ||
) |
Removes from arr all objects in minusArr.
For each object in minusArr, all matching instances in arr will be removed.
ccCArray* cocos2d::ccCArrayNew | ( | ssize_t | capacity | ) |
Allocates and initializes a new C array with specified capacity.
void cocos2d::ccCArrayFree | ( | ccCArray * | arr | ) |
Frees C array after removing all remaining values.
Silently ignores nil arr.
void cocos2d::ccCArrayDoubleCapacity |
( | ccCArray * | arr | ) |
Doubles C array capacity.
void cocos2d::ProfilingEndTimingBlock |
( | const char * | timerName | ) |
void cocos2d::ProfilingResetTimingBlock |
( | const char * | timerName | ) |
void cocos2d::ccCArrayEnsureExtraCapacity |
( | ccCArray * | arr, |
ssize_t | extra | ||
) |
Increases array capacity such that max >= num + extra.
ssize_t cocos2d::ccCArrayGetIndexOfValue |
( | ccCArray * | arr, |
void * | value | ||
) |
Returns index of first occurrence of value, NSNotFound if value not found.
bool cocos2d::ccCArrayContainsValue | ( | ccCArray * | arr, |
void * | value | ||
) |
Returns a Boolean value that indicates whether value is present in the C array.
void cocos2d::ccCArrayInsertValueAtIndex |
( | ccCArray * | arr, |
void * | value, | ||
ssize_t | index | ||
) |
Inserts a value at a certain position.
Behavior undefined if array doesn't have enough capacity
void cocos2d::ccCArrayAppendValue | ( | ccCArray * | arr, |
void * | value | ||
) |
Appends an value.
Behavior undefined if array doesn't have enough capacity.
void cocos2d::ccCArrayAppendValueWithResize |
( | ccCArray * | arr, |
void * | value | ||
) |
Appends an value.
Capacity of arr is increased if needed.
void cocos2d::ccCArrayAppendArray | ( | ccCArray * | arr, |
ccCArray * | plusArr | ||
) |
Appends values from plusArr to arr.
Behavior undefined if arr doesn't have enough capacity.
void cocos2d::ccCArrayAppendArrayWithResize |
( | ccCArray * | arr, |
ccCArray * | plusArr | ||
) |
Appends values from plusArr to arr.
Capacity of arr is increased if needed.
void cocos2d::ccCArrayRemoveAllValues |
( | ccCArray * | arr | ) |
Removes all values from arr.
void cocos2d::ccCArrayRemoveValueAtIndex |
( | ccCArray * | arr, |
ssize_t | index | ||
) |
Removes value at specified index and pushes back all subsequent values.
Behavior undefined if index outside [0, num-1].
void cocos2d::ccCArrayFastRemoveValueAtIndex |
( | ccCArray * | arr, |
ssize_t | index | ||
) |
Removes value at specified index and fills the gap with the last value, thereby avoiding the need to push back subsequent values.
Behavior undefined if index outside [0, num-1].
void cocos2d::ccCArrayRemoveValue | ( | ccCArray * | arr, |
void * | value | ||
) |
Searches for the first occurrence of value and removes it.
If value is not found the function has no effect.
void cocos2d::ccCArrayRemoveArray | ( | ccCArray * | arr, |
ccCArray * | minusArr | ||
) |
Removes from arr all values in minusArr.
For each Value in minusArr, the first matching instance in arr will be removed.
void cocos2d::ccCArrayFullRemoveArray |
( | ccCArray * | arr, |
ccCArray * | minusArr | ||
) |
Removes from arr all values in minusArr.
For each value in minusArr, all matching instances in arr will be removed.
CC_DLL const char* cocos2d::cocos2dVersion |
( | ) |
RefPtr<T> cocos2d::static_pointer_cast |
( | const RefPtr< U > & | r | ) |
Cast between RefPtr types statically.
RefPtr<T> cocos2d::dynamic_pointer_cast |
( | const RefPtr< U > & | r | ) |
Cast between RefPtr types dynamically.
|
inline |
|
inline |
CC_DEPRECATED_ATTRIBUTE void CC_DLL CC_DEPRECATED_ATTRIBUTE void CC_DLL cocos2d::ccDrawInit |
( | ) |
CC_DEPRECATED_ATTRIBUTE void CC_DLL cocos2d::ccDrawFree |
( | ) |
CC_DEPRECATED_ATTRIBUTE void CC_DLL cocos2d::ccDrawPoint |
( | const Vec2 & | point | ) |
CC_DEPRECATED_ATTRIBUTE void CC_DLL cocos2d::ccDrawLine |
( | const Vec2 & | origin, |
const Vec2 & | destination | ||
) |
CC_DEPRECATED_ATTRIBUTE void CC_DLL cocos2d::ccDrawRect |
( | Vec2 | origin, |
Vec2 | destination | ||
) |
CC_DEPRECATED_ATTRIBUTE void CC_DLL cocos2d::ccDrawColor4B |
( | GLubyte | r, |
GLubyte | g, | ||
GLubyte | b, | ||
GLubyte | a | ||
) |
CC_DEPRECATED_ATTRIBUTE void CC_DLL cocos2d::ccDrawColor4F |
( | GLfloat | r, |
GLfloat | g, | ||
GLfloat | b, | ||
GLfloat | a | ||
) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
CC_DEPRECATED_ATTRIBUTE void CC_DLL cocos2d::kmGLFreeAll |
( | void | ) |
CC_DEPRECATED_ATTRIBUTE void CC_DLL cocos2d::kmGLPushMatrix |
( | void | ) |
CC_DEPRECATED_ATTRIBUTE void CC_DLL cocos2d::kmGLPopMatrix |
( | void | ) |
CC_DEPRECATED_ATTRIBUTE void CC_DLL cocos2d::kmGLMatrixMode |
( | unsigned int | mode | ) |
CC_DEPRECATED_ATTRIBUTE void CC_DLL cocos2d::kmGLLoadIdentity |
( | void | ) |
CC_DEPRECATED_ATTRIBUTE void CC_DLL cocos2d::kmGLMultMatrix |
( | const Mat4 * | pIn | ) |
CC_DEPRECATED_ATTRIBUTE void CC_DLL cocos2d::kmGLTranslatef |
( | float | x, |
float | y, | ||
float | z | ||
) |
CC_DEPRECATED_ATTRIBUTE void CC_DLL cocos2d::kmGLRotatef |
( | float | angle, |
float | x, | ||
float | y, | ||
float | z | ||
) |
CC_DEPRECATED_ATTRIBUTE void CC_DLL cocos2d::kmGLScalef |
( | float | x, |
float | y, | ||
float | z | ||
) |
CC_DEPRECATED_ATTRIBUTE CC_DLL Mat4* cocos2d::kmMat4Inverse |
( | Mat4 * | pOut, |
const Mat4 * | pM | ||
) |
CC_DEPRECATED_ATTRIBUTE CC_DLL Mat4* cocos2d::kmMat4Transpose |
( | Mat4 * | pOut, |
const Mat4 * | pIn | ||
) |
CC_DEPRECATED_ATTRIBUTE CC_DLL Mat4* cocos2d::kmMat4RotationY |
( | Mat4 * | pOut, |
const float | radians | ||
) |
CC_DEPRECATED_ATTRIBUTE CC_DLL Mat4* cocos2d::kmMat4RotationZ |
( | Mat4 * | pOut, |
const float | radians | ||
) |
CC_DEPRECATED_ATTRIBUTE CC_DLL Mat4* cocos2d::kmMat4Scaling |
( | Mat4 * | pOut, |
const float | x, | ||
const float | y, | ||
const float | z | ||
) |
CC_DEPRECATED_ATTRIBUTE CC_DLL float cocos2d::kmVec3LengthSq |
( | const Vec3 * | pIn | ) |
CC_DEPRECATED_ATTRIBUTE CC_DLL Vec3* cocos2d::kmVec3Add |
( | Vec3 * | pOut, |
const Vec3 * | pV1, | ||
const Vec3 * | pV2 | ||
) |
CC_DEPRECATED_ATTRIBUTE CC_DLL Vec3* cocos2d::kmVec3Subtract |
( | Vec3 * | pOut, |
const Vec3 * | pV1, | ||
const Vec3 * | pV2 | ||
) |
CC_DEPRECATED_ATTRIBUTE CC_DLL Vec3* cocos2d::kmVec3TransformNormal |
( | Vec3 * | pOut, |
const Vec3 * | pV, | ||
const Mat4 * | pM | ||
) |
CC_DEPRECATED_ATTRIBUTE CC_DLL Vec3* cocos2d::kmVec3TransformCoord |
( | Vec3 * | pOut, |
const Vec3 * | pV, | ||
const Mat4 * | pM | ||
) |
CC_DEPRECATED_ATTRIBUTE CC_DLL Vec3* cocos2d::kmVec3Assign |
( | Vec3 * | pOut, |
const Vec3 * | pIn | ||
) |
CC_DEPRECATED_ATTRIBUTE CC_DLL float cocos2d::kmVec2LengthSq |
( | const Vec2 * | pIn | ) |
CC_DEPRECATED_ATTRIBUTE CC_DLL Vec2* cocos2d::kmVec2Subtract |
( | Vec2 * | pOut, |
const Vec2 * | pV1, | ||
const Vec2 * | pV2 | ||
) |
CC_DEPRECATED_ATTRIBUTE CC_DLL Vec2* cocos2d::kmVec2Assign |
( | Vec2 * | pOut, |
const Vec2 * | pIn | ||
) |
CC_DEPRECATED_ATTRIBUTE CC_DLL float cocos2d::kmVec4LengthSq |
( | const Vec4 * | pIn | ) |
CC_DEPRECATED_ATTRIBUTE CC_DLL Vec4* cocos2d::kmVec4Subtract |
( | Vec4 * | pOut, |
const Vec4 * | pV1, | ||
const Vec4 * | pV2 | ||
) |
CC_DEPRECATED_ATTRIBUTE CC_DLL Vec4* cocos2d::kmVec4Assign |
( | Vec4 * | pOut, |
const Vec4 * | pIn | ||
) |
CC_DEPRECATED_ATTRIBUTE CC_DLL Vec4* cocos2d::kmVec4Transform |
( | Vec4 * | pOut, |
const Vec4 * | pV, | ||
const Mat4 * | pM | ||
) |
CC_DLL const AffineTransform AffineTransformIdentity |
const ssize_t CC_INVALID_INDEX |
std::string s_attributeNames[] |
const std::string STD_STRING_EMPTY |
const ValueMapIntKey ValueMapIntKeyNull |
const ValueMap ValueMapNull |
const ValueVector ValueVectorNull |