mirror of https://github.com/axmolengine/axmol.git
147 lines
5.1 KiB
C
147 lines
5.1 KiB
C
/****************************************************************************
|
|
Copyright (c) 2013 cocos2d-x.org
|
|
|
|
http://www.cocos2d-x.org
|
|
|
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
of this software and associated documentation files (the "Software"), to deal
|
|
in the Software without restriction, including without limitation the rights
|
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
copies of the Software, and to permit persons to whom the Software is
|
|
furnished to do so, subject to the following conditions:
|
|
|
|
The above copyright notice and this permission notice shall be included in
|
|
all copies or substantial portions of the Software.
|
|
|
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
THE SOFTWARE.
|
|
****************************************************************************/
|
|
|
|
#ifndef __CCCONSTVALUE_H__
|
|
#define __CCCONSTVALUE_H__
|
|
|
|
static const char *VERSION = "version";
|
|
static float VERSION_2_0 = 2.0f;
|
|
|
|
static const char *SKELETON = "skeleton";
|
|
|
|
static const char *ARMATURES = "armatures";
|
|
static const char *ARMATURE = "armature";
|
|
static const char *BONE = "b";
|
|
static const char *DISPLAY = "d";
|
|
|
|
static const char *ANIMATIONS = "animations";
|
|
static const char *ANIMATION = "animation";
|
|
static const char *MOVEMENT = "mov";
|
|
static const char *EVENT = "event";
|
|
static const char *FRAME = "f";
|
|
|
|
static const char *TEXTURE_ATLAS = "TextureAtlas";
|
|
static const char *SUB_TEXTURE = "SubTexture";
|
|
|
|
static const char *AT = "@";
|
|
static const char *A_BONE_TYPE = "bT";
|
|
static const char *A_NAME = "name";
|
|
static const char *A_DURATION = "dr";
|
|
static const char *A_DURATION_TO = "to";
|
|
static const char *A_DURATION_TWEEN = "drTW";
|
|
static const char *A_LOOP = "lp";
|
|
static const char *A_MOVEMENT_SCALE = "sc";
|
|
static const char *A_MOVEMENT_DELAY = "dl";
|
|
static const char *A_DISPLAY_INDEX = "dI";
|
|
|
|
static const char *A_VERT = "vert";
|
|
static const char *A_FRAG = "frag";
|
|
static const char *A_PLIST = "plist";
|
|
|
|
static const char *A_PARENT = "parent";
|
|
static const char *A_SKEW_X = "kX";
|
|
static const char *A_SKEW_Y = "kY";
|
|
static const char *A_SCALE_X = "cX";
|
|
static const char *A_SCALE_Y = "cY";
|
|
static const char *A_Z = "z";
|
|
static const char *A_HIDE = "hide";
|
|
static const char *A_IMAGE = "img";
|
|
static const char *A_EVENT = "evt";
|
|
static const char *A_SOUND = "sd";
|
|
static const char *A_SOUND_EFFECT = "sdE";
|
|
static const char *A_TWEEN_EASING ="twE";
|
|
static const char *A_TWEEN_ROTATE ="twR";
|
|
static const char *A_IS_ARMATURE = "isArmature";
|
|
static const char *A_DISPLAY_TYPE = "displayType";
|
|
static const char *A_MOVEMENT = "mov";
|
|
|
|
static const char *A_X = "x";
|
|
static const char *A_Y = "y";
|
|
|
|
static const char *A_COCOS2DX_X = "cocos2d_x";
|
|
static const char *A_COCOS2DX_Y = "cocos2d_y";
|
|
|
|
static const char *A_WIDTH = "width";
|
|
static const char *A_HEIGHT = "height";
|
|
static const char *A_PIVOT_X = "pX";
|
|
static const char *A_PIVOT_Y = "pY";
|
|
|
|
static const char *A_COCOS2D_PIVOT_X = "cocos2d_pX";
|
|
static const char *A_COCOS2D_PIVOT_Y = "cocos2d_pY";
|
|
|
|
static const char *A_ALPHA = "a";
|
|
static const char *A_RED = "r";
|
|
static const char *A_GREEN = "g";
|
|
static const char *A_BLUE = "b";
|
|
static const char *A_ALPHA_OFFSET = "aM";
|
|
static const char *A_RED_OFFSET = "rM";
|
|
static const char *A_GREEN_OFFSET = "gM";
|
|
static const char *A_BLUE_OFFSET = "bM";
|
|
static const char *A_COLOR_TRANSFORM = "colorTransform";
|
|
static const char *A_ROTATION = "rotation";
|
|
static const char *A_USE_COLOR_INFO = "uci";
|
|
static const char *A_BONE_IMAGE = "bi";
|
|
|
|
static const char *V_SOUND_LEFT = "l";
|
|
static const char *V_SOUND_RIGHT = "r";
|
|
static const char *V_SOUND_LEFT_TO_RIGHT = "lr";
|
|
static const char *V_SOUND_RIGHT_TO_LEFT = "rl";
|
|
static const char *V_SOUND_FADE_IN = "in";
|
|
static const char *V_SOUND_FADE_OUT = "out";
|
|
|
|
|
|
static const char *CONTOUR = "con";
|
|
static const char *CONTOUR_VERTEX = "con_vt";
|
|
|
|
|
|
static const char *START = "start";
|
|
static const char *COMPLETE = "complete";
|
|
static const char *LOOP_COMPLETE = "loopComplete";
|
|
static const char *IN_FRAME = "inFrame";
|
|
|
|
static const char *MOVEMENT_EVENT_FRAME = "movementEventFrame";
|
|
static const char *SOUND_FRAME = "soundFrame";
|
|
|
|
|
|
static const char *FL_NAN = "NaN";
|
|
|
|
|
|
|
|
static const char *DATA_TYPE = "data_type";
|
|
static const char *FRAME_DATA = "frame_data";
|
|
static const char *MOVEMENT_BONE_DATA = "mov_bone_data";
|
|
static const char *MOVEMENT_FRAME_DATA = "mov_frame_data";
|
|
static const char *MOVEMENT_DATA = "mov_data";
|
|
static const char *ANIMATION_DATA = "animation_data";
|
|
static const char *DISPLAY_DATA = "display_data";
|
|
static const char *BONE_DATA = "bone_data";
|
|
static const char *ARMATURE_DATA = "armature_data";
|
|
static const char *CONTOUR_DATA = "contour_data";
|
|
static const char *TEXTURE_DATA = "texture_data";
|
|
static const char *VERTEX_POINT = "vertex";
|
|
static const char *COLOR_INFO = "color";
|
|
|
|
|
|
#endif /*__CCCONSTVALUE_H__*/
|