From 8cad37a8d8b48a966b1ec53e54f363e6591750af Mon Sep 17 00:00:00 2001 From: sunzhuoshi Date: Tue, 16 Jul 2013 14:47:47 +0800 Subject: [PATCH] Fixed javascript constant names auto-generated --- .../bindings/js/jsb_cocos2d_constants.js | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/scripting/javascript/bindings/js/jsb_cocos2d_constants.js b/scripting/javascript/bindings/js/jsb_cocos2d_constants.js index de5f804e61..b3b8ba7db6 100644 --- a/scripting/javascript/bindings/js/jsb_cocos2d_constants.js +++ b/scripting/javascript/bindings/js/jsb_cocos2d_constants.js @@ -93,17 +93,17 @@ cc.TMX_TILE_VERTICAL_FLAG = 0x40000000; cc.TEXT_ALIGNMENT_CENTER = 0x1; cc.TEXT_ALIGNMENT_LEFT = 0x0; cc.TEXT_ALIGNMENT_RIGHT = 0x2; -cc.TEXTURE2_D_PIXEL_FORMAT_A8 = 0x3; -cc.TEXTURE2_D_PIXEL_FORMAT_A_I88 = 0x5; -cc.TEXTURE2_D_PIXEL_FORMAT_DEFAULT = 0x0; -cc.TEXTURE2_D_PIXEL_FORMAT_I8 = 0x4; -cc.TEXTURE2_D_PIXEL_FORMAT_PVRTC2 = 0x9; -cc.TEXTURE2_D_PIXEL_FORMAT_PVRTC4 = 0x8; -cc.TEXTURE2_D_PIXEL_FORMAT_RG_B565 = 0x2; -cc.TEXTURE2_D_PIXEL_FORMAT_RGB5_A1 = 0x7; -cc.TEXTURE2_D_PIXEL_FORMAT_RG_B888 = 0x1; -cc.TEXTURE2_D_PIXEL_FORMAT_RGB_A4444 = 0x6; -cc.TEXTURE2_D_PIXEL_FORMAT_RGB_A8888 = 0x0; +cc.TEXTURE_2D_PIXEL_FORMAT_A8 = 0x3; +cc.TEXTURE_2D_PIXEL_FORMAT_AI88 = 0x5; +cc.TEXTURE_2D_PIXEL_FORMAT_DEFAULT = 0x0; +cc.TEXTURE_2D_PIXEL_FORMAT_I8 = 0x4; +cc.TEXTURE_2D_PIXEL_FORMAT_PVRTC2 = 0x9; +cc.TEXTURE_2D_PIXEL_FORMAT_PVRTC4 = 0x8; +cc.TEXTURE_2D_PIXEL_FORMAT_RGB565 = 0x2; +cc.TEXTURE_2D_PIXEL_FORMAT_RGB5A1 = 0x7; +cc.TEXTURE_2D_PIXEL_FORMAT_RGB888 = 0x1; +cc.TEXTURE_2D_PIXEL_FORMAT_RGBA4444 = 0x6; +cc.TEXTURE_2D_PIXEL_FORMAT_RGBA8888 = 0x0; cc.TOUCHES_ALL_AT_ONCE = 0x0; cc.TOUCHES_ONE_BY_ONE = 0x1; cc.TRANSITION_ORIENTATION_DOWN_OVER = 0x1;