From 602b9e51f283fed20dddfb74572a3638451d9e11 Mon Sep 17 00:00:00 2001 From: Priority10 <33290238+Priority10@users.noreply.github.com> Date: Thu, 23 Nov 2017 04:35:41 +0300 Subject: [PATCH] Tiny comment fix in ccConfig.h (#18483) --- cocos/base/ccConfig.h | 29 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/cocos/base/ccConfig.h b/cocos/base/ccConfig.h index 5083db927f..9a51753cc7 100644 --- a/cocos/base/ccConfig.h +++ b/cocos/base/ccConfig.h @@ -33,7 +33,7 @@ THE SOFTWARE. /** * @file * cocos2d (cc) configuration file. -*/ + */ /** @def CC_ENABLE_STACKABLE_ACTIONS * If enabled, actions that alter the position property (eg: MoveBy, JumpBy, BezierBy, etc..) will be stacked. @@ -58,7 +58,7 @@ THE SOFTWARE. * It is recommended to enable whenever possible to improve speed. * If you are migrating your code from GL ES 1.1, then keep it disabled. Once all your code works as expected, turn it on. - * Default value: Enabled by default + * Enabled by default. * @since v2.0.0 */ @@ -189,12 +189,12 @@ THE SOFTWARE. #endif /** @def CC_LABEL_DEBUG_DRAW -* If enabled, all subclasses of Label will draw a bounding box. -* Useful for debugging purposes only. It is recommended to leave it disabled. -* To enable set it to a value different than 0. Disabled by default: -* 0 -- disabled -* 1 -- draw bounding box -*/ + * If enabled, all subclasses of Label will draw a bounding box. + * Useful for debugging purposes only. It is recommended to leave it disabled. + * To enable set it to a value different than 0. Disabled by default: + * 0 -- disabled + * 1 -- draw bounding box + */ #ifndef CC_LABEL_DEBUG_DRAW #define CC_LABEL_DEBUG_DRAW 0 #endif @@ -281,7 +281,7 @@ THE SOFTWARE. #endif /** Support PNG or not. If your application don't use png format picture, you can undefine this macro to save package size. -*/ + */ #ifndef CC_USE_PNG #define CC_USE_PNG 1 #endif // CC_USE_PNG @@ -306,7 +306,7 @@ THE SOFTWARE. #endif #endif // CC_USE_WEBP - /** Support WIC (Windows Image Component) or not. Replaces PNG, TIFF and JPEG +/** Support WIC (Windows Image Component) or not. Replaces PNG, TIFF and JPEG */ #ifndef CC_USE_WIC #if (CC_TARGET_PLATFORM == CC_PLATFORM_WINRT) @@ -323,11 +323,10 @@ THE SOFTWARE. #endif /** When CC_ENABLE_SCRIPT_BINDING and CC_ENABLE_GC_FOR_NATIVE_OBJECTS are both 1 - then the Garbage collector will release the native objects, only when the JS/Lua objects - are collected. - The benefit is that users don't need to retain/release the JS/Lua objects manually. - - By default this behavior is disabled by default + * then the Garbage collector will release the native objects, only when the JS/Lua objects + * are collected. + * The benefit is that users don't need to retain/release the JS/Lua objects manually. + * Disabled by default. */ #ifdef CC_ENABLE_SCRIPT_BINDING #ifndef CC_ENABLE_GC_FOR_NATIVE_OBJECTS