mirror of https://github.com/axmolengine/axmol.git
Tiny comment fix in ccConfig.h (#18483)
This commit is contained in:
parent
14bca227e8
commit
602b9e51f2
|
@ -33,7 +33,7 @@ THE SOFTWARE.
|
||||||
/**
|
/**
|
||||||
* @file
|
* @file
|
||||||
* cocos2d (cc) configuration file.
|
* cocos2d (cc) configuration file.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/** @def CC_ENABLE_STACKABLE_ACTIONS
|
/** @def CC_ENABLE_STACKABLE_ACTIONS
|
||||||
* If enabled, actions that alter the position property (eg: MoveBy, JumpBy, BezierBy, etc..) will be stacked.
|
* 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.
|
* 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.
|
* 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
|
* @since v2.0.0
|
||||||
*/
|
*/
|
||||||
|
@ -189,12 +189,12 @@ THE SOFTWARE.
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/** @def CC_LABEL_DEBUG_DRAW
|
/** @def CC_LABEL_DEBUG_DRAW
|
||||||
* If enabled, all subclasses of Label will draw a 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.
|
* 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:
|
* To enable set it to a value different than 0. Disabled by default:
|
||||||
* 0 -- disabled
|
* 0 -- disabled
|
||||||
* 1 -- draw bounding box
|
* 1 -- draw bounding box
|
||||||
*/
|
*/
|
||||||
#ifndef CC_LABEL_DEBUG_DRAW
|
#ifndef CC_LABEL_DEBUG_DRAW
|
||||||
#define CC_LABEL_DEBUG_DRAW 0
|
#define CC_LABEL_DEBUG_DRAW 0
|
||||||
#endif
|
#endif
|
||||||
|
@ -281,7 +281,7 @@ THE SOFTWARE.
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/** Support PNG or not. If your application don't use png format picture, you can undefine this macro to save package size.
|
/** 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
|
#ifndef CC_USE_PNG
|
||||||
#define CC_USE_PNG 1
|
#define CC_USE_PNG 1
|
||||||
#endif // CC_USE_PNG
|
#endif // CC_USE_PNG
|
||||||
|
@ -306,7 +306,7 @@ THE SOFTWARE.
|
||||||
#endif
|
#endif
|
||||||
#endif // CC_USE_WEBP
|
#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
|
#ifndef CC_USE_WIC
|
||||||
#if (CC_TARGET_PLATFORM == CC_PLATFORM_WINRT)
|
#if (CC_TARGET_PLATFORM == CC_PLATFORM_WINRT)
|
||||||
|
@ -323,11 +323,10 @@ THE SOFTWARE.
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/** When CC_ENABLE_SCRIPT_BINDING and CC_ENABLE_GC_FOR_NATIVE_OBJECTS are both 1
|
/** 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
|
* then the Garbage collector will release the native objects, only when the JS/Lua objects
|
||||||
are collected.
|
* are collected.
|
||||||
The benefit is that users don't need to retain/release the JS/Lua objects manually.
|
* The benefit is that users don't need to retain/release the JS/Lua objects manually.
|
||||||
|
* Disabled by default.
|
||||||
By default this behavior is disabled by default
|
|
||||||
*/
|
*/
|
||||||
#ifdef CC_ENABLE_SCRIPT_BINDING
|
#ifdef CC_ENABLE_SCRIPT_BINDING
|
||||||
#ifndef CC_ENABLE_GC_FOR_NATIVE_OBJECTS
|
#ifndef CC_ENABLE_GC_FOR_NATIVE_OBJECTS
|
||||||
|
|
Loading…
Reference in New Issue