cocos2d-x  3.0-alpha0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
CCDatas.h File Reference

Classes

class  BaseData
 The base node include a lot of attributes. More...
 
class  DisplayData
 
class  SpriteDisplayData
 
class  ArmatureDisplayData
 
class  ParticleDisplayData
 
class  BoneData
 BoneData used to init a Bone. More...
 
class  ArmatureData
 ArmatureData saved the Armature name and Bonedata needed for the CCBones in this Armature When we create a Armature, we need to get each Bone's BoneData as it's init information. More...
 
class  FrameData
 
class  MovementBoneData
 
class  MovementData
 
class  AnimationData
 AnimationData include all movement infomation for the Armature The struct is AnimationData -> MovementData -> MovementBoneData -> FrameData -> MovementFrameData. More...
 
struct  ContourVertex2
 
class  ContourData
 
class  TextureData
 

Namespaces

 cocos2d
 Add deprecated global functions and variables here.
 
 cocos2d::extension
 
 cocos2d::extension::armature
 

Constant Groups

 cocos2d
 Add deprecated global functions and variables here.
 
 cocos2d::extension
 
 cocos2d::extension::armature
 

Macros

#define CC_CREATE_NO_PARAM_NO_INIT(varType)
#define CC_CREATE_NO_PARAM(varType)

Enumerations

enum  DisplayType { CS_DISPLAY_SPRITE, CS_DISPLAY_ARMATURE, CS_DISPLAY_PARTICLE, CS_DISPLAY_MAX }
 DisplayType distinguish which type your display is. More...
 
enum  BlendType {
  BLEND_NORMAL, BLEND_LAYER, BLEND_DARKEN, BLEND_MULTIPLY,
  BLEND_LIGHTEN, BLEND_SCREEN, BLEND_OVERLAY, BLEND_HARD_LIGHT,
  BLEND_ADD, BLEND_SUBSTRACT, BLEND_DIFFERENCE, BLEND_INVERT,
  BLEND_ALPHA, BLEND_ERASE
}
 

Macro Definition Documentation

#define CC_CREATE_NO_PARAM (   varType)
Value:
public: \
static inline varType *create(void){ \
varType *var = new varType();\
if (var && var->init())\
{\
var->autorelease();\
return var;\
}\
CC_SAFE_DELETE(var);\
return NULL;\
}
var CC_CREATE_NO_PARAM (   var)
Value:
public: \
static inline varType *create(void){ \
varType *var = new varType();\
if (var && var->init())\
{\
var->autorelease();\
return var;\
}\
CC_SAFE_DELETE(var);\
return NULL;\
}
local CC_CREATE_NO_PARAM (   local)
Value:
public: \
static inline varType *create(void){ \
varType *var = new varType();\
if (var && var->init())\
{\
var->autorelease();\
return var;\
}\
CC_SAFE_DELETE(var);\
return NULL;\
}
#define CC_CREATE_NO_PARAM_NO_INIT (   varType)
Value:
public: \
static inline varType *create(void){ \
varType *var = new varType();\
if (var)\
{\
var->autorelease();\
return var;\
}\
CC_SAFE_DELETE(var);\
return NULL;\
}
var CC_CREATE_NO_PARAM_NO_INIT (   var)
Value:
public: \
static inline varType *create(void){ \
varType *var = new varType();\
if (var)\
{\
var->autorelease();\
return var;\
}\
CC_SAFE_DELETE(var);\
return NULL;\
}
local CC_CREATE_NO_PARAM_NO_INIT (   local)
Value:
public: \
static inline varType *create(void){ \
varType *var = new varType();\
if (var)\
{\
var->autorelease();\
return var;\
}\
CC_SAFE_DELETE(var);\
return NULL;\
}