|
cocos2d for iPhone 1.0.0
2D engine for iOS and OS X
|
00001 /* 00002 * cocos2d for iPhone: http://www.cocos2d-iphone.org 00003 * 00004 * Copyright (c) 2008-2010 Ricardo Quesada 00005 * Copyright (c) 2011 Zynga Inc. 00006 * 00007 * Permission is hereby granted, free of charge, to any person obtaining a copy 00008 * of this software and associated documentation files (the "Software"), to deal 00009 * in the Software without restriction, including without limitation the rights 00010 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 00011 * copies of the Software, and to permit persons to whom the Software is 00012 * furnished to do so, subject to the following conditions: 00013 * 00014 * The above copyright notice and this permission notice shall be included in 00015 * all copies or substantial portions of the Software. 00016 * 00017 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 00018 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 00019 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 00020 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 00021 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 00022 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 00023 * THE SOFTWARE. 00024 */ 00025 00041 // 0x00 HI ME LO 00042 // 00 01 00 00 00043 #define COCOS2D_VERSION 0x00010000 00044 00045 #import <Availability.h> 00046 00047 // 00048 // all cocos2d include files 00049 // 00050 #import "ccConfig.h" // should be included first 00051 00052 #import "CCActionManager.h" 00053 #import "CCAction.h" 00054 #import "CCActionInstant.h" 00055 #import "CCActionInterval.h" 00056 #import "CCActionEase.h" 00057 #import "CCActionCamera.h" 00058 #import "CCActionTween.h" 00059 #import "CCActionEase.h" 00060 #import "CCActionTiledGrid.h" 00061 #import "CCActionGrid3D.h" 00062 #import "CCActionGrid.h" 00063 #import "CCActionProgressTimer.h" 00064 #import "CCActionPageTurn3D.h" 00065 00066 #import "CCAnimation.h" 00067 #import "CCAnimationCache.h" 00068 #import "CCSprite.h" 00069 #import "CCSpriteFrame.h" 00070 #import "CCSpriteBatchNode.h" 00071 #import "CCSpriteFrameCache.h" 00072 00073 #import "CCLabelTTF.h" 00074 #import "CCLabelBMFont.h" 00075 #import "CCLabelAtlas.h" 00076 00077 #import "CCParticleSystem.h" 00078 #import "CCParticleSystemPoint.h" 00079 #import "CCParticleSystemQuad.h" 00080 #import "CCParticleExamples.h" 00081 00082 #import "CCTexture2D.h" 00083 #import "CCTexturePVR.h" 00084 #import "CCTextureCache.h" 00085 #import "CCTextureAtlas.h" 00086 00087 #import "CCTransition.h" 00088 #import "CCTransitionPageTurn.h" 00089 #import "CCTransitionRadial.h" 00090 00091 #import "CCTMXTiledMap.h" 00092 #import "CCTMXLayer.h" 00093 #import "CCTMXObjectGroup.h" 00094 #import "CCTMXXMLParser.h" 00095 #import "CCTileMapAtlas.h" 00096 00097 #import "CCLayer.h" 00098 #import "CCMenu.h" 00099 #import "CCMenuItem.h" 00100 #import "CCDrawingPrimitives.h" 00101 #import "CCScene.h" 00102 #import "CCScheduler.h" 00103 #import "CCBlockSupport.h" 00104 #import "CCCamera.h" 00105 #import "CCProtocols.h" 00106 #import "CCNode.h" 00107 #import "CCDirector.h" 00108 #import "CCAtlasNode.h" 00109 #import "CCGrabber.h" 00110 #import "CCGrid.h" 00111 #import "CCParallaxNode.h" 00112 #import "CCRenderTexture.h" 00113 #import "CCMotionStreak.h" 00114 #import "CCConfiguration.h" 00115 00116 // 00117 // cocos2d macros 00118 // 00119 #import "ccTypes.h" 00120 #import "ccMacros.h" 00121 00122 00123 // Platform common 00124 #import "Platforms/CCGL.h" 00125 #import "Platforms/CCNS.h" 00126 00127 #ifdef __IPHONE_OS_VERSION_MAX_ALLOWED 00128 #import "Platforms/iOS/CCTouchDispatcher.h" 00129 #import "Platforms/iOS/CCTouchDelegateProtocol.h" 00130 #import "Platforms/iOS/CCTouchHandler.h" 00131 #import "Platforms/iOS/EAGLView.h" 00132 #import "Platforms/iOS/CCDirectorIOS.h" 00133 00134 #elif defined(__MAC_OS_X_VERSION_MAX_ALLOWED) 00135 #import "Platforms/Mac/MacGLView.h" 00136 #import "Platforms/Mac/CCDirectorMac.h" 00137 #endif 00138 00139 // 00140 // cocos2d helper files 00141 // 00142 #import "Support/OpenGL_Internal.h" 00143 #import "Support/CCFileUtils.h" 00144 #import "Support/CGPointExtension.h" 00145 #import "Support/ccCArray.h" 00146 #import "Support/CCArray.h" 00147 #import "Support/ccUtils.h" 00148 00149 #if CC_ENABLE_PROFILERS 00150 #import "Support/CCProfiling.h" 00151 #endif // CC_ENABLE_PROFILERS 00152 00153 00154 // free functions 00155 NSString * cocos2dVersion(void); 00156 00157 #ifdef __IPHONE_OS_VERSION_MAX_ALLOWED 00158 #ifndef __IPHONE_4_0 00159 #error "If you are targeting iPad, you should set BASE SDK = 4.0 (or 4.1, or 4.2), and set the 'iOS deploy target' = 3.2" 00160 #endif 00161 #endif