00001 /* 00002 * cocos2d for iPhone: http://www.cocos2d-iphone.org 00003 * 00004 * Copyright (c) 2008-2010 Ricardo Quesada 00005 * 00006 * Permission is hereby granted, free of charge, to any person obtaining a copy 00007 * of this software and associated documentation files (the "Software"), to deal 00008 * in the Software without restriction, including without limitation the rights 00009 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 00010 * copies of the Software, and to permit persons to whom the Software is 00011 * furnished to do so, subject to the following conditions: 00012 * 00013 * The above copyright notice and this permission notice shall be included in 00014 * all copies or substantial portions of the Software. 00015 * 00016 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 00017 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 00018 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 00019 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 00020 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 00021 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 00022 * THE SOFTWARE. 00023 */ 00024 00025 00038 #define CC_FONT_LABEL_SUPPORT 1 00039 00047 #define CC_DIRECTOR_FAST_FPS 1 00048 00056 #define CC_DIRECTOR_FPS_INTERVAL (0.1f) 00057 00068 #define CC_DIRECTOR_DISPATCH_FAST_EVENTS 0 00069 00076 #define CC_COCOSNODE_RENDER_SUBPIXEL 1 00077 00084 #define CC_SPRITESHEET_RENDER_SUBPIXEL 1 00085 00093 #define CC_TEXTURE_ATLAS_USES_VBO 1 00094 00107 #define CC_NODE_TRANSFORM_USING_AFFINE_MATRIX 1 00108 00116 #define CC_TEXTURE_ATLAS_USE_TRIANGLE_STRIP 0 00117 00128 #define CC_TEXTURE_NPOT_SUPPORT 0 00129 00136 #define CC_SPRITE_DEBUG_DRAW 0 00137 00144 #define CC_SPRITESHEET_DEBUG_DRAW 0 00145 00152 #define CC_BITMAPFONTATLAS_DEBUG_DRAW 0 00153 00160 #define CC_LABELATLAS_DEBUG_DRAW 0 00161 00169 #define CC_ENABLE_PROFILERS 0 00170 00178 #define CC_COMPATIBILITY_WITH_0_8 0