mirror of https://github.com/axmolengine/axmol.git
77 lines
4.4 KiB
Lua
77 lines
4.4 KiB
Lua
|
|
--Enums will be deprecated,begin
|
|
_G.kCCTextAlignmentLeft = cc.TEXT_ALIGNMENT_LEFT
|
|
_G.kCCTextAlignmentRight = cc.TEXT_ALIGNMENT_RIGHT
|
|
_G.kCCTextAlignmentCenter = cc.TEXT_ALIGNMENT_CENTER
|
|
_G.kCCVerticalTextAlignmentTop = cc.VERTICAL_TEXT_ALIGNMENT_TOP
|
|
_G.kCCVerticalTextAlignmentCenter = cc.VERTICAL_TEXT_ALIGNMENT_CENTER
|
|
_G.kCCVerticalTextAlignmentBottom = cc.VERTICAL_TEXT_ALIGNMENT_BOTTOM
|
|
_G.kCCDirectorProjection3D = cc.DIRECTOR_PROJECTION3_D
|
|
_G.kCCDirectorProjection2D = cc.DIRECTOR_PROJECTION2_D
|
|
_G.kCCDirectorProjectionCustom = cc.DIRECTOR_PROJECTION_CUSTOM
|
|
_G.kCCDirectorProjectionDefault = cc.DIRECTOR_PROJECTION_DEFAULT
|
|
_G.kCCNodeTagInvalid = cc.NODE_TAG_INVALID
|
|
_G.kCCNodeOnEnter = cc.NODE_ON_ENTER
|
|
_G.kCCNodeOnExit = cc.NODE_ON_EXIT
|
|
_G.kCCTexture2DPixelFormat_RGBA8888 = cc.TEXTURE2_D_PIXEL_FORMAT_RGB_A8888
|
|
_G.kCCTexture2DPixelFormat_RGB888 = cc.TEXTURE2_D_PIXEL_FORMAT_RG_B888
|
|
_G.kCCTexture2DPixelFormat_RGB565 = cc.TEXTURE2_D_PIXEL_FORMAT_RG_B565
|
|
_G.kCCTexture2DPixelFormat_A8 = cc.TEXTURE2_D_PIXEL_FORMAT_A8
|
|
_G.kCCTexture2DPixelFormat_I8 = cc.TEXTURE2_D_PIXEL_FORMAT_I8
|
|
_G.kCCTexture2DPixelFormat_AI88 = cc.TEXTURE2_D_PIXEL_FORMAT_A_I88
|
|
_G.kCCTexture2DPixelFormat_RGBA4444 = cc.TEXTURE2_D_PIXEL_FORMAT_RGB_A4444
|
|
_G.kCCTexture2DPixelFormat_RGB5A1 = cc.TEXTURE2_D_PIXEL_FORMAT_RGB5_A1
|
|
_G.kCCTexture2DPixelFormat_PVRTC4 = cc.TEXTURE2_D_PIXEL_FORMAT_PVRTC4
|
|
_G.kCCTexture2DPixelFormat_PVRTC2 = cc.TEXTURE2_D_PIXEL_FORMAT_PVRTC2
|
|
_G.kCCTexture2DPixelFormat_Default = cc.TEXTURE2_D_PIXEL_FORMAT_DEFAULT
|
|
_G.kCCImageFormatPNG = cc.IMAGE_FORMAT_PNG
|
|
_G.kCCImageFormatJPEG = cc.IMAGE_FORMAT_JPEG
|
|
_G.kCCTouchesOneByOne = cc.TOUCHES_ONE_BY_ONE
|
|
_G.kCCTouchesAllAtOnce = cc.TOUCHES_ALL_AT_ONCE
|
|
_G.kCCTransitionOrientationLeftOver = cc.TRANSITION_ORIENTATION_LEFT_OVER
|
|
_G.kCCTransitionOrientationRightOver = cc.TRANSITION_ORIENTATION_RIGHT_OVER
|
|
_G.kCCTransitionOrientationUpOver = cc.TRANSITION_ORIENTATION_UP_OVER
|
|
_G.kCCTransitionOrientationDownOver = cc.TRANSITION_ORIENTATION_DOWN_OVER
|
|
_G.kCCActionTagInvalid = cc.ACTION_TAG_INVALID
|
|
_G.kCCLabelAutomaticWidth = cc.LABEL_AUTOMATIC_WIDTH
|
|
_G.kCCMenuStateWaiting = cc.MENU_STATE_WAITING
|
|
_G.kCCMenuStateTrackingTouch = cc.MENU_STATE_TRACKING_TOUCH
|
|
_G.kCCMenuHandlerPriority = cc.MENU_HANDLER_PRIORITY
|
|
_G.kCCParticleDurationInfinity = cc.PARTICLE_DURATION_INFINITY
|
|
_G.kCCParticleStartSizeEqualToEndSize = cc.PARTICLE_START_SIZE_EQUAL_TO_END_SIZE
|
|
_G.kCCParticleStartRadiusEqualToEndRadius = cc.PARTICLE_START_RADIUS_EQUAL_TO_END_RADIUS
|
|
_G.kCCParticleModeGravity = cc.PARTICLE_MODE_GRAVITY
|
|
_G.kCCParticleModeRadius = cc.PARTICLE_MODE_RADIUS
|
|
_G.kCCPositionTypeFree = cc.POSITION_TYPE_FREE
|
|
_G.kCCPositionTypeRelative = cc.POSITION_TYPE_RELATIVE
|
|
_G.kCCPositionTypeGrouped = cc.POSITION_TYPE_GROUPED
|
|
_G.kCCProgressTimerTypeRadial = cc.PROGRESS_TIMER_TYPE_RADIAL
|
|
_G.kCCProgressTimerTypeBar = cc.PROGRESS_TIMER_TYPE_BAR
|
|
_G.kCCTMXTileHorizontalFlag = cc.TMX_TILE_HORIZONTAL_FLAG
|
|
_G.kCCTMXTileVerticalFlag = cc.TMX_TILE_VERTICAL_FLAG
|
|
_G.kCCTMXTileDiagonalFlag = cc.TMX_TILE_DIAGONAL_FLAG
|
|
_G.kCCFlipedAll = cc.FLIPED_ALL
|
|
_G.kCCFlippedMask = cc.FLIPPED_MASK
|
|
|
|
_G.kLanguageEnglish = cc.LANGUAGE_ENGLISH
|
|
_G.kLanguageChinese = cc.LANGUAGE_CHINESE
|
|
_G.kLanguageFrench = cc.LANGUAGE_FRENCH
|
|
_G.kLanguageItalian = cc.LANGUAGE_ITALIAN
|
|
_G.kLanguageGerman = cc.LANGUAGE_GERMAN
|
|
_G.kLanguageSpanish = cc.LANGUAGE_SPANISH
|
|
_G.kLanguageRussian = cc.LANGUAGE_RUSSIAN
|
|
_G.kLanguageKorean = cc.LANGUAGE_KOREAN
|
|
_G.kLanguageJapanese = cc.LANGUAGE_JAPANESE
|
|
_G.kLanguageHungarian = cc.LANGUAGE_HUNGARIAN
|
|
_G.kLanguagePortuguese = cc.LANGUAGE_PORTUGUESE
|
|
_G.kLanguageArabic = cc.LANGUAGE_ARABIC
|
|
_G.kTargetWindows = cc.PLATFORM_OS_WINDOWS
|
|
_G.kTargetLinux = cc.PLATFORM_OS_LINUX
|
|
_G.kTargetMacOS = cc.PLATFORM_OS_MAC
|
|
_G.kTargetAndroid = cc.PLATFORM_OS_ANDROID
|
|
_G.kTargetIphone = cc.PLATFORM_OS_IPHONE
|
|
_G.kTargetIpad = cc.PLATFORM_OS_IPAD
|
|
_G.kTargetBlackBerry = cc.PLATFORM_OS_BLACKBERRY
|
|
|
|
cc.TEXTURE_PIXELFORMAT_DEFAULT = cc.TEXTURE2_D_PIXEL_FORMAT_DEFAULT
|