diff --git a/API-Index.md b/API-Index.md deleted file mode 100644 index bbc7c352c99..00000000000 --- a/API-Index.md +++ /dev/null @@ -1,3 +0,0 @@ -This is the Cocos2D-SpriteBuilder Class Reference where you can look up public classes, methods, parameters, protocols, constants and enums. -To learn how to work with Cocos2D (and SpriteBuilder) please refer to the [**Developer Guide**](http://www.makeschool.com/docs) -and the [**Learn SpriteBuilder book**](http://www.apress.com/9781484202630). diff --git a/AUTHORS b/AUTHORS index abf4ca34000..8bdd132651c 100644 --- a/AUTHORS +++ b/AUTHORS @@ -15,6 +15,9 @@ Lead Developer: People and companies, who have contributed, in alphabetical order. +* Andrey Volodin + Drives the project since 3.5 + * Andy Korth Co-author of chipmunk (http://howlingmoonsoftware.com/index.php) CCPhysics diff --git a/CHANGELOG b/CHANGELOG deleted file mode 100644 index 6e1cd46977a..00000000000 --- a/CHANGELOG +++ /dev/null @@ -1,1819 +0,0 @@ -03-03-14 -Deprecated, as all changes can be found and backtracked on Git. -/Birkemose - -version 2.1 - 17-Jun-2013 -. [NEW] EaseActions: Added CCEasePolynomialIn,Out,InOut -. [NEW] LabelTTF: Added support for Shadow and stroke -. [FIX] Actions: TargetedAction # startWithTarget uses correct arguments (issue #1488) -. [FIX] All: Compiles and runs on iOS7 -. [3RD] SpiderMonkey: Updated to v21.0 -. [3RD] Chipmunk2d : Updated to v6.1.5 -. [3RD] JS Bindings: Updated to v0.8 - -version 2.1-rc2 - 01-May-2013 -. [NEW] Director: Added popToSceneStackLevel method -. [NEW] LabelTTF: Can load .ttf in runtime without adding them in the info.plist file for iOS -. [NEW] Scheduler: Added 'setPaused' / 'isPaused' property -. [FIX] DrawingPrimitives: DrawSolidCircle calls lazy_init() -. [FIX] Layer: "swallow" is now a property. Can be changed in runtime. -. [FIX] MenuItem: target is not retained when using setTarget:selector: (issue #1482) -. [FIX] ParticleSystem: renders particles OK on device (issue #1462) -. [FIX] Progress Actions: "updateProgress" is called after setting the type -. [FIX] TileMaps: tile's offset property is used -. [3RD] JS Bindings: Updated to v0.7 -. [3RD] SpiderMonkey: Updated to v20.0 - -version 2.1-rc1 - 20-Mar-2013 -. [NEW] DrawingPrimitives: Added DrawSolidCircle, DrawArc, DrawSolidArc (issue #1465) -. [NEW] GLProgram: Added 2 class methods to create the instance -. [NEW] MenuItem: rect -> renamed activeArea. If contentSize is modified, activeArea is modified too -. [FIX] ClippingNode: Uses glClear to clear the stencil buffer (issue #1463) -. [FIX] Director: Only create the statsLabels if view is not nil -. [FIX] EaseActions: fixed rounding error in BounceXXX and ExpXXX actions -. [FIX] GLProgram: If shader files are not found at init time, returns nil and log warning on console -. [FIX] RenderTexture: returns correct value of contentSize - Internal sprite sets opacityModifyRGB=YES (issue #1464) -. [FIX] Texture2D: Logs using RGB565 textures only if RGB565 is being used - Fixed deprecation warnings on iOS6 (issue #1467) -. [PERF] Uniforms: small performance improvement when setting uniforms -. [3RD] CCBReader: new version of CCBReader (which version is it???) -. [3RD] Chipmunk: Updated to 6.1.4 -. [3RD] JS Bindings: Updated to v0.6 -. [3RD] SpiderMonkey: Updated to v19.0 - -version 2.1-rc0a 07-Feb-2013 -. [NEW] Actions: Stackable actions behavior can be disabled at compile time (issue #1461) - BezierTo copy: works as expected -. [FIX] LabelBMFont: setting color of label and individual chars works as expected -. [FIX] RGBAProtocol: color and opacity are propagated if parent has cascade property enabled - renamed methods: cascadeColor -> cascadeColorEnabled, cascadeOpacity -> cascadeOpacityEnabled -. [FIX] Sprite: color code improved. Removed 'unmodifiedColor' ivar. -. [FIX] SpriteFrame: rectInPixels is calculated correctly - -version 2.1-rc0 28-Jan-2013 -. [NEW] Actions: All the actions that modify the position property can be run at the same time. - MoveBy/To, JumpBy/To, BezierTo/By, CatmullRomTo/By and CardinalSplineTo/By won't override the results of previous actions. -. [NEW] FileUtils: Added "filename lookup" dictionary, useful to alter the name of an asset in runtime. Useful for cross platform -. [NEW] GLProgram: Added uniformLocationForName: method -. [NEW] NodeRGBA: New node that implements opacity and color. Sprite, Label, Menu and other are subclasses of this one. - It also supports cascading color and opacity (disabled by default in v2.1) -. [NEW] OpenGL: CC_ENABLE_GL_STATE_CACHE is enabled by default. If you are migrating from v1.x, then turn it off to easy the transition -. [FIX] Texture: PVRv3 textures automatically set the correct value for premultiplid alpha -. [FIX] Actions, Animations, Camera, Director, Menu, Node, Particles, Parallax, Sprite, SpriteBatch, Texture, TextureAtlas, Transitions: All ivars use _ as prefix, not as suffix -. [FIX] CocosDenshion: Tests moved to tests directory. Merged CocosDenshion and CocosDenshionExtras directories -. [FIX] Configuration: Can be initialized before an OpenGL context is created (issue #1450) -. [FIX] Director: replaced lenght with length - Fixed 2 memory leaks in createStatsLabel - Frees DrawingPrimitives resources (issue #1456) - The 1st dt after startAnimation will be 0 (issue #1435) -. [FIX] EaseActions: "other_" ivar renamed to "_inner". It is a property now -. [FIX] Effects: ccGridSize is no longer used. It was replaced by CGPoint and CGSize - API fixes: The first parameters that is received is the duration of the action. This is consistent with the actions API. - API fixes: parameter "grid" was renamed to "size" -. [FIX] externals: All JS related projects are in the externals/JavaScript subfolder -. [FIX] FileUtils: Suffixes for iPhone5 are: "-iphone5" and "-iphone5hd", and not "-wide" and "-widehd" -. [FIX] Layer: _touchPriority is an NSInteger, not a BOOL (issue #1449) -. [FIX] MenuItem: "releaseBlockAtCleanup" enabled by default. Rolls back behavior from v2.1-beta4 -. [FIX] RenderTexture: Restures the Projection after using it (issue #1425) -. [FIX] Particles: Adding or removing particles in runtime from an emitter works as expected -. [3RD] CCBReader: is a submodule in github. Using lastest stable version -. [3RD] JRSwizzle: is a submodule -. [3RD] JS Bindings: Updated to v0.5 -. [3RD] SpiderMonkey: Updated to v18.0 - -version 2.1-beta4 4-Dec-2012 -. [NEW] FileUtils: Supports iPhone5 resources (-wide, -widehd) - Option to search "resolution resources" in "resolution directores", instead of using "resolution suffixes". - Option to search resources in different subdirectories (good for themes, cache, etc.) - Add method to search resources not associated with any resolution (ideal for music, shaders, etc.) -. [FIX] From cocos2d v1.1-rc0: - Animate Action: Works as expected when display frame rate > than FPS (issue #1438) -. [FIX] Actions: Fixed CCRotateTo, startAngleX now is modded similar to startAngleY to keep the rotation values the same -. [FIX] CocosDenshion: Mute can be called before loading a file (issue #1434) - By default it uses cocos2d fileutils. Define CD_USE_OWN_FILEUTILS to use CD fileutils -. [FIX] Director: fps_images.png is no longer needed. It uses the image from a header file -. [FIX] LabelBMFont: Fixed bug with newlines and fixed width labels -. [FIX] Layer: LayerMultiplex can be created with an NSArray - ivars use '_' as suffix, not preffix -. [FIX] MenuItem: block is no longer released at cleanup. To do so, enable the "releaseBlockAtCleanup" property - ivars use '_' as suffix, not preffix -. [FIX] Templates: sets the Directors delta-time to 0 when the Application Controller become active -. [FIX] Tests: Box2dTestBed: Using new API for touches/accelerometer - JS tests are using a new repo: cocos2d-js-tests -. [FIX] TileMaps: Fix firstGID parser issue for new version TMX file with external TSX file -. [FIX] Transitions: Fixed possible memory leak in some tranitions - Events are enabled/disabled at onEnter/onExit preventing possible bugs -. [FIX] Particles: "unscheduleUpdate" is no longer called at dealloc time -. [FIX] PhysicsSprite: Can be scaled up/down. AnchorPoint works OK. -. [3RD] JS Bindings: Updated to v0.4. Chipmunk-JS + cocos2d-html5 is compatible with cocos2d/chipmunk + JSB -. [3RD] SpiderMonkey: Updated to v17.0 - - -version 2.1-beta3 7-Nov-2012 -. [NEW] ClippingNode: New node that let's you clip objects inside it. Check the demos! -. [NEW] Node API additions: - Added: removeChild. Calls removeChild:cleanup: with cleanup=YES - Added: removeChildByTag. Calls removeChildByTag:cleanup: with cleanup=YES - Added: removeFromParent. Calls removeFromParentAndCleanup: with cleanup=YES - Added: removeAllChildren. Calls removeAllChildrenWithCleanup: with cleanup=YES -. [NEW] EventDispatcher: Adds support for gestures in OSX -. [NEW] Layer: Added support of gestures in OSX -. [NEW] RenderTexture: Supports "auto rendering" its children to the texture. No need to call being/end -. [NEW] Scheduler: It is possible to schedule blocks too. -. [NEW] Tests: Added 'JS CocosDragon'. Shows the power of CocosBuilder + JS -. [FIX] Actions: TargetedAction can be copied. Calls super correctly - Blink: "stop" restores original "visibility" state - BezierTo: works with Repeat (issue #1008) - CatmullRom: No "bouncing". Fixed interpolation (issue #1441) -. [FIX] Director: Fixed possible retain cycle with the delegate - Fixed possible crash when purgeCacheData is called before the view is initialized (issue #1440) -. [FIX] Dispatcher: Queueing nested events works as expected (issue #1279, #1410) -. [FIX] Director: Returns correct GL value for coordinates event in custom projections -. [FIX] Documentation: Fixes DrawingPrimitives doc (issue #1409) -. [FIX] GL Cache: when texture is deleted, it is removed form teh GL cache (issue #1429) -. [FIX] LabelAtlas: Honors the directory of the .plist file when loading the .png file -. [FIX] LabelBMFont: Does not crash if it can't parse the FNT. Instead it logs an error and return nil - contextSize honors shadows and strokes -. [FIX] LabelTTF: It is possible to set an empty string -. [FIX] Layer: API improvements - setIsKeyboardEnabled -> setKeyboardEnabled - setIsMouseEnabled -> setMouseEnabled - setIsTouchEnabled -> setTouchEnabled - setIsAccelerometerEnabled -> setAccelerometerEnabled - Old methods can be called, but are deprecated. - New way to enable "targeted" touches: [self setTouchMode:kCCTouchOneByOne]; -. [FIX] LayerColor: uses correct default blending function (issues #1422 #1423) -. [FIX] Particle: Honors the directory of the .plist file when loading the .png file - Uses Orphaning + glMapBuffer. Performance improve when rendering serveral particles -. [FIX] Scheduler: API improvements: - unscheduleAllSelectors -> unscheduleAll (since it also unschedules blocks) - unscheduleAllSelectorsForTarget -> unscheduleAllForTarget (since it also unschedules blocks) - Old methods can be called, but are deprecated. - isTargetPaused: fixed logic error - Timer: fixed logic error in non repeat-forever timers -. [FIX] Templates: Autoration can be overriden in runtime on iOS 6 - Fixed some grammar errors -. [FIX] TextureAtlas: Uses Orphaning + glMapBuffer. Performance improve when rendering serveral particles -. [FIX] Tests: Watermelon With Me uses new Chipmunk API - Added new JS tests for Chipmunk (Buoyancy, Pyramid, Joints, etc...) - EventTest (Mac): Fixed memory leaks, dangling pointer and logic -. [FIX] Texture: Improved assert when updating filter on NPOT textures -. [FIX] TextureCache: filenames are standarized before adding them into the cache -. [FIX] TMX Tiled Maps: Resused code is re-initialized in a faster -. [FIX] Touch Delegate: - CCTargetedTouchDelegate -> CCTouchOneByOneDelegate - CCStandardTouchDelegate -> CCTouchAllAtOnceDelegate -. [FIX] Windows: Toggle fullscreen does not reset whether or not to support touches (issue #1420) -. [FIX] Xcode: Fixed compiler warnigns -. [3RD] JS Bindings: Updated to v0.3 - Chipmunk API is compatible with Chipmunk-JS - CocosBuilder Reader supports "outlets", Animation callbacks, and improved JSB API - Better registration code -. [3RD] Chipmunk: Updated to v6.1.2. - Chipmunk is a git submodule now. -. [3RD] CocosBuilder Reader: Updated to v2.1 -. [3RD] SpiderMonkey: Updated to v17-beta - Added armv7s support -. [3RD] uthash: Updated to v1.9.7 -. [3RD] ThoMoNetwork / Fragaria: Removed. No longer bundled with cocos2d. - - -version 2.1-beta2 13-Sept-2012 -. [NEW] Templates: Support for new iPhone5 resolution: Added Default-568h@2x.png in templates and cocos2d-ios.xcodeproj -. [FIX-MAC] LabelTTF works as expected on HiDPI / RetinaDisplay MacBooks -. [FIX] Templates: Mac Chipmunk template compiles OK - Mac Templates don't include the 32-bit architecture - Mac Temapltes use "current version" as new deploy OS version - -version 2.1-beta 7-Sept-2012 -. [NEW] DrawNode: Node that batches drawing primitives (replaces the drawing primitives free functions ) -. [NEW] FileUtils: Added support for mac and retinaDisplay Mac suffix. -. [NEW] GL ES 2.0 code: General improvements in the shader and cache code. Better error reporting. -. [NEW] Javascript bindings for cocos2d, CocosDenshion, CocosBuilder Reader and Chipmunk. - Includes Javascript remote console - Removed old JSCocoa code and samples - Uses Spidermonkey JS VM from Firefox 15.0 - Includes JavaScript Templates for iOS and OS X for cocos2d + chipmunk + CocosBuilder Reader -. [NEW] LabelTTF API consistency changes: - "font" and "size" are always the 2nd and 3rd params. eg: - labelWithString:font:size: -> Not changed - labelWithString:dimension:hAlign:font:size -> labelWithString:font:size:dimension:hAlign: - labelWithString:dimension:hAlign:vAlign:font:size -> labelWithString:font:size:dimension:hAlign:vAlign: -. [NEW] Node: Added RotationalSkew featur (compatible with Flash) -. [NEW] Physics nodes: PhysicsSprite and PhysicsDebugNode are part of cocos2d -. [NEW] Tests: Tests for RotationalSkew feature -. [NEW] Texture: Supports PVR v3 file format (issue #1385) -. [FIX] All: fixed many English grammar/syntax errors in the docstrings -. [FIX] Actions: Fixed possible double 'fire' of instant actions inside a sequence (issue #1398) -. [FIX] Director: Fixed flicker again. - Autorotation works on iOS6. - onExitTransitionDidFinish when the director is ended and other "corner" cases. -. [FIX] MenuItemToggle: Don't remove tag of added item. -. [FIX] Node & BatchNode: RENDER_IN_SUBPIXEL works as expected. -. [FIX] LabelBMFont: removed forward declarations for tFontDefHashElement and tKerningHashElement. They are in the header now. - Don't assert if character is not found. Just continue with logging the warning (issue #1404) -. [FIX] LabelTTF: loads custom fonts correctly on Mac -. [FIX] ProgressTimer: reverseDirection properly releases vertex if needed. - -version 2.0.0 8-Jul-2012 -. [FIX] EventDispatcher: fixed ccMouseEnter/Exit -. [FIX] LabelTTF: supports multiline even if no dimensions are provided -. [FIX] Macros: CCLOGERROR defined in ccDeprecated as CCLOGWARN -. [FIX] Scheduler: removeUpdateFromHash calls [target release] at the very end to prevent a possible crash -. [FIX] Templates: Generate no-flicker-at-startup code - Improved Physics templates: multitouch and gravity+accel works OK -. [FIX] TexturePVR: wrong type when calculating PVR length -. [FIX] Xcode: Fixed compile errors and warnings in Xcode 4.5 -. [3RD] libpng: updated to 1.2.49 - -version 2.0-rc2 03-Jun-2012 -. [NEW] Added Javascript test using JSCocoa (Mac only) - ActionTests, SpriteTests (WIP) -. [NEW] Director: Added popToRootScene method -. [NEW] RenderTexture: Added support for Depth Stencil -. [FIX] Actions: CardinalSpline#copy uses tension (issue #1377) - CallFunc: fixed possible crash when releasing the action (issue #1369) -. [FIX] ccArray: Implementation is no longer inlined. Needed for gen_bridge_metada. - Make it compatible with C99 - Added __cplusplus #ifdef in header -. [FIX] CocosDenshion: Fixed buffer overrun while resizing buffer (issue #1372) -. [FIX] Director: Fixed memory leak when createStatsLabel was called more than once (issue #1373) -. [FIX] FileUtils: easier to override the search folder - Added __cplusplus #ifdef in header -. [FIX] LabelTTF: improved loading time. Label is updated only if the string is set. -. [FIX] Macros: CCLOG doesn't log the function name. Only CCLOGWARN -. [FIX] MenuItem: setIsEnabled can be called before setting the images -. [FIX] Particle: Handles premultipled images correctly - Fixed possible memory leak when changing textures. - Examples: Removed ARCH_OPTIMAL_PARTICLE_SYSTEM since PointParticle is no longer supported -. [FIX] SpriteFrameCache: plist is not loaded again if it was already loaded (performance) -. [FIX] Texture2d: JPEG are loaded correctly on iOS4 (re-re-fixed issue #886) - Improved iOS5 allocation bug warning and internal conversions. - Fixed alpha when converting RGBA8 textures to RGB5A1 -. [3RD] Chipmunk Physics: Updated to v6.1.1 - -version 2.0-rc1 19-Apr-2012 -. [NEW] v1.1 Forward-ported changes: - CCArray: new sorting methods, replaceObjectAtIndex, isEqualToArray - CCArray: equalilty is tested by isEqual instead of comparing pointer addresses - CCArray: CCARRAY_FOREACH macro is now ARC compatible - DrawPrimitives: Added new functions: ccDrawRect, ccDrawSolidRect - Macros: CCLOG logs the class/method name - Particles: The scheduler is removed on dealloc - TMX: fixed bug on release when parsing errors. -. [NEW] Actions: Added Catmull Rom By/To and Cardinal Spline By/To actions -. [NEW] ActionManager: Added support for pause/resume all actions of target -. [NEW] Configuration: logs in which thread the director is running (Mac only) -. [NEW] DrawingPrimitives: added ccDrawCatmullRom, ccDrawCardinalSpline -. [NEW] FileUtils: It is a singleton (easier to subclass) - NSFileManager and NSBundle are properties (can be changed in runtime) - Added "fallback suffix" support for "get full path" and "remove suffix" (disabled by default). - On iPad the default suffix is "-ipad". Before it was "" -. [NEW] LabelAtlas: added .plist config file support. Easier to migrate games to higher resolutions. -. [NEW] LabelTTF: Added support for vertical alignment -. [NEW] Tiled: TMX tile rotation is supported (issue #1350) -. [FIX] All: Fixed compiler warnings. Format strings changed from %08X to %p -. [FIX] Deprecated: displayedFrame points to displayFrame avoiding infinite loop (issue #1347) -. [FIX] Director: Fixed projection. ViewPort is the size of the screen. Projection adjusted (issue #1355) - Fixed crash when calling "end" on RetinaDisplay - Only enable DepthTesting is the view has a depth buffer - Does not raise assert if startAnimation is called when it is already animated. -. [FIX] Events: onMouseExit/Enter fixed on Mac -. [FIX] LabelBMFont: can be "init" without further arguments - Glyphs with big yOffset are rendered correctly (issue #1343) -. [FIX] LabelTTF: Better support for custom TTF (Mac) - Alignments and LineBreak modes values are the both on iOS and Mac. Needed for editors. -. [FIX] MotionStreak: Fast mode works with textures (issue #1358) - The initial position will be the 1st "new" position. Prevents "tail" from (0,0) -. [FIX] NSThread+Block: fixed crash due to block not being copied to the heap -. [FIX] OpenGL: VAO are initialized on the cocos2d thread on machines that don't support shareables VAOs -. [FIX] Scheduler: Logs warnings with better precision (.4f instead of .2f) (issue #1362) -. [FIX] Sprite: setTexture when Batched, don't raise exception. Only if texture id is <> than batch.texture id -. [FIX] Templates: LICENSE_cocosdension -> LICENSE_CocosDension (issue #1363) -. [FIX] Texture: If defaultAlpha is RGBA8888 and image has no alpha, use RGBA8 instead of RGB565 - PVR textures sets the glTexParams before creating the texture. faster. - PVR texture logs warning if NPOT + 16-bit textures, or if RGB888 textures are being used on iOS5 - "PNG" textures: converts NPOT + 16 bit textures to POT on iOS5 - More permissive assert on setTexParams() when CLAMP is used on NPOT textures - -version 2.0-rc0a 13-Mar-2012 -. [FIX] PerformanceTest: Compiles and run -. [FIX] Tests: fixed shaders tests - -version 2.0-rc0 12-Mar-2012 -. [NEW] v1.1 Forward-ported changes: - Actions: CCRepeat ends as expected (issue #1288) - ColorLayer: incorrect size in init method - Denshion: Background music fades ok (issue #1304) - MenuItem: removed warning when deleting item - ParticleSystem: prevent bursts of particles due to too high emitCounter (issue #1201) - Sprite: fixed possible setColor and opacity - TileMap: Flipped tiles can be changed during runtime (issue #1264) - TileMap: Fixed a problem with multiple layers and multiple tile sets that could cause TMX maps to not load if rotation is used (issue #1302) - Types: Added convenience function to create a ccColor4F from color components -. [NEW] Actions: Added ActionTargeted action. Useful to target other nodes from a sequence. -. [NEW] Animation: Added new animation format that supports delays per frame, loops and notifications per frame -. [NEW] Deprecated: Added CC_ENABLE_DEPRECATED in ccConfig.h. All deprecated functions, methods and classed are included by default. -. [NEW] Director: When the stats are on, the number of GL draw calls per frame are displayed - Added support for main-thread director (Mac only. Needed for some editors) - Added KVO for isPaused (issue #1324) -. [NEW] DrawingPrimitives: Added ccDrawPoly() free function -. [NEW] LabelTTF: fontName, fontSize and dimensions are properties. - It is possible to init one without parameters -. [NEW] LabelBMFont: added setFntFile method (issue #1119) - Added support for image offset in order to share the texture (issue #762) - Added support for any unicode char (issue #770) - Consumes less memory. Only defined Glyphs are allocated. -. [NEW] FileUtils: Added support for iPad RetinaDisplay files (default suffix is: -ipadhd ) -. [NEW] Menu: could be created/initialized using NSArray - Menu could be created without items - Menu could be enabled/disabled (no events will be accepted when it is disabled) - It is possible to change its priority on runtime - Renamed kCCMenuTouchPriority -> kCCMenuHandlerPriority -. [NEW] MenuItem: SpriteItem: Added setters for enabled,disabled,selected sprites - Added setter for targe:selector and block -. [NEW] Node: Added userObject. Similar to userData, but it holds an id. - zOrder property is readwrite -. [NEW] Particle: It is possible to resize the particle in runtime -. [NEW] Sprite: spriteWithBatchNode / initWithBatchNode were removed. Use initWithTexture:batch.texture / spriteWithTexture:batch.texture instead -. [NEW] TextureAtlas: Added option to not use VAO (might be a bit slower, but it consumes less memory) -. [NEW] Texture2D: Added kCCTexture2DPixelFormat_RGB888 to the list of "default alpha pixel formats" -. [NEW] TileMap: polygon, polilines and gid are parsed from the objects (issue #1311) -. [FIX] All: replaced some NSLog() with CCLOG() is some parts of the code (issue #1250) -. [FIX] Actions: Instant actions are trigged on stop and not start (issue #1305) -. [FIX] CocosDenshion: fixed memory leak on CDBufferLoadRequest (issue #1286) -. [FIX] CocosDenshion: fixed issue when background music looping was not respected on resume if playback was stopped (issue #1284) -. [FIX] Director: It is possible to re-init a director after it has been quit (issue #1313) -. [FIX] Director: becomes firstResponder after toggling fullscreen (Mac only) (issue #1189) -. [FIX] DrawingPrimitives: drawColor4f() uses GLFloat instead of GLbyte (issue #1307) -. [FIX] GLProgram: report error correctly if vertex shader has compile issues - Base shaders are no longer parsed files. Instead they are parsed from memory. Faster and ease the migration to v2.0 -. [FIX] GLView: Fixed memory leak while dispatching events (Mac only) -. [FIX] GLView: MSAA support is working (issue #1315) -. [FIX] Label: LabelBMFont fixed y-offset in RetinaDisplay (issue #1309) -. [FIX] Node: flip, visible are no longer bitfields to prevent signed issues (issue #1314, issue #1287) -. [FIX] Particles: Fixed memory leak in fillWithEmptyQuadsFromIndex -. [FIX] Progress: works with rotated sprite frames (issue #1303) -. [FIX] RenderTexture: If (running thread != cocos2d thread ) then it locks the OpenGL context. Prevents nasty crash - added newCGImage (issue #1214) - Added save buffer support on Mac - Refactored save code: easier to read and mantain -. [FIX] Sprite: adding family of sprites to a batchnode works as expected (issue #1217) -. [FIX] SpriteBatch: Quad extensions are public -. [FIX] Templates: added -all_load -ObjC on "other linkers" -. [FIX] Tests: LabelTest with custom TTF font works on Mac too -. [FIX] Texture2D: initWithImage renamed with initWithCGImage - JPEG: No need to convert JPG to PNG on iOS4 (issue #886 re-fixed) - BMP: Images are displayed on iOS4 like on iOS5 (without alpha channel) [iOS5 BUG] - 'Delete texture' is executed on current thread (not on main thread) -. [FIX] TextureCache: async invokes callback on cocos2d thread (and not on main thread) -. [FIX] Types: kCCResolutionStandard renamed to kCCResolutioniPhone - -version 2.0-beta2 17-Jan-2012 -. [NEW] v1.1 Forward-ported changes: - LabelTTF: word wrap works on Mac (issue #1074) - Node: Added onExitTransitionDidStart (issue #792) -. [NEW] ActionManager: It is no longer a singleton. It is an ivar of director -. [NEW] Director: it is a subclass of UIViewController (iOS only) -. [NEW] Director: pushScene is the new recommended way to start the scene. Director will start the animation - automatically once the view is displayed (iOS only) -. [NEW] Director: FPS & seconds per frame are displayed at the same time -. [NEW] EventDispatcher / TouchDispatcher: They are no longer singletons. They are an ivar of director. -. [NEW] GL View: Some classes were renamed to have more API concistency: - MacWindow -> CCWindow (Mac) - MacView -> CCGLView (Mac) - EAGLView -> CCGLView (iOS) - ESRenderer -> CCESRenderer (iOS) - ES2Renderer -> CCES2Renderer (iOS) - GLProgram -> CCGLProgram -. [NEW] Macros: Using __CC_PLATFORM_IOS/MAC internally. Suggested way for games too. -. [NEW] Menu: API CHANGE. "itemFrom..." was replaced with "itemWith..." -. [NEW] Menu: target/selector pattern simulated with blocks. Before, blocks were simulated with target/selector -. [NEW] MenuItem: overrides "cleanup" in order to break circular references. -. [NEW] Node: Supports custom scheduler and actionManager -. [NEW] Scheduler: It is no longer a singleton. It is an ivar of director -. [NEW] Template: AppController use a navigation controller (like the cocos2d's tests) -. [NEW] Template: cocos2d v2 and v1 templates can be installed at the same time -. [NEW] Template: Added option for Device Family -. [NEW] Test: Added Director tests. Tests integration with GameCenter and other UIKit components (iOS) -. [NEW] Transitios: Added new transitions: CCTransitionProgressHorizontal, CCTransitionProgressVertical, - CCTransitionProgressInOut and CCTransitionProgressOutIn -. [NEW] Transitions: CCTransitionRadial... renamed to CCTransitionProgressRadial... -. [FIX] Actions: IntervalAction works OK in rewind mode -. [FIX] Actions: EaseIn/EaseOut actions support float arguments -. [FIX] Director: Uses DisplayLink timestamp. More stable delta times (iOS) (issue #1277) -. [FIX] Director: CC_DIRECTOR_INIT() centers main window (Mac) -. [FIX] Effects: 2D Effects and Transitions work as expected with a 2D projection -. [FIX] Events: Events are removed/added from outside an event (Mac) (issue #1282) -. [FIX] Events: Fixed memory leak when removing delegate (Mac) -. [FIX] Grid: Fixed two big memory leaks (issue #1280) -. [FIX] Grid: CCGrid3D was allocating 2x memory on Mac -. [FIX] Menu: Blocks API doesn't crash on Mac -. [FIX] RenderTexture: Works with RGB888 (issue #1293) -. [FIX] RenderTexture: Supports NPOT textures (issue #1291) -. [FIX] Shaders: example shaders have the "example_" prefix -. [FIX] Sprite: isFrameDisplayed takes into accout the offset (issue #1295) -. [FIX] Tests: ActionProgress, Box2dtest, ChipmunkTest, LayerTest, MotionStreakTest, NodeTest, RotateWorld and SceneTest work on Mac -. [FIX] Tests: MenuTestBlocks removed. Merged into MenuTest -. [FIX] Tests: ShaderTest works (issue #1285) -. [FIX] Tests: ShaderTest centers shaders (Mac and iOS Retina Display) -. [FIX] Texture2D: Uses CGImageRef instead of UIKit for iOS API -. [FIX] TileMaps: Re-added "cc_vertexz" property -. [3RD] Chipmunk: Using Chipmunk v6.0.3 - -version 2.0-beta 27-Nov-2011 -. [NEW] v1.1 Forward-ported changes: - reorderSprite: faster reordering sprites/nodes - Particle batches: Particles support batch rendering - TMX parse from memory - events fixes - ARC compatible -. [NEW] Director: Added API to display Milliseconds Per Frame -. [NEW] LabelBMFont: Added support for alignment, also in multiline (issue #1178) -. [NEW] Node: Added glServerState property. Ideal to enable/disabled blending for certain nodes. -. [NEW] Particle: ParticlePoint removed -. [NEW] Shader: Added AlphaTesting shader -. [NEW] DrawingPrimitives: DrawPoint and PointSize fixed both on Mac and iOS. DrawPoly fixed on Mac -. [FIX] Node#draw() Added helper macro to setup draw -. [FIX] Node#draw() removed [super draw]. Draw() should be "atomic". It shall not depend on a possible state of super class. -. [FIX] ccGLState: Added cache for texture unit and GL_BLEND -. [FIX] Paticles: Faster initialization: texCoords are generated only once. -. [FIX] SpriteFrameCache: readded API to create spriteFrames from CCTexture2D -. [FIX] Shaders: Using correct precision. Fixed performance issue with iOS 5 -. [FIX] Shaders: Improved internal API and constants names -. [FIX] Templates: Works when the project name contains spaces -. [3RD] Chipmunk: Using Chipmunk v6.0.2 - -version 2.0-alpha 18-Sept-2011 -. [NEW] Action: Added new CallBlockO action -. [NEW] AtlasNode: added init method -. [NEW] ccConfig: removed CC_USES_VBO since VBO is always used -. [NEW] ccConfig: removed CC_OPTIMIZE_BLEND_FUNC_FOR_PREMULTIPLIED_ALPHA since the ccBlendFunctions keeps state -. [NEW] ccConfig: removed CC_SPRITEBATCHNODE_DEBUG_DRAW. CC_SPRITE_DEBUG_DRAW can be used both for batches and non batches. -. [NEW] ccConfig: renamed CC_COCOSNODE_RENDER_SUBPIXEL to CC_NODE_RENDER_SUBPIXEL -. [NEW] ccGLState: added helper functions that keeps the GL state -. [NEW] CCProgressTimer: - - Convenience class constructor now passes in CCSprite (this gives developers easier access to timer with CCSpriteFrames, CCSprites, etc) - - Reduced the progress timer types to just radial and bar - added in reverse, midpoint, barChangeRate to be have more flexible options to modify the progress. - - Supports Tint + Color -. [NEW] Director: Removed Fast, FastThreaded and NSTimer director. The only one available is DisplayLink. -. [NEW] Director: Orientations are no longer supported. Only Portrait mode is supported. Use a ViewController to rotate the EAGL view. -. [NEW] Director: The FPS position can be configured via ccConfig.h file -. [NEW] Director: Fast FPS is the only supported way to display FPS. Removed the CCLabelTTF way of doing it -. [NEW] Macros: ccgl* replaced with ccGL* -. [NEW] Macros: CC_ENABLE/DISABLE_DEFAULT_STATE: Removed. No longer needed. -. [NEW] MotionStreak: Using new motion streak code. 10x faster than the old one. -. [NEW] OpenGL ES: Added support for OpenGL ES 2.0. OpenGL ES 1.1 is no longer supported -. [NEW] ParticleQuad: Uses VAO for rendering. Indices are part the VBO. -. [NEW] ParticlePoint: removed code. It is a subclass of ParticleQuad for compatibility. -. [NEW] Profiler: API heavily updated to make it easier to integrate into any kind of component -. [NEW] Sprite: initWithTexture:rect is the designated initializer -. [NEW] Sprite: removed pixels API. -. [NEW] Sprite: useSelfRender / useBatchNode replaced with setBatchNode -. [NEW] Sprite: Improved API in order to make it easier to create DoubleResolution sprites -. [NEW] SpriteBatchNode / Sprite / Node: Simplied rendering. Easiert to integrate with physics engines. Just subclass nodeToParentTransform(). -. [NEW] SpriteBatchNode: Removed support for HONOR_PARENT_TRANSFORM. -. [NEW] SpriteFrameCache: addSpriteFramesWithFile:textureFile renamed to addSpriteFramesWithFile:textureFilename to be consistent with the new API -. [NEW] Templates: Removed Xcode3 templates. Updated Xcode4 templates. -. [NEW] Templates: Box2d & Chipmunk templates use new way to sync cocos2d and physics engine by using PhysicsSprite -. [NEW] Tests: All tests use RootViewController -. [NEW] Tests: Box2d + cocos2d test: Added PhysicsSprite and other Box2d best practices -. [NEW] Tests: Chipmunk + cocos2d test: Added PhysicsSprite and other Chipmunk's best practices -. [NEW] Tests: FontTest uses "bundle" fonts instead of FontLabel -. [NEW] Tests: Removed HelloWorld* tests -. [NEW] Tests: TextureTest has TextureCache#asyncWithBlock test -. [NEW] Tests: Removed Chipmunk iOS TestBed since it was outdated -. [NEW] Texture: Uses NPOT textures (gles20 already supports them) -. [NEW] Texture: PVRTC-RAW format is no longer supported. Use the non-raw format instead. -. [NEW] TextureAtlas: Uses VAO for rendering -. [NEW] TextureCache: Added asyncWithBlock method -. [NEW] Tiled: cc_vertexz property is no longer supported. Will raise exception if found. -. [FIX] All: Removed deprecated methods and classes that were scheduled for removal post 1.0 -. [FIX] Node: slightly faster nodeToParentTransform() -. [FIX] ProgressTimer: reverse renamed to reverseDirection in order to prevent possible collision with action#reverse -. [FIX] RenderTexture: getUIImageFromBuffer doesn't return artifacs -. [FIX] TextureCache: Uses "self" instead of "CCTextureCache" in shared instance -. [FIX] Sprite: displayedFrame correctly returns originalSize -. [FIX] SpriteFrameCache: it doesn't retain the textures when they are loaded from a dictionary file (issue #1227) -. [FIX] Xcode: cocosLive: Removed. Use OpenFeint or GameCenter instead -. [FIX] Xcode: FontLabel: Removed since in iOS 4 you can load custom TTF -. [FIX] Xcode: TouchJSON: Removed. No longer needed since cocosLive was removed -. [FIX] Xcode: Tremor / vorbis: Removed. Experimental sound engine is no longer supported -. [FIX] Xcode: iOS 4 is minimun required to run -. [3RD] Box2d: Using Box2D 2.2.1 -. [3RD] Chipmunk: Using Chipmunk v6.0.1 -. [3RD] Kazmath: New external library. kazmath library for matrix and projection operations, and matrix GL stack -. [3RD] Kazmath: Added ARM NEON Matrix Multiplication from Oolong project - -version 1.1-rc0 .. -..-2012 -. [NEW] Macros: made CCLOG a bit more verbose -. [NEW] CCSprite: added useTrimmedFrameForAnchorPoint property. This makes the trimmed frame frame of reference for the anchorpoint and contentSize. -. [FIX] CCAnimation: bug in addFrames that resulted in incorrect delayPerUnit (issue #1341) -. [FIX] CCSprite: CCSprite bug in setDisplayFrameWithAnimationName -. [FIX] CCParticleSystem: unschedule update method when deallocated -. [FIX] CCParticleSystemQuad: Changed animation property to particleAnimation, for compiler warning -. [FIX] CCRenderTexture: fixed getUIImageFromBuffer -. [FIX] CCTouchDispatcher: fixed crash after showing UIAlertView (issue #1279) -. [FIX] CCGrabber: added log message to warn that grabber doesn't support transparent parts with a color buffer of RGB565 -. [FIX] Compiler: fixed unrecognised clang pragmas so cocos can still be compiled with LLVM version < 2.0. - -version 1.1-beta2b 14-Mar-2012 -. [FIX] CCUtils: missing method declaration - -version 1.1-beta2 12-Mar-2012 -. [NEW] v2.0 forward ported changes: - LabelBMFont: added setFntFile method - Animation: Added new animation format that supports delays per frame and notifications per frame - Actions: Added ActionTargeted action. Useful to target other nodes from a sequence. -. [NEW] All: Code is compatible with ARC (issue #1199) -. [NEW] CCArray: new sorting methods, replaceObjectAtIndex, isEqualToArray -. [NEW] ccFileUtiles: new iPad retina file extension (ipadhd) -. [NEW] DrawPrimitives: Added new functions, ccDrawRect, ccDrawSolidRect, ccDrawSolidPoly -. [NEW] DrawPrimitives: Added batch drawing of lines, ccDrawLines (issue #1081) -. [NEW] Node: Added onExitTransitionDidStart (issue #792) -. [NEW] ParticleSystem: supports animations in new animation format -. [NEW] TileMap: supports in-memory TMX map creation (issue #1239) -. [NEW] TileMap: Flipped tiles can be changed during runtime (issue #1264) -. [NEW] Touchdispatcher: new implementation, supporting changing dispatchers based on (ranges) of properties, custom sorting and more (full list in online release notes) -. [NEW] Types: Added convenience function to create a ccColor4F from color components -. [FIX] Actions: incorrect behavior of CCRepeat -. [FIX] CCArray: equalilty is tested by isEqual instead of comparing pointer addresses -. [FIX] CCArray: CCARRAY_FOREACH macro is now ARC compatible -. [FIX] CCLabelBMFont: full unicode support -. [FIX] CCTMXXMLParser: removed unused variables in release mode -. [FIX] ColorLayer: incorrect size in init method -. [FIX] Director: 3d projection setting for iPad retina -. [FIX] Denshion: Background music fades ok (issue #1304) -. [FIX] EAGLView: always destroy and recreate OpenGL buffers completely (issue #1254) -. [FIX] MenuItem: removed warning when deleting item -. [FIX] Node: orderOfArrival is @synthezied correctly (issue #1273) -. [FIX] Node & Sprite: Scale before Skew to prevent issues with negatives scales. -. [FIX] ParticleSystem: prevent bursts of particles due to too high emitCounter (issue #1201) -. [FIX] ParticleSystem: CCParticleExamples on armv6 uses quad particle system by default, so CCParticleBatchNode can be used -. [FIX] ParticleBatchNode: removeChild error and 'freezing' particles (issue #1316) -. [FIX] ParticleBatchNode: memoryleak (issue #1306) -. [FIX] Sprite: fixed possible setColor and opacity -. [FIX] Sprite: fixed adding premade sprite hierarchy to batchnode (issue #1217) -. [FIX] TileMap: Fixed a problem with multiple layers and multiple tile sets that could cause TMX maps to not load if rotation is used (issue #1302) -. [FIX] TouchDispatcher: correctly handles addition and removal of handlers when being inside a touch handler (issue #1084, #1139) -. [FIX] TouchDispatcher: new implementation fixes multiple issues (issue #1173, #1267) -. [FIX-MAC] LabelTTF: word wrap works on Mac (issue #1074) -. [FIX-MAC] fix for failed to compile on 32-bit mac builds. - -version 1.1-beta 11-Oct-2011 -. [NEW] Animation: Added file format. AnimationCache can load animations from file -. [NEW] ccConfig: Removed CC_RETINA_DISPLAY_FILENAME_SUFFIX. Use CCFileUtils API instead -. [NEW] ccConfig: Removed CC_RETINA_DISPLAY_SUPPORT. It is always enabled. -. [NEW] FileUtils: Added iPad / RetinaDisplay extension. To use it, call [CCFileUtils setiPadSuffix:@"-ipad"] or setRetinaDisplaySuffix (issue #1211) -. [NEW] FileUtils: Added xxxFileExistAtPath for iPad and RetinaDisplay resources -. [NEW] Node: improved speed when reordering and adding nodes (integration of reorderSprite branch) -. [NEW] Particles: Added ParticleBatchNode (issue #955) -. [NEW] Sprite: improved speed when reordering and adding sprites (integration of reorderSprite branch) -. [NEW] Scheduler: Added support for delay and repeat (issue #630) -. [NEW] Textures: Added support for RGB888 textures (issue #958) -. [NEW] TileMap: TMX map supports flipped tiles (issue #1233) -. [FIX] TileMap: don't use new sorting for tilemap (issue #1262) -. [FIX] Actions: removed #undef CLAMP (issue #1210) -. [FIX] Actions: Repeat & RepeatForEver work as expected(issue #1247) -. [FIX] Actions: duration is not divided by zero (issue #615) -. [FIX] Actions: Instant actions can be sequenceables (issue #1166) -. [FIX] FileUtils: Loads -hd resources even if the sd resource is not present (issue #1179) -. [FIX] FileUtils: renamed ccRemoveSuffixFromFile to +[CCFileUtils removeSuffixFromFile:]; -. [FIX] FileUtils: localized resources can be loaded using fullPathFromRelativePath (issue #1230) -. [FIX] LayerColor: init calls initWithColor:width:height (issue #1226) -. [FIX] Sprite: Debug draw fixed (issue #1069) -. [FIX] SpriteBatchNode: removeAllChildrenWithCleanup works correctly (issue #1216) -. [FIX] Texture2D: drawAtPoint uses the correct vertices -. [FIX] Texture2D: drawAtPoint, drawInRect disables color state (issue #1222) -. [FIX-MAC] Director: Only call set setAcceptsTouchEvents: when OS X >= 10.6 (issue #1225) - -version 1.0.1 - 28-July-2011 -. [FIX] All: Implicit atomic properties converted to nonatomic -. [FIX] All: Removed deprected code -. [FIX] CCArray: copyWithZone fixed -. [FIX] Director: frames -> totalFrames, and it works as expected. Value is not being reset. -. [FIX] Menu: If any ancestor is invisible, then touches won't be accepted -. [FIX] Node: vertexZ returns points, not "pixels" -. [FIX] LabelTTF: don't crash when calling description after dealloc -. [FIX] Tests: [window release] instead of [window dealloc] -. [FIX] Texture: TextureCache#dump reports the right info (issue #1205) -. [FIX-MAC] CocosDenshion: Cleanup buffers to prevent noise - -version 1.0.0 - 13-July-2011 -. [NEW] ccpSegmentIntersect & ccpPointIntersect: Added helper functions for ccpLineIntersect (issue #1193) -. [NEW] ccConfig: Added possibility to define the configuration as preprocessor macros -. [NEW] Director: frames is a readonly property -. [NEW] Menu: MenuItemFont can change size and font from instance (issue #1192) -. [NEW] Scheduler: Added isTargetPaused method -. [NEW] Sprite: Debugging draw for texture (issue #879) -. [NEW] Textures: PVR supports NPOT textures -. [FIX] CCArray: ForEach prepends "__" to inner variables to prevent conflict -. [FIX] ccpLineIntersect works as expected. Improved performance (issue #1174, #1193) -. [FIX] cocosLive: fixed memory leak in ScoreServerPost -. [FIX] Director: Added asserts to prevent calling startAnimation twice. -. [FIX] EAGLView: Fixed leak when using multisampling and resizing the layer (issue #1198) -. [FIX] Menu: Column aligment is centered. Removed the +10 pixels padding. -. [FIX] Node: Node#Draw calls super#draw -. [FIX] Tests: Fixed memory leak in ParticleTest -. [FIX] Tests: Fixed memory leak in cocosLiveTest -. [FIX] Tiles: Worked around memory leak in NSXMLParser (issue #1197) -. [FIX] TouchDispatcher: added setPriority (issue #757) -. [FIX] Xcode: cocos2d compiles OK with Xcode 4.2 + llvm 3.0 -. [3RD] Chipmunk: updated to v5.3.5 - -version 1.0-rc3 - 31-May-2011 -. [NEW] Actions: Added SkewTo and SkewBy actions -. [NEW] LabelTTF: Added support for LineBreakMode. Mac only supports Word-Break. -. [NEW] Node / Sprite: Added support for SkewX and SkewY properties -. [NEW] Tests: Added skewX, skewY tests for sprites and actions. Added linebreak tests for LabelTTF. -. [NEW] TextureCache: Added dumpCachedTextureInfo method. Shows the RAM used by the cached textures (issue #1154) -. [FIX] cocosLive: Fixed memory leaks in NSURLConnection -. [FIX] Sprites: DisplayedFrame returns the correct frame (issue #1182) -. [FIX] Templates: Supports spaces in project name (issue #1158) -. [FIX] TextureCache: Textures are autoreleased to prevent a crash in multi-threading environments -. [FIX] TexturePVR: clean glError() before creating textures -. [FIX] TMX Maps: Consume less memory (only what is needed), faster loading times (issue #1175) -. [FIX-MAC] Tests: Added test case for issue #1071 -. [FIX-MAC] Director: Doesn't crash when entering fullscreen if window is not Key (issue #1185) - -version 1.0-rc2 - 03-May-2011 -. [NEW] CCArray: Added reduceMemoryFootprint and reverseObject (issue #1167) -. [NEW] Director: Use small dt when the game is being debugged. -. [NEW] Label: TTF supports new LA88 texture format instead of RGBA8888. A8 is still the default one. -. [NEW] Particles: Added support for ParticleDesigner 1.3.60 (spinning support) -. [NEW] Tests: Added test case for bug 1159 -. [FIX] Particles: TTL is always >= 0. -. [FIX] Particles: texture coordinates are being used correctly when texture is NPOT. -. [FIX] Scheduler: Fixed possible crash when unscheduling a sibling (issue #1144) -. [FIX] Templates: Use NS_BLOCK_ASSERTIONS and NDEBUG in Release Mode to remove asserts -. [FIX] Templates: Xcode 3 templates fixed. Removed unused files in cocos2d lib. Added missing files from TouchJSON -. [FIX] Templates: ARMv6 devices uses "none" autorotation to improve speed -. [FIX] Templates: Added Xcode 4 "File" templates both for iOS and Mac OS X -. [FIX] Templates: Uses CFBundleIconFiles in Info.plist instead of "Icon Files" (issue #1151) -. [FIX] Templates: Xcode 4 templates generates "sub groups" -. [FIX] Templates: Xcode 4 Mac templates include CocosDenshion -. [FIX] TextureAtlas: Render "static" VBO batches between 6~10 % faster (issue #1150) -. [FIX-MAC] Templates: Generates by default an RGBA8 color buffer instead of an RGBA16 - -version 1.0-rc - 29-Mar-2011 -. [NEW] Actions: Added the possibility to create a CCSpawn and CCSequence with an NSArray -. [NEW] CCArray: Added exchangeObject & exchangeObjectAtIndex (issue #1085) -. [NEW] Templates: Added Xcode4 templates for cocos2d, cocos2d+box2d, cocos2d+chipmunk both for iOS and Mac OS X -. [NEW] Templates: Possibility to run the installer from any directory -. [NEW] Tests: Added DirectorTest -. [NEW] Tests: Added Texture2d subtest for an unsupported PVR pixel format -. [NEW] TextureAtlas: added possibility to draw the quads in parts -. [FIX] All: Removed many deprecated methods and classes that were scheduled for removal on v1.0 -. [FIX] Actions: Instant, "base" actions, ReverseTime, Spawn and Sequence don't leak memory if actions are reused -. [FIX] ccpLineIntersect: doesn't produce false positives for collisions (issue #962) -. [FIX] Director: convertToUI works OK in RetinaDisplay mode -. [FIX] Documentation: Drawing primitives fixed syntax error (issue #1127) -. [FIX] Documentation: onExit doxystring improved (issue #1135) -. [FIX] MenuItemToggle: Don't scale up if it is pressed several times (issue #948) -. [FIX] ProgressTimer: fixed underflow in setPercentage() (issue #1123) -. [FIX] RenderTexture: Only enable default GL states, without disabling them (mitigated issue #1145) -. [FIX] StreakMotion: fixed flicker introduced in v0.99.x (issue #1075) -. [FIX] Templates: Don't generate analyze warnings in Xcode4 (issue #1142) -. [FIX] Xcode: TexturePVR compiles when using cocos2d as an external library (issue #1132) -. [FIX] Xcode: Added SKIP_INSTALL=YES in libraries for Xcode4 (issue #1137) -. [FIX-MAC] All: Code is 64-bit friendly. No more warnings when casting from 64 to 32 bits -. [FIX-MAC] Director: Compiles in Mac when "slow" FPS are selected (issue #1126) -. [FIX-MAC] Director: Fullscreen reuses the OpenGL view. -. [3RD] FontLabel: Fixes issues with wrapping and apostraphes and hyphens (issue #1124) -. [3RD] TouchJSON: Updated to "master" from March, 5 2011 (issue #1128) -. [3RD] uthash / utlist: Updated to version 1.9.3 - -version 1.0-beta - 01-Mar-2011 -. [NEW] Actions: Repeat and RepeatForEver has getter/setter for the inner action (issue #1110) -. [NEW] LayerGradient: Added "compressed interpolation" (default mode) in order to display all graident's colors in any vector -. [NEW-MAC] Added CC_DIRECTOR_INIT(). It is possible to create a Mac Window programatically -. [NEW-MAC] EventDispatcher: Added support for Touch events -. [FIX] CocosDenshion: Improved logging -. [FIX] CocosDenshion: Fixed excessively large or negative gain values cause distorted audio in the simulator. -. [FIX] CocosDenshion: Added guards to prevent memory corruption caused by invalid parameters -. [FIX] CocosDenshion: Define some constants for defaults, make const parameter on buffer asynch load method -. [FIX] CCArray: insertObjectAtIndex checks bounds (issue #1121) -. [FIX] Director: Fixed possible crash when purging the TextureCache -. [FIX] Layer: CCMultiplexLayer deprecated. New name is CCLayerMultiplex -. [FIX] Particles: consumes less memory (12 bytes less per particle) and are a bit faster -. [FIX] ProgressTimer: Consumes less memory -. [FIX] RenderTexture: Added possibility to save buffer in any place (issue #1100) -. [FIX] RenderTexture: re-added getUIImageFromBuffer method. Supports RetinaDisplay -. [FIX] Sprite: flipx/flipy don't modify the contentSize (issue #1073) -. [FIX] SpriteFrame: setRect sets pixels too. setRectInPixels sets points too (issue #1088) -. [FIX] Templates: ItunesArtwork renamed to iTunesArtwork (issue #1092) -. [FIX] Templates: HelloWorld -> HelloWorldLayer and other improvements (issue #873) -. [FIX] TextureCache: asyncObject#dealloc uses CCLOGINFO instead of CCLOG (issue #1096) -. [FIX] TiledMap: TMX maps work with zlib compression (Tiled v0.6) -. [FIX-MAC] Director: runLoop enables NSTimers events (issue #1107) -. [FIX-MAC] EventDispatcher: flagsChanged is triggered correctly (issue #1066) -. [FIX-MAC] EventDispatcher: queue & dispatch events are synced (issue #1083) -. [FIX-MAC] LabelTTF: alignment works OK (issue #1073) -. [FIX-MAC] Menu: Menu doesn't hang up with invisible menus (issue #1070) -. [FIX-MAC] Menu: Tracking "touches" works as expected (issue #1114) -. [FIX-MAC] Templates includes AudioToolbox and OpenAL frameworks - -version 0.99.5 - 16-Dec-2010 -. [NEW] All: small performance improvements in all the code -. [NEW] Layer: Added gradient layer -. [NEW] MenuItem: it also supports class methods -. [NEW] SpriteFrameCache: added method to load a plist file with a texture file name -. [NEW] Texture: It is possible to use a subclass like MutableTexture without modifying the code -. [NEW-MAC] Added Mac templates -. [NEW-MAC] Added "flagsChanged" keyboard event -. [NEW-MAC] Added support for Fullscreen / window mode -. [NEW-MAC] Added support for AutoScale if the window is resized / fullscreen (EXPERIMENTAL) -. [FIX] All: Misc cleanups in the code -. [FIX] Action: Blink restores doesn't set as invisible the frame when the action is done (issue #1061) -. [FIX] Camera: uses points intead of pixels. Works OK in RetinaDisplay mode (issue #1023) -. [FIX] CCArray: fixed possible crash -. [FIX] Configuration: checks for possible glErrors. Only ask for max samples if iOS >= 4 (issue #1041) -. [FIX] Director: Fixed possible memory leak when popping a scene. -. [FIX] FileUtils: loads .gz / .ccz files correctly in RetinaDisplay mode (issue #1037) -. [FIX] FileUtils: fixed big memory leaks on .ccz inflater -. [FIX] FileUtils: removes -hd suffix if the filename already has it (issue #1040) -. [FIX] Node: updated doxygen strings regarding default anchorPoint (issue #1049) -. [FIX] Sprite: updateTransform can be overriden (issue #824) -. [FIX] Sprite: Assert if an sprite initialized with a batchnode and it is not using it (issue #1053) -. [FIX] Sprite: correctly overrides setIsRelativeAnchorPoint (issue #1055) -. [FIX] SpriteFrameCache: textureFileName is relative to path (issue #1044) -. [FIX] Particles: QuadParticle uses Points (issue #1057) -. [FIX] Templates: removeStartup compiles (issue #1059) -. [FIX] Texture: PVR with non-square mipmaps generates a warning log in debug mode (issue #1052) -. [FIX-MAC] Display Link thread: async images works as expected. Enabled by default. -. [FIX-MAC] EAGLView: VSync is enabled when the view is loaded from the NIB -. [TEST] Added Glyph Designer test case -. [TEST] Added LayerGradient test -. [TEST-MAC] Added cocos2d icon to Mac tests -. [TEST-MAC] Added EventTest -. [3RD] Chipmunk: Updated to v5.3.4 -. [3RD] libpng: don't compile pngtest.c (issue #1058) - - -version 0.99.5-rc1 - 15-Nov-2010 -. [NEW] Director: setProjection calls "updateProjection" delegate if "custom" projection is used -. [NEW] Label: The CCLabelProtocol implements the -(NSString*)string method. -. [NEW] Particles: Added a new type kCCPositionTypeRelative. Useful for "trail" particles. Added Test. -. [NEW] Textures: Added support for pvz.ccz and pvr.gz formats -. [NEW] Textures: TextureCache has a method to test if a texture is already cached (issue #793) -. [NEW] ZipUtils: Added generic functions to uncompress any .gz or .ccz file (issue #1016) -. [FIX] Actions: OrbitCamera doesn't crash on Simulator -. [FIX] CCArray: fastRemoveObjectAtIndex works as expected (issue #1024) -. [FIX] CocosDenshion: Fixed possible loss of audio on iOS 4.2 -. [FIX] config: CC_FONT_LABEL_SUPPORT is again, enabled by default -. [FIX] Configuration: removed main bundle from CCConfiguration (issue #839 issue #773) -. [FIX] Director: projection is doubled in RetinaDisplay mode -. [FIX] DrawingPrimitives: don't modify the buffer in RetinaDisplay (issue #995) -. [FIX] EAGLView: Doesn't crash in multithread environment (re-fixed issue #350) -. [FIX] Label: BMFontLabel simplified loading of atlas. Doesn't use CCFileUtils (issue #1031) -. [FIX] Label: setString copies the string, and not retain it (issue #1034) -. [FIX] Mac: Events are dispatched when CC_DIRECTOR_MAC_USE_DISPLAY_LINK_THREAD is used -. [FIX] Menu: MenuItems can draw its children (issue #458) -. [FIX] Menu: MenuItems positions can be controlled manually (issue #1013) -. [FIX] Menu: Menus uses touch priority kCCMenuTouchPriority (-128) (issue #1033) -. [FIX] Node: convertToAR method fixed (issue #1017) -. [FIX] Node: vertexZ works OK in RetinaDisplay mode -. [FIX] Particles: Improved doxygen documentation (issue #1026) -. [FIX] Particles: centerOfGravity renamed to sourcePosition (issue #1026) -. [FIX] RenderTexture: removed unneeded and dangerous assert in getUIImageAsDataFromBuffer -. [FIX] RenderTexture: fixed important memory leak when saving images -. [FIX] SpriteBatchNode: improved performance when drawing the batch (issue #824) -. [FIX] SpriteBatchNode: children sprites use the visible property correctly (issue #665) -. [FIX] TextureCache: Improved loading time of cached PVR images (issue #998) -. [FIX] Texture2D: addPVRTCImage: -> addPVRImage: since it also loads non-compressed PVR images -. [FIX] Texture2D: Use 32-bit textures when creating labels on ARM_NEON hardware. Performance improvement. - To enable it, edit ccConfig and set CC_USE_RGBA32_LABELS_ON_NEON_ARCH = 1 -. [FIX] Texture2D: Improved creation time of texts. It's not so expensive to create ZFont labels (issue #971) -. [FIX] Tiled: images can be relative to source map (issue #787) -. [FIX] Tiled: TMXLayer checks for correct GID (issue #742) - -version 0.99.5-rc0 - 25-Oct-2010 -. [NEW] AnimationCache: New class. It deprecates the CCSprite#animation methods (issue #848) -. [NEW] Animation: simplified API. Name is no longer needed. Deprecated API that uses name. -. [NEW] Animation: Animation has its own file: CCAnimation.m -. [NEW] CocosDenshion: Added duration, freq and size queries for buffers -. [NEW] Director: Added "hook" for notifications or any other kind of object like CCNotifications -. [NEW] Director: Added "enableRetinaDisplay:(BOOL)enabled" -. [NEW] EAGLView: Added support for multisampling -. [NEW] EAGLView: Added support sharegroup -. [NEW] Templates: Install HD, iPad and spotlight icons -. [FIX] Blocks: Actions and MenuItems copy the blocks instead of retaining it (issue #1007) -. [FIX] config: CC_FONT_LABEL_SUPPORT is disabled by default since it performs really bad on iOS >= 4.0 -. [FIX] Layer: register accelerometer onEnterTransitionDidFinsih (issue #624) -. [FIX] Node: converToNodeSpace works on RetinaDisplay (issue #1000) -. [FIX] Node: all transform methods uses Points instead of Pixels (issue #999) -. [FIX] Node: onEnterTransitionDidFinsih is also called when added a node to a running node (issue #1018) -. [FIX] Node: addChild returns void, and not self in order to simplify the API -. [FIX] Node: Initializes parent_ to nil at init time -. [FIX] Node: Performance improvement in insertChild (issue #909) -. [FIX] RenderTexture: improved performance, improved logic, no more glMaskColor() bugs (issue #1012) -. [FIX] Sprite: setPositionInPixels set to dirty when called (issue #1001) -. [FIX] Templates: Fixed startup flicker (issue #947) -. [FIX] Templates: Installs @2x, iPad and spotlight icons -. [FIX] Tests: Touch Tests works on RetinaDisplay (issue #1000) -. [FIX] Tests: box2d tests work with RetinaDisplay -. [FIX] Transitions: PageTurnTransition re-fixed. No more artifacts. This time is for real (issue #751) -. [3RD] Chipmunk: Using version 5.3.2 - -version 0.99.5-beta3 23-Sep-2010 - . [NEW] RetinaDisplay supported automatically: - Director: winSize returns size in Points. Use winSizeInPixels for pixels - Node: position is in Points. Use positionInPixels for pixles - Node: contentSize is in Points. Use contentSizeInPixels for pixels - Node: boundingBox is in Points. Use boundingBoxInPixels for pixels - Texture2d: contentSize is in Points. Use contentSizeInPixels for pixels - FileUtils: Will try to load the file with the suffix "-hd" if RetinaDisplay is enabled, unless the "-hd" suffix is already present - The following objects were enhanced to work with points: - TMXTileMap, Sprite, SpriteFrame, Node, ParticleSystem, LabelBMFont, LabelTTF, Menu, MenuItem, - ColorLayer, RenderTexture, MotionStreak, Transitions, Actions, LabelAtlas, AtlasNode - and the drawing primitives - The nodes that weren't updated is because there was no need to update them. - . [NEW] SpriteFrameCache: Added a way to remove from the SpriteFrameCache frames given a dictionary, file or texture (issue #953) - . [FIX] CCArray: improved speed in inserting and deleting elements - . [FIX] ParticleSystem: fixed memory leak when using ParticleDesigner (issue #986) - . [FIX] RenderTexture: creates a POW texture, but this doesn't mean that it should be an squared texture (issue #993) - . [FIX] Templates: Default SDK is 4.1 - . [FIX] Texture2d: Fixed possible crash in NPOT PVR images - . [FIX] Texture2d: If Text in context can't be created return nil (prevent possible crash) - . [FIX] Texture2d: Optimized loading time of PVR images - . [FIX] Transitions: PageTurn3D transition has fewer visible artifacts (issue #751) - -version 0.99.5-beta2 31-Ago-2010 - . [NEW] Actions: files renamed: CCXXXAction.[hm] -> CCActionXXX.[hm] - . [NEW] Actions: Using new naming convetion: - CCInstantAction -> CCActionInstant - CCIntervalAction -> CCActionInterval - CCEaseAction -> CCActionEase - CCCameraAction -> CCActionCamera - . [NEW] Action: CCPropertyAction renamed to CCActionTween - . [NEW] Director: New naming convention: CCnameDirector -> CCDirectorName - . [NEW] Director: DirectorIOS is responsible for swapping buffers - . [NEW] Label: CCLabelAtlas#labelAtlasWithString: -> labelWithString. Old method deprecated - . [NEW] Label: CCBitmapFontAtlas deprecated. Use CCLabelBMFont instead. - . [NEW] Label: CCBitmapFontAtlas#bitmapFontAtlasWithString -> labelWithString. Old method deprecated. - . [NEW] Label: CCLabel renamed to CCLabelTTF - . [NEW] Mac: cocos2d works on Mac. All objects works with the following exceptions: - - CCParticleSystemPoint is not supported. Use CCParticleSystemQuad instead - - CCRenderTexture doesn't save textures to images - - ZLabel (FontLabel) is not supported - - Mmm... probably a bit more. - . [NEW] Particles: New naming convention: - CCPointParticleSystem -> CCParticleSystemPoint - CCQuadParticleSystem -> CCParticleSystemQuad - . [NEW] Transitions: new transition naming convention (issue #946) - . [FIX] Actions: ivars 'duration', 'elapsed', 'tag' now have the '_' suffix in their names. - . [FIX] Artifact fixer is a compile time option in ccConfig. Disabled by default - . [FIX] ccCArray: off-by-1 offset, and lastObject fixed (issue #960 and #961) - . [FIX] ccTypes: using GL types for CC GL structures. Prevents possible errors on 64-bit machines - . [FIX] CocosDenshion: Added SDK4.0 compile check in CDAudioManager - . [FIX] CocosDenshion: panning does not work correctly on iOS4 (issue #949) - . [FIX] Director: Works with Fast FPS disabled (issue #954) - . [FIX] Director: it's possible to set a custom projection before setting the openGL view (issue #952) - . [FIX] Label: BitmapFontAtlas supports empty strings (issue #950) - . [FIX] Label: LabelAtlas doesn't crash if the texture file can't be found (issue #965) - . [FIX] Layer: ivars isTouchEnabled / isAccelerometerEnabled have the '_' suffix in their names - . [FIX] Menu: Disabled possible menuItem on onExit (issue #969) - . [FIX] Sprite: little optimization when using BatchNode + children - . [FIX] Templates: Added missing keys in Info.plist (issue #939) - . [FIX] Tools: mkatlas supports artifact removal (issue #549) - . [FIX] Tools: mkatlas supports spaces in the name (issue #618) - . [3RD] Chipmunk: updated to Chipmunk v5.3 and Chipmunk Demos - -version 0.99.5-beta 30-Jul-2010 - AKA 'CJ the artifact killer' - . [NEW] BitmapFontAtlas: added support for multilines labels - . [NEW] BitmapFontAtlas: added optional setCString method - . [NEW] Configuration: added a helper method to obtain the iOS version - . [NEW] Config: added CC_OPTIMIZE_BLEND_FUNC_FOR_PREMULTIPLIED_ALPHA. Enabled by default. - . [NEW] Texture Atlas & Particles: Uses VBO on ARMv7 and iPhone Simulator. - Uses a vertex array list on ARMv6. Performance improvment. - . [NEW] Sprite: Added support for Zwoptex v1.0 (issue #913) - . [NEW] SpriteFrameCache: Added support for Zwoptex name aliases (issue #935) - . [NEW] SpriteSheet is deprecatd. Use SpriteBatchNode instead. - . [NEW] Support/ccUtils.h: added new file that contains some useful functions like nextPOT - . [NEW] RenderTexture: default blend function compatible with premultiplied alpha (issue #937) - . [NEW] Tests: Zwoptex Test added - . [NEW] Texture2D: Added support for Non compressed PVR images. New supported formats: - RGBA_8888, BGRA_8888, RGBA_4444, RGBA_5551, RGB_565, A_8, AI_88, I_8 - . [NEW] Texture2D: PVR images can be treated as having alpha premultiplied with: - +(void) PVRImagesHavePremultipliedAlpha:(BOOL) - . [FIX] CCArray: conforms to NSCopying protocol (issue #934) - . [FIX] CocosDenshion: Improved sound interruption code (issue #928) - . [FIX] Particles: Built-in particles use QuadParticles when compiled in ARMv7, - and PointParticles when compiled in ARMv6 - . [FIX] Sprites: No artifacts when using spritehsheets (issue #938) - . [FIX] Templates & Tests: call CC_DIRECTOR_END() on AppDelegate Terminate - . [FIX] Templates: Use LLVM-GCC as default compiler - . [FIX] Tests: AtlasTest renamed to LabelTest - . [FIX] Tests: CocosLive Demo: added requestRank tests - . [FIX] TextureCache: JPEG workaround (issue #866) is only applied on iOS >= 4 (issue #932) - . [3RD] libpng: updated to v1.2.44 (libpng is only used by a cocos2d test) - -version 0.99.4 - 14-Jul-2010 - . [NEW] CocosDenshion: switching between background and foreground music (issue #928) - . [FIX] CocosDenshion: fixed memory leak weak reallocing buffers (issue #919) - . [FIX] CocosDenshion: SimpleAudioEngine's enable works as expected (issue #927) - . [FIX] ccCArray: ccCArrayAppendValueWithResize fixed function signature (issue #926) - . [FIX] Director: 2d projection + HighRes works OK (issue #918) - . [FIX] Director: purgeCachedData doesn't purge the SpriteFrameCache (issue #922) - . [FIX] EAGLView: removed unused 'delegate_' ivar - . [FIX] EAGLView: it is possible to resize the view (issue #914) - . [FIX] EAGLView: projection is recalculated after view is resized (issue #924) - . [FIX] GLES-Render: solid objects' colors synced with box2d repository - . [FIX] Scheduler: Doesn't reschedule already scheduled method. It only updates the interval. - . [FIX] Templates & Tests: added App Delegate foreground & background callbacks - - version 0.99.4-rc3 - 01-Jul-2010 - . [FIX] All: Import ccCArray instead of ccArray (compiles in case sentive file system) - . [FIX] CCArray: fixed overflow (issue #901) - . [FIX] CocosDenshion: Fixed bug in CDBufferManager, added test case to FadeToGrey, fixed Info.plist - . [FIX] RenderTexture: works in HiRes mode (issue #898) - . [FIX] Director: Avoid re-scale initial issue (issue #899, issue #350) - . [FIX] Director: convertToUI works as expected (issue #902) - . [FIX] Director: renamed mainLoop -> drawScene - . [FIX] Director: appended '_' to ivars (eg: FPSLabel -> _FPSLabel) - -version 0.99.4-rc2 - 24-Jun-2010 - . [NEW] CCArray: Internally uses CCARRAY_FOREACH. Improved performance (issue #353) - . [NEW] Templates: BaseSDK 4.0. Deploy OS Target: 3.0 - . [FIX] CocosDenshion: compiles with LLVM v1.5 - . [FIX] Removed artifacts from PageTurnTransition (issue #751) - . [FIX] Templates: calls Director#purgeCachedData on memory warning - . [FIX] Templates: sets CD_DEBUG=1 in debug configuration - . [FIX] Texture2D: JPEG images are displayed correctly in iOS4 (issue #886) - -version 0.99.4-rc - 22-Jun-2010 - . [NEW] Director: supports "setContentScaleFactor" (high-res support natively) - . [FIX] Effects: Creates correct color buffer - . [FIX] Director: Sets correctly portrait upside-down orientation - . [FIX] Sprites: flipX/Y works with offsets (issue #732) - . [FIX] Templates: Bundle Version is 1.0 (issue #871) - -version 0.99.4-beta - 14-Jun-2010 - . [NEW] CDSoundEngine loadBufferFromData method added for loading custom buffer data. - . [NEW] CDSoundEngine channel groups renamed source groups to make function clearer. - . [NEW] CDSoundEngine source groups can be dynamically modified using defineSourceGroups. - . [NEW] CDSoundSource new object oriented sound API - . [NEW] CDSoundEngine added soundSourceForSound method to create CDSoundSource objects - . [NEW] CDSoundEngine buffers are automatically increased as needed (no more CD_MAX_BUFFERS) - . [NEW] CDPropertyModifier class for modifying properties such as pitch and gain over time - . [NEW] CDXPropertyModifierAction class for modifying properties such as pitch and gain using cocos2d actions - . [NEW] Convenience methods for fading volume of background music, sound effects and CDSoundSource objects - . [NEW] SimpleAudioEngine soundSourceForFile method for creating CDSoundSource objects - . [NEW] SimpleAudioEngine rewrote buffer management code using new CDBufferManager class - . [NEW] CDBufferManager - class for associating buffer ids with a file name - . [NEW] CDAudioManager simplified initialisation. Now by default creates a single source group containing all sources - . [NEW] CDAudioInterruptProtocol - implemented by classes that can be muted or enabled such as CDAudioManager - . [NEW] Mute now works like television mute i.e. audio continues but is silenced use the enabled property to disable sound. - . [NEW] CDAudioTransportProtocol - implemented by classes that can be played, paused, stopped and rewound. - . [NEW] CDAudioInterruptTargetGroup container for objects that implement CDAudioInterruptProtocol so that groups of objects can be set mute/enabled. - . [NEW] CCArray: added high performance array. Used by CCNode, CCSpriteSheet - . [NEW] Director: added support for high-res resolutions - . [NEW] EAGLView: renderer is an object. EAGLView creates a ES1Renderer object (issue #883) - . [NEW] EAGLView: it's possible to create a EAGLView manually, or by using Interface Builder - . [NEW] Particle: QuadParticle supports subrects (issue #870) - . [NEW] TextureCache: Added removeTextureForKey: instance method - . [NEW] Tests: Added PerformanceNodeChildren performance test - . [FIX] Particle: Added support for ParticleDesigner 1.2 - . [FIX] Particle: QuadParticle renders the image correctly (not upside-down) (issue #872) - . [FIX] Particle: ParticleSamples are subclass of 'quad' particle and not 'point' particle - . [FIX] Tests: removed ParticleView, AccelViewPortDemo since they were deprecated - . [FIX] Tests: fixed some tests so they look OK on the ipad - . [FIX] Xcode: default family is: iPhone/iPad - -version 0.99.3 - 25-May-2010 - . [NEW] Animation: added 2 methods to create the Animation without delay (updated samples) - . [NEW] Director: added 'purgeCachedData' method. Should be called on memory-warning event. - . [FIX] ActionManager: Improved API, with better names (issue #835) - . [FIX] Action CCCallFunc: supports class methods (issue #868) - . [FIX] BitmapFontAtlas: Improved loading times (issue #833) - . [FIX] Node: Improved performance when rendering at the cost of 64 bytes more per node (issue #830) - . [FIX] Particle: Kill the particle if timeToLive < 0 before updating it. - . [FIX] Templates: Define DEBUG in Debug configurations - -version 0.99.3-rc - 18-May-2010 - . [NEW] License: Using MIT license - . [NEW] Node: added removeFromParentAndCleanup:(BOOL) (issue #566) - . [NEW] Particle: Added support for modes: "gravity mode" (old behavior) and "radial movement" mode - . [NEW] Particle: Added support Particle Designer (issue #XXX) - . [NEW] Scheduler: supports pause/resume/'update' with priority (issue #439) - . [FIX] ActionManager: using uthash instead of ccHashSet (easier to use) - . [FIX] Actions: CallFuncND can pass any void ptr, even 0 or 1. - . [FIX] BitmapFontAtlas: using uthash instead of ccHashSet (easier to use) - . [FIX] Grid: Fixed memory leak (issue #853) - . [FIX] Menu: If items are disabled or invisible, touch is not consumed (issues #779, #866) - . [FIX] Particles: Removed unnecesary assert (issue #851) - . [FIX] Particles: QuadParticle works with NPOT textures (issue #863) - . [FIX] Scheduler: Improved performance (issue #492) - . [FIX] Templates: Using uthash instead of ccHashSet (issue #860) - . [FIX] Templates: templates can be installed in user directory (issue #856) - -version 0.99.2 - 28-Apr-2010 - . [FIX] ActionManager: removeByTag doesn't crash if action is also running (issue #841) - . [FIX] cocos2d/*.m: fixed several memory leaks in cases where initXXX failed (issue #XXX) - . [FIX] Director: fixed start-up flicker (issue #350) - . [FIX] EAGLView: If discard-framebuffer is supported and using depthBuffer, then discard it before swapping (SDK4.0 only) (issue #XXX) - . [FIX] Grid: simplied code, easier to maintain, added support for flipped textures (part of issue #448) - . [FIX] Sprite/SpriteSheet: reorderChild works as expected when using subchildren (issue #767) - . [FIX] Templates: installer has better error messages and checks the installer conditions in a better way (issue #842) - . [FIX] Xcode: compiles OK with LLVM Compiler SDK 4.0beta2 - . [3RD] Box2d: Updatd to SVN r100 (v2.1.2) - -version 0.99.2-rc - 15-Apr-2010 - . [NEW] Actions: Added blocks actions via PLBlocks: CCCallBlock and CCCallBlockN (issue #699) - . [NEW] Actions: Added CCFollow, an action that follows a CCNode (issue #738) - . [NEW] Actions: Added CCPropertyAction, a generic way to update properties using an action (issue #491) - . [NEW] MenuItem: MenuItems supports blocks via PLBlocks (issue #699) - . [NEW] Texture2D: added support for NPOT textures where available (issue #818) - . [NEW] Templates: file templates for CCLayer, CCNode, CCSprite (issue #XXX) - . [NEW] TMXMaps: added support for per-tile properties (issue #606) - . [NEW] ProfilingTimer: new class to test performance (issue #724) - . [NEW] Xcode: added "build all tests" target (issue #XXX) - . [FIX] Box2d: GLES-DebugDraw draws non-solid circles as non-solid circles (issue #831) - . [FIX] Director: FPSLabel uses RGBA4444 texture to reduce possible performance impact (issue #658) - . [FIX] EAGLView: swapBuffers doesn't bind the color buffer. It assumes it is already bound (issue #XXX) - . [FIX] Particles: constants stars with kCC (issue #809) - . [FIX] Particles: Asserts if start/end size is <0 or >64 - . [FIX] Protocols: CCAnimationProtocol removed. Merged into CCAnimation (issue #XXX) - . [FIX] Protocols: CCFrameProtocol removed. Merged into CCSprite (issue #XXX) - . [FIX] Ribbon: fixed memory corruption bug (issue #XXX) - . [FIX] Ribbon/RenderTexture: use objective-c like ivars (part of issue #733) - . [FIX] Templates: Improved logic in template installer (issue #XXX) - . [FIX] Templates: Generates optimized binaries. ARMv7 binaries have thumb-2 enabled (issue #XXX) - . [FIX] SpriteSheet: Improved doxygen documentation (issue #827) - . [FIX] SpriteFrameCache: logs warning if frame is not found - . [FIX] Xcode: uses optimized binary. ARMv7 binary has thumb-2 enabled (issue #XXX) - . [3RD] Box2d: updated to SVN r91 (v2.1.1) - -version 0.99.1 - 19-Mar-2010 - . [FIX] Menu: If menu is not visible it doesn't receive touches (issue #88) - . [FIX] Menu: MenuItemLabel restores the scale property (issue #500) - . [FIX] SpriteFrameCache: set singleton to nil when it is purged (issue #814) - . [FIX] Templates: thumb-compilation turned off at project settings (already off in target settings) (issue #772) - . [FIX] Texture2D allocs the right texturememory when using the non-premultiplied alg.(issue #813) - . [FIX] Texture2D supports A8 textures (issue #816) - . [3RD] Libpng: updated to v1.2.43 (libpng is only used by a cocos2d test) - -version 0.99.1-rc - 12-Mar-2010 - . [NEW] Actions: new added actions: CCProgressTo, CCProgressFromTo (issue #783) - . [NEW] CGPointExtensions: new add functions: CGPointExtension like: clampf, ccpClamp, ccpFromSize, - ccpCompOp, ccpLerp, ccpFuzzyEqual, ccpCompMult, ccpAngleSigned, ccpAngle, - ccpRotateByAngle, ccpLineIntersect (issue #783) - . [NEW] Macros: added CCLOGINFO() and CCLOGERROR(). CCLOGINFO() disabled by default (issue #799) - . [NEW] SpriteFrameCache: added support for Zwoptex Desktop version (issue #812) - . [NEW] TMX: if layer contains cc_vertezx=automatic, tiles will use vertexZ and GL_ALPHA_TEST (issue #780) - . [NEW] TMX: TMXLayer supports Tiled offset property (issue #616) - . [NEW] TMX: Added support for .tsx tilesets (issue #619) - . [NEW] Transition: new added transitions: CCRadialCCWTransition, CCRadialCWTransition (issue #783) - . [FIX] All: cocos2d constants start with kCC. Change is backward compatible (issue #809) - . [FIX] Actions: CCRepeat works smoothly, without jerks (re-fixed issue #390) - . [FIX] Actions: CCAnimate frame calculation is more precise (issue #758) - . [FIX] CocosDenshion: Fixed mute (issue #789) - . [FIX] RenderTexture: removed limit when saving images (issue #782) - . [FIX] RenderTexture: doesn't use GL_DITHER and restores glColorMask() (issue #796) - . [FIX] Sprite, LabelAtlas, TiledMap: opactiy + color works even when the texture is premultiplied (issue #668) - . [FIX] TMX: TMXTileMap supports any kind of objects, like CCSprite (issue #700, #765) - . [FIX] TMX: TMXLayer uses the opacity defined for the layer (issue #785) - . [FIX] TMX: TMXLayer raises exception if it receives the addChild message (issue #808) - . [FIX] Texture2D: removed NSLog when image was NULL (issue #802) - . [FIX] Xcode: hardware requirements in .plist: doesn't contain disabled features (issue #769) - . [3RD] Box2d: updated to r66 (issue #795) - . [3RD] Chipmunk: updated to v5.2 (issue #784) - -version 0.99.0 - 18-Feb-2010 - . CocosDenshion: background music can loop (issue #774) - . CocosDenshion: allow audio session category to be changed (issue #775) - . CocosDenshion: can be initialized before cocos2d (issue #777, #773) - -version 0.99.0-final - 15-Feb-2010 - . Box2d: updated to r58 (issue #494) - . Director: Only send "cleanup" when the scene is replaced (re fixed issue #709) - . CocosDenshion: SimpleAudioEngine incorrectly accessing CDAudioManager (issue #748) - . CocosDenshion: added support for 22Khz OpenAL (issue #594) - . CocosDenshion: fixed wrong error check in CocosDenshion (issue #678) - . CocosDenshion: added shutdown method (issue #688) - . CocosDenshion: allow usage of alBufferDataStatic (issue #753) - . CocosDenshion: added stopAllSounds (issue #756) - . CocosDenshion: fixed small leak in background music file name string (issue #644) - . CocosDenshion: CDAudioManager support for multiple AVAudioPlayers (issue #764) - . Compatiblity: TextureNode is subclass of CCSprite (issue #755) - . Node: only uses bits as bools, when they are not properties (fixed issue #743) - . Node: relativeAnchorPoint renamed to isRelativeAnchorPoint (issue #749) - . Node: improved doxygen string in rotation (issue #761) - . Sprite: use correct blending functions (issue #728) - . Sprite: supports CGImageRef with key (issue #349) - . Sprite: when texture is nil, supports opacity & color (issue #741) - . Sprite: setTextureRect() and setColor() works OK with subchildren (issue #763) - . SpriteFrameCache: removed @syncronized() (issue #663) - . Template: box2d template treats warnings as erros, uses unroll loops for performance (issue #750) - . Template: Info.plist uses UIRequiredDeviceCapabilities (issue #769) - . Tests: SpriteTest uses GL_ALPHA_TEST is zVertex test (issue #XXX) - . TMX: filling empty tiles doesn't crash (issue #740) - . TMX: if compression is not "gzip", abort (tiled 0.4 feature) (issue #XXX) - -version 0.99.0-rc - 31-Jan-2010 - . All: Default OpenGL state is: GL_TEXTURE_2D, GL_VERTEX_ARRAY, GL_COLOR_ARRAY, GL_TEXTURE_COORD_ARRAY (issue #718) - . Action: Improved CCSequence performance (issue #XXX) - . BitmapFontAtlas: huge performance boost in update/create time (issue #730) - . Box2d: updated to r39 (issue #494) - . Camera: Offset fixed in landscape mode (issue #378) - . Camera: It's possible to orbit around any point (issue #438) - . Camera: Doesn't reset affine matrix (issue #XXX) - . Chipmunk: Using Chipmunk v5.1.0 (issue #664) - . Configuration: added object that knows GL capabilities and other misc stuff (issue #712) - . Director/Particles/Grid: removed hardcoded display size values. Using variable (issue #XXX) - . Director: send "cleanup" message to root scene when it is being replaced (issue #709) - . Effects: works independently of the display resolution (issue #XXX) - . Grid: optimized code. Only call camera.locate if it is dirty (issue #XXX) - . Node: Uses cached Affine matrix to transform the nodes (2 GL calls vs. 5 GL calls) (issue #XXX) - . Node: uses bits instead of bools when compiled with SDK >= 3_0 (issue #726) - . Node: uses "_" suffix for ivars (children_, isRunning_, tag_, etc..) (issue #733) - . Scheduler: removed support of repeats. Postponed for v0.99.1 (rolling back issue #630) - . Singletons: removed @syncronized() since cocos2d is not thread safe (issue #663) - . SpriteSheet: reorder updates descendants. Added test for this case (issue #708) - . Sprite: can create sprite from SpriteSheet. deprecated creation method from SpriteSheet (issue #657) - . Sprite: optimized rendering when using spriteSheet and subchildren (issue #XXX) - . Sprite: flip only flips the texture (not the anchor point and children) (issue #725) - . Templates: Updated to support v0.99, Chipmunk v5.1 and Box2D r39 - . Templates: install_template.sh supports custom directory (issue #736) - . Templates: box2d+cocos2d template doesn't generate warnings... well only 2 warnings (issue #739) - . Tests: Works independently of the display resolution - . TextureNode: Removed Node. Superseded by Sprite - . TMXMaps: objectGroup support offsets (issue #689) - . TMXMaps: objectGroup: Simplified object creation. All objects are NSDictionaries. For custom objects, subclass TMXTiledMap (issue #636) - . TMXMaps: groupNamed renamed to objectGroupNamed (issue #XXX) - . TouchDispatcher: StandardTouchHandler returns void (not BOOL). They are executed after the TargetedHandlers (issue #710) - . Xcode: doxygen scripts runs with spaces in subdirectories (issue #684) - -version 0.9.0-beta2 - 11-Jan-2010 - . Actions: added 2 new instant actions: FlipX and FlipY (counter-rollback of part issue #620) - . Actions: uses FLT_EPSILON constant (issue #701) - . Actions: prevent jerk in Repeat and RepeatForEver (issue #390) - . Actions: RotateTo can be repeated without losing information (issue #705) - . BitmapFontAtlas: doesn't override color when using setString (issue #610) - . Chipmunk: removed compiler warning on chipmunk demo (issue #680) - . CocosLive: added sanity checks on demo (issue #681) - . Director: removed compile warning on DisplayLink director (issue #682) - . Particles: prevent possible memory corruption when autoRemove is ON (issue #703) - . Scheduler: Supports repeat-number-of-times in scheduled selectors (issue #630) - . Sprite: anchor + offset + scale works (issue #671) - . Sprite: can create subclasses with an SpriteFrameName (issue #XXX) - . Sprite: flip works as scale * -1 (issue #690) - . Sprite: easier to subclass. [self init] is called (issue #485) - . Sprite: isFrameDisplayed works OK with offsets (issue #707) - . SpriteFrame: removed support for flipX and flipY (rollback of a part issue #620) - . SpriteFrameCache: If originalSize is not present, display warning (issue #670) - . SpriteSheet: adding grand-children doesn't crash (issue #676) - . SpriteSheet: child and children work OK with negative scales (issue #677) - . SpriteSheet: It is easier to subclass (issue #397) - . Templates: uses rfc1034identifier (issue #685) - . Texture2D: simulator treats pre-multiplied alpha images correctly (issue #697) - . TextureCache: doesn't crash when file not found. log error insted (issue #695) - . TMXTiledMap: added support for object and objectgroup (issue #636) - . TMXTiledMap: TMXLayer and TMXObjectGroup on it's own files (part of issue #636) - . TMXTiledMap: doesn't generate descendants when not necessary (works as fast as in v0.8.2) - . TMXTiledMap: removeChild works without corrupting the tilemap (issue #XXX) - -version 0.9.0-beta - 14-Dic-2009 - . ActionManager: fixed leak (issue #635) - . Actions: using [self class]. Easier to subclass (issue #655) - . Box2d: updated to r31 (pre 2.1.0) (issue #494) - . Chipmunk: updated to v5.0 (issue #664) - . CocosDenshion: support for detecting ringer/mute switch state (issue #593) - . CocosDenshion: doesn't crash when file has no extension (issue #595) - . ColorLayer: supports Blend Protocol (issue #597) - . Node: vertexZ is translated just once (issue #641) - . Director: call schedulers before glClear in mainLoop (part of issue #533) - . Director: "global" NSBundle to facilitate the integration of more than 1 game (issue #654) - . Particles: code easier to mantain, same performance - . Particles: small performance improvement (issue #661) - . SpriteSheet: supports any level of sub-children (issue #346, issue #665) - . Sprite: supports "honor parent transform" (issue #643) - . Sprite: displayFrame renamed to displayedFrame (issue #XXX) - . Sprite: fixed zwoptex offset & anchorPoint (issue #653) - . Sprite: setDisplayFrame works OK with different texture sizes (issue #666) - . Templates: using SDK 3.0 as base SDK - . Textures: supports mipmap generation (issue #632) - . Texture Atlas: uses VBO instead of vertex array list (issue #581) - . TextureCache: don't use autorelease pool to load images (issue #XXX) - . Tiles: TMX maps supports sub-directories (issue #539) - . Transition: added CrossFadeTransition (issue #646) - -version 0.9.0-alpha - 18-Nov-2009 - . All: using CC namespace (issue #520) - . All: prevents warnings with Static Analizer (issue #613) - . All: cocos protocols renamed to avoid confusion (part of issue #520) - . All: Added compatibility with v0.8 (part of issue #520) - . Animation: supports duration and reverse (issue #627) - . Tests: Performance Tests re-integrated to main Xcode project (issue #XXX) - . BitmapFontAtlas: works with subdirectories (issue #612) - . Box2d: updated to r26 (pre 2.1.0) (issue #494) - . CocosLive: Uses CL namespace (part of issue #520) - . CocosLive: Uses ASCII encoder (issue #617) - . Sprite: Sprite and AtlasSprite merged in just one class (issue #620) - . Sprite: AtlasSpriteManager renamed to SpriteSheet (issue #620) - . Sprite: Sprite Frames and animations supports flipx / flipy (issue #620) - . SpriteFrameCache: added an easier way to create animations and sprites (issue #620) - . Templates: updated (part of issue #520 and issue #620) - . Templates: includes cocos2d and CocosDenshion licences files - . TextureMgr: renamed to TextureCache (part of issue #620) - . Xcode: textures files in 1 Xcode group (Texture2d, PVRTexture, TextureAltas, TextureCache) - -version 0.8.2 - 19-Oct-2009 - . Actions: Animate copy restoreOriginalFrame parameter (issue #602) - . ChipmunkTest: uses new API to set director type (issue #XXX) - . CocosLive: doesn't use deprecated methods (issue #604) - . MenuItem: added isSelected property (issue #601) - . Tests: removed copyrighted fonts (part of issue #596) - -version 0.8.2-rc1 - 14-Oct-2009 - . Actions: start/stop sets the target (issue #489 and issue #589) - . Actions: Compound actions call "inner" stop (issue #489 and #issue #589) - . Actions: Fixed BezierBy reverse. BezierBy doesn't use startPosition (issue #586) - . Actions: added BezierTo (issue #562) - . Actions: RotateTo uses min distance (issue #584) - . Actions: JumpBy/To uses parabolic function (issue #324) - . BitmapFontAtlas: added limited unicode support (issue #596) - . Director: Rolling back buffer format. Default buffer format is RGB565. - . FontLabel: updates version from git 2009-10-07 (issue #582) - . Particles: FreeMovement uses World-Coordinates (issue #241) - . Tests: Added Particle + Parallax test (part of issue #241) - . TileMap: TMXLayers work without tiles (issue #587) - . TileMap: TMX maps HUGE performance boost (issue #574) - -version 0.8.2-rc0 - 5-Oct-2009 - . Actions: Added EaseBack family actios (issue #568) - . AtlasSprite: set atlasIndex to invalid on remove (issue #569) - . Box2d: using google code r22 (pre v2.1.0) (issue #494) - . CocosNode: Better message error on scale (issue #556) - . Effects: [effect copy] works (issue #573) - . Effects: restore orignal director projection (issue #573) - . Extras: added Joystick / ProximityManager (issue #XXX) - . FontLabel: updates version from git (issue #582) - . Macros: CCLOG uses the "cocos2d:" prefix (issue #XXX) - . Parallax: fixed limit of 5 children (issue #565) - . Templates: works with FontLabel (part of issue #534) - . Templates: added cocos2d+chipmunk template (issue #XXX) - . TextureAtlas: insertQuad fixed signed math (issue #575) - -version 0.8.2-beta - 23-Sept-2009 - . All: ccConfig.h file added (issue #551) - . Actions: added Ease Elastic actions (issue #530) - . Actions: added Ease Bounce actions (issue #546) - . Actions: added PageTurn3D action (issue #522) - . BitmapFontAtlas: fixed contentSize (issue #536, #538) - . BitmapFontAtlas: fixed offset/width (issue #537) - . BitmapFontAtlas: only supports Latin 1 chars (issue #517) - . Box2d: using google code r21 (pre v2.1.0) (issue #494) - . CocosDenshion: muted property in SimpleAudioEngine (issue #526) - . CocosDenshion: added preloadBackgroundMusic and willBackgroundMusicPlay to SimpleAudioEngine (issue #545) - . CocosNode: improved doxygen documentation (issue #XXX) - . CocosNode: added boundingBox method (issue #528) - . Director: added convertToUI and renamed convertCoordinate to convertToGL (issue #531) - . Director: fixed 2 leaks on Director#end (issue #524) - . Director: Added a threaded FastDirector (issue #560) - . Director: Added a CADisplayLink Director (issue #560) - . Director: buffer default pixel format is RGBA_8888 - . Documentation: doxygen builds OK when there are spaces in the path (issue #540) - . Label / Texture2D: Supports any .ttf via FontLabel (issue #534) - . LabelAtlas: works with 256 different chars (issue #516) - . RenderTexture: added RenderTexture test (issue #191) - . Resources: improved directory structure (issue #552) - . Template: using removeUnusedTextures (issue #550) - . TileMap: TMX supports multiple tilesets (1 tileset per layer) (issue #510) - . TileMap: TMX raises expection if map is not encoded and/or gzipped (issue #559) - . Transition: ease actions can be overriden (issue #548) - . Transition: added PageTurnTransition (issue #522) - -version 0.8.1 - 26-Ago-2009 - . ActionManager: doesn't delete running actions (issue #481) - . Box2d: using google code r10 (pre v2.1.0) (issue #494) - . CocosDenshion: resumeBackground music (issue #513) - . MultiplexLayer: removes child using cleanup:YES (issue #466) - . Particles: no negative size (issue #514) - . Resources: added new cocos2d logos (issue #521) - . Template: added Icon.png and Default.png (part of issue #469) - . Texture2D: using CCLOG instead of NSLog+#ifdef (issue #519) - -version 0.8.1-rc - 19-Ago-2009 - . All: Using nonatomic properties (issue #509) - . ActionManager: fixed crash (issue #490) - . Actions: RotateTo always rotates to shortest angle fix (issue #499) - . Box2d: using google code r8 (issue #494) - . Box2d: added box2dTestBed (part of issue #494) - . CocosDenshion: correct channel in SimpleAudioEngine (issue #465) - . CocosDenshion: update buffer status after deletion ( issue #486) - . CocosDenshion: SimpleAudioEngine can stop sounds (issue #498) - . Parallax: update children at draw (issue #471) - . TileMap: TMX maps starts at 0,0 position (part of issue #462) - . TileMap: TMX getter/setters works OK with async maps (issue #506) - . TileMap: anchorPoint works OK (issue #508) - . Xcode: COCOS2D_DEBUG used instead of DEBUG (issue #507) - -version 0.8.1-beta - 10-Ago-2009 - . BitmapFontAtlas: .png image can be in subfolders (issue #464) - . Box2d: possibility to call world.DrawDebugData() from draw (issue #493) - . Box2d: updated box2d repository. using r228 (issue #494) - . CocosNode: parent is set to nil only after calling onExit (issue #476) - . CocosNode: added user data (issue #482) - . CocosLive: added support to request current ranking (issue #495) - . MotionStreak: moved from experimental to stable. uses v0.8 API (issue #484) - . MotionStreak: by default uses GL_SRC_ALPHA blend function (issue #405) - . ParticleView: integrated Particle visual editor (issue #480) - . Parallax: more precise absolute coords (issue #471) - . RenderTexture: let's you render CocosNode objects into a texture (issue #XXX) - . Template: added Xcode cocos2d Template (issue #469) - . TextureMgr: Async reuses EAGL context (issue #472) - . tools: added mkatlas.pl script (issue #483) - . TiledMap: Added support for the TMX format: iso, ortho and hex maps (issue #462) - . TouchDispatcher: don't dispatch empty touches (issue #468) - -version 0.8 - 27-Jul-2009 - . Action: Speed#stop calls other's stop (issue #460) - . BitmapFontAtlas: opacity and color work as expected (issue #463) - . CocosNode: setRelativeAnchorPoint error (issue #461) - . Director: convertCoordinate roundoff error (issue #453) - -version 0.8-rc2 - 21-Jul-2009 - . Actions: Repeat repeats OK (issue #424) - . Actions: Prevents division by 0 when duration==0 (issue #452) - . ActionManager: 5% increase in performance (issue #451) - . CocosDenshion: fixed clicking on looped waves sounds (issue #440) - . CocosDenshion: Added properties in SimpleAudioEngine (issue #454) - . CocosLive: using the deprecated CString API (issue #441) - . CocosLive: send-score object can be reused (issue #417) - . CocosNode: children is an explicit "property" (issue #411) - . CocosNode: relativeTransformAnchor -> relativeAnchorPoint (part of issue #303) - . ColorLayer: uses floats instead of ints for its size (issue #339) - . ColorLayer: updates contentSize when when size is used (issue #443) - . Demos: added basic template to start new projects (issue #447) - . Director: FastDirector with fast events or not at compile time (issue #449) - . FileUtils: Absolute paths are not converted (issue #352) - . Menu: MenuItems works with anchorPoint correctly (issue #412) - . Menu: ItemLabel disabled color is configurable. color is saved (issue #366) - . Particle: VBO update only the needed particles (issue #367) - . TextureMgr: new (and recommended) way to add CGImages (issue #349) - . TouchDispatcher: retains/releases the delegates (issue #422) - . Transitions: Fixed artifacts in Slide transitions (issue #442) - -version 0.8-rc - 13-Jul-2009 - . ActionManager: actions logic were removed from CocosNode (issue #437) - . Actions/Scheduler: the 1st time a Timer or Action is fired, is with dt=0 (issue #429) - . Actions: CallFuncND doesn't leak if reused (issue #336) - . AtlasSpriteManager: fixed blend function (part of issue #125) - . AtlasSprite: render in subpixel by default (issue #414, issue #399) - . BitmapFontAtlas: opacity and color are applied (issue #425) - . BitmapFontAtlas: cache the configuration. FASTER loading times (issue #382) - . CocosDenshion: improvements (issues #415, #431, #432, #433) - . CocosNode: RGBA protocol setColor new API (issue #273) - . CocosNode: removeAllChildren unschedules the timers correctly (issue #435) - . Director: added isPaused property (issue #375) - . Director: fixed memory leak in FPSLabel (issue #370) - . Layer: possibility to hook / unkook touches/Accelerometer in runtime (issue #164) - . ParallaxNode: uses world coordinates (issue #373) - . Particles: support for auto-remove-on-finish (issue #385) - . Scheduler: it's possible to scale the time (issue #236) - . Scheduler: removed unused API (issue #427) - . Scheduler: Added a way to remove all scheduled Timers (issue #421) - . Tests: ParticleTest tests 'free' and 'grouped' emitter (part of issue #241) - . TextureMgr: supports loading images asynchronously (issue #420) - -version 0.8-beta - 17-Jun-2009 - . Actions: Added BezierBy action (issue #313) - . Actions: improved performance when running Actions (issue #301) - . Actions: fixed Repeat skipping when duration not an integer (issue #394) - . All: removed deprecated classes/methods (issue #326) - . AtlasSprite: supports flipX and flipY properties (issue #343) - . BitmapFontAtlas: new features (issue #317) - . box2d: Integrated box2d physics engine (issue #406) - . CocosDenshion: new sound engine in experimental (issue #407) - . CocosNode: actions don't retain the target (issue #150) - . CocosNode: support real openGL Z vertex (issue #355) - . CocosNode: faster transforming of local/world coordinates (issue #263) - . CocosNode: anchorPoint uses normalized coords (0,0) to (1,1) (issue #303) - . Director: supports PortraitUpsideDown and Right orientation (issue #351) - . LabelAtlas: don't render in subpixel (issue #135) - . Menu: All MenuItems supports CocosNodeRGBA protocol (issue #347) - . Menu: Support for BitmapFontAtlas (or any other Label) (issue #365) - . Menu: Support for Sprite and AtlasSprite (or any other CocosNodeRGBA node) (issue #383) - . ParallaxNode: parallax code refactored (issue #358) - . Particles: Added QuadParticleSystem. renamed ParticleSystem to PointParticleSystem (issue #245) - . Particles: added support for endSize and endSizeVar (issue #241) - . Particles: added support for start/end/var spinning (issue #335) - . Particles: support for World/Local coordinates (issue #241) - . Primitives: added bezier path support (issue #380) - . Tests: Added PerformanceParticleTest (issue #331) - . Tests: Added TouchTest (issue #211, #402) - . Texture2D: new alias/antialias API (issue #226) - . Texture2D: supports 16-bit textures RGB4 and RGB5A1 (issue #356) - . Texture2D: blending mode varies according to texture (issue #125) - . Texture2D: Supports images up to 1024x1024. Assert if bigger (issue #396) - . TextureAtlas: uses interleaved vertex array (issue #359) - . TextureMgr: added method that removes unused textures (issue #117) - . Transition: onEnterTransitionDidFinsih added. OnExit and onEnter only once (issue #172) - . Types: types follows OpenGL "standards" (issue #360) - . Touch Events: support for Targeted touches (issue #211) - . Touch Events: menu uses new touch dispatcher (issue #362) - . Touch Events: supports priority (issue #307) - . Xcode: fixed compile error when keyboard registry is enabled (issue #387) - - version 0.7.3 - 18-May-2009 - . Actions: Sequence works when 1st action is an InstantAction. InstantActions are reversible (issue #348) - . CocosLive: Demo shows world rankings (issue #342) - . Director: "new" Fast Director. Attach/Detach, auto-lock, SDK 3.0 works (issue #145, #issue #239, issue #340) - . Texture2D: supports 16-bit textures RGB4 and RGB5A1 (issue #356) - . Support: CGPointExtension compatible with c++ (issue #369) - -version 0.7.2 - 23-Apr-2009 - . All: removed chipmunk macros. using CG macros (issue #290) - . Actions: Added TintTo and TintBy (issue #204) - . AtlasSprite: don't overwrite index 0 (issue #283) - . AtlasSprite: Supports Z-order (issue #275) - . AtlasSprite & Sprite: don't auto center sprite when setting frame (issue #281) - . AtlasSprite: don't render in subpixels (issue #135) - . AtlasSpriteManager: supports transformations (issue #308) - . AtlasSpriteManager: fixes in removeChild (issue #296) - . AtlasSpriteManager: works with capacity=1 (issue #305) - . CocosNode: CocosNodeExtras merged into CocosNode (issue #292) - . CocosNode: improved runAction/stopAction (issue #300) - . CocosNode: possible memory leak when running actions (issue #298) - . CocosNode: dont execute an already running action (issue #299) - . CocosNode: children referring to deallocated parent (issue #297) - . CocosNode: fixed "already scheduled exception" (issue #251) - . CocosNode: don't render in subpixels (issue #135) - . Demos: AtlasSprite with z-order (issue #275) - . Demos: ParticleDemo uses touches to move the center of the emitter (issue #138) - . Demos: organized tests folder (issue #280) - . Demos: Atlas and Sprites uses TintBy and TintTo (issue #204) - . Demos: Menu shows how to use padding / dynamic toggle items (part of issue #249, issue #224) - . Demos: added drawing primitives excample (part of issue #322) - . Director: Attach uses 'bounds' not 'frame' (issue #233) - . Director: runWithScene / end doesn't crash/leak anymore (issue #325) - . Director / Transitions: pushScene with Transitions works (issue #267) - . Documentation: API doc documents free functions (issue #314) - . Menu: an empty menu can be crated (issue #277) - . Menu: align supports padding (issue #249) - . Menu: align takes into account scale (issue #248) - . Menu: MenuToggleItem supports add/remove items in runtime (issue #224) - . Particles: Use by default fire.pvr (issue #276) - . Particles: resetSystem actually resets the system (issue #252) - . Particles: texture is a property (issue #282) - . Particles: colors and vertices in 1 VBO (issue #246) - . Primitives: deprecated all functions. New functions uses CGPoint (issue #322) - . Scheduler: improved timer performance (issue #309) - . SoundSupport: supports vorbis codec (issue #321) - . ccArray: a fast alternative to NSMutableArray (issue #304) - . TextureAtlas: fixed colorarray memory leak (issue #272) - . TextureAtlas: support for insert,remove,reorder (issue #275) - . TextureAtlas: free indices correctly when out of memory (issue #293) - . TextureAtlas: resizeCapacity returns BOOL instead of raise exception (issue #294) - . TextureAtlas: prevent crash when not enough memory while allocating color (issue #295) - . TextureNode: texture is "retain" not "assign" (issue #230 and issue #274) - . TileMapAtlas: supports fullpath (issue #220) - . TileMapAtlas: don't render in subpixels (issue #135) - . Xcode project: added class model (issue #312) - -version 0.7.1 - 20-Mar-2009 - . Actions: added tags to actions (issue #222) - . Actions: Spawns can be Speeded (issue #257) - . Actions: Speed can be altered in runtime (part of issue #236) - . AtlasSprite: Sprite sheet implementation (issue #238) - . Chipmunk: cpVect is defined as a CGPoint (issue #260) - . CocosNode: Camera is lazy alloced (issue #94) - . CocosNode: addChild, removeChild:cleanup, getChildByTag family functions (issue #253) - . CocosNode: added better comments, cleanup code (issue #219) - . CocosNode: added RGB protocol: Atlas,Texture & ColorLayer conforms it (issue #234) - . CocosNode: fixed memory leak when removeAndStop a node with children with actions (issue #254) - . CocosNode: added transform local to world coordinates that supports rotation,scale & position (issue #207) - . CocosNode: removed scale ivar (issue #231) - . CocosNode: improved handling of nil parameters (issue #262) - . CocosLive: filter by device id (issue #223) - . CocosLive: category is UTF8'ized (issue #227) - . CocosLive: using cc_playername instead of usr_playername (issue #242) - . CocosLive: supports "update score" (issue #250) - . Demos: added performance test (issue #243) - . Director: FastDirector doesn't leak autoreleased objects (issue #221) - . Director: prevents calling startAnimation twice in a row (issue #215) - . Menu: can be aligned in columns / rows. Updated menu example (issue #206) - . Menu: MenuItem supports LabelAtlas (issue #235) - . Menu: MenuItemFont fixed memory leak (issue #232) - . Menu: MenuItem improved hit testing (issue #214) - . Scheduler: if signature is not correct Assert (issue #218) - . Sprite: correct transform anchor point (issue #216) - . TextureAtlas: support for texture2D (issue #161) - . Tools: Added perf-test results (issue #243) - -version 0.7.0 - 19-Feb-2009 - . Action: elapsed is a property (issue #203) - . Actions: EaseIn/Out added. Cubic/Quad removed (issue #195) - . Atlas: Fixed black line (issue #135 and issue #47) - . Atlas: Works when GL_CULL_FACE is enabled (issue #179) - . Atlas: updateAltasValues renamed to updateAtlasValues (issue #198) - . CocosLive: added client and example that uses the CocosLive service (issue #175) - . CocosNode: children is a property (issue #185) - . CocosNode: rotate before scale (issue #217) - . Demos: Creating Window and attaching cocos2d to it (issue #180) - . Demos: Texture2dDemo shows how to load PVR images and PVR Mipmap images (issue #112) - . Demos: Added AttachDemo (issue #180) - . Demos: Added EffectsDemo and EffectsAdvancedDemo (issue #183) - . Director: OpenGLview is attached to a given UIView/UIWindow (issue #180) - . Director: winSize returns a CGSize (not a CGRect) (issue #159) - . Director: added FastDirector (issue #145) - . Director: dispatch missing events in main loop (issue #146) - . Director: renamed runScene with runWithScene (issue #194) - . Director: SignificantTimeChange fixed (issue #6) - . Effects: Added Effects support (Grid and TiledGrid) (issue #183) - . Effects: Basic: StopGrid, ReuseGrid (issue #183) - . Effects: Grid: Waves3D, FlipX3D, FlipY3D, Lens3D, Ripple3D, Liquid, Shaky3D, Waves - Twirl (issue #183) - . Effects: Tiled: ShakyTiles3D, ShatteredTiles3D, ShuffleTiles, FadeOutTRTiles, FadeOutBLTiles, - FadeOutUpTiles, FadeOutDownTiles, TurnOffTiles, WavesTiles3D, JumpTiles3D - SplitRows, SplitCols (issue #183) - . Experimental: Added StreakDemo (issue #171) - . Menu: aligItemsVerticallyOld removed. (issue #196) - . MenuItemFont: can be changed in runtime (issue #202) - . MenuItemFont: assign correct size and documented isEnabled (issue #132) - . Particle: Buffers updated on update (issue #163) - . Sprite: initWithPVRTCFile is deprecated. will be removed in v0.8 (issue #197) - . Texture: Support for full PVRTC (issue #112) - . Texture: Easier to set Alias and/or AntiAlias texture parameters (issue #135 and issue #47) - . TileMapAtlas: it is readable / writeable now (issue #200) - . Transitions: added new Effects transitions - SplitRowsTransition, SplitColsTransition, TurnOffTilesTransition, - FadeTRTransition, FadeBLTransition, FadeUpTransition, FadeDownTransition (issue #187) - . Xcode: treat warnings as errors (issue #201) - - -version 0.6.3 - 28-Jan-2009 - . Actions: ScaleTo & ScaleBy supports X and Y factors (issue #156) - . Actions: Added collections of Ease Actions (issue #157) - . Chipmunk: cpFlaot is a float, not a double (issue #130) - . CocosNode: fixed absolutePosition (issue #140) - . CocosNode: unschedule timers only when running (issue #142) - . CocosNode: prevents crash under certain circumstances while executing actions (issue #141) - . Demos: Added Texture2dDemo example (issue #169) - . Demos: SpritesDemo has an improved Accelerate example (issue #168) - . Demos: ParticlesDemo has the Rain Particle example (issue #136) - . Demos: Added EaseDemo showing all the ease capabilities (issue #158) - . Director: allow cleanup when deallocing the director (issue #144) - . Director: avoid useless GL commands when displaying FPS (issue #162) - . Director: possibility to change the DepthBuffer size (issue #160) - . Label: possibility to create Label without dimensions and aligment (issue #154) - . Menu: MenuItemToggle supports assigning the selectedIndex (issue #152) - . Menu: aligment takes into account if status bar is present (issue #131) - . MenuItem: improved compiler warning (issue #147) - . Misc: added 'f' to numbers so they are floats, not doubles (issue #130) - . Particles: added ParticleRain (issue #136) - . Particles: center of emitter can be moved independently from position (issue #138) - . Sprites: fixed possible memory leaks (issue #139) - . Texture2D: prevent allocating more memory than needed (issue #154) - . TextureMgr: supports directories withing the image name (issue #151) - . TileMapAtlas: fixed bug when using TGA files (issue #124) - . TileMapAtlas: supports up to 255 chars (issue #153) - -version 0.6.2 - 24-Dec-2008 - . Actions: Accelerate & Speed ratios can be modified at runtime (issue #127) - . CocosNode: added absolutePosition (issue #9 & issue #122) - . CocosNode: tag is propagated when adding children (issue #118) - . CocosNode: change change z-order at runtime (issue #59) - . Demos: Chipmunk_Accel supports multiple touches (issue #129) - . Demos: fixed typo in MenuTest (issue #111) - . Demos: shows how to set multiple Touches and other options (issue #116) - . Director: Touches work fast again (issue #126) - . License: removed "GNU LGPL" from sources files (issue #115) - . License: fixed grammar errors (issue #120) - . Sprite & Animation: can be created from Texture2D, updated SpriteDemo example (issue #113) - . TextureMgr: Avois duplicate cache (issue #121) - . Transitions: FadeTransition supports variable color. Updated TransitionsDemo (issue #129) - -version 0.6.1 - 08-Dec-2008 - . Documentation: Generation of doc fixes (issue #105) - . Primitives: drawLine prototype fixed (issue #103) - . Xcode: all projects have "thumb compilation" turned off (issue #104) - -version 0.6.0 - 05-Dec-2008 - . Actions: Sequences of Repeats fixes (issue #80) - . Actions: Added RepeatForEver. Added example in SpritesDemo example (issue #93) - . Actions: Repeat can be reversed (issue #92) - . Actions: Memory leaks detected by static analyzer. (issue #90) - . CocosNode: added support for Parallax scroller. Created ParallaxDemo example (issue #89) - . CocosNode: removed deprecated 'named' methods (issue #91) - . CocosNode: lazy allocations with timers, children & actions (issue #94) - . CocosNode: added removeAndStop, removeAndStopByTag and removeAndStopAll (issue #101) - . Demos: fixed memory leaks in AnchorDemo, SpritesDemo and RotateWorld (related to issue #90) - . Director: propagation of Touch events can be stopped (issue #96) - . Documentation: properties are documented (issue #100) - . Menu: conforms to CocosNodeSize protocol (issue #99) - . Menu: support both vertical & horizontal alignment (issue #97) - . Menu: added MenuItemToggle (issue #83) - . Particle: Added ParticleSnow (issue #102) - . Texture2D: creates the textures with clamp to edge and mag filter to linear (issue #95) - -version 0.5.3 - 18-Nov-2008 - . Actions: Repeat fixes (issue #81) - . CocosNode: added numberOfRunningActions (issue #72) - . CocosNode: removeAll fixes (issue #74) - . CocosNode: stopAction fix (issue #82) - . CocosNode: supports flipX and flipY (issue #53) - . CocosNode: supports scaleX and scaleY (issue #54) - . Layer: isTouchEnabled, isAccelerometerEnabled are properties (issue #70) - . Menu: supports CocosNodeOpacity protocol (issue #76) - . MultiplexLayer: added switchToAndReleaseMe (issue #71) - . OpenGLSupport: performance improvements (issue #84) - . Particles: ParticleCount is a property (issue #68) - . Texture2D: images & RGBA8 fixes (issue #86) - . TextureMgr: Simulator supports PVRTC images (issue #75) - . TextureMgr: removeTexture fixed (issue #85) - . TextureMgr: supports CGImageRef (issue #87) - . TileMapAtlas: supports TGA RLE format (issue #38) - -version 0.5.2 - 04-Nov-2008 - . All: assign [super init] to self (issue #61) - . Documentation: Add AUTHORS file with the cocos2d's contributors (issue #62) - . CocosNode: added tags (getByTag, removeByTag) (issue #52) - . CocosNode: fixed big memory leak (issue #67) - . Director: able to remove event enabled nodes (issue #56) - . Director: can be hidden / unhidden (issue #55) - . License: Explicit paragraphs that allows cocos2d + closed source projects (issue #57) - . MenuItemImage: able to modify inner sprites (issue #58) - . OpenGLSupport: added PowerVR Texture Compression (PVRTC) format support (issue #66) - . Transitions: don't flicker (issue #60) - -version 0.5.1 - 20-Oct-2008 - . Actions: Animation has restoreOriginalFrame argument (issue #46) - . Actions: CallFunc retains target (issue #42) - . AtlasNode: renders some artifacts (partially fixed issue #47) - . Demos: Updated Chipmunks demos (issue #43) - . Demos: Elasticity fixed in Chipmunk_Accel (issue #45) - . Director: fps_images.png consumes much less texture memory (issue #49) - . Documentation: included LICENSE.artwork (issue #51) - . LabelAtlas: works with NxM size images (issue #50) - . MenuItem: supports enable/disable (issue #22) - . Particle system: exports more variables (issue #48) - -version 0.5.0 - 05-Oct-2008 - . Actions: copy protocol fixed on some actions (issue #27) - . Chipmunk: using newest version from svn (issue #34) - . CocosNode: Nodes not being dealloced with active actions (issue #25) - . CocosNode: Doxygen API reference fixed (issue #29) - . Demo: added test/example of the new Atlas feature (issue #40) - . Director: Doxygen API reference fixed (issue #29) - . Director: Display FPS are rendered 10 times per second (issue #37) - . LabelAtlas: Fast render update Label (issue #36) (*NEW_FEATURE*) - . MenuItem: sending correct 'self' as argument (issue #19) - . Misc: improved cocos2d icon and default image (issue #33) - . TextureAtlas: Object to render indexed vertex arrays from 1 texture (issue #32) (*NEW_FEATURE*) - . TileMapAtlas: Tile Map renderer (issue #35) (*NEW_FEATURE*) - . TextureMgr: added removeAllTextures (issue #31) - . Scheduler: retain arguments (issue #28) - . Scheduler: passes correct delta time (issue #26) - . Sprite: replaced xxxFromFile with xxxWithFile (issue #39) (*API_CHANGED*) - -version 0.4.3 - 19-Sept-2008 - . Demo: AccelViewPort using code without the VirtualAccelerometer - . Demo: TransitionDemo shows the 6 new transitions - . Demo: Updated Icon.png & Default.png files - . MenuItem: MenuItemFont are 3 pixels heigher. - . Transitions: all Flip transitions have orientation: Left<->Right, Up<-->Down (6 new transitions) - -version 0.4.2 - 10-Sept-2008 - . Action: FadeOut reverse fixed - . Demo: AnchorDemo using back, restart, forward arrows - . MenuItem: callback receives the sender as its argument (issue 14) - . Particles: added initWithTotalParticles method. - . Transitions: Fixed HUGE memory leak - . Transitions: Timing fix. Slide transitions don't show "black" space - -version 0.4.1 - 08-Sept-2008 - . Actions: commented an NSLog() - . CocosNode: added removeAll (by Codemattic) - . CocosNode: implementation file reorganized - . CocosNode: added stopAction method (to remove just 1 one action) - . CocosNode: sanity check when removing actions - . Demo: ClickAndMove demo working again (issue 12) - . Demo: SpritesDemo using back, restart & forward arrows - . Demo: TransitionsDemo using back, restart & forward arrows - . Demo: ParticleDemo using back, restart & forward arrows - . Director: added eventsEnabled. You can enable/disabled touch events globally (eg: Transitions want this feature) - . Director: implementation file reorganized - . Director: drawScene renamed to mainLoop - . Director: FPS are shown in the very bottom-left corner - . Transitions: Added new ZoomFlipXTransition transition. - . Transitions: Added new ZoomFlipYTransition transition. - . Transitions: Added new ZoomFlipAngularTransition transition. - -version 0.4.0 - 30-Ago-2008 - . CocosNode: private methods are private - . CocosNode: stop renamed to stopAllActions - . CocosNode: children does not use a auxiliar array (by Codemattic) - . Director: private methods are private - . Menu: removed setOffsetY - . Menu: can be positioned like any other CocosNode using the position property - . MenuItem: renamed to MenuItemFont - . MenuItem: added MenuItemImage - . MenuItem: uses target/selector, not receiver/selector - . MenuItem: MenuItemFont restore scale to 1.0 after being invoked (by Codemattic) - . MenuItem: can be positioned on runtime. - . TextureNode: renamed setR:g:b: to setRGB::: - -version 0.3.3 - 23-Ago-2008 - . Action: Added CallFuncND. Like CallFuncN but accepts data - . CocosNode: actions can schedule actions [FIXED CRASH] - . CocosNode: added default capacity to actions, children, & schedulers - . CocosNode: relativeTrasnformAnchor is property - . CocosNode: childrenAnchor removed (It wasn't working and it wasn't very useful) - . CocosNode: negative z-order working - . Demos: removed playgroud - . Demos: added AnchorDemo - . Demos: removed unused code from MenuTest - . Demos: removed TcpAccelClient (deprecated) - . Demos: AccelViewPort using VirtualAccelerometer - . Director: fixed memory leak. First scene wasn't released - . Director: fixed issue #6. Delta Time is never negative, and if a "Significant Time Change" is present, then DeltaTime will be 0. - -version 0.3.2 - 14-Ago-2008 - . Action: Animate was using the wrong index. Possible crash fixed - . ColorLayer: added support to change width & height at runtime - . Demos: IntervalDemo using relative path for plist.info file - . Demos: added filter to TcpAccelClient & Chipmunk_Accel demos (by Brian Hammond) - . Director: propagates TouchEvents to all registered layers - . Misc: Removed sound support. Not part of cocos2d - . Misc: Moved OpenGLSupport inside the cocos2d directory. cocos2d.h includes OpenGLSupport headers - . Misc: added getCocos2dVersion() function - . Particles: It was (mistakenly) using Z coordinate - . Sprite: added setDisplayFrame selector - - -version 0.3.1 - 30-Jul-2008 - . All: methods that receives target/selector, are named:Target selector (unified API) - . All: added "cocos2d.h". applications should only import this file. - . Demos: added resume/pause to application - . Demos: chipmunk_accel is frame independent - . Demos: added IntervalDemo demo. Shows how to uses interval timers, and how pause/resume works - . Demos: removed JumpingSisters demo - . Demos: new Default.png - . Director: when paused don't consume CPU. Only renders the screen at 4 FPS. - . Particles: don't uses draw to update, uses scheduled step. (pause/resume works) - . Scheduler: added interval timers - . Transitions: they don't flickr (bug introduced in v0.3.0) - . Types: created ccTime type (float or double) used to calculate delta time - . Types: older types have the prefix "cc" (cocos) - - -version 0.3.0 - 27-Jul-2008 - . Actions: they are not cloned. If you want to reuse them, clone them manually using the method 'copy' - . Actions: CallFunc, CallFuncN using performSelector instead of NSInvocator - . Actions: added CallFuncN action. First argument is the target node - . Core: Using own scheduler to schedule timers/etc. - . Demos: Added OrbitCamera demo in SpritesDemo project - . Director: can initialize the view with pixel format RGBA8 or RGB565 (default) - . Director: if in landscape mode, tells the application to be in landscape mode too - . Director: landscape mode is LEFT again, since "Touch fighter" (apple game) uses left landscape - . Director: setFPS, FPS renamed to setDisplayFPS, displayFPS - . Director: added pause/resume support - . Label: supports changing it's string - . Menu: added support for y-offset - . MenuItem: font size and font name are customizables - . MenuItems: doesn't have "artifacts" - . Texture Node: Added FadeIn/FadeOut support - . Texture Node: Added transform anchor support - . Texture Node: Added color suppport - . Texture Node: Added new cocos2d node. Base class of Sprite and Label - - -version 0.2.1 - 21-Jul-2008 - . Director: landscape can be RIGHT or LEFT (at compile time) - . Director: proxies touchesCancelled - . Particle System: added smoke particle. - . Particle System: fire example improved. - . Particle System: supports for additive and blend colors - . Particle System: splited in 2 files: particle.[hm] and ParticleSystems.[hm] - . Particle System: doesn't iterate over dead particles - . Particle System: fire.png uses white color, so "blend" mode works ok. fire.png is smaller (less resources) - - -version 0.2 - 5-Jul-2008 - . Replaced CGPoint with chipmunk's vector (cpVect) in CocosNode - . Added particle system. - . uses VBO + POINT_SPRITES - . Built-in systems: Fire, Fireworks, Sun, Galaxy, Flower, Meteor, Spiral, Explosion - . supports: system duration, paticle duration, gravity, radial, tangential, color, size, texture, direction, spread (all of them with its variation) - . added support to display FPS - - -version 0.1 - 25-jun-2008: - -25-jun-2008: - . renamed MoveBy:actionWithDuration:delta to MoveBy:actionWithDuration:position - . added Animation, Animate classes to animates sprites - . removed box2d and related stuff to box2d - . added and ported Chipmunk Demo - . added primitives like drawCircle(), drawPoly(), drawLine(), drawPoint() - -24-jun-2008: - . moved all main.c and other tests files to tests/ - . moved plists, sounds and images to Resources/ - . removed unused images - . Using only one plist file in Resources - . cocos2d-port renamed to trunk - . Imported code from Assembla diff --git a/DONORS b/DONORS index bd704966329..c3c7d92fc92 100644 --- a/DONORS +++ b/DONORS @@ -165,6 +165,4 @@ Zemlyanov, Anton Thank you! - -Do you want to donate ? Click here: -https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=3316057 +Do you want to donate ? Contact us! diff --git a/File Changes.txt b/File Changes.txt deleted file mode 100644 index 9d8e938304a..00000000000 --- a/File Changes.txt +++ /dev/null @@ -1,23 +0,0 @@ -Doxygen -http://ftp.stack.nl/pub/users/dimitri/Doxygen-1.8.10.dmg - - - -Files added or removed ----------------------- - -Objective-C/CCNode_objc - - - - - - - - - -Changes to the API ------------------- -Help comments will be moved to CCClass_doc.h -Base classes will be matched with -x functionality. Remaining functionality will be moved to CCClass_objc - diff --git a/README.md b/README.md index 6c4b68e5476..f06c5978631 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,5 @@ Cocos2D-ObjC ============ -Cocos2D is currently trying to raise funds for a Swift version. -If you think this would be interesting, please consider supporting it. -[KickStarter Cocos2D-PureSwift][6] - **PLEASE READ BEFORE POSTING AN ISSUE!** If in doubt, please post questions and comments in the forum @@ -18,70 +14,77 @@ Please note, that the official site has moved. Please update your bookmarks [The Official Forum][3] [Cocos2D-ObjC][1] is a framework for building 2D games, demos, and other -graphical/interactive applications for iOS, Mac and Android. +graphical/interactive applications for iOS, Mac and tvOS. It is based on the [Cocos2D][2] design, but instead of using Python it uses Swift and / or Objective-C. Cocos2D-ObjC is: * Fast * Free + * Lightweight + * Modular * Easy to use * Community Supported Creating New Projects --------------------- -We are in the process of adding a stand alone installer to Cocos2D-Objc. A temporary template can be found [here][5] - -An alternative approach, is to use SpriteBuilder: - -New Cocos2D projects can be created with SpriteBuilder. SpriteBuilder is, just like Cocos2D, free and open source. You can get SpriteBuilder from [spritebuilder.com](http://spritebuilder.com) or from the Mac App Store. Projects created using SpriteBuilder contains the complete Cocos2D source code, and after the project has been created using SpriteBuilder is optional. - -SpriteBuilder also allows you to update the Cocos2D version in your project, to newest version, making it trivial to always keep you project updated to latest Cocos2D version. +For creating new projects you should use an official [Cocos2D Installer][5]. +Documentation +--------------------- You can find the full Cocos2D documentation and user guide at our [documentation page](http://cocos2d-objc.org/docs/). +Important: +--------------------- +Version 3.5 is introduced. +[See release notes](https://github.com/cocos2d/cocos2d-objc/wiki/Cocos2D-3.5-Release-notes) + Features ------------- * Scene management (workflow) * Transitions between scenes * Sprites and Sprite Sheets - * Effects: Lens, Ripple, Waves, Liquid, etc. + * Effects: Lens, Ripple, Waves, Liquid, etc. *(Served as extension)* * Actions (behaviours): * Trasformation Actions: Move, Rotate, Scale, Fade, Tint, etc. * Composable actions: Sequence, Spawn, Repeat, Reverse * Ease Actions: Exp, Sin, Cubic, Elastic, etc. * Misc actions: CallFunc, OrbitCamera, Follow, Tween * Basic menus and buttons - * Integrated with [Chipmunk][4] physics engine - * Particle system + * Integrated with [Chipmunk][4] physics engine *(Served as extension)* + * Particle system *(Served as extension)* * Fonts: * Fast font rendering using Fixed and Variable width fonts * Support for .ttf fonts - * Tile Map support: Orthogonal, Isometric and Hexagonal - * Parallax scrolling - * Motion Streak - * Render To Texture + * Tile Map support: Orthogonal, Isometric and Hexagonal *(Served as extension)* + * Parallax scrolling *(Served as extension)* + * Motion Streak *(Served as extension)* + * Render To Texture *(Served as extension)* * Touch/Accelerometer on iOS * Touch/Mouse/Keyboard on Mac - * Sound Engine support (CocosDenshion library) based on OpenAL + * Sound Engine support based on OpenAL *(Served as extension)* * Integrated Slow motion/Fast forward * Fast textures: PVR compressed and uncompressed textures * Point based: RetinaDisplay mode compatible - * Language: Objective-C + * Language: Objective-C / Swift * Open Source Commercial Friendly: Compatible with open and closed source projects - * OpenGL ES 2.0 (iOS) / OpenGL 2.1 (Mac) based + * Image assets support + * TVOS support + * App thinning support + * 3D touch support + * OpenGL ES 2.0 or Metal (iOS) / OpenGL 2.1 (Mac) based Build Requirements ------------------ -Mac OS X 10.6 (or newer), Xcode 4.2 (or newer) +Mac OS X 10.9 (or newer), Xcode 7.0 (or newer) Runtime Requirements -------------------- - * iOS 6.0 or newer for iOS games + * iOS 6.0 (7.0 for Swift) or newer for iOS games * Snow Leopard (v10.6) or newer for Mac games @@ -108,5 +111,4 @@ Download from Github [2]: http://www.cocos2d.org "cocos2d" [3]: http://forum.cocos2d-objc.org "Cocos2D-ObjC Official Forum" [4]: http://www.chipmunk-physics.net -[5]: https://github.com/slembcke/UnofficialCocos2DTemplate -[6]: https://www.kickstarter.com/projects/1455832115/cocos2d-pureswift +[5]: https://github.com/s1ddok/CCProjectGenerator diff --git a/RELEASE TODO.txt b/RELEASE TODO.txt deleted file mode 100644 index 639dc9e902e..00000000000 --- a/RELEASE TODO.txt +++ /dev/null @@ -1,31 +0,0 @@ -To release a new version, please check the following steps. - -1) -Update the file VERSION with latest version number. -Add no CR/LF or any other formatting to the file. - -2) -Update install.sh -Edit the line -COCOS2D_VER="Cocos2D-v3.x.x” -with the correct version number - -3) -Update cocos2d.m, with the correct version number - -4) -Add any new authors to the AUTHORS file - -5) -Add major changes and additions to the file RELEASE_NOTES - -6) -Tag the release, with the according version number - -7) -Currently two set of files are made available to the users, upon release -a) A DMG, automating the install process -b) a ZIP, allowing for manual install - -Note: -The file change log should be updated when git is merged. \ No newline at end of file diff --git a/RELEASE_NOTES b/RELEASE_NOTES deleted file mode 100644 index 337c6ea95d6..00000000000 --- a/RELEASE_NOTES +++ /dev/null @@ -1,15 +0,0 @@ -===== cocos2d for iPhone 3.0.0 Release Notes ===== - -FIX Invalid time intervals for scheduled timers -FIX Updated installer -NEW Full support for 64 bit -FIX Retina control -FIX Adjustments to layouts -FIX Changes to Z behaviour -FIX Font sizing fixes -NEW Sine actions -FIX Portraid / landscape fixes -NEW Improved scroll view -NEW Betetr versioning -NEW Better and more in depth tests -NEW A lot of preparations for 3.1 \ No newline at end of file diff --git a/Resources-iPad/Images/background1-ipad.jpg b/Resources-iPad/Images/background1-ipad.jpg deleted file mode 100644 index 1396f22d525..00000000000 Binary files a/Resources-iPad/Images/background1-ipad.jpg and /dev/null differ diff --git a/Resources-iPad/Images/background2-ipad.jpg b/Resources-iPad/Images/background2-ipad.jpg deleted file mode 100644 index 5d1e8b94462..00000000000 Binary files a/Resources-iPad/Images/background2-ipad.jpg and /dev/null differ diff --git a/Resources-iPad/Images/background3-ipad.png b/Resources-iPad/Images/background3-ipad.png deleted file mode 100644 index 2907362387c..00000000000 Binary files a/Resources-iPad/Images/background3-ipad.png and /dev/null differ diff --git a/UnitTests/CCMemoryTests.m b/UnitTests/CCMemoryTests.m index 5d5d9d91f0a..e7924bd41d3 100644 --- a/UnitTests/CCMemoryTests.m +++ b/UnitTests/CCMemoryTests.m @@ -8,7 +8,6 @@ #import #import "cocos2d.h" -#import "CCNode_private.h" @interface CCMemoryNode : CCNode diff --git a/UnitTests/CCNodeTests.m b/UnitTests/CCNodeTests.m index 464c28ba9d1..ca3c7698d3d 100644 --- a/UnitTests/CCNodeTests.m +++ b/UnitTests/CCNodeTests.m @@ -7,8 +7,6 @@ #import #import "cocos2d.h" -#import "CCDirector_Private.h" -#import "CCNode_Private.h" @interface CCNodeTests : XCTestCase diff --git a/UnitTests/CCPhysicsTests.m b/UnitTests/CCPhysicsTests.m index 800f1d908f4..a38005c10b8 100644 --- a/UnitTests/CCPhysicsTests.m +++ b/UnitTests/CCPhysicsTests.m @@ -10,7 +10,6 @@ #import "cocos2d.h" #import "CCPhysics+ObjectiveChipmunk.h" -#import "CCDirector_Private.h" #import "AppDelegate.h" @interface CCScheduler(Test) diff --git a/VERSION b/VERSION deleted file mode 100644 index e0940d40cc3..00000000000 --- a/VERSION +++ /dev/null @@ -1 +0,0 @@ -3.4.9 \ No newline at end of file diff --git a/cocos2d-demo/Info.plist b/cocos2d-demo/Info.plist deleted file mode 100755 index cdb6f534a62..00000000000 --- a/cocos2d-demo/Info.plist +++ /dev/null @@ -1,53 +0,0 @@ - - - - - CFBundleDevelopmentRegion - English - CFBundleDisplayName - ${PRODUCT_NAME} - CFBundleExecutable - ${EXECUTABLE_NAME} - CFBundleIcons - - CFBundleIcons~ipad - - CFBundleIdentifier - Cocos2d-Objc.${PRODUCT_NAME:rfc1034identifier} - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - ${PRODUCT_NAME} - CFBundlePackageType - APPL - CFBundleSignature - ???? - CFBundleVersion - 1.0 - LSRequiresIPhoneOS - - UIPrerenderedIcon - - UIRequiredDeviceCapabilities - - accelerometer - - opengles-2 - - - UIStatusBarHidden - - UISupportedInterfaceOrientations - - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - UISupportedInterfaceOrientations~ipad - - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - UIViewControllerBasedStatusBarAppearance - - - diff --git a/cocos2d-demo/Prefix.pch b/cocos2d-demo/Prefix.pch deleted file mode 100755 index f2861ffe94d..00000000000 --- a/cocos2d-demo/Prefix.pch +++ /dev/null @@ -1,14 +0,0 @@ -// -// Prefix header for all source files of the 'Test' target in the 'Test' project -// - -#import - -#ifndef __IPHONE_3_0 -#warning "This project uses features only available in iPhone SDK 3.0 and later." -#endif - -#ifdef __OBJC__ -#import -#import -#endif diff --git a/cocos2d-demo/main.m b/cocos2d-demo/main.m deleted file mode 100755 index 2e2b812f4d6..00000000000 --- a/cocos2d-demo/main.m +++ /dev/null @@ -1,17 +0,0 @@ -// -// main.m -// cocos2d-demo -// -// Created by Lars Birkemose on 20/07/15. -// Copyright Cocos2D 2015. All rights reserved. -// - -#import - -int main(int argc, char *argv[]) { - - @autoreleasepool { - int retVal = UIApplicationMain(argc, argv, nil, @"AppDelegate"); - return retVal; - } -} diff --git a/cocos2d-ui/CCBReader/CCAnimationManager+FrameAnimation.h b/cocos2d-ext/CCBReader/CCAnimationManager+FrameAnimation.h similarity index 100% rename from cocos2d-ui/CCBReader/CCAnimationManager+FrameAnimation.h rename to cocos2d-ext/CCBReader/CCAnimationManager+FrameAnimation.h diff --git a/cocos2d-ui/CCBReader/CCAnimationManager+FrameAnimation.m b/cocos2d-ext/CCBReader/CCAnimationManager+FrameAnimation.m similarity index 99% rename from cocos2d-ui/CCBReader/CCAnimationManager+FrameAnimation.m rename to cocos2d-ext/CCBReader/CCAnimationManager+FrameAnimation.m index 713e93871bb..b6db629a7df 100644 --- a/cocos2d-ui/CCBReader/CCAnimationManager+FrameAnimation.m +++ b/cocos2d-ext/CCBReader/CCAnimationManager+FrameAnimation.m @@ -7,7 +7,7 @@ // #import "CCAnimationManager+FrameAnimation.h" -#import "CCAnimationManager_Private.h" +#import "CCAnimationManager.h" @implementation CCAnimationManager (FrameAnimation) diff --git a/cocos2d-ui/CCBReader/CCAnimationManager.h b/cocos2d-ext/CCBReader/CCAnimationManager.h similarity index 80% rename from cocos2d-ui/CCBReader/CCAnimationManager.h rename to cocos2d-ext/CCBReader/CCAnimationManager.h index 83eacfae7f2..68edc1dc1b3 100644 --- a/cocos2d-ui/CCBReader/CCAnimationManager.h +++ b/cocos2d-ext/CCBReader/CCAnimationManager.h @@ -23,7 +23,6 @@ */ #import -#import "cocos2d.h" #import "CCBSequenceProperty.h" @class CCBSequence; @@ -47,7 +46,7 @@ #pragma mark Animation Manager /** - The animation manager plays back animations, usually created by a tool such as SpriteBuilder. + The animation manager plays back animations, usually created by a tool such as CocosBuilder. Any animation can have an arbitrary number of sequences (timelines) which each have keyframes for different properties. @note Animation names are case sensitive. @@ -130,4 +129,35 @@ /// @see CCBAnimationManagerDelegate @property (nonatomic,weak) NSObject* delegate; +// Sequence Array +@property (nonatomic,readonly) NSMutableArray* sequences; + + +// Auto play sequence id. +@property (nonatomic,assign) int autoPlaySequenceId; + +// Base node. +@property (nonatomic,unsafe_unretained) CCNode* rootNode; + +// (CCB) Optional owner +@property (nonatomic,unsafe_unretained) id owner; + +// (CCB) Resolution and default container size. +@property (nonatomic,assign) CGSize rootContainerSize; + +// (CCB) Node Management +- (CGSize) containerSize:(CCNode*)node; +- (void) addNode:(CCNode*)node andSequences:(NSDictionary*)seq; +- (void) moveAnimationsFromNode:(CCNode*)fromNode toNode:(CCNode*)toNode; + +// Reset node state. +- (void) setBaseValue:(id)value forNode:(CCNode*)node propertyName:(NSString*)propName; + +- (void) runAnimationsForSequenceId:(int)seqId tweenDuration:(float) tweenDuration; + +- (void)timeSeekForSequenceId:(int)seqId time:(float)time; + +#pragma mark Simple Sequence Builder +- (void)addKeyFramesForSequenceNamed:(NSString*)name propertyType:(CCBSequencePropertyType)propertyType frameArray:(NSArray*)frameArray node:(CCNode *)node loop:(BOOL)loop; + @end diff --git a/cocos2d-ui/CCBReader/CCAnimationManager.m b/cocos2d-ext/CCBReader/CCAnimationManager.m similarity index 99% rename from cocos2d-ui/CCBReader/CCAnimationManager.m rename to cocos2d-ext/CCBReader/CCAnimationManager.m index 3bd5b038ead..c0c5983d5d1 100644 --- a/cocos2d-ui/CCBReader/CCAnimationManager.m +++ b/cocos2d-ext/CCBReader/CCAnimationManager.m @@ -23,19 +23,25 @@ */ #import "CCAnimationManager.h" -#import "CCAnimationManager_Private.h" #import "CCBKeyframe.h" #import "CCBSequence.h" #import "CCBSequenceProperty.h" #import "CCBReader.h" #import "CCBKeyframe.h" -#import "OALSimpleAudio.h" #import -#import "CCDirector_Private.h" -#import "CCBReader_Private.h" +#import "CCDirector.h" +#import "CCBReader.h" #import "CCActionManager.h" +#if CC_LIGHTING +#import "CCLightNode.h" +#endif + +#if CC_OBJECT_AL +#import "CCActionAudio.h" +#endif + // Unique Manager ID static NSInteger ccbAnimationManagerID = 0; @@ -231,7 +237,9 @@ - (CCActionInterval*)actionFromKeyframe0:(CCBKeyframe*)kf0 andKeyframe1:(CCBKeyf // TODO is this a mild bug? // What happens if an easing curve is applied to this? return (CCActionInterval *)[CCActionSpriteFrame actionWithSpriteFrame:kf1.value]; - } else if ([node isKindOfClass:[CCLightNode class]]) { + } +#if CC_LIGHTING + else if ([node isKindOfClass:[CCLightNode class]]) { if ([name isEqualToString:@"intensity"] || [name isEqualToString:@"specularIntensity"] || [name isEqualToString:@"ambientIntensity"] || @@ -245,7 +253,9 @@ - (CCActionInterval*)actionFromKeyframe0:(CCBKeyframe*)kf0 andKeyframe1:(CCBKeyf { return [CCBActionTweenColor actionWithDuration:duration key:name from:kf0.value to:kf1.value]; } - } else { + } +#endif + else { CCLOG(@"CCBReader: Failed to create animation for property: %@", name); } @@ -463,6 +473,7 @@ - (id)actionForCallbackChannel:(CCBSequenceProperty*) channel { return [CCActionSequence actionWithArray:actions]; } +#if CC_OBJECT_AL - (id)actionForSoundChannel:(CCBSequenceProperty*) channel { float lastKeyframeTime = 0; @@ -489,6 +500,7 @@ - (id)actionForSoundChannel:(CCBSequenceProperty*) channel { return [CCActionSequence actionWithArray:actions]; } +#endif - (void)runAnimationsForSequenceId:(int)seqId tweenDuration:(float) tweenDuration { @@ -578,6 +590,7 @@ - (void)addSequenceCallBacks:(int)seqId tweenDuration:(float)tweenDuration start } if (seq.soundChannel) { +#if CC_OBJECT_AL // Build sound actions for channel CCAction* action = [self actionForSoundChannel:seq.soundChannel]; if (action) { @@ -585,6 +598,7 @@ - (void)addSequenceCallBacks:(int)seqId tweenDuration:(float)tweenDuration start [action startWithTarget:self.rootNode]; [_currentActions addObject:action]; } +#endif } } diff --git a/cocos2d-ui/CCBReader/CCBAnimationManager.h b/cocos2d-ext/CCBReader/CCBAnimationManager.h similarity index 96% rename from cocos2d-ui/CCBReader/CCBAnimationManager.h rename to cocos2d-ext/CCBReader/CCBAnimationManager.h index ad1480a01d6..085552acc68 100644 --- a/cocos2d-ui/CCBReader/CCBAnimationManager.h +++ b/cocos2d-ext/CCBReader/CCBAnimationManager.h @@ -1,5 +1,4 @@ /* - * SpriteBuilder: http://www.spritebuilder.org * * Copyright (c) 2012 Zynga Inc. * Copyright (c) 2013 Apportable Inc. diff --git a/cocos2d-ui/CCBReader/CCBAnimationManager.m b/cocos2d-ext/CCBReader/CCBAnimationManager.m similarity index 96% rename from cocos2d-ui/CCBReader/CCBAnimationManager.m rename to cocos2d-ext/CCBReader/CCBAnimationManager.m index 96b16b62a79..d165d9bc821 100644 --- a/cocos2d-ui/CCBReader/CCBAnimationManager.m +++ b/cocos2d-ext/CCBReader/CCBAnimationManager.m @@ -1,5 +1,4 @@ /* - * SpriteBuilder: http://www.spritebuilder.org * * Copyright (c) 2012 Zynga Inc. * Copyright (c) 2013 Apportable Inc. diff --git a/cocos2d-ui/CCBReader/CCBKeyframe.h b/cocos2d-ext/CCBReader/CCBKeyframe.h similarity index 96% rename from cocos2d-ui/CCBReader/CCBKeyframe.h rename to cocos2d-ext/CCBReader/CCBKeyframe.h index b4f38fe913b..c267ef1453f 100644 --- a/cocos2d-ui/CCBReader/CCBKeyframe.h +++ b/cocos2d-ext/CCBReader/CCBKeyframe.h @@ -1,5 +1,4 @@ /* - * SpriteBuilder: http://www.spritebuilder.org * * Copyright (c) 2012 Zynga Inc. * Copyright (c) 2013 Apportable Inc. diff --git a/cocos2d-ui/CCBReader/CCBKeyframe.m b/cocos2d-ext/CCBReader/CCBKeyframe.m similarity index 97% rename from cocos2d-ui/CCBReader/CCBKeyframe.m rename to cocos2d-ext/CCBReader/CCBKeyframe.m index 522ea290628..8206c69991e 100644 --- a/cocos2d-ui/CCBReader/CCBKeyframe.m +++ b/cocos2d-ext/CCBReader/CCBKeyframe.m @@ -1,5 +1,4 @@ /* - * SpriteBuilder: http://www.spritebuilder.org * * Copyright (c) 2012 Zynga Inc. * Copyright (c) 2013 Apportable Inc. diff --git a/cocos2d-ui/CCBReader/CCBLocalizationManager.h b/cocos2d-ext/CCBReader/CCBLocalizationManager.h similarity index 96% rename from cocos2d-ui/CCBReader/CCBLocalizationManager.h rename to cocos2d-ext/CCBReader/CCBLocalizationManager.h index 1ac8feae586..1f81467e1e0 100644 --- a/cocos2d-ui/CCBReader/CCBLocalizationManager.h +++ b/cocos2d-ext/CCBReader/CCBLocalizationManager.h @@ -1,5 +1,4 @@ /* - * SpriteBuilder: http://www.spritebuilder.org * * Copyright (c) 2013 Apportable Inc. * diff --git a/cocos2d-ui/CCBReader/CCBLocalizationManager.m b/cocos2d-ext/CCBReader/CCBLocalizationManager.m similarity index 92% rename from cocos2d-ui/CCBReader/CCBLocalizationManager.m rename to cocos2d-ext/CCBReader/CCBLocalizationManager.m index 8ece3ed672a..66a52da8b4f 100644 --- a/cocos2d-ui/CCBReader/CCBLocalizationManager.m +++ b/cocos2d-ext/CCBReader/CCBLocalizationManager.m @@ -1,5 +1,4 @@ /* - * SpriteBuilder: http://www.spritebuilder.org * * Copyright (c) 2013 Apportable Inc. * @@ -44,7 +43,7 @@ - (id) init self = [super init]; if (!self) return NULL; - [self loadStringsFile:@"Strings.ccbLang"]; + [self loadStringsFile:@"Strings.ccblang"]; return self; } @@ -58,7 +57,7 @@ - (void) loadStringsFile:(NSString*) file NSDictionary* ser = [NSDictionary dictionaryWithContentsOfFile:path]; // Check that format of file is correct - NSAssert([[ser objectForKey:@"fileType"] isEqualToString:@"SpriteBuilderTranslations"], @"Invalid file format for SpriteBuilder localizations"); + NSAssert([[ser objectForKey:@"fileType"] isEqualToString:@"CocosBuilderTranslations"], @"Invalid file format for CocosBuilder localizations"); // Check that file version is correct NSAssert([[ser objectForKey:@"fileVersion"] intValue] == 1, @"Translation file version is incompatible with this reader"); @@ -72,7 +71,7 @@ - (void) loadStringsFile:(NSString*) file NSArray* preferredLangs = [NSLocale preferredLanguages]; for (NSString* preferredLang in preferredLangs) { - // now loop thru languages from our spritebuilder + // now loop thru languages from our cocosbuilder for (NSString *localizedLanguage in languages) { // doing range of string as we might have en-GB set in our phone and that will match our en from the activeLanguages diff --git a/cocos2d-ui/CCBReader/CCBReader.h b/cocos2d-ext/CCBReader/CCBReader.h similarity index 70% rename from cocos2d-ui/CCBReader/CCBReader.h rename to cocos2d-ext/CCBReader/CCBReader.h index 04bb4a5e44a..85eb0593a46 100644 --- a/cocos2d-ui/CCBReader/CCBReader.h +++ b/cocos2d-ext/CCBReader/CCBReader.h @@ -1,5 +1,4 @@ /* - * SpriteBuilder: http://www.spritebuilder.org * * Copyright (c) 2012 Zynga Inc. * Copyright (c) 2013 Apportable Inc. @@ -28,7 +27,7 @@ #import "cocos2d.h" /** - The CCBReader loads SpriteBuilder (CCB) documents. + The CCBReader loads CocosBuilder (CCB) documents. For the most part you'll just use one of these two methods: @@ -41,10 +40,10 @@ // load a CCB document wrapped in a CCScene instance CCScene* scene = [CCBReader loadAsScene:@"MyNode"]; - You can optionally pass an owner object to the CCBReader load methods. This owner object then gets assigned all of the SpriteBuilder document's member variables that are marked to be set to the "Owner". + You can optionally pass an owner object to the CCBReader load methods. This owner object then gets assigned all of the CocosBuilder document's member variables that are marked to be set to the "Owner". In all other cases owner is nil and assigning variables to Owner discards their assignment. - When a SpriteBuilder document was loaded, all nodes created from the document will receive the didLoadFromCCB message, if implemented as follows: + When a CocosBuilder document was loaded, all nodes created from the document will receive the didLoadFromCCB message, if implemented as follows: **Objective-C:** @@ -58,8 +57,91 @@ NSLog("%@ did load", self) } - Nodes created from a SpriteBuilder document will also have a valid CCAnimationManager instance assigned to their [CCNode animationManager] property. + Nodes created from a CocosBuilder document will also have a valid CCAnimationManager instance assigned to their [CCNode animationManager] property. */ + +#define kCCBVersion 10 + +enum { + kCCBPropTypePosition = 0, + kCCBPropTypeSize, + kCCBPropTypePoint, + kCCBPropTypePointLock, + kCCBPropTypeScaleLock, + kCCBPropTypeDegrees, + kCCBPropTypeInteger, + kCCBPropTypeFloat, + kCCBPropTypeFloatVar, + kCCBPropTypeCheck, + kCCBPropTypeSpriteFrame, + kCCBPropTypeTexture, + kCCBPropTypeByte, + kCCBPropTypeColor3, + kCCBPropTypeColor4FVar, + kCCBPropTypeFlip, + kCCBPropTypeBlendmode, + kCCBPropTypeFntFile, + kCCBPropTypeText, + kCCBPropTypeFontTTF, + kCCBPropTypeIntegerLabeled, + kCCBPropTypeBlock, + kCCBPropTypeAnimation, + kCCBPropTypeCCBFile, + kCCBPropTypeString, + kCCBPropTypeBlockCCControl, + kCCBPropTypeFloatScale, + kCCBPropTypeFloatXY, + kCCBPropTypeColor4, + kCCBPropTypeNodeReference, + kCCBPropTypeFloatCheck, + kCCBPropTypeEffects, + kCCBPropTypeTokenArray +}; + +enum { + kCCBFloat0 = 0, + kCCBFloat1, + kCCBFloatMinus1, + kCCBFloat05, + kCCBFloatInteger, + kCCBFloatFull +}; + +enum { + kCCBPlatformAll = 0, + kCCBPlatformIOS, + kCCBPlatformMac +}; + +enum { + kCCBTargetTypeNone = 0, + kCCBTargetTypeDocumentRoot = 1, + kCCBTargetTypeOwner = 2, +}; + +enum +{ + kCCBKeyframeEasingInstant, + + kCCBKeyframeEasingLinear, + + kCCBKeyframeEasingCubicIn, + kCCBKeyframeEasingCubicOut, + kCCBKeyframeEasingCubicInOut, + + kCCBKeyframeEasingElasticIn, + kCCBKeyframeEasingElasticOut, + kCCBKeyframeEasingElasticInOut, + + kCCBKeyframeEasingBounceIn, + kCCBKeyframeEasingBounceOut, + kCCBKeyframeEasingBounceInOut, + + kCCBKeyframeEasingBackIn, + kCCBKeyframeEasingBackOut, + kCCBKeyframeEasingBackInOut, +}; + @interface CCBReader : NSObject { NSData* data; @@ -84,7 +166,7 @@ /// ----------------------------------------------------------------------- /** - * Call this method to configure the CCFileUtils to work correctly with SpriteBuilder. It will setup search paths for the resources to use with the current device and resolution. It assumes that the SpriteBuilder resources has been published to a directory named Published-iOS that has been added as a blue folder in Xcode. + * Call this method to configure the CCFileUtils to work correctly with CocosBuilder. It will setup search paths for the resources to use with the current device and resolution. It assumes that the CocosBuilder resources has been published to a directory named Published-iOS that has been added as a blue folder in Xcode. */ + (void) configureCCFileUtils; @@ -100,7 +182,7 @@ + (CCBReader*) reader; /// ----------------------------------------------------------------------- -/// @name Loading SpriteBuilder documents +/// @name Loading CocosBuilder documents /// ----------------------------------------------------------------------- /** @@ -131,7 +213,7 @@ + (CCScene*) loadAsScene:(NSString*) file; /// ----------------------------------------------------------------------- -/// @name Loading SpriteBuilder documents with custom owner +/// @name Loading CocosBuilder documents with custom owner /// ----------------------------------------------------------------------- /** diff --git a/cocos2d-ui/CCBReader/CCBReader.m b/cocos2d-ext/CCBReader/CCBReader.m similarity index 98% rename from cocos2d-ui/CCBReader/CCBReader.m rename to cocos2d-ext/CCBReader/CCBReader.m index 19a1a226e26..caac6e61f5b 100644 --- a/cocos2d-ui/CCBReader/CCBReader.m +++ b/cocos2d-ext/CCBReader/CCBReader.m @@ -1,5 +1,4 @@ /* - * SpriteBuilder: http://www.spritebuilder.org * * Copyright (c) 2012 Zynga Inc. * Copyright (c) 2013 Apportable Inc. @@ -32,13 +31,15 @@ #import "CCBSequenceProperty.h" #import "CCBKeyframe.h" #import "CCBLocalizationManager.h" -#import "CCBReader_Private.h" -#import "CCNode_Private.h" -#import "CCDirector_Private.h" +#import "CCBReader.h" +#import "CCNode.h" +#import "CCDirector.h" +#if CC_PHYSICS #import "CCPhysics+ObjectiveChipmunk.h" -#import "CCAnimationManager_Private.h" +#endif +#if CC_EFFECTS #import "CCEffectStack.h" - +#endif #ifdef CCB_ENABLE_UNZIP #import "SSZipArchive.h" #endif @@ -77,7 +78,7 @@ + (void) configureCCFileUtils { CCFileUtils *sharedFileUtils = [CCFileUtils sharedFileUtils]; - // Setup file utils for use with SpriteBuilder + // Setup file utils for use with CocosBuilder [sharedFileUtils setEnableiPhoneResourcesOniPad:NO]; sharedFileUtils.directoriesDict = @@ -92,20 +93,12 @@ + (void) configureCCFileUtils @"resources-phonehd", CCFileUtilsSuffixMacHD, @"", CCFileUtilsSuffixDefault, nil]; - -#if __CC_PLATFORM_ANDROID - sharedFileUtils.searchPath = - [NSArray arrayWithObjects: - [[[NSBundle mainBundle] resourcePath] stringByAppendingPathComponent:@"Published-Android"], - [[NSBundle mainBundle] resourcePath], - nil]; -#else + sharedFileUtils.searchPath = [NSArray arrayWithObjects: [[[NSBundle mainBundle] resourcePath] stringByAppendingPathComponent:@"Published-iOS"], [[NSBundle mainBundle] resourcePath], nil]; -#endif sharedFileUtils.enableiPhoneResourcesOniPad = YES; sharedFileUtils.searchMode = CCFileUtilsSearchModeDirectory; @@ -417,7 +410,7 @@ - (void) readPropertyForNode:(CCNode*) node parent:(CCNode*)parent isExtraProp:( if (setProp) { -#if __CC_PLATFORM_IOS || __CC_PLATFORM_ANDROID +#if __CC_PLATFORM_IOS [node setValue:[NSValue valueWithCGPoint:ccp(x,y)] forKey:name]; #elif __CC_PLATFORM_MAC [node setValue:[NSValue valueWithPoint:ccp(x,y)] forKey:name]; @@ -452,7 +445,7 @@ - (void) readPropertyForNode:(CCNode*) node parent:(CCNode*)parent isExtraProp:( if (setProp) { CGPoint pt = ccp(x,y); -#if __CC_PLATFORM_IOS || __CC_PLATFORM_ANDROID +#if __CC_PLATFORM_IOS [node setValue:[NSValue valueWithCGPoint:pt] forKey:name]; #else [node setValue:[NSValue valueWithPoint:NSPointFromCGPoint(pt)] forKey:name]; @@ -473,7 +466,7 @@ - (void) readPropertyForNode:(CCNode*) node parent:(CCNode*)parent isExtraProp:( if (setProp) { CGSize size = CGSizeMake(w, h); -#if __CC_PLATFORM_IOS || __CC_PLATFORM_ANDROID +#if __CC_PLATFORM_IOS [node setValue:[NSValue valueWithCGSize:size] forKey:name]; #elif __CC_PLATFORM_MAC [node setValue:[NSValue valueWithSize:size] forKey:name]; @@ -931,8 +924,10 @@ - (void) readPropertyForNode:(CCNode*) node parent:(CCNode*)parent isExtraProp:( [node setValue:@(f) forKey:name]; } } + else if(type == kCCBPropTypeEffects) { +#if CC_EFFECTS CCEffect * effect = [self readEffects]; if(effect) @@ -940,7 +935,7 @@ - (void) readPropertyForNode:(CCNode*) node parent:(CCNode*)parent isExtraProp:( //Hmmm..... Force it to write to @"effect" property. [node setValue:effect forKey:@"effect"]; } - +#endif } else if(type == kCCBPropTypeTokenArray) { @@ -958,7 +953,7 @@ - (void) readPropertyForNode:(CCNode*) node parent:(CCNode*)parent isExtraProp:( } - +#if CC_EFFECTS //Either returns a CCStackEffect or the one single effect. -(CCEffect*)readEffects { @@ -1004,6 +999,7 @@ -(CCEffect*)readEffects return [[CCEffectStack alloc] initWithArray:effectsStack]; } +#endif - (BOOL)isPropertyKeySettable:(NSString *)key onInstance:(id)instance { @@ -1161,6 +1157,7 @@ -(void)postDeserialization } } +#if CC_PHYSICS -(void)readJoints { int numJoints = readIntWithSign(self, NO); @@ -1171,10 +1168,8 @@ -(void)readJoints } } - -(void)readJoint { - CCPhysicsJoint * joint = nil; NSString* className = [self readCachedString]; @@ -1316,7 +1311,7 @@ -(void)readJoint [joint resetScale:NodeToPhysicsScale(nodeBodyA).x]; } - +#endif -(CCNode*) nodeFromClassName:(NSString*)nodeClassName { Class nodeClass = NSClassFromString(nodeClassName); @@ -1517,6 +1512,7 @@ - (CCNode*) readNodeGraphParent:(CCNode*)parent animatedProps = NULL; +#if CC_PHYSICS // Read physics BOOL hasPhysicsBody = readBool(self); if (hasPhysicsBody) @@ -1641,7 +1637,7 @@ - (CCNode*) readNodeGraphParent:(CCNode*)parent //#endif } - +#endif // Read and add children int numChildren = readIntWithSign(self, NO); for (int i = 0; i < numChildren; i++) @@ -1805,7 +1801,10 @@ - (CCNode*) readFileWithCleanUp:(BOOL)cleanUp actionManagers:(NSMutableDictionar actionManagers = am; CCNode* node = [self readNodeGraphParent:NULL]; + +#if CC_PHYSICS [self readJoints]; +#endif [self postDeserialization]; [actionManagers setObject:self.animationManager forKey:[NSValue valueWithPointer:(__bridge const void *)(node)]]; diff --git a/cocos2d-ui/CCBReader/CCBSequence.h b/cocos2d-ext/CCBReader/CCBSequence.h similarity index 97% rename from cocos2d-ui/CCBReader/CCBSequence.h rename to cocos2d-ext/CCBReader/CCBSequence.h index 69f00163e79..d4ef816406e 100644 --- a/cocos2d-ui/CCBReader/CCBSequence.h +++ b/cocos2d-ext/CCBReader/CCBSequence.h @@ -1,5 +1,4 @@ /* - * SpriteBuilder: http://www.spritebuilder.org * * Copyright (c) 2012 Zynga Inc. * Copyright (c) 2013 Apportable Inc. diff --git a/cocos2d-ui/CCBReader/CCBSequenceProperty.h b/cocos2d-ext/CCBReader/CCBSequenceProperty.h similarity index 95% rename from cocos2d-ui/CCBReader/CCBSequenceProperty.h rename to cocos2d-ext/CCBReader/CCBSequenceProperty.h index bbf06da4637..a78a0807b77 100644 --- a/cocos2d-ui/CCBReader/CCBSequenceProperty.h +++ b/cocos2d-ext/CCBReader/CCBSequenceProperty.h @@ -1,5 +1,4 @@ /* - * SpriteBuilder: http://www.spritebuilder.org * * Copyright (c) 2012 Zynga Inc. * Copyright (c) 2013 Apportable Inc. @@ -24,7 +23,7 @@ */ #import -#import "CCBReader_Private.h" +#import "CCBReader.h" typedef NS_ENUM(NSInteger, CCBSequencePropertyType) { CCBSequencePropertyTypeSpriteFrame = kCCBPropTypeSpriteFrame diff --git a/cocos2d-ui/CCBReader/CCBSequenceProperty.m b/cocos2d-ext/CCBReader/CCBSequenceProperty.m similarity index 97% rename from cocos2d-ui/CCBReader/CCBSequenceProperty.m rename to cocos2d-ext/CCBReader/CCBSequenceProperty.m index c339916cd21..802b6967215 100644 --- a/cocos2d-ui/CCBReader/CCBSequenceProperty.m +++ b/cocos2d-ext/CCBReader/CCBSequenceProperty.m @@ -1,5 +1,4 @@ /* - * SpriteBuilder: http://www.spritebuilder.org * * Copyright (c) 2012 Zynga Inc. * Copyright (c) 2013 Apportable Inc. diff --git a/cocos2d-ui/CCBReader/CCBsequence.m b/cocos2d-ext/CCBReader/CCBsequence.m similarity index 97% rename from cocos2d-ui/CCBReader/CCBsequence.m rename to cocos2d-ext/CCBReader/CCBsequence.m index e762b82a005..95982caa92a 100644 --- a/cocos2d-ui/CCBReader/CCBsequence.m +++ b/cocos2d-ext/CCBReader/CCBsequence.m @@ -1,5 +1,4 @@ /* - * SpriteBuilder: http://www.spritebuilder.org * * Copyright (c) 2012 Zynga Inc. * Copyright (c) 2013 Apportable Inc. diff --git a/cocos2d-ui/CCBReader/CCBuilderReader.h b/cocos2d-ext/CCBReader/CCBuilderReader.h similarity index 96% rename from cocos2d-ui/CCBReader/CCBuilderReader.h rename to cocos2d-ext/CCBReader/CCBuilderReader.h index a3690dce53a..8ec531dc5ce 100644 --- a/cocos2d-ui/CCBReader/CCBuilderReader.h +++ b/cocos2d-ext/CCBReader/CCBuilderReader.h @@ -1,5 +1,4 @@ /* - * CocosBuilder: http://www.spritebuilder.org * * Copyright (c) 2012 Zynga Inc. * Copyright (c) 2013 Apportable Inc. diff --git a/cocos2d/CCPhysics+ObjectiveChipmunk.h b/cocos2d-ext/CCChipmunkPhysics/CCPhysics+ObjectiveChipmunk.h similarity index 100% rename from cocos2d/CCPhysics+ObjectiveChipmunk.h rename to cocos2d-ext/CCChipmunkPhysics/CCPhysics+ObjectiveChipmunk.h diff --git a/cocos2d-ext/CCChipmunkPhysics/CCPhysics.h b/cocos2d-ext/CCChipmunkPhysics/CCPhysics.h new file mode 100644 index 00000000000..aac456283d0 --- /dev/null +++ b/cocos2d-ext/CCChipmunkPhysics/CCPhysics.h @@ -0,0 +1,13 @@ +// +// CCPhysics.h +// cocos2d-tests +// +// Created by Andrey Volodin on 10.02.16. +// Copyright © 2016 Cocos2d. All rights reserved. +// + +// Physics +#import "CCPhysicsBody.h" +#import "CCPhysicsJoint.h" +#import "CCPhysicsNode.h" +#import "CCPhysicsShape.h" diff --git a/cocos2d/CCPhysicsBody.h b/cocos2d-ext/CCChipmunkPhysics/CCPhysicsBody.h similarity index 100% rename from cocos2d/CCPhysicsBody.h rename to cocos2d-ext/CCChipmunkPhysics/CCPhysicsBody.h diff --git a/cocos2d/CCPhysicsBody.m b/cocos2d-ext/CCChipmunkPhysics/CCPhysicsBody.m similarity index 99% rename from cocos2d/CCPhysicsBody.m rename to cocos2d-ext/CCChipmunkPhysics/CCPhysicsBody.m index d5ddfe1f272..e7f3189e89a 100644 --- a/cocos2d/CCPhysicsBody.m +++ b/cocos2d-ext/CCChipmunkPhysics/CCPhysicsBody.m @@ -27,7 +27,7 @@ #import "CCPhysicsBody.h" #import "CCPhysics+ObjectiveChipmunk.h" -#import "CCNode_Private.h" +#import "CCNode.h" @interface CCNode(Private) diff --git a/cocos2d/CCPhysicsJoint.h b/cocos2d-ext/CCChipmunkPhysics/CCPhysicsJoint.h similarity index 100% rename from cocos2d/CCPhysicsJoint.h rename to cocos2d-ext/CCChipmunkPhysics/CCPhysicsJoint.h diff --git a/cocos2d/CCPhysicsJoint.m b/cocos2d-ext/CCChipmunkPhysics/CCPhysicsJoint.m similarity index 99% rename from cocos2d/CCPhysicsJoint.m rename to cocos2d-ext/CCChipmunkPhysics/CCPhysicsJoint.m index e2e32df2b18..bf70468ca9f 100644 --- a/cocos2d/CCPhysicsJoint.m +++ b/cocos2d-ext/CCChipmunkPhysics/CCPhysicsJoint.m @@ -24,7 +24,7 @@ #import "CCPhysicsJoint.h" #import "CCPhysics+ObjectiveChipmunk.h" -#import "CCNode_Private.h" +#import "CCNode.h" @interface CCNode(Private) -(CGAffineTransform)nonRigidTransform; diff --git a/cocos2d/CCPhysicsNode.h b/cocos2d-ext/CCChipmunkPhysics/CCPhysicsNode.h similarity index 100% rename from cocos2d/CCPhysicsNode.h rename to cocos2d-ext/CCChipmunkPhysics/CCPhysicsNode.h diff --git a/cocos2d/CCPhysicsNode.m b/cocos2d-ext/CCChipmunkPhysics/CCPhysicsNode.m similarity index 100% rename from cocos2d/CCPhysicsNode.m rename to cocos2d-ext/CCChipmunkPhysics/CCPhysicsNode.m diff --git a/cocos2d/CCPhysicsShape.h b/cocos2d-ext/CCChipmunkPhysics/CCPhysicsShape.h similarity index 100% rename from cocos2d/CCPhysicsShape.h rename to cocos2d-ext/CCChipmunkPhysics/CCPhysicsShape.h diff --git a/cocos2d/CCPhysicsShape.m b/cocos2d-ext/CCChipmunkPhysics/CCPhysicsShape.m similarity index 100% rename from cocos2d/CCPhysicsShape.m rename to cocos2d-ext/CCChipmunkPhysics/CCPhysicsShape.m diff --git a/cocos2d/CCClippingNode.h b/cocos2d-ext/CCClippingNode/CCClippingNode.h similarity index 100% rename from cocos2d/CCClippingNode.h rename to cocos2d-ext/CCClippingNode/CCClippingNode.h diff --git a/cocos2d/CCClippingNode.m b/cocos2d-ext/CCClippingNode/CCClippingNode.m similarity index 89% rename from cocos2d/CCClippingNode.m rename to cocos2d-ext/CCClippingNode/CCClippingNode.m index f681ce9770b..8671d10f7d8 100644 --- a/cocos2d/CCClippingNode.m +++ b/cocos2d-ext/CCClippingNode/CCClippingNode.m @@ -32,7 +32,6 @@ #import "CCDirector.h" #import "CGPointExtension.h" -#import "CCNode_Private.h" #import "CCRenderDispatch.h" #import "CCConfiguration.h" @@ -84,7 +83,7 @@ - (id)initWithStencil:(CCNode *)stencil }); // warn if the stencil buffer is not enabled if (_stencilBits <= 0) { -#if __CC_PLATFORM_IOS || __CC_PLATFORM_ANDROID +#if __CC_PLATFORM_IOS CCLOGWARN(@"Stencil buffer is not enabled; enable it by passing GL_DEPTH24_STENCIL8_OES into the depthFormat parrameter when initializing CCGLView. Until then, everything will be drawn without stencil."); #elif __CC_PLATFORM_MAC CCLOGWARN(@"Stencil buffer is not enabled; enable it by setting the Stencil attribue to 8 bit in the Attributes inspector of the CCGLView view object in MainMenu.xib, or programmatically by adding NSOpenGLPFAStencilSize and 8 in the NSOpenGLPixelFormatAttribute array of the NSOpenGLPixelFormat used when initializing CCGLView. Until then, everything will be drawn without stencil."); @@ -121,44 +120,10 @@ - (void)onExit - (void)visit:(CCRenderer *)renderer parentTransform:(const GLKMatrix4 *)parentTransform { - // if stencil buffer disabled -#if !__CC_PLATFORM_ANDROID && __CC_PLATFORM_ANDROID_FIXME - if (_stencilBits < 1) { - // draw everything, as if there where no stencil - [super visit:renderer parentTransform:parentTransform]; - return; - } - - // return fast (draw nothing, or draw everything if in inverted mode) if: - // - nil stencil node - // - or stencil node invisible: - if (!_stencil || !_stencil.visible) { - if (_inverted) { - // draw everything - [super visit:renderer parentTransform:parentTransform]; - } - return; - } -#endif - // store the current stencil layer (position in the stencil buffer), // this will allow nesting up to n CCClippingNode, // where n is the number of bits of the stencil buffer. static GLint layer = -1; -#if !__CC_PLATFORM_ANDROID && __CC_PLATFORM_ANDROID_FIXME - // all the _stencilBits are in use? - if (layer + 1 == _stencilBits) { - // warn once - static dispatch_once_t once; - dispatch_once(&once, ^{ - CCLOGWARN(@"Nesting more than %d stencils is not supported. Everything will be drawn without stencil for this node and its childs.", _stencilBits); - }); - // draw everything, as if there where no stencil - [super visit:renderer parentTransform:parentTransform]; - return; - } -#endif - /////////////////////////////////// // INIT diff --git a/cocos2d/CCEffect_Private.h b/cocos2d-ext/CCEffects/CCEffect.h similarity index 83% rename from cocos2d/CCEffect_Private.h rename to cocos2d-ext/CCEffects/CCEffect.h index 1ffd3d35fd6..0bb824a40c1 100644 --- a/cocos2d/CCEffect_Private.h +++ b/cocos2d-ext/CCEffects/CCEffect.h @@ -1,14 +1,33 @@ // -// CCEffect_Private.h +// CCEffect.h // cocos2d-ios // -// Created by Oleg Osin on 4/10/14. +// Created by Oleg Osin on 3/29/14. // // -#import "CCEffect.h" -#import "CCEffectStackProtocol.h" - +#import +#import "CCSprite.h" +#import "CCShader.h" +#import "ccConfig.h" +#import "ccTypes.h" + + +/** + CCEffect is the abstract base class of the Cocos2D effects classes. Subclasses of CCEffect can be used to easily add exciting + visual effects such has blur, bloom, reflection, refraction, and other image processing filters to your applications. + + ### Subclasses + + - CCEffectBloom + - CCEffectBlur, CCEffectPixellate + - CCEffectBrightness, CCEffectContrast, CCEffectHue, CCEffectSaturation, CCEffectInvert, CCEffectColorChannelOffset + - CCEffectDropShadow + - CCEffectGlass, CCEffectReflection, CCEffectRefraction + - CCEffectLighting + - CCEffectStack + - Experimental as of v3.4: CCEffectDistanceField, CCEffectDFInnerGlow, CCEffectDFOutline + */ extern NSString * const CCShaderUniformPreviousPassTexture; extern NSString * const CCShaderUniformTexCoord1Center; @@ -170,22 +189,6 @@ typedef void (^CCEffectRenderPassUpdateBlock)(CCEffectRenderPass *pass, CCEffect @end -@class CCEffectImpl; - - -@interface CCEffect () - -@property (nonatomic, strong) CCEffectImpl *effectImpl; - -@property (nonatomic, readonly) BOOL supportsDirectRendering; -@property (nonatomic, readonly) NSUInteger renderPassCount; - --(CCEffectPrepareResult)prepareForRenderingWithSprite:(CCSprite *)sprite;; --(CCEffectRenderPass *)renderPassAtIndex:(NSUInteger)passIndex; - -@end - - @interface CCEffectImpl : NSObject @property (nonatomic, copy) NSString *debugName; @@ -221,3 +224,31 @@ typedef void (^CCEffectRenderPassUpdateBlock)(CCEffectRenderPass *pass, CCEffect @end + +@interface CCEffect : NSObject + +/// ----------------------------------------------------------------------- +/// @name Effect Properties +/// ----------------------------------------------------------------------- + +/** An identifier for debugging effects. + * @since v3.2 and later +*/ +@property (nonatomic, copy) NSString *debugName; + +/** Padding in points that will be applied to affected sprites to avoid clipping the + * effect's visuals at the sprite's boundary. For example, if you create a blur effect + * whose radius will animate over time but will never exceed 8 points then you should + * set the padding to at least 8 to avoid clipping. + * @since v3.2 and later + */ +@property (nonatomic, assign) CGSize padding; + +@property (nonatomic, strong) CCEffectImpl *effectImpl; + +@property (nonatomic, readonly) BOOL supportsDirectRendering; +@property (nonatomic, readonly) NSUInteger renderPassCount; + +-(CCEffectPrepareResult)prepareForRenderingWithSprite:(CCSprite *)sprite;; +-(CCEffectRenderPass *)renderPassAtIndex:(NSUInteger)passIndex; +@end diff --git a/cocos2d/CCEffect.m b/cocos2d-ext/CCEffects/CCEffect.m similarity index 99% rename from cocos2d/CCEffect.m rename to cocos2d-ext/CCEffects/CCEffect.m index 485aebb3044..b23f3fc78af 100644 --- a/cocos2d/CCEffect.m +++ b/cocos2d-ext/CCEffects/CCEffect.m @@ -7,7 +7,6 @@ // #import "CCEffect.h" -#import "CCEffect_Private.h" #import "CCTexture.h" NSString * const CCShaderUniformPreviousPassTexture = @"cc_PreviousPassTexture"; diff --git a/cocos2d/CCEffectBloom.h b/cocos2d-ext/CCEffects/CCEffectBloom.h similarity index 100% rename from cocos2d/CCEffectBloom.h rename to cocos2d-ext/CCEffects/CCEffectBloom.h diff --git a/cocos2d/CCEffectBloom.m b/cocos2d-ext/CCEffects/CCEffectBloom.m similarity index 99% rename from cocos2d/CCEffectBloom.m rename to cocos2d-ext/CCEffects/CCEffectBloom.m index df1e742eac7..75de7799a83 100644 --- a/cocos2d/CCEffectBloom.m +++ b/cocos2d-ext/CCEffects/CCEffectBloom.m @@ -42,7 +42,7 @@ #import "CCEffectBloom.h" #import "CCEFfectUtils.h" -#import "CCEffect_Private.h" +#import "CCEffect.h" #import "CCRenderer.h" #import "CCTexture.h" diff --git a/cocos2d/CCEffectBlur.h b/cocos2d-ext/CCEffects/CCEffectBlur.h similarity index 100% rename from cocos2d/CCEffectBlur.h rename to cocos2d-ext/CCEffects/CCEffectBlur.h diff --git a/cocos2d/CCEffectBlur.m b/cocos2d-ext/CCEffects/CCEffectBlur.m similarity index 99% rename from cocos2d/CCEffectBlur.m rename to cocos2d-ext/CCEffects/CCEffectBlur.m index a526bb27720..6f10fc18cf9 100644 --- a/cocos2d/CCEffectBlur.m +++ b/cocos2d-ext/CCEffects/CCEffectBlur.m @@ -41,7 +41,7 @@ #import "CCEffectBlur.h" #import "CCEffectUtils.h" -#import "CCEffect_Private.h" +#import "CCEffect.h" #import "CCTexture.h" diff --git a/cocos2d/CCEffectBrightness.h b/cocos2d-ext/CCEffects/CCEffectBrightness.h similarity index 100% rename from cocos2d/CCEffectBrightness.h rename to cocos2d-ext/CCEffects/CCEffectBrightness.h diff --git a/cocos2d/CCEffectBrightness.m b/cocos2d-ext/CCEffects/CCEffectBrightness.m similarity index 99% rename from cocos2d/CCEffectBrightness.m rename to cocos2d-ext/CCEffects/CCEffectBrightness.m index a3d05e42067..dc0703218ce 100644 --- a/cocos2d/CCEffectBrightness.m +++ b/cocos2d-ext/CCEffects/CCEffectBrightness.m @@ -7,7 +7,7 @@ // #import "CCEffectBrightness.h" -#import "CCEffect_Private.h" +#import "CCEffect.h" #import "CCRenderer.h" #import "CCTexture.h" diff --git a/cocos2d/CCEffectColorChannelOffset.h b/cocos2d-ext/CCEffects/CCEffectColorChannelOffset.h similarity index 100% rename from cocos2d/CCEffectColorChannelOffset.h rename to cocos2d-ext/CCEffects/CCEffectColorChannelOffset.h diff --git a/cocos2d/CCEffectColorChannelOffset.m b/cocos2d-ext/CCEffects/CCEffectColorChannelOffset.m similarity index 99% rename from cocos2d/CCEffectColorChannelOffset.m rename to cocos2d-ext/CCEffects/CCEffectColorChannelOffset.m index 7c78e81d891..d95aa4f9109 100644 --- a/cocos2d/CCEffectColorChannelOffset.m +++ b/cocos2d-ext/CCEffects/CCEffectColorChannelOffset.m @@ -7,7 +7,7 @@ // #import "CCEffectColorChannelOffset.h" -#import "CCEffect_Private.h" +#import "CCEffect.h" #import "CCRenderer.h" #import "CCTexture.h" diff --git a/cocos2d/CCEffectContrast.h b/cocos2d-ext/CCEffects/CCEffectContrast.h similarity index 100% rename from cocos2d/CCEffectContrast.h rename to cocos2d-ext/CCEffects/CCEffectContrast.h diff --git a/cocos2d/CCEffectContrast.m b/cocos2d-ext/CCEffects/CCEffectContrast.m similarity index 99% rename from cocos2d/CCEffectContrast.m rename to cocos2d-ext/CCEffects/CCEffectContrast.m index 08d62c7d941..8e5c7da044b 100644 --- a/cocos2d/CCEffectContrast.m +++ b/cocos2d-ext/CCEffects/CCEffectContrast.m @@ -7,7 +7,7 @@ // #import "CCEffectContrast.h" -#import "CCEffect_Private.h" +#import "CCEffect.h" #import "CCRenderer.h" #import "CCTexture.h" diff --git a/cocos2d/CCEffectDFInnerGlow.h b/cocos2d-ext/CCEffects/CCEffectDFInnerGlow.h similarity index 100% rename from cocos2d/CCEffectDFInnerGlow.h rename to cocos2d-ext/CCEffects/CCEffectDFInnerGlow.h diff --git a/cocos2d/CCEffectDFInnerGlow.m b/cocos2d-ext/CCEffects/CCEffectDFInnerGlow.m similarity index 99% rename from cocos2d/CCEffectDFInnerGlow.m rename to cocos2d-ext/CCEffects/CCEffectDFInnerGlow.m index 14b33e1497b..817dfbba85d 100644 --- a/cocos2d/CCEffectDFInnerGlow.m +++ b/cocos2d-ext/CCEffects/CCEffectDFInnerGlow.m @@ -10,7 +10,7 @@ #if CC_EFFECTS_EXPERIMENTAL -#import "CCEffect_Private.h" +#import "CCEffect.h" #import "CCRenderer.h" #import "CCTexture.h" diff --git a/cocos2d/CCEffectDFOutline.h b/cocos2d-ext/CCEffects/CCEffectDFOutline.h similarity index 100% rename from cocos2d/CCEffectDFOutline.h rename to cocos2d-ext/CCEffects/CCEffectDFOutline.h diff --git a/cocos2d/CCEffectDFOutline.m b/cocos2d-ext/CCEffects/CCEffectDFOutline.m similarity index 99% rename from cocos2d/CCEffectDFOutline.m rename to cocos2d-ext/CCEffects/CCEffectDFOutline.m index 25214bf77e2..6f64aa7c0ae 100644 --- a/cocos2d/CCEffectDFOutline.m +++ b/cocos2d-ext/CCEffects/CCEffectDFOutline.m @@ -10,7 +10,7 @@ #if CC_EFFECTS_EXPERIMENTAL -#import "CCEffect_Private.h" +#import "CCEffect.h" #import "CCRenderer.h" #import "CCTexture.h" diff --git a/cocos2d/CCEffectDistanceField.h b/cocos2d-ext/CCEffects/CCEffectDistanceField.h similarity index 100% rename from cocos2d/CCEffectDistanceField.h rename to cocos2d-ext/CCEffects/CCEffectDistanceField.h diff --git a/cocos2d/CCEffectDistanceField.m b/cocos2d-ext/CCEffects/CCEffectDistanceField.m similarity index 99% rename from cocos2d/CCEffectDistanceField.m rename to cocos2d-ext/CCEffects/CCEffectDistanceField.m index ddaa496beed..a8406d8f8db 100644 --- a/cocos2d/CCEffectDistanceField.m +++ b/cocos2d-ext/CCEffects/CCEffectDistanceField.m @@ -10,7 +10,7 @@ #if CC_EFFECTS_EXPERIMENTAL -#import "CCEffect_Private.h" +#import "CCEffect.h" #import "CCRenderer.h" #import "CCTexture.h" diff --git a/cocos2d/CCEffectDropShadow.h b/cocos2d-ext/CCEffects/CCEffectDropShadow.h similarity index 100% rename from cocos2d/CCEffectDropShadow.h rename to cocos2d-ext/CCEffects/CCEffectDropShadow.h diff --git a/cocos2d/CCEffectDropShadow.m b/cocos2d-ext/CCEffects/CCEffectDropShadow.m similarity index 99% rename from cocos2d/CCEffectDropShadow.m rename to cocos2d-ext/CCEffects/CCEffectDropShadow.m index 4f33859f470..2f9e12aedd2 100644 --- a/cocos2d/CCEffectDropShadow.m +++ b/cocos2d-ext/CCEffects/CCEffectDropShadow.m @@ -41,7 +41,7 @@ #import "CCEffectDropShadow.h" #import "CCEffectUtils.h" -#import "CCEffect_Private.h" +#import "CCEffect.h" #import "CCTexture.h" diff --git a/cocos2d/CCEffectGlass.h b/cocos2d-ext/CCEffects/CCEffectGlass.h similarity index 100% rename from cocos2d/CCEffectGlass.h rename to cocos2d-ext/CCEffects/CCEffectGlass.h diff --git a/cocos2d/CCEffectGlass.m b/cocos2d-ext/CCEffects/CCEffectGlass.m similarity index 99% rename from cocos2d/CCEffectGlass.m rename to cocos2d-ext/CCEffects/CCEffectGlass.m index 28dc8ffcd9a..6157c493761 100644 --- a/cocos2d/CCEffectGlass.m +++ b/cocos2d-ext/CCEffects/CCEffectGlass.m @@ -14,8 +14,8 @@ #import "CCSpriteFrame.h" #import "CCTexture.h" -#import "CCEffect_Private.h" -#import "CCSprite_Private.h" +#import "CCEffect.h" +#import "CCSprite.h" static const float CCEffectGlassDefaultFresnelBias = 0.1f; diff --git a/cocos2d/CCEffectHue.h b/cocos2d-ext/CCEffects/CCEffectHue.h similarity index 100% rename from cocos2d/CCEffectHue.h rename to cocos2d-ext/CCEffects/CCEffectHue.h diff --git a/cocos2d/CCEffectHue.m b/cocos2d-ext/CCEffects/CCEffectHue.m similarity index 99% rename from cocos2d/CCEffectHue.m rename to cocos2d-ext/CCEffects/CCEffectHue.m index 21d152f713a..0368c907ad0 100644 --- a/cocos2d/CCEffectHue.m +++ b/cocos2d-ext/CCEffects/CCEffectHue.m @@ -7,7 +7,7 @@ #import "CCEffectHue.h" -#import "CCEffect_Private.h" +#import "CCEffect.h" #import "CCRenderer.h" #import "CCTexture.h" diff --git a/cocos2d/CCEffectInvert.h b/cocos2d-ext/CCEffects/CCEffectInvert.h similarity index 100% rename from cocos2d/CCEffectInvert.h rename to cocos2d-ext/CCEffects/CCEffectInvert.h diff --git a/cocos2d/CCEffectInvert.m b/cocos2d-ext/CCEffects/CCEffectInvert.m similarity index 98% rename from cocos2d/CCEffectInvert.m rename to cocos2d-ext/CCEffects/CCEffectInvert.m index 3f2dae7a9ad..7cca3543af8 100644 --- a/cocos2d/CCEffectInvert.m +++ b/cocos2d-ext/CCEffects/CCEffectInvert.m @@ -7,7 +7,7 @@ // #import "CCEffectInvert.h" -#import "CCEffect_Private.h" +#import "CCEffect.h" @interface CCEffectInvertImpl : CCEffectImpl diff --git a/cocos2d/CCEffectLighting.h b/cocos2d-ext/CCEffects/CCEffectLighting.h similarity index 100% rename from cocos2d/CCEffectLighting.h rename to cocos2d-ext/CCEffects/CCEffectLighting.h diff --git a/cocos2d/CCEffectLighting.m b/cocos2d-ext/CCEffects/CCEffectLighting.m similarity index 99% rename from cocos2d/CCEffectLighting.m rename to cocos2d-ext/CCEffects/CCEffectLighting.m index ec7136d9667..789e725ae92 100644 --- a/cocos2d/CCEffectLighting.m +++ b/cocos2d-ext/CCEffects/CCEffectLighting.m @@ -18,8 +18,8 @@ #import "CCSpriteFrame.h" #import "CCTexture.h" -#import "CCEffect_Private.h" -#import "CCSprite_Private.h" +#import "CCEffect.h" +#import "CCSprite.h" typedef struct _CCLightKey @@ -328,10 +328,10 @@ +(NSArray *)buildRenderPassesWithInterface:(CCEffectLighting *)interface passInputs.shaderUniforms[passInputs.uniformTranslationTable[lightSpecularColorLabel]] = [NSValue valueWithGLKVector4:lightSpecularColor]; } } - + #if CC_LIGHTING CCColor *ambientColor = [CCEffectUtilsGetNodeScene(passInputs.sprite).lights findAmbientSumForLightsWithMask:weakInterface.groupMask]; passInputs.shaderUniforms[passInputs.uniformTranslationTable[@"u_globalAmbientColor"]] = [NSValue valueWithGLKVector4:ambientColor.glkVector4]; - + #endif if (weakInterface.needsSpecular) { passInputs.shaderUniforms[passInputs.uniformTranslationTable[@"u_specularExponent"]] = weakInterface.conditionedShininess; @@ -382,7 +382,7 @@ - (CCEffectPrepareResult)prepareForRenderingWithSprite:(CCSprite *)sprite _needsNormalMap = (sprite.normalMapSpriteFrame != nil); CGPoint spritePosition = CGPointApplyAffineTransform(sprite.anchorPointInPoints, sprite.nodeToWorldTransform); - + #if CC_LIGHTING CCLightCollection *lightCollection = CCEffectUtilsGetNodeScene(sprite).lights; if (self.groupMaskDirty) { @@ -406,6 +406,7 @@ - (CCEffectPrepareResult)prepareForRenderingWithSprite:(CCSprite *)sprite result.status = CCEffectPrepareSuccess; result.changes = CCEffectPrepareShaderChanged | CCEffectPrepareUniformsChanged; } + #endif return result; } diff --git a/cocos2d/CCEffectNode.h b/cocos2d-ext/CCEffects/CCEffectNode.h similarity index 100% rename from cocos2d/CCEffectNode.h rename to cocos2d-ext/CCEffects/CCEffectNode.h diff --git a/cocos2d/CCEffectNode.m b/cocos2d-ext/CCEffects/CCEffectNode.m similarity index 97% rename from cocos2d/CCEffectNode.m rename to cocos2d-ext/CCEffects/CCEffectNode.m index a520b362cf4..9723366ee2b 100644 --- a/cocos2d/CCEffectNode.m +++ b/cocos2d-ext/CCEffects/CCEffectNode.m @@ -16,13 +16,12 @@ #import "Support/ccUtils.h" #import "Support/CCFileUtils.h" #import "Support/CGPointExtension.h" - -#import "CCTexture_Private.h" -#import "CCDirector_Private.h" -#import "CCNode_Private.h" +#import "CCTexture.h" +#import "CCDirector.h" +#import "CCNode.h" #import "CCRenderer_Private.h" -#import "CCRenderTexture_Private.h" -#import "CCEffect_Private.h" +#import "CCRenderTexture.h" +#import "CCEffect.h" #if __CC_PLATFORM_MAC #import diff --git a/cocos2d/CCEffectOutline.h b/cocos2d-ext/CCEffects/CCEffectOutline.h similarity index 100% rename from cocos2d/CCEffectOutline.h rename to cocos2d-ext/CCEffects/CCEffectOutline.h diff --git a/cocos2d/CCEffectOutline.m b/cocos2d-ext/CCEffects/CCEffectOutline.m similarity index 99% rename from cocos2d/CCEffectOutline.m rename to cocos2d-ext/CCEffects/CCEffectOutline.m index acb5bb557ec..eb21d4b05d3 100644 --- a/cocos2d/CCEffectOutline.m +++ b/cocos2d-ext/CCEffects/CCEffectOutline.m @@ -7,11 +7,10 @@ // #import "CCEffectOutline.h" - #if CC_EFFECTS_EXPERIMENTAL -#import "CCEffect_Private.h" -#import "CCSprite_Private.h" +#import "CCEffect.h" +#import "CCSprite.h" #import "CCTexture.h" #import "CCSpriteFrame.h" diff --git a/cocos2d/CCEffectPixellate.h b/cocos2d-ext/CCEffects/CCEffectPixellate.h similarity index 100% rename from cocos2d/CCEffectPixellate.h rename to cocos2d-ext/CCEffects/CCEffectPixellate.h diff --git a/cocos2d/CCEffectPixellate.m b/cocos2d-ext/CCEffects/CCEffectPixellate.m similarity index 99% rename from cocos2d/CCEffectPixellate.m rename to cocos2d-ext/CCEffects/CCEffectPixellate.m index fad59858b41..0c7d0de86f8 100644 --- a/cocos2d/CCEffectPixellate.m +++ b/cocos2d-ext/CCEffects/CCEffectPixellate.m @@ -41,7 +41,7 @@ #import "CCEffectPixellate.h" -#import "CCEffect_Private.h" +#import "CCEffect.h" #import "CCRenderer.h" #import "CCTexture.h" diff --git a/cocos2d/CCEffectReflection.h b/cocos2d-ext/CCEffects/CCEffectReflection.h similarity index 100% rename from cocos2d/CCEffectReflection.h rename to cocos2d-ext/CCEffects/CCEffectReflection.h diff --git a/cocos2d/CCEffectReflection.m b/cocos2d-ext/CCEffects/CCEffectReflection.m similarity index 99% rename from cocos2d/CCEffectReflection.m rename to cocos2d-ext/CCEffects/CCEffectReflection.m index 297dda9b44f..6b7d74d1a00 100644 --- a/cocos2d/CCEffectReflection.m +++ b/cocos2d-ext/CCEffects/CCEffectReflection.m @@ -14,8 +14,8 @@ #import "CCSpriteFrame.h" #import "CCTexture.h" -#import "CCEffect_Private.h" -#import "CCSprite_Private.h" +#import "CCEffect.h" +#import "CCSprite.h" diff --git a/cocos2d/CCEffectRefraction.h b/cocos2d-ext/CCEffects/CCEffectRefraction.h similarity index 100% rename from cocos2d/CCEffectRefraction.h rename to cocos2d-ext/CCEffects/CCEffectRefraction.h diff --git a/cocos2d/CCEffectRefraction.m b/cocos2d-ext/CCEffects/CCEffectRefraction.m similarity index 99% rename from cocos2d/CCEffectRefraction.m rename to cocos2d-ext/CCEffects/CCEffectRefraction.m index 68f5445edf4..0126fafec9c 100644 --- a/cocos2d/CCEffectRefraction.m +++ b/cocos2d-ext/CCEffects/CCEffectRefraction.m @@ -14,8 +14,8 @@ #import "CCSpriteFrame.h" #import "CCTexture.h" -#import "CCEffect_Private.h" -#import "CCSprite_Private.h" +#import "CCEffect.h" +#import "CCSprite.h" @interface CCEffectRefraction () diff --git a/cocos2d/CCEffectRenderer.h b/cocos2d-ext/CCEffects/CCEffectRenderer.h similarity index 100% rename from cocos2d/CCEffectRenderer.h rename to cocos2d-ext/CCEffects/CCEffectRenderer.h diff --git a/cocos2d/CCEffectRenderer.m b/cocos2d-ext/CCEffects/CCEffectRenderer.m similarity index 99% rename from cocos2d/CCEffectRenderer.m rename to cocos2d-ext/CCEffects/CCEffectRenderer.m index 46c7c6c71e0..1d304b2d486 100644 --- a/cocos2d/CCEffectRenderer.m +++ b/cocos2d-ext/CCEffects/CCEffectRenderer.m @@ -13,11 +13,10 @@ #import "CCEffectStack.h" #import "CCEffectUtils.h" #import "CCTexture.h" - -#import "CCEffect_Private.h" +#import "CCEffect.h" #import "CCRenderer_Private.h" -#import "CCSprite_Private.h" -#import "CCTexture_Private.h" +#import "CCSprite.h" +#import "CCTexture.h" typedef NS_ENUM(NSUInteger, CCEffectTexCoordSource) diff --git a/cocos2d/CCEffectSaturation.h b/cocos2d-ext/CCEffects/CCEffectSaturation.h similarity index 100% rename from cocos2d/CCEffectSaturation.h rename to cocos2d-ext/CCEffects/CCEffectSaturation.h diff --git a/cocos2d/CCEffectSaturation.m b/cocos2d-ext/CCEffects/CCEffectSaturation.m similarity index 99% rename from cocos2d/CCEffectSaturation.m rename to cocos2d-ext/CCEffects/CCEffectSaturation.m index 63feab36491..af30ec8bab6 100644 --- a/cocos2d/CCEffectSaturation.m +++ b/cocos2d-ext/CCEffects/CCEffectSaturation.m @@ -41,7 +41,7 @@ #import "CCEffectSaturation.h" -#import "CCEffect_Private.h" +#import "CCEffect.h" #import "CCRenderer.h" #import "CCTexture.h" diff --git a/cocos2d/CCEffectStack.h b/cocos2d-ext/CCEffects/CCEffectStack.h similarity index 93% rename from cocos2d/CCEffectStack.h rename to cocos2d-ext/CCEffects/CCEffectStack.h index 074f4c6925c..44569fe8a27 100644 --- a/cocos2d/CCEffectStack.h +++ b/cocos2d-ext/CCEffects/CCEffectStack.h @@ -93,4 +93,10 @@ */ @property (nonatomic, readonly) NSUInteger effectCount; +@property (nonatomic, assign) BOOL stitchingEnabled; + +@property (nonatomic, readonly) NSArray *effects; + +@property (nonatomic, readonly) NSArray *flattenedEffects; + @end diff --git a/cocos2d/CCEffectStack.m b/cocos2d-ext/CCEffects/CCEffectStack.m similarity index 99% rename from cocos2d/CCEffectStack.m rename to cocos2d-ext/CCEffects/CCEffectStack.m index 3cd3e776cc0..e2da103659e 100644 --- a/cocos2d/CCEffectStack.m +++ b/cocos2d-ext/CCEffects/CCEffectStack.m @@ -7,8 +7,7 @@ // #import "CCEffectStack.h" -#import "CCEffectStack_Private.h" -#import "CCEffect_Private.h" +#import "CCEffect.h" @implementation CCEffectStack diff --git a/cocos2d/CCEffectStackProtocol.h b/cocos2d-ext/CCEffects/CCEffectStackProtocol.h similarity index 100% rename from cocos2d/CCEffectStackProtocol.h rename to cocos2d-ext/CCEffects/CCEffectStackProtocol.h diff --git a/cocos2d/CCEffectStereo.h b/cocos2d-ext/CCEffects/CCEffectStereo.h similarity index 100% rename from cocos2d/CCEffectStereo.h rename to cocos2d-ext/CCEffects/CCEffectStereo.h diff --git a/cocos2d/CCEffectStereo.m b/cocos2d-ext/CCEffects/CCEffectStereo.m similarity index 99% rename from cocos2d/CCEffectStereo.m rename to cocos2d-ext/CCEffects/CCEffectStereo.m index 05346262e70..19d2af8c5c3 100644 --- a/cocos2d/CCEffectStereo.m +++ b/cocos2d-ext/CCEffects/CCEffectStereo.m @@ -10,7 +10,7 @@ #if CC_EFFECTS_EXPERIMENTAL -#import "CCEffect_Private.h" +#import "CCEffect.h" #import "CCRenderer.h" #import "CCTexture.h" diff --git a/cocos2d/CCEffectUtils.h b/cocos2d-ext/CCEffects/CCEffectUtils.h similarity index 100% rename from cocos2d/CCEffectUtils.h rename to cocos2d-ext/CCEffects/CCEffectUtils.h diff --git a/cocos2d/CCEffectUtils.m b/cocos2d-ext/CCEffects/CCEffectUtils.m similarity index 99% rename from cocos2d/CCEffectUtils.m rename to cocos2d-ext/CCEffects/CCEffectUtils.m index 156f1664e84..c8517f793a7 100644 --- a/cocos2d/CCEffectUtils.m +++ b/cocos2d-ext/CCEffects/CCEffectUtils.m @@ -7,7 +7,7 @@ // #import "CCEffectUtils.h" -#import "CCRenderTexture_Private.h" +#import "CCRenderTexture.h" #ifndef BLUR_OPTIMIZED_RADIUS_MAX #define BLUR_OPTIMIZED_RADIUS_MAX 4UL diff --git a/cocos2d/CCLightCollection.h b/cocos2d-ext/CCLighting/CCLightCollection.h similarity index 100% rename from cocos2d/CCLightCollection.h rename to cocos2d-ext/CCLighting/CCLightCollection.h diff --git a/cocos2d/CCLightCollection.m b/cocos2d-ext/CCLighting/CCLightCollection.m similarity index 99% rename from cocos2d/CCLightCollection.m rename to cocos2d-ext/CCLighting/CCLightCollection.m index 98e3203fa9f..4b16e2d7089 100644 --- a/cocos2d/CCLightCollection.m +++ b/cocos2d-ext/CCLighting/CCLightCollection.m @@ -26,8 +26,6 @@ #import "CCLightGroups.h" #import "CCLightNode.h" -#import "CCLightNode_Private.h" - const CCLightGroupMask CCLightCollectionAllGroups = ~((CCLightGroupMask)0); static const NSUInteger CCLightCollectionMaxGroupCount = sizeof(NSUInteger) * 8; diff --git a/cocos2d/CCLightGroups.h b/cocos2d-ext/CCLighting/CCLightGroups.h similarity index 100% rename from cocos2d/CCLightGroups.h rename to cocos2d-ext/CCLighting/CCLightGroups.h diff --git a/cocos2d/CCLightNode.h b/cocos2d-ext/CCLighting/CCLightNode.h similarity index 99% rename from cocos2d/CCLightNode.h rename to cocos2d-ext/CCLighting/CCLightNode.h index c8d2042876c..95dbea1b35a 100644 --- a/cocos2d/CCLightNode.h +++ b/cocos2d-ext/CCLighting/CCLightNode.h @@ -7,6 +7,7 @@ // #import "CCNode.h" +#import "CCLightGroups.h" /** Light Types used by CCLightNode. */ typedef NS_ENUM(NSUInteger, CCLightType) @@ -224,4 +225,6 @@ specularIntensity:(float)specularIntensity */ @property (nonatomic, assign) float ambientIntensity; +@property (nonatomic, assign) CCLightGroupMask groupMask; + @end diff --git a/cocos2d/CCLightNode.m b/cocos2d-ext/CCLighting/CCLightNode.m similarity index 97% rename from cocos2d/CCLightNode.m rename to cocos2d-ext/CCLighting/CCLightNode.m index f91ab32c90f..91722e54d68 100644 --- a/cocos2d/CCLightNode.m +++ b/cocos2d-ext/CCLighting/CCLightNode.m @@ -10,8 +10,6 @@ #import "CCLightCollection.h" #import "CCScene.h" -#import "CCLightNode_Private.h" - @implementation CCLightNode @@ -66,27 +64,32 @@ +(instancetype)lightWithType:(CCLightType)type groups:(NSArray*)groups color:(CC - (void)onEnter { [super onEnter]; + #if CC_LIGHTING [self.scene.lights addLight:self]; CCLightCollection *lightCollection = self.scene.lights; NSAssert(lightCollection, @"The light node is in a scene but there's no light collection."); _groupMask = [lightCollection maskForGroups:_groups]; + #endif } - (void)onExit { _groupMask = 0; - + #if CC_LIGHTING [self.scene.lights removeLight:self]; + #endif [super onExit]; } -(void)setGroups:(NSArray *)groups { _groups = [groups copy]; - + #if CC_LIGHTING CCLightCollection *lightCollection = self.scene.lights; + _groupMask = [lightCollection maskForGroups:_groups]; + #endif } -(void)setIntensity:(float)intensity diff --git a/cocos2d/CCMotionStreak.h b/cocos2d-ext/CCMotionStreak/CCMotionStreak.h similarity index 100% rename from cocos2d/CCMotionStreak.h rename to cocos2d-ext/CCMotionStreak/CCMotionStreak.h diff --git a/cocos2d/CCMotionStreak.m b/cocos2d-ext/CCMotionStreak/CCMotionStreak.m similarity index 99% rename from cocos2d/CCMotionStreak.m rename to cocos2d-ext/CCMotionStreak/CCMotionStreak.m index eeda5983fc1..9b24e6f4115 100644 --- a/cocos2d/CCMotionStreak.m +++ b/cocos2d-ext/CCMotionStreak/CCMotionStreak.m @@ -28,8 +28,6 @@ #import "CCTextureCache.h" #import "CCShader.h" #import "ccMacros.h" -#import "CCNode_Private.h" -#import "CCTexture_Private.h" #import "CCRenderer_Private.h" #import "Support/CGPointExtension.h" diff --git a/cocos2d/Objective-C/CCNode_objc.h b/cocos2d-ext/CCNodeTag/CCNodeTag.h old mode 100644 new mode 100755 similarity index 65% rename from cocos2d/Objective-C/CCNode_objc.h rename to cocos2d-ext/CCNodeTag/CCNodeTag.h index d2cdc82ae7e..2a238f13a74 --- a/cocos2d/Objective-C/CCNode_objc.h +++ b/cocos2d-ext/CCNodeTag/CCNodeTag.h @@ -1,11 +1,10 @@ /* * cocos2d for iPhone: http://www.cocos2d-iphone.org * - * Copyright (c) 2009 Valentin Milea * Copyright (c) 2008-2010 Ricardo Quesada * Copyright (c) 2011 Zynga Inc. * Copyright (c) 2013-2014 Cocos2D Authors - * Copyright (c) 2015 Lars Birkemose + * Copyright (c) 2013-2014 Cocos2D Authors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal @@ -29,14 +28,23 @@ #import #import "cocos2d.h" -// ----------------------------------------------------------------- +//---------------------------------------------------------------------- -@interface CCNode (CCNode_objc) +@interface CCNode (CCNodeTag) -// ----------------------------------------------------------------- +//---------------------------------------------------------------------- -@end +@property (nonatomic, assign) NSInteger tag; +//---------------------------------------------------------------------- +- (void)addChild:(CCNode *)node z:(NSInteger)z tag:(NSInteger)tag; +- (void)removeChildByTag:(NSInteger)tag; +- (void)removeChildByTag:(NSInteger)tag cleanup:(BOOL)cleanup; +- (CCNode *)getChildByTag:(NSInteger)tag; +- (CCNode *)getChildByTag:(NSInteger)tag recursively:(bool)isRecursive; +//---------------------------------------------------------------------- + +@end diff --git a/cocos2d-ext/CCNodeTag/CCNodeTag.m b/cocos2d-ext/CCNodeTag/CCNodeTag.m new file mode 100755 index 00000000000..fee63370279 --- /dev/null +++ b/cocos2d-ext/CCNodeTag/CCNodeTag.m @@ -0,0 +1,131 @@ +/* + * cocos2d for iPhone: http://www.cocos2d-iphone.org + * + * Copyright (c) 2008-2010 Ricardo Quesada + * Copyright (c) 2011 Zynga Inc. + * Copyright (c) 2013-2014 Cocos2D Authors + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. + */ + +#import "CCNodeTag.h" +#import + +//---------------------------------------------------------------------- + +static void *nodeTagKey = &nodeTagKey; + +//---------------------------------------------------------------------- + +@implementation CCNode (CCNodeTag) + +//---------------------------------------------------------------------- + +- (void)addChild:(CCNode *)node z:(NSInteger)z tag:(NSInteger)tag +{ + node.tag = tag; + [self addChild:node z:z]; +} + +//---------------------------------------------------------------------- + +- (void)removeChildByTag:(NSInteger)tag +{ + CCNode *node = [self getChildByTag:tag]; + if (!node) + ; + else + [self removeChild:node]; +} + +//---------------------------------------------------------------------- + +- (void)removeChildByTag:(NSInteger)tag cleanup:(BOOL)cleanup +{ + CCNode *node = [self getChildByTag:tag]; + if (!node) + ; + else + [self removeChild:node cleanup:cleanup]; +} + +//---------------------------------------------------------------------- + +- (CCNode *)getChildByTag:(NSInteger)tag +{ + /* + for (CCNode *node in self.children) + { + if (node.tag == tag) return(node); + } + return(nil); + */ + return [self getChildByTag:tag recursively:NO]; +} + +// Recursively get a child by tag, but don't return the root of the search. +-(CCNode*) getChildByTagRecursive:(NSInteger)tag root:(CCNode *)root +{ + if(self != root && self.tag == tag) return self; + + for (CCNode* node in _children) { + CCNode *n = [node getChildByTagRecursive:tag root:root]; + if(n) return n; + } + // not found + return nil; +} + +- (CCNode *)getChildByTag:(NSInteger)tag recursively:(bool)isRecursive { + NSAssert(tag, @"tag is nil."); + + if(isRecursive){ + return [self getChildByTagRecursive:tag root:self]; + } else { + for (CCNode* node in _children) { + if(node.tag == tag){ + return node; + } + } + } + // not found + return nil; +} + + +//---------------------------------------------------------------------- +// tag property implementation + +// OBS! +// As long as tag hasn't been set, the associated object will be nil, and intergetValue will return 0 (zero), which is well defined behaviour + +- (NSInteger)tag +{ + NSNumber *number = objc_getAssociatedObject(self, nodeTagKey); + return([number integerValue]); +} + +- (void)setTag:(NSInteger)tag +{ + objc_setAssociatedObject(self, nodeTagKey, [NSNumber numberWithInteger:tag], OBJC_ASSOCIATION_RETAIN_NONATOMIC); +} + +//---------------------------------------------------------------------- + +@end diff --git a/cocos2d-ext/CCNodeTag/README.md b/cocos2d-ext/CCNodeTag/README.md new file mode 100755 index 00000000000..97a122c6352 --- /dev/null +++ b/cocos2d-ext/CCNodeTag/README.md @@ -0,0 +1,17 @@ +CCNodeTag +========= + +Type of class : Category to CCNode +Uses extension : [None] + +Adds tags to CCNode. + +While the official replacement for tag in CCNode, is NSString *name, there are rare cases, where tag is useful. To use tags for CCNode, simply include this category into your project. + +Usage: + +- Add #include "CCNodeTag.h" in your .h or .m file +- Create a CCNode and add a tag property : + +CCNode *node = [[CCNode alloc] init]; +node.tag = 1000; \ No newline at end of file diff --git a/cocos2d-ext/CCObjectAL/CCActionAudio.h b/cocos2d-ext/CCObjectAL/CCActionAudio.h new file mode 100644 index 00000000000..24f350a36fd --- /dev/null +++ b/cocos2d-ext/CCObjectAL/CCActionAudio.h @@ -0,0 +1,52 @@ +// +// CCActionAudio.h +// cocos2d-tests +// +// Created by Andrey Volodin on 10.02.16. +// Copyright © 2016 Cocos2d. All rights reserved. +// + +#import "CCActionInstant.h" + +/** + This actions plays a sound effect through OALSimpleAudio. To play back music use a CCActionCallBlock or CCActionCallFunc + so that you can use the playBg method of OALSimpleAudio. + + @note The action ends immediately, it does not wait for the sound to stop playing. */ +@interface CCActionSoundEffect : CCActionInstant +{ + NSString* _soundFile; + float _pitch; + float _pan; + float _gain; +} + +/** @name Creating a Sound Effect Action */ + +/** + Creates a sound effect action. + + @param file The audio file to play. + @param pitch The playback pitch. 1.0 equals *normal* pitch. + @param pan Stereo panning, values from -1.0 (far left) to 1.0 (far right). + @param gain Gain (loudness), default 1.0 equals *normal* volume. + + @see OALSimpleAudio + @see [OALSimpleAudio playEffect:volume:pitch:pan:loop:] + */ ++(instancetype) actionWithSoundFile:(NSString*)file pitch:(float)pitch pan:(float) pan gain:(float)gain; + +/** + Creates a sound effect action. + + @param file The audio file to play. + @param pitch The playback pitch. 1.0 equals *normal* pitch. + @param pan Stereo panning, values from -1.0 (far left) to 1.0 (far right). + @param gain Gain (loudness), default 1.0 equals *normal* volume. + + @see OALSimpleAudio + @see [OALSimpleAudio playEffect:volume:pitch:pan:loop:] + */ +-(id) initWithSoundFile:(NSString*)file pitch:(float)pitch pan:(float) pan gain:(float)gain; + +@end diff --git a/cocos2d-ext/CCObjectAL/CCActionAudio.m b/cocos2d-ext/CCObjectAL/CCActionAudio.m new file mode 100644 index 00000000000..912b2da22e0 --- /dev/null +++ b/cocos2d-ext/CCObjectAL/CCActionAudio.m @@ -0,0 +1,44 @@ +// +// CCActionAudio.m +// cocos2d-tests +// +// Created by Andrey Volodin on 10.02.16. +// Copyright © 2016 Cocos2d. All rights reserved. +// + +#import "CCActionAudio.h" +#import "OALSimpleAudio.h" + +@implementation CCActionSoundEffect + ++ (id)actionWithSoundFile:(NSString*)f pitch:(float)pi pan:(float) pa gain:(float)ga +{ + return [[CCActionSoundEffect alloc] initWithSoundFile:f pitch:pi pan:pa gain:ga]; +} + +- (id)initWithSoundFile:(NSString*)file pitch:(float)pi pan:(float) pa gain:(float)ga +{ + self = [super init]; + if (!self) return NULL; + + _soundFile = [file copy]; + _pitch = pi; + _pan = pa; + _gain = ga; + + return self; +} + + +- (void)update:(CCTime)time +{ + [[OALSimpleAudio sharedInstance] playEffect:_soundFile volume:_gain pitch:_pitch pan:_pan loop:NO]; +} + +- (id)copyWithZone:(NSZone*)zone +{ + CCSpriteFrame *copy = [[[self class] allocWithZone: zone] initWithSoundFile:_soundFile pitch:_pitch pan:_pan gain:_gain]; + return copy; +} + +@end diff --git a/cocos2d-ext/CCObjectAL/CCOAL.h b/cocos2d-ext/CCObjectAL/CCOAL.h new file mode 100644 index 00000000000..a66e120881f --- /dev/null +++ b/cocos2d-ext/CCObjectAL/CCOAL.h @@ -0,0 +1,10 @@ +// +// CCOAL.h +// cocos2d-tests +// +// Created by Andrey Volodin on 10.02.16. +// Copyright © 2016 Cocos2d. All rights reserved. +// + +#import "OALSimpleAudio.h" +#import "CCActionAudio.h" diff --git a/cocos2d/CCPackage.h b/cocos2d-ext/CCPackages/CCPackage.h similarity index 85% rename from cocos2d/CCPackage.h rename to cocos2d-ext/CCPackages/CCPackage.h index 73296857832..7664ad8ba2b 100644 --- a/cocos2d/CCPackage.h +++ b/cocos2d-ext/CCPackages/CCPackage.h @@ -3,7 +3,7 @@ @class CCPackageManager; -/** CCPackage represents a Spritebuilder package. It's a data object managed by CCPackageManager describing the details of a package. +/** CCPackage represents a CocosBuilder package. It's a data object managed by CCPackageManager describing the details of a package. A package is a bundle containing resource files. Most of the properties are readonly and are not meant to be set by a developer. They are set by the CCPackageManager. @@ -41,21 +41,21 @@ * @since v3.3 and later * @see standardIdentifier */ -@property (nonatomic, copy, readonly) NSString *name; +@property (nonatomic, copy, readwrite) NSString *name; /** * Resolution of the package, e.g. tablethd, phonehd, etc. * @since v3.3 and later * @see standardIdentifier */ -@property (nonatomic, copy, readonly) NSString *resolution; +@property (nonatomic, copy, readwrite) NSString *resolution; /** - * OS of the package e.g. iOS, Android, Mac + * OS of the package e.g. iOS, Mac * @since v3.3 and later * @see standardIdentifier */ -@property (nonatomic, copy, readonly) NSString *os; +@property (nonatomic, copy, readwrite) NSString *os; /** * Returns an identifier of the package: The pattern is `--`. Example: `DLC_Bundle-iOS-phonehd`. @@ -72,7 +72,7 @@ * The remote URL of the package * @since v3.3 and later */ -@property (nonatomic, copy, readonly) NSURL *remoteURL; +@property (nonatomic, copy, readwrite) NSURL *remoteURL; /** * The relative local URL where the package is installed. The URL is relative to the caches folder. @@ -80,7 +80,7 @@ * @since v3.3 and later * @see installFullURL */ -@property (nonatomic, copy, readonly) NSURL *installRelURL; +@property (nonatomic, copy, readwrite) NSURL *installRelURL; /** * Full local URL where the package is installed. @@ -95,13 +95,13 @@ * is used which won't be accessible. * @since v3.3 and later */ -@property (nonatomic, copy, readonly) NSURL *localDownloadURL; +@property (nonatomic, copy, readwrite) NSURL *localDownloadURL; /** * Local URL of the folder the package is unzipped to * @since v3.3 and later */ -@property (nonatomic, copy, readonly) NSURL *unzipURL; +@property (nonatomic, copy, readwrite) NSURL *unzipURL; /** * Name of the folder inside the unzip folder. A zipped package is supposed to contain a folder named @@ -110,7 +110,7 @@ * during installation. * @since v3.3 and later */ -@property (nonatomic, copy, readonly) NSString *folderName; +@property (nonatomic, copy, readwrite) NSString *folderName; /** @name Accessing Package Status */ @@ -118,14 +118,14 @@ * Whether or not the the package should be enabled in cocos2d after installation. * @since v3.3 and later */ -@property (nonatomic, readonly) BOOL enableOnDownload; +@property (nonatomic, readwrite) BOOL enableOnDownload; /** * The current status of the package * @since v3.3 and later * @see statusToString */ -@property (nonatomic, readonly) CCPackageStatus status; +@property (nonatomic, readwrite) CCPackageStatus status; /** * Returns the status as a string. diff --git a/cocos2d/CCPackage.m b/cocos2d-ext/CCPackages/CCPackage.m similarity index 99% rename from cocos2d/CCPackage.m rename to cocos2d-ext/CCPackages/CCPackage.m index 5480f35b863..adebb09193b 100644 --- a/cocos2d/CCPackage.m +++ b/cocos2d-ext/CCPackages/CCPackage.m @@ -1,7 +1,6 @@ #import #import "CCPackage.h" #import "CCPackageHelper.h" -#import "CCPackage_private.h" static NSUInteger PACKAGE_SERIALIZATION_VERSION = 1; static NSString *const PACKAGE_SERIALIZATION_KEY_NAME = @"name"; diff --git a/cocos2d/CCPackageCocos2dEnabler.h b/cocos2d-ext/CCPackages/CCPackageCocos2dEnabler.h similarity index 100% rename from cocos2d/CCPackageCocos2dEnabler.h rename to cocos2d-ext/CCPackages/CCPackageCocos2dEnabler.h diff --git a/cocos2d/CCPackageCocos2dEnabler.m b/cocos2d-ext/CCPackages/CCPackageCocos2dEnabler.m similarity index 98% rename from cocos2d/CCPackageCocos2dEnabler.m rename to cocos2d-ext/CCPackages/CCPackageCocos2dEnabler.m index fa71b88e44e..9b2594ce07e 100644 --- a/cocos2d/CCPackageCocos2dEnabler.m +++ b/cocos2d-ext/CCPackages/CCPackageCocos2dEnabler.m @@ -3,7 +3,6 @@ #import "CCPackage.h" #import "CCFileUtils.h" #import "CCSpriteFrameCache.h" -#import "CCPackage_private.h" #import "CCPackageHelper.h" diff --git a/cocos2d/CCPackageConstants.h b/cocos2d-ext/CCPackages/CCPackageConstants.h similarity index 100% rename from cocos2d/CCPackageConstants.h rename to cocos2d-ext/CCPackages/CCPackageConstants.h diff --git a/cocos2d/CCPackageConstants.m b/cocos2d-ext/CCPackages/CCPackageConstants.m similarity index 100% rename from cocos2d/CCPackageConstants.m rename to cocos2d-ext/CCPackages/CCPackageConstants.m diff --git a/cocos2d/CCPackageDownload.h b/cocos2d-ext/CCPackages/CCPackageDownload.h similarity index 100% rename from cocos2d/CCPackageDownload.h rename to cocos2d-ext/CCPackages/CCPackageDownload.h diff --git a/cocos2d/CCPackageDownload.m b/cocos2d-ext/CCPackages/CCPackageDownload.m similarity index 99% rename from cocos2d/CCPackageDownload.m rename to cocos2d-ext/CCPackages/CCPackageDownload.m index 62fcbf3c950..5602546c50b 100644 --- a/cocos2d/CCPackageDownload.m +++ b/cocos2d-ext/CCPackages/CCPackageDownload.m @@ -5,7 +5,6 @@ #import "CCPackage.h" #import "CCPackageConstants.h" #import "ccMacros.h" -#import "CCPackage_private.h" #import "CCFileUtils.h" @interface CCPackageDownload() diff --git a/cocos2d/CCPackageDownloadDelegate.h b/cocos2d-ext/CCPackages/CCPackageDownloadDelegate.h similarity index 100% rename from cocos2d/CCPackageDownloadDelegate.h rename to cocos2d-ext/CCPackages/CCPackageDownloadDelegate.h diff --git a/cocos2d/CCPackageDownloadManager.h b/cocos2d-ext/CCPackages/CCPackageDownloadManager.h similarity index 100% rename from cocos2d/CCPackageDownloadManager.h rename to cocos2d-ext/CCPackages/CCPackageDownloadManager.h diff --git a/cocos2d/CCPackageDownloadManager.m b/cocos2d-ext/CCPackages/CCPackageDownloadManager.m similarity index 99% rename from cocos2d/CCPackageDownloadManager.m rename to cocos2d-ext/CCPackages/CCPackageDownloadManager.m index db9571445e3..f3d450c61ba 100644 --- a/cocos2d/CCPackageDownloadManager.m +++ b/cocos2d-ext/CCPackages/CCPackageDownloadManager.m @@ -4,7 +4,6 @@ #import "CCPackageDownloadManagerDelegate.h" #import "CCPackageConstants.h" #import "ccMacros.h" -#import "CCPackage_private.h" @interface CCPackageDownloadManager() diff --git a/cocos2d/CCPackageDownloadManagerDelegate.h b/cocos2d-ext/CCPackages/CCPackageDownloadManagerDelegate.h similarity index 100% rename from cocos2d/CCPackageDownloadManagerDelegate.h rename to cocos2d-ext/CCPackages/CCPackageDownloadManagerDelegate.h diff --git a/cocos2d/CCPackageHelper.h b/cocos2d-ext/CCPackages/CCPackageHelper.h similarity index 64% rename from cocos2d/CCPackageHelper.h rename to cocos2d-ext/CCPackages/CCPackageHelper.h index 486fb6c7be9..7a966767987 100644 --- a/cocos2d/CCPackageHelper.h +++ b/cocos2d-ext/CCPackages/CCPackageHelper.h @@ -6,7 +6,7 @@ @interface CCPackageHelper : NSObject /** - * Returns the current OS, possible values: `iOS` or `Android`. + * Returns the current OS, possible values: `iOS`. * @note On OS X this will also return `iOS`. * @since v3.3 and later */ @@ -19,16 +19,16 @@ + (NSString *)cachesFolder; /** - * Maps a CCFileUtil's device/resolution suffix string, for instance `CCFileUtilsSuffixiPadHD`, to a SpriteBuilder resolution string, for instance `tablethd`. + * Maps a CCFileUtil's device/resolution suffix string, for instance `CCFileUtilsSuffixiPadHD`, to a CocosBuilder resolution string, for instance `tablethd`. * * @param suffix A CCFileUtils resolution suffix, as defined by the CCFileUtilsSuffix* constants. - * @returns A SpriteBuilder resolution string, one of: `phone`, `phonehd`, `tablet`, `tablethd`. Returns `nil` if there is no matching SpriteBuilder suffix for the given input suffix. + * @returns A CocosBuilder resolution string, one of: `phone`, `phonehd`, `tablet`, `tablethd`. Returns `nil` if there is no matching CocosBuilder suffix for the given input suffix. * @since v3.3 and later */ + (NSString *)ccFileUtilsSuffixToResolution:(NSString *)suffix; /** - * Returns the preferred SpriteBuilder resolution string (`phone`, `phonehd`, `tablet`, `tablethd`) for the current Cocos2D setup by looking at the entries + * Returns the preferred CocosBuilder resolution string (`phone`, `phonehd`, `tablet`, `tablethd`) for the current Cocos2D setup by looking at the entries * in [CCFileUtils searchResolutionsOrder] array. If none can be found or mapped `phonehd` will be returned as default. * @since v3.3 and later */ diff --git a/cocos2d/CCPackageHelper.m b/cocos2d-ext/CCPackages/CCPackageHelper.m similarity index 94% rename from cocos2d/CCPackageHelper.m rename to cocos2d-ext/CCPackages/CCPackageHelper.m index 756a51f5d35..41496ea64a7 100644 --- a/cocos2d/CCPackageHelper.m +++ b/cocos2d-ext/CCPackages/CCPackageHelper.m @@ -8,9 +8,7 @@ @implementation CCPackageHelper + (NSString *)currentOS { -#if __CC_PLATFORM_ANDROID - return @"Android"; -#elif __CC_PLATFORM_MAC || __CC_PLATFORM_IOS +#if __CC_PLATFORM_MAC || __CC_PLATFORM_IOS return @"iOS"; #endif return nil; diff --git a/cocos2d/CCPackageInstaller.h b/cocos2d-ext/CCPackages/CCPackageInstaller.h similarity index 100% rename from cocos2d/CCPackageInstaller.h rename to cocos2d-ext/CCPackages/CCPackageInstaller.h diff --git a/cocos2d/CCPackageInstaller.m b/cocos2d-ext/CCPackages/CCPackageInstaller.m similarity index 99% rename from cocos2d/CCPackageInstaller.m rename to cocos2d-ext/CCPackages/CCPackageInstaller.m index 46f56743e2f..8c57c6a58e8 100644 --- a/cocos2d/CCPackageInstaller.m +++ b/cocos2d-ext/CCPackages/CCPackageInstaller.m @@ -2,7 +2,6 @@ #import "CCPackageConstants.h" #import "CCPackage.h" #import "ccMacros.h" -#import "CCPackage_private.h" #import "CCPackageHelper.h" diff --git a/cocos2d/CCPackageManager.h b/cocos2d-ext/CCPackages/CCPackageManager.h similarity index 98% rename from cocos2d/CCPackageManager.h rename to cocos2d-ext/CCPackages/CCPackageManager.h index 2bac44ccc8c..795c868bdcb 100644 --- a/cocos2d/CCPackageManager.h +++ b/cocos2d-ext/CCPackages/CCPackageManager.h @@ -70,7 +70,7 @@ * Helpful if you are using packages of a different resolution. * * @param name Name of the package - * @param resolution SpriteBuilder resolution string (ie `phonehd`) + * @param resolution CocosBuilder resolution string (ie `phonehd`) * @since v3.3 and later * @see CCPackage */ @@ -81,8 +81,8 @@ * Helpful if you are using packages of a different resolution and os * * @param name Name of the package - * @param resolution SpriteBuilder resolution string (ie `phonehd`) - * @param os operating system string (ie iOS, Android, Mac) + * @param resolution CocosBuilder resolution string (ie `phonehd`) + * @param os operating system string (ie iOS, Mac) * @since v3.3 and later * @see CCPackage */ diff --git a/cocos2d/CCPackageManager.m b/cocos2d-ext/CCPackages/CCPackageManager.m similarity index 99% rename from cocos2d/CCPackageManager.m rename to cocos2d-ext/CCPackages/CCPackageManager.m index 14d8b25c46b..0cbc8aeec45 100644 --- a/cocos2d/CCPackageManager.m +++ b/cocos2d-ext/CCPackages/CCPackageManager.m @@ -8,7 +8,6 @@ #import "CCPackageCocos2dEnabler.h" #import "ccMacros.h" #import "CCPackageHelper.h" -#import "CCPackage_private.h" #import "CCDirector.h" diff --git a/cocos2d/CCPackageManagerDelegate.h b/cocos2d-ext/CCPackages/CCPackageManagerDelegate.h similarity index 100% rename from cocos2d/CCPackageManagerDelegate.h rename to cocos2d-ext/CCPackages/CCPackageManagerDelegate.h diff --git a/cocos2d/CCPackageTypes.h b/cocos2d-ext/CCPackages/CCPackageTypes.h similarity index 100% rename from cocos2d/CCPackageTypes.h rename to cocos2d-ext/CCPackages/CCPackageTypes.h diff --git a/cocos2d/CCPackageUnzipper.h b/cocos2d-ext/CCPackages/CCPackageUnzipper.h similarity index 98% rename from cocos2d/CCPackageUnzipper.h rename to cocos2d-ext/CCPackages/CCPackageUnzipper.h index d10e080c6b0..8cee1534e01 100644 --- a/cocos2d/CCPackageUnzipper.h +++ b/cocos2d-ext/CCPackages/CCPackageUnzipper.h @@ -1,5 +1,5 @@ #import -#import +#import "SSZipArchive.h" @protocol CCPackageUnzipperDelegate; @class CCPackage; diff --git a/cocos2d/CCPackageUnzipper.m b/cocos2d-ext/CCPackages/CCPackageUnzipper.m similarity index 98% rename from cocos2d/CCPackageUnzipper.m rename to cocos2d-ext/CCPackages/CCPackageUnzipper.m index 5a38969cf5a..679db68295a 100644 --- a/cocos2d/CCPackageUnzipper.m +++ b/cocos2d-ext/CCPackages/CCPackageUnzipper.m @@ -1,7 +1,7 @@ #import "CCPackageUnzipper.h" #import "CCPackageUnzipperDelegate.h" #import "CCPackage.h" -#import +#import "SSZipArchive.h" #import "ccMacros.h" diff --git a/cocos2d/CCPackageUnzipperDelegate.h b/cocos2d-ext/CCPackages/CCPackageUnzipperDelegate.h similarity index 100% rename from cocos2d/CCPackageUnzipperDelegate.h rename to cocos2d-ext/CCPackages/CCPackageUnzipperDelegate.h diff --git a/cocos2d/CCParallaxNode.h b/cocos2d-ext/CCParallaxNode/CCParallaxNode.h similarity index 100% rename from cocos2d/CCParallaxNode.h rename to cocos2d-ext/CCParallaxNode/CCParallaxNode.h diff --git a/cocos2d/CCParallaxNode.m b/cocos2d-ext/CCParallaxNode/CCParallaxNode.m similarity index 100% rename from cocos2d/CCParallaxNode.m rename to cocos2d-ext/CCParallaxNode/CCParallaxNode.m diff --git a/cocos2d/CCParticleBatchNode.h b/cocos2d-ext/CCParticles/CCParticleBatchNode.h similarity index 100% rename from cocos2d/CCParticleBatchNode.h rename to cocos2d-ext/CCParticles/CCParticleBatchNode.h diff --git a/cocos2d/CCParticleBatchNode.m b/cocos2d-ext/CCParticles/CCParticleBatchNode.m similarity index 97% rename from cocos2d/CCParticleBatchNode.m rename to cocos2d-ext/CCParticles/CCParticleBatchNode.m index 9f836b4a31e..0f93f2f5a05 100644 --- a/cocos2d/CCParticleBatchNode.m +++ b/cocos2d-ext/CCParticles/CCParticleBatchNode.m @@ -39,11 +39,6 @@ #import "Support/ZipUtils.h" #import "Support/CCFileUtils.h" -#import "CCNode_Private.h" -#import "CCParticleSystemBase_Private.h" - -#import "CCTexture_Private.h" - #define kCCParticleDefaultCapacity 500 @interface CCNode() diff --git a/cocos2d/CCParticleExamples.h b/cocos2d-ext/CCParticles/CCParticleExamples.h similarity index 100% rename from cocos2d/CCParticleExamples.h rename to cocos2d-ext/CCParticles/CCParticleExamples.h diff --git a/cocos2d/CCParticleExamples.m b/cocos2d-ext/CCParticles/CCParticleExamples.m similarity index 100% rename from cocos2d/CCParticleExamples.m rename to cocos2d-ext/CCParticles/CCParticleExamples.m diff --git a/cocos2d/CCParticleSystem.h b/cocos2d-ext/CCParticles/CCParticleSystem.h similarity index 89% rename from cocos2d/CCParticleSystem.h rename to cocos2d-ext/CCParticles/CCParticleSystem.h index 0c471f98553..16dbfc0609e 100644 --- a/cocos2d/CCParticleSystem.h +++ b/cocos2d-ext/CCParticles/CCParticleSystem.h @@ -50,5 +50,13 @@ */ -(void) setTexture:(CCTexture *)texture withRect:(CGRect)rect; +// OS X +// Initilizes the texture with a rectangle measured in points. +-(void) initTexCoordsWithRect:(CGRect)rect; + +// OS X +// Set sprite frame for system. +-(void)setSpriteFrame:(CCSpriteFrame*)spriteFrame; + @end diff --git a/cocos2d/CCParticleSystem.m b/cocos2d-ext/CCParticles/CCParticleSystem.m similarity index 98% rename from cocos2d/CCParticleSystem.m rename to cocos2d-ext/CCParticles/CCParticleSystem.m index 0d91344c899..56aba64a726 100644 --- a/cocos2d/CCParticleSystem.m +++ b/cocos2d-ext/CCParticles/CCParticleSystem.m @@ -45,10 +45,7 @@ #import "Support/CGPointExtension.h" #import "Support/NSThread+performBlock.h" -#import "CCNode_Private.h" -#import "CCParticleSystemBase_Private.h" -#import "CCParticleSystem_Private.h" -#import "CCTexture_Private.h" +#import "CCTexture.h" @implementation CCParticleSystem { GLKVector2 _texCoord1[4]; diff --git a/cocos2d/CCParticleSystemBase.h b/cocos2d-ext/CCParticles/CCParticleSystemBase.h similarity index 99% rename from cocos2d/CCParticleSystemBase.h rename to cocos2d-ext/CCParticles/CCParticleSystemBase.h index 5c1cfb6c862..c70ef65195d 100644 --- a/cocos2d/CCParticleSystemBase.h +++ b/cocos2d-ext/CCParticles/CCParticleSystemBase.h @@ -138,7 +138,7 @@ typedef void (*_CC_UPDATE_PARTICLE_IMP)(id, SEL, _CCParticle*, CGPoint); ### Supported editors - A particle system can be edited visually within SpriteBuilder or compatible 3rd party tools such as + A particle system can be edited visually within CocosBuilder or compatible 3rd party tools such as [Particle Designer](http://particledesigner.71squared.com/) and several others. @warning It is strongly recommended to use a visual design tool to create particle effects. Creating and tweaking particle @@ -614,5 +614,10 @@ typedef void (*_CC_UPDATE_PARTICLE_IMP)(id, SEL, _CCParticle*, CGPoint); @see rotatePerSecond */ @property (nonatomic,readwrite,assign) float rotatePerSecondVar; +// Update. +-(void) update: (CCTime) dt; + +// System full status. +-(BOOL) isFull; @end diff --git a/cocos2d/CCParticleSystemBase.m b/cocos2d-ext/CCParticles/CCParticleSystemBase.m similarity index 99% rename from cocos2d/CCParticleSystemBase.m rename to cocos2d-ext/CCParticles/CCParticleSystemBase.m index 046bb3a2108..460a6fde2ed 100644 --- a/cocos2d/CCParticleSystemBase.m +++ b/cocos2d-ext/CCParticles/CCParticleSystemBase.m @@ -54,7 +54,6 @@ #import "CCTextureCache.h" #import "ccMacros.h" #import "Support/CCProfiling.h" -#import "CCNode_Private.h" // support #import "Support/CGPointExtension.h" @@ -62,8 +61,6 @@ #import "Support/ZipUtils.h" #import "Support/CCFileUtils.h" -#import "CCParticleSystemBase_Private.h" - @implementation CCParticleSystemBase @synthesize active = _active, duration = _duration; @synthesize sourcePosition = _sourcePosition, posVar = _posVar; @@ -265,7 +262,7 @@ -(id) initWithDictionary:(NSDictionary *)dictionary path:(NSString*)dirname NSAssert( deflated != NULL, @"CCParticleSystem: error ungzipping textureImageData"); NSData *data = [[NSData alloc] initWithBytes:deflated length:deflatedLen]; -#if __CC_PLATFORM_IOS || __CC_PLATFORM_ANDROID +#if __CC_PLATFORM_IOS BOOL png = [[[dictionary valueForKey:@"textureFileName"] lowercaseString] hasSuffix:@".png"]; CGDataProviderRef imgDataProvider = CGDataProviderCreateWithCFData((__bridge CFDataRef)data); CGImageRef image = (png) ? CGImageCreateWithPNGDataProvider(imgDataProvider, NULL, true, kCGRenderingIntentDefault) : CGImageCreateWithJPEGDataProvider(imgDataProvider, NULL, true, kCGRenderingIntentDefault) ; diff --git a/cocos2d-ext/CCParticles/CCParticles.h b/cocos2d-ext/CCParticles/CCParticles.h new file mode 100644 index 00000000000..d09dbb23722 --- /dev/null +++ b/cocos2d-ext/CCParticles/CCParticles.h @@ -0,0 +1,10 @@ +// +// CCParticles.h +// cocos2d-tests +// +// Created by Andrey Volodin on 08.02.16. +// Copyright © 2016 Cocos2d. All rights reserved. +// + +#import "CCParticleExamples.h" +#import "CCParticleSystem.h" diff --git a/cocos2d/CCTMXXMLParser.h b/cocos2d-ext/TileMaps/CCTMXXMLParser.h similarity index 100% rename from cocos2d/CCTMXXMLParser.h rename to cocos2d-ext/TileMaps/CCTMXXMLParser.h diff --git a/cocos2d/CCTMXXMLParser.m b/cocos2d-ext/TileMaps/CCTMXXMLParser.m similarity index 96% rename from cocos2d/CCTMXXMLParser.m rename to cocos2d-ext/TileMaps/CCTMXXMLParser.m index b267793889f..661a1161629 100644 --- a/cocos2d/CCTMXXMLParser.m +++ b/cocos2d-ext/TileMaps/CCTMXXMLParser.m @@ -268,11 +268,11 @@ -(void)parser:(NSXMLParser *)parser didStartElement:(NSString *)elementName name tileset.firstGid = _currentFirstGID; _currentFirstGID = 0; } - tileset.spacing = [[attributeDict objectForKey:@"spacing"] intValue]/_contentScale; - tileset.margin = [[attributeDict objectForKey:@"margin"] intValue]/_contentScale; + tileset.spacing = [[attributeDict objectForKey:@"spacing"] intValue] / _contentScale; + tileset.margin = [[attributeDict objectForKey:@"margin"] intValue] / _contentScale; CGSize s; - s.width = [[attributeDict objectForKey:@"tilewidth"] intValue]/_contentScale; - s.height = [[attributeDict objectForKey:@"tileheight"] intValue]/_contentScale; + s.width = [[attributeDict objectForKey:@"tilewidth"] intValue] / _contentScale; + s.height = [[attributeDict objectForKey:@"tileheight"] intValue] / _contentScale; tileset.tileSize = s; tileset.tileOffset = CGPointZero; //default offset (0,0) tileset.contentScale = _contentScale; @@ -303,6 +303,8 @@ -(void)parser:(NSXMLParser *)parser didStartElement:(NSString *)elementName name CGSize s; s.width = [[attributeDict objectForKey:@"width"] intValue]; s.height = [[attributeDict objectForKey:@"height"] intValue]; + + // The layer size is the row * column layer.layerSize = s; layer.visible = ![[attributeDict objectForKey:@"visible"] isEqualToString:@"0"]; @@ -313,9 +315,10 @@ -(void)parser:(NSXMLParser *)parser didStartElement:(NSString *)elementName name layer.opacity = 1.0; } - int x = [[attributeDict objectForKey:@"x"] intValue]; - int y = [[attributeDict objectForKey:@"y"] intValue]; - layer.offset = ccp(x,y); + CGPoint offset; + offset.x = [[attributeDict objectForKey:@"offsetx"] floatValue]; + offset.y = [[attributeDict objectForKey:@"offsety"] floatValue]; + layer.offset = ccpMult(offset , 1 / _contentScale); [_layers addObject:layer]; @@ -327,9 +330,9 @@ -(void)parser:(NSXMLParser *)parser didStartElement:(NSString *)elementName name CCTiledMapObjectGroup *objectGroup = [[CCTiledMapObjectGroup alloc] init]; objectGroup.groupName = [attributeDict objectForKey:@"name"]; CGPoint positionOffset; - positionOffset.x = [[attributeDict objectForKey:@"x"] intValue] * _tileSize.width; - positionOffset.y = [[attributeDict objectForKey:@"y"] intValue] * _tileSize.height; - objectGroup.positionOffset = positionOffset; + positionOffset.x = [[attributeDict objectForKey:@"offsetx"] floatValue]; + positionOffset.y = [[attributeDict objectForKey:@"offsety"] floatValue]; + objectGroup.positionOffset = ccpMult(positionOffset, 1 / _contentScale); [_objectGroups addObject:objectGroup]; @@ -386,14 +389,14 @@ -(void)parser:(NSXMLParser *)parser didStartElement:(NSString *)elementName name // X NSString *value = [attributeDict objectForKey:@"x"]; if( value ) { - int x = [value intValue] + objectGroup.positionOffset.x; + int x = [value intValue] / _contentScale + objectGroup.positionOffset.x; [dict setObject:[NSNumber numberWithInt:x] forKey:@"x"]; } // Y value = [attributeDict objectForKey:@"y"]; if( value ) { - int y = [value intValue] + objectGroup.positionOffset.y; + int y = [value intValue] / _contentScale + objectGroup.positionOffset.y; // Correct y position. (Tiled uses Flipped, cocos2d uses Standard) y = (_mapSize.height * _tileSize.height) - y - [[attributeDict objectForKey:@"height"] intValue]; diff --git a/cocos2d-ext/TileMaps/CCTileMaps.h b/cocos2d-ext/TileMaps/CCTileMaps.h new file mode 100644 index 00000000000..10c24eab2e0 --- /dev/null +++ b/cocos2d-ext/TileMaps/CCTileMaps.h @@ -0,0 +1,12 @@ +// +// CCTileMaps.h +// cocos2d-tests +// +// Created by Andrey Volodin on 06.02.16. +// Copyright © 2016 Cocos2d. All rights reserved. +// + +#import "CCTMXXMLParser.h" +#import "CCTiledMap.h" +#import "CCTiledMapLayer.h" +#import "CCTiledMapObjectGroup.h" \ No newline at end of file diff --git a/cocos2d/CCTiledMap.h b/cocos2d-ext/TileMaps/CCTiledMap.h similarity index 100% rename from cocos2d/CCTiledMap.h rename to cocos2d-ext/TileMaps/CCTiledMap.h diff --git a/cocos2d/CCTiledMap.m b/cocos2d-ext/TileMaps/CCTiledMap.m similarity index 99% rename from cocos2d/CCTiledMap.m rename to cocos2d-ext/TileMaps/CCTiledMap.m index 3a1a1c50816..dceb5131264 100644 --- a/cocos2d/CCTiledMap.m +++ b/cocos2d-ext/TileMaps/CCTiledMap.m @@ -37,8 +37,6 @@ #import "CCTextureCache.h" #import "Support/CGPointExtension.h" -#import "CCTiledMapLayer_Private.h" - #pragma mark - #pragma mark CCTMXTiledMap diff --git a/cocos2d/CCTiledMapLayer.h b/cocos2d-ext/TileMaps/CCTiledMapLayer.h similarity index 96% rename from cocos2d/CCTiledMapLayer.h rename to cocos2d-ext/TileMaps/CCTiledMapLayer.h index 0feb1e0e039..47d554a2319 100644 --- a/cocos2d/CCTiledMapLayer.h +++ b/cocos2d-ext/TileMaps/CCTiledMapLayer.h @@ -29,10 +29,6 @@ #import "CCTMXXMLParser.h" #import "CCTiledMap.h" -#if __CC_PLATFORM_ANDROID -#import "CCMathTypesAndroid.h" -#endif - @class CCTiledMapInfo; @class CCTiledMapLayerInfo; @class CCTiledMapTilesetInfo; @@ -44,6 +40,8 @@ will turn them all into sprites, possibly adding a significant memory overhead. */ +typedef void (^CCTiledMapLayerAnimationBlock)(NSUInteger tileX, NSUInteger tileY, uint32_t *gid, uint32_t *flags, GLKVector4 *color); + @interface CCTiledMapLayer : CCNode /// ----------------------------------------------------------------------- @@ -205,4 +203,9 @@ */ -(void) addChild:(CCNode*)node z:(NSInteger)z tag:(NSInteger)tag; +@property(nonatomic, copy) CCTiledMapLayerAnimationBlock animationBlock; + +// Setup the tiles. +-(void) setupTiles; + @end diff --git a/cocos2d/CCTiledMapLayer.m b/cocos2d-ext/TileMaps/CCTiledMapLayer.m similarity index 97% rename from cocos2d/CCTiledMapLayer.m rename to cocos2d-ext/TileMaps/CCTiledMapLayer.m index 3053256814f..eb1bbc380c7 100644 --- a/cocos2d/CCTiledMapLayer.m +++ b/cocos2d-ext/TileMaps/CCTiledMapLayer.m @@ -37,11 +37,7 @@ #import "CCTextureCache.h" #import "CCShader.h" #import "Support/CGPointExtension.h" -#import "CCNode_Private.h" -#import "CCSprite_Private.h" -#import "CCTiledMapLayer_Private.h" -#import "CCTexture_Private.h" -// #import "CCMathTypesAndroid.h" +#import "CCTexture.h" #pragma mark - #pragma mark CCTMXLayer @@ -99,14 +95,13 @@ -(id) initWithTilesetInfo:(CCTiledMapTilesetInfo*)tilesetInfo layerInfo:(CCTiled _tileWidth = mapInfo.tileSize.width; _tileHeight = mapInfo.tileSize.height; _layerOrientation = mapInfo.orientation; - - CGFloat pixelsToPoints = tex ? 1.0/tex.contentScale : 1.0; + // offset (after layer orientation is set); CGPoint offset = [self calculateLayerOffset:layerInfo.offset]; - [self setPosition:ccpMult(offset, pixelsToPoints)]; + [self setPosition:offset]; - [self setContentSize:CGSizeMake( _mapColumns * _tileWidth * pixelsToPoints, _mapRows * _tileHeight * pixelsToPoints )]; + [self setContentSize:CGSizeMake( _mapColumns * _tileWidth, _mapRows * _tileHeight)]; _useAutomaticVertexZ= NO; _vertexZvalue = 0; diff --git a/cocos2d/CCTiledMapObjectGroup.h b/cocos2d-ext/TileMaps/CCTiledMapObjectGroup.h similarity index 100% rename from cocos2d/CCTiledMapObjectGroup.h rename to cocos2d-ext/TileMaps/CCTiledMapObjectGroup.h diff --git a/cocos2d/CCTiledMapObjectGroup.m b/cocos2d-ext/TileMaps/CCTiledMapObjectGroup.m similarity index 100% rename from cocos2d/CCTiledMapObjectGroup.m rename to cocos2d-ext/TileMaps/CCTiledMapObjectGroup.m diff --git a/cocos2d-template.xcodeproj/project.pbxproj b/cocos2d-template.xcodeproj/project.pbxproj deleted file mode 100644 index 724a3481b93..00000000000 --- a/cocos2d-template.xcodeproj/project.pbxproj +++ /dev/null @@ -1,1849 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 46; - objects = { - -/* Begin PBXBuildFile section */ - 0E0CB3FD1B3B1D0D00DC6213 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB3FB1B3B1D0D00DC6213 /* main.m */; }; - 0E0CB4051B3B1DFB00DC6213 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB4001B3B1DFB00DC6213 /* AppDelegate.m */; }; - 0E0CB4071B3B1DFB00DC6213 /* HelloWorldScene.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB4041B3B1DFB00DC6213 /* HelloWorldScene.m */; }; - 0E0CB53E1B3B1E1B00DC6213 /* CCAction.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB40B1B3B1E1A00DC6213 /* CCAction.m */; }; - 0E0CB53F1B3B1E1B00DC6213 /* CCActionCatmullRom.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB40D1B3B1E1A00DC6213 /* CCActionCatmullRom.m */; }; - 0E0CB5401B3B1E1B00DC6213 /* CCActionEase.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB40F1B3B1E1A00DC6213 /* CCActionEase.m */; }; - 0E0CB5411B3B1E1B00DC6213 /* CCActionInstant.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB4111B3B1E1A00DC6213 /* CCActionInstant.m */; }; - 0E0CB5421B3B1E1B00DC6213 /* CCActionInterval.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB4131B3B1E1A00DC6213 /* CCActionInterval.m */; }; - 0E0CB5431B3B1E1B00DC6213 /* CCActionManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB4151B3B1E1A00DC6213 /* CCActionManager.m */; }; - 0E0CB5441B3B1E1B00DC6213 /* CCActionProgressTimer.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB4181B3B1E1A00DC6213 /* CCActionProgressTimer.m */; }; - 0E0CB5451B3B1E1B00DC6213 /* CCActionTween.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB41A1B3B1E1A00DC6213 /* CCActionTween.m */; }; - 0E0CB5461B3B1E1B00DC6213 /* CCAnimation.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB41C1B3B1E1A00DC6213 /* CCAnimation.m */; }; - 0E0CB5471B3B1E1B00DC6213 /* CCAnimationCache.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB41E1B3B1E1A00DC6213 /* CCAnimationCache.m */; }; - 0E0CB5481B3B1E1B00DC6213 /* CCCache.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB4201B3B1E1A00DC6213 /* CCCache.m */; }; - 0E0CB5491B3B1E1B00DC6213 /* CCClippingNode.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB4221B3B1E1A00DC6213 /* CCClippingNode.m */; }; - 0E0CB54A1B3B1E1B00DC6213 /* CCConfiguration.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB4251B3B1E1A00DC6213 /* CCConfiguration.m */; }; - 0E0CB54B1B3B1E1B00DC6213 /* CCDirector.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB4271B3B1E1A00DC6213 /* CCDirector.m */; }; - 0E0CB54C1B3B1E1B00DC6213 /* CCDrawNode.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB42A1B3B1E1A00DC6213 /* CCDrawNode.m */; }; - 0E0CB54D1B3B1E1B00DC6213 /* CCEffect.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB42C1B3B1E1A00DC6213 /* CCEffect.m */; }; - 0E0CB54E1B3B1E1B00DC6213 /* CCEffectBloom.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB42F1B3B1E1A00DC6213 /* CCEffectBloom.m */; }; - 0E0CB54F1B3B1E1B00DC6213 /* CCEffectBlur.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB4311B3B1E1A00DC6213 /* CCEffectBlur.m */; }; - 0E0CB5501B3B1E1B00DC6213 /* CCEffectBrightness.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB4331B3B1E1A00DC6213 /* CCEffectBrightness.m */; }; - 0E0CB5511B3B1E1B00DC6213 /* CCEffectColorChannelOffset.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB4351B3B1E1A00DC6213 /* CCEffectColorChannelOffset.m */; }; - 0E0CB5521B3B1E1B00DC6213 /* CCEffectContrast.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB4371B3B1E1A00DC6213 /* CCEffectContrast.m */; }; - 0E0CB5531B3B1E1B00DC6213 /* CCEffectDFInnerGlow.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB4391B3B1E1A00DC6213 /* CCEffectDFInnerGlow.m */; }; - 0E0CB5541B3B1E1B00DC6213 /* CCEffectDFOutline.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB43B1B3B1E1A00DC6213 /* CCEffectDFOutline.m */; }; - 0E0CB5551B3B1E1B00DC6213 /* CCEffectDistanceField.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB43D1B3B1E1A00DC6213 /* CCEffectDistanceField.m */; }; - 0E0CB5561B3B1E1B00DC6213 /* CCEffectDropShadow.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB43F1B3B1E1A00DC6213 /* CCEffectDropShadow.m */; }; - 0E0CB5581B3B1E1B00DC6213 /* CCEffectGlass.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB4431B3B1E1A00DC6213 /* CCEffectGlass.m */; }; - 0E0CB5591B3B1E1B00DC6213 /* CCEffectHue.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB4451B3B1E1A00DC6213 /* CCEffectHue.m */; }; - 0E0CB55A1B3B1E1B00DC6213 /* CCEffectInvert.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB4471B3B1E1A00DC6213 /* CCEffectInvert.m */; }; - 0E0CB55B1B3B1E1B00DC6213 /* CCEffectLighting.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB4491B3B1E1A00DC6213 /* CCEffectLighting.m */; }; - 0E0CB55C1B3B1E1B00DC6213 /* CCEffectNode.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB44B1B3B1E1A00DC6213 /* CCEffectNode.m */; }; - 0E0CB55D1B3B1E1B00DC6213 /* CCEffectOutline.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB44D1B3B1E1A00DC6213 /* CCEffectOutline.m */; }; - 0E0CB55E1B3B1E1B00DC6213 /* CCEffectPixellate.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB44F1B3B1E1A00DC6213 /* CCEffectPixellate.m */; }; - 0E0CB55F1B3B1E1B00DC6213 /* CCEffectReflection.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB4511B3B1E1A00DC6213 /* CCEffectReflection.m */; }; - 0E0CB5601B3B1E1B00DC6213 /* CCEffectRefraction.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB4531B3B1E1A00DC6213 /* CCEffectRefraction.m */; }; - 0E0CB5611B3B1E1B00DC6213 /* CCEffectRenderer.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB4551B3B1E1A00DC6213 /* CCEffectRenderer.m */; }; - 0E0CB5621B3B1E1B00DC6213 /* CCEffectSaturation.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB4571B3B1E1A00DC6213 /* CCEffectSaturation.m */; }; - 0E0CB5631B3B1E1B00DC6213 /* CCEffectStack.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB4591B3B1E1A00DC6213 /* CCEffectStack.m */; }; - 0E0CB5641B3B1E1B00DC6213 /* CCEffectStereo.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB45D1B3B1E1A00DC6213 /* CCEffectStereo.m */; }; - 0E0CB5651B3B1E1B00DC6213 /* CCEffectUtils.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB45F1B3B1E1A00DC6213 /* CCEffectUtils.m */; }; - 0E0CB5661B3B1E1B00DC6213 /* ccFPSImages.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB4611B3B1E1A00DC6213 /* ccFPSImages.m */; }; - 0E0CB5671B3B1E1B00DC6213 /* CCLabelBMFont.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB4631B3B1E1A00DC6213 /* CCLabelBMFont.m */; }; - 0E0CB5681B3B1E1B00DC6213 /* CCLabelTTF.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB4661B3B1E1A00DC6213 /* CCLabelTTF.m */; }; - 0E0CB5691B3B1E1B00DC6213 /* CCLayout.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB4681B3B1E1A00DC6213 /* CCLayout.m */; }; - 0E0CB56A1B3B1E1B00DC6213 /* CCLayoutBox.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB46A1B3B1E1A00DC6213 /* CCLayoutBox.m */; }; - 0E0CB56B1B3B1E1B00DC6213 /* CCLightCollection.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB46C1B3B1E1A00DC6213 /* CCLightCollection.m */; }; - 0E0CB56C1B3B1E1B00DC6213 /* CCLightNode.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB46F1B3B1E1A00DC6213 /* CCLightNode.m */; }; - 0E0CB56D1B3B1E1B00DC6213 /* CCMotionStreak.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB4731B3B1E1A00DC6213 /* CCMotionStreak.m */; }; - 0E0CB56E1B3B1E1B00DC6213 /* CCNoARC.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB4741B3B1E1A00DC6213 /* CCNoARC.m */; }; - 0E0CB56F1B3B1E1B00DC6213 /* CCNode+Debug.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB4761B3B1E1A00DC6213 /* CCNode+Debug.m */; }; - 0E0CB5701B3B1E1B00DC6213 /* CCNode.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB4781B3B1E1A00DC6213 /* CCNode.m */; }; - 0E0CB5711B3B1E1B00DC6213 /* CCNodeColor.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB47B1B3B1E1A00DC6213 /* CCNodeColor.m */; }; - 0E0CB57B1B3B1E1B00DC6213 /* CCParallaxNode.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB4961B3B1E1A00DC6213 /* CCParallaxNode.m */; }; - 0E0CB57C1B3B1E1B00DC6213 /* CCParticleBatchNode.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB4981B3B1E1A00DC6213 /* CCParticleBatchNode.m */; }; - 0E0CB57D1B3B1E1B00DC6213 /* CCParticleExamples.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB49A1B3B1E1A00DC6213 /* CCParticleExamples.m */; }; - 0E0CB57E1B3B1E1B00DC6213 /* CCParticleSystem.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB49C1B3B1E1A00DC6213 /* CCParticleSystem.m */; }; - 0E0CB57F1B3B1E1B00DC6213 /* CCParticleSystemBase.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB49F1B3B1E1A00DC6213 /* CCParticleSystemBase.m */; }; - 0E0CB5801B3B1E1B00DC6213 /* CCPhysicsBody.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB4A31B3B1E1A00DC6213 /* CCPhysicsBody.m */; }; - 0E0CB5811B3B1E1B00DC6213 /* CCPhysicsJoint.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB4A51B3B1E1A00DC6213 /* CCPhysicsJoint.m */; }; - 0E0CB5821B3B1E1B00DC6213 /* CCPhysicsNode.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB4A71B3B1E1A00DC6213 /* CCPhysicsNode.m */; }; - 0E0CB5831B3B1E1B00DC6213 /* CCPhysicsShape.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB4A91B3B1E1A00DC6213 /* CCPhysicsShape.m */; }; - 0E0CB5841B3B1E1B00DC6213 /* CCProgressNode.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB4AB1B3B1E1A00DC6213 /* CCProgressNode.m */; }; - 0E0CB5851B3B1E1B00DC6213 /* CCRenderDispatch.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB4AF1B3B1E1A00DC6213 /* CCRenderDispatch.m */; }; - 0E0CB5861B3B1E1B00DC6213 /* CCRenderer.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB4B11B3B1E1A00DC6213 /* CCRenderer.m */; }; - 0E0CB5871B3B1E1B00DC6213 /* CCRendererBasicTypes.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB4B41B3B1E1B00DC6213 /* CCRendererBasicTypes.m */; }; - 0E0CB5881B3B1E1B00DC6213 /* CCRendererGLSupport.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB4B61B3B1E1B00DC6213 /* CCRendererGLSupport.m */; }; - 0E0CB5891B3B1E1B00DC6213 /* CCRenderTexture.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB4B91B3B1E1B00DC6213 /* CCRenderTexture.m */; }; - 0E0CB58A1B3B1E1B00DC6213 /* CCResponder.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB4BC1B3B1E1B00DC6213 /* CCResponder.m */; }; - 0E0CB58B1B3B1E1B00DC6213 /* CCResponderManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB4BE1B3B1E1B00DC6213 /* CCResponderManager.m */; }; - 0E0CB58C1B3B1E1B00DC6213 /* CCScene.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB4C01B3B1E1B00DC6213 /* CCScene.m */; }; - 0E0CB58D1B3B1E1B00DC6213 /* CCScheduler.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB4C21B3B1E1B00DC6213 /* CCScheduler.m */; }; - 0E0CB58E1B3B1E1B00DC6213 /* CCShader.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB4C41B3B1E1B00DC6213 /* CCShader.m */; }; - 0E0CB58F1B3B1E1B00DC6213 /* CCSprite.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB4C71B3B1E1B00DC6213 /* CCSprite.m */; }; - 0E0CB5901B3B1E1B00DC6213 /* CCSprite9Slice.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB4C91B3B1E1B00DC6213 /* CCSprite9Slice.m */; }; - 0E0CB5911B3B1E1B00DC6213 /* CCSpriteBatchNode.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB4CC1B3B1E1B00DC6213 /* CCSpriteBatchNode.m */; }; - 0E0CB5921B3B1E1B00DC6213 /* CCSpriteFrame.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB4CE1B3B1E1B00DC6213 /* CCSpriteFrame.m */; }; - 0E0CB5931B3B1E1B00DC6213 /* CCSpriteFrameCache.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB4D01B3B1E1B00DC6213 /* CCSpriteFrameCache.m */; }; - 0E0CB5941B3B1E1B00DC6213 /* CCTexture.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB4D21B3B1E1B00DC6213 /* CCTexture.m */; }; - 0E0CB5951B3B1E1B00DC6213 /* CCTextureCache.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB4D51B3B1E1B00DC6213 /* CCTextureCache.m */; }; - 0E0CB5961B3B1E1B00DC6213 /* CCTexturePVR.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB4D71B3B1E1B00DC6213 /* CCTexturePVR.m */; }; - 0E0CB5971B3B1E1B00DC6213 /* CCTiledMap.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB4D91B3B1E1B00DC6213 /* CCTiledMap.m */; }; - 0E0CB5981B3B1E1B00DC6213 /* CCTiledMapLayer.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB4DB1B3B1E1B00DC6213 /* CCTiledMapLayer.m */; }; - 0E0CB5991B3B1E1B00DC6213 /* CCTiledMapObjectGroup.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB4DE1B3B1E1B00DC6213 /* CCTiledMapObjectGroup.m */; }; - 0E0CB59A1B3B1E1B00DC6213 /* CCTMXXMLParser.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB4E01B3B1E1B00DC6213 /* CCTMXXMLParser.m */; }; - 0E0CB59B1B3B1E1B00DC6213 /* CCTouch.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB4E21B3B1E1B00DC6213 /* CCTouch.m */; }; - 0E0CB59C1B3B1E1B00DC6213 /* CCTouchEvent.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB4E41B3B1E1B00DC6213 /* CCTouchEvent.m */; }; - 0E0CB59D1B3B1E1B00DC6213 /* CCTransition.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB4E61B3B1E1B00DC6213 /* CCTransition.m */; }; - 0E0CB59E1B3B1E1B00DC6213 /* cocos2d.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB4E91B3B1E1B00DC6213 /* cocos2d.m */; }; - 0E0CB59F1B3B1E1B00DC6213 /* NSValue+CCRenderer.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB4EB1B3B1E1B00DC6213 /* NSValue+CCRenderer.m */; }; - 0E0CB5AA1B3B1E1B00DC6213 /* CCAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB50E1B3B1E1B00DC6213 /* CCAppDelegate.m */; }; - 0E0CB5AB1B3B1E1B00DC6213 /* CCDirectorIOS.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB5101B3B1E1B00DC6213 /* CCDirectorIOS.m */; }; - 0E0CB5AC1B3B1E1B00DC6213 /* CCGLView.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB5121B3B1E1B00DC6213 /* CCGLView.m */; }; - 0E0CB5AD1B3B1E1B00DC6213 /* CCMetalSupport.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB5131B3B1E1B00DC6213 /* CCMetalSupport.m */; }; - 0E0CB5AE1B3B1E1B00DC6213 /* CCMetalView.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB5161B3B1E1B00DC6213 /* CCMetalView.m */; }; - 0E0CB5B01B3B1E1B00DC6213 /* CCTouchIOS.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB5191B3B1E1B00DC6213 /* CCTouchIOS.m */; }; - 0E0CB5B11B3B1E1B00DC6213 /* UITouch+CC.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB51B1B3B1E1B00DC6213 /* UITouch+CC.m */; }; - 0E0CB5B21B3B1E1B00DC6213 /* CCDirectorMac.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB51E1B3B1E1B00DC6213 /* CCDirectorMac.m */; }; - 0E0CB5B31B3B1E1B00DC6213 /* CCGLView.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB5201B3B1E1B00DC6213 /* CCGLView.m */; }; - 0E0CB5B41B3B1E1B00DC6213 /* CCWindow.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB5221B3B1E1B00DC6213 /* CCWindow.m */; }; - 0E0CB5B51B3B1E1B00DC6213 /* NSEvent+CC.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB5241B3B1E1B00DC6213 /* NSEvent+CC.m */; }; - 0E0CB5B61B3B1E1B00DC6213 /* base64.c in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB5261B3B1E1B00DC6213 /* base64.c */; }; - 0E0CB5B71B3B1E1B00DC6213 /* CCColor.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB5291B3B1E1B00DC6213 /* CCColor.m */; }; - 0E0CB5B81B3B1E1B00DC6213 /* CCFileUtils.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB52B1B3B1E1B00DC6213 /* CCFileUtils.m */; }; - 0E0CB5B91B3B1E1B00DC6213 /* CCProfiling.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB52D1B3B1E1B00DC6213 /* CCProfiling.m */; }; - 0E0CB5BA1B3B1E1B00DC6213 /* ccUtils.c in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB52E1B3B1E1B00DC6213 /* ccUtils.c */; }; - 0E0CB5BB1B3B1E1B00DC6213 /* CCVertex.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB5311B3B1E1B00DC6213 /* CCVertex.m */; }; - 0E0CB5BC1B3B1E1B00DC6213 /* CGPointExtension.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB5331B3B1E1B00DC6213 /* CGPointExtension.m */; }; - 0E0CB5BD1B3B1E1B00DC6213 /* NSAttributedString+CCAdditions.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB5351B3B1E1B00DC6213 /* NSAttributedString+CCAdditions.m */; }; - 0E0CB5BE1B3B1E1B00DC6213 /* NSThread+performBlock.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB5371B3B1E1B00DC6213 /* NSThread+performBlock.m */; }; - 0E0CB5BF1B3B1E1B00DC6213 /* TGAlib.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB5391B3B1E1B00DC6213 /* TGAlib.m */; }; - 0E0CB5C01B3B1E1B00DC6213 /* ZipUtils.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB53D1B3B1E1B00DC6213 /* ZipUtils.m */; }; - 0E0CB5F51B3B1E2300DC6213 /* CCAnimationManager+FrameAnimation.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB5C41B3B1E2300DC6213 /* CCAnimationManager+FrameAnimation.m */; }; - 0E0CB5F61B3B1E2300DC6213 /* CCAnimationManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB5C61B3B1E2300DC6213 /* CCAnimationManager.m */; }; - 0E0CB5F71B3B1E2300DC6213 /* CCBAnimationManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB5C91B3B1E2300DC6213 /* CCBAnimationManager.m */; }; - 0E0CB5F81B3B1E2300DC6213 /* CCBKeyframe.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB5CB1B3B1E2300DC6213 /* CCBKeyframe.m */; }; - 0E0CB5F91B3B1E2300DC6213 /* CCBLocalizationManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB5CD1B3B1E2300DC6213 /* CCBLocalizationManager.m */; }; - 0E0CB5FA1B3B1E2300DC6213 /* CCBReader.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB5CF1B3B1E2300DC6213 /* CCBReader.m */; }; - 0E0CB5FB1B3B1E2300DC6213 /* CCBsequence.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB5D21B3B1E2300DC6213 /* CCBsequence.m */; }; - 0E0CB5FC1B3B1E2300DC6213 /* CCBSequenceProperty.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB5D41B3B1E2300DC6213 /* CCBSequenceProperty.m */; }; - 0E0CB5FD1B3B1E2300DC6213 /* CCButton.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB5D71B3B1E2300DC6213 /* CCButton.m */; }; - 0E0CB5FE1B3B1E2300DC6213 /* CCControl.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB5D91B3B1E2300DC6213 /* CCControl.m */; }; - 0E0CB5FF1B3B1E2300DC6213 /* CCControlTextureFactory.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB5DC1B3B1E2300DC6213 /* CCControlTextureFactory.m */; }; - 0E0CB6001B3B1E2300DC6213 /* CCScrollView.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB5DE1B3B1E2300DC6213 /* CCScrollView.m */; }; - 0E0CB6011B3B1E2300DC6213 /* CCSlider.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB5E01B3B1E2300DC6213 /* CCSlider.m */; }; - 0E0CB6021B3B1E2300DC6213 /* CCTableView.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB5E21B3B1E2300DC6213 /* CCTableView.m */; }; - 0E0CB6031B3B1E2300DC6213 /* CCTextField.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB5E41B3B1E2300DC6213 /* CCTextField.m */; }; - 0E0CB6061B3B1E2300DC6213 /* CCPlatformTextField.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB5EE1B3B1E2300DC6213 /* CCPlatformTextField.m */; }; - 0E0CB6071B3B1E2300DC6213 /* CCPlatformTextFieldIOS.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB5F11B3B1E2300DC6213 /* CCPlatformTextFieldIOS.m */; }; - 0E0CB6081B3B1E2300DC6213 /* CCPlatformTextFieldMac.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB5F41B3B1E2300DC6213 /* CCPlatformTextFieldMac.m */; }; - 0E0CB6541B3B1E5700DC6213 /* ChipmunkBody.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB6301B3B1E5700DC6213 /* ChipmunkBody.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - 0E0CB6551B3B1E5700DC6213 /* ChipmunkConstraint.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB6311B3B1E5700DC6213 /* ChipmunkConstraint.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - 0E0CB6561B3B1E5700DC6213 /* ChipmunkMultiGrab.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB6321B3B1E5700DC6213 /* ChipmunkMultiGrab.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - 0E0CB6571B3B1E5700DC6213 /* ChipmunkShape.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB6331B3B1E5700DC6213 /* ChipmunkShape.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - 0E0CB6581B3B1E5700DC6213 /* ChipmunkSpace.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB6341B3B1E5700DC6213 /* ChipmunkSpace.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - 0E0CB6591B3B1E5700DC6213 /* chipmunk.c in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB6361B3B1E5700DC6213 /* chipmunk.c */; }; - 0E0CB65B1B3B1E5700DC6213 /* cpArbiter.c in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB6381B3B1E5700DC6213 /* cpArbiter.c */; }; - 0E0CB65C1B3B1E5700DC6213 /* cpArray.c in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB6391B3B1E5700DC6213 /* cpArray.c */; }; - 0E0CB65D1B3B1E5700DC6213 /* cpBBTree.c in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB63A1B3B1E5700DC6213 /* cpBBTree.c */; }; - 0E0CB65E1B3B1E5700DC6213 /* cpBody.c in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB63B1B3B1E5700DC6213 /* cpBody.c */; }; - 0E0CB65F1B3B1E5700DC6213 /* cpCollision.c in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB63C1B3B1E5700DC6213 /* cpCollision.c */; }; - 0E0CB6601B3B1E5700DC6213 /* cpConstraint.c in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB63D1B3B1E5700DC6213 /* cpConstraint.c */; }; - 0E0CB6611B3B1E5700DC6213 /* cpDampedRotarySpring.c in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB63E1B3B1E5700DC6213 /* cpDampedRotarySpring.c */; }; - 0E0CB6621B3B1E5700DC6213 /* cpDampedSpring.c in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB63F1B3B1E5700DC6213 /* cpDampedSpring.c */; }; - 0E0CB6631B3B1E5700DC6213 /* cpGearJoint.c in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB6401B3B1E5700DC6213 /* cpGearJoint.c */; }; - 0E0CB6641B3B1E5700DC6213 /* cpGrooveJoint.c in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB6411B3B1E5700DC6213 /* cpGrooveJoint.c */; }; - 0E0CB6651B3B1E5700DC6213 /* cpHashSet.c in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB6421B3B1E5700DC6213 /* cpHashSet.c */; }; - 0E0CB6661B3B1E5700DC6213 /* cpPinJoint.c in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB6431B3B1E5700DC6213 /* cpPinJoint.c */; }; - 0E0CB6671B3B1E5700DC6213 /* cpPivotJoint.c in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB6441B3B1E5700DC6213 /* cpPivotJoint.c */; }; - 0E0CB6681B3B1E5700DC6213 /* cpPolyShape.c in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB6451B3B1E5700DC6213 /* cpPolyShape.c */; }; - 0E0CB6691B3B1E5700DC6213 /* cpRatchetJoint.c in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB6461B3B1E5700DC6213 /* cpRatchetJoint.c */; }; - 0E0CB66A1B3B1E5700DC6213 /* cpRotaryLimitJoint.c in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB6471B3B1E5700DC6213 /* cpRotaryLimitJoint.c */; }; - 0E0CB66B1B3B1E5700DC6213 /* cpShape.c in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB6481B3B1E5700DC6213 /* cpShape.c */; }; - 0E0CB66C1B3B1E5700DC6213 /* cpSimpleMotor.c in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB6491B3B1E5700DC6213 /* cpSimpleMotor.c */; }; - 0E0CB66D1B3B1E5700DC6213 /* cpSlideJoint.c in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB64A1B3B1E5700DC6213 /* cpSlideJoint.c */; }; - 0E0CB66E1B3B1E5700DC6213 /* cpSpace.c in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB64B1B3B1E5700DC6213 /* cpSpace.c */; }; - 0E0CB66F1B3B1E5700DC6213 /* cpSpaceComponent.c in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB64C1B3B1E5700DC6213 /* cpSpaceComponent.c */; }; - 0E0CB6701B3B1E5700DC6213 /* cpSpaceDebug.c in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB64D1B3B1E5700DC6213 /* cpSpaceDebug.c */; }; - 0E0CB6711B3B1E5700DC6213 /* cpSpaceHash.c in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB64E1B3B1E5700DC6213 /* cpSpaceHash.c */; }; - 0E0CB6721B3B1E5700DC6213 /* cpSpaceQuery.c in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB64F1B3B1E5700DC6213 /* cpSpaceQuery.c */; }; - 0E0CB6731B3B1E5700DC6213 /* cpSpaceStep.c in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB6501B3B1E5700DC6213 /* cpSpaceStep.c */; }; - 0E0CB6741B3B1E5700DC6213 /* cpSpatialIndex.c in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB6511B3B1E5700DC6213 /* cpSpatialIndex.c */; }; - 0E0CB6751B3B1E5700DC6213 /* cpSweep1D.c in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB6521B3B1E5700DC6213 /* cpSweep1D.c */; }; - 0E0CB6BA1B3B1E6C00DC6213 /* OALAction.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB67A1B3B1E6C00DC6213 /* OALAction.m */; }; - 0E0CB6BB1B3B1E6C00DC6213 /* OALActionManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB67C1B3B1E6C00DC6213 /* OALActionManager.m */; }; - 0E0CB6BC1B3B1E6C00DC6213 /* OALAudioActions.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB67E1B3B1E6C00DC6213 /* OALAudioActions.m */; }; - 0E0CB6BD1B3B1E6C00DC6213 /* OALUtilityActions.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB6801B3B1E6C00DC6213 /* OALUtilityActions.m */; }; - 0E0CB6BE1B3B1E6C00DC6213 /* OALAudioTrack.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB6831B3B1E6C00DC6213 /* OALAudioTrack.m */; }; - 0E0CB6BF1B3B1E6C00DC6213 /* OALAudioTrackNotifications.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB6851B3B1E6C00DC6213 /* OALAudioTrackNotifications.m */; }; - 0E0CB6C01B3B1E6C00DC6213 /* OALAudioTracks.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB6871B3B1E6C00DC6213 /* OALAudioTracks.m */; }; - 0E0CB6C11B3B1E6C00DC6213 /* OALSimpleAudio.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB6891B3B1E6C00DC6213 /* OALSimpleAudio.m */; }; - 0E0CB6C21B3B1E6C00DC6213 /* ALBuffer.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB68F1B3B1E6C00DC6213 /* ALBuffer.m */; }; - 0E0CB6C31B3B1E6C00DC6213 /* ALCaptureDevice.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB6911B3B1E6C00DC6213 /* ALCaptureDevice.m */; }; - 0E0CB6C41B3B1E6C00DC6213 /* ALChannelSource.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB6931B3B1E6C00DC6213 /* ALChannelSource.m */; }; - 0E0CB6C51B3B1E6C00DC6213 /* ALContext.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB6951B3B1E6C00DC6213 /* ALContext.m */; }; - 0E0CB6C61B3B1E6C00DC6213 /* ALDevice.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB6971B3B1E6C00DC6213 /* ALDevice.m */; }; - 0E0CB6C71B3B1E6C00DC6213 /* ALListener.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB6991B3B1E6C00DC6213 /* ALListener.m */; }; - 0E0CB6C81B3B1E6C00DC6213 /* ALSoundSourcePool.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB69C1B3B1E6C00DC6213 /* ALSoundSourcePool.m */; }; - 0E0CB6C91B3B1E6C00DC6213 /* ALSource.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB69E1B3B1E6C00DC6213 /* ALSource.m */; }; - 0E0CB6CA1B3B1E6C00DC6213 /* ALWrapper.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB6A11B3B1E6C00DC6213 /* ALWrapper.m */; }; - 0E0CB6CB1B3B1E6C00DC6213 /* OpenALManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB6A31B3B1E6C00DC6213 /* OpenALManager.m */; }; - 0E0CB6CC1B3B1E6C00DC6213 /* OALAudioSession.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB6A61B3B1E6C00DC6213 /* OALAudioSession.m */; }; - 0E0CB6CD1B3B1E6C00DC6213 /* OALSuspendHandler.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB6A81B3B1E6C00DC6213 /* OALSuspendHandler.m */; }; - 0E0CB6CE1B3B1E6C00DC6213 /* IOSVersion.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB6AC1B3B1E6C00DC6213 /* IOSVersion.m */; }; - 0E0CB6CF1B3B1E6C00DC6213 /* mach_timing.c in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB6AD1B3B1E6C00DC6213 /* mach_timing.c */; }; - 0E0CB6D01B3B1E6C00DC6213 /* NSMutableArray+WeakReferences.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB6B01B3B1E6C00DC6213 /* NSMutableArray+WeakReferences.m */; }; - 0E0CB6D11B3B1E6C00DC6213 /* NSMutableDictionary+WeakReferences.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB6B21B3B1E6C00DC6213 /* NSMutableDictionary+WeakReferences.m */; }; - 0E0CB6D21B3B1E6C00DC6213 /* OALAudioFile.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB6B41B3B1E6C00DC6213 /* OALAudioFile.m */; }; - 0E0CB6D31B3B1E6C00DC6213 /* OALTools.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E0CB6B71B3B1E6C00DC6213 /* OALTools.m */; }; - 0E1D34C01B56AB310014C76A /* white_square.png in Resources */ = {isa = PBXBuildFile; fileRef = 0E1D34BF1B56AB310014C76A /* white_square.png */; }; - 0E26A6F11B4A946300C3D15F /* Default-568h@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 0E26A6E71B4A946300C3D15F /* Default-568h@2x.png */; }; - 0E26A6F21B4A946300C3D15F /* Default-Landscape.png in Resources */ = {isa = PBXBuildFile; fileRef = 0E26A6E81B4A946300C3D15F /* Default-Landscape.png */; }; - 0E26A6F31B4A946300C3D15F /* Default.png in Resources */ = {isa = PBXBuildFile; fileRef = 0E26A6E91B4A946300C3D15F /* Default.png */; }; - 0E26A6F41B4A946300C3D15F /* Default@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 0E26A6EA1B4A946300C3D15F /* Default@2x.png */; }; - 0E26A6F51B4A946300C3D15F /* Icon-72.png in Resources */ = {isa = PBXBuildFile; fileRef = 0E26A6EB1B4A946300C3D15F /* Icon-72.png */; }; - 0E26A6F61B4A946300C3D15F /* Icon-Small-50.png in Resources */ = {isa = PBXBuildFile; fileRef = 0E26A6EC1B4A946300C3D15F /* Icon-Small-50.png */; }; - 0E26A6F71B4A946300C3D15F /* Icon-Small.png in Resources */ = {isa = PBXBuildFile; fileRef = 0E26A6ED1B4A946300C3D15F /* Icon-Small.png */; }; - 0E26A6F81B4A946300C3D15F /* Icon-Small@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 0E26A6EE1B4A946300C3D15F /* Icon-Small@2x.png */; }; - 0E26A6F91B4A946300C3D15F /* Icon.png in Resources */ = {isa = PBXBuildFile; fileRef = 0E26A6EF1B4A946300C3D15F /* Icon.png */; }; - 0E26A6FA1B4A946300C3D15F /* Icon@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 0E26A6F01B4A946300C3D15F /* Icon@2x.png */; }; - 0E7B6A0F1B53F56100A453BF /* OpenAL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0E7B6A0E1B53F56100A453BF /* OpenAL.framework */; }; -/* End PBXBuildFile section */ - -/* Begin PBXFileReference section */ - 0E0CB3F91B3B1C8700DC6213 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 0E0CB3FB1B3B1D0D00DC6213 /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; - 0E0CB3FF1B3B1DFB00DC6213 /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = "templates/cocos2d iOS.xctemplate/Classes/AppDelegate.h"; sourceTree = SOURCE_ROOT; }; - 0E0CB4001B3B1DFB00DC6213 /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = "templates/cocos2d iOS.xctemplate/Classes/AppDelegate.m"; sourceTree = SOURCE_ROOT; }; - 0E0CB4031B3B1DFB00DC6213 /* HelloWorldScene.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = HelloWorldScene.h; path = "templates/cocos2d iOS.xctemplate/Classes/HelloWorldScene.h"; sourceTree = SOURCE_ROOT; }; - 0E0CB4041B3B1DFB00DC6213 /* HelloWorldScene.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = HelloWorldScene.m; path = "templates/cocos2d iOS.xctemplate/Classes/HelloWorldScene.m"; sourceTree = SOURCE_ROOT; }; - 0E0CB40A1B3B1E1A00DC6213 /* CCAction.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCAction.h; sourceTree = ""; }; - 0E0CB40B1B3B1E1A00DC6213 /* CCAction.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCAction.m; sourceTree = ""; }; - 0E0CB40C1B3B1E1A00DC6213 /* CCActionCatmullRom.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCActionCatmullRom.h; sourceTree = ""; }; - 0E0CB40D1B3B1E1A00DC6213 /* CCActionCatmullRom.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCActionCatmullRom.m; sourceTree = ""; }; - 0E0CB40E1B3B1E1A00DC6213 /* CCActionEase.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCActionEase.h; sourceTree = ""; }; - 0E0CB40F1B3B1E1A00DC6213 /* CCActionEase.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCActionEase.m; sourceTree = ""; }; - 0E0CB4101B3B1E1A00DC6213 /* CCActionInstant.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCActionInstant.h; sourceTree = ""; }; - 0E0CB4111B3B1E1A00DC6213 /* CCActionInstant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCActionInstant.m; sourceTree = ""; }; - 0E0CB4121B3B1E1A00DC6213 /* CCActionInterval.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCActionInterval.h; sourceTree = ""; }; - 0E0CB4131B3B1E1A00DC6213 /* CCActionInterval.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCActionInterval.m; sourceTree = ""; }; - 0E0CB4141B3B1E1A00DC6213 /* CCActionManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCActionManager.h; sourceTree = ""; }; - 0E0CB4151B3B1E1A00DC6213 /* CCActionManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCActionManager.m; sourceTree = ""; }; - 0E0CB4161B3B1E1A00DC6213 /* CCActionManager_Private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCActionManager_Private.h; sourceTree = ""; }; - 0E0CB4171B3B1E1A00DC6213 /* CCActionProgressTimer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCActionProgressTimer.h; sourceTree = ""; }; - 0E0CB4181B3B1E1A00DC6213 /* CCActionProgressTimer.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCActionProgressTimer.m; sourceTree = ""; }; - 0E0CB4191B3B1E1A00DC6213 /* CCActionTween.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCActionTween.h; sourceTree = ""; }; - 0E0CB41A1B3B1E1A00DC6213 /* CCActionTween.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCActionTween.m; sourceTree = ""; }; - 0E0CB41B1B3B1E1A00DC6213 /* CCAnimation.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCAnimation.h; sourceTree = ""; }; - 0E0CB41C1B3B1E1A00DC6213 /* CCAnimation.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCAnimation.m; sourceTree = ""; }; - 0E0CB41D1B3B1E1A00DC6213 /* CCAnimationCache.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCAnimationCache.h; sourceTree = ""; }; - 0E0CB41E1B3B1E1A00DC6213 /* CCAnimationCache.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCAnimationCache.m; sourceTree = ""; }; - 0E0CB41F1B3B1E1A00DC6213 /* CCCache.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCCache.h; sourceTree = ""; }; - 0E0CB4201B3B1E1A00DC6213 /* CCCache.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCCache.m; sourceTree = ""; }; - 0E0CB4211B3B1E1A00DC6213 /* CCClippingNode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCClippingNode.h; sourceTree = ""; }; - 0E0CB4221B3B1E1A00DC6213 /* CCClippingNode.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCClippingNode.m; sourceTree = ""; }; - 0E0CB4231B3B1E1A00DC6213 /* ccConfig.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ccConfig.h; sourceTree = ""; }; - 0E0CB4241B3B1E1A00DC6213 /* CCConfiguration.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCConfiguration.h; sourceTree = ""; }; - 0E0CB4251B3B1E1A00DC6213 /* CCConfiguration.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCConfiguration.m; sourceTree = ""; }; - 0E0CB4261B3B1E1A00DC6213 /* CCDirector.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCDirector.h; sourceTree = ""; }; - 0E0CB4271B3B1E1A00DC6213 /* CCDirector.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCDirector.m; sourceTree = ""; }; - 0E0CB4281B3B1E1A00DC6213 /* CCDirector_Private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCDirector_Private.h; sourceTree = ""; }; - 0E0CB4291B3B1E1A00DC6213 /* CCDrawNode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCDrawNode.h; sourceTree = ""; }; - 0E0CB42A1B3B1E1A00DC6213 /* CCDrawNode.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCDrawNode.m; sourceTree = ""; }; - 0E0CB42B1B3B1E1A00DC6213 /* CCEffect.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCEffect.h; sourceTree = ""; }; - 0E0CB42C1B3B1E1A00DC6213 /* CCEffect.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCEffect.m; sourceTree = ""; }; - 0E0CB42D1B3B1E1A00DC6213 /* CCEffect_Private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCEffect_Private.h; sourceTree = ""; }; - 0E0CB42E1B3B1E1A00DC6213 /* CCEffectBloom.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCEffectBloom.h; sourceTree = ""; }; - 0E0CB42F1B3B1E1A00DC6213 /* CCEffectBloom.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCEffectBloom.m; sourceTree = ""; }; - 0E0CB4301B3B1E1A00DC6213 /* CCEffectBlur.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCEffectBlur.h; sourceTree = ""; }; - 0E0CB4311B3B1E1A00DC6213 /* CCEffectBlur.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCEffectBlur.m; sourceTree = ""; }; - 0E0CB4321B3B1E1A00DC6213 /* CCEffectBrightness.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCEffectBrightness.h; sourceTree = ""; }; - 0E0CB4331B3B1E1A00DC6213 /* CCEffectBrightness.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCEffectBrightness.m; sourceTree = ""; }; - 0E0CB4341B3B1E1A00DC6213 /* CCEffectColorChannelOffset.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCEffectColorChannelOffset.h; sourceTree = ""; }; - 0E0CB4351B3B1E1A00DC6213 /* CCEffectColorChannelOffset.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCEffectColorChannelOffset.m; sourceTree = ""; }; - 0E0CB4361B3B1E1A00DC6213 /* CCEffectContrast.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCEffectContrast.h; sourceTree = ""; }; - 0E0CB4371B3B1E1A00DC6213 /* CCEffectContrast.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCEffectContrast.m; sourceTree = ""; }; - 0E0CB4381B3B1E1A00DC6213 /* CCEffectDFInnerGlow.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCEffectDFInnerGlow.h; sourceTree = ""; }; - 0E0CB4391B3B1E1A00DC6213 /* CCEffectDFInnerGlow.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCEffectDFInnerGlow.m; sourceTree = ""; }; - 0E0CB43A1B3B1E1A00DC6213 /* CCEffectDFOutline.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCEffectDFOutline.h; sourceTree = ""; }; - 0E0CB43B1B3B1E1A00DC6213 /* CCEffectDFOutline.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCEffectDFOutline.m; sourceTree = ""; }; - 0E0CB43C1B3B1E1A00DC6213 /* CCEffectDistanceField.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCEffectDistanceField.h; sourceTree = ""; }; - 0E0CB43D1B3B1E1A00DC6213 /* CCEffectDistanceField.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCEffectDistanceField.m; sourceTree = ""; }; - 0E0CB43E1B3B1E1A00DC6213 /* CCEffectDropShadow.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCEffectDropShadow.h; sourceTree = ""; }; - 0E0CB43F1B3B1E1A00DC6213 /* CCEffectDropShadow.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCEffectDropShadow.m; sourceTree = ""; }; - 0E0CB4421B3B1E1A00DC6213 /* CCEffectGlass.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCEffectGlass.h; sourceTree = ""; }; - 0E0CB4431B3B1E1A00DC6213 /* CCEffectGlass.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCEffectGlass.m; sourceTree = ""; }; - 0E0CB4441B3B1E1A00DC6213 /* CCEffectHue.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCEffectHue.h; sourceTree = ""; }; - 0E0CB4451B3B1E1A00DC6213 /* CCEffectHue.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCEffectHue.m; sourceTree = ""; }; - 0E0CB4461B3B1E1A00DC6213 /* CCEffectInvert.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCEffectInvert.h; sourceTree = ""; }; - 0E0CB4471B3B1E1A00DC6213 /* CCEffectInvert.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCEffectInvert.m; sourceTree = ""; }; - 0E0CB4481B3B1E1A00DC6213 /* CCEffectLighting.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCEffectLighting.h; sourceTree = ""; }; - 0E0CB4491B3B1E1A00DC6213 /* CCEffectLighting.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCEffectLighting.m; sourceTree = ""; }; - 0E0CB44A1B3B1E1A00DC6213 /* CCEffectNode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCEffectNode.h; sourceTree = ""; }; - 0E0CB44B1B3B1E1A00DC6213 /* CCEffectNode.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCEffectNode.m; sourceTree = ""; }; - 0E0CB44C1B3B1E1A00DC6213 /* CCEffectOutline.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCEffectOutline.h; sourceTree = ""; }; - 0E0CB44D1B3B1E1A00DC6213 /* CCEffectOutline.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCEffectOutline.m; sourceTree = ""; }; - 0E0CB44E1B3B1E1A00DC6213 /* CCEffectPixellate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCEffectPixellate.h; sourceTree = ""; }; - 0E0CB44F1B3B1E1A00DC6213 /* CCEffectPixellate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCEffectPixellate.m; sourceTree = ""; }; - 0E0CB4501B3B1E1A00DC6213 /* CCEffectReflection.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCEffectReflection.h; sourceTree = ""; }; - 0E0CB4511B3B1E1A00DC6213 /* CCEffectReflection.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCEffectReflection.m; sourceTree = ""; }; - 0E0CB4521B3B1E1A00DC6213 /* CCEffectRefraction.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCEffectRefraction.h; sourceTree = ""; }; - 0E0CB4531B3B1E1A00DC6213 /* CCEffectRefraction.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCEffectRefraction.m; sourceTree = ""; }; - 0E0CB4541B3B1E1A00DC6213 /* CCEffectRenderer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCEffectRenderer.h; sourceTree = ""; }; - 0E0CB4551B3B1E1A00DC6213 /* CCEffectRenderer.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCEffectRenderer.m; sourceTree = ""; }; - 0E0CB4561B3B1E1A00DC6213 /* CCEffectSaturation.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCEffectSaturation.h; sourceTree = ""; }; - 0E0CB4571B3B1E1A00DC6213 /* CCEffectSaturation.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCEffectSaturation.m; sourceTree = ""; }; - 0E0CB4581B3B1E1A00DC6213 /* CCEffectStack.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCEffectStack.h; sourceTree = ""; }; - 0E0CB4591B3B1E1A00DC6213 /* CCEffectStack.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCEffectStack.m; sourceTree = ""; }; - 0E0CB45A1B3B1E1A00DC6213 /* CCEffectStack_Private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCEffectStack_Private.h; sourceTree = ""; }; - 0E0CB45B1B3B1E1A00DC6213 /* CCEffectStackProtocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCEffectStackProtocol.h; sourceTree = ""; }; - 0E0CB45C1B3B1E1A00DC6213 /* CCEffectStereo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCEffectStereo.h; sourceTree = ""; }; - 0E0CB45D1B3B1E1A00DC6213 /* CCEffectStereo.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCEffectStereo.m; sourceTree = ""; }; - 0E0CB45E1B3B1E1A00DC6213 /* CCEffectUtils.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCEffectUtils.h; sourceTree = ""; }; - 0E0CB45F1B3B1E1A00DC6213 /* CCEffectUtils.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCEffectUtils.m; sourceTree = ""; }; - 0E0CB4601B3B1E1A00DC6213 /* ccFPSImages.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ccFPSImages.h; sourceTree = ""; }; - 0E0CB4611B3B1E1A00DC6213 /* ccFPSImages.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ccFPSImages.m; sourceTree = ""; }; - 0E0CB4621B3B1E1A00DC6213 /* CCLabelBMFont.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCLabelBMFont.h; sourceTree = ""; }; - 0E0CB4631B3B1E1A00DC6213 /* CCLabelBMFont.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCLabelBMFont.m; sourceTree = ""; }; - 0E0CB4641B3B1E1A00DC6213 /* CCLabelBMFont_Private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCLabelBMFont_Private.h; sourceTree = ""; }; - 0E0CB4651B3B1E1A00DC6213 /* CCLabelTTF.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCLabelTTF.h; sourceTree = ""; }; - 0E0CB4661B3B1E1A00DC6213 /* CCLabelTTF.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCLabelTTF.m; sourceTree = ""; }; - 0E0CB4671B3B1E1A00DC6213 /* CCLayout.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCLayout.h; sourceTree = ""; }; - 0E0CB4681B3B1E1A00DC6213 /* CCLayout.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCLayout.m; sourceTree = ""; }; - 0E0CB4691B3B1E1A00DC6213 /* CCLayoutBox.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCLayoutBox.h; sourceTree = ""; }; - 0E0CB46A1B3B1E1A00DC6213 /* CCLayoutBox.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCLayoutBox.m; sourceTree = ""; }; - 0E0CB46B1B3B1E1A00DC6213 /* CCLightCollection.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCLightCollection.h; sourceTree = ""; }; - 0E0CB46C1B3B1E1A00DC6213 /* CCLightCollection.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCLightCollection.m; sourceTree = ""; }; - 0E0CB46D1B3B1E1A00DC6213 /* CCLightGroups.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCLightGroups.h; sourceTree = ""; }; - 0E0CB46E1B3B1E1A00DC6213 /* CCLightNode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCLightNode.h; sourceTree = ""; }; - 0E0CB46F1B3B1E1A00DC6213 /* CCLightNode.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCLightNode.m; sourceTree = ""; }; - 0E0CB4701B3B1E1A00DC6213 /* CCLightNode_Private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCLightNode_Private.h; sourceTree = ""; }; - 0E0CB4711B3B1E1A00DC6213 /* ccMacros.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ccMacros.h; sourceTree = ""; }; - 0E0CB4721B3B1E1A00DC6213 /* CCMotionStreak.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCMotionStreak.h; sourceTree = ""; }; - 0E0CB4731B3B1E1A00DC6213 /* CCMotionStreak.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCMotionStreak.m; sourceTree = ""; }; - 0E0CB4741B3B1E1A00DC6213 /* CCNoARC.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCNoARC.m; sourceTree = ""; }; - 0E0CB4751B3B1E1A00DC6213 /* CCNode+Debug.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "CCNode+Debug.h"; sourceTree = ""; }; - 0E0CB4761B3B1E1A00DC6213 /* CCNode+Debug.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "CCNode+Debug.m"; sourceTree = ""; }; - 0E0CB4771B3B1E1A00DC6213 /* CCNode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCNode.h; sourceTree = ""; }; - 0E0CB4781B3B1E1A00DC6213 /* CCNode.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCNode.m; sourceTree = ""; }; - 0E0CB4791B3B1E1A00DC6213 /* CCNode_Private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCNode_Private.h; sourceTree = ""; }; - 0E0CB47A1B3B1E1A00DC6213 /* CCNodeColor.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCNodeColor.h; sourceTree = ""; }; - 0E0CB47B1B3B1E1A00DC6213 /* CCNodeColor.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCNodeColor.m; sourceTree = ""; }; - 0E0CB4951B3B1E1A00DC6213 /* CCParallaxNode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCParallaxNode.h; sourceTree = ""; }; - 0E0CB4961B3B1E1A00DC6213 /* CCParallaxNode.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCParallaxNode.m; sourceTree = ""; }; - 0E0CB4971B3B1E1A00DC6213 /* CCParticleBatchNode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCParticleBatchNode.h; sourceTree = ""; }; - 0E0CB4981B3B1E1A00DC6213 /* CCParticleBatchNode.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCParticleBatchNode.m; sourceTree = ""; }; - 0E0CB4991B3B1E1A00DC6213 /* CCParticleExamples.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCParticleExamples.h; sourceTree = ""; }; - 0E0CB49A1B3B1E1A00DC6213 /* CCParticleExamples.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCParticleExamples.m; sourceTree = ""; }; - 0E0CB49B1B3B1E1A00DC6213 /* CCParticleSystem.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCParticleSystem.h; sourceTree = ""; }; - 0E0CB49C1B3B1E1A00DC6213 /* CCParticleSystem.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCParticleSystem.m; sourceTree = ""; }; - 0E0CB49D1B3B1E1A00DC6213 /* CCParticleSystem_Private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCParticleSystem_Private.h; sourceTree = ""; }; - 0E0CB49E1B3B1E1A00DC6213 /* CCParticleSystemBase.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCParticleSystemBase.h; sourceTree = ""; }; - 0E0CB49F1B3B1E1A00DC6213 /* CCParticleSystemBase.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCParticleSystemBase.m; sourceTree = ""; }; - 0E0CB4A01B3B1E1A00DC6213 /* CCParticleSystemBase_Private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCParticleSystemBase_Private.h; sourceTree = ""; }; - 0E0CB4A11B3B1E1A00DC6213 /* CCPhysics+ObjectiveChipmunk.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "CCPhysics+ObjectiveChipmunk.h"; sourceTree = ""; }; - 0E0CB4A21B3B1E1A00DC6213 /* CCPhysicsBody.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCPhysicsBody.h; sourceTree = ""; }; - 0E0CB4A31B3B1E1A00DC6213 /* CCPhysicsBody.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCPhysicsBody.m; sourceTree = ""; }; - 0E0CB4A41B3B1E1A00DC6213 /* CCPhysicsJoint.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCPhysicsJoint.h; sourceTree = ""; }; - 0E0CB4A51B3B1E1A00DC6213 /* CCPhysicsJoint.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCPhysicsJoint.m; sourceTree = ""; }; - 0E0CB4A61B3B1E1A00DC6213 /* CCPhysicsNode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCPhysicsNode.h; sourceTree = ""; }; - 0E0CB4A71B3B1E1A00DC6213 /* CCPhysicsNode.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCPhysicsNode.m; sourceTree = ""; }; - 0E0CB4A81B3B1E1A00DC6213 /* CCPhysicsShape.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCPhysicsShape.h; sourceTree = ""; }; - 0E0CB4A91B3B1E1A00DC6213 /* CCPhysicsShape.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCPhysicsShape.m; sourceTree = ""; }; - 0E0CB4AA1B3B1E1A00DC6213 /* CCProgressNode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCProgressNode.h; sourceTree = ""; }; - 0E0CB4AB1B3B1E1A00DC6213 /* CCProgressNode.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCProgressNode.m; sourceTree = ""; }; - 0E0CB4AC1B3B1E1A00DC6213 /* CCProgressNode_Private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCProgressNode_Private.h; sourceTree = ""; }; - 0E0CB4AD1B3B1E1A00DC6213 /* CCProtocols.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCProtocols.h; sourceTree = ""; }; - 0E0CB4AE1B3B1E1A00DC6213 /* CCRenderDispatch.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCRenderDispatch.h; sourceTree = ""; }; - 0E0CB4AF1B3B1E1A00DC6213 /* CCRenderDispatch.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCRenderDispatch.m; sourceTree = ""; }; - 0E0CB4B01B3B1E1A00DC6213 /* CCRenderer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCRenderer.h; sourceTree = ""; }; - 0E0CB4B11B3B1E1A00DC6213 /* CCRenderer.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCRenderer.m; sourceTree = ""; }; - 0E0CB4B21B3B1E1A00DC6213 /* CCRenderer_Private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCRenderer_Private.h; sourceTree = ""; }; - 0E0CB4B31B3B1E1B00DC6213 /* CCRendererBasicTypes.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCRendererBasicTypes.h; sourceTree = ""; }; - 0E0CB4B41B3B1E1B00DC6213 /* CCRendererBasicTypes.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCRendererBasicTypes.m; sourceTree = ""; }; - 0E0CB4B51B3B1E1B00DC6213 /* CCRendererBasicTypes_Private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCRendererBasicTypes_Private.h; sourceTree = ""; }; - 0E0CB4B61B3B1E1B00DC6213 /* CCRendererGLSupport.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCRendererGLSupport.m; sourceTree = ""; }; - 0E0CB4B71B3B1E1B00DC6213 /* CCRendererSharedTypes.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCRendererSharedTypes.h; sourceTree = ""; }; - 0E0CB4B81B3B1E1B00DC6213 /* CCRenderTexture.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCRenderTexture.h; sourceTree = ""; }; - 0E0CB4B91B3B1E1B00DC6213 /* CCRenderTexture.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCRenderTexture.m; sourceTree = ""; }; - 0E0CB4BA1B3B1E1B00DC6213 /* CCRenderTexture_Private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCRenderTexture_Private.h; sourceTree = ""; }; - 0E0CB4BB1B3B1E1B00DC6213 /* CCResponder.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCResponder.h; sourceTree = ""; }; - 0E0CB4BC1B3B1E1B00DC6213 /* CCResponder.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCResponder.m; sourceTree = ""; }; - 0E0CB4BD1B3B1E1B00DC6213 /* CCResponderManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCResponderManager.h; sourceTree = ""; }; - 0E0CB4BE1B3B1E1B00DC6213 /* CCResponderManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCResponderManager.m; sourceTree = ""; }; - 0E0CB4BF1B3B1E1B00DC6213 /* CCScene.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCScene.h; sourceTree = ""; }; - 0E0CB4C01B3B1E1B00DC6213 /* CCScene.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCScene.m; sourceTree = ""; }; - 0E0CB4C11B3B1E1B00DC6213 /* CCScheduler.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCScheduler.h; sourceTree = ""; }; - 0E0CB4C21B3B1E1B00DC6213 /* CCScheduler.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCScheduler.m; sourceTree = ""; }; - 0E0CB4C31B3B1E1B00DC6213 /* CCShader.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCShader.h; sourceTree = ""; }; - 0E0CB4C41B3B1E1B00DC6213 /* CCShader.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCShader.m; sourceTree = ""; }; - 0E0CB4C51B3B1E1B00DC6213 /* CCShader_Private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCShader_Private.h; sourceTree = ""; }; - 0E0CB4C61B3B1E1B00DC6213 /* CCSprite.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCSprite.h; sourceTree = ""; }; - 0E0CB4C71B3B1E1B00DC6213 /* CCSprite.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCSprite.m; sourceTree = ""; }; - 0E0CB4C81B3B1E1B00DC6213 /* CCSprite9Slice.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCSprite9Slice.h; sourceTree = ""; }; - 0E0CB4C91B3B1E1B00DC6213 /* CCSprite9Slice.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCSprite9Slice.m; sourceTree = ""; }; - 0E0CB4CA1B3B1E1B00DC6213 /* CCSprite_Private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCSprite_Private.h; sourceTree = ""; }; - 0E0CB4CB1B3B1E1B00DC6213 /* CCSpriteBatchNode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCSpriteBatchNode.h; sourceTree = ""; }; - 0E0CB4CC1B3B1E1B00DC6213 /* CCSpriteBatchNode.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCSpriteBatchNode.m; sourceTree = ""; }; - 0E0CB4CD1B3B1E1B00DC6213 /* CCSpriteFrame.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCSpriteFrame.h; sourceTree = ""; }; - 0E0CB4CE1B3B1E1B00DC6213 /* CCSpriteFrame.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCSpriteFrame.m; sourceTree = ""; }; - 0E0CB4CF1B3B1E1B00DC6213 /* CCSpriteFrameCache.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCSpriteFrameCache.h; sourceTree = ""; }; - 0E0CB4D01B3B1E1B00DC6213 /* CCSpriteFrameCache.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCSpriteFrameCache.m; sourceTree = ""; }; - 0E0CB4D11B3B1E1B00DC6213 /* CCTexture.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCTexture.h; sourceTree = ""; }; - 0E0CB4D21B3B1E1B00DC6213 /* CCTexture.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCTexture.m; sourceTree = ""; }; - 0E0CB4D31B3B1E1B00DC6213 /* CCTexture_Private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCTexture_Private.h; sourceTree = ""; }; - 0E0CB4D41B3B1E1B00DC6213 /* CCTextureCache.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCTextureCache.h; sourceTree = ""; }; - 0E0CB4D51B3B1E1B00DC6213 /* CCTextureCache.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCTextureCache.m; sourceTree = ""; }; - 0E0CB4D61B3B1E1B00DC6213 /* CCTexturePVR.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCTexturePVR.h; sourceTree = ""; }; - 0E0CB4D71B3B1E1B00DC6213 /* CCTexturePVR.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCTexturePVR.m; sourceTree = ""; }; - 0E0CB4D81B3B1E1B00DC6213 /* CCTiledMap.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCTiledMap.h; sourceTree = ""; }; - 0E0CB4D91B3B1E1B00DC6213 /* CCTiledMap.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCTiledMap.m; sourceTree = ""; }; - 0E0CB4DA1B3B1E1B00DC6213 /* CCTiledMapLayer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCTiledMapLayer.h; sourceTree = ""; }; - 0E0CB4DB1B3B1E1B00DC6213 /* CCTiledMapLayer.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCTiledMapLayer.m; sourceTree = ""; }; - 0E0CB4DC1B3B1E1B00DC6213 /* CCTiledMapLayer_Private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCTiledMapLayer_Private.h; sourceTree = ""; }; - 0E0CB4DD1B3B1E1B00DC6213 /* CCTiledMapObjectGroup.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCTiledMapObjectGroup.h; sourceTree = ""; }; - 0E0CB4DE1B3B1E1B00DC6213 /* CCTiledMapObjectGroup.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCTiledMapObjectGroup.m; sourceTree = ""; }; - 0E0CB4DF1B3B1E1B00DC6213 /* CCTMXXMLParser.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCTMXXMLParser.h; sourceTree = ""; }; - 0E0CB4E01B3B1E1B00DC6213 /* CCTMXXMLParser.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCTMXXMLParser.m; sourceTree = ""; }; - 0E0CB4E11B3B1E1B00DC6213 /* CCTouch.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCTouch.h; sourceTree = ""; }; - 0E0CB4E21B3B1E1B00DC6213 /* CCTouch.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCTouch.m; sourceTree = ""; }; - 0E0CB4E31B3B1E1B00DC6213 /* CCTouchEvent.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCTouchEvent.h; sourceTree = ""; }; - 0E0CB4E41B3B1E1B00DC6213 /* CCTouchEvent.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCTouchEvent.m; sourceTree = ""; }; - 0E0CB4E51B3B1E1B00DC6213 /* CCTransition.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCTransition.h; sourceTree = ""; }; - 0E0CB4E61B3B1E1B00DC6213 /* CCTransition.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCTransition.m; sourceTree = ""; }; - 0E0CB4E71B3B1E1B00DC6213 /* ccTypes.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ccTypes.h; sourceTree = ""; }; - 0E0CB4E81B3B1E1B00DC6213 /* cocos2d.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = cocos2d.h; sourceTree = ""; }; - 0E0CB4E91B3B1E1B00DC6213 /* cocos2d.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = cocos2d.m; sourceTree = ""; }; - 0E0CB4EA1B3B1E1B00DC6213 /* NSValue+CCRenderer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSValue+CCRenderer.h"; sourceTree = ""; }; - 0E0CB4EB1B3B1E1B00DC6213 /* NSValue+CCRenderer.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSValue+CCRenderer.m"; sourceTree = ""; }; - 0E0CB5081B3B1E1B00DC6213 /* CCDirectorView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCDirectorView.h; sourceTree = ""; }; - 0E0CB5091B3B1E1B00DC6213 /* CCGL.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCGL.h; sourceTree = ""; }; - 0E0CB50A1B3B1E1B00DC6213 /* CCNS.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCNS.h; sourceTree = ""; }; - 0E0CB50B1B3B1E1B00DC6213 /* CCRenderDispatch_Private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCRenderDispatch_Private.h; sourceTree = ""; }; - 0E0CB50D1B3B1E1B00DC6213 /* CCAppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCAppDelegate.h; sourceTree = ""; }; - 0E0CB50E1B3B1E1B00DC6213 /* CCAppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCAppDelegate.m; sourceTree = ""; }; - 0E0CB50F1B3B1E1B00DC6213 /* CCDirectorIOS.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCDirectorIOS.h; sourceTree = ""; }; - 0E0CB5101B3B1E1B00DC6213 /* CCDirectorIOS.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCDirectorIOS.m; sourceTree = ""; }; - 0E0CB5111B3B1E1B00DC6213 /* CCGLView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCGLView.h; sourceTree = ""; }; - 0E0CB5121B3B1E1B00DC6213 /* CCGLView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCGLView.m; sourceTree = ""; }; - 0E0CB5131B3B1E1B00DC6213 /* CCMetalSupport.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCMetalSupport.m; sourceTree = ""; }; - 0E0CB5141B3B1E1B00DC6213 /* CCMetalSupport_Private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCMetalSupport_Private.h; sourceTree = ""; }; - 0E0CB5151B3B1E1B00DC6213 /* CCMetalView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCMetalView.h; sourceTree = ""; }; - 0E0CB5161B3B1E1B00DC6213 /* CCMetalView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCMetalView.m; sourceTree = ""; }; - 0E0CB5171B3B1E1B00DC6213 /* CCShaders.metal */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.metal; path = CCShaders.metal; sourceTree = ""; }; - 0E0CB5181B3B1E1B00DC6213 /* CCTouchIOS.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCTouchIOS.h; sourceTree = ""; }; - 0E0CB5191B3B1E1B00DC6213 /* CCTouchIOS.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCTouchIOS.m; sourceTree = ""; }; - 0E0CB51A1B3B1E1B00DC6213 /* UITouch+CC.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UITouch+CC.h"; sourceTree = ""; }; - 0E0CB51B1B3B1E1B00DC6213 /* UITouch+CC.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UITouch+CC.m"; sourceTree = ""; }; - 0E0CB51D1B3B1E1B00DC6213 /* CCDirectorMac.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCDirectorMac.h; sourceTree = ""; }; - 0E0CB51E1B3B1E1B00DC6213 /* CCDirectorMac.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCDirectorMac.m; sourceTree = ""; }; - 0E0CB51F1B3B1E1B00DC6213 /* CCGLView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCGLView.h; sourceTree = ""; }; - 0E0CB5201B3B1E1B00DC6213 /* CCGLView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCGLView.m; sourceTree = ""; }; - 0E0CB5211B3B1E1B00DC6213 /* CCWindow.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCWindow.h; sourceTree = ""; }; - 0E0CB5221B3B1E1B00DC6213 /* CCWindow.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCWindow.m; sourceTree = ""; }; - 0E0CB5231B3B1E1B00DC6213 /* NSEvent+CC.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSEvent+CC.h"; sourceTree = ""; }; - 0E0CB5241B3B1E1B00DC6213 /* NSEvent+CC.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSEvent+CC.m"; sourceTree = ""; }; - 0E0CB5261B3B1E1B00DC6213 /* base64.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = base64.c; sourceTree = ""; }; - 0E0CB5271B3B1E1B00DC6213 /* base64.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = base64.h; sourceTree = ""; }; - 0E0CB5281B3B1E1B00DC6213 /* CCColor.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCColor.h; sourceTree = ""; }; - 0E0CB5291B3B1E1B00DC6213 /* CCColor.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCColor.m; sourceTree = ""; }; - 0E0CB52A1B3B1E1B00DC6213 /* CCFileUtils.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCFileUtils.h; sourceTree = ""; }; - 0E0CB52B1B3B1E1B00DC6213 /* CCFileUtils.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCFileUtils.m; sourceTree = ""; }; - 0E0CB52C1B3B1E1B00DC6213 /* CCProfiling.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCProfiling.h; sourceTree = ""; }; - 0E0CB52D1B3B1E1B00DC6213 /* CCProfiling.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCProfiling.m; sourceTree = ""; }; - 0E0CB52E1B3B1E1B00DC6213 /* ccUtils.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = ccUtils.c; sourceTree = ""; }; - 0E0CB52F1B3B1E1B00DC6213 /* ccUtils.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ccUtils.h; sourceTree = ""; }; - 0E0CB5301B3B1E1B00DC6213 /* CCVertex.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCVertex.h; sourceTree = ""; }; - 0E0CB5311B3B1E1B00DC6213 /* CCVertex.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCVertex.m; sourceTree = ""; }; - 0E0CB5321B3B1E1B00DC6213 /* CGPointExtension.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CGPointExtension.h; sourceTree = ""; }; - 0E0CB5331B3B1E1B00DC6213 /* CGPointExtension.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CGPointExtension.m; sourceTree = ""; }; - 0E0CB5341B3B1E1B00DC6213 /* NSAttributedString+CCAdditions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSAttributedString+CCAdditions.h"; sourceTree = ""; }; - 0E0CB5351B3B1E1B00DC6213 /* NSAttributedString+CCAdditions.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSAttributedString+CCAdditions.m"; sourceTree = ""; }; - 0E0CB5361B3B1E1B00DC6213 /* NSThread+performBlock.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSThread+performBlock.h"; sourceTree = ""; }; - 0E0CB5371B3B1E1B00DC6213 /* NSThread+performBlock.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSThread+performBlock.m"; sourceTree = ""; }; - 0E0CB5381B3B1E1B00DC6213 /* TGAlib.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TGAlib.h; sourceTree = ""; }; - 0E0CB5391B3B1E1B00DC6213 /* TGAlib.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = TGAlib.m; sourceTree = ""; }; - 0E0CB53A1B3B1E1B00DC6213 /* uthash.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = uthash.h; sourceTree = ""; }; - 0E0CB53B1B3B1E1B00DC6213 /* utlist.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = utlist.h; sourceTree = ""; }; - 0E0CB53C1B3B1E1B00DC6213 /* ZipUtils.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ZipUtils.h; sourceTree = ""; }; - 0E0CB53D1B3B1E1B00DC6213 /* ZipUtils.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ZipUtils.m; sourceTree = ""; }; - 0E0CB5C31B3B1E2300DC6213 /* CCAnimationManager+FrameAnimation.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "CCAnimationManager+FrameAnimation.h"; sourceTree = ""; }; - 0E0CB5C41B3B1E2300DC6213 /* CCAnimationManager+FrameAnimation.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "CCAnimationManager+FrameAnimation.m"; sourceTree = ""; }; - 0E0CB5C51B3B1E2300DC6213 /* CCAnimationManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCAnimationManager.h; sourceTree = ""; }; - 0E0CB5C61B3B1E2300DC6213 /* CCAnimationManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCAnimationManager.m; sourceTree = ""; }; - 0E0CB5C71B3B1E2300DC6213 /* CCAnimationManager_Private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCAnimationManager_Private.h; sourceTree = ""; }; - 0E0CB5C81B3B1E2300DC6213 /* CCBAnimationManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCBAnimationManager.h; sourceTree = ""; }; - 0E0CB5C91B3B1E2300DC6213 /* CCBAnimationManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCBAnimationManager.m; sourceTree = ""; }; - 0E0CB5CA1B3B1E2300DC6213 /* CCBKeyframe.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCBKeyframe.h; sourceTree = ""; }; - 0E0CB5CB1B3B1E2300DC6213 /* CCBKeyframe.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCBKeyframe.m; sourceTree = ""; }; - 0E0CB5CC1B3B1E2300DC6213 /* CCBLocalizationManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCBLocalizationManager.h; sourceTree = ""; }; - 0E0CB5CD1B3B1E2300DC6213 /* CCBLocalizationManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCBLocalizationManager.m; sourceTree = ""; }; - 0E0CB5CE1B3B1E2300DC6213 /* CCBReader.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCBReader.h; sourceTree = ""; }; - 0E0CB5CF1B3B1E2300DC6213 /* CCBReader.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCBReader.m; sourceTree = ""; }; - 0E0CB5D01B3B1E2300DC6213 /* CCBReader_Private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCBReader_Private.h; sourceTree = ""; }; - 0E0CB5D11B3B1E2300DC6213 /* CCBSequence.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCBSequence.h; sourceTree = ""; }; - 0E0CB5D21B3B1E2300DC6213 /* CCBsequence.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCBsequence.m; sourceTree = ""; }; - 0E0CB5D31B3B1E2300DC6213 /* CCBSequenceProperty.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCBSequenceProperty.h; sourceTree = ""; }; - 0E0CB5D41B3B1E2300DC6213 /* CCBSequenceProperty.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCBSequenceProperty.m; sourceTree = ""; }; - 0E0CB5D51B3B1E2300DC6213 /* CCBuilderReader.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCBuilderReader.h; sourceTree = ""; }; - 0E0CB5D61B3B1E2300DC6213 /* CCButton.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCButton.h; sourceTree = ""; }; - 0E0CB5D71B3B1E2300DC6213 /* CCButton.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCButton.m; sourceTree = ""; }; - 0E0CB5D81B3B1E2300DC6213 /* CCControl.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCControl.h; sourceTree = ""; }; - 0E0CB5D91B3B1E2300DC6213 /* CCControl.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCControl.m; sourceTree = ""; }; - 0E0CB5DA1B3B1E2300DC6213 /* CCControlSubclass.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCControlSubclass.h; sourceTree = ""; }; - 0E0CB5DB1B3B1E2300DC6213 /* CCControlTextureFactory.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCControlTextureFactory.h; sourceTree = ""; }; - 0E0CB5DC1B3B1E2300DC6213 /* CCControlTextureFactory.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCControlTextureFactory.m; sourceTree = ""; }; - 0E0CB5DD1B3B1E2300DC6213 /* CCScrollView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCScrollView.h; sourceTree = ""; }; - 0E0CB5DE1B3B1E2300DC6213 /* CCScrollView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCScrollView.m; sourceTree = ""; }; - 0E0CB5DF1B3B1E2300DC6213 /* CCSlider.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCSlider.h; sourceTree = ""; }; - 0E0CB5E01B3B1E2300DC6213 /* CCSlider.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCSlider.m; sourceTree = ""; }; - 0E0CB5E11B3B1E2300DC6213 /* CCTableView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCTableView.h; sourceTree = ""; }; - 0E0CB5E21B3B1E2300DC6213 /* CCTableView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCTableView.m; sourceTree = ""; }; - 0E0CB5E31B3B1E2300DC6213 /* CCTextField.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCTextField.h; sourceTree = ""; }; - 0E0CB5E41B3B1E2300DC6213 /* CCTextField.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCTextField.m; sourceTree = ""; }; - 0E0CB5E51B3B1E2300DC6213 /* cocos2d-ui.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "cocos2d-ui.h"; sourceTree = ""; }; - 0E0CB5ED1B3B1E2300DC6213 /* CCPlatformTextField.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCPlatformTextField.h; sourceTree = ""; }; - 0E0CB5EE1B3B1E2300DC6213 /* CCPlatformTextField.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCPlatformTextField.m; sourceTree = ""; }; - 0E0CB5F01B3B1E2300DC6213 /* CCPlatformTextFieldIOS.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCPlatformTextFieldIOS.h; sourceTree = ""; }; - 0E0CB5F11B3B1E2300DC6213 /* CCPlatformTextFieldIOS.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCPlatformTextFieldIOS.m; sourceTree = ""; }; - 0E0CB5F31B3B1E2300DC6213 /* CCPlatformTextFieldMac.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCPlatformTextFieldMac.h; sourceTree = ""; }; - 0E0CB5F41B3B1E2300DC6213 /* CCPlatformTextFieldMac.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCPlatformTextFieldMac.m; sourceTree = ""; }; - 0E0CB60C1B3B1E5700DC6213 /* chipmunk.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = chipmunk.h; sourceTree = ""; }; - 0E0CB60D1B3B1E5700DC6213 /* chipmunk_ffi.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = chipmunk_ffi.h; sourceTree = ""; }; - 0E0CB60E1B3B1E5700DC6213 /* chipmunk_private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = chipmunk_private.h; sourceTree = ""; }; - 0E0CB60F1B3B1E5700DC6213 /* chipmunk_types.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = chipmunk_types.h; sourceTree = ""; }; - 0E0CB6101B3B1E5700DC6213 /* chipmunk_unsafe.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = chipmunk_unsafe.h; sourceTree = ""; }; - 0E0CB6111B3B1E5700DC6213 /* cpArbiter.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = cpArbiter.h; sourceTree = ""; }; - 0E0CB6121B3B1E5700DC6213 /* cpBB.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = cpBB.h; sourceTree = ""; }; - 0E0CB6131B3B1E5700DC6213 /* cpBody.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = cpBody.h; sourceTree = ""; }; - 0E0CB6141B3B1E5700DC6213 /* cpConstraint.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = cpConstraint.h; sourceTree = ""; }; - 0E0CB6151B3B1E5700DC6213 /* cpDampedRotarySpring.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = cpDampedRotarySpring.h; sourceTree = ""; }; - 0E0CB6161B3B1E5700DC6213 /* cpDampedSpring.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = cpDampedSpring.h; sourceTree = ""; }; - 0E0CB6171B3B1E5700DC6213 /* cpGearJoint.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = cpGearJoint.h; sourceTree = ""; }; - 0E0CB6181B3B1E5700DC6213 /* cpGrooveJoint.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = cpGrooveJoint.h; sourceTree = ""; }; - 0E0CB6191B3B1E5700DC6213 /* cpPinJoint.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = cpPinJoint.h; sourceTree = ""; }; - 0E0CB61A1B3B1E5700DC6213 /* cpPivotJoint.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = cpPivotJoint.h; sourceTree = ""; }; - 0E0CB61B1B3B1E5700DC6213 /* cpPolyShape.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = cpPolyShape.h; sourceTree = ""; }; - 0E0CB61C1B3B1E5700DC6213 /* cpRatchetJoint.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = cpRatchetJoint.h; sourceTree = ""; }; - 0E0CB61D1B3B1E5700DC6213 /* cpRotaryLimitJoint.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = cpRotaryLimitJoint.h; sourceTree = ""; }; - 0E0CB61E1B3B1E5700DC6213 /* cpShape.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = cpShape.h; sourceTree = ""; }; - 0E0CB61F1B3B1E5700DC6213 /* cpSimpleMotor.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = cpSimpleMotor.h; sourceTree = ""; }; - 0E0CB6201B3B1E5700DC6213 /* cpSlideJoint.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = cpSlideJoint.h; sourceTree = ""; }; - 0E0CB6211B3B1E5700DC6213 /* cpSpace.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = cpSpace.h; sourceTree = ""; }; - 0E0CB6221B3B1E5700DC6213 /* cpSpatialIndex.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = cpSpatialIndex.h; sourceTree = ""; }; - 0E0CB6231B3B1E5700DC6213 /* cpTransform.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = cpTransform.h; sourceTree = ""; }; - 0E0CB6241B3B1E5700DC6213 /* cpVect.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = cpVect.h; sourceTree = ""; }; - 0E0CB6281B3B1E5700DC6213 /* ChipmunkBody.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ChipmunkBody.h; sourceTree = ""; }; - 0E0CB6291B3B1E5700DC6213 /* ChipmunkConstraint.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ChipmunkConstraint.h; sourceTree = ""; }; - 0E0CB62A1B3B1E5700DC6213 /* ChipmunkExtras.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ChipmunkExtras.h; sourceTree = ""; }; - 0E0CB62B1B3B1E5700DC6213 /* ChipmunkMultiGrab.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ChipmunkMultiGrab.h; sourceTree = ""; }; - 0E0CB62C1B3B1E5700DC6213 /* ChipmunkShape.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ChipmunkShape.h; sourceTree = ""; }; - 0E0CB62D1B3B1E5700DC6213 /* ChipmunkSpace.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ChipmunkSpace.h; sourceTree = ""; }; - 0E0CB62E1B3B1E5700DC6213 /* ObjectiveChipmunk.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ObjectiveChipmunk.h; sourceTree = ""; }; - 0E0CB6301B3B1E5700DC6213 /* ChipmunkBody.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ChipmunkBody.m; sourceTree = ""; }; - 0E0CB6311B3B1E5700DC6213 /* ChipmunkConstraint.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ChipmunkConstraint.m; sourceTree = ""; }; - 0E0CB6321B3B1E5700DC6213 /* ChipmunkMultiGrab.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ChipmunkMultiGrab.m; sourceTree = ""; }; - 0E0CB6331B3B1E5700DC6213 /* ChipmunkShape.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ChipmunkShape.m; sourceTree = ""; }; - 0E0CB6341B3B1E5700DC6213 /* ChipmunkSpace.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ChipmunkSpace.m; sourceTree = ""; }; - 0E0CB6361B3B1E5700DC6213 /* chipmunk.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = chipmunk.c; sourceTree = ""; }; - 0E0CB6371B3B1E5700DC6213 /* CMakeLists.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = CMakeLists.txt; sourceTree = ""; }; - 0E0CB6381B3B1E5700DC6213 /* cpArbiter.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = cpArbiter.c; sourceTree = ""; }; - 0E0CB6391B3B1E5700DC6213 /* cpArray.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = cpArray.c; sourceTree = ""; }; - 0E0CB63A1B3B1E5700DC6213 /* cpBBTree.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = cpBBTree.c; sourceTree = ""; }; - 0E0CB63B1B3B1E5700DC6213 /* cpBody.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = cpBody.c; sourceTree = ""; }; - 0E0CB63C1B3B1E5700DC6213 /* cpCollision.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = cpCollision.c; sourceTree = ""; }; - 0E0CB63D1B3B1E5700DC6213 /* cpConstraint.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = cpConstraint.c; sourceTree = ""; }; - 0E0CB63E1B3B1E5700DC6213 /* cpDampedRotarySpring.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = cpDampedRotarySpring.c; sourceTree = ""; }; - 0E0CB63F1B3B1E5700DC6213 /* cpDampedSpring.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = cpDampedSpring.c; sourceTree = ""; }; - 0E0CB6401B3B1E5700DC6213 /* cpGearJoint.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = cpGearJoint.c; sourceTree = ""; }; - 0E0CB6411B3B1E5700DC6213 /* cpGrooveJoint.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = cpGrooveJoint.c; sourceTree = ""; }; - 0E0CB6421B3B1E5700DC6213 /* cpHashSet.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = cpHashSet.c; sourceTree = ""; }; - 0E0CB6431B3B1E5700DC6213 /* cpPinJoint.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = cpPinJoint.c; sourceTree = ""; }; - 0E0CB6441B3B1E5700DC6213 /* cpPivotJoint.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = cpPivotJoint.c; sourceTree = ""; }; - 0E0CB6451B3B1E5700DC6213 /* cpPolyShape.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = cpPolyShape.c; sourceTree = ""; }; - 0E0CB6461B3B1E5700DC6213 /* cpRatchetJoint.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = cpRatchetJoint.c; sourceTree = ""; }; - 0E0CB6471B3B1E5700DC6213 /* cpRotaryLimitJoint.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = cpRotaryLimitJoint.c; sourceTree = ""; }; - 0E0CB6481B3B1E5700DC6213 /* cpShape.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = cpShape.c; sourceTree = ""; }; - 0E0CB6491B3B1E5700DC6213 /* cpSimpleMotor.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = cpSimpleMotor.c; sourceTree = ""; }; - 0E0CB64A1B3B1E5700DC6213 /* cpSlideJoint.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = cpSlideJoint.c; sourceTree = ""; }; - 0E0CB64B1B3B1E5700DC6213 /* cpSpace.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = cpSpace.c; sourceTree = ""; }; - 0E0CB64C1B3B1E5700DC6213 /* cpSpaceComponent.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = cpSpaceComponent.c; sourceTree = ""; }; - 0E0CB64D1B3B1E5700DC6213 /* cpSpaceDebug.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = cpSpaceDebug.c; sourceTree = ""; }; - 0E0CB64E1B3B1E5700DC6213 /* cpSpaceHash.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = cpSpaceHash.c; sourceTree = ""; }; - 0E0CB64F1B3B1E5700DC6213 /* cpSpaceQuery.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = cpSpaceQuery.c; sourceTree = ""; }; - 0E0CB6501B3B1E5700DC6213 /* cpSpaceStep.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = cpSpaceStep.c; sourceTree = ""; }; - 0E0CB6511B3B1E5700DC6213 /* cpSpatialIndex.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = cpSpatialIndex.c; sourceTree = ""; }; - 0E0CB6521B3B1E5700DC6213 /* cpSweep1D.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = cpSweep1D.c; sourceTree = ""; }; - 0E0CB6531B3B1E5700DC6213 /* prime.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = prime.h; sourceTree = ""; }; - 0E0CB6781B3B1E6C00DC6213 /* OALAction+Private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "OALAction+Private.h"; sourceTree = ""; }; - 0E0CB6791B3B1E6C00DC6213 /* OALAction.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OALAction.h; sourceTree = ""; }; - 0E0CB67A1B3B1E6C00DC6213 /* OALAction.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = OALAction.m; sourceTree = ""; }; - 0E0CB67B1B3B1E6C00DC6213 /* OALActionManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OALActionManager.h; sourceTree = ""; }; - 0E0CB67C1B3B1E6C00DC6213 /* OALActionManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = OALActionManager.m; sourceTree = ""; }; - 0E0CB67D1B3B1E6C00DC6213 /* OALAudioActions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OALAudioActions.h; sourceTree = ""; }; - 0E0CB67E1B3B1E6C00DC6213 /* OALAudioActions.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = OALAudioActions.m; sourceTree = ""; }; - 0E0CB67F1B3B1E6C00DC6213 /* OALUtilityActions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OALUtilityActions.h; sourceTree = ""; }; - 0E0CB6801B3B1E6C00DC6213 /* OALUtilityActions.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = OALUtilityActions.m; sourceTree = ""; }; - 0E0CB6821B3B1E6C00DC6213 /* OALAudioTrack.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OALAudioTrack.h; sourceTree = ""; }; - 0E0CB6831B3B1E6C00DC6213 /* OALAudioTrack.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = OALAudioTrack.m; sourceTree = ""; }; - 0E0CB6841B3B1E6C00DC6213 /* OALAudioTrackNotifications.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OALAudioTrackNotifications.h; sourceTree = ""; }; - 0E0CB6851B3B1E6C00DC6213 /* OALAudioTrackNotifications.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = OALAudioTrackNotifications.m; sourceTree = ""; }; - 0E0CB6861B3B1E6C00DC6213 /* OALAudioTracks.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OALAudioTracks.h; sourceTree = ""; }; - 0E0CB6871B3B1E6C00DC6213 /* OALAudioTracks.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = OALAudioTracks.m; sourceTree = ""; }; - 0E0CB6881B3B1E6C00DC6213 /* OALSimpleAudio.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OALSimpleAudio.h; sourceTree = ""; }; - 0E0CB6891B3B1E6C00DC6213 /* OALSimpleAudio.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = OALSimpleAudio.m; sourceTree = ""; }; - 0E0CB68A1B3B1E6C00DC6213 /* ObjectAL (iOS)-Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "ObjectAL (iOS)-Prefix.pch"; sourceTree = ""; }; - 0E0CB68B1B3B1E6C00DC6213 /* ObjectAL.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ObjectAL.h; sourceTree = ""; }; - 0E0CB68C1B3B1E6C00DC6213 /* ObjectALConfig.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ObjectALConfig.h; sourceTree = ""; }; - 0E0CB68E1B3B1E6C00DC6213 /* ALBuffer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ALBuffer.h; sourceTree = ""; }; - 0E0CB68F1B3B1E6C00DC6213 /* ALBuffer.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ALBuffer.m; sourceTree = ""; }; - 0E0CB6901B3B1E6C00DC6213 /* ALCaptureDevice.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ALCaptureDevice.h; sourceTree = ""; }; - 0E0CB6911B3B1E6C00DC6213 /* ALCaptureDevice.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ALCaptureDevice.m; sourceTree = ""; }; - 0E0CB6921B3B1E6C00DC6213 /* ALChannelSource.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ALChannelSource.h; sourceTree = ""; }; - 0E0CB6931B3B1E6C00DC6213 /* ALChannelSource.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ALChannelSource.m; sourceTree = ""; }; - 0E0CB6941B3B1E6C00DC6213 /* ALContext.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ALContext.h; sourceTree = ""; }; - 0E0CB6951B3B1E6C00DC6213 /* ALContext.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ALContext.m; sourceTree = ""; }; - 0E0CB6961B3B1E6C00DC6213 /* ALDevice.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ALDevice.h; sourceTree = ""; }; - 0E0CB6971B3B1E6C00DC6213 /* ALDevice.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ALDevice.m; sourceTree = ""; }; - 0E0CB6981B3B1E6C00DC6213 /* ALListener.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ALListener.h; sourceTree = ""; }; - 0E0CB6991B3B1E6C00DC6213 /* ALListener.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ALListener.m; sourceTree = ""; }; - 0E0CB69A1B3B1E6C00DC6213 /* ALSoundSource.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ALSoundSource.h; sourceTree = ""; }; - 0E0CB69B1B3B1E6C00DC6213 /* ALSoundSourcePool.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ALSoundSourcePool.h; sourceTree = ""; }; - 0E0CB69C1B3B1E6C00DC6213 /* ALSoundSourcePool.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ALSoundSourcePool.m; sourceTree = ""; }; - 0E0CB69D1B3B1E6C00DC6213 /* ALSource.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ALSource.h; sourceTree = ""; }; - 0E0CB69E1B3B1E6C00DC6213 /* ALSource.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ALSource.m; sourceTree = ""; }; - 0E0CB69F1B3B1E6C00DC6213 /* ALTypes.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ALTypes.h; sourceTree = ""; }; - 0E0CB6A01B3B1E6C00DC6213 /* ALWrapper.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ALWrapper.h; sourceTree = ""; }; - 0E0CB6A11B3B1E6C00DC6213 /* ALWrapper.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ALWrapper.m; sourceTree = ""; }; - 0E0CB6A21B3B1E6C00DC6213 /* OpenALManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OpenALManager.h; sourceTree = ""; }; - 0E0CB6A31B3B1E6C00DC6213 /* OpenALManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = OpenALManager.m; sourceTree = ""; }; - 0E0CB6A51B3B1E6C00DC6213 /* OALAudioSession.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OALAudioSession.h; sourceTree = ""; }; - 0E0CB6A61B3B1E6C00DC6213 /* OALAudioSession.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = OALAudioSession.m; sourceTree = ""; }; - 0E0CB6A71B3B1E6C00DC6213 /* OALSuspendHandler.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OALSuspendHandler.h; sourceTree = ""; }; - 0E0CB6A81B3B1E6C00DC6213 /* OALSuspendHandler.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = OALSuspendHandler.m; sourceTree = ""; }; - 0E0CB6AA1B3B1E6C00DC6213 /* ARCSafe_MemMgmt.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ARCSafe_MemMgmt.h; sourceTree = ""; }; - 0E0CB6AB1B3B1E6C00DC6213 /* IOSVersion.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = IOSVersion.h; sourceTree = ""; }; - 0E0CB6AC1B3B1E6C00DC6213 /* IOSVersion.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = IOSVersion.m; sourceTree = ""; }; - 0E0CB6AD1B3B1E6C00DC6213 /* mach_timing.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = mach_timing.c; sourceTree = ""; }; - 0E0CB6AE1B3B1E6C00DC6213 /* mach_timing.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = mach_timing.h; sourceTree = ""; }; - 0E0CB6AF1B3B1E6C00DC6213 /* NSMutableArray+WeakReferences.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSMutableArray+WeakReferences.h"; sourceTree = ""; }; - 0E0CB6B01B3B1E6C00DC6213 /* NSMutableArray+WeakReferences.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSMutableArray+WeakReferences.m"; sourceTree = ""; }; - 0E0CB6B11B3B1E6C00DC6213 /* NSMutableDictionary+WeakReferences.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSMutableDictionary+WeakReferences.h"; sourceTree = ""; }; - 0E0CB6B21B3B1E6C00DC6213 /* NSMutableDictionary+WeakReferences.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSMutableDictionary+WeakReferences.m"; sourceTree = ""; }; - 0E0CB6B31B3B1E6C00DC6213 /* OALAudioFile.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OALAudioFile.h; sourceTree = ""; }; - 0E0CB6B41B3B1E6C00DC6213 /* OALAudioFile.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = OALAudioFile.m; sourceTree = ""; }; - 0E0CB6B51B3B1E6C00DC6213 /* OALNotifications.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OALNotifications.h; sourceTree = ""; }; - 0E0CB6B61B3B1E6C00DC6213 /* OALTools.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OALTools.h; sourceTree = ""; }; - 0E0CB6B71B3B1E6C00DC6213 /* OALTools.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = OALTools.m; sourceTree = ""; }; - 0E0CB6B81B3B1E6C00DC6213 /* ObjectALMacros.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ObjectALMacros.h; sourceTree = ""; }; - 0E0CB6B91B3B1E6C00DC6213 /* SynthesizeSingleton.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SynthesizeSingleton.h; sourceTree = ""; }; - 0E0CB6D41B3B1F8C00DC6213 /* Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Prefix.pch; sourceTree = ""; }; - 0E1D34BF1B56AB310014C76A /* white_square.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = white_square.png; path = "templates/cocos2d iOS.xctemplate/Resources/white_square.png"; sourceTree = ""; }; - 0E26A6E71B4A946300C3D15F /* Default-568h@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = "Default-568h@2x.png"; path = "../Resources/Default-568h@2x.png"; sourceTree = ""; }; - 0E26A6E81B4A946300C3D15F /* Default-Landscape.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = "Default-Landscape.png"; path = "../Resources/Default-Landscape.png"; sourceTree = ""; }; - 0E26A6E91B4A946300C3D15F /* Default.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = Default.png; path = ../Resources/Default.png; sourceTree = ""; }; - 0E26A6EA1B4A946300C3D15F /* Default@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = "Default@2x.png"; path = "../Resources/Default@2x.png"; sourceTree = ""; }; - 0E26A6EB1B4A946300C3D15F /* Icon-72.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = "Icon-72.png"; path = "../Resources/Icon-72.png"; sourceTree = ""; }; - 0E26A6EC1B4A946300C3D15F /* Icon-Small-50.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = "Icon-Small-50.png"; path = "../Resources/Icon-Small-50.png"; sourceTree = ""; }; - 0E26A6ED1B4A946300C3D15F /* Icon-Small.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = "Icon-Small.png"; path = "../Resources/Icon-Small.png"; sourceTree = ""; }; - 0E26A6EE1B4A946300C3D15F /* Icon-Small@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = "Icon-Small@2x.png"; path = "../Resources/Icon-Small@2x.png"; sourceTree = ""; }; - 0E26A6EF1B4A946300C3D15F /* Icon.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = Icon.png; path = ../Resources/Icon.png; sourceTree = ""; }; - 0E26A6F01B4A946300C3D15F /* Icon@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = "Icon@2x.png"; path = "../Resources/Icon@2x.png"; sourceTree = ""; }; - 0E6B406A1B3B1BF9006FB98A /* cocos2d-template.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "cocos2d-template.app"; sourceTree = BUILT_PRODUCTS_DIR; }; - 0E6B406E1B3B1BF9006FB98A /* libObjectiveChipmunk.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libObjectiveChipmunk.a; sourceTree = BUILT_PRODUCTS_DIR; }; - 0E7B6A0E1B53F56100A453BF /* OpenAL.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = OpenAL.framework; path = System/Library/Frameworks/OpenAL.framework; sourceTree = SDKROOT; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - 0E6B40671B3B1BF9006FB98A /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 0E7B6A0F1B53F56100A453BF /* OpenAL.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 0E0CB3FE1B3B1D3100DC6213 /* Resources */ = { - isa = PBXGroup; - children = ( - 0E1D34BF1B56AB310014C76A /* white_square.png */, - ); - name = Resources; - sourceTree = ""; - }; - 0E0CB4081B3B1E0700DC6213 /* Libraries */ = { - isa = PBXGroup; - children = ( - 0E0CB4091B3B1E1A00DC6213 /* cocos2d */, - 0E0CB6761B3B1E6C00DC6213 /* ObjectAL */, - 0E0CB5C11B3B1E2300DC6213 /* cocos2d-ui */, - 0E0CB6091B3B1E3C00DC6213 /* Chipmunk */, - ); - name = Libraries; - sourceTree = ""; - }; - 0E0CB4091B3B1E1A00DC6213 /* cocos2d */ = { - isa = PBXGroup; - children = ( - 0ED5FCCA1B4AF017001874AD /* Unused */, - 0E26A6FE1B4ABADA00C3D15F /* Base Types */, - 0E8287EB1B4A8C8B00E34977 /* Base Nodes */, - 0E0CB40A1B3B1E1A00DC6213 /* CCAction.h */, - 0E0CB40B1B3B1E1A00DC6213 /* CCAction.m */, - 0E0CB40C1B3B1E1A00DC6213 /* CCActionCatmullRom.h */, - 0E0CB40D1B3B1E1A00DC6213 /* CCActionCatmullRom.m */, - 0E0CB40E1B3B1E1A00DC6213 /* CCActionEase.h */, - 0E0CB40F1B3B1E1A00DC6213 /* CCActionEase.m */, - 0E0CB4101B3B1E1A00DC6213 /* CCActionInstant.h */, - 0E0CB4111B3B1E1A00DC6213 /* CCActionInstant.m */, - 0E0CB4121B3B1E1A00DC6213 /* CCActionInterval.h */, - 0E0CB4131B3B1E1A00DC6213 /* CCActionInterval.m */, - 0E0CB4141B3B1E1A00DC6213 /* CCActionManager.h */, - 0E0CB4151B3B1E1A00DC6213 /* CCActionManager.m */, - 0E0CB4161B3B1E1A00DC6213 /* CCActionManager_Private.h */, - 0E0CB4171B3B1E1A00DC6213 /* CCActionProgressTimer.h */, - 0E0CB4181B3B1E1A00DC6213 /* CCActionProgressTimer.m */, - 0E0CB4191B3B1E1A00DC6213 /* CCActionTween.h */, - 0E0CB41A1B3B1E1A00DC6213 /* CCActionTween.m */, - 0E0CB41B1B3B1E1A00DC6213 /* CCAnimation.h */, - 0E0CB41C1B3B1E1A00DC6213 /* CCAnimation.m */, - 0E0CB41D1B3B1E1A00DC6213 /* CCAnimationCache.h */, - 0E0CB41E1B3B1E1A00DC6213 /* CCAnimationCache.m */, - 0E0CB41F1B3B1E1A00DC6213 /* CCCache.h */, - 0E0CB4201B3B1E1A00DC6213 /* CCCache.m */, - 0E0CB4211B3B1E1A00DC6213 /* CCClippingNode.h */, - 0E0CB4221B3B1E1A00DC6213 /* CCClippingNode.m */, - 0E0CB4241B3B1E1A00DC6213 /* CCConfiguration.h */, - 0E0CB4251B3B1E1A00DC6213 /* CCConfiguration.m */, - 0E0CB4261B3B1E1A00DC6213 /* CCDirector.h */, - 0E0CB4271B3B1E1A00DC6213 /* CCDirector.m */, - 0E0CB4281B3B1E1A00DC6213 /* CCDirector_Private.h */, - 0E0CB4291B3B1E1A00DC6213 /* CCDrawNode.h */, - 0E0CB42A1B3B1E1A00DC6213 /* CCDrawNode.m */, - 0E0CB42B1B3B1E1A00DC6213 /* CCEffect.h */, - 0E0CB42C1B3B1E1A00DC6213 /* CCEffect.m */, - 0E0CB42D1B3B1E1A00DC6213 /* CCEffect_Private.h */, - 0E0CB42E1B3B1E1A00DC6213 /* CCEffectBloom.h */, - 0E0CB42F1B3B1E1A00DC6213 /* CCEffectBloom.m */, - 0E0CB4301B3B1E1A00DC6213 /* CCEffectBlur.h */, - 0E0CB4311B3B1E1A00DC6213 /* CCEffectBlur.m */, - 0E0CB4321B3B1E1A00DC6213 /* CCEffectBrightness.h */, - 0E0CB4331B3B1E1A00DC6213 /* CCEffectBrightness.m */, - 0E0CB4341B3B1E1A00DC6213 /* CCEffectColorChannelOffset.h */, - 0E0CB4351B3B1E1A00DC6213 /* CCEffectColorChannelOffset.m */, - 0E0CB4361B3B1E1A00DC6213 /* CCEffectContrast.h */, - 0E0CB4371B3B1E1A00DC6213 /* CCEffectContrast.m */, - 0E0CB4381B3B1E1A00DC6213 /* CCEffectDFInnerGlow.h */, - 0E0CB4391B3B1E1A00DC6213 /* CCEffectDFInnerGlow.m */, - 0E0CB43A1B3B1E1A00DC6213 /* CCEffectDFOutline.h */, - 0E0CB43B1B3B1E1A00DC6213 /* CCEffectDFOutline.m */, - 0E0CB43C1B3B1E1A00DC6213 /* CCEffectDistanceField.h */, - 0E0CB43D1B3B1E1A00DC6213 /* CCEffectDistanceField.m */, - 0E0CB43E1B3B1E1A00DC6213 /* CCEffectDropShadow.h */, - 0E0CB43F1B3B1E1A00DC6213 /* CCEffectDropShadow.m */, - 0E0CB4421B3B1E1A00DC6213 /* CCEffectGlass.h */, - 0E0CB4431B3B1E1A00DC6213 /* CCEffectGlass.m */, - 0E0CB4441B3B1E1A00DC6213 /* CCEffectHue.h */, - 0E0CB4451B3B1E1A00DC6213 /* CCEffectHue.m */, - 0E0CB4461B3B1E1A00DC6213 /* CCEffectInvert.h */, - 0E0CB4471B3B1E1A00DC6213 /* CCEffectInvert.m */, - 0E0CB4481B3B1E1A00DC6213 /* CCEffectLighting.h */, - 0E0CB4491B3B1E1A00DC6213 /* CCEffectLighting.m */, - 0E0CB44A1B3B1E1A00DC6213 /* CCEffectNode.h */, - 0E0CB44B1B3B1E1A00DC6213 /* CCEffectNode.m */, - 0E0CB44C1B3B1E1A00DC6213 /* CCEffectOutline.h */, - 0E0CB44D1B3B1E1A00DC6213 /* CCEffectOutline.m */, - 0E0CB44E1B3B1E1A00DC6213 /* CCEffectPixellate.h */, - 0E0CB44F1B3B1E1A00DC6213 /* CCEffectPixellate.m */, - 0E0CB4501B3B1E1A00DC6213 /* CCEffectReflection.h */, - 0E0CB4511B3B1E1A00DC6213 /* CCEffectReflection.m */, - 0E0CB4521B3B1E1A00DC6213 /* CCEffectRefraction.h */, - 0E0CB4531B3B1E1A00DC6213 /* CCEffectRefraction.m */, - 0E0CB4541B3B1E1A00DC6213 /* CCEffectRenderer.h */, - 0E0CB4551B3B1E1A00DC6213 /* CCEffectRenderer.m */, - 0E0CB4561B3B1E1A00DC6213 /* CCEffectSaturation.h */, - 0E0CB4571B3B1E1A00DC6213 /* CCEffectSaturation.m */, - 0E0CB4581B3B1E1A00DC6213 /* CCEffectStack.h */, - 0E0CB4591B3B1E1A00DC6213 /* CCEffectStack.m */, - 0E0CB45A1B3B1E1A00DC6213 /* CCEffectStack_Private.h */, - 0E0CB45B1B3B1E1A00DC6213 /* CCEffectStackProtocol.h */, - 0E0CB45C1B3B1E1A00DC6213 /* CCEffectStereo.h */, - 0E0CB45D1B3B1E1A00DC6213 /* CCEffectStereo.m */, - 0E0CB45E1B3B1E1A00DC6213 /* CCEffectUtils.h */, - 0E0CB45F1B3B1E1A00DC6213 /* CCEffectUtils.m */, - 0E0CB4601B3B1E1A00DC6213 /* ccFPSImages.h */, - 0E0CB4611B3B1E1A00DC6213 /* ccFPSImages.m */, - 0E0CB4621B3B1E1A00DC6213 /* CCLabelBMFont.h */, - 0E0CB4631B3B1E1A00DC6213 /* CCLabelBMFont.m */, - 0E0CB4641B3B1E1A00DC6213 /* CCLabelBMFont_Private.h */, - 0E0CB4651B3B1E1A00DC6213 /* CCLabelTTF.h */, - 0E0CB4661B3B1E1A00DC6213 /* CCLabelTTF.m */, - 0E0CB4671B3B1E1A00DC6213 /* CCLayout.h */, - 0E0CB4681B3B1E1A00DC6213 /* CCLayout.m */, - 0E0CB4691B3B1E1A00DC6213 /* CCLayoutBox.h */, - 0E0CB46A1B3B1E1A00DC6213 /* CCLayoutBox.m */, - 0E0CB46B1B3B1E1A00DC6213 /* CCLightCollection.h */, - 0E0CB46C1B3B1E1A00DC6213 /* CCLightCollection.m */, - 0E0CB46D1B3B1E1A00DC6213 /* CCLightGroups.h */, - 0E0CB46E1B3B1E1A00DC6213 /* CCLightNode.h */, - 0E0CB46F1B3B1E1A00DC6213 /* CCLightNode.m */, - 0E0CB4701B3B1E1A00DC6213 /* CCLightNode_Private.h */, - 0E0CB4711B3B1E1A00DC6213 /* ccMacros.h */, - 0E0CB4721B3B1E1A00DC6213 /* CCMotionStreak.h */, - 0E0CB4731B3B1E1A00DC6213 /* CCMotionStreak.m */, - 0E0CB4741B3B1E1A00DC6213 /* CCNoARC.m */, - 0E0CB47A1B3B1E1A00DC6213 /* CCNodeColor.h */, - 0E0CB47B1B3B1E1A00DC6213 /* CCNodeColor.m */, - 0E0CB4951B3B1E1A00DC6213 /* CCParallaxNode.h */, - 0E0CB4961B3B1E1A00DC6213 /* CCParallaxNode.m */, - 0E0CB4971B3B1E1A00DC6213 /* CCParticleBatchNode.h */, - 0E0CB4981B3B1E1A00DC6213 /* CCParticleBatchNode.m */, - 0E0CB4991B3B1E1A00DC6213 /* CCParticleExamples.h */, - 0E0CB49A1B3B1E1A00DC6213 /* CCParticleExamples.m */, - 0E0CB49B1B3B1E1A00DC6213 /* CCParticleSystem.h */, - 0E0CB49C1B3B1E1A00DC6213 /* CCParticleSystem.m */, - 0E0CB49D1B3B1E1A00DC6213 /* CCParticleSystem_Private.h */, - 0E0CB49E1B3B1E1A00DC6213 /* CCParticleSystemBase.h */, - 0E0CB49F1B3B1E1A00DC6213 /* CCParticleSystemBase.m */, - 0E0CB4A01B3B1E1A00DC6213 /* CCParticleSystemBase_Private.h */, - 0E0CB4A11B3B1E1A00DC6213 /* CCPhysics+ObjectiveChipmunk.h */, - 0E0CB4A21B3B1E1A00DC6213 /* CCPhysicsBody.h */, - 0E0CB4A31B3B1E1A00DC6213 /* CCPhysicsBody.m */, - 0E0CB4A41B3B1E1A00DC6213 /* CCPhysicsJoint.h */, - 0E0CB4A51B3B1E1A00DC6213 /* CCPhysicsJoint.m */, - 0E0CB4A61B3B1E1A00DC6213 /* CCPhysicsNode.h */, - 0E0CB4A71B3B1E1A00DC6213 /* CCPhysicsNode.m */, - 0E0CB4A81B3B1E1A00DC6213 /* CCPhysicsShape.h */, - 0E0CB4A91B3B1E1A00DC6213 /* CCPhysicsShape.m */, - 0E0CB4AA1B3B1E1A00DC6213 /* CCProgressNode.h */, - 0E0CB4AB1B3B1E1A00DC6213 /* CCProgressNode.m */, - 0E0CB4AC1B3B1E1A00DC6213 /* CCProgressNode_Private.h */, - 0E0CB4AD1B3B1E1A00DC6213 /* CCProtocols.h */, - 0E0CB4AE1B3B1E1A00DC6213 /* CCRenderDispatch.h */, - 0E0CB4AF1B3B1E1A00DC6213 /* CCRenderDispatch.m */, - 0E0CB4B01B3B1E1A00DC6213 /* CCRenderer.h */, - 0E0CB4B11B3B1E1A00DC6213 /* CCRenderer.m */, - 0E0CB4B21B3B1E1A00DC6213 /* CCRenderer_Private.h */, - 0E0CB4B31B3B1E1B00DC6213 /* CCRendererBasicTypes.h */, - 0E0CB4B41B3B1E1B00DC6213 /* CCRendererBasicTypes.m */, - 0E0CB4B51B3B1E1B00DC6213 /* CCRendererBasicTypes_Private.h */, - 0E0CB4B61B3B1E1B00DC6213 /* CCRendererGLSupport.m */, - 0E0CB4B71B3B1E1B00DC6213 /* CCRendererSharedTypes.h */, - 0E0CB4B81B3B1E1B00DC6213 /* CCRenderTexture.h */, - 0E0CB4B91B3B1E1B00DC6213 /* CCRenderTexture.m */, - 0E0CB4BA1B3B1E1B00DC6213 /* CCRenderTexture_Private.h */, - 0E0CB4BB1B3B1E1B00DC6213 /* CCResponder.h */, - 0E0CB4BC1B3B1E1B00DC6213 /* CCResponder.m */, - 0E0CB4BD1B3B1E1B00DC6213 /* CCResponderManager.h */, - 0E0CB4BE1B3B1E1B00DC6213 /* CCResponderManager.m */, - 0E0CB4BF1B3B1E1B00DC6213 /* CCScene.h */, - 0E0CB4C01B3B1E1B00DC6213 /* CCScene.m */, - 0E0CB4C11B3B1E1B00DC6213 /* CCScheduler.h */, - 0E0CB4C21B3B1E1B00DC6213 /* CCScheduler.m */, - 0E0CB4C31B3B1E1B00DC6213 /* CCShader.h */, - 0E0CB4C41B3B1E1B00DC6213 /* CCShader.m */, - 0E0CB4C51B3B1E1B00DC6213 /* CCShader_Private.h */, - 0E0CB4C61B3B1E1B00DC6213 /* CCSprite.h */, - 0E0CB4C71B3B1E1B00DC6213 /* CCSprite.m */, - 0E0CB4C81B3B1E1B00DC6213 /* CCSprite9Slice.h */, - 0E0CB4C91B3B1E1B00DC6213 /* CCSprite9Slice.m */, - 0E0CB4CA1B3B1E1B00DC6213 /* CCSprite_Private.h */, - 0E0CB4CB1B3B1E1B00DC6213 /* CCSpriteBatchNode.h */, - 0E0CB4CC1B3B1E1B00DC6213 /* CCSpriteBatchNode.m */, - 0E0CB4CD1B3B1E1B00DC6213 /* CCSpriteFrame.h */, - 0E0CB4CE1B3B1E1B00DC6213 /* CCSpriteFrame.m */, - 0E0CB4CF1B3B1E1B00DC6213 /* CCSpriteFrameCache.h */, - 0E0CB4D01B3B1E1B00DC6213 /* CCSpriteFrameCache.m */, - 0E0CB4D11B3B1E1B00DC6213 /* CCTexture.h */, - 0E0CB4D21B3B1E1B00DC6213 /* CCTexture.m */, - 0E0CB4D31B3B1E1B00DC6213 /* CCTexture_Private.h */, - 0E0CB4D41B3B1E1B00DC6213 /* CCTextureCache.h */, - 0E0CB4D51B3B1E1B00DC6213 /* CCTextureCache.m */, - 0E0CB4D61B3B1E1B00DC6213 /* CCTexturePVR.h */, - 0E0CB4D71B3B1E1B00DC6213 /* CCTexturePVR.m */, - 0E0CB4D81B3B1E1B00DC6213 /* CCTiledMap.h */, - 0E0CB4D91B3B1E1B00DC6213 /* CCTiledMap.m */, - 0E0CB4DA1B3B1E1B00DC6213 /* CCTiledMapLayer.h */, - 0E0CB4DB1B3B1E1B00DC6213 /* CCTiledMapLayer.m */, - 0E0CB4DC1B3B1E1B00DC6213 /* CCTiledMapLayer_Private.h */, - 0E0CB4DD1B3B1E1B00DC6213 /* CCTiledMapObjectGroup.h */, - 0E0CB4DE1B3B1E1B00DC6213 /* CCTiledMapObjectGroup.m */, - 0E0CB4DF1B3B1E1B00DC6213 /* CCTMXXMLParser.h */, - 0E0CB4E01B3B1E1B00DC6213 /* CCTMXXMLParser.m */, - 0E0CB4E11B3B1E1B00DC6213 /* CCTouch.h */, - 0E0CB4E21B3B1E1B00DC6213 /* CCTouch.m */, - 0E0CB4E31B3B1E1B00DC6213 /* CCTouchEvent.h */, - 0E0CB4E41B3B1E1B00DC6213 /* CCTouchEvent.m */, - 0E0CB4E51B3B1E1B00DC6213 /* CCTransition.h */, - 0E0CB4E61B3B1E1B00DC6213 /* CCTransition.m */, - 0E0CB4E71B3B1E1B00DC6213 /* ccTypes.h */, - 0E0CB4E81B3B1E1B00DC6213 /* cocos2d.h */, - 0E0CB4E91B3B1E1B00DC6213 /* cocos2d.m */, - 0E0CB4EA1B3B1E1B00DC6213 /* NSValue+CCRenderer.h */, - 0E0CB4EB1B3B1E1B00DC6213 /* NSValue+CCRenderer.m */, - 0E0CB4EC1B3B1E1B00DC6213 /* Platforms */, - 0E0CB5251B3B1E1B00DC6213 /* Support */, - ); - path = cocos2d; - sourceTree = ""; - }; - 0E0CB4EC1B3B1E1B00DC6213 /* Platforms */ = { - isa = PBXGroup; - children = ( - 0E0CB5081B3B1E1B00DC6213 /* CCDirectorView.h */, - 0E0CB5091B3B1E1B00DC6213 /* CCGL.h */, - 0E0CB50A1B3B1E1B00DC6213 /* CCNS.h */, - 0E0CB50B1B3B1E1B00DC6213 /* CCRenderDispatch_Private.h */, - 0E0CB50C1B3B1E1B00DC6213 /* iOS */, - 0E0CB51C1B3B1E1B00DC6213 /* Mac */, - ); - path = Platforms; - sourceTree = ""; - }; - 0E0CB50C1B3B1E1B00DC6213 /* iOS */ = { - isa = PBXGroup; - children = ( - 0E0CB50D1B3B1E1B00DC6213 /* CCAppDelegate.h */, - 0E0CB50E1B3B1E1B00DC6213 /* CCAppDelegate.m */, - 0E0CB50F1B3B1E1B00DC6213 /* CCDirectorIOS.h */, - 0E0CB5101B3B1E1B00DC6213 /* CCDirectorIOS.m */, - 0E0CB5111B3B1E1B00DC6213 /* CCGLView.h */, - 0E0CB5121B3B1E1B00DC6213 /* CCGLView.m */, - 0E0CB5131B3B1E1B00DC6213 /* CCMetalSupport.m */, - 0E0CB5141B3B1E1B00DC6213 /* CCMetalSupport_Private.h */, - 0E0CB5151B3B1E1B00DC6213 /* CCMetalView.h */, - 0E0CB5161B3B1E1B00DC6213 /* CCMetalView.m */, - 0E0CB5171B3B1E1B00DC6213 /* CCShaders.metal */, - 0E0CB5181B3B1E1B00DC6213 /* CCTouchIOS.h */, - 0E0CB5191B3B1E1B00DC6213 /* CCTouchIOS.m */, - 0E0CB51A1B3B1E1B00DC6213 /* UITouch+CC.h */, - 0E0CB51B1B3B1E1B00DC6213 /* UITouch+CC.m */, - ); - path = iOS; - sourceTree = ""; - }; - 0E0CB51C1B3B1E1B00DC6213 /* Mac */ = { - isa = PBXGroup; - children = ( - 0E0CB51D1B3B1E1B00DC6213 /* CCDirectorMac.h */, - 0E0CB51E1B3B1E1B00DC6213 /* CCDirectorMac.m */, - 0E0CB51F1B3B1E1B00DC6213 /* CCGLView.h */, - 0E0CB5201B3B1E1B00DC6213 /* CCGLView.m */, - 0E0CB5211B3B1E1B00DC6213 /* CCWindow.h */, - 0E0CB5221B3B1E1B00DC6213 /* CCWindow.m */, - 0E0CB5231B3B1E1B00DC6213 /* NSEvent+CC.h */, - 0E0CB5241B3B1E1B00DC6213 /* NSEvent+CC.m */, - ); - path = Mac; - sourceTree = ""; - }; - 0E0CB5251B3B1E1B00DC6213 /* Support */ = { - isa = PBXGroup; - children = ( - 0E0CB5261B3B1E1B00DC6213 /* base64.c */, - 0E0CB5271B3B1E1B00DC6213 /* base64.h */, - 0E0CB5281B3B1E1B00DC6213 /* CCColor.h */, - 0E0CB5291B3B1E1B00DC6213 /* CCColor.m */, - 0E0CB52A1B3B1E1B00DC6213 /* CCFileUtils.h */, - 0E0CB52B1B3B1E1B00DC6213 /* CCFileUtils.m */, - 0E0CB52C1B3B1E1B00DC6213 /* CCProfiling.h */, - 0E0CB52D1B3B1E1B00DC6213 /* CCProfiling.m */, - 0E0CB52E1B3B1E1B00DC6213 /* ccUtils.c */, - 0E0CB52F1B3B1E1B00DC6213 /* ccUtils.h */, - 0E0CB5301B3B1E1B00DC6213 /* CCVertex.h */, - 0E0CB5311B3B1E1B00DC6213 /* CCVertex.m */, - 0E0CB5321B3B1E1B00DC6213 /* CGPointExtension.h */, - 0E0CB5331B3B1E1B00DC6213 /* CGPointExtension.m */, - 0E0CB5341B3B1E1B00DC6213 /* NSAttributedString+CCAdditions.h */, - 0E0CB5351B3B1E1B00DC6213 /* NSAttributedString+CCAdditions.m */, - 0E0CB5361B3B1E1B00DC6213 /* NSThread+performBlock.h */, - 0E0CB5371B3B1E1B00DC6213 /* NSThread+performBlock.m */, - 0E0CB5381B3B1E1B00DC6213 /* TGAlib.h */, - 0E0CB5391B3B1E1B00DC6213 /* TGAlib.m */, - 0E0CB53A1B3B1E1B00DC6213 /* uthash.h */, - 0E0CB53B1B3B1E1B00DC6213 /* utlist.h */, - 0E0CB53C1B3B1E1B00DC6213 /* ZipUtils.h */, - 0E0CB53D1B3B1E1B00DC6213 /* ZipUtils.m */, - ); - path = Support; - sourceTree = ""; - }; - 0E0CB5C11B3B1E2300DC6213 /* cocos2d-ui */ = { - isa = PBXGroup; - children = ( - 0E0CB5C21B3B1E2300DC6213 /* CCBReader */, - 0E0CB5D61B3B1E2300DC6213 /* CCButton.h */, - 0E0CB5D71B3B1E2300DC6213 /* CCButton.m */, - 0E0CB5D81B3B1E2300DC6213 /* CCControl.h */, - 0E0CB5D91B3B1E2300DC6213 /* CCControl.m */, - 0E0CB5DA1B3B1E2300DC6213 /* CCControlSubclass.h */, - 0E0CB5DB1B3B1E2300DC6213 /* CCControlTextureFactory.h */, - 0E0CB5DC1B3B1E2300DC6213 /* CCControlTextureFactory.m */, - 0E0CB5DD1B3B1E2300DC6213 /* CCScrollView.h */, - 0E0CB5DE1B3B1E2300DC6213 /* CCScrollView.m */, - 0E0CB5DF1B3B1E2300DC6213 /* CCSlider.h */, - 0E0CB5E01B3B1E2300DC6213 /* CCSlider.m */, - 0E0CB5E11B3B1E2300DC6213 /* CCTableView.h */, - 0E0CB5E21B3B1E2300DC6213 /* CCTableView.m */, - 0E0CB5E31B3B1E2300DC6213 /* CCTextField.h */, - 0E0CB5E41B3B1E2300DC6213 /* CCTextField.m */, - 0E0CB5E51B3B1E2300DC6213 /* cocos2d-ui.h */, - 0E0CB5E61B3B1E2300DC6213 /* Platform */, - ); - path = "cocos2d-ui"; - sourceTree = ""; - }; - 0E0CB5C21B3B1E2300DC6213 /* CCBReader */ = { - isa = PBXGroup; - children = ( - 0E0CB5C31B3B1E2300DC6213 /* CCAnimationManager+FrameAnimation.h */, - 0E0CB5C41B3B1E2300DC6213 /* CCAnimationManager+FrameAnimation.m */, - 0E0CB5C51B3B1E2300DC6213 /* CCAnimationManager.h */, - 0E0CB5C61B3B1E2300DC6213 /* CCAnimationManager.m */, - 0E0CB5C71B3B1E2300DC6213 /* CCAnimationManager_Private.h */, - 0E0CB5C81B3B1E2300DC6213 /* CCBAnimationManager.h */, - 0E0CB5C91B3B1E2300DC6213 /* CCBAnimationManager.m */, - 0E0CB5CA1B3B1E2300DC6213 /* CCBKeyframe.h */, - 0E0CB5CB1B3B1E2300DC6213 /* CCBKeyframe.m */, - 0E0CB5CC1B3B1E2300DC6213 /* CCBLocalizationManager.h */, - 0E0CB5CD1B3B1E2300DC6213 /* CCBLocalizationManager.m */, - 0E0CB5CE1B3B1E2300DC6213 /* CCBReader.h */, - 0E0CB5CF1B3B1E2300DC6213 /* CCBReader.m */, - 0E0CB5D01B3B1E2300DC6213 /* CCBReader_Private.h */, - 0E0CB5D11B3B1E2300DC6213 /* CCBSequence.h */, - 0E0CB5D21B3B1E2300DC6213 /* CCBsequence.m */, - 0E0CB5D31B3B1E2300DC6213 /* CCBSequenceProperty.h */, - 0E0CB5D41B3B1E2300DC6213 /* CCBSequenceProperty.m */, - 0E0CB5D51B3B1E2300DC6213 /* CCBuilderReader.h */, - ); - path = CCBReader; - sourceTree = ""; - }; - 0E0CB5E61B3B1E2300DC6213 /* Platform */ = { - isa = PBXGroup; - children = ( - 0E0CB5ED1B3B1E2300DC6213 /* CCPlatformTextField.h */, - 0E0CB5EE1B3B1E2300DC6213 /* CCPlatformTextField.m */, - 0E0CB5EF1B3B1E2300DC6213 /* iOS */, - 0E0CB5F21B3B1E2300DC6213 /* Mac */, - ); - path = Platform; - sourceTree = ""; - }; - 0E0CB5EF1B3B1E2300DC6213 /* iOS */ = { - isa = PBXGroup; - children = ( - 0E0CB5F01B3B1E2300DC6213 /* CCPlatformTextFieldIOS.h */, - 0E0CB5F11B3B1E2300DC6213 /* CCPlatformTextFieldIOS.m */, - ); - path = iOS; - sourceTree = ""; - }; - 0E0CB5F21B3B1E2300DC6213 /* Mac */ = { - isa = PBXGroup; - children = ( - 0E0CB5F31B3B1E2300DC6213 /* CCPlatformTextFieldMac.h */, - 0E0CB5F41B3B1E2300DC6213 /* CCPlatformTextFieldMac.m */, - ); - path = Mac; - sourceTree = ""; - }; - 0E0CB6091B3B1E3C00DC6213 /* Chipmunk */ = { - isa = PBXGroup; - children = ( - 0E0CB60A1B3B1E5700DC6213 /* include */, - 0E0CB6251B3B1E5700DC6213 /* objectivec */, - 0E0CB6351B3B1E5700DC6213 /* src */, - ); - name = Chipmunk; - sourceTree = ""; - }; - 0E0CB60A1B3B1E5700DC6213 /* include */ = { - isa = PBXGroup; - children = ( - 0E0CB60B1B3B1E5700DC6213 /* chipmunk */, - ); - name = include; - path = external/Chipmunk/include; - sourceTree = ""; - }; - 0E0CB60B1B3B1E5700DC6213 /* chipmunk */ = { - isa = PBXGroup; - children = ( - 0E0CB60C1B3B1E5700DC6213 /* chipmunk.h */, - 0E0CB60D1B3B1E5700DC6213 /* chipmunk_ffi.h */, - 0E0CB60E1B3B1E5700DC6213 /* chipmunk_private.h */, - 0E0CB60F1B3B1E5700DC6213 /* chipmunk_types.h */, - 0E0CB6101B3B1E5700DC6213 /* chipmunk_unsafe.h */, - 0E0CB6111B3B1E5700DC6213 /* cpArbiter.h */, - 0E0CB6121B3B1E5700DC6213 /* cpBB.h */, - 0E0CB6131B3B1E5700DC6213 /* cpBody.h */, - 0E0CB6141B3B1E5700DC6213 /* cpConstraint.h */, - 0E0CB6151B3B1E5700DC6213 /* cpDampedRotarySpring.h */, - 0E0CB6161B3B1E5700DC6213 /* cpDampedSpring.h */, - 0E0CB6171B3B1E5700DC6213 /* cpGearJoint.h */, - 0E0CB6181B3B1E5700DC6213 /* cpGrooveJoint.h */, - 0E0CB6191B3B1E5700DC6213 /* cpPinJoint.h */, - 0E0CB61A1B3B1E5700DC6213 /* cpPivotJoint.h */, - 0E0CB61B1B3B1E5700DC6213 /* cpPolyShape.h */, - 0E0CB61C1B3B1E5700DC6213 /* cpRatchetJoint.h */, - 0E0CB61D1B3B1E5700DC6213 /* cpRotaryLimitJoint.h */, - 0E0CB61E1B3B1E5700DC6213 /* cpShape.h */, - 0E0CB61F1B3B1E5700DC6213 /* cpSimpleMotor.h */, - 0E0CB6201B3B1E5700DC6213 /* cpSlideJoint.h */, - 0E0CB6211B3B1E5700DC6213 /* cpSpace.h */, - 0E0CB6221B3B1E5700DC6213 /* cpSpatialIndex.h */, - 0E0CB6231B3B1E5700DC6213 /* cpTransform.h */, - 0E0CB6241B3B1E5700DC6213 /* cpVect.h */, - ); - path = chipmunk; - sourceTree = ""; - }; - 0E0CB6251B3B1E5700DC6213 /* objectivec */ = { - isa = PBXGroup; - children = ( - 0E0CB6261B3B1E5700DC6213 /* include */, - 0E0CB62F1B3B1E5700DC6213 /* src */, - ); - name = objectivec; - path = external/Chipmunk/objectivec; - sourceTree = ""; - }; - 0E0CB6261B3B1E5700DC6213 /* include */ = { - isa = PBXGroup; - children = ( - 0E0CB6271B3B1E5700DC6213 /* ObjectiveChipmunk */, - ); - path = include; - sourceTree = ""; - }; - 0E0CB6271B3B1E5700DC6213 /* ObjectiveChipmunk */ = { - isa = PBXGroup; - children = ( - 0E0CB6281B3B1E5700DC6213 /* ChipmunkBody.h */, - 0E0CB6291B3B1E5700DC6213 /* ChipmunkConstraint.h */, - 0E0CB62A1B3B1E5700DC6213 /* ChipmunkExtras.h */, - 0E0CB62B1B3B1E5700DC6213 /* ChipmunkMultiGrab.h */, - 0E0CB62C1B3B1E5700DC6213 /* ChipmunkShape.h */, - 0E0CB62D1B3B1E5700DC6213 /* ChipmunkSpace.h */, - 0E0CB62E1B3B1E5700DC6213 /* ObjectiveChipmunk.h */, - ); - path = ObjectiveChipmunk; - sourceTree = ""; - }; - 0E0CB62F1B3B1E5700DC6213 /* src */ = { - isa = PBXGroup; - children = ( - 0E0CB6301B3B1E5700DC6213 /* ChipmunkBody.m */, - 0E0CB6311B3B1E5700DC6213 /* ChipmunkConstraint.m */, - 0E0CB6321B3B1E5700DC6213 /* ChipmunkMultiGrab.m */, - 0E0CB6331B3B1E5700DC6213 /* ChipmunkShape.m */, - 0E0CB6341B3B1E5700DC6213 /* ChipmunkSpace.m */, - ); - path = src; - sourceTree = ""; - }; - 0E0CB6351B3B1E5700DC6213 /* src */ = { - isa = PBXGroup; - children = ( - 0E0CB6361B3B1E5700DC6213 /* chipmunk.c */, - 0E0CB6371B3B1E5700DC6213 /* CMakeLists.txt */, - 0E0CB6381B3B1E5700DC6213 /* cpArbiter.c */, - 0E0CB6391B3B1E5700DC6213 /* cpArray.c */, - 0E0CB63A1B3B1E5700DC6213 /* cpBBTree.c */, - 0E0CB63B1B3B1E5700DC6213 /* cpBody.c */, - 0E0CB63C1B3B1E5700DC6213 /* cpCollision.c */, - 0E0CB63D1B3B1E5700DC6213 /* cpConstraint.c */, - 0E0CB63E1B3B1E5700DC6213 /* cpDampedRotarySpring.c */, - 0E0CB63F1B3B1E5700DC6213 /* cpDampedSpring.c */, - 0E0CB6401B3B1E5700DC6213 /* cpGearJoint.c */, - 0E0CB6411B3B1E5700DC6213 /* cpGrooveJoint.c */, - 0E0CB6421B3B1E5700DC6213 /* cpHashSet.c */, - 0E0CB6431B3B1E5700DC6213 /* cpPinJoint.c */, - 0E0CB6441B3B1E5700DC6213 /* cpPivotJoint.c */, - 0E0CB6451B3B1E5700DC6213 /* cpPolyShape.c */, - 0E0CB6461B3B1E5700DC6213 /* cpRatchetJoint.c */, - 0E0CB6471B3B1E5700DC6213 /* cpRotaryLimitJoint.c */, - 0E0CB6481B3B1E5700DC6213 /* cpShape.c */, - 0E0CB6491B3B1E5700DC6213 /* cpSimpleMotor.c */, - 0E0CB64A1B3B1E5700DC6213 /* cpSlideJoint.c */, - 0E0CB64B1B3B1E5700DC6213 /* cpSpace.c */, - 0E0CB64C1B3B1E5700DC6213 /* cpSpaceComponent.c */, - 0E0CB64D1B3B1E5700DC6213 /* cpSpaceDebug.c */, - 0E0CB64E1B3B1E5700DC6213 /* cpSpaceHash.c */, - 0E0CB64F1B3B1E5700DC6213 /* cpSpaceQuery.c */, - 0E0CB6501B3B1E5700DC6213 /* cpSpaceStep.c */, - 0E0CB6511B3B1E5700DC6213 /* cpSpatialIndex.c */, - 0E0CB6521B3B1E5700DC6213 /* cpSweep1D.c */, - 0E0CB6531B3B1E5700DC6213 /* prime.h */, - ); - name = src; - path = external/Chipmunk/src; - sourceTree = ""; - }; - 0E0CB6761B3B1E6C00DC6213 /* ObjectAL */ = { - isa = PBXGroup; - children = ( - 0E0CB6771B3B1E6C00DC6213 /* Actions */, - 0E0CB6811B3B1E6C00DC6213 /* AudioTrack */, - 0E0CB6881B3B1E6C00DC6213 /* OALSimpleAudio.h */, - 0E0CB6891B3B1E6C00DC6213 /* OALSimpleAudio.m */, - 0E0CB68A1B3B1E6C00DC6213 /* ObjectAL (iOS)-Prefix.pch */, - 0E0CB68B1B3B1E6C00DC6213 /* ObjectAL.h */, - 0E0CB68C1B3B1E6C00DC6213 /* ObjectALConfig.h */, - 0E0CB68D1B3B1E6C00DC6213 /* OpenAL */, - 0E0CB6A41B3B1E6C00DC6213 /* Session */, - 0E0CB6A91B3B1E6C00DC6213 /* Support */, - ); - name = ObjectAL; - path = "external/ObjectAL/ObjectAL/ObjectAL (iOS)"; - sourceTree = ""; - }; - 0E0CB6771B3B1E6C00DC6213 /* Actions */ = { - isa = PBXGroup; - children = ( - 0E0CB6781B3B1E6C00DC6213 /* OALAction+Private.h */, - 0E0CB6791B3B1E6C00DC6213 /* OALAction.h */, - 0E0CB67A1B3B1E6C00DC6213 /* OALAction.m */, - 0E0CB67B1B3B1E6C00DC6213 /* OALActionManager.h */, - 0E0CB67C1B3B1E6C00DC6213 /* OALActionManager.m */, - 0E0CB67D1B3B1E6C00DC6213 /* OALAudioActions.h */, - 0E0CB67E1B3B1E6C00DC6213 /* OALAudioActions.m */, - 0E0CB67F1B3B1E6C00DC6213 /* OALUtilityActions.h */, - 0E0CB6801B3B1E6C00DC6213 /* OALUtilityActions.m */, - ); - path = Actions; - sourceTree = ""; - }; - 0E0CB6811B3B1E6C00DC6213 /* AudioTrack */ = { - isa = PBXGroup; - children = ( - 0E0CB6821B3B1E6C00DC6213 /* OALAudioTrack.h */, - 0E0CB6831B3B1E6C00DC6213 /* OALAudioTrack.m */, - 0E0CB6841B3B1E6C00DC6213 /* OALAudioTrackNotifications.h */, - 0E0CB6851B3B1E6C00DC6213 /* OALAudioTrackNotifications.m */, - 0E0CB6861B3B1E6C00DC6213 /* OALAudioTracks.h */, - 0E0CB6871B3B1E6C00DC6213 /* OALAudioTracks.m */, - ); - path = AudioTrack; - sourceTree = ""; - }; - 0E0CB68D1B3B1E6C00DC6213 /* OpenAL */ = { - isa = PBXGroup; - children = ( - 0E0CB68E1B3B1E6C00DC6213 /* ALBuffer.h */, - 0E0CB68F1B3B1E6C00DC6213 /* ALBuffer.m */, - 0E0CB6901B3B1E6C00DC6213 /* ALCaptureDevice.h */, - 0E0CB6911B3B1E6C00DC6213 /* ALCaptureDevice.m */, - 0E0CB6921B3B1E6C00DC6213 /* ALChannelSource.h */, - 0E0CB6931B3B1E6C00DC6213 /* ALChannelSource.m */, - 0E0CB6941B3B1E6C00DC6213 /* ALContext.h */, - 0E0CB6951B3B1E6C00DC6213 /* ALContext.m */, - 0E0CB6961B3B1E6C00DC6213 /* ALDevice.h */, - 0E0CB6971B3B1E6C00DC6213 /* ALDevice.m */, - 0E0CB6981B3B1E6C00DC6213 /* ALListener.h */, - 0E0CB6991B3B1E6C00DC6213 /* ALListener.m */, - 0E0CB69A1B3B1E6C00DC6213 /* ALSoundSource.h */, - 0E0CB69B1B3B1E6C00DC6213 /* ALSoundSourcePool.h */, - 0E0CB69C1B3B1E6C00DC6213 /* ALSoundSourcePool.m */, - 0E0CB69D1B3B1E6C00DC6213 /* ALSource.h */, - 0E0CB69E1B3B1E6C00DC6213 /* ALSource.m */, - 0E0CB69F1B3B1E6C00DC6213 /* ALTypes.h */, - 0E0CB6A01B3B1E6C00DC6213 /* ALWrapper.h */, - 0E0CB6A11B3B1E6C00DC6213 /* ALWrapper.m */, - 0E0CB6A21B3B1E6C00DC6213 /* OpenALManager.h */, - 0E0CB6A31B3B1E6C00DC6213 /* OpenALManager.m */, - ); - path = OpenAL; - sourceTree = ""; - }; - 0E0CB6A41B3B1E6C00DC6213 /* Session */ = { - isa = PBXGroup; - children = ( - 0E0CB6A51B3B1E6C00DC6213 /* OALAudioSession.h */, - 0E0CB6A61B3B1E6C00DC6213 /* OALAudioSession.m */, - 0E0CB6A71B3B1E6C00DC6213 /* OALSuspendHandler.h */, - 0E0CB6A81B3B1E6C00DC6213 /* OALSuspendHandler.m */, - ); - path = Session; - sourceTree = ""; - }; - 0E0CB6A91B3B1E6C00DC6213 /* Support */ = { - isa = PBXGroup; - children = ( - 0E0CB6AA1B3B1E6C00DC6213 /* ARCSafe_MemMgmt.h */, - 0E0CB6AB1B3B1E6C00DC6213 /* IOSVersion.h */, - 0E0CB6AC1B3B1E6C00DC6213 /* IOSVersion.m */, - 0E0CB6AD1B3B1E6C00DC6213 /* mach_timing.c */, - 0E0CB6AE1B3B1E6C00DC6213 /* mach_timing.h */, - 0E0CB6AF1B3B1E6C00DC6213 /* NSMutableArray+WeakReferences.h */, - 0E0CB6B01B3B1E6C00DC6213 /* NSMutableArray+WeakReferences.m */, - 0E0CB6B11B3B1E6C00DC6213 /* NSMutableDictionary+WeakReferences.h */, - 0E0CB6B21B3B1E6C00DC6213 /* NSMutableDictionary+WeakReferences.m */, - 0E0CB6B31B3B1E6C00DC6213 /* OALAudioFile.h */, - 0E0CB6B41B3B1E6C00DC6213 /* OALAudioFile.m */, - 0E0CB6B51B3B1E6C00DC6213 /* OALNotifications.h */, - 0E0CB6B61B3B1E6C00DC6213 /* OALTools.h */, - 0E0CB6B71B3B1E6C00DC6213 /* OALTools.m */, - 0E0CB6B81B3B1E6C00DC6213 /* ObjectALMacros.h */, - 0E0CB6B91B3B1E6C00DC6213 /* SynthesizeSingleton.h */, - ); - path = Support; - sourceTree = ""; - }; - 0E26A6FE1B4ABADA00C3D15F /* Base Types */ = { - isa = PBXGroup; - children = ( - 0E0CB4231B3B1E1A00DC6213 /* ccConfig.h */, - ); - name = "Base Types"; - sourceTree = ""; - }; - 0E6B40611B3B1BF9006FB98A = { - isa = PBXGroup; - children = ( - 0E6B406F1B3B1BF9006FB98A /* Some System Stuff */, - 0E0CB4081B3B1E0700DC6213 /* Libraries */, - 0E0CB3FE1B3B1D3100DC6213 /* Resources */, - 0E6B43241B3B1BFB006FB98A /* Classes */, - ); - sourceTree = ""; - }; - 0E6B406B1B3B1BF9006FB98A /* Products */ = { - isa = PBXGroup; - children = ( - 0E6B406A1B3B1BF9006FB98A /* cocos2d-template.app */, - 0E6B406E1B3B1BF9006FB98A /* libObjectiveChipmunk.a */, - ); - name = Products; - path = ..; - sourceTree = ""; - }; - 0E6B406F1B3B1BF9006FB98A /* Some System Stuff */ = { - isa = PBXGroup; - children = ( - 0E7B6A0E1B53F56100A453BF /* OpenAL.framework */, - 0E6B406B1B3B1BF9006FB98A /* Products */, - 0EF3C36A1B590817001BC6C4 /* Resources */, - 0E0CB6D41B3B1F8C00DC6213 /* Prefix.pch */, - 0E0CB3FB1B3B1D0D00DC6213 /* main.m */, - 0E0CB3F91B3B1C8700DC6213 /* Info.plist */, - ); - name = "Some System Stuff"; - path = "cocos2d-template"; - sourceTree = ""; - }; - 0E6B43241B3B1BFB006FB98A /* Classes */ = { - isa = PBXGroup; - children = ( - 0E0CB3FF1B3B1DFB00DC6213 /* AppDelegate.h */, - 0E0CB4001B3B1DFB00DC6213 /* AppDelegate.m */, - 0E0CB4031B3B1DFB00DC6213 /* HelloWorldScene.h */, - 0E0CB4041B3B1DFB00DC6213 /* HelloWorldScene.m */, - ); - name = Classes; - path = "cocos2d-template"; - sourceTree = ""; - }; - 0E8287EB1B4A8C8B00E34977 /* Base Nodes */ = { - isa = PBXGroup; - children = ( - 0E0CB4771B3B1E1A00DC6213 /* CCNode.h */, - 0E0CB4781B3B1E1A00DC6213 /* CCNode.m */, - 0E0CB4791B3B1E1A00DC6213 /* CCNode_Private.h */, - 0E0CB4751B3B1E1A00DC6213 /* CCNode+Debug.h */, - 0E0CB4761B3B1E1A00DC6213 /* CCNode+Debug.m */, - ); - name = "Base Nodes"; - sourceTree = ""; - }; - 0ED5FCCA1B4AF017001874AD /* Unused */ = { - isa = PBXGroup; - children = ( - ); - name = Unused; - sourceTree = ""; - }; - 0EF3C36A1B590817001BC6C4 /* Resources */ = { - isa = PBXGroup; - children = ( - 0E26A6E71B4A946300C3D15F /* Default-568h@2x.png */, - 0E26A6E81B4A946300C3D15F /* Default-Landscape.png */, - 0E26A6E91B4A946300C3D15F /* Default.png */, - 0E26A6EA1B4A946300C3D15F /* Default@2x.png */, - 0E26A6EB1B4A946300C3D15F /* Icon-72.png */, - 0E26A6EC1B4A946300C3D15F /* Icon-Small-50.png */, - 0E26A6ED1B4A946300C3D15F /* Icon-Small.png */, - 0E26A6EE1B4A946300C3D15F /* Icon-Small@2x.png */, - 0E26A6EF1B4A946300C3D15F /* Icon.png */, - 0E26A6F01B4A946300C3D15F /* Icon@2x.png */, - ); - name = Resources; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - 0E6B40691B3B1BF9006FB98A /* cocos2d-template */ = { - isa = PBXNativeTarget; - buildConfigurationList = 0E6B43301B3B1BFC006FB98A /* Build configuration list for PBXNativeTarget "cocos2d-template" */; - buildPhases = ( - 0E6B40661B3B1BF9006FB98A /* Sources */, - 0E6B40671B3B1BF9006FB98A /* Frameworks */, - 0E6B40681B3B1BF9006FB98A /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = "cocos2d-template"; - productName = "cocos2d-template"; - productReference = 0E6B406A1B3B1BF9006FB98A /* cocos2d-template.app */; - productType = "com.apple.product-type.application"; - }; - 0E6B406D1B3B1BF9006FB98A /* ObjectiveChipmunk */ = { - isa = PBXNativeTarget; - buildConfigurationList = 0E6B43331B3B1BFC006FB98A /* Build configuration list for PBXNativeTarget "ObjectiveChipmunk" */; - buildPhases = ( - 0E6B406C1B3B1BF9006FB98A /* Sources */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = ObjectiveChipmunk; - productName = ObjectiveChipmunk; - productReference = 0E6B406E1B3B1BF9006FB98A /* libObjectiveChipmunk.a */; - productType = "com.apple.product-type.library.static"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - 0E6B40621B3B1BF9006FB98A /* Project object */ = { - isa = PBXProject; - attributes = { - LastUpgradeCheck = 0640; - ORGANIZATIONNAME = cocos2d.org; - TargetAttributes = { - 0E6B40691B3B1BF9006FB98A = { - CreatedOnToolsVersion = 6.3.2; - }; - 0E6B406D1B3B1BF9006FB98A = { - CreatedOnToolsVersion = 6.3.2; - }; - }; - }; - buildConfigurationList = 0E6B40651B3B1BF9006FB98A /* Build configuration list for PBXProject "cocos2d-template" */; - compatibilityVersion = "Xcode 3.2"; - developmentRegion = English; - hasScannedForEncodings = 0; - knownRegions = ( - en, - ); - mainGroup = 0E6B40611B3B1BF9006FB98A; - productRefGroup = 0E6B406B1B3B1BF9006FB98A /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - 0E6B40691B3B1BF9006FB98A /* cocos2d-template */, - 0E6B406D1B3B1BF9006FB98A /* ObjectiveChipmunk */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - 0E6B40681B3B1BF9006FB98A /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 0E26A6F41B4A946300C3D15F /* Default@2x.png in Resources */, - 0E26A6FA1B4A946300C3D15F /* Icon@2x.png in Resources */, - 0E26A6F21B4A946300C3D15F /* Default-Landscape.png in Resources */, - 0E26A6F81B4A946300C3D15F /* Icon-Small@2x.png in Resources */, - 0E26A6F11B4A946300C3D15F /* Default-568h@2x.png in Resources */, - 0E26A6F61B4A946300C3D15F /* Icon-Small-50.png in Resources */, - 0E26A6F51B4A946300C3D15F /* Icon-72.png in Resources */, - 0E1D34C01B56AB310014C76A /* white_square.png in Resources */, - 0E26A6F91B4A946300C3D15F /* Icon.png in Resources */, - 0E26A6F31B4A946300C3D15F /* Default.png in Resources */, - 0E26A6F71B4A946300C3D15F /* Icon-Small.png in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - 0E6B40661B3B1BF9006FB98A /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 0E0CB58C1B3B1E1B00DC6213 /* CCScene.m in Sources */, - 0E0CB6601B3B1E5700DC6213 /* cpConstraint.c in Sources */, - 0E0CB5B11B3B1E1B00DC6213 /* UITouch+CC.m in Sources */, - 0E0CB5801B3B1E1B00DC6213 /* CCPhysicsBody.m in Sources */, - 0E0CB5831B3B1E1B00DC6213 /* CCPhysicsShape.m in Sources */, - 0E0CB6551B3B1E5700DC6213 /* ChipmunkConstraint.m in Sources */, - 0E0CB5F51B3B1E2300DC6213 /* CCAnimationManager+FrameAnimation.m in Sources */, - 0E0CB6D01B3B1E6C00DC6213 /* NSMutableArray+WeakReferences.m in Sources */, - 0E0CB6CE1B3B1E6C00DC6213 /* IOSVersion.m in Sources */, - 0E0CB6011B3B1E2300DC6213 /* CCSlider.m in Sources */, - 0E0CB54D1B3B1E1B00DC6213 /* CCEffect.m in Sources */, - 0E0CB57C1B3B1E1B00DC6213 /* CCParticleBatchNode.m in Sources */, - 0E0CB56D1B3B1E1B00DC6213 /* CCMotionStreak.m in Sources */, - 0E0CB6541B3B1E5700DC6213 /* ChipmunkBody.m in Sources */, - 0E0CB55C1B3B1E1B00DC6213 /* CCEffectNode.m in Sources */, - 0E0CB5521B3B1E1B00DC6213 /* CCEffectContrast.m in Sources */, - 0E0CB5B61B3B1E1B00DC6213 /* base64.c in Sources */, - 0E0CB6C71B3B1E6C00DC6213 /* ALListener.m in Sources */, - 0E0CB59C1B3B1E1B00DC6213 /* CCTouchEvent.m in Sources */, - 0E0CB5511B3B1E1B00DC6213 /* CCEffectColorChannelOffset.m in Sources */, - 0E0CB6BC1B3B1E6C00DC6213 /* OALAudioActions.m in Sources */, - 0E0CB5F91B3B1E2300DC6213 /* CCBLocalizationManager.m in Sources */, - 0E0CB5641B3B1E1B00DC6213 /* CCEffectStereo.m in Sources */, - 0E0CB56F1B3B1E1B00DC6213 /* CCNode+Debug.m in Sources */, - 0E0CB5481B3B1E1B00DC6213 /* CCCache.m in Sources */, - 0E0CB6001B3B1E2300DC6213 /* CCScrollView.m in Sources */, - 0E0CB5551B3B1E1B00DC6213 /* CCEffectDistanceField.m in Sources */, - 0E0CB58F1B3B1E1B00DC6213 /* CCSprite.m in Sources */, - 0E0CB6D31B3B1E6C00DC6213 /* OALTools.m in Sources */, - 0E0CB54E1B3B1E1B00DC6213 /* CCEffectBloom.m in Sources */, - 0E0CB5951B3B1E1B00DC6213 /* CCTextureCache.m in Sources */, - 0E0CB5AE1B3B1E1B00DC6213 /* CCMetalView.m in Sources */, - 0E0CB5AA1B3B1E1B00DC6213 /* CCAppDelegate.m in Sources */, - 0E0CB6C61B3B1E6C00DC6213 /* ALDevice.m in Sources */, - 0E0CB5811B3B1E1B00DC6213 /* CCPhysicsJoint.m in Sources */, - 0E0CB54F1B3B1E1B00DC6213 /* CCEffectBlur.m in Sources */, - 0E0CB5871B3B1E1B00DC6213 /* CCRendererBasicTypes.m in Sources */, - 0E0CB6631B3B1E5700DC6213 /* cpGearJoint.c in Sources */, - 0E0CB5B21B3B1E1B00DC6213 /* CCDirectorMac.m in Sources */, - 0E0CB5981B3B1E1B00DC6213 /* CCTiledMapLayer.m in Sources */, - 0E0CB3FD1B3B1D0D00DC6213 /* main.m in Sources */, - 0E0CB6CC1B3B1E6C00DC6213 /* OALAudioSession.m in Sources */, - 0E0CB5961B3B1E1B00DC6213 /* CCTexturePVR.m in Sources */, - 0E0CB5661B3B1E1B00DC6213 /* ccFPSImages.m in Sources */, - 0E0CB5541B3B1E1B00DC6213 /* CCEffectDFOutline.m in Sources */, - 0E0CB5631B3B1E1B00DC6213 /* CCEffectStack.m in Sources */, - 0E0CB6CF1B3B1E6C00DC6213 /* mach_timing.c in Sources */, - 0E0CB5411B3B1E1B00DC6213 /* CCActionInstant.m in Sources */, - 0E0CB5B81B3B1E1B00DC6213 /* CCFileUtils.m in Sources */, - 0E0CB6CB1B3B1E6C00DC6213 /* OpenALManager.m in Sources */, - 0E0CB6661B3B1E5700DC6213 /* cpPinJoint.c in Sources */, - 0E0CB66B1B3B1E5700DC6213 /* cpShape.c in Sources */, - 0E0CB5881B3B1E1B00DC6213 /* CCRendererGLSupport.m in Sources */, - 0E0CB5581B3B1E1B00DC6213 /* CCEffectGlass.m in Sources */, - 0E0CB5FB1B3B1E2300DC6213 /* CCBsequence.m in Sources */, - 0E0CB6C41B3B1E6C00DC6213 /* ALChannelSource.m in Sources */, - 0E0CB6BB1B3B1E6C00DC6213 /* OALActionManager.m in Sources */, - 0E0CB5FE1B3B1E2300DC6213 /* CCControl.m in Sources */, - 0E0CB5681B3B1E1B00DC6213 /* CCLabelTTF.m in Sources */, - 0E0CB6561B3B1E5700DC6213 /* ChipmunkMultiGrab.m in Sources */, - 0E0CB6BE1B3B1E6C00DC6213 /* OALAudioTrack.m in Sources */, - 0E0CB54C1B3B1E1B00DC6213 /* CCDrawNode.m in Sources */, - 0E0CB57B1B3B1E1B00DC6213 /* CCParallaxNode.m in Sources */, - 0E0CB56B1B3B1E1B00DC6213 /* CCLightCollection.m in Sources */, - 0E0CB66E1B3B1E5700DC6213 /* cpSpace.c in Sources */, - 0E0CB6731B3B1E5700DC6213 /* cpSpaceStep.c in Sources */, - 0E0CB66A1B3B1E5700DC6213 /* cpRotaryLimitJoint.c in Sources */, - 0E0CB5C01B3B1E1B00DC6213 /* ZipUtils.m in Sources */, - 0E0CB53E1B3B1E1B00DC6213 /* CCAction.m in Sources */, - 0E0CB65D1B3B1E5700DC6213 /* cpBBTree.c in Sources */, - 0E0CB5421B3B1E1B00DC6213 /* CCActionInterval.m in Sources */, - 0E0CB6691B3B1E5700DC6213 /* cpRatchetJoint.c in Sources */, - 0E0CB55E1B3B1E1B00DC6213 /* CCEffectPixellate.m in Sources */, - 0E0CB5671B3B1E1B00DC6213 /* CCLabelBMFont.m in Sources */, - 0E0CB6571B3B1E5700DC6213 /* ChipmunkShape.m in Sources */, - 0E0CB57F1B3B1E1B00DC6213 /* CCParticleSystemBase.m in Sources */, - 0E0CB6621B3B1E5700DC6213 /* cpDampedSpring.c in Sources */, - 0E0CB6BD1B3B1E6C00DC6213 /* OALUtilityActions.m in Sources */, - 0E0CB65E1B3B1E5700DC6213 /* cpBody.c in Sources */, - 0E0CB66F1B3B1E5700DC6213 /* cpSpaceComponent.c in Sources */, - 0E0CB6BF1B3B1E6C00DC6213 /* OALAudioTrackNotifications.m in Sources */, - 0E0CB6CD1B3B1E6C00DC6213 /* OALSuspendHandler.m in Sources */, - 0E0CB5BF1B3B1E1B00DC6213 /* TGAlib.m in Sources */, - 0E0CB5AC1B3B1E1B00DC6213 /* CCGLView.m in Sources */, - 0E0CB5F71B3B1E2300DC6213 /* CCBAnimationManager.m in Sources */, - 0E0CB6671B3B1E5700DC6213 /* cpPivotJoint.c in Sources */, - 0E0CB5B71B3B1E1B00DC6213 /* CCColor.m in Sources */, - 0E0CB6721B3B1E5700DC6213 /* cpSpaceQuery.c in Sources */, - 0E0CB5F61B3B1E2300DC6213 /* CCAnimationManager.m in Sources */, - 0E0CB5991B3B1E1B00DC6213 /* CCTiledMapObjectGroup.m in Sources */, - 0E0CB5861B3B1E1B00DC6213 /* CCRenderer.m in Sources */, - 0E0CB5461B3B1E1B00DC6213 /* CCAnimation.m in Sources */, - 0E0CB5B01B3B1E1B00DC6213 /* CCTouchIOS.m in Sources */, - 0E0CB5621B3B1E1B00DC6213 /* CCEffectSaturation.m in Sources */, - 0E0CB5851B3B1E1B00DC6213 /* CCRenderDispatch.m in Sources */, - 0E0CB5441B3B1E1B00DC6213 /* CCActionProgressTimer.m in Sources */, - 0E0CB5691B3B1E1B00DC6213 /* CCLayout.m in Sources */, - 0E0CB5BB1B3B1E1B00DC6213 /* CCVertex.m in Sources */, - 0E0CB5971B3B1E1B00DC6213 /* CCTiledMap.m in Sources */, - 0E0CB54B1B3B1E1B00DC6213 /* CCDirector.m in Sources */, - 0E0CB6D21B3B1E6C00DC6213 /* OALAudioFile.m in Sources */, - 0E0CB6021B3B1E2300DC6213 /* CCTableView.m in Sources */, - 0E0CB5821B3B1E1B00DC6213 /* CCPhysicsNode.m in Sources */, - 0E0CB6751B3B1E5700DC6213 /* cpSweep1D.c in Sources */, - 0E0CB5B41B3B1E1B00DC6213 /* CCWindow.m in Sources */, - 0E0CB5AB1B3B1E1B00DC6213 /* CCDirectorIOS.m in Sources */, - 0E0CB5B51B3B1E1B00DC6213 /* NSEvent+CC.m in Sources */, - 0E0CB6711B3B1E5700DC6213 /* cpSpaceHash.c in Sources */, - 0E0CB65F1B3B1E5700DC6213 /* cpCollision.c in Sources */, - 0E0CB5FA1B3B1E2300DC6213 /* CCBReader.m in Sources */, - 0E0CB55A1B3B1E1B00DC6213 /* CCEffectInvert.m in Sources */, - 0E0CB5901B3B1E1B00DC6213 /* CCSprite9Slice.m in Sources */, - 0E0CB6651B3B1E5700DC6213 /* cpHashSet.c in Sources */, - 0E0CB5BA1B3B1E1B00DC6213 /* ccUtils.c in Sources */, - 0E0CB6591B3B1E5700DC6213 /* chipmunk.c in Sources */, - 0E0CB6C01B3B1E6C00DC6213 /* OALAudioTracks.m in Sources */, - 0E0CB56C1B3B1E1B00DC6213 /* CCLightNode.m in Sources */, - 0E0CB6C91B3B1E6C00DC6213 /* ALSource.m in Sources */, - 0E0CB5531B3B1E1B00DC6213 /* CCEffectDFInnerGlow.m in Sources */, - 0E0CB5401B3B1E1B00DC6213 /* CCActionEase.m in Sources */, - 0E0CB5651B3B1E1B00DC6213 /* CCEffectUtils.m in Sources */, - 0E0CB57D1B3B1E1B00DC6213 /* CCParticleExamples.m in Sources */, - 0E0CB6031B3B1E2300DC6213 /* CCTextField.m in Sources */, - 0E0CB59F1B3B1E1B00DC6213 /* NSValue+CCRenderer.m in Sources */, - 0E0CB6681B3B1E5700DC6213 /* cpPolyShape.c in Sources */, - 0E0CB6D11B3B1E6C00DC6213 /* NSMutableDictionary+WeakReferences.m in Sources */, - 0E0CB5B31B3B1E1B00DC6213 /* CCGLView.m in Sources */, - 0E0CB5711B3B1E1B00DC6213 /* CCNodeColor.m in Sources */, - 0E0CB5FF1B3B1E2300DC6213 /* CCControlTextureFactory.m in Sources */, - 0E0CB57E1B3B1E1B00DC6213 /* CCParticleSystem.m in Sources */, - 0E0CB5BD1B3B1E1B00DC6213 /* NSAttributedString+CCAdditions.m in Sources */, - 0E0CB5FC1B3B1E2300DC6213 /* CCBSequenceProperty.m in Sources */, - 0E0CB6741B3B1E5700DC6213 /* cpSpatialIndex.c in Sources */, - 0E0CB5B91B3B1E1B00DC6213 /* CCProfiling.m in Sources */, - 0E0CB5BE1B3B1E1B00DC6213 /* NSThread+performBlock.m in Sources */, - 0E0CB58D1B3B1E1B00DC6213 /* CCScheduler.m in Sources */, - 0E0CB5FD1B3B1E2300DC6213 /* CCButton.m in Sources */, - 0E0CB59D1B3B1E1B00DC6213 /* CCTransition.m in Sources */, - 0E0CB5501B3B1E1B00DC6213 /* CCEffectBrightness.m in Sources */, - 0E0CB54A1B3B1E1B00DC6213 /* CCConfiguration.m in Sources */, - 0E0CB5941B3B1E1B00DC6213 /* CCTexture.m in Sources */, - 0E0CB4071B3B1DFB00DC6213 /* HelloWorldScene.m in Sources */, - 0E0CB55B1B3B1E1B00DC6213 /* CCEffectLighting.m in Sources */, - 0E0CB53F1B3B1E1B00DC6213 /* CCActionCatmullRom.m in Sources */, - 0E0CB6C51B3B1E6C00DC6213 /* ALContext.m in Sources */, - 0E0CB6C11B3B1E6C00DC6213 /* OALSimpleAudio.m in Sources */, - 0E0CB6C21B3B1E6C00DC6213 /* ALBuffer.m in Sources */, - 0E0CB6BA1B3B1E6C00DC6213 /* OALAction.m in Sources */, - 0E0CB5431B3B1E1B00DC6213 /* CCActionManager.m in Sources */, - 0E0CB66D1B3B1E5700DC6213 /* cpSlideJoint.c in Sources */, - 0E0CB6641B3B1E5700DC6213 /* cpGrooveJoint.c in Sources */, - 0E0CB58E1B3B1E1B00DC6213 /* CCShader.m in Sources */, - 0E0CB6701B3B1E5700DC6213 /* cpSpaceDebug.c in Sources */, - 0E0CB55F1B3B1E1B00DC6213 /* CCEffectReflection.m in Sources */, - 0E0CB5451B3B1E1B00DC6213 /* CCActionTween.m in Sources */, - 0E0CB58A1B3B1E1B00DC6213 /* CCResponder.m in Sources */, - 0E0CB6CA1B3B1E6C00DC6213 /* ALWrapper.m in Sources */, - 0E0CB5921B3B1E1B00DC6213 /* CCSpriteFrame.m in Sources */, - 0E0CB5611B3B1E1B00DC6213 /* CCEffectRenderer.m in Sources */, - 0E0CB6081B3B1E2300DC6213 /* CCPlatformTextFieldMac.m in Sources */, - 0E0CB65B1B3B1E5700DC6213 /* cpArbiter.c in Sources */, - 0E0CB5701B3B1E1B00DC6213 /* CCNode.m in Sources */, - 0E0CB5BC1B3B1E1B00DC6213 /* CGPointExtension.m in Sources */, - 0E0CB5891B3B1E1B00DC6213 /* CCRenderTexture.m in Sources */, - 0E0CB56A1B3B1E1B00DC6213 /* CCLayoutBox.m in Sources */, - 0E0CB5911B3B1E1B00DC6213 /* CCSpriteBatchNode.m in Sources */, - 0E0CB5491B3B1E1B00DC6213 /* CCClippingNode.m in Sources */, - 0E0CB5931B3B1E1B00DC6213 /* CCSpriteFrameCache.m in Sources */, - 0E0CB4051B3B1DFB00DC6213 /* AppDelegate.m in Sources */, - 0E0CB59B1B3B1E1B00DC6213 /* CCTouch.m in Sources */, - 0E0CB66C1B3B1E5700DC6213 /* cpSimpleMotor.c in Sources */, - 0E0CB5591B3B1E1B00DC6213 /* CCEffectHue.m in Sources */, - 0E0CB5AD1B3B1E1B00DC6213 /* CCMetalSupport.m in Sources */, - 0E0CB5601B3B1E1B00DC6213 /* CCEffectRefraction.m in Sources */, - 0E0CB65C1B3B1E5700DC6213 /* cpArray.c in Sources */, - 0E0CB6C81B3B1E6C00DC6213 /* ALSoundSourcePool.m in Sources */, - 0E0CB59A1B3B1E1B00DC6213 /* CCTMXXMLParser.m in Sources */, - 0E0CB59E1B3B1E1B00DC6213 /* cocos2d.m in Sources */, - 0E0CB6581B3B1E5700DC6213 /* ChipmunkSpace.m in Sources */, - 0E0CB6071B3B1E2300DC6213 /* CCPlatformTextFieldIOS.m in Sources */, - 0E0CB5F81B3B1E2300DC6213 /* CCBKeyframe.m in Sources */, - 0E0CB5471B3B1E1B00DC6213 /* CCAnimationCache.m in Sources */, - 0E0CB5561B3B1E1B00DC6213 /* CCEffectDropShadow.m in Sources */, - 0E0CB6611B3B1E5700DC6213 /* cpDampedRotarySpring.c in Sources */, - 0E0CB6061B3B1E2300DC6213 /* CCPlatformTextField.m in Sources */, - 0E0CB55D1B3B1E1B00DC6213 /* CCEffectOutline.m in Sources */, - 0E0CB58B1B3B1E1B00DC6213 /* CCResponderManager.m in Sources */, - 0E0CB5841B3B1E1B00DC6213 /* CCProgressNode.m in Sources */, - 0E0CB56E1B3B1E1B00DC6213 /* CCNoARC.m in Sources */, - 0E0CB6C31B3B1E6C00DC6213 /* ALCaptureDevice.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 0E6B406C1B3B1BF9006FB98A /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin XCBuildConfiguration section */ - 0E6B432E1B3B1BFC006FB98A /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - CLANG_ENABLE_OBJC_ARC = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - DEBUG, - "COCOS2D_DEBUG=1", - ); - GCC_SYMBOLS_PRIVATE_EXTERN = NO; - GCC_VERSION = ""; - GCC_WARN_ABOUT_RETURN_TYPE = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 6.0; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = iphoneos; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Debug; - }; - 0E6B432F1B3B1BFC006FB98A /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - CLANG_ENABLE_OBJC_ARC = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_PREPROCESSOR_DEFINITIONS = ( - NDEBUG, - "NS_BLOCK_ASSERTIONS=1", - ); - GCC_VERSION = ""; - GCC_WARN_ABOUT_RETURN_TYPE = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 6.0; - SDKROOT = iphoneos; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Release; - }; - 0E6B43311B3B1BFC006FB98A /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = YES; - CLANG_ENABLE_MODULES = YES; - COPY_PHASE_STRIP = NO; - GCC_DYNAMIC_NO_PIC = NO; - GCC_PRECOMPILE_PREFIX_HEADER = YES; - GCC_PREFIX_HEADER = "cocos2d-template/Prefix.pch"; - GCC_VERSION = ""; - HEADER_SEARCH_PATHS = "\"$(SRCROOT)/\"/**"; - INFOPLIST_FILE = "cocos2d-template/Info.plist"; - IPHONEOS_DEPLOYMENT_TARGET = 6.0; - LIBRARY_SEARCH_PATHS = ( - "$(inherited)", - "$(PROJECT_DIR)/cocos2d-template", - ); - OTHER_LDFLAGS = ( - "-lz", - "-ObjC", - "-lz", - "-ObjC", - ); - PRODUCT_NAME = "$(TARGET_NAME)"; - WRAPPER_EXTENSION = app; - }; - name = Debug; - }; - 0E6B43321B3B1BFC006FB98A /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = YES; - CLANG_ENABLE_MODULES = YES; - COPY_PHASE_STRIP = YES; - GCC_PRECOMPILE_PREFIX_HEADER = YES; - GCC_PREFIX_HEADER = "cocos2d-template/Prefix.pch"; - GCC_VERSION = ""; - HEADER_SEARCH_PATHS = "\"$(SRCROOT)/\"/**"; - INFOPLIST_FILE = "cocos2d-template/Info.plist"; - IPHONEOS_DEPLOYMENT_TARGET = 6.0; - LIBRARY_SEARCH_PATHS = ( - "$(inherited)", - "$(PROJECT_DIR)/cocos2d-template", - ); - OTHER_LDFLAGS = ( - "-lz", - "-ObjC", - "-lz", - "-ObjC", - ); - PRODUCT_NAME = "$(TARGET_NAME)"; - VALIDATE_PRODUCT = YES; - WRAPPER_EXTENSION = app; - }; - name = Release; - }; - 0E6B43341B3B1BFC006FB98A /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ENABLE_OBJC_ARC = NO; - EXECUTABLE_EXTENSION = a; - EXECUTABLE_PREFIX = lib; - HEADER_SEARCH_PATHS = ( - "\"$(SRCROOT)/$(PROJECT_NAME)/Libraries/Chipmunk/chipmunk/include\"", - "\"$(SRCROOT)/$(PROJECT_NAME)/Libraries/Chipmunk/objectivec/include\"", - ); - PRODUCT_NAME = "$(TARGET_NAME)"; - SKIP_INSTALL = YES; - }; - name = Debug; - }; - 0E6B43351B3B1BFC006FB98A /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ENABLE_OBJC_ARC = NO; - EXECUTABLE_EXTENSION = a; - EXECUTABLE_PREFIX = lib; - HEADER_SEARCH_PATHS = ( - "\"$(SRCROOT)/$(PROJECT_NAME)/Libraries/Chipmunk/chipmunk/include\"", - "\"$(SRCROOT)/$(PROJECT_NAME)/Libraries/Chipmunk/objectivec/include\"", - ); - PRODUCT_NAME = "$(TARGET_NAME)"; - SKIP_INSTALL = YES; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - 0E6B40651B3B1BF9006FB98A /* Build configuration list for PBXProject "cocos2d-template" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 0E6B432E1B3B1BFC006FB98A /* Debug */, - 0E6B432F1B3B1BFC006FB98A /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 0E6B43301B3B1BFC006FB98A /* Build configuration list for PBXNativeTarget "cocos2d-template" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 0E6B43311B3B1BFC006FB98A /* Debug */, - 0E6B43321B3B1BFC006FB98A /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 0E6B43331B3B1BFC006FB98A /* Build configuration list for PBXNativeTarget "ObjectiveChipmunk" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 0E6B43341B3B1BFC006FB98A /* Debug */, - 0E6B43351B3B1BFC006FB98A /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = 0E6B40621B3B1BF9006FB98A /* Project object */; -} diff --git a/cocos2d-template.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/cocos2d-template.xcodeproj/project.xcworkspace/contents.xcworkspacedata deleted file mode 100644 index c7aaafa67ca..00000000000 --- a/cocos2d-template.xcodeproj/project.xcworkspace/contents.xcworkspacedata +++ /dev/null @@ -1,7 +0,0 @@ - - - - - diff --git a/cocos2d-template.xcodeproj/project.xcworkspace/xcshareddata/cocos2d-template.xcscmblueprint b/cocos2d-template.xcodeproj/project.xcworkspace/xcshareddata/cocos2d-template.xcscmblueprint deleted file mode 100644 index db81792aac6..00000000000 --- a/cocos2d-template.xcodeproj/project.xcworkspace/xcshareddata/cocos2d-template.xcscmblueprint +++ /dev/null @@ -1,37 +0,0 @@ -{ - "DVTSourceControlWorkspaceBlueprintPrimaryRemoteRepositoryKey" : "5D7004AFA0F8477414D2D2070527EE503A955943", - "DVTSourceControlWorkspaceBlueprintWorkingCopyRepositoryLocationsKey" : { - - }, - "DVTSourceControlWorkspaceBlueprintWorkingCopyStatesKey" : { - "5D7004AFA0F8477414D2D2070527EE503A955943" : 0, - "999D2B244F4BEADDDD09CD5EE2574031B24F399A" : 0, - "A21E964CF35F95307B1FB121F2B5F3025ACF2ED9" : 0 - }, - "DVTSourceControlWorkspaceBlueprintIdentifierKey" : "EB4D58AD-A74A-4CF5-9D02-D7CC8221EE25", - "DVTSourceControlWorkspaceBlueprintWorkingCopyPathsKey" : { - "5D7004AFA0F8477414D2D2070527EE503A955943" : "cocos2d-objc", - "999D2B244F4BEADDDD09CD5EE2574031B24F399A" : "cocos2d-objcexternal\/Chipmunk", - "A21E964CF35F95307B1FB121F2B5F3025ACF2ED9" : "cocos2d-objcexternal\/ObjectAL" - }, - "DVTSourceControlWorkspaceBlueprintNameKey" : "cocos2d-template", - "DVTSourceControlWorkspaceBlueprintVersion" : 203, - "DVTSourceControlWorkspaceBlueprintRelativePathToProjectKey" : "cocos2d-template.xcodeproj", - "DVTSourceControlWorkspaceBlueprintRemoteRepositoriesKey" : [ - { - "DVTSourceControlWorkspaceBlueprintRemoteRepositoryURLKey" : "https:\/\/github.com\/cocos2d\/cocos2d-objc.git", - "DVTSourceControlWorkspaceBlueprintRemoteRepositorySystemKey" : "com.apple.dt.Xcode.sourcecontrol.Git", - "DVTSourceControlWorkspaceBlueprintRemoteRepositoryIdentifierKey" : "5D7004AFA0F8477414D2D2070527EE503A955943" - }, - { - "DVTSourceControlWorkspaceBlueprintRemoteRepositoryURLKey" : "https:\/\/github.com\/slembcke\/Chipmunk2D.git", - "DVTSourceControlWorkspaceBlueprintRemoteRepositorySystemKey" : "com.apple.dt.Xcode.sourcecontrol.Git", - "DVTSourceControlWorkspaceBlueprintRemoteRepositoryIdentifierKey" : "999D2B244F4BEADDDD09CD5EE2574031B24F399A" - }, - { - "DVTSourceControlWorkspaceBlueprintRemoteRepositoryURLKey" : "https:\/\/github.com\/spritebuilder\/ObjectAL-for-Cocos2D.git", - "DVTSourceControlWorkspaceBlueprintRemoteRepositorySystemKey" : "com.apple.dt.Xcode.sourcecontrol.Git", - "DVTSourceControlWorkspaceBlueprintRemoteRepositoryIdentifierKey" : "A21E964CF35F95307B1FB121F2B5F3025ACF2ED9" - } - ] -} \ No newline at end of file diff --git a/cocos2d-template.xcodeproj/project.xcworkspace/xcuserdata/Birkemose.xcuserdatad/WorkspaceSettings.xcsettings b/cocos2d-template.xcodeproj/project.xcworkspace/xcuserdata/Birkemose.xcuserdatad/WorkspaceSettings.xcsettings deleted file mode 100644 index bfffcfe01a4..00000000000 --- a/cocos2d-template.xcodeproj/project.xcworkspace/xcuserdata/Birkemose.xcuserdatad/WorkspaceSettings.xcsettings +++ /dev/null @@ -1,10 +0,0 @@ - - - - - HasAskedToTakeAutomaticSnapshotBeforeSignificantChanges - - SnapshotAutomaticallyBeforeSignificantChanges - - - diff --git a/cocos2d-template.xcodeproj/xcuserdata/Birkemose.xcuserdatad/xcschemes/ObjectiveChipmunk.xcscheme b/cocos2d-template.xcodeproj/xcuserdata/Birkemose.xcuserdatad/xcschemes/ObjectiveChipmunk.xcscheme deleted file mode 100644 index 95733c00c40..00000000000 --- a/cocos2d-template.xcodeproj/xcuserdata/Birkemose.xcuserdatad/xcschemes/ObjectiveChipmunk.xcscheme +++ /dev/null @@ -1,77 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/cocos2d-template.xcodeproj/xcuserdata/Birkemose.xcuserdatad/xcschemes/cocos2d-template.xcscheme b/cocos2d-template.xcodeproj/xcuserdata/Birkemose.xcuserdatad/xcschemes/cocos2d-template.xcscheme deleted file mode 100644 index 1758642b948..00000000000 --- a/cocos2d-template.xcodeproj/xcuserdata/Birkemose.xcuserdatad/xcschemes/cocos2d-template.xcscheme +++ /dev/null @@ -1,88 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/cocos2d-template.xcodeproj/xcuserdata/Birkemose.xcuserdatad/xcschemes/xcschememanagement.plist b/cocos2d-template.xcodeproj/xcuserdata/Birkemose.xcuserdatad/xcschemes/xcschememanagement.plist deleted file mode 100644 index 138ac940bb1..00000000000 --- a/cocos2d-template.xcodeproj/xcuserdata/Birkemose.xcuserdatad/xcschemes/xcschememanagement.plist +++ /dev/null @@ -1,32 +0,0 @@ - - - - - SchemeUserState - - ObjectiveChipmunk.xcscheme - - orderHint - 1 - - cocos2d-template.xcscheme - - orderHint - 0 - - - SuppressBuildableAutocreation - - 0E6B40691B3B1BF9006FB98A - - primary - - - 0E6B406D1B3B1BF9006FB98A - - primary - - - - - diff --git a/cocos2d-template/Info.plist b/cocos2d-template/Info.plist deleted file mode 100755 index 1c0f231f020..00000000000 --- a/cocos2d-template/Info.plist +++ /dev/null @@ -1,69 +0,0 @@ - - - - - CFBundleDevelopmentRegion - English - CFBundleDisplayName - ${PRODUCT_NAME} - CFBundleExecutable - ${EXECUTABLE_NAME} - CFBundleIconFile - - CFBundleIconFiles - - Icon.png - Icon@2x.png - Icon-72.png - Icon-72@2x.png - Icon-76.png - Icon-76@2x.png - Icon-120.png - Icon-iPad-Spotlight-iOS7@2x.png - Icon-Small-50.png - Icon-Small.png - Icon-Small@2x.png - Icon-Spotlight-iOS7.png - Icon-Spotlight-iOS7@2x.png - - CFBundleIdentifier - cocos2d.org.${PRODUCT_NAME:rfc1034identifier} - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - ${PRODUCT_NAME} - CFBundlePackageType - APPL - CFBundleSignature - ???? - CFBundleVersion - 1.0 - LSRequiresIPhoneOS - - UIPrerenderedIcon - - UIRequiredDeviceCapabilities - - accelerometer - - opengles-2 - - - UIStatusBarHidden - - UISupportedInterfaceOrientations - - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - UIInterfaceOrientationPortraitUpsideDown - UIInterfaceOrientationPortrait - - UISupportedInterfaceOrientations~ipad - - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - UIViewControllerBasedStatusBarAppearance - - - diff --git a/cocos2d-template/Prefix.pch b/cocos2d-template/Prefix.pch deleted file mode 100755 index f2861ffe94d..00000000000 --- a/cocos2d-template/Prefix.pch +++ /dev/null @@ -1,14 +0,0 @@ -// -// Prefix header for all source files of the 'Test' target in the 'Test' project -// - -#import - -#ifndef __IPHONE_3_0 -#warning "This project uses features only available in iPhone SDK 3.0 and later." -#endif - -#ifdef __OBJC__ -#import -#import -#endif diff --git a/cocos2d-template/main.m b/cocos2d-template/main.m deleted file mode 100755 index cee33bd86b9..00000000000 --- a/cocos2d-template/main.m +++ /dev/null @@ -1,17 +0,0 @@ -// -// main.m -// cocos2d-template -// -// Created by Lars Birkemose on 24/06/15. -// Copyright cocos2d.org 2015. All rights reserved. -// - -#import - -int main(int argc, char *argv[]) { - - @autoreleasepool { - int retVal = UIApplicationMain(argc, argv, nil, @"AppDelegate"); - return retVal; - } -} diff --git a/cocos2d-tests-android/Headless.approj/targets/Headless/Debug.overrides.json b/cocos2d-tests-android/Headless.approj/targets/Headless/Debug.overrides.json deleted file mode 100644 index 68b4ee750fb..00000000000 --- a/cocos2d-tests-android/Headless.approj/targets/Headless/Debug.overrides.json +++ /dev/null @@ -1,337 +0,0 @@ -{ - "configuration_format_version": 2, - - - - // Dictionary of global configuration parameters. - // These parameters are not taken from the xcode project, - // so they need to be supplied by the user. - "config": { - - // A short name to identify the application. - // Used to decide the APK filename, but not shown - // anywhere in the app. - // "APPLICATION_NAME": "", - - // The name of the application to display in the launcher - // "APPLICATION_FULL_NAME": "", - - // The unique identifier for the application. - // Normally this is in reverse DNS notation, e.g., - // "com.apportable.Spin" - // "APPLICATION_IDENTIFIER": "", - - // Short version name for the app, e.g., "1.0" - // "SHORT_VERSION": "", - - // If you're using Google Play Game Services, put in the client id (a numerical value) - // "GOOGLE_PLAY_CLIENT_ID": "1234567" - - // A list of features needed on the target platform. - // Common features include: - // "accelerometer" - // "access_network_state" - // "access_wifi_state" - // "atc_slow_surface" - // "billing" - // "c2dm_receive" - // "check_license" - // "gcm_receive" - // "get_accounts" - // "large_heap" - // "live_wallpaper" - // "multitouch" - // "multitouch_distinct" - // "multitouch_jazzhand" - // "NFC" - // "no_internet" - // "notifications" - // "opengles2" - // "portrait" - // "prefer_external_storage" - // "read_phone_state" - // "stencil_buffer" - // "touch_filter_move" - // "touchscreen" - // "true_color" - // "vibrate" - // "wake_lock" - // "write_external_storage" - // "write_settings" - // "xperia" - //"FEATURES": [] - - // Preferred way of handling URLs in the code. - // Leave it null for most cases. - //"URL_SCHEME": null, - - // Key to receive remote notifications on the device. - //"REMOTE_NOTIFICATION_KEY": "", - - // The method for adjusting the splash screen (Default.png) - // to fit the native device resolution. Options are: - // "aspect_fill" - // "aspect_fit" - // "letterbox" (the default) - // "native" - // "stretch" - //"SPLASH_SCREEN_TYPE": "letterbox", - - // Path to the image to use for the app's icon. - // Usually something like "./Icon.png". - // "ICON": "", // 48x48 - // "MEDIUM_RES_ICON": "", // 48x48 - // "HIGH_RES_ICON": "", // 72x72 - // "XHIGH_RES_ICON": "", // 96x96 - // "XXHIGH_RES_ICON": "", // 144x144 - // "XXXHIGH_RES_ICON": "", // 192x192 - - // A regular expression to determine which assets - // should be compressed when building the final app. - // By default, text assets are not compressed. Use - // this to compress certain text assets. For example, - // ".*.plist$" will cause all files ending in ".plist" - // to be compressed. - //"COMPRESSED_ASSETS_PATTERN": "", - //"UNCOMPRESSED_ASSETS_PATTERN": "", - - // Automatically convert audio to oggs. Defaults to true. - // Can be configured per file with add params and "convert" - // field or with the "CONVERTABLE_AUDIO_EXTENSIONS" flag. - //"CONVERT_AUDIO": false, - - // Comma-separated list of file extensions that are safe to convert to OGGs - //"CONVERTABLE_AUDIO_EXTENSIONS": ".mp3,.wav,.caf,.m4a", - - // Compress PNGs with pngcrush. Defaults to true. - //"COMPRESS_PNGS": false, - - // This will cache all converted assets (pngs, oggs, etc) - // into the approj directory. This is useful if you want to - // persist the changes across builds or check them in source - // control so they are uses by Linux based builders. Note that - // if you disable this, your final build params file will contain - // absolute paths and should not be checked in. - // Defaults to true. - //"STORE_ASSESTS_IN_APPROJ": false, - - // ICU_CONFIGS specifies the ICU (International Components for Unicode) database for the project - // The default is "normal" which meets the needs of most apps using NS Format classes and/or localization - // "full" will specify a complete database - // "none" will specify no database. Be careful - It's not always intutitive when Foundation depends upon ICU - - // The normal table is 2762244 bytes compressed and 8622768 uncompressed - // The full table is 8396438 bytes compressed and 20775168 uncompressed - - // You can also configure and build your own ICU table at http://apps.icu-project.org/datacustom/ICUData50.html - // Add it to the "add_params" "assets" section and specify the path to ICU_CONFIG - // For example TBD - - "ICU_CONFIG" : "normal", - - //Manifest extras - //A list of .xml files that contain snippets to be included in AndroidManifest.xml - //inside the , and tags respectively. - //"MANIFEST_EXTRAS": [], - //"ACTIVITY_MANIFEST_EXTRAS": [], - //"APPLICATION_MANIFEST_EXTRAS": [], - - // Advanced Options - //"NOTIFICATION_ICON":"", - //"TEMPLATE_VALUES":{}, - //"OGGENC_OPTIONS":"", - //"AFCONVERT_OPTIONS":"", - //"PNGCRUSH_OPTIONS":"", - //"MIN_SDK": 9, - //"C2DM_SENDER": "", - //"HARDWARE_ACCELERATED": "", - //"NFC_SCHEME": "", - //"MPMETRICS_API_KEY": "", - //"RENAME_TARGET": true, - - }, - - // Sometimes header include path ordering matters. If so, put the ordering constraints into this - // array. For example, if "./foo" has to come before "./bar", you would put: - // ["./foo", "./bar"] - // Note that "./some_other_include_path" doesn't appear in the list, since its order doesn't matter. - // You can also specify "*", which matches everything not already constrained. This lets you put - // particular paths at the beginning or end of the list. For example, ["./foo", "*", "./bar"]. - "header_ordering_constraints": [], - - // Edit this section to add and replace files and parameters to the generated settings for this project. - // If the generated settings for a particular file are incorrect, simply add it here with the settings - // you need and the final build parameters will only included the version specified here. - "add_params": { - // A list of pch files to -include. - // PCH files can be either a string, e.g., "./MyApp-Prefix.pch", - // or a dictionary specifying the pch and the environment where - // it should be used, e.g., - // {"pch": "./prefix-android.pch", "env": {"TARGET_OS": "android"}} - "pchs": [], - - // A list of header search paths - // e.g. "./External/facebook-sdk/include" - "header_paths": [], - - // A list of global compile flags for the project. - // Flags can be either a string, e.g. "-Werror-shadow", - // or a dictionary specifying the flag and the environment - // that it should be used in, e.g., - // {"flag": "-fstack-protector", "env": {"TARGET_OS": "android"}} - "flags": [], - - // A dictionary of global compiler definitions for the project. - // Defines can be a simple key-value pair, e.g., "DEBUG": 1, - // or the value can be a dictionary specifying the value and the - // environment that it should be used in, e.g., - // "SOME_DEFINE": {"value": "\"yep its building on android\"", "env": {"TARGET_OS": "android"}} - "defines": {}, - - // A list of dependencies. Typically these correspond to - // frameworks in the xcode project. - "deps": [ - ], - - // A list of source files (e.g. .m, .mm, .c, .cc, and .cpp) files to build. - // Source files can be a string, e.g. "./main.c", or a dictionary specifying - // the file, any special flags, any defines, and the environment - // where it should be compiled, e.g., - // {"source": "./PngImageLoader.m", "flags": ["-fstack-protector"], "defines": {"PNG": 1}, "env": {"TARGET_TEXTURE_FMT": "png"}} - "sources": [], - - // A list of glob inclusion filters for additional files. - // This can also be used to replace flags on multiple files. - // e.g. {"source":"./Server/Level_[0-9].m","flags": ["-fno-objc-arc"], "defines": {"NDEBUG": 1}} - "sources_glob":[], - - // A list of assets to package with the application. - // Assets can be either a string, e.g., "./Info.plist", - // or a dictionary specifying the asset and the target path it should be written to - // in the app, and the environment it should be included with, e.g., - // {"asset": "./Resources/cube_texture.pvr.ccz", "target": "Bundled Resources/", "env": {"TARGET_TEXTURE_FMT": "pvr"}} - // or a dictionary like above, but instead specifying the full target file name - // for the asset, e.g., - // {"asset": "./Resources/cube_texture.pvr.ccz", "target": "Bundled Resources/cube_texture.pvr.gz", "env": {"TARGET_TEXTURE_FMT": "pvr"}} - "assets": [], - - // A list of Info.plist files. The first one in the list will be the one we consider the main Info.plist. - "infoplists": [], - - //A list of specific java sources file to compile - "java_sources": [], - - //A list of the java root source directories - "java_sourcepaths": [], - - //A list of java Librarys (jars) - "java_libs": [], - - //A list of java resource directories - "java_res_dirs": [], - - //A list of libs to include with the APK - "libs":[], - - //Additional linker (ld) flags. - "link_flags":[], - - // A list of XIBs to compile into NIBs. - "xibs": [], - - // A list of storyboards to compile into storyboardc bundles - "storyboards": [], - - // A list of xcdatamodels to compile into momc bundles - "xcdatamodels": [], - - //Sub projects. Example : SomeSubProject.xcodeproj should be listed as "SomeSubProject" - "modules": [], - }, - - // Edit this section to remove files and parameters from the generated #{$build_params_file} for this project. - // For this section, only specify the file name as a string in the cases where you could normally - // also specify an array or a dictionary. To override the generated settings for a particular - // file, simply add it to the "add_params" list above with the settings you want. - "remove_params": { - // A list of pch files to remove from -include. - // PCH files can be either a string, e.g., "./MyApp-Prefix.pch", - // or a dictionary specifying the pch and the environment where - // it should be used, e.g., - // {"pch": "./prefix-android.pch", "env": {"TARGET_OS": "android"}} - "pchs": [], - - // A list of header search paths. - // e.g. "./External/facebook-sdk/include" - "header_paths": [], - - // A list of global compile flags for the project. - // Flags can be either a string, e.g. "-Werror-shadow", - // or a dictionary specifying the flag and the environment - // that it should be used in, e.g., - // {"flag": "-fstack-protector", "env": {"TARGET_OS": "android"}} - "flags": [], - - // A dictionary of global compiler definitions for the project. - // Defines can be a simple key-value pair, e.g., "DEBUG": 1, - // or the value can be a dictionary specifying the value and the - // environment that it should be used in, e.g., - // "SOME_DEFINE": {"value": "\"yep its building on android\"", "env": {"TARGET_OS": "android"}} - "defines": {}, - - // A list of dependencies. Typically these correspond to - // frameworks in the xcode project. - "deps": [], - - // A list of source files (e.g. .m, .mm, .c, .cc, and .cpp) files to remove from the build. - // e.g. "./External/Reachabilty/Reachability.m" - "sources": [], - - // A list of glob removal filters to filter out source files. - // e.g. "./Server/Level_[0-9].m" - "sources_glob":[], - - // A list of assets to package with the application. - // Assets can be either a string, e.g., "./Info.plist", - // a dictionary specifying the asset, the target path it should be written to - // in the app, and the environment it should be included with, e.g., - // {"asset": "./Resources/cube_texture.pvr.ccz", "target_path": "Bundled Resources/", "env": {"TARGET_TEXTURE_FMT": "pvr"}} - // or a dictionary like above, but instead specifying the full target file name - // for the asset, e.g., - // {"asset": "./Resources/cube_texture.pvr.ccz", "target_file": "Bundled Resources/cube_texture.pvr.gz", "env": {"TARGET_TEXTURE_FMT": "pvr"}} - "assets": [], - - // A list of Info.plist files. The first one in the list will be the one we consider the main Info.plist. - "infoplists": [], - - //A list of specific java sources file to compile - "java_sources": [], - - //A list of the java root source directories - "java_sourcepaths": [], - - //A list of java Librarys (jars) - "java_libs": [], - - //A list of java resource directories - "java_res_dirs": [], - - //A list of libs to include with the APK - "libs":[], - - //Additional linker (ld) flags. - "link_flags":[], - - // A list of XIBs to compile into NIBs. - "xibs": [], - - // A list of storyboards to compile into storyboardc bundles - "storyboards": [], - - // A list of xcdatamodels to compile into momc bundles - "xcdatamodels": [], - - //Sub projects. Example : SomeSubProject.xcodeproj should be listed as "SomeSubProject" - "modules": [], - } -} diff --git a/cocos2d-tests-android/Headless.iml b/cocos2d-tests-android/Headless.iml deleted file mode 100644 index d9c631dd27f..00000000000 --- a/cocos2d-tests-android/Headless.iml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - diff --git a/cocos2d-tests-android/Headless.xcodeproj/project.pbxproj b/cocos2d-tests-android/Headless.xcodeproj/project.pbxproj deleted file mode 100644 index e5d54e4bdf9..00000000000 --- a/cocos2d-tests-android/Headless.xcodeproj/project.pbxproj +++ /dev/null @@ -1,1017 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 46; - objects = { - -/* Begin PBXBuildFile section */ - 141A45D31A38DB1000853DB8 /* CoreJava.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 141A45D21A38DB1000853DB8 /* CoreJava.framework */; }; - 147456A41A3B9B1A0024B64E /* Published-Android in Resources */ = {isa = PBXBuildFile; fileRef = 147456A31A3B9B1A0024B64E /* Published-Android */; }; - 14D9F5D61A3A81DE00620103 /* configCocos2d.plist in Resources */ = {isa = PBXBuildFile; fileRef = 14D9F5D51A3A81DE00620103 /* configCocos2d.plist */; }; - 14EF47AE1A37F15800A45BE4 /* JavaKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 14EF47AD1A37F15800A45BE4 /* JavaKit.framework */; }; - 14EF47AF1A37F17300A45BE4 /* AndroidKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 14098DAA1A37EA94005F0B26 /* AndroidKit.framework */; }; - 14EF47B01A37F31100A45BE4 /* GLActivityKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 14098DAC1A37EA9A005F0B26 /* GLActivityKit.framework */; }; - 464236B61A428B4D00532547 /* JavaFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 464236B51A428B4D00532547 /* JavaFoundation.framework */; }; - 57E144FE1975DC340065F142 /* A Damn Mess.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 57E144C31975DC340065F142 /* A Damn Mess.ttf */; }; - 57E144FF1975DC340065F142 /* Abberancy.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 57E144C41975DC340065F142 /* Abberancy.ttf */; }; - 57E145011975DC340065F142 /* arial-unicode-26.fnt in Resources */ = {isa = PBXBuildFile; fileRef = 57E144C61975DC340065F142 /* arial-unicode-26.fnt */; }; - 57E145021975DC340065F142 /* arial-unicode-26.GlyphProject in Resources */ = {isa = PBXBuildFile; fileRef = 57E144C71975DC340065F142 /* arial-unicode-26.GlyphProject */; }; - 57E145031975DC340065F142 /* arial-unicode-26.png in Resources */ = {isa = PBXBuildFile; fileRef = 57E144C81975DC340065F142 /* arial-unicode-26.png */; }; - 57E145041975DC340065F142 /* arial16.fnt in Resources */ = {isa = PBXBuildFile; fileRef = 57E144C91975DC340065F142 /* arial16.fnt */; }; - 57E145051975DC340065F142 /* arial16.png in Resources */ = {isa = PBXBuildFile; fileRef = 57E144CA1975DC340065F142 /* arial16.png */; }; - 57E145061975DC340065F142 /* bitmapFontTest.fnt in Resources */ = {isa = PBXBuildFile; fileRef = 57E144CB1975DC340065F142 /* bitmapFontTest.fnt */; }; - 57E145071975DC340065F142 /* bitmapFontTest.png in Resources */ = {isa = PBXBuildFile; fileRef = 57E144CC1975DC340065F142 /* bitmapFontTest.png */; }; - 57E145081975DC340065F142 /* bitmapFontTest2.fnt in Resources */ = {isa = PBXBuildFile; fileRef = 57E144CD1975DC340065F142 /* bitmapFontTest2.fnt */; }; - 57E145091975DC340065F142 /* bitmapFontTest3.fnt in Resources */ = {isa = PBXBuildFile; fileRef = 57E144CE1975DC340065F142 /* bitmapFontTest3.fnt */; }; - 57E1450A1975DC340065F142 /* bitmapFontTest3.png in Resources */ = {isa = PBXBuildFile; fileRef = 57E144CF1975DC340065F142 /* bitmapFontTest3.png */; }; - 57E1450B1975DC340065F142 /* bitmapFontTest4.fnt in Resources */ = {isa = PBXBuildFile; fileRef = 57E144D01975DC340065F142 /* bitmapFontTest4.fnt */; }; - 57E1450C1975DC340065F142 /* bitmapFontTest4.png in Resources */ = {isa = PBXBuildFile; fileRef = 57E144D11975DC340065F142 /* bitmapFontTest4.png */; }; - 57E1450D1975DC340065F142 /* bitmapFontTest5.fnt in Resources */ = {isa = PBXBuildFile; fileRef = 57E144D21975DC340065F142 /* bitmapFontTest5.fnt */; }; - 57E1450E1975DC340065F142 /* bitmapFontTest5.png in Resources */ = {isa = PBXBuildFile; fileRef = 57E144D31975DC340065F142 /* bitmapFontTest5.png */; }; - 57E1450F1975DC340065F142 /* boundsTestFont.fnt in Resources */ = {isa = PBXBuildFile; fileRef = 57E144D41975DC340065F142 /* boundsTestFont.fnt */; }; - 57E145101975DC340065F142 /* boundsTestFont.png in Resources */ = {isa = PBXBuildFile; fileRef = 57E144D51975DC340065F142 /* boundsTestFont.png */; }; - 57E145111975DC340065F142 /* font-issue1343-hd.fnt in Resources */ = {isa = PBXBuildFile; fileRef = 57E144D61975DC340065F142 /* font-issue1343-hd.fnt */; }; - 57E145121975DC340065F142 /* font-issue1343-hd.png in Resources */ = {isa = PBXBuildFile; fileRef = 57E144D71975DC340065F142 /* font-issue1343-hd.png */; }; - 57E145131975DC340065F142 /* font-issue1343.fnt in Resources */ = {isa = PBXBuildFile; fileRef = 57E144D81975DC340065F142 /* font-issue1343.fnt */; }; - 57E145141975DC340065F142 /* font-issue1343.png in Resources */ = {isa = PBXBuildFile; fileRef = 57E144D91975DC340065F142 /* font-issue1343.png */; }; - 57E145151975DC340065F142 /* fps_images-hd.plist in Resources */ = {isa = PBXBuildFile; fileRef = 57E144DA1975DC340065F142 /* fps_images-hd.plist */; }; - 57E145161975DC340065F142 /* fps_images-hd.png in Resources */ = {isa = PBXBuildFile; fileRef = 57E144DB1975DC340065F142 /* fps_images-hd.png */; }; - 57E145171975DC340065F142 /* fps_images-ipadhd.png in Resources */ = {isa = PBXBuildFile; fileRef = 57E144DC1975DC340065F142 /* fps_images-ipadhd.png */; }; - 57E145181975DC340065F142 /* fps_images.GlyphProject in Resources */ = {isa = PBXBuildFile; fileRef = 57E144DD1975DC340065F142 /* fps_images.GlyphProject */; }; - 57E145191975DC340065F142 /* fps_images.plist in Resources */ = {isa = PBXBuildFile; fileRef = 57E144DE1975DC340065F142 /* fps_images.plist */; }; - 57E1451A1975DC340065F142 /* fps_images.png in Resources */ = {isa = PBXBuildFile; fileRef = 57E144DF1975DC340065F142 /* fps_images.png */; }; - 57E1451B1975DC340065F142 /* futura-48.fnt in Resources */ = {isa = PBXBuildFile; fileRef = 57E144E01975DC340065F142 /* futura-48.fnt */; }; - 57E1451C1975DC340065F142 /* futura-48.GlyphProject in Resources */ = {isa = PBXBuildFile; fileRef = 57E144E11975DC340065F142 /* futura-48.GlyphProject */; }; - 57E1451D1975DC340065F142 /* futura-48.png in Resources */ = {isa = PBXBuildFile; fileRef = 57E144E21975DC340065F142 /* futura-48.png */; }; - 57E1451E1975DC340065F142 /* geneva-32.fnt in Resources */ = {isa = PBXBuildFile; fileRef = 57E144E31975DC340065F142 /* geneva-32.fnt */; }; - 57E1451F1975DC340065F142 /* helvetica-32.fnt in Resources */ = {isa = PBXBuildFile; fileRef = 57E144E41975DC340065F142 /* helvetica-32.fnt */; }; - 57E145201975DC340065F142 /* helvetica-geneva-32.png in Resources */ = {isa = PBXBuildFile; fileRef = 57E144E51975DC340065F142 /* helvetica-geneva-32.png */; }; - 57E145211975DC340065F142 /* konqa32-hd.fnt in Resources */ = {isa = PBXBuildFile; fileRef = 57E144E61975DC340065F142 /* konqa32-hd.fnt */; }; - 57E145221975DC340065F142 /* konqa32-hd.png in Resources */ = {isa = PBXBuildFile; fileRef = 57E144E71975DC340065F142 /* konqa32-hd.png */; }; - 57E145231975DC340065F142 /* konqa32.fnt in Resources */ = {isa = PBXBuildFile; fileRef = 57E144E81975DC340065F142 /* konqa32.fnt */; }; - 57E145241975DC340065F142 /* konqa32.png in Resources */ = {isa = PBXBuildFile; fileRef = 57E144E91975DC340065F142 /* konqa32.png */; }; - 57E145251975DC340065F142 /* larabie-16-hd.plist in Resources */ = {isa = PBXBuildFile; fileRef = 57E144EA1975DC340065F142 /* larabie-16-hd.plist */; }; - 57E145261975DC340065F142 /* larabie-16-hd.png in Resources */ = {isa = PBXBuildFile; fileRef = 57E144EB1975DC340065F142 /* larabie-16-hd.png */; }; - 57E145271975DC340065F142 /* larabie-16.plist in Resources */ = {isa = PBXBuildFile; fileRef = 57E144EC1975DC340065F142 /* larabie-16.plist */; }; - 57E145281975DC340065F142 /* larabie-16.png in Resources */ = {isa = PBXBuildFile; fileRef = 57E144ED1975DC340065F142 /* larabie-16.png */; }; - 57E145291975DC340065F142 /* markerFelt-hd.fnt in Resources */ = {isa = PBXBuildFile; fileRef = 57E144EE1975DC340065F142 /* markerFelt-hd.fnt */; }; - 57E1452A1975DC340065F142 /* markerFelt-hd.png in Resources */ = {isa = PBXBuildFile; fileRef = 57E144EF1975DC340065F142 /* markerFelt-hd.png */; }; - 57E1452B1975DC340065F142 /* markerFelt.fnt in Resources */ = {isa = PBXBuildFile; fileRef = 57E144F01975DC340065F142 /* markerFelt.fnt */; }; - 57E1452C1975DC340065F142 /* markerFelt.png in Resources */ = {isa = PBXBuildFile; fileRef = 57E144F11975DC340065F142 /* markerFelt.png */; }; - 57E1452D1975DC340065F142 /* Paint Boy.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 57E144F21975DC340065F142 /* Paint Boy.ttf */; }; - 57E1452E1975DC340065F142 /* RobotoSlab-Bold.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 57E144F31975DC340065F142 /* RobotoSlab-Bold.ttf */; }; - 57E1452F1975DC340065F142 /* RobotoSlab-Light.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 57E144F41975DC340065F142 /* RobotoSlab-Light.ttf */; }; - 57E145301975DC340065F142 /* RobotoSlab-Regular.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 57E144F51975DC340065F142 /* RobotoSlab-Regular.ttf */; }; - 57E145311975DC340065F142 /* RobotoSlab-Thin.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 57E144F61975DC340065F142 /* RobotoSlab-Thin.ttf */; }; - 57E145321975DC340065F142 /* Schwarzwald Regular.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 57E144F71975DC340065F142 /* Schwarzwald Regular.ttf */; }; - 57E145331975DC340065F142 /* Scissor Cuts.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 57E144F81975DC340065F142 /* Scissor Cuts.ttf */; }; - 57E145341975DC340065F142 /* tuffy_bold_italic-charmap-hd.plist in Resources */ = {isa = PBXBuildFile; fileRef = 57E144F91975DC340065F142 /* tuffy_bold_italic-charmap-hd.plist */; }; - 57E145351975DC340065F142 /* tuffy_bold_italic-charmap.plist in Resources */ = {isa = PBXBuildFile; fileRef = 57E144FA1975DC340065F142 /* tuffy_bold_italic-charmap.plist */; }; - 57E145361975DC340065F142 /* tuffy_bold_italic-charmap.png in Resources */ = {isa = PBXBuildFile; fileRef = 57E144FB1975DC340065F142 /* tuffy_bold_italic-charmap.png */; }; - 57E145371975DC340065F142 /* west_england-64.fnt in Resources */ = {isa = PBXBuildFile; fileRef = 57E144FC1975DC340065F142 /* west_england-64.fnt */; }; - 57E145381975DC340065F142 /* west_england-64.png in Resources */ = {isa = PBXBuildFile; fileRef = 57E144FD1975DC340065F142 /* west_england-64.png */; }; - 57F23E5B197774FE003D811B /* ThisFontIsAbdFont.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 57F23E5A197774FE003D811B /* ThisFontIsAbdFont.ttf */; }; - 5B063DC619636B77002B1CDE /* ObjectALTest.m in Sources */ = {isa = PBXBuildFile; fileRef = 5B165F5B195CE564002338B1 /* ObjectALTest.m */; }; - 5B063DC919636B8C002B1CDE /* OpenAL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D2952D3C19520B9A007C58A7 /* OpenAL.framework */; }; - 5B0ED72E196E4D3500F9868F /* Images in Resources */ = {isa = PBXBuildFile; fileRef = 5B0ED72D196E4D3500F9868F /* Images */; }; - 5B0ED732196E4DAA00F9868F /* TileMaps in Resources */ = {isa = PBXBuildFile; fileRef = 5B0ED731196E4DAA00F9868F /* TileMaps */; }; - 5B0ED736196E54BD00F9868F /* Sounds in Resources */ = {isa = PBXBuildFile; fileRef = 5B0ED735196E54BD00F9868F /* Sounds */; }; - 5B0ED738196E550000F9868F /* Particles in Resources */ = {isa = PBXBuildFile; fileRef = 5B0ED737196E550000F9868F /* Particles */; }; - 5B165F63195CE564002338B1 /* CCBMFontTest.m in Sources */ = {isa = PBXBuildFile; fileRef = 5B165F49195CE564002338B1 /* CCBMFontTest.m */; }; - 5B165F65195CE564002338B1 /* CCEffectsTest.m in Sources */ = {isa = PBXBuildFile; fileRef = 5B165F4B195CE564002338B1 /* CCEffectsTest.m */; }; - 5B165F66195CE564002338B1 /* CCLabelTTFTest.m in Sources */ = {isa = PBXBuildFile; fileRef = 5B165F4C195CE564002338B1 /* CCLabelTTFTest.m */; }; - 5B165F67195CE564002338B1 /* CCLayoutTest.m in Sources */ = {isa = PBXBuildFile; fileRef = 5B165F4D195CE564002338B1 /* CCLayoutTest.m */; }; - 5B165F68195CE564002338B1 /* CCPhysicsTest.m in Sources */ = {isa = PBXBuildFile; fileRef = 5B165F4E195CE564002338B1 /* CCPhysicsTest.m */; }; - 5B165F69195CE564002338B1 /* CCRendererTest.m in Sources */ = {isa = PBXBuildFile; fileRef = 5B165F4F195CE564002338B1 /* CCRendererTest.m */; }; - 5B165F6A195CE564002338B1 /* CCResponderTest.m in Sources */ = {isa = PBXBuildFile; fileRef = 5B165F50195CE564002338B1 /* CCResponderTest.m */; }; - 5B165F6B195CE564002338B1 /* CCSchedulerTest.m in Sources */ = {isa = PBXBuildFile; fileRef = 5B165F51195CE564002338B1 /* CCSchedulerTest.m */; }; - 5B165F6C195CE564002338B1 /* CCScrollViewTest.m in Sources */ = {isa = PBXBuildFile; fileRef = 5B165F52195CE564002338B1 /* CCScrollViewTest.m */; }; - 5B165F6D195CE564002338B1 /* CCSliderTest.m in Sources */ = {isa = PBXBuildFile; fileRef = 5B165F53195CE564002338B1 /* CCSliderTest.m */; }; - 5B165F6E195CE564002338B1 /* CCSprite9SliceTest.m in Sources */ = {isa = PBXBuildFile; fileRef = 5B165F54195CE564002338B1 /* CCSprite9SliceTest.m */; }; - 5B165F6F195CE564002338B1 /* CCTableViewTest.m in Sources */ = {isa = PBXBuildFile; fileRef = 5B165F55195CE564002338B1 /* CCTableViewTest.m */; }; - 5B165F70195CE564002338B1 /* CCTextFieldTest.m in Sources */ = {isa = PBXBuildFile; fileRef = 5B165F56195CE564002338B1 /* CCTextFieldTest.m */; }; - 5B165F71195CE564002338B1 /* CCTextureCacheTest.m in Sources */ = {isa = PBXBuildFile; fileRef = 5B165F57195CE564002338B1 /* CCTextureCacheTest.m */; }; - 5B165F72195CE564002338B1 /* CCTransitionTest.m in Sources */ = {isa = PBXBuildFile; fileRef = 5B165F58195CE564002338B1 /* CCTransitionTest.m */; }; - 5B165F73195CE564002338B1 /* ColorPickerTest.m in Sources */ = {isa = PBXBuildFile; fileRef = 5B165F59195CE564002338B1 /* ColorPickerTest.m */; }; - 5B165F74195CE564002338B1 /* ColorTest.m in Sources */ = {isa = PBXBuildFile; fileRef = 5B165F5A195CE564002338B1 /* ColorTest.m */; }; - 5B165F76195CE564002338B1 /* ParallaxTest.m in Sources */ = {isa = PBXBuildFile; fileRef = 5B165F5C195CE564002338B1 /* ParallaxTest.m */; }; - 5B165F77195CE564002338B1 /* ParticleTest.m in Sources */ = {isa = PBXBuildFile; fileRef = 5B165F5D195CE564002338B1 /* ParticleTest.m */; }; - 5B165F78195CE564002338B1 /* PositioningTest.m in Sources */ = {isa = PBXBuildFile; fileRef = 5B165F5E195CE564002338B1 /* PositioningTest.m */; }; - 5B165F79195CE564002338B1 /* SpritePerformanceTest.m in Sources */ = {isa = PBXBuildFile; fileRef = 5B165F5F195CE564002338B1 /* SpritePerformanceTest.m */; }; - 5B165F7A195CE564002338B1 /* TextureTest.m in Sources */ = {isa = PBXBuildFile; fileRef = 5B165F60195CE564002338B1 /* TextureTest.m */; }; - 5B165F7B195CE564002338B1 /* TilemapTest.m in Sources */ = {isa = PBXBuildFile; fileRef = 5B165F61195CE564002338B1 /* TilemapTest.m */; }; - 5B165F7C195CE564002338B1 /* VertexZTest.m in Sources */ = {isa = PBXBuildFile; fileRef = 5B165F62195CE564002338B1 /* VertexZTest.m */; }; - 5B4D6CC11936ACE5004D1A0B /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5B4D6CC01936ACE5004D1A0B /* Foundation.framework */; }; - 5B4D6CC31936ACE5004D1A0B /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5B4D6CC21936ACE5004D1A0B /* CoreGraphics.framework */; }; - 5B4D6CCB1936ACE5004D1A0B /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 5B4D6CC91936ACE5004D1A0B /* InfoPlist.strings */; }; - 5BA67A56196CA1220010FFB7 /* HeadlessActivity.m in Sources */ = {isa = PBXBuildFile; fileRef = 5BA67A55196CA1220010FFB7 /* HeadlessActivity.m */; settings = {COMPILER_FLAGS = "-O0"; }; }; - BC9F4EE119DCB1B200B25F01 /* CCPackageTest.m in Sources */ = {isa = PBXBuildFile; fileRef = BC9F4EE019DCB1B200B25F01 /* CCPackageTest.m */; }; - D23DE6761958DBA0000483A8 /* Default-568h@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = D23DE66A1958DBA0000483A8 /* Default-568h@2x.png */; }; - D23DE6771958DBA0000483A8 /* Default-Landscape~ipad.png in Resources */ = {isa = PBXBuildFile; fileRef = D23DE66B1958DBA0000483A8 /* Default-Landscape~ipad.png */; }; - D23DE6781958DBA0000483A8 /* Default.png in Resources */ = {isa = PBXBuildFile; fileRef = D23DE66C1958DBA0000483A8 /* Default.png */; }; - D23DE6791958DBA0000483A8 /* Default@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = D23DE66D1958DBA0000483A8 /* Default@2x.png */; }; - D23DE67A1958DBA0000483A8 /* Icon-72.png in Resources */ = {isa = PBXBuildFile; fileRef = D23DE66E1958DBA0000483A8 /* Icon-72.png */; }; - D23DE67B1958DBA0000483A8 /* Icon-Small-50.png in Resources */ = {isa = PBXBuildFile; fileRef = D23DE66F1958DBA0000483A8 /* Icon-Small-50.png */; }; - D23DE67C1958DBA0000483A8 /* Icon-Small.png in Resources */ = {isa = PBXBuildFile; fileRef = D23DE6701958DBA0000483A8 /* Icon-Small.png */; }; - D23DE67D1958DBA0000483A8 /* Icon-Small@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = D23DE6711958DBA0000483A8 /* Icon-Small@2x.png */; }; - D23DE67E1958DBA0000483A8 /* Icon.png in Resources */ = {isa = PBXBuildFile; fileRef = D23DE6721958DBA0000483A8 /* Icon.png */; }; - D23DE67F1958DBA0000483A8 /* Icon@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = D23DE6731958DBA0000483A8 /* Icon@2x.png */; }; - D23DE6811958DBA0000483A8 /* iTunesArtwork in Resources */ = {isa = PBXBuildFile; fileRef = D23DE6751958DBA0000483A8 /* iTunesArtwork */; }; - D23DE9E51958E0BD000483A8 /* Resources-shared in Resources */ = {isa = PBXBuildFile; fileRef = D23DE9E41958E0BD000483A8 /* Resources-shared */; }; - D242C50E1958D78700E7726D /* MainMenu.m in Sources */ = {isa = PBXBuildFile; fileRef = D242C50B1958D78700E7726D /* MainMenu.m */; }; - D242C50F1958D78700E7726D /* TestBase.m in Sources */ = {isa = PBXBuildFile; fileRef = D242C50D1958D78700E7726D /* TestBase.m */; }; - D242C5131958D87900E7726D /* CoreText.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D242C5121958D87900E7726D /* CoreText.framework */; }; - D28F46271988175F006A017B /* Music in Resources */ = {isa = PBXBuildFile; fileRef = D28F46261988175F006A017B /* Music */; }; - D2A8000319F0F9D500ED29F6 /* libcocos2dAndroid.a in Frameworks */ = {isa = PBXBuildFile; fileRef = D2A8FFFC19F0F9A500ED29F6 /* libcocos2dAndroid.a */; }; - D2BBF573195280150005272F /* libEGL.so in Frameworks */ = {isa = PBXBuildFile; fileRef = D2BBF572195280150005272F /* libEGL.so */; }; -/* End PBXBuildFile section */ - -/* Begin PBXContainerItemProxy section */ - D2A8000119F0F9C300ED29F6 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = D2A8FFEC19F0F9A400ED29F6 /* cocos2d.xcodeproj */; - proxyType = 1; - remoteGlobalIDString = D2FEB60D194F6C9E00FC0574; - remoteInfo = cocos2dAndroid; - }; - D2A8FFF919F0F9A500ED29F6 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = D2A8FFEC19F0F9A400ED29F6 /* cocos2d.xcodeproj */; - proxyType = 2; - remoteGlobalIDString = 5018F24D0DFDEAC400C013A5; - remoteInfo = "cocos2d-ios"; - }; - D2A8FFFB19F0F9A500ED29F6 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = D2A8FFEC19F0F9A400ED29F6 /* cocos2d.xcodeproj */; - proxyType = 2; - remoteGlobalIDString = D2FEB74F194F6C9E00FC0574; - remoteInfo = cocos2dAndroid; - }; - D2A8FFFF19F0F9A500ED29F6 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = D2A8FFEC19F0F9A400ED29F6 /* cocos2d.xcodeproj */; - proxyType = 2; - remoteGlobalIDString = 7A4037A819E37038007B6E8F; - remoteInfo = "cocos2d-mac"; - }; -/* End PBXContainerItemProxy section */ - -/* Begin PBXFileReference section */ - 14098DAA1A37EA94005F0B26 /* AndroidKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AndroidKit.framework; path = "../../../Library/Application Support/Developer/Shared/Xcode/Platforms/Android.platform/Developer/SDKs/SBAndroid.sdk/System/Library/Frameworks/AndroidKit.framework"; sourceTree = ""; }; - 14098DAC1A37EA9A005F0B26 /* GLActivityKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = GLActivityKit.framework; path = "../../../Library/Application Support/Developer/Shared/Xcode/Platforms/Android.platform/Developer/SDKs/SBAndroid.sdk/System/Library/Frameworks/GLActivityKit.framework"; sourceTree = ""; }; - 141A45D21A38DB1000853DB8 /* CoreJava.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreJava.framework; path = "../../../Library/Application Support/Developer/Shared/Xcode/Platforms/Android.platform/Developer/SDKs/SBAndroid.sdk/System/Library/Frameworks/CoreJava.framework"; sourceTree = ""; }; - 146F55071A391B5C00CCCF26 /* GLActivityKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = GLActivityKit.framework; path = System/Library/Frameworks/GLActivityKit.framework; sourceTree = SDKROOT; }; - 147456A31A3B9B1A0024B64E /* Published-Android */ = {isa = PBXFileReference; lastKnownFileType = folder; path = "Published-Android"; sourceTree = ""; }; - 14D9F5D51A3A81DE00620103 /* configCocos2d.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = configCocos2d.plist; path = "../../cocos2d-ui-tests/Resources-shared/configCocos2d.plist"; sourceTree = ""; }; - 14EF47AD1A37F15800A45BE4 /* JavaKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaKit.framework; path = "../../../Library/Application Support/Developer/Shared/Xcode/Platforms/Android.platform/Developer/SDKs/SBAndroid.sdk/System/Library/Frameworks/JavaKit.framework"; sourceTree = ""; }; - 464236B31A428B4500532547 /* JavaBridge.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaBridge.framework; path = System/Library/Frameworks/JavaBridge.framework; sourceTree = SDKROOT; }; - 464236B51A428B4D00532547 /* JavaFoundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaFoundation.framework; path = System/Library/Frameworks/JavaFoundation.framework; sourceTree = SDKROOT; }; - 57E144C31975DC340065F142 /* A Damn Mess.ttf */ = {isa = PBXFileReference; lastKnownFileType = file; path = "A Damn Mess.ttf"; sourceTree = ""; }; - 57E144C41975DC340065F142 /* Abberancy.ttf */ = {isa = PBXFileReference; lastKnownFileType = file; path = Abberancy.ttf; sourceTree = ""; }; - 57E144C61975DC340065F142 /* arial-unicode-26.fnt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = "arial-unicode-26.fnt"; sourceTree = ""; }; - 57E144C71975DC340065F142 /* arial-unicode-26.GlyphProject */ = {isa = PBXFileReference; lastKnownFileType = file.bplist; path = "arial-unicode-26.GlyphProject"; sourceTree = ""; }; - 57E144C81975DC340065F142 /* arial-unicode-26.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "arial-unicode-26.png"; sourceTree = ""; }; - 57E144C91975DC340065F142 /* arial16.fnt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = arial16.fnt; sourceTree = ""; }; - 57E144CA1975DC340065F142 /* arial16.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = arial16.png; sourceTree = ""; }; - 57E144CB1975DC340065F142 /* bitmapFontTest.fnt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = bitmapFontTest.fnt; sourceTree = ""; }; - 57E144CC1975DC340065F142 /* bitmapFontTest.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = bitmapFontTest.png; sourceTree = ""; }; - 57E144CD1975DC340065F142 /* bitmapFontTest2.fnt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = bitmapFontTest2.fnt; sourceTree = ""; }; - 57E144CE1975DC340065F142 /* bitmapFontTest3.fnt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = bitmapFontTest3.fnt; sourceTree = ""; }; - 57E144CF1975DC340065F142 /* bitmapFontTest3.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = bitmapFontTest3.png; sourceTree = ""; }; - 57E144D01975DC340065F142 /* bitmapFontTest4.fnt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = bitmapFontTest4.fnt; sourceTree = ""; }; - 57E144D11975DC340065F142 /* bitmapFontTest4.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = bitmapFontTest4.png; sourceTree = ""; }; - 57E144D21975DC340065F142 /* bitmapFontTest5.fnt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = bitmapFontTest5.fnt; sourceTree = ""; }; - 57E144D31975DC340065F142 /* bitmapFontTest5.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = bitmapFontTest5.png; sourceTree = ""; }; - 57E144D41975DC340065F142 /* boundsTestFont.fnt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = boundsTestFont.fnt; sourceTree = ""; }; - 57E144D51975DC340065F142 /* boundsTestFont.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = boundsTestFont.png; sourceTree = ""; }; - 57E144D61975DC340065F142 /* font-issue1343-hd.fnt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = "font-issue1343-hd.fnt"; sourceTree = ""; }; - 57E144D71975DC340065F142 /* font-issue1343-hd.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "font-issue1343-hd.png"; sourceTree = ""; }; - 57E144D81975DC340065F142 /* font-issue1343.fnt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = "font-issue1343.fnt"; sourceTree = ""; }; - 57E144D91975DC340065F142 /* font-issue1343.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "font-issue1343.png"; sourceTree = ""; }; - 57E144DA1975DC340065F142 /* fps_images-hd.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "fps_images-hd.plist"; sourceTree = ""; }; - 57E144DB1975DC340065F142 /* fps_images-hd.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "fps_images-hd.png"; sourceTree = ""; }; - 57E144DC1975DC340065F142 /* fps_images-ipadhd.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "fps_images-ipadhd.png"; sourceTree = ""; }; - 57E144DD1975DC340065F142 /* fps_images.GlyphProject */ = {isa = PBXFileReference; lastKnownFileType = file.bplist; path = fps_images.GlyphProject; sourceTree = ""; }; - 57E144DE1975DC340065F142 /* fps_images.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = fps_images.plist; sourceTree = ""; }; - 57E144DF1975DC340065F142 /* fps_images.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = fps_images.png; sourceTree = ""; }; - 57E144E01975DC340065F142 /* futura-48.fnt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = "futura-48.fnt"; sourceTree = ""; }; - 57E144E11975DC340065F142 /* futura-48.GlyphProject */ = {isa = PBXFileReference; lastKnownFileType = file.bplist; path = "futura-48.GlyphProject"; sourceTree = ""; }; - 57E144E21975DC340065F142 /* futura-48.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "futura-48.png"; sourceTree = ""; }; - 57E144E31975DC340065F142 /* geneva-32.fnt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = "geneva-32.fnt"; sourceTree = ""; }; - 57E144E41975DC340065F142 /* helvetica-32.fnt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = "helvetica-32.fnt"; sourceTree = ""; }; - 57E144E51975DC340065F142 /* helvetica-geneva-32.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "helvetica-geneva-32.png"; sourceTree = ""; }; - 57E144E61975DC340065F142 /* konqa32-hd.fnt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = "konqa32-hd.fnt"; sourceTree = ""; }; - 57E144E71975DC340065F142 /* konqa32-hd.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "konqa32-hd.png"; sourceTree = ""; }; - 57E144E81975DC340065F142 /* konqa32.fnt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = konqa32.fnt; sourceTree = ""; }; - 57E144E91975DC340065F142 /* konqa32.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = konqa32.png; sourceTree = ""; }; - 57E144EA1975DC340065F142 /* larabie-16-hd.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "larabie-16-hd.plist"; sourceTree = ""; }; - 57E144EB1975DC340065F142 /* larabie-16-hd.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "larabie-16-hd.png"; sourceTree = ""; }; - 57E144EC1975DC340065F142 /* larabie-16.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "larabie-16.plist"; sourceTree = ""; }; - 57E144ED1975DC340065F142 /* larabie-16.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "larabie-16.png"; sourceTree = ""; }; - 57E144EE1975DC340065F142 /* markerFelt-hd.fnt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = "markerFelt-hd.fnt"; sourceTree = ""; }; - 57E144EF1975DC340065F142 /* markerFelt-hd.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "markerFelt-hd.png"; sourceTree = ""; }; - 57E144F01975DC340065F142 /* markerFelt.fnt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = markerFelt.fnt; sourceTree = ""; }; - 57E144F11975DC340065F142 /* markerFelt.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = markerFelt.png; sourceTree = ""; }; - 57E144F21975DC340065F142 /* Paint Boy.ttf */ = {isa = PBXFileReference; lastKnownFileType = file; path = "Paint Boy.ttf"; sourceTree = ""; }; - 57E144F31975DC340065F142 /* RobotoSlab-Bold.ttf */ = {isa = PBXFileReference; lastKnownFileType = file; path = "RobotoSlab-Bold.ttf"; sourceTree = ""; }; - 57E144F41975DC340065F142 /* RobotoSlab-Light.ttf */ = {isa = PBXFileReference; lastKnownFileType = file; path = "RobotoSlab-Light.ttf"; sourceTree = ""; }; - 57E144F51975DC340065F142 /* RobotoSlab-Regular.ttf */ = {isa = PBXFileReference; lastKnownFileType = file; path = "RobotoSlab-Regular.ttf"; sourceTree = ""; }; - 57E144F61975DC340065F142 /* RobotoSlab-Thin.ttf */ = {isa = PBXFileReference; lastKnownFileType = file; path = "RobotoSlab-Thin.ttf"; sourceTree = ""; }; - 57E144F71975DC340065F142 /* Schwarzwald Regular.ttf */ = {isa = PBXFileReference; lastKnownFileType = file; path = "Schwarzwald Regular.ttf"; sourceTree = ""; }; - 57E144F81975DC340065F142 /* Scissor Cuts.ttf */ = {isa = PBXFileReference; lastKnownFileType = file; path = "Scissor Cuts.ttf"; sourceTree = ""; }; - 57E144F91975DC340065F142 /* tuffy_bold_italic-charmap-hd.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "tuffy_bold_italic-charmap-hd.plist"; sourceTree = ""; }; - 57E144FA1975DC340065F142 /* tuffy_bold_italic-charmap.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "tuffy_bold_italic-charmap.plist"; sourceTree = ""; }; - 57E144FB1975DC340065F142 /* tuffy_bold_italic-charmap.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "tuffy_bold_italic-charmap.png"; sourceTree = ""; }; - 57E144FC1975DC340065F142 /* west_england-64.fnt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = "west_england-64.fnt"; sourceTree = ""; }; - 57E144FD1975DC340065F142 /* west_england-64.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "west_england-64.png"; sourceTree = ""; }; - 57F23E5A197774FE003D811B /* ThisFontIsAbdFont.ttf */ = {isa = PBXFileReference; lastKnownFileType = file; path = ThisFontIsAbdFont.ttf; sourceTree = ""; }; - 5B0ED72D196E4D3500F9868F /* Images */ = {isa = PBXFileReference; lastKnownFileType = folder; name = Images; path = ../../Resources/Images; sourceTree = ""; }; - 5B0ED731196E4DAA00F9868F /* TileMaps */ = {isa = PBXFileReference; lastKnownFileType = folder; name = TileMaps; path = ../../Resources/TileMaps; sourceTree = ""; }; - 5B0ED735196E54BD00F9868F /* Sounds */ = {isa = PBXFileReference; lastKnownFileType = folder; name = Sounds; path = ../../Resources/Sounds; sourceTree = ""; }; - 5B0ED737196E550000F9868F /* Particles */ = {isa = PBXFileReference; lastKnownFileType = folder; name = Particles; path = ../../Resources/Particles; sourceTree = ""; }; - 5B165F43195CE3F0002338B1 /* SimpleScene.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SimpleScene.h; sourceTree = ""; }; - 5B165F44195CE3F0002338B1 /* SimpleScene.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SimpleScene.m; sourceTree = ""; }; - 5B165F49195CE564002338B1 /* CCBMFontTest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCBMFontTest.m; sourceTree = ""; }; - 5B165F4B195CE564002338B1 /* CCEffectsTest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCEffectsTest.m; sourceTree = ""; }; - 5B165F4C195CE564002338B1 /* CCLabelTTFTest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCLabelTTFTest.m; sourceTree = ""; }; - 5B165F4D195CE564002338B1 /* CCLayoutTest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCLayoutTest.m; sourceTree = ""; }; - 5B165F4E195CE564002338B1 /* CCPhysicsTest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCPhysicsTest.m; sourceTree = ""; }; - 5B165F4F195CE564002338B1 /* CCRendererTest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCRendererTest.m; sourceTree = ""; }; - 5B165F50195CE564002338B1 /* CCResponderTest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCResponderTest.m; sourceTree = ""; }; - 5B165F51195CE564002338B1 /* CCSchedulerTest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCSchedulerTest.m; sourceTree = ""; }; - 5B165F52195CE564002338B1 /* CCScrollViewTest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCScrollViewTest.m; sourceTree = ""; }; - 5B165F53195CE564002338B1 /* CCSliderTest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCSliderTest.m; sourceTree = ""; }; - 5B165F54195CE564002338B1 /* CCSprite9SliceTest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCSprite9SliceTest.m; sourceTree = ""; }; - 5B165F55195CE564002338B1 /* CCTableViewTest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCTableViewTest.m; sourceTree = ""; }; - 5B165F56195CE564002338B1 /* CCTextFieldTest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCTextFieldTest.m; sourceTree = ""; }; - 5B165F57195CE564002338B1 /* CCTextureCacheTest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCTextureCacheTest.m; sourceTree = ""; }; - 5B165F58195CE564002338B1 /* CCTransitionTest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCTransitionTest.m; sourceTree = ""; }; - 5B165F59195CE564002338B1 /* ColorPickerTest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ColorPickerTest.m; sourceTree = ""; }; - 5B165F5A195CE564002338B1 /* ColorTest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ColorTest.m; sourceTree = ""; }; - 5B165F5B195CE564002338B1 /* ObjectALTest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ObjectALTest.m; sourceTree = ""; }; - 5B165F5C195CE564002338B1 /* ParallaxTest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ParallaxTest.m; sourceTree = ""; }; - 5B165F5D195CE564002338B1 /* ParticleTest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ParticleTest.m; sourceTree = ""; }; - 5B165F5E195CE564002338B1 /* PositioningTest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PositioningTest.m; sourceTree = ""; }; - 5B165F5F195CE564002338B1 /* SpritePerformanceTest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SpritePerformanceTest.m; sourceTree = ""; }; - 5B165F60195CE564002338B1 /* TextureTest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = TextureTest.m; sourceTree = ""; }; - 5B165F61195CE564002338B1 /* TilemapTest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = TilemapTest.m; sourceTree = ""; }; - 5B165F62195CE564002338B1 /* VertexZTest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = VertexZTest.m; sourceTree = ""; }; - 5B25AFF41973193A004BDA29 /* res */ = {isa = PBXFileReference; lastKnownFileType = folder; name = res; path = src/main/res; sourceTree = ""; }; - 5B4D6CBD1936ACE5004D1A0B /* Headless.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Headless.app; sourceTree = BUILT_PRODUCTS_DIR; }; - 5B4D6CC01936ACE5004D1A0B /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; - 5B4D6CC21936ACE5004D1A0B /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; - 5B4D6CC41936ACE5004D1A0B /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; - 5B4D6CC81936ACE5004D1A0B /* Headless-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "Headless-Info.plist"; sourceTree = ""; }; - 5B4D6CCA1936ACE5004D1A0B /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; - 5B4D6CCE1936ACE5004D1A0B /* Headless-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Headless-Prefix.pch"; sourceTree = ""; }; - 5B4D6CD91936ACE5004D1A0B /* XCTest.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = XCTest.framework; path = Library/Frameworks/XCTest.framework; sourceTree = DEVELOPER_DIR; }; - 5B4D6CE11936ACE5004D1A0B /* HeadlessTests-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "HeadlessTests-Info.plist"; sourceTree = ""; }; - 5B4D6CE31936ACE5004D1A0B /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; - 5B4D6CE51936ACE5004D1A0B /* HeadlessTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = HeadlessTests.m; sourceTree = ""; }; - 5B89B0211946369D00CD2A5E /* AndroidManifest.xml */ = {isa = PBXFileReference; lastKnownFileType = text.xml; name = AndroidManifest.xml; path = src/main/AndroidManifest.xml; sourceTree = ""; }; - 5BA67A54196CA1220010FFB7 /* HeadlessActivity.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = HeadlessActivity.h; sourceTree = ""; }; - 5BA67A55196CA1220010FFB7 /* HeadlessActivity.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = HeadlessActivity.m; sourceTree = ""; }; - 5BAF859E1936C8990085EA39 /* libEGL.so */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libEGL.so; path = "usr/lib/armv7a-neon/libEGL.so"; sourceTree = SDKROOT; }; - 5BAF85A01936C8A90085EA39 /* libGLESv1_CM.so */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libGLESv1_CM.so; path = "usr/lib/armv7a-neon/libGLESv1_CM.so"; sourceTree = SDKROOT; }; - 5BAF85A11936C8A90085EA39 /* libGLESv2.so */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libGLESv2.so; path = "usr/lib/armv7a-neon/libGLESv2.so"; sourceTree = SDKROOT; }; - 5BAF85A21936C8A90085EA39 /* libGLESv3.so */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libGLESv3.so; path = "usr/lib/armv7a-neon/libGLESv3.so"; sourceTree = SDKROOT; }; - 5BCE505B1941181E00E057D0 /* libbridge_runtime.so */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libbridge_runtime.so; path = "usr/local/lib/armv7a-neon/libbridge_runtime.so"; sourceTree = SDKROOT; }; - BC9F4EE019DCB1B200B25F01 /* CCPackageTest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = CCPackageTest.m; path = "../../../cocos2d-ui-tests/tests/CCPackageTest.m"; sourceTree = ""; }; - D23DE66A1958DBA0000483A8 /* Default-568h@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = "Default-568h@2x.png"; path = "../../cocos2d-ui-tests/ios/Resources/Default-568h@2x.png"; sourceTree = ""; }; - D23DE66B1958DBA0000483A8 /* Default-Landscape~ipad.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = "Default-Landscape~ipad.png"; path = "../../cocos2d-ui-tests/ios/Resources/Default-Landscape~ipad.png"; sourceTree = ""; }; - D23DE66C1958DBA0000483A8 /* Default.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = Default.png; path = "../../cocos2d-ui-tests/ios/Resources/Default.png"; sourceTree = ""; }; - D23DE66D1958DBA0000483A8 /* Default@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = "Default@2x.png"; path = "../../cocos2d-ui-tests/ios/Resources/Default@2x.png"; sourceTree = ""; }; - D23DE66E1958DBA0000483A8 /* Icon-72.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = "Icon-72.png"; path = "../../cocos2d-ui-tests/ios/Resources/Icon-72.png"; sourceTree = ""; }; - D23DE66F1958DBA0000483A8 /* Icon-Small-50.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = "Icon-Small-50.png"; path = "../../cocos2d-ui-tests/ios/Resources/Icon-Small-50.png"; sourceTree = ""; }; - D23DE6701958DBA0000483A8 /* Icon-Small.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = "Icon-Small.png"; path = "../../cocos2d-ui-tests/ios/Resources/Icon-Small.png"; sourceTree = ""; }; - D23DE6711958DBA0000483A8 /* Icon-Small@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = "Icon-Small@2x.png"; path = "../../cocos2d-ui-tests/ios/Resources/Icon-Small@2x.png"; sourceTree = ""; }; - D23DE6721958DBA0000483A8 /* Icon.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = Icon.png; path = "../../cocos2d-ui-tests/ios/Resources/Icon.png"; sourceTree = ""; }; - D23DE6731958DBA0000483A8 /* Icon@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = "Icon@2x.png"; path = "../../cocos2d-ui-tests/ios/Resources/Icon@2x.png"; sourceTree = ""; }; - D23DE6751958DBA0000483A8 /* iTunesArtwork */ = {isa = PBXFileReference; lastKnownFileType = file; name = iTunesArtwork; path = "../../cocos2d-ui-tests/ios/Resources/iTunesArtwork"; sourceTree = ""; }; - D23DE9E41958E0BD000483A8 /* Resources-shared */ = {isa = PBXFileReference; lastKnownFileType = folder; name = "Resources-shared"; path = "../../cocos2d-ui-tests/Resources-shared"; sourceTree = ""; }; - D242C50A1958D78700E7726D /* MainMenu.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = MainMenu.h; path = "../../cocos2d-ui-tests/MainMenu.h"; sourceTree = ""; }; - D242C50B1958D78700E7726D /* MainMenu.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = MainMenu.m; path = "../../cocos2d-ui-tests/MainMenu.m"; sourceTree = ""; }; - D242C50C1958D78700E7726D /* TestBase.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = TestBase.h; path = "../../cocos2d-ui-tests/TestBase.h"; sourceTree = ""; }; - D242C50D1958D78700E7726D /* TestBase.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = TestBase.m; path = "../../cocos2d-ui-tests/TestBase.m"; sourceTree = ""; }; - D242C5121958D87900E7726D /* CoreText.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreText.framework; path = System/Library/Frameworks/CoreText.framework; sourceTree = SDKROOT; }; - D28F46261988175F006A017B /* Music */ = {isa = PBXFileReference; lastKnownFileType = folder; name = Music; path = ../../Resources/Music; sourceTree = ""; }; - D2952D3C19520B9A007C58A7 /* OpenAL.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = OpenAL.framework; path = System/Library/Frameworks/OpenAL.framework; sourceTree = SDKROOT; }; - D2A8FFEC19F0F9A400ED29F6 /* cocos2d.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = cocos2d.xcodeproj; path = ../../cocos2d.xcodeproj; sourceTree = ""; }; - D2BBF54F195264EA0005272F /* libGLESv3.so */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libGLESv3.so; path = usr/lib/armeabi/libGLESv3.so; sourceTree = SDKROOT; }; - D2BBF55419527B170005272F /* libGLESv3.so */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libGLESv3.so; path = usr/lib/armv7a/libGLESv3.so; sourceTree = SDKROOT; }; - D2BBF55A19527B620005272F /* libGLESv3.so */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libGLESv3.so; path = usr/lib/x86/libGLESv3.so; sourceTree = SDKROOT; }; - D2BBF55E19527DD80005272F /* libGLESv2.so */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libGLESv2.so; path = usr/lib/armeabi/libGLESv2.so; sourceTree = SDKROOT; }; - D2BBF56419527E960005272F /* libGLESv2.so */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libGLESv2.so; path = usr/lib/armv7a/libGLESv2.so; sourceTree = SDKROOT; }; - D2BBF56719527EC70005272F /* libGLESv2.so */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libGLESv2.so; path = usr/lib/x86/libGLESv2.so; sourceTree = SDKROOT; }; - D2BBF5701952800B0005272F /* libGLESv1_CM.so */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libGLESv1_CM.so; path = usr/lib/armv7a/libGLESv1_CM.so; sourceTree = SDKROOT; }; - D2BBF572195280150005272F /* libEGL.so */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libEGL.so; path = usr/lib/armv7a/libEGL.so; sourceTree = SDKROOT; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - 5B4D6CBA1936ACE5004D1A0B /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 464236B61A428B4D00532547 /* JavaFoundation.framework in Frameworks */, - 141A45D31A38DB1000853DB8 /* CoreJava.framework in Frameworks */, - 14EF47AF1A37F17300A45BE4 /* AndroidKit.framework in Frameworks */, - 14EF47AE1A37F15800A45BE4 /* JavaKit.framework in Frameworks */, - D2A8000319F0F9D500ED29F6 /* libcocos2dAndroid.a in Frameworks */, - D242C5131958D87900E7726D /* CoreText.framework in Frameworks */, - 5B063DC919636B8C002B1CDE /* OpenAL.framework in Frameworks */, - D2BBF573195280150005272F /* libEGL.so in Frameworks */, - 5B4D6CC31936ACE5004D1A0B /* CoreGraphics.framework in Frameworks */, - 5B4D6CC11936ACE5004D1A0B /* Foundation.framework in Frameworks */, - 14EF47B01A37F31100A45BE4 /* GLActivityKit.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 14D9F5D31A3A81C100620103 /* Resources */ = { - isa = PBXGroup; - children = ( - 14D9F5D41A3A81CA00620103 /* Published-Android */, - ); - name = Resources; - sourceTree = ""; - }; - 14D9F5D41A3A81CA00620103 /* Published-Android */ = { - isa = PBXGroup; - children = ( - 14D9F5D51A3A81DE00620103 /* configCocos2d.plist */, - ); - name = "Published-Android"; - sourceTree = ""; - }; - 57E144C21975DC340065F142 /* Fonts */ = { - isa = PBXGroup; - children = ( - 57F23E5A197774FE003D811B /* ThisFontIsAbdFont.ttf */, - 57E144C31975DC340065F142 /* A Damn Mess.ttf */, - 57E144C41975DC340065F142 /* Abberancy.ttf */, - 57E144C61975DC340065F142 /* arial-unicode-26.fnt */, - 57E144C71975DC340065F142 /* arial-unicode-26.GlyphProject */, - 57E144C81975DC340065F142 /* arial-unicode-26.png */, - 57E144C91975DC340065F142 /* arial16.fnt */, - 57E144CA1975DC340065F142 /* arial16.png */, - 57E144CB1975DC340065F142 /* bitmapFontTest.fnt */, - 57E144CC1975DC340065F142 /* bitmapFontTest.png */, - 57E144CD1975DC340065F142 /* bitmapFontTest2.fnt */, - 57E144CE1975DC340065F142 /* bitmapFontTest3.fnt */, - 57E144CF1975DC340065F142 /* bitmapFontTest3.png */, - 57E144D01975DC340065F142 /* bitmapFontTest4.fnt */, - 57E144D11975DC340065F142 /* bitmapFontTest4.png */, - 57E144D21975DC340065F142 /* bitmapFontTest5.fnt */, - 57E144D31975DC340065F142 /* bitmapFontTest5.png */, - 57E144D41975DC340065F142 /* boundsTestFont.fnt */, - 57E144D51975DC340065F142 /* boundsTestFont.png */, - 57E144D61975DC340065F142 /* font-issue1343-hd.fnt */, - 57E144D71975DC340065F142 /* font-issue1343-hd.png */, - 57E144D81975DC340065F142 /* font-issue1343.fnt */, - 57E144D91975DC340065F142 /* font-issue1343.png */, - 57E144DA1975DC340065F142 /* fps_images-hd.plist */, - 57E144DB1975DC340065F142 /* fps_images-hd.png */, - 57E144DC1975DC340065F142 /* fps_images-ipadhd.png */, - 57E144DD1975DC340065F142 /* fps_images.GlyphProject */, - 57E144DE1975DC340065F142 /* fps_images.plist */, - 57E144DF1975DC340065F142 /* fps_images.png */, - 57E144E01975DC340065F142 /* futura-48.fnt */, - 57E144E11975DC340065F142 /* futura-48.GlyphProject */, - 57E144E21975DC340065F142 /* futura-48.png */, - 57E144E31975DC340065F142 /* geneva-32.fnt */, - 57E144E41975DC340065F142 /* helvetica-32.fnt */, - 57E144E51975DC340065F142 /* helvetica-geneva-32.png */, - 57E144E61975DC340065F142 /* konqa32-hd.fnt */, - 57E144E71975DC340065F142 /* konqa32-hd.png */, - 57E144E81975DC340065F142 /* konqa32.fnt */, - 57E144E91975DC340065F142 /* konqa32.png */, - 57E144EA1975DC340065F142 /* larabie-16-hd.plist */, - 57E144EB1975DC340065F142 /* larabie-16-hd.png */, - 57E144EC1975DC340065F142 /* larabie-16.plist */, - 57E144ED1975DC340065F142 /* larabie-16.png */, - 57E144EE1975DC340065F142 /* markerFelt-hd.fnt */, - 57E144EF1975DC340065F142 /* markerFelt-hd.png */, - 57E144F01975DC340065F142 /* markerFelt.fnt */, - 57E144F11975DC340065F142 /* markerFelt.png */, - 57E144F21975DC340065F142 /* Paint Boy.ttf */, - 57E144F31975DC340065F142 /* RobotoSlab-Bold.ttf */, - 57E144F41975DC340065F142 /* RobotoSlab-Light.ttf */, - 57E144F51975DC340065F142 /* RobotoSlab-Regular.ttf */, - 57E144F61975DC340065F142 /* RobotoSlab-Thin.ttf */, - 57E144F71975DC340065F142 /* Schwarzwald Regular.ttf */, - 57E144F81975DC340065F142 /* Scissor Cuts.ttf */, - 57E144F91975DC340065F142 /* tuffy_bold_italic-charmap-hd.plist */, - 57E144FA1975DC340065F142 /* tuffy_bold_italic-charmap.plist */, - 57E144FB1975DC340065F142 /* tuffy_bold_italic-charmap.png */, - 57E144FC1975DC340065F142 /* west_england-64.fnt */, - 57E144FD1975DC340065F142 /* west_england-64.png */, - ); - name = Fonts; - path = ../../Resources/Fonts; - sourceTree = ""; - }; - 5B165F48195CE564002338B1 /* tests */ = { - isa = PBXGroup; - children = ( - 5B165F49195CE564002338B1 /* CCBMFontTest.m */, - 5B165F4B195CE564002338B1 /* CCEffectsTest.m */, - 5B165F4C195CE564002338B1 /* CCLabelTTFTest.m */, - 5B165F4D195CE564002338B1 /* CCLayoutTest.m */, - BC9F4EE019DCB1B200B25F01 /* CCPackageTest.m */, - 5B165F4E195CE564002338B1 /* CCPhysicsTest.m */, - 5B165F4F195CE564002338B1 /* CCRendererTest.m */, - 5B165F50195CE564002338B1 /* CCResponderTest.m */, - 5B165F51195CE564002338B1 /* CCSchedulerTest.m */, - 5B165F52195CE564002338B1 /* CCScrollViewTest.m */, - 5B165F53195CE564002338B1 /* CCSliderTest.m */, - 5B165F54195CE564002338B1 /* CCSprite9SliceTest.m */, - 5B165F55195CE564002338B1 /* CCTableViewTest.m */, - 5B165F56195CE564002338B1 /* CCTextFieldTest.m */, - 5B165F57195CE564002338B1 /* CCTextureCacheTest.m */, - 5B165F58195CE564002338B1 /* CCTransitionTest.m */, - 5B165F59195CE564002338B1 /* ColorPickerTest.m */, - 5B165F5A195CE564002338B1 /* ColorTest.m */, - 5B165F5B195CE564002338B1 /* ObjectALTest.m */, - 5B165F5C195CE564002338B1 /* ParallaxTest.m */, - 5B165F5D195CE564002338B1 /* ParticleTest.m */, - 5B165F5E195CE564002338B1 /* PositioningTest.m */, - 5B165F5F195CE564002338B1 /* SpritePerformanceTest.m */, - 5B165F60195CE564002338B1 /* TextureTest.m */, - 5B165F61195CE564002338B1 /* TilemapTest.m */, - 5B165F62195CE564002338B1 /* VertexZTest.m */, - ); - path = tests; - sourceTree = ""; - }; - 5B4D6CB41936ACE5004D1A0B = { - isa = PBXGroup; - children = ( - 5B4D6CC61936ACE5004D1A0B /* Headless */, - 5B4D6CDF1936ACE5004D1A0B /* HeadlessTests */, - 5B4D6CBF1936ACE5004D1A0B /* Frameworks */, - 5B4D6CBE1936ACE5004D1A0B /* Products */, - ); - sourceTree = ""; - }; - 5B4D6CBE1936ACE5004D1A0B /* Products */ = { - isa = PBXGroup; - children = ( - 5B4D6CBD1936ACE5004D1A0B /* Headless.app */, - ); - name = Products; - sourceTree = ""; - }; - 5B4D6CBF1936ACE5004D1A0B /* Frameworks */ = { - isa = PBXGroup; - children = ( - 464236B51A428B4D00532547 /* JavaFoundation.framework */, - 464236B31A428B4500532547 /* JavaBridge.framework */, - 146F55071A391B5C00CCCF26 /* GLActivityKit.framework */, - 141A45D21A38DB1000853DB8 /* CoreJava.framework */, - 14EF47AD1A37F15800A45BE4 /* JavaKit.framework */, - 14098DAC1A37EA9A005F0B26 /* GLActivityKit.framework */, - 14098DAA1A37EA94005F0B26 /* AndroidKit.framework */, - D242C5121958D87900E7726D /* CoreText.framework */, - D2BBF572195280150005272F /* libEGL.so */, - D2BBF5701952800B0005272F /* libGLESv1_CM.so */, - D2BBF56719527EC70005272F /* libGLESv2.so */, - D2BBF56419527E960005272F /* libGLESv2.so */, - D2BBF55E19527DD80005272F /* libGLESv2.so */, - D2BBF55A19527B620005272F /* libGLESv3.so */, - D2BBF55419527B170005272F /* libGLESv3.so */, - D2BBF54F195264EA0005272F /* libGLESv3.so */, - D2952D3C19520B9A007C58A7 /* OpenAL.framework */, - 5BCE505B1941181E00E057D0 /* libbridge_runtime.so */, - 5BAF85A01936C8A90085EA39 /* libGLESv1_CM.so */, - 5BAF85A11936C8A90085EA39 /* libGLESv2.so */, - 5BAF85A21936C8A90085EA39 /* libGLESv3.so */, - 5BAF859E1936C8990085EA39 /* libEGL.so */, - 5B4D6CC01936ACE5004D1A0B /* Foundation.framework */, - 5B4D6CC21936ACE5004D1A0B /* CoreGraphics.framework */, - 5B4D6CC41936ACE5004D1A0B /* UIKit.framework */, - 5B4D6CD91936ACE5004D1A0B /* XCTest.framework */, - ); - name = Frameworks; - sourceTree = ""; - }; - 5B4D6CC61936ACE5004D1A0B /* Headless */ = { - isa = PBXGroup; - children = ( - 147456A31A3B9B1A0024B64E /* Published-Android */, - 14D9F5D31A3A81C100620103 /* Resources */, - D28F46261988175F006A017B /* Music */, - 5B0ED737196E550000F9868F /* Particles */, - 5B0ED735196E54BD00F9868F /* Sounds */, - 5B0ED731196E4DAA00F9868F /* TileMaps */, - 5B0ED72D196E4D3500F9868F /* Images */, - D23DE9E41958E0BD000483A8 /* Resources-shared */, - D23DE64E1958DB52000483A8 /* Resources-iOS */, - 5B25AFF41973193A004BDA29 /* res */, - D242C5071958D76500E7726D /* Testbed */, - 5B165F48195CE564002338B1 /* tests */, - 5B4D6CC71936ACE5004D1A0B /* Supporting Files */, - D2D0EDF51951260300E9103F /* libs */, - ); - path = Headless; - sourceTree = ""; - }; - 5B4D6CC71936ACE5004D1A0B /* Supporting Files */ = { - isa = PBXGroup; - children = ( - 5B89B0211946369D00CD2A5E /* AndroidManifest.xml */, - 5B4D6CC81936ACE5004D1A0B /* Headless-Info.plist */, - 5B4D6CC91936ACE5004D1A0B /* InfoPlist.strings */, - 5B4D6CCE1936ACE5004D1A0B /* Headless-Prefix.pch */, - ); - name = "Supporting Files"; - sourceTree = ""; - }; - 5B4D6CDF1936ACE5004D1A0B /* HeadlessTests */ = { - isa = PBXGroup; - children = ( - 5B4D6CE51936ACE5004D1A0B /* HeadlessTests.m */, - 5B4D6CE01936ACE5004D1A0B /* Supporting Files */, - ); - path = HeadlessTests; - sourceTree = ""; - }; - 5B4D6CE01936ACE5004D1A0B /* Supporting Files */ = { - isa = PBXGroup; - children = ( - 5B4D6CE11936ACE5004D1A0B /* HeadlessTests-Info.plist */, - 5B4D6CE21936ACE5004D1A0B /* InfoPlist.strings */, - ); - name = "Supporting Files"; - sourceTree = ""; - }; - D23DE64E1958DB52000483A8 /* Resources-iOS */ = { - isa = PBXGroup; - children = ( - 57E144C21975DC340065F142 /* Fonts */, - D23DE66A1958DBA0000483A8 /* Default-568h@2x.png */, - D23DE66B1958DBA0000483A8 /* Default-Landscape~ipad.png */, - D23DE66C1958DBA0000483A8 /* Default.png */, - D23DE66D1958DBA0000483A8 /* Default@2x.png */, - D23DE66E1958DBA0000483A8 /* Icon-72.png */, - D23DE66F1958DBA0000483A8 /* Icon-Small-50.png */, - D23DE6701958DBA0000483A8 /* Icon-Small.png */, - D23DE6711958DBA0000483A8 /* Icon-Small@2x.png */, - D23DE6721958DBA0000483A8 /* Icon.png */, - D23DE6731958DBA0000483A8 /* Icon@2x.png */, - D23DE6751958DBA0000483A8 /* iTunesArtwork */, - ); - name = "Resources-iOS"; - sourceTree = ""; - }; - D242C5071958D76500E7726D /* Testbed */ = { - isa = PBXGroup; - children = ( - D242C50A1958D78700E7726D /* MainMenu.h */, - D242C50B1958D78700E7726D /* MainMenu.m */, - 5BA67A54196CA1220010FFB7 /* HeadlessActivity.h */, - 5BA67A55196CA1220010FFB7 /* HeadlessActivity.m */, - D242C50C1958D78700E7726D /* TestBase.h */, - D242C50D1958D78700E7726D /* TestBase.m */, - 5B165F43195CE3F0002338B1 /* SimpleScene.h */, - 5B165F44195CE3F0002338B1 /* SimpleScene.m */, - ); - name = Testbed; - sourceTree = ""; - }; - D2A8FFED19F0F9A400ED29F6 /* Products */ = { - isa = PBXGroup; - children = ( - D2A8FFFA19F0F9A500ED29F6 /* libcocos2d.a */, - D2A8FFFC19F0F9A500ED29F6 /* libcocos2dAndroid.a */, - D2A8000019F0F9A500ED29F6 /* libcocos2d-mac.a */, - ); - name = Products; - sourceTree = ""; - }; - D2D0EDF51951260300E9103F /* libs */ = { - isa = PBXGroup; - children = ( - D2A8FFEC19F0F9A400ED29F6 /* cocos2d.xcodeproj */, - ); - name = libs; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - 5B4D6CBC1936ACE5004D1A0B /* Headless */ = { - isa = PBXNativeTarget; - buildConfigurationList = 5B4D6CE91936ACE5004D1A0B /* Build configuration list for PBXNativeTarget "Headless" */; - buildPhases = ( - 5B4D6CB91936ACE5004D1A0B /* Sources */, - 5B4D6CBA1936ACE5004D1A0B /* Frameworks */, - 5B4D6CBB1936ACE5004D1A0B /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - D2A8000219F0F9C300ED29F6 /* PBXTargetDependency */, - ); - name = Headless; - productName = Headless; - productReference = 5B4D6CBD1936ACE5004D1A0B /* Headless.app */; - productType = "com.apple.product-type.application"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - 5B4D6CB51936ACE5004D1A0B /* Project object */ = { - isa = PBXProject; - attributes = { - LastUpgradeCheck = 0510; - ORGANIZATIONNAME = Apportable; - }; - buildConfigurationList = 5B4D6CB81936ACE5004D1A0B /* Build configuration list for PBXProject "Headless" */; - compatibilityVersion = "Xcode 3.2"; - developmentRegion = English; - hasScannedForEncodings = 0; - knownRegions = ( - en, - ); - mainGroup = 5B4D6CB41936ACE5004D1A0B; - productRefGroup = 5B4D6CBE1936ACE5004D1A0B /* Products */; - projectDirPath = ""; - projectReferences = ( - { - ProductGroup = D2A8FFED19F0F9A400ED29F6 /* Products */; - ProjectRef = D2A8FFEC19F0F9A400ED29F6 /* cocos2d.xcodeproj */; - }, - ); - projectRoot = ""; - targets = ( - 5B4D6CBC1936ACE5004D1A0B /* Headless */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXReferenceProxy section */ - D2A8000019F0F9A500ED29F6 /* libcocos2d-mac.a */ = { - isa = PBXReferenceProxy; - fileType = archive.ar; - path = "libcocos2d-mac.a"; - remoteRef = D2A8FFFF19F0F9A500ED29F6 /* PBXContainerItemProxy */; - sourceTree = BUILT_PRODUCTS_DIR; - }; - D2A8FFFA19F0F9A500ED29F6 /* libcocos2d.a */ = { - isa = PBXReferenceProxy; - fileType = archive.ar; - path = libcocos2d.a; - remoteRef = D2A8FFF919F0F9A500ED29F6 /* PBXContainerItemProxy */; - sourceTree = BUILT_PRODUCTS_DIR; - }; - D2A8FFFC19F0F9A500ED29F6 /* libcocos2dAndroid.a */ = { - isa = PBXReferenceProxy; - fileType = archive.ar; - path = libcocos2dAndroid.a; - remoteRef = D2A8FFFB19F0F9A500ED29F6 /* PBXContainerItemProxy */; - sourceTree = BUILT_PRODUCTS_DIR; - }; -/* End PBXReferenceProxy section */ - -/* Begin PBXResourcesBuildPhase section */ - 5B4D6CBB1936ACE5004D1A0B /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - D28F46271988175F006A017B /* Music in Resources */, - 57E1452B1975DC340065F142 /* markerFelt.fnt in Resources */, - 57E145071975DC340065F142 /* bitmapFontTest.png in Resources */, - 57E145251975DC340065F142 /* larabie-16-hd.plist in Resources */, - 57E145221975DC340065F142 /* konqa32-hd.png in Resources */, - 57E1450E1975DC340065F142 /* bitmapFontTest5.png in Resources */, - 57E145031975DC340065F142 /* arial-unicode-26.png in Resources */, - 57E145101975DC340065F142 /* boundsTestFont.png in Resources */, - 57E1451B1975DC340065F142 /* futura-48.fnt in Resources */, - 57E1450B1975DC340065F142 /* bitmapFontTest4.fnt in Resources */, - 5B0ED732196E4DAA00F9868F /* TileMaps in Resources */, - 57E145291975DC340065F142 /* markerFelt-hd.fnt in Resources */, - 57E145131975DC340065F142 /* font-issue1343.fnt in Resources */, - 57E145081975DC340065F142 /* bitmapFontTest2.fnt in Resources */, - D23DE67C1958DBA0000483A8 /* Icon-Small.png in Resources */, - 57E1452C1975DC340065F142 /* markerFelt.png in Resources */, - 57E145231975DC340065F142 /* konqa32.fnt in Resources */, - 57E145261975DC340065F142 /* larabie-16-hd.png in Resources */, - D23DE6811958DBA0000483A8 /* iTunesArtwork in Resources */, - 57E145361975DC340065F142 /* tuffy_bold_italic-charmap.png in Resources */, - 57E145271975DC340065F142 /* larabie-16.plist in Resources */, - 5B0ED72E196E4D3500F9868F /* Images in Resources */, - D23DE6771958DBA0000483A8 /* Default-Landscape~ipad.png in Resources */, - 57E145061975DC340065F142 /* bitmapFontTest.fnt in Resources */, - 57E145351975DC340065F142 /* tuffy_bold_italic-charmap.plist in Resources */, - 57E1452A1975DC340065F142 /* markerFelt-hd.png in Resources */, - D23DE67E1958DBA0000483A8 /* Icon.png in Resources */, - 57E145181975DC340065F142 /* fps_images.GlyphProject in Resources */, - 57E1451D1975DC340065F142 /* futura-48.png in Resources */, - 57E145161975DC340065F142 /* fps_images-hd.png in Resources */, - 57E144FE1975DC340065F142 /* A Damn Mess.ttf in Resources */, - 57E145281975DC340065F142 /* larabie-16.png in Resources */, - 57E145021975DC340065F142 /* arial-unicode-26.GlyphProject in Resources */, - 57E1451A1975DC340065F142 /* fps_images.png in Resources */, - 57E1452E1975DC340065F142 /* RobotoSlab-Bold.ttf in Resources */, - 57E145321975DC340065F142 /* Schwarzwald Regular.ttf in Resources */, - 14D9F5D61A3A81DE00620103 /* configCocos2d.plist in Resources */, - 57E1450C1975DC340065F142 /* bitmapFontTest4.png in Resources */, - D23DE9E51958E0BD000483A8 /* Resources-shared in Resources */, - D23DE67B1958DBA0000483A8 /* Icon-Small-50.png in Resources */, - 57E145301975DC340065F142 /* RobotoSlab-Regular.ttf in Resources */, - 57E145111975DC340065F142 /* font-issue1343-hd.fnt in Resources */, - D23DE67D1958DBA0000483A8 /* Icon-Small@2x.png in Resources */, - 57E145241975DC340065F142 /* konqa32.png in Resources */, - 57E145011975DC340065F142 /* arial-unicode-26.fnt in Resources */, - 57E145381975DC340065F142 /* west_england-64.png in Resources */, - 57E145201975DC340065F142 /* helvetica-geneva-32.png in Resources */, - 57E144FF1975DC340065F142 /* Abberancy.ttf in Resources */, - 57E1450F1975DC340065F142 /* boundsTestFont.fnt in Resources */, - D23DE67F1958DBA0000483A8 /* Icon@2x.png in Resources */, - 57E1450A1975DC340065F142 /* bitmapFontTest3.png in Resources */, - 5B4D6CCB1936ACE5004D1A0B /* InfoPlist.strings in Resources */, - 57E1451E1975DC340065F142 /* geneva-32.fnt in Resources */, - 57E145041975DC340065F142 /* arial16.fnt in Resources */, - 57E1452F1975DC340065F142 /* RobotoSlab-Light.ttf in Resources */, - D23DE6791958DBA0000483A8 /* Default@2x.png in Resources */, - 57E145091975DC340065F142 /* bitmapFontTest3.fnt in Resources */, - 57E145371975DC340065F142 /* west_england-64.fnt in Resources */, - 5B0ED738196E550000F9868F /* Particles in Resources */, - D23DE6761958DBA0000483A8 /* Default-568h@2x.png in Resources */, - 57F23E5B197774FE003D811B /* ThisFontIsAbdFont.ttf in Resources */, - 57E1450D1975DC340065F142 /* bitmapFontTest5.fnt in Resources */, - 57E145311975DC340065F142 /* RobotoSlab-Thin.ttf in Resources */, - 57E145211975DC340065F142 /* konqa32-hd.fnt in Resources */, - 57E1451F1975DC340065F142 /* helvetica-32.fnt in Resources */, - 57E145051975DC340065F142 /* arial16.png in Resources */, - D23DE6781958DBA0000483A8 /* Default.png in Resources */, - 57E145341975DC340065F142 /* tuffy_bold_italic-charmap-hd.plist in Resources */, - 57E145121975DC340065F142 /* font-issue1343-hd.png in Resources */, - 57E145191975DC340065F142 /* fps_images.plist in Resources */, - 57E145151975DC340065F142 /* fps_images-hd.plist in Resources */, - 57E145141975DC340065F142 /* font-issue1343.png in Resources */, - 147456A41A3B9B1A0024B64E /* Published-Android in Resources */, - D23DE67A1958DBA0000483A8 /* Icon-72.png in Resources */, - 57E145331975DC340065F142 /* Scissor Cuts.ttf in Resources */, - 5B0ED736196E54BD00F9868F /* Sounds in Resources */, - 57E1452D1975DC340065F142 /* Paint Boy.ttf in Resources */, - 57E145171975DC340065F142 /* fps_images-ipadhd.png in Resources */, - 57E1451C1975DC340065F142 /* futura-48.GlyphProject in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - 5B4D6CB91936ACE5004D1A0B /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 5B165F6A195CE564002338B1 /* CCResponderTest.m in Sources */, - 5B165F77195CE564002338B1 /* ParticleTest.m in Sources */, - 5B165F79195CE564002338B1 /* SpritePerformanceTest.m in Sources */, - 5B165F6B195CE564002338B1 /* CCSchedulerTest.m in Sources */, - 5B165F69195CE564002338B1 /* CCRendererTest.m in Sources */, - 5B165F74195CE564002338B1 /* ColorTest.m in Sources */, - 5B165F78195CE564002338B1 /* PositioningTest.m in Sources */, - 5B165F7B195CE564002338B1 /* TilemapTest.m in Sources */, - 5BA67A56196CA1220010FFB7 /* HeadlessActivity.m in Sources */, - D242C50F1958D78700E7726D /* TestBase.m in Sources */, - 5B165F6E195CE564002338B1 /* CCSprite9SliceTest.m in Sources */, - 5B165F67195CE564002338B1 /* CCLayoutTest.m in Sources */, - 5B063DC619636B77002B1CDE /* ObjectALTest.m in Sources */, - 5B165F6F195CE564002338B1 /* CCTableViewTest.m in Sources */, - 5B165F73195CE564002338B1 /* ColorPickerTest.m in Sources */, - D242C50E1958D78700E7726D /* MainMenu.m in Sources */, - 5B165F72195CE564002338B1 /* CCTransitionTest.m in Sources */, - 5B165F7A195CE564002338B1 /* TextureTest.m in Sources */, - 5B165F76195CE564002338B1 /* ParallaxTest.m in Sources */, - 5B165F71195CE564002338B1 /* CCTextureCacheTest.m in Sources */, - 5B165F70195CE564002338B1 /* CCTextFieldTest.m in Sources */, - 5B165F6D195CE564002338B1 /* CCSliderTest.m in Sources */, - 5B165F65195CE564002338B1 /* CCEffectsTest.m in Sources */, - 5B165F68195CE564002338B1 /* CCPhysicsTest.m in Sources */, - 5B165F7C195CE564002338B1 /* VertexZTest.m in Sources */, - 5B165F63195CE564002338B1 /* CCBMFontTest.m in Sources */, - 5B165F66195CE564002338B1 /* CCLabelTTFTest.m in Sources */, - BC9F4EE119DCB1B200B25F01 /* CCPackageTest.m in Sources */, - 5B165F6C195CE564002338B1 /* CCScrollViewTest.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXTargetDependency section */ - D2A8000219F0F9C300ED29F6 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = cocos2dAndroid; - targetProxy = D2A8000119F0F9C300ED29F6 /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - -/* Begin PBXVariantGroup section */ - 5B4D6CC91936ACE5004D1A0B /* InfoPlist.strings */ = { - isa = PBXVariantGroup; - children = ( - 5B4D6CCA1936ACE5004D1A0B /* en */, - ); - name = InfoPlist.strings; - sourceTree = ""; - }; - 5B4D6CE21936ACE5004D1A0B /* InfoPlist.strings */ = { - isa = PBXVariantGroup; - children = ( - 5B4D6CE31936ACE5004D1A0B /* en */, - ); - name = InfoPlist.strings; - sourceTree = ""; - }; -/* End PBXVariantGroup section */ - -/* Begin XCBuildConfiguration section */ - 5B4D6CE71936ACE5004D1A0B /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_SYMBOLS_PRIVATE_EXTERN = NO; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - HEADER_SEARCH_PATHS = ( - "$(inherited)", - /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, - "${PROJECT_DIR}/../**", - ); - IPHONEOS_DEPLOYMENT_TARGET = 7.1; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = apportablesdk1.0; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Debug; - }; - 5B4D6CE81936ACE5004D1A0B /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = YES; - ENABLE_NS_ASSERTIONS = NO; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - HEADER_SEARCH_PATHS = ( - "$(inherited)", - /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, - "${PROJECT_DIR}/../**", - ); - IPHONEOS_DEPLOYMENT_TARGET = 7.1; - SDKROOT = apportablesdk1.0; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - }; - name = Release; - }; - 5B4D6CEA1936ACE5004D1A0B /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ANDROID_MANIFEST = "$(SRCROOT)//Headless/src/main/AndroidManifest.xml"; - ANDROID_RES_DIRS = "$(SRCROOT)//Headless/src/main/res"; - APPORTABLE_TARGET = Android; - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; - FRAMEWORK_SEARCH_PATHS = ( - "$(inherited)", - "$(DEVELOPER_FRAMEWORKS_DIR)", - ); - GCC_PRECOMPILE_PREFIX_HEADER = YES; - GCC_PREFIX_HEADER = "Headless/Headless-Prefix.pch"; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - COCOS2D_ANDROID, - ); - INFOPLIST_FILE = "Headless/Headless-Info.plist"; - LIBRARY_SEARCH_PATHS = ( - "$(inherited)", - "$(SDKROOT)/usr/local/lib/armv7a-neon", - "$(SDKROOT)/usr/lib/armeabi", - "$(SDKROOT)/usr/lib/armv7a", - "$(SDKROOT)/usr/lib/x86", - ); - OTHER_LDFLAGS = ( - "-landroid", - "-lgles_apportable", - "-ObjC", - "-all_load", - ); - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = sbandroid; - WRAPPER_EXTENSION = app; - }; - name = Debug; - }; - 5B4D6CEB1936ACE5004D1A0B /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ANDROID_MANIFEST = "$(SRCROOT)//Headless/src/main/AndroidManifest.xml"; - ANDROID_RES_DIRS = "$(SRCROOT)//Headless/src/main/res"; - APPORTABLE_TARGET = Android; - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; - FRAMEWORK_SEARCH_PATHS = ( - "$(inherited)", - "$(DEVELOPER_FRAMEWORKS_DIR)", - ); - GCC_PRECOMPILE_PREFIX_HEADER = YES; - GCC_PREFIX_HEADER = "Headless/Headless-Prefix.pch"; - GCC_PREPROCESSOR_DEFINITIONS = COCOS2D_ANDROID; - INFOPLIST_FILE = "Headless/Headless-Info.plist"; - LIBRARY_SEARCH_PATHS = ( - "$(inherited)", - "$(SDKROOT)/usr/local/lib/armv7a-neon", - "$(SDKROOT)/usr/lib/armeabi", - "$(SDKROOT)/usr/lib/armv7a", - "$(SDKROOT)/usr/lib/x86", - ); - OTHER_LDFLAGS = ( - "-landroid", - "-lgles_apportable", - "-all_load", - "-ObjC", - ); - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = sbandroid; - WRAPPER_EXTENSION = app; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - 5B4D6CB81936ACE5004D1A0B /* Build configuration list for PBXProject "Headless" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 5B4D6CE71936ACE5004D1A0B /* Debug */, - 5B4D6CE81936ACE5004D1A0B /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 5B4D6CE91936ACE5004D1A0B /* Build configuration list for PBXNativeTarget "Headless" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 5B4D6CEA1936ACE5004D1A0B /* Debug */, - 5B4D6CEB1936ACE5004D1A0B /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = 5B4D6CB51936ACE5004D1A0B /* Project object */; -} diff --git a/cocos2d-tests-android/Headless/Headless-Headless.iml b/cocos2d-tests-android/Headless/Headless-Headless.iml deleted file mode 100644 index 6543d2558be..00000000000 --- a/cocos2d-tests-android/Headless/Headless-Headless.iml +++ /dev/null @@ -1,77 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/cocos2d-tests-android/Headless/Headless-Info.plist b/cocos2d-tests-android/Headless/Headless-Info.plist deleted file mode 100644 index cc48dc7bb6e..00000000000 --- a/cocos2d-tests-android/Headless/Headless-Info.plist +++ /dev/null @@ -1,52 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - UIAppFonts - - Schwarzwald Regular.ttf - Abberancy.ttf - Abduction.ttf - Paint Boy.ttf - - CFBundleDisplayName - ${PRODUCT_NAME} - CFBundleExecutable - ${EXECUTABLE_NAME} - CFBundleIdentifier - org.cocos2d.demo - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - ${PRODUCT_NAME} - CFBundlePackageType - APPL - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - 1.0 - LSRequiresIPhoneOS - - UIRequiredDeviceCapabilities - - armv7 - - UISupportedInterfaceOrientations - - UIInterfaceOrientationPortrait - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - UISupportedInterfaceOrientations~ipad - - UIInterfaceOrientationPortrait - UIInterfaceOrientationPortraitUpsideDown - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - - diff --git a/cocos2d-tests-android/Headless/Headless-Prefix.pch b/cocos2d-tests-android/Headless/Headless-Prefix.pch deleted file mode 100644 index 3bb26e825c5..00000000000 --- a/cocos2d-tests-android/Headless/Headless-Prefix.pch +++ /dev/null @@ -1,15 +0,0 @@ -// -// Prefix header -// -// The contents of this file are implicitly included at the beginning of every source file. -// - -#import - -#ifndef __IPHONE_3_0 -#warning "This project uses features only available in iOS SDK 3.0 and later." -#endif - -#ifdef __OBJC__ - #import -#endif diff --git a/cocos2d-tests-android/Headless/HeadlessActivity.h b/cocos2d-tests-android/Headless/HeadlessActivity.h deleted file mode 100644 index 0580f847556..00000000000 --- a/cocos2d-tests-android/Headless/HeadlessActivity.h +++ /dev/null @@ -1,14 +0,0 @@ -// -// HeadlessActivity.h -// Headless -// -// Created by Philippe Hausler on 7/8/14. -// Copyright (c) 2014 Apportable. All rights reserved. -// - -#import "CCActivity.h" - -BRIDGE_CLASS("com.apportable.GLActivity") -@interface HeadlessActivity : CCActivity - -@end diff --git a/cocos2d-tests-android/Headless/HeadlessActivity.m b/cocos2d-tests-android/Headless/HeadlessActivity.m deleted file mode 100644 index bb68bce2ab7..00000000000 --- a/cocos2d-tests-android/Headless/HeadlessActivity.m +++ /dev/null @@ -1,54 +0,0 @@ -// -// HeadlessActivity.m -// Headless -// -// Created by Philippe Hausler on 7/8/14. -// Copyright (c) 2014 Apportable. All rights reserved. -// - -#import "HeadlessActivity.h" -#import "MainMenu.h" - -@implementation HeadlessActivity - -- (void)setupPaths -{ - [super setupPaths]; - CCFileUtils* sharedFileUtils = [CCFileUtils sharedFileUtils]; - NSString *resourcePath = [[NSBundle mainBundle] resourcePath]; - sharedFileUtils.searchPath = @[ - [resourcePath stringByAppendingPathComponent:@"Images"], - [resourcePath stringByAppendingPathComponent:@"Fonts"], - [resourcePath stringByAppendingPathComponent:@"Resources-shared"], - resourcePath - ]; - - // Register spritesheets. - CCSpriteFrameCache *spriteFrameCache = [CCSpriteFrameCache sharedSpriteFrameCache]; - [spriteFrameCache registerSpriteFramesFile:@"Interface.plist"]; - [spriteFrameCache registerSpriteFramesFile:@"Sprites.plist"]; - [spriteFrameCache registerSpriteFramesFile:@"TilesAtlassed.plist"]; -} - - -- (CCScene *)startScene -{ - return [MainMenu scene]; -} - -- (BOOL)onKeyUp:(int32_t)keyCode keyEvent:(AndroidKeyEvent *)event -{ - if ([[CCDirector sharedDirector] runningScene] == [self startScene]) - { - return NO; - } - - [self runOnGameThread:^{ - CCTransition* transition = [CCTransition transitionMoveInWithDirection:CCTransitionDirectionRight duration:0.3]; - [[CCDirector sharedDirector] replaceScene:[MainMenu scene] withTransition:transition]; - }]; - - return YES; -} - -@end diff --git a/cocos2d-tests-android/Headless/Published-Android/configCocos2d.plist b/cocos2d-tests-android/Headless/Published-Android/configCocos2d.plist deleted file mode 100644 index 5261fca23b3..00000000000 --- a/cocos2d-tests-android/Headless/Published-Android/configCocos2d.plist +++ /dev/null @@ -1,12 +0,0 @@ - - - - - CCSetupScreenMode - CCScreenModeFlexible - CCSetupScreenOrientation - CCScreenOrientationLandscape - CCSetupTabletScale2X - - - diff --git a/cocos2d-tests-android/Headless/SimpleScene.h b/cocos2d-tests-android/Headless/SimpleScene.h deleted file mode 100644 index be966a1b552..00000000000 --- a/cocos2d-tests-android/Headless/SimpleScene.h +++ /dev/null @@ -1,13 +0,0 @@ -// -// SimpleScene.h -// cocos2d-tests-ios -// -// Created by Oleg Osin on 6/3/14. -// Copyright (c) 2014 Cocos2d. All rights reserved. -// - -#import "TestBase.h" - -@interface SimpleScene : TestBase - -@end diff --git a/cocos2d-tests-android/Headless/SimpleScene.m b/cocos2d-tests-android/Headless/SimpleScene.m deleted file mode 100644 index 2d63a086073..00000000000 --- a/cocos2d-tests-android/Headless/SimpleScene.m +++ /dev/null @@ -1,61 +0,0 @@ -// -// SimpleScene.m -// cocos2d-tests-ios -// -// Created by Oleg Osin on 6/3/14. -// Copyright (c) 2014 Cocos2d. All rights reserved. -// - -#import "SimpleScene.h" -#import "CCNodeColor.h" -#import "CCSprite.h" -#import "CCLabelTTF.h" - -@implementation SimpleScene - -- (id)init -{ - if((self = [super init])) - { - - return self; - } - - return self; -} - -- (void)onEnter { - [super onEnter]; - - CCNodeColor* node1 = [CCNodeColor nodeWithColor:[CCColor redColor]]; - node1.contentSize = CGSizeMake(20, 20); - [self addChild:node1]; - - CCNodeColor* node2 = [CCNodeColor nodeWithColor:[CCColor blueColor]]; - node2.contentSize = CGSizeMake(20, 20); - node2.position = ccp(30, 0); - [self addChild:node2]; - - CCSprite* spr = [CCSprite spriteWithImageNamed:@"sample_hollow_circle.png"]; - spr.position = ccp(100, 0); - spr.anchorPoint = ccp(0.0, 0.0); - [self addChild:spr]; - - CCSprite* spr2 = [CCSprite spriteWithImageNamed:@"sample_hollow_circle.png"]; - spr2.position = ccp(0, 90); - spr2.anchorPoint = ccp(0.0, 0.0); - [self addChild:spr2]; - - CCSprite* spr3 = [CCSprite spriteWithImageNamed:@"sample_square.png"]; - spr3.position = ccp(70, 90); - spr3.anchorPoint = ccp(0.0, 0.0); - [self addChild:spr3]; - - CCLabelTTF *label1 = [CCLabelTTF labelWithString:@"Label" fontName:@"Helvetica" fontSize:10.0]; - label1.positionType = CCPositionTypeNormalized; - label1.position = ccp(0.5, 0.5); - [self addChild:label1]; - -} - -@end diff --git a/cocos2d-tests-android/Headless/build.gradle b/cocos2d-tests-android/Headless/build.gradle deleted file mode 100644 index d7a310ee89b..00000000000 --- a/cocos2d-tests-android/Headless/build.gradle +++ /dev/null @@ -1,24 +0,0 @@ -apply plugin: 'android' - -android { - compileSdkVersion 19 - buildToolsVersion "19.0.1" - - defaultConfig { - minSdkVersion 8 - targetSdkVersion 19 - versionCode 1 - versionName "1.0" - } - buildTypes { - release { - runProguard false - proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt' - } - } -} - -dependencies { - compile 'com.android.support:appcompat-v7:+' - compile fileTree(dir: 'libs', include: ['*.jar']) -} diff --git a/cocos2d-tests-android/Headless/en.lproj/InfoPlist.strings b/cocos2d-tests-android/Headless/en.lproj/InfoPlist.strings deleted file mode 100644 index 477b28ff8f8..00000000000 --- a/cocos2d-tests-android/Headless/en.lproj/InfoPlist.strings +++ /dev/null @@ -1,2 +0,0 @@ -/* Localized versions of Info.plist keys */ - diff --git a/cocos2d-tests-android/Headless/proguard-rules.txt b/cocos2d-tests-android/Headless/proguard-rules.txt deleted file mode 100644 index cb8998dd02e..00000000000 --- a/cocos2d-tests-android/Headless/proguard-rules.txt +++ /dev/null @@ -1,17 +0,0 @@ -# Add project specific ProGuard rules here. -# By default, the flags in this file are appended to flags specified -# in /Applications/Android Studio.app/sdk/tools/proguard/proguard-android.txt -# You can edit the include path and order by changing the ProGuard -# include property in project.properties. -# -# For more details, see -# http://developer.android.com/guide/developing/tools/proguard.html - -# Add any project specific keep options here: - -# If your project uses WebView with JS, uncomment the following -# and specify the fully qualified class name to the JavaScript interface -# class: -#-keepclassmembers class fqcn.of.javascript.interface.for.webview { -# public *; -#} \ No newline at end of file diff --git a/cocos2d-tests-android/Headless/src/main/AndroidManifest.xml b/cocos2d-tests-android/Headless/src/main/AndroidManifest.xml deleted file mode 100644 index e6972194e6d..00000000000 --- a/cocos2d-tests-android/Headless/src/main/AndroidManifest.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - - - - - - - - - diff --git a/cocos2d-tests-android/Headless/src/main/res/drawable-hdpi/ic_launcher.png b/cocos2d-tests-android/Headless/src/main/res/drawable-hdpi/ic_launcher.png deleted file mode 100644 index d939fcebdd9..00000000000 Binary files a/cocos2d-tests-android/Headless/src/main/res/drawable-hdpi/ic_launcher.png and /dev/null differ diff --git a/cocos2d-tests-android/Headless/src/main/res/drawable-mdpi/ic_launcher.png b/cocos2d-tests-android/Headless/src/main/res/drawable-mdpi/ic_launcher.png deleted file mode 100644 index 6b0f8e192d9..00000000000 Binary files a/cocos2d-tests-android/Headless/src/main/res/drawable-mdpi/ic_launcher.png and /dev/null differ diff --git a/cocos2d-tests-android/Headless/src/main/res/drawable-xhdpi/ic_launcher.png b/cocos2d-tests-android/Headless/src/main/res/drawable-xhdpi/ic_launcher.png deleted file mode 100644 index 7f590d1c3e6..00000000000 Binary files a/cocos2d-tests-android/Headless/src/main/res/drawable-xhdpi/ic_launcher.png and /dev/null differ diff --git a/cocos2d-tests-android/Headless/src/main/res/drawable-xxhdpi/ic_launcher.png b/cocos2d-tests-android/Headless/src/main/res/drawable-xxhdpi/ic_launcher.png deleted file mode 100644 index c40aea4eadc..00000000000 Binary files a/cocos2d-tests-android/Headless/src/main/res/drawable-xxhdpi/ic_launcher.png and /dev/null differ diff --git a/cocos2d-tests-android/Headless/tests/CCBMFontTest.m b/cocos2d-tests-android/Headless/tests/CCBMFontTest.m deleted file mode 120000 index 152970c932b..00000000000 --- a/cocos2d-tests-android/Headless/tests/CCBMFontTest.m +++ /dev/null @@ -1 +0,0 @@ -../../../cocos2d-ui-tests/tests/CCBMFontTest.m \ No newline at end of file diff --git a/cocos2d-tests-android/Headless/tests/CCEffectsTest.m b/cocos2d-tests-android/Headless/tests/CCEffectsTest.m deleted file mode 120000 index 93187cb1d18..00000000000 --- a/cocos2d-tests-android/Headless/tests/CCEffectsTest.m +++ /dev/null @@ -1 +0,0 @@ -../../../cocos2d-ui-tests/tests/CCEffectsTest.m \ No newline at end of file diff --git a/cocos2d-tests-android/Headless/tests/CCLabelTTFTest.m b/cocos2d-tests-android/Headless/tests/CCLabelTTFTest.m deleted file mode 120000 index 9c84b20295e..00000000000 --- a/cocos2d-tests-android/Headless/tests/CCLabelTTFTest.m +++ /dev/null @@ -1 +0,0 @@ -../../../cocos2d-ui-tests/tests/CCLabelTTFTest.m \ No newline at end of file diff --git a/cocos2d-tests-android/Headless/tests/CCLayoutTest.m b/cocos2d-tests-android/Headless/tests/CCLayoutTest.m deleted file mode 120000 index 789efe7ee4b..00000000000 --- a/cocos2d-tests-android/Headless/tests/CCLayoutTest.m +++ /dev/null @@ -1 +0,0 @@ -../../../cocos2d-ui-tests/tests/CCLayoutTest.m \ No newline at end of file diff --git a/cocos2d-tests-android/Headless/tests/CCPackageTest.m b/cocos2d-tests-android/Headless/tests/CCPackageTest.m deleted file mode 100644 index 4ffaf381cc6..00000000000 Binary files a/cocos2d-tests-android/Headless/tests/CCPackageTest.m and /dev/null differ diff --git a/cocos2d-tests-android/Headless/tests/CCPhysicsTest.m b/cocos2d-tests-android/Headless/tests/CCPhysicsTest.m deleted file mode 120000 index 36f5d64573b..00000000000 --- a/cocos2d-tests-android/Headless/tests/CCPhysicsTest.m +++ /dev/null @@ -1 +0,0 @@ -../../../cocos2d-ui-tests/tests/CCPhysicsTest.m \ No newline at end of file diff --git a/cocos2d-tests-android/Headless/tests/CCRendererTest.m b/cocos2d-tests-android/Headless/tests/CCRendererTest.m deleted file mode 120000 index a3eded61500..00000000000 --- a/cocos2d-tests-android/Headless/tests/CCRendererTest.m +++ /dev/null @@ -1 +0,0 @@ -../../../cocos2d-ui-tests/tests/CCRendererTest.m \ No newline at end of file diff --git a/cocos2d-tests-android/Headless/tests/CCResponderTest.m b/cocos2d-tests-android/Headless/tests/CCResponderTest.m deleted file mode 120000 index 71946482fa2..00000000000 --- a/cocos2d-tests-android/Headless/tests/CCResponderTest.m +++ /dev/null @@ -1 +0,0 @@ -../../../cocos2d-ui-tests/tests/CCResponderTest.m \ No newline at end of file diff --git a/cocos2d-tests-android/Headless/tests/CCSchedulerTest.m b/cocos2d-tests-android/Headless/tests/CCSchedulerTest.m deleted file mode 120000 index 26bf110cbc1..00000000000 --- a/cocos2d-tests-android/Headless/tests/CCSchedulerTest.m +++ /dev/null @@ -1 +0,0 @@ -../../../cocos2d-ui-tests/tests/CCSchedulerTest.m \ No newline at end of file diff --git a/cocos2d-tests-android/Headless/tests/CCScrollViewTest.m b/cocos2d-tests-android/Headless/tests/CCScrollViewTest.m deleted file mode 120000 index 16d5c9c5372..00000000000 --- a/cocos2d-tests-android/Headless/tests/CCScrollViewTest.m +++ /dev/null @@ -1 +0,0 @@ -../../../cocos2d-ui-tests/tests/CCScrollViewTest.m \ No newline at end of file diff --git a/cocos2d-tests-android/Headless/tests/CCSliderTest.m b/cocos2d-tests-android/Headless/tests/CCSliderTest.m deleted file mode 120000 index 6252677bc70..00000000000 --- a/cocos2d-tests-android/Headless/tests/CCSliderTest.m +++ /dev/null @@ -1 +0,0 @@ -../../../cocos2d-ui-tests/tests/CCSliderTest.m \ No newline at end of file diff --git a/cocos2d-tests-android/Headless/tests/CCSprite9SliceTest.m b/cocos2d-tests-android/Headless/tests/CCSprite9SliceTest.m deleted file mode 120000 index d38ec925af4..00000000000 --- a/cocos2d-tests-android/Headless/tests/CCSprite9SliceTest.m +++ /dev/null @@ -1 +0,0 @@ -../../../cocos2d-ui-tests/tests/CCSprite9SliceTest.m \ No newline at end of file diff --git a/cocos2d-tests-android/Headless/tests/CCTableViewTest.m b/cocos2d-tests-android/Headless/tests/CCTableViewTest.m deleted file mode 120000 index 214dbae1d81..00000000000 --- a/cocos2d-tests-android/Headless/tests/CCTableViewTest.m +++ /dev/null @@ -1 +0,0 @@ -../../../cocos2d-ui-tests/tests/CCTableViewTest.m \ No newline at end of file diff --git a/cocos2d-tests-android/Headless/tests/CCTextFieldTest.m b/cocos2d-tests-android/Headless/tests/CCTextFieldTest.m deleted file mode 100644 index 5ab0ecfc78b..00000000000 --- a/cocos2d-tests-android/Headless/tests/CCTextFieldTest.m +++ /dev/null @@ -1,57 +0,0 @@ -// -// CCTextFieldTest.m -// cocos2d-ui-tests-osx -// -// Created by Viktor on 10/23/13. -// Copyright (c) 2013 Cocos2d. All rights reserved. -// - -#import "TestBase.h" -#if !__CC_PLATFORM_ANDROID_COMPILE_ON_IOS_LAWLZ -#import "CCTextField.h" -#endif - -@interface CCTextFieldTest : TestBase @end - -@implementation CCTextFieldTest - -- (NSArray*) testConstructors -{ - return [NSArray arrayWithObjects: - @"setupTextFieldBasicTest", - nil]; -} - -- (void) setupTextFieldBasicTest -{ -#if !__CC_PLATFORM_ANDROID_COMPILE_ON_IOS_LAWLZ - self.subTitle = @"Tests text fields."; - - CCSpriteFrame* bg = [CCSpriteFrame frameWithImageNamed:@"Tests/textfield-bg.png"]; - CCTextField* textField = [[CCTextField alloc] initWithSpriteFrame:bg]; - - textField.preferredSizeType = CCSizeTypeMake(CCSizeUnitNormalized, CCSizeUnitPoints); - textField.preferredSize = CGSizeMake(0.5, 50); - textField.positionType = CCPositionTypeNormalized; - textField.position = ccp(0.5f, 0.8f); - textField.padding = 10; - textField.anchorPoint = ccp(0.5f, 0.5f); - textField.string = @"Hello!"; - - [textField setTarget:self selector:@selector(pressedEnter:)]; - - [self.contentNode addChild:textField]; -#endif -} - -- (void) pressedEnter:(id)sender -{ - CCTextField* textField = sender; - - NSLog(@"Finished editing: %@", textField.string); - - self.subTitle = [NSString stringWithFormat:@"Editing: '%@'", textField.string]; - -} - -@end diff --git a/cocos2d-tests-android/Headless/tests/CCTextureCacheTest.m b/cocos2d-tests-android/Headless/tests/CCTextureCacheTest.m deleted file mode 120000 index 5c7e6f44f18..00000000000 --- a/cocos2d-tests-android/Headless/tests/CCTextureCacheTest.m +++ /dev/null @@ -1 +0,0 @@ -../../../cocos2d-ui-tests/tests/CCTextureCacheTest.m \ No newline at end of file diff --git a/cocos2d-tests-android/Headless/tests/CCTransitionTest.m b/cocos2d-tests-android/Headless/tests/CCTransitionTest.m deleted file mode 120000 index 3130029fd56..00000000000 --- a/cocos2d-tests-android/Headless/tests/CCTransitionTest.m +++ /dev/null @@ -1 +0,0 @@ -../../../cocos2d-ui-tests/tests/CCTransitionTest.m \ No newline at end of file diff --git a/cocos2d-tests-android/Headless/tests/ColorPickerTest.m b/cocos2d-tests-android/Headless/tests/ColorPickerTest.m deleted file mode 120000 index 4831f4f035f..00000000000 --- a/cocos2d-tests-android/Headless/tests/ColorPickerTest.m +++ /dev/null @@ -1 +0,0 @@ -../../../cocos2d-ui-tests/tests/ColorPickerTest.m \ No newline at end of file diff --git a/cocos2d-tests-android/Headless/tests/ColorTest.m b/cocos2d-tests-android/Headless/tests/ColorTest.m deleted file mode 120000 index e5a71c83948..00000000000 --- a/cocos2d-tests-android/Headless/tests/ColorTest.m +++ /dev/null @@ -1 +0,0 @@ -../../../cocos2d-ui-tests/tests/ColorTest.m \ No newline at end of file diff --git a/cocos2d-tests-android/Headless/tests/ObjectALTest.m b/cocos2d-tests-android/Headless/tests/ObjectALTest.m deleted file mode 120000 index c974adc312a..00000000000 --- a/cocos2d-tests-android/Headless/tests/ObjectALTest.m +++ /dev/null @@ -1 +0,0 @@ -../../../cocos2d-ui-tests/tests/ObjectALTest.m \ No newline at end of file diff --git a/cocos2d-tests-android/Headless/tests/ParallaxTest.m b/cocos2d-tests-android/Headless/tests/ParallaxTest.m deleted file mode 120000 index 1dc44bdfe5c..00000000000 --- a/cocos2d-tests-android/Headless/tests/ParallaxTest.m +++ /dev/null @@ -1 +0,0 @@ -../../../cocos2d-ui-tests/tests/ParallaxTest.m \ No newline at end of file diff --git a/cocos2d-tests-android/Headless/tests/ParticleTest.m b/cocos2d-tests-android/Headless/tests/ParticleTest.m deleted file mode 120000 index 64e6bdf83f8..00000000000 --- a/cocos2d-tests-android/Headless/tests/ParticleTest.m +++ /dev/null @@ -1 +0,0 @@ -../../../cocos2d-ui-tests/tests/ParticleTest.m \ No newline at end of file diff --git a/cocos2d-tests-android/Headless/tests/PositioningTest.m b/cocos2d-tests-android/Headless/tests/PositioningTest.m deleted file mode 120000 index da7a2a6f52b..00000000000 --- a/cocos2d-tests-android/Headless/tests/PositioningTest.m +++ /dev/null @@ -1 +0,0 @@ -../../../cocos2d-ui-tests/tests/PositioningTest.m \ No newline at end of file diff --git a/cocos2d-tests-android/Headless/tests/SpritePerformanceTest.m b/cocos2d-tests-android/Headless/tests/SpritePerformanceTest.m deleted file mode 120000 index 28f7ba31a41..00000000000 --- a/cocos2d-tests-android/Headless/tests/SpritePerformanceTest.m +++ /dev/null @@ -1 +0,0 @@ -../../../cocos2d-ui-tests/tests/SpritePerformanceTest.m \ No newline at end of file diff --git a/cocos2d-tests-android/Headless/tests/TextureTest.m b/cocos2d-tests-android/Headless/tests/TextureTest.m deleted file mode 120000 index 1b6d4d04530..00000000000 --- a/cocos2d-tests-android/Headless/tests/TextureTest.m +++ /dev/null @@ -1 +0,0 @@ -../../../cocos2d-ui-tests/tests/TextureTest.m \ No newline at end of file diff --git a/cocos2d-tests-android/Headless/tests/TilemapTest.m b/cocos2d-tests-android/Headless/tests/TilemapTest.m deleted file mode 120000 index d6342c48a9f..00000000000 --- a/cocos2d-tests-android/Headless/tests/TilemapTest.m +++ /dev/null @@ -1 +0,0 @@ -../../../cocos2d-ui-tests/tests/TilemapTest.m \ No newline at end of file diff --git a/cocos2d-tests-android/Headless/tests/VertexZTest.m b/cocos2d-tests-android/Headless/tests/VertexZTest.m deleted file mode 120000 index 0674d209ee0..00000000000 --- a/cocos2d-tests-android/Headless/tests/VertexZTest.m +++ /dev/null @@ -1 +0,0 @@ -../../../cocos2d-ui-tests/tests/VertexZTest.m \ No newline at end of file diff --git a/cocos2d-tests-android/HeadlessTests/HeadlessTests-Info.plist b/cocos2d-tests-android/HeadlessTests/HeadlessTests-Info.plist deleted file mode 100644 index 6ad1eb4a547..00000000000 --- a/cocos2d-tests-android/HeadlessTests/HeadlessTests-Info.plist +++ /dev/null @@ -1,22 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - ${EXECUTABLE_NAME} - CFBundleIdentifier - com.apportable.${PRODUCT_NAME:rfc1034identifier} - CFBundleInfoDictionaryVersion - 6.0 - CFBundlePackageType - BNDL - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - 1 - - diff --git a/cocos2d-tests-android/HeadlessTests/HeadlessTests.m b/cocos2d-tests-android/HeadlessTests/HeadlessTests.m deleted file mode 100644 index 9dbb7edaead..00000000000 --- a/cocos2d-tests-android/HeadlessTests/HeadlessTests.m +++ /dev/null @@ -1,34 +0,0 @@ -// -// HeadlessTests.m -// HeadlessTests -// -// Created by Philippe Hausler on 5/28/14. -// Copyright (c) 2014 Apportable. All rights reserved. -// - -#import - -@interface HeadlessTests : XCTestCase - -@end - -@implementation HeadlessTests - -- (void)setUp -{ - [super setUp]; - // Put setup code here. This method is called before the invocation of each test method in the class. -} - -- (void)tearDown -{ - // Put teardown code here. This method is called after the invocation of each test method in the class. - [super tearDown]; -} - -- (void)testExample -{ - XCTFail(@"No implementation for \"%s\"", __PRETTY_FUNCTION__); -} - -@end diff --git a/cocos2d-tests-android/HeadlessTests/en.lproj/InfoPlist.strings b/cocos2d-tests-android/HeadlessTests/en.lproj/InfoPlist.strings deleted file mode 100644 index 477b28ff8f8..00000000000 --- a/cocos2d-tests-android/HeadlessTests/en.lproj/InfoPlist.strings +++ /dev/null @@ -1,2 +0,0 @@ -/* Localized versions of Info.plist keys */ - diff --git a/cocos2d-tests-android/build.gradle b/cocos2d-tests-android/build.gradle deleted file mode 100644 index 80eec1a7930..00000000000 --- a/cocos2d-tests-android/build.gradle +++ /dev/null @@ -1,16 +0,0 @@ -// Top-level build file where you can add configuration options common to all sub-projects/modules. - -buildscript { - repositories { - mavenCentral() - } - dependencies { - classpath 'com.android.tools.build:gradle:0.9.+' - } -} - -allprojects { - repositories { - mavenCentral() - } -} diff --git a/cocos2d-tests-android/gradle.properties b/cocos2d-tests-android/gradle.properties deleted file mode 100644 index 5d08ba75bb9..00000000000 --- a/cocos2d-tests-android/gradle.properties +++ /dev/null @@ -1,18 +0,0 @@ -# Project-wide Gradle settings. - -# IDE (e.g. Android Studio) users: -# Settings specified in this file will override any Gradle settings -# configured through the IDE. - -# For more details on how to configure your build environment visit -# http://www.gradle.org/docs/current/userguide/build_environment.html - -# Specifies the JVM arguments used for the daemon process. -# The setting is particularly useful for tweaking memory settings. -# Default value: -Xmx10248m -XX:MaxPermSize=256m -# org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 - -# When configured, Gradle will run in incubating parallel mode. -# This option should only be used with decoupled projects. More details, visit -# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects -# org.gradle.parallel=true \ No newline at end of file diff --git a/cocos2d-tests-android/gradle/wrapper/gradle-wrapper.jar b/cocos2d-tests-android/gradle/wrapper/gradle-wrapper.jar deleted file mode 100644 index 8c0fb64a869..00000000000 Binary files a/cocos2d-tests-android/gradle/wrapper/gradle-wrapper.jar and /dev/null differ diff --git a/cocos2d-tests-android/gradle/wrapper/gradle-wrapper.properties b/cocos2d-tests-android/gradle/wrapper/gradle-wrapper.properties deleted file mode 100644 index 5de946b072f..00000000000 --- a/cocos2d-tests-android/gradle/wrapper/gradle-wrapper.properties +++ /dev/null @@ -1,6 +0,0 @@ -#Wed Apr 10 15:27:10 PDT 2013 -distributionBase=GRADLE_USER_HOME -distributionPath=wrapper/dists -zipStoreBase=GRADLE_USER_HOME -zipStorePath=wrapper/dists -distributionUrl=http\://services.gradle.org/distributions/gradle-1.10-all.zip diff --git a/cocos2d-tests-android/gradlew b/cocos2d-tests-android/gradlew deleted file mode 100644 index 91a7e269e19..00000000000 --- a/cocos2d-tests-android/gradlew +++ /dev/null @@ -1,164 +0,0 @@ -#!/usr/bin/env bash - -############################################################################## -## -## Gradle start up script for UN*X -## -############################################################################## - -# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. -DEFAULT_JVM_OPTS="" - -APP_NAME="Gradle" -APP_BASE_NAME=`basename "$0"` - -# Use the maximum available, or set MAX_FD != -1 to use that value. -MAX_FD="maximum" - -warn ( ) { - echo "$*" -} - -die ( ) { - echo - echo "$*" - echo - exit 1 -} - -# OS specific support (must be 'true' or 'false'). -cygwin=false -msys=false -darwin=false -case "`uname`" in - CYGWIN* ) - cygwin=true - ;; - Darwin* ) - darwin=true - ;; - MINGW* ) - msys=true - ;; -esac - -# For Cygwin, ensure paths are in UNIX format before anything is touched. -if $cygwin ; then - [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"` -fi - -# Attempt to set APP_HOME -# Resolve links: $0 may be a link -PRG="$0" -# Need this for relative symlinks. -while [ -h "$PRG" ] ; do - ls=`ls -ld "$PRG"` - link=`expr "$ls" : '.*-> \(.*\)$'` - if expr "$link" : '/.*' > /dev/null; then - PRG="$link" - else - PRG=`dirname "$PRG"`"/$link" - fi -done -SAVED="`pwd`" -cd "`dirname \"$PRG\"`/" >&- -APP_HOME="`pwd -P`" -cd "$SAVED" >&- - -CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar - -# Determine the Java command to use to start the JVM. -if [ -n "$JAVA_HOME" ] ; then - if [ -x "$JAVA_HOME/jre/sh/java" ] ; then - # IBM's JDK on AIX uses strange locations for the executables - JAVACMD="$JAVA_HOME/jre/sh/java" - else - JAVACMD="$JAVA_HOME/bin/java" - fi - if [ ! -x "$JAVACMD" ] ; then - die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME - -Please set the JAVA_HOME variable in your environment to match the -location of your Java installation." - fi -else - JAVACMD="java" - which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. - -Please set the JAVA_HOME variable in your environment to match the -location of your Java installation." -fi - -# Increase the maximum file descriptors if we can. -if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then - MAX_FD_LIMIT=`ulimit -H -n` - if [ $? -eq 0 ] ; then - if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then - MAX_FD="$MAX_FD_LIMIT" - fi - ulimit -n $MAX_FD - if [ $? -ne 0 ] ; then - warn "Could not set maximum file descriptor limit: $MAX_FD" - fi - else - warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT" - fi -fi - -# For Darwin, add options to specify how the application appears in the dock -if $darwin; then - GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\"" -fi - -# For Cygwin, switch paths to Windows format before running java -if $cygwin ; then - APP_HOME=`cygpath --path --mixed "$APP_HOME"` - CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` - - # We build the pattern for arguments to be converted via cygpath - ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null` - SEP="" - for dir in $ROOTDIRSRAW ; do - ROOTDIRS="$ROOTDIRS$SEP$dir" - SEP="|" - done - OURCYGPATTERN="(^($ROOTDIRS))" - # Add a user-defined pattern to the cygpath arguments - if [ "$GRADLE_CYGPATTERN" != "" ] ; then - OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)" - fi - # Now convert the arguments - kludge to limit ourselves to /bin/sh - i=0 - for arg in "$@" ; do - CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -` - CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option - - if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition - eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"` - else - eval `echo args$i`="\"$arg\"" - fi - i=$((i+1)) - done - case $i in - (0) set -- ;; - (1) set -- "$args0" ;; - (2) set -- "$args0" "$args1" ;; - (3) set -- "$args0" "$args1" "$args2" ;; - (4) set -- "$args0" "$args1" "$args2" "$args3" ;; - (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;; - (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;; - (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;; - (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;; - (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;; - esac -fi - -# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules -function splitJvmOpts() { - JVM_OPTS=("$@") -} -eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS -JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME" - -exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@" diff --git a/cocos2d-tests-android/gradlew.bat b/cocos2d-tests-android/gradlew.bat deleted file mode 100644 index aec99730b4e..00000000000 --- a/cocos2d-tests-android/gradlew.bat +++ /dev/null @@ -1,90 +0,0 @@ -@if "%DEBUG%" == "" @echo off -@rem ########################################################################## -@rem -@rem Gradle startup script for Windows -@rem -@rem ########################################################################## - -@rem Set local scope for the variables with windows NT shell -if "%OS%"=="Windows_NT" setlocal - -@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. -set DEFAULT_JVM_OPTS= - -set DIRNAME=%~dp0 -if "%DIRNAME%" == "" set DIRNAME=. -set APP_BASE_NAME=%~n0 -set APP_HOME=%DIRNAME% - -@rem Find java.exe -if defined JAVA_HOME goto findJavaFromJavaHome - -set JAVA_EXE=java.exe -%JAVA_EXE% -version >NUL 2>&1 -if "%ERRORLEVEL%" == "0" goto init - -echo. -echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. -echo. -echo Please set the JAVA_HOME variable in your environment to match the -echo location of your Java installation. - -goto fail - -:findJavaFromJavaHome -set JAVA_HOME=%JAVA_HOME:"=% -set JAVA_EXE=%JAVA_HOME%/bin/java.exe - -if exist "%JAVA_EXE%" goto init - -echo. -echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% -echo. -echo Please set the JAVA_HOME variable in your environment to match the -echo location of your Java installation. - -goto fail - -:init -@rem Get command-line arguments, handling Windowz variants - -if not "%OS%" == "Windows_NT" goto win9xME_args -if "%@eval[2+2]" == "4" goto 4NT_args - -:win9xME_args -@rem Slurp the command line arguments. -set CMD_LINE_ARGS= -set _SKIP=2 - -:win9xME_args_slurp -if "x%~1" == "x" goto execute - -set CMD_LINE_ARGS=%* -goto execute - -:4NT_args -@rem Get arguments from the 4NT Shell from JP Software -set CMD_LINE_ARGS=%$ - -:execute -@rem Setup the command line - -set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar - -@rem Execute Gradle -"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS% - -:end -@rem End local scope for the variables with windows NT shell -if "%ERRORLEVEL%"=="0" goto mainEnd - -:fail -rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of -rem the _cmd.exe /c_ return code! -if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 -exit /b 1 - -:mainEnd -if "%OS%"=="Windows_NT" endlocal - -:omega diff --git a/cocos2d-tests-android/local.properties b/cocos2d-tests-android/local.properties deleted file mode 100644 index 22473278931..00000000000 --- a/cocos2d-tests-android/local.properties +++ /dev/null @@ -1,10 +0,0 @@ -## This file is automatically generated by Android Studio. -# Do not modify this file -- YOUR CHANGES WILL BE ERASED! -# -# This file should *NOT* be checked into Version Control Systems, -# as it contains information specific to your local configuration. -# -# Location of the SDK. This is only used by Gradle. -# For customization when using a Version Control System, please read the -# header note. -sdk.dir=/Applications/Android Studio.app/sdk \ No newline at end of file diff --git a/cocos2d-tests-android/settings.gradle b/cocos2d-tests-android/settings.gradle deleted file mode 100644 index 54cc8cc872f..00000000000 --- a/cocos2d-tests-android/settings.gradle +++ /dev/null @@ -1 +0,0 @@ -include ':Headless' diff --git a/templates/Support/Base/base_ios.xctemplate/Resources/Info.plist b/cocos2d-tests-ios copy-Info.plist old mode 100755 new mode 100644 similarity index 81% rename from templates/Support/Base/base_ios.xctemplate/Resources/Info.plist rename to cocos2d-tests-ios copy-Info.plist index cd56154f960..5505926571e --- a/templates/Support/Base/base_ios.xctemplate/Resources/Info.plist +++ b/cocos2d-tests-ios copy-Info.plist @@ -15,19 +15,12 @@ Icon.png Icon@2x.png Icon-72.png - Icon-72@2x.png - Icon-76.png - Icon-76@2x.png - Icon-120.png - Icon-iPad-Spotlight-iOS7@2x.png Icon-Small-50.png Icon-Small.png Icon-Small@2x.png - Icon-Spotlight-iOS7.png - Icon-Spotlight-iOS7@2x.png CFBundleIdentifier - ___VARIABLE_bundleIdentifierPrefix:bundleIdentifier___.${PRODUCT_NAME:rfc1034identifier} + $(PRODUCT_BUNDLE_IDENTIFIER) CFBundleInfoDictionaryVersion 6.0 CFBundleName @@ -40,10 +33,17 @@ 1.0 LSRequiresIPhoneOS + UIAppFonts + + Schwarzwald Regular.ttf + Abberancy.ttf + Abduction.ttf + Paint Boy.ttf + + UILaunchStoryboardName + Launch Screen UIPrerenderedIcon - UIStatusBarHidden - UIRequiredDeviceCapabilities accelerometer @@ -51,6 +51,8 @@ opengles-2 + UIStatusBarHidden + UISupportedInterfaceOrientations UIInterfaceOrientationLandscapeLeft diff --git a/cocos2d-tests.xcodeproj/project.pbxproj b/cocos2d-tests.xcodeproj/project.pbxproj index 00e215bb318..c39dd3f8346 100644 --- a/cocos2d-tests.xcodeproj/project.pbxproj +++ b/cocos2d-tests.xcodeproj/project.pbxproj @@ -7,6 +7,279 @@ objects = { /* Begin PBXBuildFile section */ + 084782091C66669300C3817B /* CCTiledMap.m in Sources */ = {isa = PBXBuildFile; fileRef = 084782011C66669300C3817B /* CCTiledMap.m */; }; + 0847820A1C66669300C3817B /* CCTiledMap.m in Sources */ = {isa = PBXBuildFile; fileRef = 084782011C66669300C3817B /* CCTiledMap.m */; }; + 0847820B1C66669300C3817B /* CCTiledMap.m in Sources */ = {isa = PBXBuildFile; fileRef = 084782011C66669300C3817B /* CCTiledMap.m */; }; + 0847820C1C66669300C3817B /* CCTiledMapLayer.m in Sources */ = {isa = PBXBuildFile; fileRef = 084782041C66669300C3817B /* CCTiledMapLayer.m */; }; + 0847820D1C66669300C3817B /* CCTiledMapLayer.m in Sources */ = {isa = PBXBuildFile; fileRef = 084782041C66669300C3817B /* CCTiledMapLayer.m */; }; + 0847820E1C66669300C3817B /* CCTiledMapLayer.m in Sources */ = {isa = PBXBuildFile; fileRef = 084782041C66669300C3817B /* CCTiledMapLayer.m */; }; + 0847820F1C66669300C3817B /* CCTiledMapObjectGroup.m in Sources */ = {isa = PBXBuildFile; fileRef = 084782061C66669300C3817B /* CCTiledMapObjectGroup.m */; }; + 084782101C66669300C3817B /* CCTiledMapObjectGroup.m in Sources */ = {isa = PBXBuildFile; fileRef = 084782061C66669300C3817B /* CCTiledMapObjectGroup.m */; }; + 084782111C66669300C3817B /* CCTiledMapObjectGroup.m in Sources */ = {isa = PBXBuildFile; fileRef = 084782061C66669300C3817B /* CCTiledMapObjectGroup.m */; }; + 084782121C66669300C3817B /* CCTMXXMLParser.m in Sources */ = {isa = PBXBuildFile; fileRef = 084782081C66669300C3817B /* CCTMXXMLParser.m */; }; + 084782131C66669300C3817B /* CCTMXXMLParser.m in Sources */ = {isa = PBXBuildFile; fileRef = 084782081C66669300C3817B /* CCTMXXMLParser.m */; }; + 084782141C66669300C3817B /* CCTMXXMLParser.m in Sources */ = {isa = PBXBuildFile; fileRef = 084782081C66669300C3817B /* CCTMXXMLParser.m */; }; + 084B94FF1C6BA116003A580D /* CCActionAudio.m in Sources */ = {isa = PBXBuildFile; fileRef = 084B94FE1C6BA116003A580D /* CCActionAudio.m */; }; + 084B95001C6BA116003A580D /* CCActionAudio.m in Sources */ = {isa = PBXBuildFile; fileRef = 084B94FE1C6BA116003A580D /* CCActionAudio.m */; }; + 084B95441C6BA1DD003A580D /* OALAction.m in Sources */ = {isa = PBXBuildFile; fileRef = 084B95051C6BA1DD003A580D /* OALAction.m */; }; + 084B95451C6BA1DD003A580D /* OALAction.m in Sources */ = {isa = PBXBuildFile; fileRef = 084B95051C6BA1DD003A580D /* OALAction.m */; }; + 084B95461C6BA1DD003A580D /* OALActionManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 084B95071C6BA1DD003A580D /* OALActionManager.m */; }; + 084B95471C6BA1DD003A580D /* OALActionManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 084B95071C6BA1DD003A580D /* OALActionManager.m */; }; + 084B95481C6BA1DD003A580D /* OALAudioActions.m in Sources */ = {isa = PBXBuildFile; fileRef = 084B95091C6BA1DD003A580D /* OALAudioActions.m */; }; + 084B95491C6BA1DD003A580D /* OALAudioActions.m in Sources */ = {isa = PBXBuildFile; fileRef = 084B95091C6BA1DD003A580D /* OALAudioActions.m */; }; + 084B954A1C6BA1DD003A580D /* OALUtilityActions.m in Sources */ = {isa = PBXBuildFile; fileRef = 084B950B1C6BA1DD003A580D /* OALUtilityActions.m */; }; + 084B954B1C6BA1DD003A580D /* OALUtilityActions.m in Sources */ = {isa = PBXBuildFile; fileRef = 084B950B1C6BA1DD003A580D /* OALUtilityActions.m */; }; + 084B954C1C6BA1DD003A580D /* OALAudioTrack.m in Sources */ = {isa = PBXBuildFile; fileRef = 084B950E1C6BA1DD003A580D /* OALAudioTrack.m */; }; + 084B954D1C6BA1DD003A580D /* OALAudioTrack.m in Sources */ = {isa = PBXBuildFile; fileRef = 084B950E1C6BA1DD003A580D /* OALAudioTrack.m */; }; + 084B954E1C6BA1DD003A580D /* OALAudioTrackNotifications.m in Sources */ = {isa = PBXBuildFile; fileRef = 084B95101C6BA1DD003A580D /* OALAudioTrackNotifications.m */; }; + 084B954F1C6BA1DD003A580D /* OALAudioTrackNotifications.m in Sources */ = {isa = PBXBuildFile; fileRef = 084B95101C6BA1DD003A580D /* OALAudioTrackNotifications.m */; }; + 084B95501C6BA1DD003A580D /* OALAudioTracks.m in Sources */ = {isa = PBXBuildFile; fileRef = 084B95121C6BA1DD003A580D /* OALAudioTracks.m */; }; + 084B95511C6BA1DD003A580D /* OALAudioTracks.m in Sources */ = {isa = PBXBuildFile; fileRef = 084B95121C6BA1DD003A580D /* OALAudioTracks.m */; }; + 084B95521C6BA1DD003A580D /* OALSimpleAudio.m in Sources */ = {isa = PBXBuildFile; fileRef = 084B95141C6BA1DD003A580D /* OALSimpleAudio.m */; }; + 084B95531C6BA1DD003A580D /* OALSimpleAudio.m in Sources */ = {isa = PBXBuildFile; fileRef = 084B95141C6BA1DD003A580D /* OALSimpleAudio.m */; }; + 084B95541C6BA1DD003A580D /* ALBuffer.m in Sources */ = {isa = PBXBuildFile; fileRef = 084B95191C6BA1DD003A580D /* ALBuffer.m */; }; + 084B95551C6BA1DD003A580D /* ALBuffer.m in Sources */ = {isa = PBXBuildFile; fileRef = 084B95191C6BA1DD003A580D /* ALBuffer.m */; }; + 084B95561C6BA1DD003A580D /* ALCaptureDevice.m in Sources */ = {isa = PBXBuildFile; fileRef = 084B951B1C6BA1DD003A580D /* ALCaptureDevice.m */; }; + 084B95571C6BA1DD003A580D /* ALCaptureDevice.m in Sources */ = {isa = PBXBuildFile; fileRef = 084B951B1C6BA1DD003A580D /* ALCaptureDevice.m */; }; + 084B95581C6BA1DD003A580D /* ALChannelSource.m in Sources */ = {isa = PBXBuildFile; fileRef = 084B951D1C6BA1DD003A580D /* ALChannelSource.m */; }; + 084B95591C6BA1DD003A580D /* ALChannelSource.m in Sources */ = {isa = PBXBuildFile; fileRef = 084B951D1C6BA1DD003A580D /* ALChannelSource.m */; }; + 084B955A1C6BA1DD003A580D /* ALContext.m in Sources */ = {isa = PBXBuildFile; fileRef = 084B951F1C6BA1DD003A580D /* ALContext.m */; }; + 084B955B1C6BA1DD003A580D /* ALContext.m in Sources */ = {isa = PBXBuildFile; fileRef = 084B951F1C6BA1DD003A580D /* ALContext.m */; }; + 084B955C1C6BA1DD003A580D /* ALDevice.m in Sources */ = {isa = PBXBuildFile; fileRef = 084B95211C6BA1DD003A580D /* ALDevice.m */; }; + 084B955D1C6BA1DD003A580D /* ALDevice.m in Sources */ = {isa = PBXBuildFile; fileRef = 084B95211C6BA1DD003A580D /* ALDevice.m */; }; + 084B955E1C6BA1DD003A580D /* ALListener.m in Sources */ = {isa = PBXBuildFile; fileRef = 084B95231C6BA1DD003A580D /* ALListener.m */; }; + 084B955F1C6BA1DD003A580D /* ALListener.m in Sources */ = {isa = PBXBuildFile; fileRef = 084B95231C6BA1DD003A580D /* ALListener.m */; }; + 084B95601C6BA1DD003A580D /* ALSoundSourcePool.m in Sources */ = {isa = PBXBuildFile; fileRef = 084B95261C6BA1DD003A580D /* ALSoundSourcePool.m */; }; + 084B95611C6BA1DD003A580D /* ALSoundSourcePool.m in Sources */ = {isa = PBXBuildFile; fileRef = 084B95261C6BA1DD003A580D /* ALSoundSourcePool.m */; }; + 084B95621C6BA1DD003A580D /* ALSource.m in Sources */ = {isa = PBXBuildFile; fileRef = 084B95281C6BA1DD003A580D /* ALSource.m */; }; + 084B95631C6BA1DD003A580D /* ALSource.m in Sources */ = {isa = PBXBuildFile; fileRef = 084B95281C6BA1DD003A580D /* ALSource.m */; }; + 084B95641C6BA1DD003A580D /* ALWrapper.m in Sources */ = {isa = PBXBuildFile; fileRef = 084B952B1C6BA1DD003A580D /* ALWrapper.m */; }; + 084B95651C6BA1DD003A580D /* ALWrapper.m in Sources */ = {isa = PBXBuildFile; fileRef = 084B952B1C6BA1DD003A580D /* ALWrapper.m */; }; + 084B95661C6BA1DD003A580D /* OpenALManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 084B952D1C6BA1DD003A580D /* OpenALManager.m */; }; + 084B95671C6BA1DD003A580D /* OpenALManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 084B952D1C6BA1DD003A580D /* OpenALManager.m */; }; + 084B95681C6BA1DD003A580D /* OALAudioSession.m in Sources */ = {isa = PBXBuildFile; fileRef = 084B95301C6BA1DD003A580D /* OALAudioSession.m */; }; + 084B95691C6BA1DD003A580D /* OALAudioSession.m in Sources */ = {isa = PBXBuildFile; fileRef = 084B95301C6BA1DD003A580D /* OALAudioSession.m */; }; + 084B956A1C6BA1DD003A580D /* OALSuspendHandler.m in Sources */ = {isa = PBXBuildFile; fileRef = 084B95321C6BA1DD003A580D /* OALSuspendHandler.m */; }; + 084B956B1C6BA1DD003A580D /* OALSuspendHandler.m in Sources */ = {isa = PBXBuildFile; fileRef = 084B95321C6BA1DD003A580D /* OALSuspendHandler.m */; }; + 084B956C1C6BA1DD003A580D /* IOSVersion.m in Sources */ = {isa = PBXBuildFile; fileRef = 084B95361C6BA1DD003A580D /* IOSVersion.m */; }; + 084B956D1C6BA1DD003A580D /* IOSVersion.m in Sources */ = {isa = PBXBuildFile; fileRef = 084B95361C6BA1DD003A580D /* IOSVersion.m */; }; + 084B956E1C6BA1DD003A580D /* mach_timing.c in Sources */ = {isa = PBXBuildFile; fileRef = 084B95371C6BA1DD003A580D /* mach_timing.c */; }; + 084B956F1C6BA1DD003A580D /* mach_timing.c in Sources */ = {isa = PBXBuildFile; fileRef = 084B95371C6BA1DD003A580D /* mach_timing.c */; }; + 084B95701C6BA1DD003A580D /* NSMutableArray+WeakReferences.m in Sources */ = {isa = PBXBuildFile; fileRef = 084B953A1C6BA1DD003A580D /* NSMutableArray+WeakReferences.m */; }; + 084B95711C6BA1DD003A580D /* NSMutableArray+WeakReferences.m in Sources */ = {isa = PBXBuildFile; fileRef = 084B953A1C6BA1DD003A580D /* NSMutableArray+WeakReferences.m */; }; + 084B95721C6BA1DD003A580D /* NSMutableDictionary+WeakReferences.m in Sources */ = {isa = PBXBuildFile; fileRef = 084B953C1C6BA1DD003A580D /* NSMutableDictionary+WeakReferences.m */; }; + 084B95731C6BA1DD003A580D /* NSMutableDictionary+WeakReferences.m in Sources */ = {isa = PBXBuildFile; fileRef = 084B953C1C6BA1DD003A580D /* NSMutableDictionary+WeakReferences.m */; }; + 084B95741C6BA1DD003A580D /* OALAudioFile.m in Sources */ = {isa = PBXBuildFile; fileRef = 084B953E1C6BA1DD003A580D /* OALAudioFile.m */; }; + 084B95751C6BA1DD003A580D /* OALAudioFile.m in Sources */ = {isa = PBXBuildFile; fileRef = 084B953E1C6BA1DD003A580D /* OALAudioFile.m */; }; + 084B95761C6BA1DD003A580D /* OALTools.m in Sources */ = {isa = PBXBuildFile; fileRef = 084B95411C6BA1DD003A580D /* OALTools.m */; }; + 084B95771C6BA1DD003A580D /* OALTools.m in Sources */ = {isa = PBXBuildFile; fileRef = 084B95411C6BA1DD003A580D /* OALTools.m */; }; + 089949641C67F10A00ECC92C /* CCMotionStreak.m in Sources */ = {isa = PBXBuildFile; fileRef = 089949631C67F10A00ECC92C /* CCMotionStreak.m */; }; + 089949651C67F10A00ECC92C /* CCMotionStreak.m in Sources */ = {isa = PBXBuildFile; fileRef = 089949631C67F10A00ECC92C /* CCMotionStreak.m */; }; + 089949661C67F10A00ECC92C /* CCMotionStreak.m in Sources */ = {isa = PBXBuildFile; fileRef = 089949631C67F10A00ECC92C /* CCMotionStreak.m */; }; + 0899496C1C67F1BE00ECC92C /* CCClippingNode.m in Sources */ = {isa = PBXBuildFile; fileRef = 0899496B1C67F1BE00ECC92C /* CCClippingNode.m */; }; + 0899496D1C67F1BE00ECC92C /* CCClippingNode.m in Sources */ = {isa = PBXBuildFile; fileRef = 0899496B1C67F1BE00ECC92C /* CCClippingNode.m */; }; + 0899496E1C67F1BE00ECC92C /* CCClippingNode.m in Sources */ = {isa = PBXBuildFile; fileRef = 0899496B1C67F1BE00ECC92C /* CCClippingNode.m */; }; + 0899497A1C67F2D600ECC92C /* CCParticleBatchNode.m in Sources */ = {isa = PBXBuildFile; fileRef = 089949711C67F2D600ECC92C /* CCParticleBatchNode.m */; }; + 0899497B1C67F2D600ECC92C /* CCParticleBatchNode.m in Sources */ = {isa = PBXBuildFile; fileRef = 089949711C67F2D600ECC92C /* CCParticleBatchNode.m */; }; + 0899497C1C67F2D600ECC92C /* CCParticleBatchNode.m in Sources */ = {isa = PBXBuildFile; fileRef = 089949711C67F2D600ECC92C /* CCParticleBatchNode.m */; }; + 0899497D1C67F2D600ECC92C /* CCParticleExamples.m in Sources */ = {isa = PBXBuildFile; fileRef = 089949731C67F2D600ECC92C /* CCParticleExamples.m */; }; + 0899497E1C67F2D600ECC92C /* CCParticleExamples.m in Sources */ = {isa = PBXBuildFile; fileRef = 089949731C67F2D600ECC92C /* CCParticleExamples.m */; }; + 0899497F1C67F2D600ECC92C /* CCParticleExamples.m in Sources */ = {isa = PBXBuildFile; fileRef = 089949731C67F2D600ECC92C /* CCParticleExamples.m */; }; + 089949801C67F2D600ECC92C /* CCParticleSystem.m in Sources */ = {isa = PBXBuildFile; fileRef = 089949751C67F2D600ECC92C /* CCParticleSystem.m */; }; + 089949811C67F2D600ECC92C /* CCParticleSystem.m in Sources */ = {isa = PBXBuildFile; fileRef = 089949751C67F2D600ECC92C /* CCParticleSystem.m */; }; + 089949821C67F2D600ECC92C /* CCParticleSystem.m in Sources */ = {isa = PBXBuildFile; fileRef = 089949751C67F2D600ECC92C /* CCParticleSystem.m */; }; + 089949831C67F2D600ECC92C /* CCParticleSystemBase.m in Sources */ = {isa = PBXBuildFile; fileRef = 089949781C67F2D600ECC92C /* CCParticleSystemBase.m */; }; + 089949841C67F2D600ECC92C /* CCParticleSystemBase.m in Sources */ = {isa = PBXBuildFile; fileRef = 089949781C67F2D600ECC92C /* CCParticleSystemBase.m */; }; + 089949851C67F2D600ECC92C /* CCParticleSystemBase.m in Sources */ = {isa = PBXBuildFile; fileRef = 089949781C67F2D600ECC92C /* CCParticleSystemBase.m */; }; + 089949A11C67F40000ECC92C /* CCPackage.m in Sources */ = {isa = PBXBuildFile; fileRef = 089949891C67F40000ECC92C /* CCPackage.m */; }; + 089949A21C67F40000ECC92C /* CCPackage.m in Sources */ = {isa = PBXBuildFile; fileRef = 089949891C67F40000ECC92C /* CCPackage.m */; }; + 089949A31C67F40000ECC92C /* CCPackage.m in Sources */ = {isa = PBXBuildFile; fileRef = 089949891C67F40000ECC92C /* CCPackage.m */; }; + 089949A41C67F40000ECC92C /* CCPackageCocos2dEnabler.m in Sources */ = {isa = PBXBuildFile; fileRef = 0899498C1C67F40000ECC92C /* CCPackageCocos2dEnabler.m */; }; + 089949A51C67F40000ECC92C /* CCPackageCocos2dEnabler.m in Sources */ = {isa = PBXBuildFile; fileRef = 0899498C1C67F40000ECC92C /* CCPackageCocos2dEnabler.m */; }; + 089949A61C67F40000ECC92C /* CCPackageCocos2dEnabler.m in Sources */ = {isa = PBXBuildFile; fileRef = 0899498C1C67F40000ECC92C /* CCPackageCocos2dEnabler.m */; }; + 089949A71C67F40000ECC92C /* CCPackageConstants.m in Sources */ = {isa = PBXBuildFile; fileRef = 0899498E1C67F40000ECC92C /* CCPackageConstants.m */; }; + 089949A81C67F40000ECC92C /* CCPackageConstants.m in Sources */ = {isa = PBXBuildFile; fileRef = 0899498E1C67F40000ECC92C /* CCPackageConstants.m */; }; + 089949A91C67F40000ECC92C /* CCPackageConstants.m in Sources */ = {isa = PBXBuildFile; fileRef = 0899498E1C67F40000ECC92C /* CCPackageConstants.m */; }; + 089949AA1C67F40000ECC92C /* CCPackageDownload.m in Sources */ = {isa = PBXBuildFile; fileRef = 089949901C67F40000ECC92C /* CCPackageDownload.m */; }; + 089949AB1C67F40000ECC92C /* CCPackageDownload.m in Sources */ = {isa = PBXBuildFile; fileRef = 089949901C67F40000ECC92C /* CCPackageDownload.m */; }; + 089949AC1C67F40000ECC92C /* CCPackageDownload.m in Sources */ = {isa = PBXBuildFile; fileRef = 089949901C67F40000ECC92C /* CCPackageDownload.m */; }; + 089949AD1C67F40000ECC92C /* CCPackageDownloadManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 089949931C67F40000ECC92C /* CCPackageDownloadManager.m */; }; + 089949AE1C67F40000ECC92C /* CCPackageDownloadManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 089949931C67F40000ECC92C /* CCPackageDownloadManager.m */; }; + 089949AF1C67F40000ECC92C /* CCPackageDownloadManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 089949931C67F40000ECC92C /* CCPackageDownloadManager.m */; }; + 089949B01C67F40000ECC92C /* CCPackageHelper.m in Sources */ = {isa = PBXBuildFile; fileRef = 089949961C67F40000ECC92C /* CCPackageHelper.m */; }; + 089949B11C67F40000ECC92C /* CCPackageHelper.m in Sources */ = {isa = PBXBuildFile; fileRef = 089949961C67F40000ECC92C /* CCPackageHelper.m */; }; + 089949B21C67F40000ECC92C /* CCPackageHelper.m in Sources */ = {isa = PBXBuildFile; fileRef = 089949961C67F40000ECC92C /* CCPackageHelper.m */; }; + 089949B31C67F40000ECC92C /* CCPackageInstaller.m in Sources */ = {isa = PBXBuildFile; fileRef = 089949981C67F40000ECC92C /* CCPackageInstaller.m */; }; + 089949B41C67F40000ECC92C /* CCPackageInstaller.m in Sources */ = {isa = PBXBuildFile; fileRef = 089949981C67F40000ECC92C /* CCPackageInstaller.m */; }; + 089949B51C67F40000ECC92C /* CCPackageInstaller.m in Sources */ = {isa = PBXBuildFile; fileRef = 089949981C67F40000ECC92C /* CCPackageInstaller.m */; }; + 089949B61C67F40000ECC92C /* CCPackageManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 0899499A1C67F40000ECC92C /* CCPackageManager.m */; }; + 089949B71C67F40000ECC92C /* CCPackageManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 0899499A1C67F40000ECC92C /* CCPackageManager.m */; }; + 089949B81C67F40000ECC92C /* CCPackageManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 0899499A1C67F40000ECC92C /* CCPackageManager.m */; }; + 089949B91C67F40000ECC92C /* CCPackageUnzipper.m in Sources */ = {isa = PBXBuildFile; fileRef = 0899499F1C67F40000ECC92C /* CCPackageUnzipper.m */; }; + 089949BA1C67F40000ECC92C /* CCPackageUnzipper.m in Sources */ = {isa = PBXBuildFile; fileRef = 0899499F1C67F40000ECC92C /* CCPackageUnzipper.m */; }; + 089949BB1C67F40000ECC92C /* CCPackageUnzipper.m in Sources */ = {isa = PBXBuildFile; fileRef = 0899499F1C67F40000ECC92C /* CCPackageUnzipper.m */; }; + 089949EC1C67F97D00ECC92C /* ioapi.c in Sources */ = {isa = PBXBuildFile; fileRef = 089949E21C67F97D00ECC92C /* ioapi.c */; }; + 089949ED1C67F97D00ECC92C /* ioapi.c in Sources */ = {isa = PBXBuildFile; fileRef = 089949E21C67F97D00ECC92C /* ioapi.c */; }; + 089949EE1C67F97D00ECC92C /* ioapi.c in Sources */ = {isa = PBXBuildFile; fileRef = 089949E21C67F97D00ECC92C /* ioapi.c */; }; + 089949EF1C67F97D00ECC92C /* mztools.c in Sources */ = {isa = PBXBuildFile; fileRef = 089949E41C67F97D00ECC92C /* mztools.c */; }; + 089949F01C67F97D00ECC92C /* mztools.c in Sources */ = {isa = PBXBuildFile; fileRef = 089949E41C67F97D00ECC92C /* mztools.c */; }; + 089949F11C67F97D00ECC92C /* mztools.c in Sources */ = {isa = PBXBuildFile; fileRef = 089949E41C67F97D00ECC92C /* mztools.c */; }; + 089949F21C67F97D00ECC92C /* unzip.c in Sources */ = {isa = PBXBuildFile; fileRef = 089949E61C67F97D00ECC92C /* unzip.c */; }; + 089949F31C67F97D00ECC92C /* unzip.c in Sources */ = {isa = PBXBuildFile; fileRef = 089949E61C67F97D00ECC92C /* unzip.c */; }; + 089949F41C67F97D00ECC92C /* unzip.c in Sources */ = {isa = PBXBuildFile; fileRef = 089949E61C67F97D00ECC92C /* unzip.c */; }; + 089949F51C67F97D00ECC92C /* zip.c in Sources */ = {isa = PBXBuildFile; fileRef = 089949E81C67F97D00ECC92C /* zip.c */; }; + 089949F61C67F97D00ECC92C /* zip.c in Sources */ = {isa = PBXBuildFile; fileRef = 089949E81C67F97D00ECC92C /* zip.c */; }; + 089949F71C67F97D00ECC92C /* zip.c in Sources */ = {isa = PBXBuildFile; fileRef = 089949E81C67F97D00ECC92C /* zip.c */; }; + 089949F81C67F97D00ECC92C /* SSZipArchive.m in Sources */ = {isa = PBXBuildFile; fileRef = 089949EB1C67F97D00ECC92C /* SSZipArchive.m */; }; + 089949F91C67F97D00ECC92C /* SSZipArchive.m in Sources */ = {isa = PBXBuildFile; fileRef = 089949EB1C67F97D00ECC92C /* SSZipArchive.m */; }; + 089949FA1C67F97D00ECC92C /* SSZipArchive.m in Sources */ = {isa = PBXBuildFile; fileRef = 089949EB1C67F97D00ECC92C /* SSZipArchive.m */; }; + 089949FE1C67FAB000ECC92C /* CCParallaxNode.m in Sources */ = {isa = PBXBuildFile; fileRef = 089949FD1C67FAB000ECC92C /* CCParallaxNode.m */; }; + 089949FF1C67FAB000ECC92C /* CCParallaxNode.m in Sources */ = {isa = PBXBuildFile; fileRef = 089949FD1C67FAB000ECC92C /* CCParallaxNode.m */; }; + 08994A001C67FAB000ECC92C /* CCParallaxNode.m in Sources */ = {isa = PBXBuildFile; fileRef = 089949FD1C67FAB000ECC92C /* CCParallaxNode.m */; }; + 08F4A9F81C6E9776004DAAF7 /* CCParallaxNode.m in Sources */ = {isa = PBXBuildFile; fileRef = 089949FD1C67FAB000ECC92C /* CCParallaxNode.m */; }; + 08F4A9F91C6E9776004DAAF7 /* TestBase.m in Sources */ = {isa = PBXBuildFile; fileRef = B71B087B17EA5B490082EBC0 /* TestBase.m */; }; + 08F4A9FA1C6E9776004DAAF7 /* SpritePerformanceTest.m in Sources */ = {isa = PBXBuildFile; fileRef = D3870C5F18B440150033D885 /* SpritePerformanceTest.m */; }; + 08F4A9FE1C6E9776004DAAF7 /* CCTiledMapLayer.m in Sources */ = {isa = PBXBuildFile; fileRef = 084782041C66669300C3817B /* CCTiledMapLayer.m */; }; + 08F4A9FF1C6E9776004DAAF7 /* SSZipArchive.m in Sources */ = {isa = PBXBuildFile; fileRef = 089949EB1C67F97D00ECC92C /* SSZipArchive.m */; }; + 08F4AA031C6E9776004DAAF7 /* CCScrollViewTest.m in Sources */ = {isa = PBXBuildFile; fileRef = B71B088117EA5B6A0082EBC0 /* CCScrollViewTest.m */; }; + 08F4AA041C6E9776004DAAF7 /* CCTextFieldTest.m in Sources */ = {isa = PBXBuildFile; fileRef = B7EE697818186D5200B983FE /* CCTextFieldTest.m */; }; + 08F4AA051C6E9776004DAAF7 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = B7E261FF17E7D321007067F0 /* AppDelegate.m */; }; + 08F4AA061C6E9776004DAAF7 /* CCCacheTest.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E28FE19197FCE4500F78989 /* CCCacheTest.m */; }; + 08F4AA081C6E9776004DAAF7 /* CCTextureCacheTest.m in Sources */ = {isa = PBXBuildFile; fileRef = B77060AA1832E3310043CC67 /* CCTextureCacheTest.m */; }; + 08F4AA0A1C6E9776004DAAF7 /* CCPackage.m in Sources */ = {isa = PBXBuildFile; fileRef = 089949891C67F40000ECC92C /* CCPackage.m */; }; + 08F4AA0C1C6E9776004DAAF7 /* PositioningTest.m in Sources */ = {isa = PBXBuildFile; fileRef = A664A4EE18A3D9B8006184B8 /* PositioningTest.m */; }; + 08F4AA0D1C6E9776004DAAF7 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = B7E2621A17E7D370007067F0 /* main.m */; }; + 08F4AA101C6E9776004DAAF7 /* CCSprite9SliceTest.m in Sources */ = {isa = PBXBuildFile; fileRef = B7EE69801818760700B983FE /* CCSprite9SliceTest.m */; }; + 08F4AA111C6E9776004DAAF7 /* CCSliderTest.m in Sources */ = {isa = PBXBuildFile; fileRef = B7EE6A27181B075E00B983FE /* CCSliderTest.m */; }; + 08F4AA121C6E9776004DAAF7 /* CCParticleExamples.m in Sources */ = {isa = PBXBuildFile; fileRef = 089949731C67F2D600ECC92C /* CCParticleExamples.m */; }; + 08F4AA131C6E9776004DAAF7 /* CCTiledMapObjectGroup.m in Sources */ = {isa = PBXBuildFile; fileRef = 084782061C66669300C3817B /* CCTiledMapObjectGroup.m */; }; + 08F4AA141C6E9776004DAAF7 /* CCPackageInstaller.m in Sources */ = {isa = PBXBuildFile; fileRef = 089949981C67F40000ECC92C /* CCPackageInstaller.m */; }; + 08F4AA161C6E9776004DAAF7 /* CCMotionStreak.m in Sources */ = {isa = PBXBuildFile; fileRef = 089949631C67F10A00ECC92C /* CCMotionStreak.m */; }; + 08F4AA181C6E9776004DAAF7 /* CCTMXXMLParser.m in Sources */ = {isa = PBXBuildFile; fileRef = 084782081C66669300C3817B /* CCTMXXMLParser.m */; }; + 08F4AA191C6E9776004DAAF7 /* CCTiledMap.m in Sources */ = {isa = PBXBuildFile; fileRef = 084782011C66669300C3817B /* CCTiledMap.m */; }; + 08F4AA1A1C6E9776004DAAF7 /* CCPackageHelper.m in Sources */ = {isa = PBXBuildFile; fileRef = 089949961C67F40000ECC92C /* CCPackageHelper.m */; }; + 08F4AA1B1C6E9776004DAAF7 /* VertexZTest.m in Sources */ = {isa = PBXBuildFile; fileRef = A6167B92189A7D4D0044D391 /* VertexZTest.m */; }; + 08F4AA1C1C6E9776004DAAF7 /* CCResponderTest.m in Sources */ = {isa = PBXBuildFile; fileRef = B772F69E1811C8D9005C069B /* CCResponderTest.m */; }; + 08F4AA1D1C6E9776004DAAF7 /* CCParticleBatchNode.m in Sources */ = {isa = PBXBuildFile; fileRef = 089949711C67F2D600ECC92C /* CCParticleBatchNode.m */; }; + 08F4AA1E1C6E9776004DAAF7 /* CCParticleSystem.m in Sources */ = {isa = PBXBuildFile; fileRef = 089949751C67F2D600ECC92C /* CCParticleSystem.m */; }; + 08F4AA1F1C6E9776004DAAF7 /* CCPackageDownloadManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 089949931C67F40000ECC92C /* CCPackageDownloadManager.m */; }; + 08F4AA201C6E9776004DAAF7 /* CCEffectsTest.m in Sources */ = {isa = PBXBuildFile; fileRef = D2B4894B1917EE6700C3443A /* CCEffectsTest.m */; }; + 08F4AA211C6E9776004DAAF7 /* NSMutableDictionary+WeakReferences.m in Sources */ = {isa = PBXBuildFile; fileRef = 084B953C1C6BA1DD003A580D /* NSMutableDictionary+WeakReferences.m */; }; + 08F4AA231C6E9776004DAAF7 /* ioapi.c in Sources */ = {isa = PBXBuildFile; fileRef = 089949E21C67F97D00ECC92C /* ioapi.c */; }; + 08F4AA241C6E9776004DAAF7 /* CCLayoutTest.m in Sources */ = {isa = PBXBuildFile; fileRef = B7EE69CE1819D82300B983FE /* CCLayoutTest.m */; }; + 08F4AA251C6E9776004DAAF7 /* CCLabelTTFTest.m in Sources */ = {isa = PBXBuildFile; fileRef = 758A6C701844011E00D1A8D2 /* CCLabelTTFTest.m */; }; + 08F4AA261C6E9776004DAAF7 /* CCPackageConstants.m in Sources */ = {isa = PBXBuildFile; fileRef = 0899498E1C67F40000ECC92C /* CCPackageConstants.m */; }; + 08F4AA271C6E9776004DAAF7 /* CCPackageCocos2dEnabler.m in Sources */ = {isa = PBXBuildFile; fileRef = 0899498C1C67F40000ECC92C /* CCPackageCocos2dEnabler.m */; }; + 08F4AA281C6E9776004DAAF7 /* CCPackageDownload.m in Sources */ = {isa = PBXBuildFile; fileRef = 089949901C67F40000ECC92C /* CCPackageDownload.m */; }; + 08F4AA291C6E9776004DAAF7 /* ParallaxTest.m in Sources */ = {isa = PBXBuildFile; fileRef = 758A690E1843E18700D1A8D2 /* ParallaxTest.m */; }; + 08F4AA2B1C6E9776004DAAF7 /* mztools.c in Sources */ = {isa = PBXBuildFile; fileRef = 089949E41C67F97D00ECC92C /* mztools.c */; }; + 08F4AA2C1C6E9776004DAAF7 /* TextureTest.m in Sources */ = {isa = PBXBuildFile; fileRef = 7587BDB2185A0A6900EEEFDE /* TextureTest.m */; }; + 08F4AA2D1C6E9776004DAAF7 /* CCSchedulerTest.m in Sources */ = {isa = PBXBuildFile; fileRef = D3C9C866188078B900C58900 /* CCSchedulerTest.m */; }; + 08F4AA341C6E9776004DAAF7 /* ColorTest.m in Sources */ = {isa = PBXBuildFile; fileRef = 7587BDB6185A64AD00EEEFDE /* ColorTest.m */; }; + 08F4AA371C6E9776004DAAF7 /* CCParticleSystemBase.m in Sources */ = {isa = PBXBuildFile; fileRef = 089949781C67F2D600ECC92C /* CCParticleSystemBase.m */; }; + 08F4AA381C6E9776004DAAF7 /* TilemapTest.m in Sources */ = {isa = PBXBuildFile; fileRef = D340E10D185660BE006E605C /* TilemapTest.m */; }; + 08F4AA391C6E9776004DAAF7 /* MainMenu.m in Sources */ = {isa = PBXBuildFile; fileRef = B7E2622017E7D3B2007067F0 /* MainMenu.m */; }; + 08F4AA3A1C6E9776004DAAF7 /* CCRendererTest.m in Sources */ = {isa = PBXBuildFile; fileRef = D3D6CF5E18BD5F0500A51531 /* CCRendererTest.m */; }; + 08F4AA3B1C6E9776004DAAF7 /* CCClippingNode.m in Sources */ = {isa = PBXBuildFile; fileRef = 0899496B1C67F1BE00ECC92C /* CCClippingNode.m */; }; + 08F4AA3C1C6E9776004DAAF7 /* CCPackageManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 0899499A1C67F40000ECC92C /* CCPackageManager.m */; }; + 08F4AA3D1C6E9776004DAAF7 /* CCTransitionTest.m in Sources */ = {isa = PBXBuildFile; fileRef = B70AFC2F180F2D7400516435 /* CCTransitionTest.m */; }; + 08F4AA3E1C6E9776004DAAF7 /* unzip.c in Sources */ = {isa = PBXBuildFile; fileRef = 089949E61C67F97D00ECC92C /* unzip.c */; }; + 08F4AA3F1C6E9776004DAAF7 /* ParticleTest.m in Sources */ = {isa = PBXBuildFile; fileRef = 758A6C7A18440D5C00D1A8D2 /* ParticleTest.m */; }; + 08F4AA401C6E9776004DAAF7 /* CCTableViewTest.m in Sources */ = {isa = PBXBuildFile; fileRef = B7C6238B17ECDF6A00928F91 /* CCTableViewTest.m */; }; + 08F4AA411C6E9776004DAAF7 /* CCPackageUnzipper.m in Sources */ = {isa = PBXBuildFile; fileRef = 0899499F1C67F40000ECC92C /* CCPackageUnzipper.m */; }; + 08F4AA421C6E9776004DAAF7 /* zip.c in Sources */ = {isa = PBXBuildFile; fileRef = 089949E81C67F97D00ECC92C /* zip.c */; }; + 08F4AA451C6E9776004DAAF7 /* CCPhysicsTest.m in Sources */ = {isa = PBXBuildFile; fileRef = D340E10C185660BE006E605C /* CCPhysicsTest.m */; }; + 08F4AA471C6E9776004DAAF7 /* CCBMFontTest.m in Sources */ = {isa = PBXBuildFile; fileRef = D3B2A7E4187DD60B00406C5A /* CCBMFontTest.m */; }; + 08F4AA4A1C6E9776004DAAF7 /* Metal.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D3F52DE21A51FE2C00A18F54 /* Metal.framework */; settings = {ATTRIBUTES = (Weak, ); }; }; + 08F4AA4C1C6E9776004DAAF7 /* GLKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D34CD3C118ABEE9C00D8E537 /* GLKit.framework */; }; + 08F4AA4D1C6E9776004DAAF7 /* OpenGLES.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D28A2E1E1954F7E900ADC03D /* OpenGLES.framework */; }; + 08F4AA4E1C6E9776004DAAF7 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D28A2E171954F68200ADC03D /* UIKit.framework */; }; + 08F4AA4F1C6E9776004DAAF7 /* QuartzCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B7E2604B17E7D278007067F0 /* QuartzCore.framework */; }; + 08F4AA501C6E9776004DAAF7 /* OpenAL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B7E2604F17E7D278007067F0 /* OpenAL.framework */; }; + 08F4AA511C6E9776004DAAF7 /* AudioToolbox.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B7E2605117E7D278007067F0 /* AudioToolbox.framework */; }; + 08F4AA521C6E9776004DAAF7 /* AVFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B7E2605317E7D278007067F0 /* AVFoundation.framework */; }; + 08F4AA531C6E9776004DAAF7 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B7E2605717E7D278007067F0 /* Foundation.framework */; }; + 08F4AA541C6E9776004DAAF7 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B7E2605917E7D278007067F0 /* CoreGraphics.framework */; }; + 08F4AA551C6E9776004DAAF7 /* CoreText.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B7E2605B17E7D278007067F0 /* CoreText.framework */; }; + 08F4AA581C6E9776004DAAF7 /* CCRendererSharedTypes.h in Resources */ = {isa = PBXBuildFile; fileRef = D3269DE919CCC11800406282 /* CCRendererSharedTypes.h */; }; + 08F4AA591C6E9776004DAAF7 /* bitmapFontTest.fnt in Resources */ = {isa = PBXBuildFile; fileRef = D4AFE8E01977100000261299 /* bitmapFontTest.fnt */; }; + 08F4AA5A1C6E9776004DAAF7 /* bitmapFontTest5.png in Resources */ = {isa = PBXBuildFile; fileRef = D4AFE8E81977100000261299 /* bitmapFontTest5.png */; }; + 08F4AA5B1C6E9776004DAAF7 /* TileMaps in Resources */ = {isa = PBXBuildFile; fileRef = 758A6C6A1843E5BE00D1A8D2 /* TileMaps */; }; + 08F4AA5C1C6E9776004DAAF7 /* Images in Resources */ = {isa = PBXBuildFile; fileRef = 758A6C6B1843E5C500D1A8D2 /* Images */; }; + 08F4AA5D1C6E9776004DAAF7 /* Sounds in Resources */ = {isa = PBXBuildFile; fileRef = 75F76496185A831B00E2FAFE /* Sounds */; }; + 08F4AA5E1C6E9776004DAAF7 /* bitmapFontTest4.png in Resources */ = {isa = PBXBuildFile; fileRef = D4AFE8E61977100000261299 /* bitmapFontTest4.png */; }; + 08F4AA5F1C6E9776004DAAF7 /* font-issue1343.png in Resources */ = {isa = PBXBuildFile; fileRef = D4AFE8EE1977100000261299 /* font-issue1343.png */; }; + 08F4AA601C6E9776004DAAF7 /* font-issue1343.fnt in Resources */ = {isa = PBXBuildFile; fileRef = D4AFE8ED1977100000261299 /* font-issue1343.fnt */; }; + 08F4AA611C6E9776004DAAF7 /* RobotoSlab-Regular.ttf in Resources */ = {isa = PBXBuildFile; fileRef = D4AFE90A1977100000261299 /* RobotoSlab-Regular.ttf */; }; + 08F4AA621C6E9776004DAAF7 /* Particles in Resources */ = {isa = PBXBuildFile; fileRef = 758A6C7F184410EE00D1A8D2 /* Particles */; }; + 08F4AA631C6E9776004DAAF7 /* A Damn Mess.ttf in Resources */ = {isa = PBXBuildFile; fileRef = D4AFE8D81977100000261299 /* A Damn Mess.ttf */; }; + 08F4AA641C6E9776004DAAF7 /* Default-568h@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = B7E2620217E7D34D007067F0 /* Default-568h@2x.png */; }; + 08F4AA651C6E9776004DAAF7 /* helvetica-geneva-32.png in Resources */ = {isa = PBXBuildFile; fileRef = D4AFE8FA1977100000261299 /* helvetica-geneva-32.png */; }; + 08F4AA661C6E9776004DAAF7 /* bitmapFontTest2.fnt in Resources */ = {isa = PBXBuildFile; fileRef = D4AFE8E21977100000261299 /* bitmapFontTest2.fnt */; }; + 08F4AA671C6E9776004DAAF7 /* Default-Landscape~ipad.png in Resources */ = {isa = PBXBuildFile; fileRef = B7E2620317E7D34D007067F0 /* Default-Landscape~ipad.png */; }; + 08F4AA681C6E9776004DAAF7 /* Default.png in Resources */ = {isa = PBXBuildFile; fileRef = B7E2620417E7D34D007067F0 /* Default.png */; }; + 08F4AA691C6E9776004DAAF7 /* Paint Boy.ttf in Resources */ = {isa = PBXBuildFile; fileRef = D4AFE9071977100000261299 /* Paint Boy.ttf */; }; + 08F4AA6A1C6E9776004DAAF7 /* ThisFontIsAbdFont.ttf in Resources */ = {isa = PBXBuildFile; fileRef = D4AFE8DA1977100000261299 /* ThisFontIsAbdFont.ttf */; }; + 08F4AA6B1C6E9776004DAAF7 /* Default@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = B7E2620517E7D34D007067F0 /* Default@2x.png */; }; + 08F4AA6C1C6E9776004DAAF7 /* markerFelt-hd.png in Resources */ = {isa = PBXBuildFile; fileRef = D4AFE9041977100000261299 /* markerFelt-hd.png */; }; + 08F4AA6D1C6E9776004DAAF7 /* markerFelt-hd.fnt in Resources */ = {isa = PBXBuildFile; fileRef = D4AFE9031977100000261299 /* markerFelt-hd.fnt */; }; + 08F4AA6E1C6E9776004DAAF7 /* futura-48.png in Resources */ = {isa = PBXBuildFile; fileRef = D4AFE8F71977100000261299 /* futura-48.png */; }; + 08F4AA6F1C6E9776004DAAF7 /* Icon-72.png in Resources */ = {isa = PBXBuildFile; fileRef = B7E2620617E7D34D007067F0 /* Icon-72.png */; }; + 08F4AA701C6E9776004DAAF7 /* font-issue1343-hd.png in Resources */ = {isa = PBXBuildFile; fileRef = D4AFE8EC1977100000261299 /* font-issue1343-hd.png */; }; + 08F4AA711C6E9776004DAAF7 /* futura-48.GlyphProject in Resources */ = {isa = PBXBuildFile; fileRef = D4AFE8F61977100000261299 /* futura-48.GlyphProject */; }; + 08F4AA721C6E9776004DAAF7 /* Icon-Small-50.png in Resources */ = {isa = PBXBuildFile; fileRef = B7E2620717E7D34D007067F0 /* Icon-Small-50.png */; }; + 08F4AA731C6E9776004DAAF7 /* konqa32-hd.png in Resources */ = {isa = PBXBuildFile; fileRef = D4AFE8FC1977100000261299 /* konqa32-hd.png */; }; + 08F4AA741C6E9776004DAAF7 /* arial-unicode-26.fnt in Resources */ = {isa = PBXBuildFile; fileRef = D4AFE8DB1977100000261299 /* arial-unicode-26.fnt */; }; + 08F4AA751C6E9776004DAAF7 /* Icon-Small.png in Resources */ = {isa = PBXBuildFile; fileRef = B7E2620817E7D34D007067F0 /* Icon-Small.png */; }; + 08F4AA761C6E9776004DAAF7 /* konqa32-hd.fnt in Resources */ = {isa = PBXBuildFile; fileRef = D4AFE8FB1977100000261299 /* konqa32-hd.fnt */; }; + 08F4AA771C6E9776004DAAF7 /* larabie-16.plist in Resources */ = {isa = PBXBuildFile; fileRef = D4AFE9011977100000261299 /* larabie-16.plist */; }; + 08F4AA781C6E9776004DAAF7 /* larabie-16-hd.plist in Resources */ = {isa = PBXBuildFile; fileRef = D4AFE8FF1977100000261299 /* larabie-16-hd.plist */; }; + 08F4AA791C6E9776004DAAF7 /* bitmapFontTest3.fnt in Resources */ = {isa = PBXBuildFile; fileRef = D4AFE8E31977100000261299 /* bitmapFontTest3.fnt */; }; + 08F4AA7A1C6E9776004DAAF7 /* bitmapFontTest5.fnt in Resources */ = {isa = PBXBuildFile; fileRef = D4AFE8E71977100000261299 /* bitmapFontTest5.fnt */; }; + 08F4AA7B1C6E9776004DAAF7 /* font-issue1343-hd.fnt in Resources */ = {isa = PBXBuildFile; fileRef = D4AFE8EB1977100000261299 /* font-issue1343-hd.fnt */; }; + 08F4AA7C1C6E9776004DAAF7 /* fps_images-hd.png in Resources */ = {isa = PBXBuildFile; fileRef = D4AFE8F01977100000261299 /* fps_images-hd.png */; }; + 08F4AA7D1C6E9776004DAAF7 /* arial16.png in Resources */ = {isa = PBXBuildFile; fileRef = D4AFE8DF1977100000261299 /* arial16.png */; }; + 08F4AA7E1C6E9776004DAAF7 /* RobotoSlab-Bold.ttf in Resources */ = {isa = PBXBuildFile; fileRef = D4AFE9081977100000261299 /* RobotoSlab-Bold.ttf */; }; + 08F4AA7F1C6E9776004DAAF7 /* RobotoSlab-Thin.ttf in Resources */ = {isa = PBXBuildFile; fileRef = D4AFE90B1977100000261299 /* RobotoSlab-Thin.ttf */; }; + 08F4AA801C6E9776004DAAF7 /* bitmapFontTest3.png in Resources */ = {isa = PBXBuildFile; fileRef = D4AFE8E41977100000261299 /* bitmapFontTest3.png */; }; + 08F4AA811C6E9776004DAAF7 /* RobotoSlab-Light.ttf in Resources */ = {isa = PBXBuildFile; fileRef = D4AFE9091977100000261299 /* RobotoSlab-Light.ttf */; }; + 08F4AA821C6E9776004DAAF7 /* Schwarzwald Regular.ttf in Resources */ = {isa = PBXBuildFile; fileRef = D4AFE90C1977100000261299 /* Schwarzwald Regular.ttf */; }; + 08F4AA831C6E9776004DAAF7 /* larabie-16-hd.png in Resources */ = {isa = PBXBuildFile; fileRef = D4AFE9001977100000261299 /* larabie-16-hd.png */; }; + 08F4AA841C6E9776004DAAF7 /* futura-48.fnt in Resources */ = {isa = PBXBuildFile; fileRef = D4AFE8F51977100000261299 /* futura-48.fnt */; }; + 08F4AA851C6E9776004DAAF7 /* Resources-shared in Resources */ = {isa = PBXBuildFile; fileRef = B7C6237517EA695100928F91 /* Resources-shared */; }; + 08F4AA861C6E9776004DAAF7 /* tuffy_bold_italic-charmap-hd.plist in Resources */ = {isa = PBXBuildFile; fileRef = D4AFE90E1977100000261299 /* tuffy_bold_italic-charmap-hd.plist */; }; + 08F4AA871C6E9776004DAAF7 /* konqa32.png in Resources */ = {isa = PBXBuildFile; fileRef = D4AFE8FE1977100000261299 /* konqa32.png */; }; + 08F4AA881C6E9776004DAAF7 /* helvetica-32.fnt in Resources */ = {isa = PBXBuildFile; fileRef = D4AFE8F91977100000261299 /* helvetica-32.fnt */; }; + 08F4AA891C6E9776004DAAF7 /* arial-unicode-26.png in Resources */ = {isa = PBXBuildFile; fileRef = D4AFE8DD1977100000261299 /* arial-unicode-26.png */; }; + 08F4AA8A1C6E9776004DAAF7 /* Icon-Small@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = B7E2620917E7D34D007067F0 /* Icon-Small@2x.png */; }; + 08F4AA8B1C6E9776004DAAF7 /* Scissor Cuts.ttf in Resources */ = {isa = PBXBuildFile; fileRef = D4AFE90D1977100000261299 /* Scissor Cuts.ttf */; }; + 08F4AA8C1C6E9776004DAAF7 /* MetalShaders in Resources */ = {isa = PBXBuildFile; fileRef = D3E1842A19E861FC00A08B01 /* MetalShaders */; }; + 08F4AA8D1C6E9776004DAAF7 /* bitmapFontTest.png in Resources */ = {isa = PBXBuildFile; fileRef = D4AFE8E11977100000261299 /* bitmapFontTest.png */; }; + 08F4AA8E1C6E9776004DAAF7 /* boundsTestFont.png in Resources */ = {isa = PBXBuildFile; fileRef = D4AFE8EA1977100000261299 /* boundsTestFont.png */; }; + 08F4AA8F1C6E9776004DAAF7 /* tuffy_bold_italic-charmap.plist in Resources */ = {isa = PBXBuildFile; fileRef = D4AFE90F1977100000261299 /* tuffy_bold_italic-charmap.plist */; }; + 08F4AA901C6E9776004DAAF7 /* fps_images.GlyphProject in Resources */ = {isa = PBXBuildFile; fileRef = D4AFE8F21977100000261299 /* fps_images.GlyphProject */; }; + 08F4AA911C6E9776004DAAF7 /* Abberancy.ttf in Resources */ = {isa = PBXBuildFile; fileRef = D4AFE8D91977100000261299 /* Abberancy.ttf */; }; + 08F4AA921C6E9776004DAAF7 /* Icon.png in Resources */ = {isa = PBXBuildFile; fileRef = B7E2620A17E7D34D007067F0 /* Icon.png */; }; + 08F4AA931C6E9776004DAAF7 /* bitmapFontTest4.fnt in Resources */ = {isa = PBXBuildFile; fileRef = D4AFE8E51977100000261299 /* bitmapFontTest4.fnt */; }; + 08F4AA941C6E9776004DAAF7 /* west_england-64.png in Resources */ = {isa = PBXBuildFile; fileRef = D4AFE9121977100000261299 /* west_england-64.png */; }; + 08F4AA951C6E9776004DAAF7 /* arial16.fnt in Resources */ = {isa = PBXBuildFile; fileRef = D4AFE8DE1977100000261299 /* arial16.fnt */; }; + 08F4AA961C6E9776004DAAF7 /* west_england-64.fnt in Resources */ = {isa = PBXBuildFile; fileRef = D4AFE9111977100000261299 /* west_england-64.fnt */; }; + 08F4AA971C6E9776004DAAF7 /* konqa32.fnt in Resources */ = {isa = PBXBuildFile; fileRef = D4AFE8FD1977100000261299 /* konqa32.fnt */; }; + 08F4AA981C6E9776004DAAF7 /* Music in Resources */ = {isa = PBXBuildFile; fileRef = D2D59896198747DE00BDAF25 /* Music */; }; + 08F4AA991C6E9776004DAAF7 /* markerFelt.png in Resources */ = {isa = PBXBuildFile; fileRef = D4AFE9061977100000261299 /* markerFelt.png */; }; + 08F4AA9A1C6E9776004DAAF7 /* geneva-32.fnt in Resources */ = {isa = PBXBuildFile; fileRef = D4AFE8F81977100000261299 /* geneva-32.fnt */; }; + 08F4AA9B1C6E9776004DAAF7 /* Icon@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = B7E2620B17E7D34D007067F0 /* Icon@2x.png */; }; + 08F4AA9C1C6E9776004DAAF7 /* fps_images-ipadhd.png in Resources */ = {isa = PBXBuildFile; fileRef = D4AFE8F11977100000261299 /* fps_images-ipadhd.png */; }; + 08F4AA9E1C6E9776004DAAF7 /* tuffy_bold_italic-charmap.png in Resources */ = {isa = PBXBuildFile; fileRef = D4AFE9101977100000261299 /* tuffy_bold_italic-charmap.png */; }; + 08F4AA9F1C6E9776004DAAF7 /* fps_images-hd.plist in Resources */ = {isa = PBXBuildFile; fileRef = D4AFE8EF1977100000261299 /* fps_images-hd.plist */; }; + 08F4AAA01C6E9776004DAAF7 /* fps_images.plist in Resources */ = {isa = PBXBuildFile; fileRef = D4AFE8F31977100000261299 /* fps_images.plist */; }; + 08F4AAA11C6E9776004DAAF7 /* arial-unicode-26.GlyphProject in Resources */ = {isa = PBXBuildFile; fileRef = D4AFE8DC1977100000261299 /* arial-unicode-26.GlyphProject */; }; + 08F4AAA21C6E9776004DAAF7 /* markerFelt.fnt in Resources */ = {isa = PBXBuildFile; fileRef = D4AFE9051977100000261299 /* markerFelt.fnt */; }; + 08F4AAA31C6E9776004DAAF7 /* boundsTestFont.fnt in Resources */ = {isa = PBXBuildFile; fileRef = D4AFE8E91977100000261299 /* boundsTestFont.fnt */; }; + 08F4AAA41C6E9776004DAAF7 /* larabie-16.png in Resources */ = {isa = PBXBuildFile; fileRef = D4AFE9021977100000261299 /* larabie-16.png */; }; + 08F4AAA51C6E9776004DAAF7 /* iTunesArtwork in Resources */ = {isa = PBXBuildFile; fileRef = B7E2620D17E7D34D007067F0 /* iTunesArtwork */; }; + 08F4AAA61C6E9776004DAAF7 /* fps_images.png in Resources */ = {isa = PBXBuildFile; fileRef = D4AFE8F41977100000261299 /* fps_images.png */; }; + 08F4AB6B1C6E98D3004DAAF7 /* libcocos2d-tvos.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 08F4AB6A1C6E98CD004DAAF7 /* libcocos2d-tvos.a */; }; 0E28FE1A197FCE4500F78989 /* CCCacheTest.m in Sources */ = {isa = PBXBuildFile; fileRef = 0E28FE19197FCE4500F78989 /* CCCacheTest.m */; }; 75556A04185636F100ED1B0F /* XCTest.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 75556A03185636F100ED1B0F /* XCTest.framework */; }; 75556A05185636F100ED1B0F /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B7E2605717E7D278007067F0 /* Foundation.framework */; }; @@ -159,7 +432,6 @@ D3763D3F19E734C5006C050D /* CCSchedulerTest.m in Sources */ = {isa = PBXBuildFile; fileRef = D3C9C866188078B900C58900 /* CCSchedulerTest.m */; }; D3763D4019E734C5006C050D /* CCTableViewTest.m in Sources */ = {isa = PBXBuildFile; fileRef = B7C6238B17ECDF6A00928F91 /* CCTableViewTest.m */; }; D3763D4119E734C5006C050D /* CCTransitionTest.m in Sources */ = {isa = PBXBuildFile; fileRef = B70AFC2F180F2D7400516435 /* CCTransitionTest.m */; }; - D3763D4219E734C5006C050D /* CCResponderTest.m in Sources */ = {isa = PBXBuildFile; fileRef = B772F69E1811C8D9005C069B /* CCResponderTest.m */; }; D3763D4319E734C5006C050D /* CCSprite9SliceTest.m in Sources */ = {isa = PBXBuildFile; fileRef = B7EE69801818760700B983FE /* CCSprite9SliceTest.m */; }; D3763D4419E734C5006C050D /* CCTextFieldTest.m in Sources */ = {isa = PBXBuildFile; fileRef = B7EE697818186D5200B983FE /* CCTextFieldTest.m */; }; D3763D4519E734C5006C050D /* CCLayoutTest.m in Sources */ = {isa = PBXBuildFile; fileRef = B7EE69CE1819D82300B983FE /* CCLayoutTest.m */; }; @@ -175,7 +447,6 @@ D3763D4F19E734C5006C050D /* ColorTest.m in Sources */ = {isa = PBXBuildFile; fileRef = 7587BDB6185A64AD00EEEFDE /* ColorTest.m */; }; D3763D5019E734C5006C050D /* CCBMFontTest.m in Sources */ = {isa = PBXBuildFile; fileRef = D3B2A7E4187DD60B00406C5A /* CCBMFontTest.m */; }; D3763D5119E734C5006C050D /* VertexZTest.m in Sources */ = {isa = PBXBuildFile; fileRef = A6167B92189A7D4D0044D391 /* VertexZTest.m */; }; - D3763D5219E734C5006C050D /* PositioningTest.m in Sources */ = {isa = PBXBuildFile; fileRef = A664A4EE18A3D9B8006184B8 /* PositioningTest.m */; }; D3763D5619E73513006C050D /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = D3763D5519E73513006C050D /* AppDelegate.m */; }; D3763D5819E7352F006C050D /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = D3763D5719E7352F006C050D /* main.m */; }; D3763DD919E735CB006C050D /* libcocos2d-mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = D3763BBF19E72F85006C050D /* libcocos2d-mac.a */; }; @@ -263,6 +534,20 @@ /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ + 08F4A9F61C6E9776004DAAF7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = D3763BB019E72F85006C050D /* cocos2d.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = 5018F24C0DFDEAC400C013A5; + remoteInfo = "cocos2d-ios"; + }; + 08F4AB691C6E98CD004DAAF7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = D3763BB019E72F85006C050D /* cocos2d.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 08F4AB671C6E98A1004DAAF7; + remoteInfo = "cocos2d-tvos"; + }; 0E1D2C9B1B53AA6A00EB2D29 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = D3763BB019E72F85006C050D /* cocos2d.xcodeproj */; @@ -284,13 +569,6 @@ remoteGlobalIDString = 5018F24D0DFDEAC400C013A5; remoteInfo = "cocos2d-ios"; }; - D3763BBA19E72F85006C050D /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = D3763BB019E72F85006C050D /* cocos2d.xcodeproj */; - proxyType = 2; - remoteGlobalIDString = D2FEB74F194F6C9E00FC0574; - remoteInfo = cocos2dAndroid; - }; D3763BBE19E72F85006C050D /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = D3763BB019E72F85006C050D /* cocos2d.xcodeproj */; @@ -315,6 +593,137 @@ /* End PBXContainerItemProxy section */ /* Begin PBXFileReference section */ + 084782001C66669300C3817B /* CCTiledMap.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CCTiledMap.h; path = "cocos2d-ext/TileMaps/CCTiledMap.h"; sourceTree = SOURCE_ROOT; }; + 084782011C66669300C3817B /* CCTiledMap.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = CCTiledMap.m; path = "cocos2d-ext/TileMaps/CCTiledMap.m"; sourceTree = SOURCE_ROOT; }; + 084782021C66669300C3817B /* CCTiledMapLayer_Private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CCTiledMapLayer_Private.h; path = "cocos2d-ext/TileMaps/CCTiledMapLayer_Private.h"; sourceTree = SOURCE_ROOT; }; + 084782031C66669300C3817B /* CCTiledMapLayer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CCTiledMapLayer.h; path = "cocos2d-ext/TileMaps/CCTiledMapLayer.h"; sourceTree = SOURCE_ROOT; }; + 084782041C66669300C3817B /* CCTiledMapLayer.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = CCTiledMapLayer.m; path = "cocos2d-ext/TileMaps/CCTiledMapLayer.m"; sourceTree = SOURCE_ROOT; }; + 084782051C66669300C3817B /* CCTiledMapObjectGroup.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CCTiledMapObjectGroup.h; path = "cocos2d-ext/TileMaps/CCTiledMapObjectGroup.h"; sourceTree = SOURCE_ROOT; }; + 084782061C66669300C3817B /* CCTiledMapObjectGroup.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = CCTiledMapObjectGroup.m; path = "cocos2d-ext/TileMaps/CCTiledMapObjectGroup.m"; sourceTree = SOURCE_ROOT; }; + 084782071C66669300C3817B /* CCTMXXMLParser.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CCTMXXMLParser.h; path = "cocos2d-ext/TileMaps/CCTMXXMLParser.h"; sourceTree = SOURCE_ROOT; }; + 084782081C66669300C3817B /* CCTMXXMLParser.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = CCTMXXMLParser.m; path = "cocos2d-ext/TileMaps/CCTMXXMLParser.m"; sourceTree = SOURCE_ROOT; }; + 084782171C6667B000C3817B /* CCTileMaps.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CCTileMaps.h; path = "cocos2d-ext/TileMaps/CCTileMaps.h"; sourceTree = SOURCE_ROOT; }; + 084B94FD1C6BA116003A580D /* CCActionAudio.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCActionAudio.h; sourceTree = ""; }; + 084B94FE1C6BA116003A580D /* CCActionAudio.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCActionAudio.m; sourceTree = ""; }; + 084B95031C6BA1DD003A580D /* OALAction+Private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "OALAction+Private.h"; sourceTree = ""; }; + 084B95041C6BA1DD003A580D /* OALAction.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OALAction.h; sourceTree = ""; }; + 084B95051C6BA1DD003A580D /* OALAction.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = OALAction.m; sourceTree = ""; }; + 084B95061C6BA1DD003A580D /* OALActionManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OALActionManager.h; sourceTree = ""; }; + 084B95071C6BA1DD003A580D /* OALActionManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = OALActionManager.m; sourceTree = ""; }; + 084B95081C6BA1DD003A580D /* OALAudioActions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OALAudioActions.h; sourceTree = ""; }; + 084B95091C6BA1DD003A580D /* OALAudioActions.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = OALAudioActions.m; sourceTree = ""; }; + 084B950A1C6BA1DD003A580D /* OALUtilityActions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OALUtilityActions.h; sourceTree = ""; }; + 084B950B1C6BA1DD003A580D /* OALUtilityActions.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = OALUtilityActions.m; sourceTree = ""; }; + 084B950D1C6BA1DD003A580D /* OALAudioTrack.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OALAudioTrack.h; sourceTree = ""; }; + 084B950E1C6BA1DD003A580D /* OALAudioTrack.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = OALAudioTrack.m; sourceTree = ""; }; + 084B950F1C6BA1DD003A580D /* OALAudioTrackNotifications.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OALAudioTrackNotifications.h; sourceTree = ""; }; + 084B95101C6BA1DD003A580D /* OALAudioTrackNotifications.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = OALAudioTrackNotifications.m; sourceTree = ""; }; + 084B95111C6BA1DD003A580D /* OALAudioTracks.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OALAudioTracks.h; sourceTree = ""; }; + 084B95121C6BA1DD003A580D /* OALAudioTracks.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = OALAudioTracks.m; sourceTree = ""; }; + 084B95131C6BA1DD003A580D /* OALSimpleAudio.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OALSimpleAudio.h; sourceTree = ""; }; + 084B95141C6BA1DD003A580D /* OALSimpleAudio.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = OALSimpleAudio.m; sourceTree = ""; }; + 084B95151C6BA1DD003A580D /* ObjectAL.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ObjectAL.h; sourceTree = ""; }; + 084B95161C6BA1DD003A580D /* ObjectALConfig.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ObjectALConfig.h; sourceTree = ""; }; + 084B95181C6BA1DD003A580D /* ALBuffer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ALBuffer.h; sourceTree = ""; }; + 084B95191C6BA1DD003A580D /* ALBuffer.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ALBuffer.m; sourceTree = ""; }; + 084B951A1C6BA1DD003A580D /* ALCaptureDevice.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ALCaptureDevice.h; sourceTree = ""; }; + 084B951B1C6BA1DD003A580D /* ALCaptureDevice.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ALCaptureDevice.m; sourceTree = ""; }; + 084B951C1C6BA1DD003A580D /* ALChannelSource.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ALChannelSource.h; sourceTree = ""; }; + 084B951D1C6BA1DD003A580D /* ALChannelSource.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ALChannelSource.m; sourceTree = ""; }; + 084B951E1C6BA1DD003A580D /* ALContext.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ALContext.h; sourceTree = ""; }; + 084B951F1C6BA1DD003A580D /* ALContext.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ALContext.m; sourceTree = ""; }; + 084B95201C6BA1DD003A580D /* ALDevice.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ALDevice.h; sourceTree = ""; }; + 084B95211C6BA1DD003A580D /* ALDevice.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ALDevice.m; sourceTree = ""; }; + 084B95221C6BA1DD003A580D /* ALListener.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ALListener.h; sourceTree = ""; }; + 084B95231C6BA1DD003A580D /* ALListener.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ALListener.m; sourceTree = ""; }; + 084B95241C6BA1DD003A580D /* ALSoundSource.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ALSoundSource.h; sourceTree = ""; }; + 084B95251C6BA1DD003A580D /* ALSoundSourcePool.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ALSoundSourcePool.h; sourceTree = ""; }; + 084B95261C6BA1DD003A580D /* ALSoundSourcePool.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ALSoundSourcePool.m; sourceTree = ""; }; + 084B95271C6BA1DD003A580D /* ALSource.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ALSource.h; sourceTree = ""; }; + 084B95281C6BA1DD003A580D /* ALSource.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ALSource.m; sourceTree = ""; }; + 084B95291C6BA1DD003A580D /* ALTypes.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ALTypes.h; sourceTree = ""; }; + 084B952A1C6BA1DD003A580D /* ALWrapper.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ALWrapper.h; sourceTree = ""; }; + 084B952B1C6BA1DD003A580D /* ALWrapper.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ALWrapper.m; sourceTree = ""; }; + 084B952C1C6BA1DD003A580D /* OpenALManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OpenALManager.h; sourceTree = ""; }; + 084B952D1C6BA1DD003A580D /* OpenALManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = OpenALManager.m; sourceTree = ""; }; + 084B952F1C6BA1DD003A580D /* OALAudioSession.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OALAudioSession.h; sourceTree = ""; }; + 084B95301C6BA1DD003A580D /* OALAudioSession.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = OALAudioSession.m; sourceTree = ""; }; + 084B95311C6BA1DD003A580D /* OALSuspendHandler.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OALSuspendHandler.h; sourceTree = ""; }; + 084B95321C6BA1DD003A580D /* OALSuspendHandler.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = OALSuspendHandler.m; sourceTree = ""; }; + 084B95341C6BA1DD003A580D /* ARCSafe_MemMgmt.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ARCSafe_MemMgmt.h; sourceTree = ""; }; + 084B95351C6BA1DD003A580D /* IOSVersion.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = IOSVersion.h; sourceTree = ""; }; + 084B95361C6BA1DD003A580D /* IOSVersion.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = IOSVersion.m; sourceTree = ""; }; + 084B95371C6BA1DD003A580D /* mach_timing.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = mach_timing.c; sourceTree = ""; }; + 084B95381C6BA1DD003A580D /* mach_timing.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = mach_timing.h; sourceTree = ""; }; + 084B95391C6BA1DD003A580D /* NSMutableArray+WeakReferences.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSMutableArray+WeakReferences.h"; sourceTree = ""; }; + 084B953A1C6BA1DD003A580D /* NSMutableArray+WeakReferences.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSMutableArray+WeakReferences.m"; sourceTree = ""; }; + 084B953B1C6BA1DD003A580D /* NSMutableDictionary+WeakReferences.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSMutableDictionary+WeakReferences.h"; sourceTree = ""; }; + 084B953C1C6BA1DD003A580D /* NSMutableDictionary+WeakReferences.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSMutableDictionary+WeakReferences.m"; sourceTree = ""; }; + 084B953D1C6BA1DD003A580D /* OALAudioFile.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OALAudioFile.h; sourceTree = ""; }; + 084B953E1C6BA1DD003A580D /* OALAudioFile.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = OALAudioFile.m; sourceTree = ""; }; + 084B953F1C6BA1DD003A580D /* OALNotifications.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OALNotifications.h; sourceTree = ""; }; + 084B95401C6BA1DD003A580D /* OALTools.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OALTools.h; sourceTree = ""; }; + 084B95411C6BA1DD003A580D /* OALTools.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = OALTools.m; sourceTree = ""; }; + 084B95421C6BA1DD003A580D /* ObjectALMacros.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ObjectALMacros.h; sourceTree = ""; }; + 084B95431C6BA1DD003A580D /* SynthesizeSingleton.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SynthesizeSingleton.h; sourceTree = ""; }; + 084B957A1C6BA47B003A580D /* CCOAL.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CCOAL.h; sourceTree = ""; }; + 089949621C67F10A00ECC92C /* CCMotionStreak.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCMotionStreak.h; sourceTree = ""; }; + 089949631C67F10A00ECC92C /* CCMotionStreak.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCMotionStreak.m; sourceTree = ""; }; + 0899496A1C67F1BE00ECC92C /* CCClippingNode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCClippingNode.h; sourceTree = ""; }; + 0899496B1C67F1BE00ECC92C /* CCClippingNode.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCClippingNode.m; sourceTree = ""; }; + 089949701C67F2D600ECC92C /* CCParticleBatchNode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCParticleBatchNode.h; sourceTree = ""; }; + 089949711C67F2D600ECC92C /* CCParticleBatchNode.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCParticleBatchNode.m; sourceTree = ""; }; + 089949721C67F2D600ECC92C /* CCParticleExamples.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCParticleExamples.h; sourceTree = ""; }; + 089949731C67F2D600ECC92C /* CCParticleExamples.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCParticleExamples.m; sourceTree = ""; }; + 089949741C67F2D600ECC92C /* CCParticleSystem.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCParticleSystem.h; sourceTree = ""; }; + 089949751C67F2D600ECC92C /* CCParticleSystem.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCParticleSystem.m; sourceTree = ""; }; + 089949761C67F2D600ECC92C /* CCParticleSystem_Private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCParticleSystem_Private.h; sourceTree = ""; }; + 089949771C67F2D600ECC92C /* CCParticleSystemBase.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCParticleSystemBase.h; sourceTree = ""; }; + 089949781C67F2D600ECC92C /* CCParticleSystemBase.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCParticleSystemBase.m; sourceTree = ""; }; + 089949791C67F2D600ECC92C /* CCParticleSystemBase_Private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCParticleSystemBase_Private.h; sourceTree = ""; }; + 089949861C67F2E400ECC92C /* CCParticles.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CCParticles.h; sourceTree = ""; }; + 089949881C67F40000ECC92C /* CCPackage.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCPackage.h; sourceTree = ""; }; + 089949891C67F40000ECC92C /* CCPackage.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCPackage.m; sourceTree = ""; }; + 0899498A1C67F40000ECC92C /* CCPackage_private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCPackage_private.h; sourceTree = ""; }; + 0899498B1C67F40000ECC92C /* CCPackageCocos2dEnabler.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCPackageCocos2dEnabler.h; sourceTree = ""; }; + 0899498C1C67F40000ECC92C /* CCPackageCocos2dEnabler.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCPackageCocos2dEnabler.m; sourceTree = ""; }; + 0899498D1C67F40000ECC92C /* CCPackageConstants.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCPackageConstants.h; sourceTree = ""; }; + 0899498E1C67F40000ECC92C /* CCPackageConstants.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCPackageConstants.m; sourceTree = ""; }; + 0899498F1C67F40000ECC92C /* CCPackageDownload.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCPackageDownload.h; sourceTree = ""; }; + 089949901C67F40000ECC92C /* CCPackageDownload.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCPackageDownload.m; sourceTree = ""; }; + 089949911C67F40000ECC92C /* CCPackageDownloadDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCPackageDownloadDelegate.h; sourceTree = ""; }; + 089949921C67F40000ECC92C /* CCPackageDownloadManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCPackageDownloadManager.h; sourceTree = ""; }; + 089949931C67F40000ECC92C /* CCPackageDownloadManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCPackageDownloadManager.m; sourceTree = ""; }; + 089949941C67F40000ECC92C /* CCPackageDownloadManagerDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCPackageDownloadManagerDelegate.h; sourceTree = ""; }; + 089949951C67F40000ECC92C /* CCPackageHelper.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCPackageHelper.h; sourceTree = ""; }; + 089949961C67F40000ECC92C /* CCPackageHelper.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCPackageHelper.m; sourceTree = ""; }; + 089949971C67F40000ECC92C /* CCPackageInstaller.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCPackageInstaller.h; sourceTree = ""; }; + 089949981C67F40000ECC92C /* CCPackageInstaller.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCPackageInstaller.m; sourceTree = ""; }; + 089949991C67F40000ECC92C /* CCPackageManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCPackageManager.h; sourceTree = ""; }; + 0899499A1C67F40000ECC92C /* CCPackageManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCPackageManager.m; sourceTree = ""; }; + 0899499B1C67F40000ECC92C /* CCPackageManager_private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCPackageManager_private.h; sourceTree = ""; }; + 0899499C1C67F40000ECC92C /* CCPackageManagerDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCPackageManagerDelegate.h; sourceTree = ""; }; + 0899499D1C67F40000ECC92C /* CCPackageTypes.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCPackageTypes.h; sourceTree = ""; }; + 0899499E1C67F40000ECC92C /* CCPackageUnzipper.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCPackageUnzipper.h; sourceTree = ""; }; + 0899499F1C67F40000ECC92C /* CCPackageUnzipper.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCPackageUnzipper.m; sourceTree = ""; }; + 089949A01C67F40000ECC92C /* CCPackageUnzipperDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCPackageUnzipperDelegate.h; sourceTree = ""; }; + 089949BC1C67F4CF00ECC92C /* libSSZipArchive.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libSSZipArchive.a; path = "../../../../../Library/Developer/Xcode/DerivedData/cocos2d-tests-dtybanozgbajtqaufdnbcvyhspig/Build/Products/Debug-iphoneos/libSSZipArchive.a"; sourceTree = ""; }; + 089949BE1C67F59F00ECC92C /* libSSZipArchiveMac.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libSSZipArchiveMac.a; path = external/SSZipArchive/build/Debug/libSSZipArchiveMac.a; sourceTree = ""; }; + 089949E11C67F97D00ECC92C /* crypt.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = crypt.h; sourceTree = ""; }; + 089949E21C67F97D00ECC92C /* ioapi.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = ioapi.c; sourceTree = ""; }; + 089949E31C67F97D00ECC92C /* ioapi.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ioapi.h; sourceTree = ""; }; + 089949E41C67F97D00ECC92C /* mztools.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = mztools.c; sourceTree = ""; }; + 089949E51C67F97D00ECC92C /* mztools.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = mztools.h; sourceTree = ""; }; + 089949E61C67F97D00ECC92C /* unzip.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = unzip.c; sourceTree = ""; }; + 089949E71C67F97D00ECC92C /* unzip.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = unzip.h; sourceTree = ""; }; + 089949E81C67F97D00ECC92C /* zip.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = zip.c; sourceTree = ""; }; + 089949E91C67F97D00ECC92C /* zip.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = zip.h; sourceTree = ""; }; + 089949EA1C67F97D00ECC92C /* SSZipArchive.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SSZipArchive.h; path = external/SSZipArchive/SSZipArchive/SSZipArchive.h; sourceTree = SOURCE_ROOT; }; + 089949EB1C67F97D00ECC92C /* SSZipArchive.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = SSZipArchive.m; path = external/SSZipArchive/SSZipArchive/SSZipArchive.m; sourceTree = SOURCE_ROOT; }; + 089949FC1C67FAB000ECC92C /* CCParallaxNode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCParallaxNode.h; sourceTree = ""; }; + 089949FD1C67FAB000ECC92C /* CCParallaxNode.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCParallaxNode.m; sourceTree = ""; }; + 08F4AAAA1C6E9776004DAAF7 /* cocos2d-tests-tvos.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "cocos2d-tests-tvos.app"; sourceTree = BUILT_PRODUCTS_DIR; }; + 08F4AAAD1C6E9776004DAAF7 /* cocos2d-tests-ios copy-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; name = "cocos2d-tests-ios copy-Info.plist"; path = "/Users/s1ddok/Documents/projects/cc3.5/cocos2d-objc/cocos2d-tests-ios copy-Info.plist"; sourceTree = ""; }; 0E28FE19197FCE4500F78989 /* CCCacheTest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = CCCacheTest.m; path = "cocos2d-ui-tests/tests/CCCacheTest.m"; sourceTree = SOURCE_ROOT; }; 755569E31856361100ED1B0F /* CCFileUtilTests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCFileUtilTests.m; sourceTree = ""; }; 755569E41856361100ED1B0F /* CCNodeTests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCNodeTests.m; sourceTree = ""; }; @@ -486,6 +895,25 @@ /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ + 08F4AA491C6E9776004DAAF7 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 08F4AB6B1C6E98D3004DAAF7 /* libcocos2d-tvos.a in Frameworks */, + 08F4AA4A1C6E9776004DAAF7 /* Metal.framework in Frameworks */, + 08F4AA4C1C6E9776004DAAF7 /* GLKit.framework in Frameworks */, + 08F4AA4D1C6E9776004DAAF7 /* OpenGLES.framework in Frameworks */, + 08F4AA4E1C6E9776004DAAF7 /* UIKit.framework in Frameworks */, + 08F4AA4F1C6E9776004DAAF7 /* QuartzCore.framework in Frameworks */, + 08F4AA501C6E9776004DAAF7 /* OpenAL.framework in Frameworks */, + 08F4AA511C6E9776004DAAF7 /* AudioToolbox.framework in Frameworks */, + 08F4AA521C6E9776004DAAF7 /* AVFoundation.framework in Frameworks */, + 08F4AA531C6E9776004DAAF7 /* Foundation.framework in Frameworks */, + 08F4AA541C6E9776004DAAF7 /* CoreGraphics.framework in Frameworks */, + 08F4AA551C6E9776004DAAF7 /* CoreText.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; 755569FF185636F100ED1B0F /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; @@ -535,6 +963,260 @@ /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ + 084781FF1C66666B00C3817B /* cocos2d-ext */ = { + isa = PBXGroup; + children = ( + 084B94FA1C6BA106003A580D /* CCObjectAL */, + 089949FB1C67FAB000ECC92C /* CCParallaxNode */, + 089949871C67F40000ECC92C /* CCPackages */, + 0899496F1C67F2D600ECC92C /* CCParticles */, + 089949691C67F1BE00ECC92C /* CCClippingNode */, + 089949611C67F10A00ECC92C /* CCMotionStreak */, + 084782151C66669A00C3817B /* TileMaps */, + ); + name = "cocos2d-ext"; + sourceTree = ""; + }; + 084782151C66669A00C3817B /* TileMaps */ = { + isa = PBXGroup; + children = ( + 084782171C6667B000C3817B /* CCTileMaps.h */, + 084782001C66669300C3817B /* CCTiledMap.h */, + 084782011C66669300C3817B /* CCTiledMap.m */, + 084782021C66669300C3817B /* CCTiledMapLayer_Private.h */, + 084782031C66669300C3817B /* CCTiledMapLayer.h */, + 084782041C66669300C3817B /* CCTiledMapLayer.m */, + 084782051C66669300C3817B /* CCTiledMapObjectGroup.h */, + 084782061C66669300C3817B /* CCTiledMapObjectGroup.m */, + 084782071C66669300C3817B /* CCTMXXMLParser.h */, + 084782081C66669300C3817B /* CCTMXXMLParser.m */, + ); + name = TileMaps; + sourceTree = ""; + }; + 084B94FA1C6BA106003A580D /* CCObjectAL */ = { + isa = PBXGroup; + children = ( + 084B95011C6BA1DD003A580D /* ObjectAL */, + 084B957A1C6BA47B003A580D /* CCOAL.h */, + 084B94FD1C6BA116003A580D /* CCActionAudio.h */, + 084B94FE1C6BA116003A580D /* CCActionAudio.m */, + ); + name = CCObjectAL; + path = "cocos2d-ext/CCObjectAL"; + sourceTree = SOURCE_ROOT; + }; + 084B95011C6BA1DD003A580D /* ObjectAL */ = { + isa = PBXGroup; + children = ( + 084B95021C6BA1DD003A580D /* Actions */, + 084B950C1C6BA1DD003A580D /* AudioTrack */, + 084B95131C6BA1DD003A580D /* OALSimpleAudio.h */, + 084B95141C6BA1DD003A580D /* OALSimpleAudio.m */, + 084B95151C6BA1DD003A580D /* ObjectAL.h */, + 084B95161C6BA1DD003A580D /* ObjectALConfig.h */, + 084B95171C6BA1DD003A580D /* OpenAL */, + 084B952E1C6BA1DD003A580D /* Session */, + 084B95331C6BA1DD003A580D /* Support */, + ); + name = ObjectAL; + path = external/ObjectAL/ObjectAL/ObjectAL; + sourceTree = SOURCE_ROOT; + }; + 084B95021C6BA1DD003A580D /* Actions */ = { + isa = PBXGroup; + children = ( + 084B95031C6BA1DD003A580D /* OALAction+Private.h */, + 084B95041C6BA1DD003A580D /* OALAction.h */, + 084B95051C6BA1DD003A580D /* OALAction.m */, + 084B95061C6BA1DD003A580D /* OALActionManager.h */, + 084B95071C6BA1DD003A580D /* OALActionManager.m */, + 084B95081C6BA1DD003A580D /* OALAudioActions.h */, + 084B95091C6BA1DD003A580D /* OALAudioActions.m */, + 084B950A1C6BA1DD003A580D /* OALUtilityActions.h */, + 084B950B1C6BA1DD003A580D /* OALUtilityActions.m */, + ); + path = Actions; + sourceTree = ""; + }; + 084B950C1C6BA1DD003A580D /* AudioTrack */ = { + isa = PBXGroup; + children = ( + 084B950D1C6BA1DD003A580D /* OALAudioTrack.h */, + 084B950E1C6BA1DD003A580D /* OALAudioTrack.m */, + 084B950F1C6BA1DD003A580D /* OALAudioTrackNotifications.h */, + 084B95101C6BA1DD003A580D /* OALAudioTrackNotifications.m */, + 084B95111C6BA1DD003A580D /* OALAudioTracks.h */, + 084B95121C6BA1DD003A580D /* OALAudioTracks.m */, + ); + path = AudioTrack; + sourceTree = ""; + }; + 084B95171C6BA1DD003A580D /* OpenAL */ = { + isa = PBXGroup; + children = ( + 084B95181C6BA1DD003A580D /* ALBuffer.h */, + 084B95191C6BA1DD003A580D /* ALBuffer.m */, + 084B951A1C6BA1DD003A580D /* ALCaptureDevice.h */, + 084B951B1C6BA1DD003A580D /* ALCaptureDevice.m */, + 084B951C1C6BA1DD003A580D /* ALChannelSource.h */, + 084B951D1C6BA1DD003A580D /* ALChannelSource.m */, + 084B951E1C6BA1DD003A580D /* ALContext.h */, + 084B951F1C6BA1DD003A580D /* ALContext.m */, + 084B95201C6BA1DD003A580D /* ALDevice.h */, + 084B95211C6BA1DD003A580D /* ALDevice.m */, + 084B95221C6BA1DD003A580D /* ALListener.h */, + 084B95231C6BA1DD003A580D /* ALListener.m */, + 084B95241C6BA1DD003A580D /* ALSoundSource.h */, + 084B95251C6BA1DD003A580D /* ALSoundSourcePool.h */, + 084B95261C6BA1DD003A580D /* ALSoundSourcePool.m */, + 084B95271C6BA1DD003A580D /* ALSource.h */, + 084B95281C6BA1DD003A580D /* ALSource.m */, + 084B95291C6BA1DD003A580D /* ALTypes.h */, + 084B952A1C6BA1DD003A580D /* ALWrapper.h */, + 084B952B1C6BA1DD003A580D /* ALWrapper.m */, + 084B952C1C6BA1DD003A580D /* OpenALManager.h */, + 084B952D1C6BA1DD003A580D /* OpenALManager.m */, + ); + path = OpenAL; + sourceTree = ""; + }; + 084B952E1C6BA1DD003A580D /* Session */ = { + isa = PBXGroup; + children = ( + 084B952F1C6BA1DD003A580D /* OALAudioSession.h */, + 084B95301C6BA1DD003A580D /* OALAudioSession.m */, + 084B95311C6BA1DD003A580D /* OALSuspendHandler.h */, + 084B95321C6BA1DD003A580D /* OALSuspendHandler.m */, + ); + path = Session; + sourceTree = ""; + }; + 084B95331C6BA1DD003A580D /* Support */ = { + isa = PBXGroup; + children = ( + 084B95341C6BA1DD003A580D /* ARCSafe_MemMgmt.h */, + 084B95351C6BA1DD003A580D /* IOSVersion.h */, + 084B95361C6BA1DD003A580D /* IOSVersion.m */, + 084B95371C6BA1DD003A580D /* mach_timing.c */, + 084B95381C6BA1DD003A580D /* mach_timing.h */, + 084B95391C6BA1DD003A580D /* NSMutableArray+WeakReferences.h */, + 084B953A1C6BA1DD003A580D /* NSMutableArray+WeakReferences.m */, + 084B953B1C6BA1DD003A580D /* NSMutableDictionary+WeakReferences.h */, + 084B953C1C6BA1DD003A580D /* NSMutableDictionary+WeakReferences.m */, + 084B953D1C6BA1DD003A580D /* OALAudioFile.h */, + 084B953E1C6BA1DD003A580D /* OALAudioFile.m */, + 084B953F1C6BA1DD003A580D /* OALNotifications.h */, + 084B95401C6BA1DD003A580D /* OALTools.h */, + 084B95411C6BA1DD003A580D /* OALTools.m */, + 084B95421C6BA1DD003A580D /* ObjectALMacros.h */, + 084B95431C6BA1DD003A580D /* SynthesizeSingleton.h */, + ); + path = Support; + sourceTree = ""; + }; + 089949611C67F10A00ECC92C /* CCMotionStreak */ = { + isa = PBXGroup; + children = ( + 089949621C67F10A00ECC92C /* CCMotionStreak.h */, + 089949631C67F10A00ECC92C /* CCMotionStreak.m */, + ); + name = CCMotionStreak; + path = "cocos2d-ext/CCMotionStreak"; + sourceTree = SOURCE_ROOT; + }; + 089949691C67F1BE00ECC92C /* CCClippingNode */ = { + isa = PBXGroup; + children = ( + 0899496A1C67F1BE00ECC92C /* CCClippingNode.h */, + 0899496B1C67F1BE00ECC92C /* CCClippingNode.m */, + ); + name = CCClippingNode; + path = "cocos2d-ext/CCClippingNode"; + sourceTree = SOURCE_ROOT; + }; + 0899496F1C67F2D600ECC92C /* CCParticles */ = { + isa = PBXGroup; + children = ( + 089949861C67F2E400ECC92C /* CCParticles.h */, + 089949701C67F2D600ECC92C /* CCParticleBatchNode.h */, + 089949711C67F2D600ECC92C /* CCParticleBatchNode.m */, + 089949721C67F2D600ECC92C /* CCParticleExamples.h */, + 089949731C67F2D600ECC92C /* CCParticleExamples.m */, + 089949741C67F2D600ECC92C /* CCParticleSystem.h */, + 089949751C67F2D600ECC92C /* CCParticleSystem.m */, + 089949761C67F2D600ECC92C /* CCParticleSystem_Private.h */, + 089949771C67F2D600ECC92C /* CCParticleSystemBase.h */, + 089949781C67F2D600ECC92C /* CCParticleSystemBase.m */, + 089949791C67F2D600ECC92C /* CCParticleSystemBase_Private.h */, + ); + name = CCParticles; + path = "cocos2d-ext/CCParticles"; + sourceTree = SOURCE_ROOT; + }; + 089949871C67F40000ECC92C /* CCPackages */ = { + isa = PBXGroup; + children = ( + 089949E01C67F97D00ECC92C /* minizip */, + 089949EA1C67F97D00ECC92C /* SSZipArchive.h */, + 089949EB1C67F97D00ECC92C /* SSZipArchive.m */, + 089949881C67F40000ECC92C /* CCPackage.h */, + 089949891C67F40000ECC92C /* CCPackage.m */, + 0899498A1C67F40000ECC92C /* CCPackage_private.h */, + 0899498B1C67F40000ECC92C /* CCPackageCocos2dEnabler.h */, + 0899498C1C67F40000ECC92C /* CCPackageCocos2dEnabler.m */, + 0899498D1C67F40000ECC92C /* CCPackageConstants.h */, + 0899498E1C67F40000ECC92C /* CCPackageConstants.m */, + 0899498F1C67F40000ECC92C /* CCPackageDownload.h */, + 089949901C67F40000ECC92C /* CCPackageDownload.m */, + 089949911C67F40000ECC92C /* CCPackageDownloadDelegate.h */, + 089949921C67F40000ECC92C /* CCPackageDownloadManager.h */, + 089949931C67F40000ECC92C /* CCPackageDownloadManager.m */, + 089949941C67F40000ECC92C /* CCPackageDownloadManagerDelegate.h */, + 089949951C67F40000ECC92C /* CCPackageHelper.h */, + 089949961C67F40000ECC92C /* CCPackageHelper.m */, + 089949971C67F40000ECC92C /* CCPackageInstaller.h */, + 089949981C67F40000ECC92C /* CCPackageInstaller.m */, + 089949991C67F40000ECC92C /* CCPackageManager.h */, + 0899499A1C67F40000ECC92C /* CCPackageManager.m */, + 0899499B1C67F40000ECC92C /* CCPackageManager_private.h */, + 0899499C1C67F40000ECC92C /* CCPackageManagerDelegate.h */, + 0899499D1C67F40000ECC92C /* CCPackageTypes.h */, + 0899499E1C67F40000ECC92C /* CCPackageUnzipper.h */, + 0899499F1C67F40000ECC92C /* CCPackageUnzipper.m */, + 089949A01C67F40000ECC92C /* CCPackageUnzipperDelegate.h */, + ); + name = CCPackages; + path = "cocos2d-ext/CCPackages"; + sourceTree = SOURCE_ROOT; + }; + 089949E01C67F97D00ECC92C /* minizip */ = { + isa = PBXGroup; + children = ( + 089949E11C67F97D00ECC92C /* crypt.h */, + 089949E21C67F97D00ECC92C /* ioapi.c */, + 089949E31C67F97D00ECC92C /* ioapi.h */, + 089949E41C67F97D00ECC92C /* mztools.c */, + 089949E51C67F97D00ECC92C /* mztools.h */, + 089949E61C67F97D00ECC92C /* unzip.c */, + 089949E71C67F97D00ECC92C /* unzip.h */, + 089949E81C67F97D00ECC92C /* zip.c */, + 089949E91C67F97D00ECC92C /* zip.h */, + ); + name = minizip; + path = external/SSZipArchive/SSZipArchive/minizip; + sourceTree = SOURCE_ROOT; + }; + 089949FB1C67FAB000ECC92C /* CCParallaxNode */ = { + isa = PBXGroup; + children = ( + 089949FC1C67FAB000ECC92C /* CCParallaxNode.h */, + 089949FD1C67FAB000ECC92C /* CCParallaxNode.m */, + ); + name = CCParallaxNode; + path = "cocos2d-ext/CCParallaxNode"; + sourceTree = SOURCE_ROOT; + }; 755569EC1856361100ED1B0F /* Supporting Files */ = { isa = PBXGroup; children = ( @@ -627,6 +1309,7 @@ D3763D9A19E7356C006C050D /* Resources-Mac */, B7E2604A17E7D278007067F0 /* Frameworks */, B7E2604917E7D278007067F0 /* Products */, + 08F4AAAD1C6E9776004DAAF7 /* cocos2d-tests-ios copy-Info.plist */, ); indentWidth = 4; sourceTree = ""; @@ -639,6 +1322,7 @@ B7E2604817E7D278007067F0 /* cocos2d-tests-ios.app */, 75556A02185636F100ED1B0F /* UnitTests.xctest */, D3763C5A19E73188006C050D /* cocos2d-tests-mac.app */, + 08F4AAAA1C6E9776004DAAF7 /* cocos2d-tests-tvos.app */, ); name = Products; sourceTree = ""; @@ -646,6 +1330,8 @@ B7E2604A17E7D278007067F0 /* Frameworks */ = { isa = PBXGroup; children = ( + 089949BE1C67F59F00ECC92C /* libSSZipArchiveMac.a */, + 089949BC1C67F4CF00ECC92C /* libSSZipArchive.a */, D3F52DE21A51FE2C00A18F54 /* Metal.framework */, D3763DDC19E73666006C050D /* AppKit.framework */, D3763DDA19E7364F006C050D /* OpenGL.framework */, @@ -671,8 +1357,8 @@ B7E2605F17E7D278007067F0 /* cocos2d-tests */ = { isa = PBXGroup; children = ( + 084781FF1C66666B00C3817B /* cocos2d-ext */, B7E2621E17E7D398007067F0 /* Testbed */, - B7E2621D17E7D38D007067F0 /* AppDelegate */, B71B087F17EA5B500082EBC0 /* Tests */, D3E1842A19E861FC00A08B01 /* MetalShaders */, B7E261EC17E7D27A007067F0 /* Platform/iOS */, @@ -714,13 +1400,6 @@ path = "cocos2d-ui-tests/ios/Resources"; sourceTree = SOURCE_ROOT; }; - B7E2621D17E7D38D007067F0 /* AppDelegate */ = { - isa = PBXGroup; - children = ( - ); - name = AppDelegate; - sourceTree = ""; - }; B7E2621E17E7D398007067F0 /* Testbed */ = { isa = PBXGroup; children = ( @@ -736,9 +1415,9 @@ isa = PBXGroup; children = ( D3763BB919E72F85006C050D /* libcocos2d.a */, - D3763BBB19E72F85006C050D /* libcocos2dAndroid.a */, D3763BBF19E72F85006C050D /* libcocos2d-mac.a */, 0E1D2C9C1B53AA6A00EB2D29 /* cocos2dMacFramework.framework */, + 08F4AB6A1C6E98CD004DAAF7 /* libcocos2d-tvos.a */, ); name = Products; sourceTree = ""; @@ -876,6 +1555,25 @@ /* End PBXGroup section */ /* Begin PBXNativeTarget section */ + 08F4A9F41C6E9776004DAAF7 /* cocos2d-tests-tvos */ = { + isa = PBXNativeTarget; + buildConfigurationList = 08F4AAA71C6E9776004DAAF7 /* Build configuration list for PBXNativeTarget "cocos2d-tests-tvos" */; + buildPhases = ( + 08F4A9F71C6E9776004DAAF7 /* Sources */, + 08F4AA491C6E9776004DAAF7 /* Frameworks */, + 08F4AA561C6E9776004DAAF7 /* Compile Metal Shaders */, + 08F4AA571C6E9776004DAAF7 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + 08F4A9F51C6E9776004DAAF7 /* PBXTargetDependency */, + ); + name = "cocos2d-tests-tvos"; + productName = "cocos2d-ui-tests-ios"; + productReference = 08F4AAAA1C6E9776004DAAF7 /* cocos2d-tests-tvos.app */; + productType = "com.apple.product-type.application"; + }; 75556A01185636F100ED1B0F /* UnitTests */ = { isa = PBXNativeTarget; buildConfigurationList = 75556A12185636F100ED1B0F /* Build configuration list for PBXNativeTarget "UnitTests" */; @@ -944,7 +1642,6 @@ TestTargetID = B7E2604717E7D278007067F0; }; B7E2604717E7D278007067F0 = { - DevelopmentTeam = 96LKF67VJA; SystemCapabilities = { com.apple.GameCenter = { enabled = 0; @@ -974,11 +1671,19 @@ B7E2604717E7D278007067F0 /* cocos2d-tests-ios */, 75556A01185636F100ED1B0F /* UnitTests */, D3763BD619E73188006C050D /* cocos2d-tests-mac */, + 08F4A9F41C6E9776004DAAF7 /* cocos2d-tests-tvos */, ); }; /* End PBXProject section */ /* Begin PBXReferenceProxy section */ + 08F4AB6A1C6E98CD004DAAF7 /* libcocos2d-tvos.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libcocos2d-tvos.a"; + remoteRef = 08F4AB691C6E98CD004DAAF7 /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; 0E1D2C9C1B53AA6A00EB2D29 /* cocos2dMacFramework.framework */ = { isa = PBXReferenceProxy; fileType = wrapper.framework; @@ -993,13 +1698,6 @@ remoteRef = D3763BB819E72F85006C050D /* PBXContainerItemProxy */; sourceTree = BUILT_PRODUCTS_DIR; }; - D3763BBB19E72F85006C050D /* libcocos2dAndroid.a */ = { - isa = PBXReferenceProxy; - fileType = archive.ar; - path = libcocos2dAndroid.a; - remoteRef = D3763BBA19E72F85006C050D /* PBXContainerItemProxy */; - sourceTree = BUILT_PRODUCTS_DIR; - }; D3763BBF19E72F85006C050D /* libcocos2d-mac.a */ = { isa = PBXReferenceProxy; fileType = archive.ar; @@ -1010,6 +1708,91 @@ /* End PBXReferenceProxy section */ /* Begin PBXResourcesBuildPhase section */ + 08F4AA571C6E9776004DAAF7 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 08F4AA581C6E9776004DAAF7 /* CCRendererSharedTypes.h in Resources */, + 08F4AA591C6E9776004DAAF7 /* bitmapFontTest.fnt in Resources */, + 08F4AA5A1C6E9776004DAAF7 /* bitmapFontTest5.png in Resources */, + 08F4AA5B1C6E9776004DAAF7 /* TileMaps in Resources */, + 08F4AA5C1C6E9776004DAAF7 /* Images in Resources */, + 08F4AA5D1C6E9776004DAAF7 /* Sounds in Resources */, + 08F4AA5E1C6E9776004DAAF7 /* bitmapFontTest4.png in Resources */, + 08F4AA5F1C6E9776004DAAF7 /* font-issue1343.png in Resources */, + 08F4AA601C6E9776004DAAF7 /* font-issue1343.fnt in Resources */, + 08F4AA611C6E9776004DAAF7 /* RobotoSlab-Regular.ttf in Resources */, + 08F4AA621C6E9776004DAAF7 /* Particles in Resources */, + 08F4AA631C6E9776004DAAF7 /* A Damn Mess.ttf in Resources */, + 08F4AA641C6E9776004DAAF7 /* Default-568h@2x.png in Resources */, + 08F4AA651C6E9776004DAAF7 /* helvetica-geneva-32.png in Resources */, + 08F4AA661C6E9776004DAAF7 /* bitmapFontTest2.fnt in Resources */, + 08F4AA671C6E9776004DAAF7 /* Default-Landscape~ipad.png in Resources */, + 08F4AA681C6E9776004DAAF7 /* Default.png in Resources */, + 08F4AA691C6E9776004DAAF7 /* Paint Boy.ttf in Resources */, + 08F4AA6A1C6E9776004DAAF7 /* ThisFontIsAbdFont.ttf in Resources */, + 08F4AA6B1C6E9776004DAAF7 /* Default@2x.png in Resources */, + 08F4AA6C1C6E9776004DAAF7 /* markerFelt-hd.png in Resources */, + 08F4AA6D1C6E9776004DAAF7 /* markerFelt-hd.fnt in Resources */, + 08F4AA6E1C6E9776004DAAF7 /* futura-48.png in Resources */, + 08F4AA6F1C6E9776004DAAF7 /* Icon-72.png in Resources */, + 08F4AA701C6E9776004DAAF7 /* font-issue1343-hd.png in Resources */, + 08F4AA711C6E9776004DAAF7 /* futura-48.GlyphProject in Resources */, + 08F4AA721C6E9776004DAAF7 /* Icon-Small-50.png in Resources */, + 08F4AA731C6E9776004DAAF7 /* konqa32-hd.png in Resources */, + 08F4AA741C6E9776004DAAF7 /* arial-unicode-26.fnt in Resources */, + 08F4AA751C6E9776004DAAF7 /* Icon-Small.png in Resources */, + 08F4AA761C6E9776004DAAF7 /* konqa32-hd.fnt in Resources */, + 08F4AA771C6E9776004DAAF7 /* larabie-16.plist in Resources */, + 08F4AA781C6E9776004DAAF7 /* larabie-16-hd.plist in Resources */, + 08F4AA791C6E9776004DAAF7 /* bitmapFontTest3.fnt in Resources */, + 08F4AA7A1C6E9776004DAAF7 /* bitmapFontTest5.fnt in Resources */, + 08F4AA7B1C6E9776004DAAF7 /* font-issue1343-hd.fnt in Resources */, + 08F4AA7C1C6E9776004DAAF7 /* fps_images-hd.png in Resources */, + 08F4AA7D1C6E9776004DAAF7 /* arial16.png in Resources */, + 08F4AA7E1C6E9776004DAAF7 /* RobotoSlab-Bold.ttf in Resources */, + 08F4AA7F1C6E9776004DAAF7 /* RobotoSlab-Thin.ttf in Resources */, + 08F4AA801C6E9776004DAAF7 /* bitmapFontTest3.png in Resources */, + 08F4AA811C6E9776004DAAF7 /* RobotoSlab-Light.ttf in Resources */, + 08F4AA821C6E9776004DAAF7 /* Schwarzwald Regular.ttf in Resources */, + 08F4AA831C6E9776004DAAF7 /* larabie-16-hd.png in Resources */, + 08F4AA841C6E9776004DAAF7 /* futura-48.fnt in Resources */, + 08F4AA851C6E9776004DAAF7 /* Resources-shared in Resources */, + 08F4AA861C6E9776004DAAF7 /* tuffy_bold_italic-charmap-hd.plist in Resources */, + 08F4AA871C6E9776004DAAF7 /* konqa32.png in Resources */, + 08F4AA881C6E9776004DAAF7 /* helvetica-32.fnt in Resources */, + 08F4AA891C6E9776004DAAF7 /* arial-unicode-26.png in Resources */, + 08F4AA8A1C6E9776004DAAF7 /* Icon-Small@2x.png in Resources */, + 08F4AA8B1C6E9776004DAAF7 /* Scissor Cuts.ttf in Resources */, + 08F4AA8C1C6E9776004DAAF7 /* MetalShaders in Resources */, + 08F4AA8D1C6E9776004DAAF7 /* bitmapFontTest.png in Resources */, + 08F4AA8E1C6E9776004DAAF7 /* boundsTestFont.png in Resources */, + 08F4AA8F1C6E9776004DAAF7 /* tuffy_bold_italic-charmap.plist in Resources */, + 08F4AA901C6E9776004DAAF7 /* fps_images.GlyphProject in Resources */, + 08F4AA911C6E9776004DAAF7 /* Abberancy.ttf in Resources */, + 08F4AA921C6E9776004DAAF7 /* Icon.png in Resources */, + 08F4AA931C6E9776004DAAF7 /* bitmapFontTest4.fnt in Resources */, + 08F4AA941C6E9776004DAAF7 /* west_england-64.png in Resources */, + 08F4AA951C6E9776004DAAF7 /* arial16.fnt in Resources */, + 08F4AA961C6E9776004DAAF7 /* west_england-64.fnt in Resources */, + 08F4AA971C6E9776004DAAF7 /* konqa32.fnt in Resources */, + 08F4AA981C6E9776004DAAF7 /* Music in Resources */, + 08F4AA991C6E9776004DAAF7 /* markerFelt.png in Resources */, + 08F4AA9A1C6E9776004DAAF7 /* geneva-32.fnt in Resources */, + 08F4AA9B1C6E9776004DAAF7 /* Icon@2x.png in Resources */, + 08F4AA9C1C6E9776004DAAF7 /* fps_images-ipadhd.png in Resources */, + 08F4AA9E1C6E9776004DAAF7 /* tuffy_bold_italic-charmap.png in Resources */, + 08F4AA9F1C6E9776004DAAF7 /* fps_images-hd.plist in Resources */, + 08F4AAA01C6E9776004DAAF7 /* fps_images.plist in Resources */, + 08F4AAA11C6E9776004DAAF7 /* arial-unicode-26.GlyphProject in Resources */, + 08F4AAA21C6E9776004DAAF7 /* markerFelt.fnt in Resources */, + 08F4AAA31C6E9776004DAAF7 /* boundsTestFont.fnt in Resources */, + 08F4AAA41C6E9776004DAAF7 /* larabie-16.png in Resources */, + 08F4AAA51C6E9776004DAAF7 /* iTunesArtwork in Resources */, + 08F4AAA61C6E9776004DAAF7 /* fps_images.png in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; 75556A00185636F100ED1B0F /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; @@ -1184,6 +1967,23 @@ /* End PBXResourcesBuildPhase section */ /* Begin PBXShellScriptBuildPhase section */ + 08F4AA561C6E9776004DAAF7 /* Compile Metal Shaders */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "$(SRCROOT)/cocos2d-ui-tests/MetalShaders/*.metal", + "$(SRCROOT)/cocos2d/Platforms/iOS/CCShaders.metal", + ); + name = "Compile Metal Shaders"; + outputPaths = ( + "${BUILT_PRODUCTS_DIR}/${PRODUCT_NAME}.app/default.metallib", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /usr/bin/ruby; + shellScript = "# Special thanks to Filip Iliescu at Apple for the help with this.\n\n# Environment variables.\nSDK = ENV[\"PLATFORM_NAME\"]\nOBJECT_FILE_DIR = ENV[\"OBJECT_FILE_DIR\"]\nSRCROOT = ENV[\"SRCROOT\"]\nBUILT_PRODUCTS_DIR = ENV[\"BUILT_PRODUCTS_DIR\"]\nPRODUCT_NAME = ENV[\"PRODUCT_NAME\"]\n\n# User variables\n# Directory with your custom .metal files in it.\nSHADER_DIR = \"#{SRCROOT}/cocos2d-ui-tests/MetalShaders\"\n# Location of the cocos2d library directory.\nCOCOS2D_DIR = \"#{SRCROOT}/cocos2d\"\n\nMETAL_ARGS = [\n\t\"-arch air64\",\n\t\"-emit-llvm\",\n\t\"-c\",\n\t\"-gline-tables-only\",\n\t\"-ffast-math\",\n\t\"-std=ios-metal1.0\",\n\t%{-I \"#{COCOS2D_DIR}\"},\n]\n\ndef system(cmd)\n\tputs cmd\n\tKernel.system cmd\nend\n\nPRODUCTS = \"#{OBJECT_FILE_DIR}/CCMetalShaders\"\nARCHIVE = \"#{PRODUCTS}/default.metal-ar\"\n\ndef compile_shader(src)\n\tdst = \"#{PRODUCTS}/#{File.basename(src, \".metal\")}.air\"\n\t\n\t# Compile and archive the shader.\n\tsystem %{xcrun -sdk #{SDK} metal #{METAL_ARGS.join(\" \")} \"#{src}\" -o \"#{dst}\"}\n\tsystem %{xcrun -sdk #{SDK} ar r \"#{ARCHIVE}\" \"#{dst}\"}\nend\n\nif SDK == \"iphoneos\"\n\t# Cannot use default.metallib to avoid clashing with Xcode build magic.\n\t# This is part of a workaround due to the iOS simulator not supporting Metal and may go away in the future.\n\tmetal_lib = \"#{BUILT_PRODUCTS_DIR}/#{PRODUCT_NAME}.app/CCShaders.metallib\"\n\t\t\n\t# Delete the old products dir and metal lib.\n\tsystem %{rm -rf \"#{PRODUCTS}\"}\n\tsystem %{rm -f \"#{metal_lib}\"}\n\tsystem %{mkdir -p \"#{PRODUCTS}\"}\n\t\n\t# Compile the builtin shaders.\n\tcompile_shader(%{#{COCOS2D_DIR}/Platforms/iOS/CCShaders.metal})\n\t\n\t# Compile/archive all the shaders in the shader directory.\n\tDir.glob(\"#{SHADER_DIR}/*.metal\").each{|src| compile_shader(src)}\n\t\n\t# Link all shaders into default lib.\n\tsystem %{xcrun -sdk #{SDK} metallib -o \"#{metal_lib}\" \"#{ARCHIVE}\"}\nend\n"; + }; D3E1842919E8572700A08B01 /* Compile Metal Shaders */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; @@ -1204,29 +2004,115 @@ /* End PBXShellScriptBuildPhase section */ /* Begin PBXSourcesBuildPhase section */ + 08F4A9F71C6E9776004DAAF7 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 08F4A9F81C6E9776004DAAF7 /* CCParallaxNode.m in Sources */, + 08F4A9F91C6E9776004DAAF7 /* TestBase.m in Sources */, + 08F4A9FA1C6E9776004DAAF7 /* SpritePerformanceTest.m in Sources */, + 08F4A9FE1C6E9776004DAAF7 /* CCTiledMapLayer.m in Sources */, + 08F4A9FF1C6E9776004DAAF7 /* SSZipArchive.m in Sources */, + 08F4AA031C6E9776004DAAF7 /* CCScrollViewTest.m in Sources */, + 08F4AA041C6E9776004DAAF7 /* CCTextFieldTest.m in Sources */, + 08F4AA051C6E9776004DAAF7 /* AppDelegate.m in Sources */, + 08F4AA061C6E9776004DAAF7 /* CCCacheTest.m in Sources */, + 08F4AA081C6E9776004DAAF7 /* CCTextureCacheTest.m in Sources */, + 08F4AA0A1C6E9776004DAAF7 /* CCPackage.m in Sources */, + 08F4AA0C1C6E9776004DAAF7 /* PositioningTest.m in Sources */, + 08F4AA0D1C6E9776004DAAF7 /* main.m in Sources */, + 08F4AA101C6E9776004DAAF7 /* CCSprite9SliceTest.m in Sources */, + 08F4AA111C6E9776004DAAF7 /* CCSliderTest.m in Sources */, + 08F4AA121C6E9776004DAAF7 /* CCParticleExamples.m in Sources */, + 08F4AA131C6E9776004DAAF7 /* CCTiledMapObjectGroup.m in Sources */, + 08F4AA141C6E9776004DAAF7 /* CCPackageInstaller.m in Sources */, + 08F4AA161C6E9776004DAAF7 /* CCMotionStreak.m in Sources */, + 08F4AA181C6E9776004DAAF7 /* CCTMXXMLParser.m in Sources */, + 08F4AA191C6E9776004DAAF7 /* CCTiledMap.m in Sources */, + 08F4AA1A1C6E9776004DAAF7 /* CCPackageHelper.m in Sources */, + 08F4AA1B1C6E9776004DAAF7 /* VertexZTest.m in Sources */, + 08F4AA1C1C6E9776004DAAF7 /* CCResponderTest.m in Sources */, + 08F4AA1D1C6E9776004DAAF7 /* CCParticleBatchNode.m in Sources */, + 08F4AA1E1C6E9776004DAAF7 /* CCParticleSystem.m in Sources */, + 08F4AA1F1C6E9776004DAAF7 /* CCPackageDownloadManager.m in Sources */, + 08F4AA201C6E9776004DAAF7 /* CCEffectsTest.m in Sources */, + 08F4AA211C6E9776004DAAF7 /* NSMutableDictionary+WeakReferences.m in Sources */, + 08F4AA231C6E9776004DAAF7 /* ioapi.c in Sources */, + 08F4AA241C6E9776004DAAF7 /* CCLayoutTest.m in Sources */, + 08F4AA251C6E9776004DAAF7 /* CCLabelTTFTest.m in Sources */, + 08F4AA261C6E9776004DAAF7 /* CCPackageConstants.m in Sources */, + 08F4AA271C6E9776004DAAF7 /* CCPackageCocos2dEnabler.m in Sources */, + 08F4AA281C6E9776004DAAF7 /* CCPackageDownload.m in Sources */, + 08F4AA291C6E9776004DAAF7 /* ParallaxTest.m in Sources */, + 08F4AA2B1C6E9776004DAAF7 /* mztools.c in Sources */, + 08F4AA2C1C6E9776004DAAF7 /* TextureTest.m in Sources */, + 08F4AA2D1C6E9776004DAAF7 /* CCSchedulerTest.m in Sources */, + 08F4AA341C6E9776004DAAF7 /* ColorTest.m in Sources */, + 08F4AA371C6E9776004DAAF7 /* CCParticleSystemBase.m in Sources */, + 08F4AA381C6E9776004DAAF7 /* TilemapTest.m in Sources */, + 08F4AA391C6E9776004DAAF7 /* MainMenu.m in Sources */, + 08F4AA3A1C6E9776004DAAF7 /* CCRendererTest.m in Sources */, + 08F4AA3B1C6E9776004DAAF7 /* CCClippingNode.m in Sources */, + 08F4AA3C1C6E9776004DAAF7 /* CCPackageManager.m in Sources */, + 08F4AA3D1C6E9776004DAAF7 /* CCTransitionTest.m in Sources */, + 08F4AA3E1C6E9776004DAAF7 /* unzip.c in Sources */, + 08F4AA3F1C6E9776004DAAF7 /* ParticleTest.m in Sources */, + 08F4AA401C6E9776004DAAF7 /* CCTableViewTest.m in Sources */, + 08F4AA411C6E9776004DAAF7 /* CCPackageUnzipper.m in Sources */, + 08F4AA421C6E9776004DAAF7 /* zip.c in Sources */, + 08F4AA451C6E9776004DAAF7 /* CCPhysicsTest.m in Sources */, + 08F4AA471C6E9776004DAAF7 /* CCBMFontTest.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; 755569FE185636F100ED1B0F /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( 92324E2A18EB635500D78D3F /* CCReaderTest.m in Sources */, + 0847820D1C66669300C3817B /* CCTiledMapLayer.m in Sources */, D32FDE8619B645CA0078CC16 /* CCTextureTests.m in Sources */, 9D96557319D6113500428E79 /* CCEffectTests.m in Sources */, 75556A161856370A00ED1B0F /* CCFileUtilTests.m in Sources */, + 089949A21C67F40000ECC92C /* CCPackage.m in Sources */, 92FE241118F5F06F00647961 /* CCAnimationTest.m in Sources */, 75556A171856370A00ED1B0F /* CCNodeTests.m in Sources */, D3395F1A187F83E600F22C74 /* CCMemoryTests.m in Sources */, + 089949FF1C67FAB000ECC92C /* CCParallaxNode.m in Sources */, 75556A181856370A00ED1B0F /* CCPhysicsTests.m in Sources */, + 089949F61C67F97D00ECC92C /* zip.c in Sources */, + 0899497B1C67F2D600ECC92C /* CCParticleBatchNode.m in Sources */, D34CD3C518ABF4AA00D8E537 /* CCRendererTests.m in Sources */, + 089949A51C67F40000ECC92C /* CCPackageCocos2dEnabler.m in Sources */, + 089949651C67F10A00ECC92C /* CCMotionStreak.m in Sources */, + 089949A81C67F40000ECC92C /* CCPackageConstants.m in Sources */, 75556A191856370A00ED1B0F /* CCSchedulerTests.m in Sources */, E525F81797DA5573FC26BEBB /* CCPackageTests.m in Sources */, E525F5DB1E3086DDE0296CEC /* CCPackageDownloadTests.m in Sources */, + 089949B11C67F40000ECC92C /* CCPackageHelper.m in Sources */, E525FA44681404CC22A3A8D9 /* CCPackageUnzipperTests.m in Sources */, E525F7C977339D17470FC149 /* CCPackageInstallerTests.m in Sources */, + 084782101C66669300C3817B /* CCTiledMapObjectGroup.m in Sources */, + 084782131C66669300C3817B /* CCTMXXMLParser.m in Sources */, + 0847820A1C66669300C3817B /* CCTiledMap.m in Sources */, + 089949BA1C67F40000ECC92C /* CCPackageUnzipper.m in Sources */, + 0899496D1C67F1BE00ECC92C /* CCClippingNode.m in Sources */, E525FCAF2CC6D200B8065E2E /* CCPackageCocos2dEnablerTests.m in Sources */, E525FF2E8351476CDD7DEAC4 /* CCPackageManagerTests.m in Sources */, + 089949AB1C67F40000ECC92C /* CCPackageDownload.m in Sources */, + 089949B71C67F40000ECC92C /* CCPackageManager.m in Sources */, + 089949B41C67F40000ECC92C /* CCPackageInstaller.m in Sources */, + 089949F91C67F97D00ECC92C /* SSZipArchive.m in Sources */, + 089949841C67F2D600ECC92C /* CCParticleSystemBase.m in Sources */, + 089949AE1C67F40000ECC92C /* CCPackageDownloadManager.m in Sources */, E525F033EECC363CA8EAF2A6 /* CCPackageDownloadManagerTests.m in Sources */, + 089949ED1C67F97D00ECC92C /* ioapi.c in Sources */, + 0899497E1C67F2D600ECC92C /* CCParticleExamples.m in Sources */, + 089949F31C67F97D00ECC92C /* unzip.c in Sources */, E525F4D0568A8A4176684936 /* CCPackageHelperTests.m in Sources */, E525FCD390330D4F4EBD76CC /* CCPackagesTestFixturesAndHelpers.m in Sources */, + 089949811C67F2D600ECC92C /* CCParticleSystem.m in Sources */, + 089949F01C67F97D00ECC92C /* mztools.c in Sources */, E525FA366EFEEF054FB0C74A /* CCSpriteFrameCacheTests.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; @@ -1235,35 +2121,87 @@ isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( + 089949FE1C67FAB000ECC92C /* CCParallaxNode.m in Sources */, B71B087C17EA5B490082EBC0 /* TestBase.m in Sources */, D3870C6018B440150033D885 /* SpritePerformanceTest.m in Sources */, + 084B956E1C6BA1DD003A580D /* mach_timing.c in Sources */, + 084B954E1C6BA1DD003A580D /* OALAudioTrackNotifications.m in Sources */, + 084B95521C6BA1DD003A580D /* OALSimpleAudio.m in Sources */, + 0847820C1C66669300C3817B /* CCTiledMapLayer.m in Sources */, + 089949F81C67F97D00ECC92C /* SSZipArchive.m in Sources */, + 084B95661C6BA1DD003A580D /* OpenALManager.m in Sources */, + 084B956C1C6BA1DD003A580D /* IOSVersion.m in Sources */, + 084B954C1C6BA1DD003A580D /* OALAudioTrack.m in Sources */, B71B088217EA5B6A0082EBC0 /* CCScrollViewTest.m in Sources */, B7EE697918186D5200B983FE /* CCTextFieldTest.m in Sources */, B7E2620017E7D321007067F0 /* AppDelegate.m in Sources */, 0E28FE1A197FCE4500F78989 /* CCCacheTest.m in Sources */, + 084B95541C6BA1DD003A580D /* ALBuffer.m in Sources */, B77060AB1832E3310043CC67 /* CCTextureCacheTest.m in Sources */, + 084B95561C6BA1DD003A580D /* ALCaptureDevice.m in Sources */, + 089949A11C67F40000ECC92C /* CCPackage.m in Sources */, + 084B95621C6BA1DD003A580D /* ALSource.m in Sources */, A664A4EF18A3D9B8006184B8 /* PositioningTest.m in Sources */, B7E2621C17E7D370007067F0 /* main.m in Sources */, + 084B955A1C6BA1DD003A580D /* ALContext.m in Sources */, + 084B95741C6BA1DD003A580D /* OALAudioFile.m in Sources */, B7EE69811818760700B983FE /* CCSprite9SliceTest.m in Sources */, B7EE6A28181B075E00B983FE /* CCSliderTest.m in Sources */, + 0899497D1C67F2D600ECC92C /* CCParticleExamples.m in Sources */, + 0847820F1C66669300C3817B /* CCTiledMapObjectGroup.m in Sources */, + 089949B31C67F40000ECC92C /* CCPackageInstaller.m in Sources */, + 084B95681C6BA1DD003A580D /* OALAudioSession.m in Sources */, + 089949641C67F10A00ECC92C /* CCMotionStreak.m in Sources */, + 084B95481C6BA1DD003A580D /* OALAudioActions.m in Sources */, + 084782121C66669300C3817B /* CCTMXXMLParser.m in Sources */, + 084782091C66669300C3817B /* CCTiledMap.m in Sources */, + 089949B01C67F40000ECC92C /* CCPackageHelper.m in Sources */, A6167B93189A7D4D0044D391 /* VertexZTest.m in Sources */, B772F69F1811C8D9005C069B /* CCResponderTest.m in Sources */, + 0899497A1C67F2D600ECC92C /* CCParticleBatchNode.m in Sources */, + 089949801C67F2D600ECC92C /* CCParticleSystem.m in Sources */, + 089949AD1C67F40000ECC92C /* CCPackageDownloadManager.m in Sources */, D2B4894C1917EE6700C3443A /* CCEffectsTest.m in Sources */, + 084B95721C6BA1DD003A580D /* NSMutableDictionary+WeakReferences.m in Sources */, B77060141831A17C0043CC67 /* ObjectALTest.m in Sources */, + 089949EC1C67F97D00ECC92C /* ioapi.c in Sources */, B7EE69CF1819D82300B983FE /* CCLayoutTest.m in Sources */, 758A6C711844011E00D1A8D2 /* CCLabelTTFTest.m in Sources */, + 089949A71C67F40000ECC92C /* CCPackageConstants.m in Sources */, + 089949A41C67F40000ECC92C /* CCPackageCocos2dEnabler.m in Sources */, + 089949AA1C67F40000ECC92C /* CCPackageDownload.m in Sources */, 758A690F1843E18700D1A8D2 /* ParallaxTest.m in Sources */, + 084B95641C6BA1DD003A580D /* ALWrapper.m in Sources */, + 089949EF1C67F97D00ECC92C /* mztools.c in Sources */, 7587BDB3185A0A6900EEEFDE /* TextureTest.m in Sources */, D3C9C867188078B900C58900 /* CCSchedulerTest.m in Sources */, + 084B955C1C6BA1DD003A580D /* ALDevice.m in Sources */, + 084B95601C6BA1DD003A580D /* ALSoundSourcePool.m in Sources */, + 084B95581C6BA1DD003A580D /* ALChannelSource.m in Sources */, + 084B954A1C6BA1DD003A580D /* OALUtilityActions.m in Sources */, + 084B955E1C6BA1DD003A580D /* ALListener.m in Sources */, + 084B956A1C6BA1DD003A580D /* OALSuspendHandler.m in Sources */, 7587BDB7185A64AD00EEEFDE /* ColorTest.m in Sources */, + 084B95701C6BA1DD003A580D /* NSMutableArray+WeakReferences.m in Sources */, + 084B95441C6BA1DD003A580D /* OALAction.m in Sources */, + 089949831C67F2D600ECC92C /* CCParticleSystemBase.m in Sources */, D340E10F185660BE006E605C /* TilemapTest.m in Sources */, B7E2622117E7D3B2007067F0 /* MainMenu.m in Sources */, D3D6CF5F18BD5F0500A51531 /* CCRendererTest.m in Sources */, + 0899496C1C67F1BE00ECC92C /* CCClippingNode.m in Sources */, + 089949B61C67F40000ECC92C /* CCPackageManager.m in Sources */, B70AFC30180F2D7400516435 /* CCTransitionTest.m in Sources */, + 089949F21C67F97D00ECC92C /* unzip.c in Sources */, 758A6C7B18440D5C00D1A8D2 /* ParticleTest.m in Sources */, B7C6238C17ECDF6A00928F91 /* CCTableViewTest.m in Sources */, + 089949B91C67F40000ECC92C /* CCPackageUnzipper.m in Sources */, + 089949F51C67F97D00ECC92C /* zip.c in Sources */, + 084B95501C6BA1DD003A580D /* OALAudioTracks.m in Sources */, + 084B95761C6BA1DD003A580D /* OALTools.m in Sources */, D340E10E185660BE006E605C /* CCPhysicsTest.m in Sources */, + 084B95461C6BA1DD003A580D /* OALActionManager.m in Sources */, D3B2A7E5187DD60B00406C5A /* CCBMFontTest.m in Sources */, + 084B94FF1C6BA116003A580D /* CCActionAudio.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -1271,41 +2209,96 @@ isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( + 08994A001C67FAB000ECC92C /* CCParallaxNode.m in Sources */, D3763D3819E734C5006C050D /* MainMenu.m in Sources */, D3763D3919E734C5006C050D /* TestBase.m in Sources */, + 084B956F1C6BA1DD003A580D /* mach_timing.c in Sources */, + 084B954F1C6BA1DD003A580D /* OALAudioTrackNotifications.m in Sources */, + 084B95531C6BA1DD003A580D /* OALSimpleAudio.m in Sources */, + 0847820E1C66669300C3817B /* CCTiledMapLayer.m in Sources */, + 089949FA1C67F97D00ECC92C /* SSZipArchive.m in Sources */, + 084B95671C6BA1DD003A580D /* OpenALManager.m in Sources */, + 084B956D1C6BA1DD003A580D /* IOSVersion.m in Sources */, + 084B954D1C6BA1DD003A580D /* OALAudioTrack.m in Sources */, D3763D3A19E734C5006C050D /* CCCacheTest.m in Sources */, D3763D3B19E734C5006C050D /* CCEffectsTest.m in Sources */, D3763D3C19E734C5006C050D /* CCRendererTest.m in Sources */, D3763D5819E7352F006C050D /* main.m in Sources */, + 084B95551C6BA1DD003A580D /* ALBuffer.m in Sources */, D3763D3D19E734C5006C050D /* SpritePerformanceTest.m in Sources */, + 084B95571C6BA1DD003A580D /* ALCaptureDevice.m in Sources */, + 089949A31C67F40000ECC92C /* CCPackage.m in Sources */, + 084B95631C6BA1DD003A580D /* ALSource.m in Sources */, D3763D3E19E734C5006C050D /* CCScrollViewTest.m in Sources */, D3763D3F19E734C5006C050D /* CCSchedulerTest.m in Sources */, + 084B955B1C6BA1DD003A580D /* ALContext.m in Sources */, + 084B95751C6BA1DD003A580D /* OALAudioFile.m in Sources */, D3763D4019E734C5006C050D /* CCTableViewTest.m in Sources */, D3763D4119E734C5006C050D /* CCTransitionTest.m in Sources */, - D3763D4219E734C5006C050D /* CCResponderTest.m in Sources */, + 0899497F1C67F2D600ECC92C /* CCParticleExamples.m in Sources */, + 084782111C66669300C3817B /* CCTiledMapObjectGroup.m in Sources */, + 089949B51C67F40000ECC92C /* CCPackageInstaller.m in Sources */, + 084B95691C6BA1DD003A580D /* OALAudioSession.m in Sources */, + 089949661C67F10A00ECC92C /* CCMotionStreak.m in Sources */, + 084B95491C6BA1DD003A580D /* OALAudioActions.m in Sources */, + 084782141C66669300C3817B /* CCTMXXMLParser.m in Sources */, + 0847820B1C66669300C3817B /* CCTiledMap.m in Sources */, + 089949B21C67F40000ECC92C /* CCPackageHelper.m in Sources */, D3763D4319E734C5006C050D /* CCSprite9SliceTest.m in Sources */, + 0899497C1C67F2D600ECC92C /* CCParticleBatchNode.m in Sources */, + 089949821C67F2D600ECC92C /* CCParticleSystem.m in Sources */, + 089949AF1C67F40000ECC92C /* CCPackageDownloadManager.m in Sources */, D3763D4419E734C5006C050D /* CCTextFieldTest.m in Sources */, + 084B95731C6BA1DD003A580D /* NSMutableDictionary+WeakReferences.m in Sources */, D3763D4519E734C5006C050D /* CCLayoutTest.m in Sources */, + 089949EE1C67F97D00ECC92C /* ioapi.c in Sources */, D3763D4619E734C5006C050D /* CCSliderTest.m in Sources */, D3763D4719E734C5006C050D /* ObjectALTest.m in Sources */, + 089949A91C67F40000ECC92C /* CCPackageConstants.m in Sources */, + 089949A61C67F40000ECC92C /* CCPackageCocos2dEnabler.m in Sources */, + 089949AC1C67F40000ECC92C /* CCPackageDownload.m in Sources */, D3763D4819E734C5006C050D /* CCTextureCacheTest.m in Sources */, + 084B95651C6BA1DD003A580D /* ALWrapper.m in Sources */, + 089949F11C67F97D00ECC92C /* mztools.c in Sources */, D3763D4919E734C5006C050D /* CCLabelTTFTest.m in Sources */, D3763D4A19E734C5006C050D /* ParallaxTest.m in Sources */, + 084B955D1C6BA1DD003A580D /* ALDevice.m in Sources */, + 084B95611C6BA1DD003A580D /* ALSoundSourcePool.m in Sources */, + 084B95591C6BA1DD003A580D /* ALChannelSource.m in Sources */, + 084B954B1C6BA1DD003A580D /* OALUtilityActions.m in Sources */, + 084B955F1C6BA1DD003A580D /* ALListener.m in Sources */, + 084B956B1C6BA1DD003A580D /* OALSuspendHandler.m in Sources */, D3763D4B19E734C5006C050D /* ParticleTest.m in Sources */, + 084B95711C6BA1DD003A580D /* NSMutableArray+WeakReferences.m in Sources */, + 084B95451C6BA1DD003A580D /* OALAction.m in Sources */, + 089949851C67F2D600ECC92C /* CCParticleSystemBase.m in Sources */, D3763D5619E73513006C050D /* AppDelegate.m in Sources */, D3763D4C19E734C5006C050D /* CCPhysicsTest.m in Sources */, D3763D4D19E734C5006C050D /* TilemapTest.m in Sources */, + 0899496E1C67F1BE00ECC92C /* CCClippingNode.m in Sources */, + 089949B81C67F40000ECC92C /* CCPackageManager.m in Sources */, D3763D4E19E734C5006C050D /* TextureTest.m in Sources */, + 089949F41C67F97D00ECC92C /* unzip.c in Sources */, D3763D4F19E734C5006C050D /* ColorTest.m in Sources */, D3763D5019E734C5006C050D /* CCBMFontTest.m in Sources */, + 089949BB1C67F40000ECC92C /* CCPackageUnzipper.m in Sources */, + 089949F71C67F97D00ECC92C /* zip.c in Sources */, + 084B95511C6BA1DD003A580D /* OALAudioTracks.m in Sources */, + 084B95771C6BA1DD003A580D /* OALTools.m in Sources */, D3763D5119E734C5006C050D /* VertexZTest.m in Sources */, - D3763D5219E734C5006C050D /* PositioningTest.m in Sources */, + 084B95471C6BA1DD003A580D /* OALActionManager.m in Sources */, + 084B95001C6BA116003A580D /* CCActionAudio.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXSourcesBuildPhase section */ /* Begin PBXTargetDependency section */ + 08F4A9F51C6E9776004DAAF7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "cocos2d-ios"; + targetProxy = 08F4A9F61C6E9776004DAAF7 /* PBXContainerItemProxy */; + }; 75556A11185636F100ED1B0F /* PBXTargetDependency */ = { isa = PBXTargetDependency; target = B7E2604717E7D278007067F0 /* cocos2d-tests-ios */; @@ -1351,6 +2344,102 @@ /* End PBXVariantGroup section */ /* Begin XCBuildConfiguration section */ + 08F4AAA81C6E9776004DAAF7 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ENABLE_OBJC_ARC = YES; + CODE_SIGN_IDENTITY = "iPhone Developer"; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + ENABLE_STRICT_OBJC_MSGSEND = NO; + GCC_DYNAMIC_NO_PIC = NO; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "cocos2d-ui-tests/ios/Prefix.pch"; + HEADER_SEARCH_PATHS = ( + external/kazmath/include, + "cocos2d/**", + "cocos2d-ui/**", + "cocos2d-ui-tests/**", + external/Chipmunk/include, + external/Chipmunk/objectivec/include, + "external/ObjectAL/**", + "external/SSZipArchive/SSZipArchive/**", + ); + INFOPLIST_FILE = "cocos2d-tests-ios copy-Info.plist"; + IPHONEOS_DEPLOYMENT_TARGET = 6.0; + MTL_HEADER_SEARCH_PATHS = "/Users/slembcke/Development/cocos2d-iphone/cocos2d"; + ONLY_ACTIVE_ARCH = YES; + OTHER_LDFLAGS = ( + "-lz", + "-lsqlite3", + "-ObjC", + ); + "OTHER_LDFLAGS[sdk=iphoneos8.0]" = ( + "-lz", + "-lsqlite3", + "-ObjC", + "-weak_framework", + Metal, + ); + PRODUCT_BUNDLE_IDENTIFIER = org.cocos2d.Tests; + PRODUCT_NAME = "$(TARGET_NAME)"; + PROVISIONING_PROFILE = ""; + SDKROOT = appletvos; + TARGETED_DEVICE_FAMILY = 3; + TVOS_DEPLOYMENT_TARGET = 9.0; + WRAPPER_EXTENSION = app; + }; + name = Debug; + }; + 08F4AAA91C6E9776004DAAF7 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ENABLE_OBJC_ARC = YES; + CODE_SIGN_IDENTITY = "iPhone Developer"; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + ENABLE_STRICT_OBJC_MSGSEND = NO; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "cocos2d-ui-tests/ios/Prefix.pch"; + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + HEADER_SEARCH_PATHS = ( + external/kazmath/include, + "cocos2d/**", + "cocos2d-ui/**", + "cocos2d-ui-tests/**", + external/Chipmunk/include, + external/Chipmunk/objectivec/include, + "external/ObjectAL/**", + "external/SSZipArchive/SSZipArchive/**", + ); + INFOPLIST_FILE = "cocos2d-tests-ios copy-Info.plist"; + IPHONEOS_DEPLOYMENT_TARGET = 6.0; + MTL_HEADER_SEARCH_PATHS = "/Users/slembcke/Development/cocos2d-iphone/cocos2d"; + OTHER_LDFLAGS = ( + "-lz", + "-lsqlite3", + "-ObjC", + ); + "OTHER_LDFLAGS[sdk=iphoneos8.0]" = ( + "-lz", + "-lsqlite3", + "-ObjC", + "-weak_framework", + Metal, + ); + PRODUCT_BUNDLE_IDENTIFIER = org.cocos2d.Tests; + PRODUCT_NAME = "$(TARGET_NAME)"; + PROVISIONING_PROFILE = ""; + SDKROOT = appletvos; + TARGETED_DEVICE_FAMILY = 3; + TVOS_DEPLOYMENT_TARGET = 9.0; + VALIDATE_PRODUCT = YES; + WRAPPER_EXTENSION = app; + }; + name = Release; + }; 75556A13185636F100ED1B0F /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { @@ -1548,9 +2637,20 @@ CODE_SIGN_IDENTITY = "iPhone Developer"; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; COPY_PHASE_STRIP = NO; + ENABLE_STRICT_OBJC_MSGSEND = NO; GCC_DYNAMIC_NO_PIC = NO; GCC_PRECOMPILE_PREFIX_HEADER = YES; GCC_PREFIX_HEADER = "cocos2d-ui-tests/ios/Prefix.pch"; + HEADER_SEARCH_PATHS = ( + external/kazmath/include, + "cocos2d/**", + "cocos2d-ui/**", + "cocos2d-ui-tests/**", + external/Chipmunk/include, + external/Chipmunk/objectivec/include, + "external/ObjectAL/**", + "external/SSZipArchive/SSZipArchive/**", + ); INFOPLIST_FILE = "cocos2d-ui-tests/ios/Resources/Info.plist"; IPHONEOS_DEPLOYMENT_TARGET = 6.0; MTL_HEADER_SEARCH_PATHS = "/Users/slembcke/Development/cocos2d-iphone/cocos2d"; @@ -1567,7 +2667,7 @@ "-weak_framework", Metal, ); - PRODUCT_BUNDLE_IDENTIFIER = org2.cocos2d.Tests; + PRODUCT_BUNDLE_IDENTIFIER = org.cocos2d.Tests; PRODUCT_NAME = "cocos2d-tests-ios"; PROVISIONING_PROFILE = ""; WRAPPER_EXTENSION = app; @@ -1582,9 +2682,20 @@ CODE_SIGN_IDENTITY = "iPhone Developer"; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; COPY_PHASE_STRIP = NO; + ENABLE_STRICT_OBJC_MSGSEND = NO; GCC_PRECOMPILE_PREFIX_HEADER = YES; GCC_PREFIX_HEADER = "cocos2d-ui-tests/ios/Prefix.pch"; GCC_SYMBOLS_PRIVATE_EXTERN = NO; + HEADER_SEARCH_PATHS = ( + external/kazmath/include, + "cocos2d/**", + "cocos2d-ui/**", + "cocos2d-ui-tests/**", + external/Chipmunk/include, + external/Chipmunk/objectivec/include, + "external/ObjectAL/**", + "external/SSZipArchive/SSZipArchive/**", + ); INFOPLIST_FILE = "cocos2d-ui-tests/ios/Resources/Info.plist"; IPHONEOS_DEPLOYMENT_TARGET = 6.0; MTL_HEADER_SEARCH_PATHS = "/Users/slembcke/Development/cocos2d-iphone/cocos2d"; @@ -1600,7 +2711,7 @@ "-weak_framework", Metal, ); - PRODUCT_BUNDLE_IDENTIFIER = org2.cocos2d.Tests; + PRODUCT_BUNDLE_IDENTIFIER = org.cocos2d.Tests; PRODUCT_NAME = "cocos2d-tests-ios"; PROVISIONING_PROFILE = ""; VALIDATE_PRODUCT = YES; @@ -1615,14 +2726,29 @@ CLANG_ENABLE_OBJC_ARC = YES; COMBINE_HIDPI_IMAGES = YES; COPY_PHASE_STRIP = NO; + ENABLE_STRICT_OBJC_MSGSEND = NO; GCC_DYNAMIC_NO_PIC = NO; GCC_PRECOMPILE_PREFIX_HEADER = YES; GCC_PREPROCESSOR_DEFINITIONS = ( DEBUG, "COCOS2D_DEBUG=1", ); + HEADER_SEARCH_PATHS = ( + external/kazmath/include, + "cocos2d/**", + "cocos2d-ui/**", + "cocos2d-ui-tests/**", + external/Chipmunk/include, + external/Chipmunk/objectivec/include, + "external/ObjectAL/**", + "external/SSZipArchive/**", + ); INFOPLIST_FILE = "cocos2d-ui-tests/osx/Resources/Info.plist"; IPHONEOS_DEPLOYMENT_TARGET = 5.1.1; + LIBRARY_SEARCH_PATHS = ( + "$(inherited)", + "$(PROJECT_DIR)/external/SSZipArchive/build/Debug", + ); MACOSX_DEPLOYMENT_TARGET = 10.8; MTL_HEADER_SEARCH_PATHS = "/Users/slembcke/Development/cocos2d-iphone/cocos2d"; ONLY_ACTIVE_ARCH = YES; @@ -1652,13 +2778,28 @@ CLANG_ENABLE_OBJC_ARC = YES; COMBINE_HIDPI_IMAGES = YES; COPY_PHASE_STRIP = YES; + ENABLE_STRICT_OBJC_MSGSEND = NO; GCC_PRECOMPILE_PREFIX_HEADER = YES; GCC_PREPROCESSOR_DEFINITIONS = ( NDEBUG, "NS_BLOCK_ASSERTIONS=1", ); + HEADER_SEARCH_PATHS = ( + external/kazmath/include, + "cocos2d/**", + "cocos2d-ui/**", + "cocos2d-ui-tests/**", + external/Chipmunk/include, + external/Chipmunk/objectivec/include, + "external/ObjectAL/**", + "external/SSZipArchive/**", + ); INFOPLIST_FILE = "cocos2d-ui-tests/osx/Resources/Info.plist"; IPHONEOS_DEPLOYMENT_TARGET = 5.1.1; + LIBRARY_SEARCH_PATHS = ( + "$(inherited)", + "$(PROJECT_DIR)/external/SSZipArchive/build/Debug", + ); MACOSX_DEPLOYMENT_TARGET = 10.8; MTL_HEADER_SEARCH_PATHS = "/Users/slembcke/Development/cocos2d-iphone/cocos2d"; OTHER_LDFLAGS = ( @@ -1684,6 +2825,15 @@ /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ + 08F4AAA71C6E9776004DAAF7 /* Build configuration list for PBXNativeTarget "cocos2d-tests-tvos" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 08F4AAA81C6E9776004DAAF7 /* Debug */, + 08F4AAA91C6E9776004DAAF7 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; 75556A12185636F100ED1B0F /* Build configuration list for PBXNativeTarget "UnitTests" */ = { isa = XCConfigurationList; buildConfigurations = ( diff --git a/cocos2d-ui-tests/MainMenu.m b/cocos2d-ui-tests/MainMenu.m index 02ec2de8b54..cf4549f669f 100644 --- a/cocos2d-ui-tests/MainMenu.m +++ b/cocos2d-ui-tests/MainMenu.m @@ -28,11 +28,7 @@ #import "../cocos2d/CCMacros.h" #import -#if __CC_PLATFORM_ANDROID -#define kCCTestMenuItemHeight 88 -#else #define kCCTestMenuItemHeight 44 -#endif static CGPoint scrollPosition; @@ -119,7 +115,7 @@ - (id) init - (void)loadNext { CCScene* test = [TestBase sceneWithTestName:@"CCLabelTTFTest"]; - CCTransition* transition = [CCTransition transitionMoveInWithDirection:CCTransitionDirectionLeft duration:0.3]; + CCTransition* transition = [CCDefaultTransition transitionMoveInWithDirection:CCTransitionDirectionLeft duration:0.3]; [[CCDirector sharedDirector] replaceScene:test withTransition:transition]; } @@ -132,7 +128,7 @@ - (void) selectedRow:(id)sender NSString* className = [[self testClassNames] objectAtIndex:tableView.selectedRow]; CCScene* test = [TestBase sceneWithTestName:className]; - CCTransition* transition = [CCTransition transitionMoveInWithDirection:CCTransitionDirectionLeft duration:0.3]; + CCTransition* transition = [CCDefaultTransition transitionMoveInWithDirection:CCTransitionDirectionLeft duration:0.3]; [[CCDirector sharedDirector] replaceScene:test withTransition:transition]; } diff --git a/cocos2d-ui-tests/Resources-shared/Strings.ccbLang b/cocos2d-ui-tests/Resources-shared/Strings.ccbLang index 12dc760b678..bccffc93e9a 100644 --- a/cocos2d-ui-tests/Resources-shared/Strings.ccbLang +++ b/cocos2d-ui-tests/Resources-shared/Strings.ccbLang @@ -5,7 +5,7 @@ activeLanguages fileType - SpriteBuilderTranslations + CocosBuilderTranslations fileVersion 1 translations diff --git a/cocos2d-ui-tests/TestBase.m b/cocos2d-ui-tests/TestBase.m index fa3ad344a52..a05071bd0e4 100644 --- a/cocos2d-ui-tests/TestBase.m +++ b/cocos2d-ui-tests/TestBase.m @@ -163,7 +163,7 @@ - (void) setUp{ - (void) pressedBack:(id)sender { - CCTransition* transition = [CCTransition transitionMoveInWithDirection:CCTransitionDirectionRight duration:0.3]; + CCTransition* transition = [CCDefaultTransition transitionMoveInWithDirection:CCTransitionDirectionRight duration:0.3]; [[CCDirector sharedDirector] replaceScene:[MainMenu scene] withTransition:transition]; } diff --git a/cocos2d-ui-tests/TestGraphics.spritebuilder/Resources/Strings.ccbLang b/cocos2d-ui-tests/TestGraphics.spritebuilder/Resources/Strings.ccbLang index 12dc760b678..bccffc93e9a 100644 --- a/cocos2d-ui-tests/TestGraphics.spritebuilder/Resources/Strings.ccbLang +++ b/cocos2d-ui-tests/TestGraphics.spritebuilder/Resources/Strings.ccbLang @@ -5,7 +5,7 @@ activeLanguages fileType - SpriteBuilderTranslations + CocosBuilderTranslations fileVersion 1 translations diff --git a/cocos2d-ui-tests/ios/AppDelegate.m b/cocos2d-ui-tests/ios/AppDelegate.m index 4cb96e6faec..91edcfafa9a 100644 --- a/cocos2d-ui-tests/ios/AppDelegate.m +++ b/cocos2d-ui-tests/ios/AppDelegate.m @@ -40,8 +40,41 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:( - (void)configureCocos2d { +#if CC_CCBREADER // Configure the file utils to work with SpriteBuilder, but use a custom resource path (Resources-shared instead of Published-iOS) [CCBReader configureCCFileUtils]; +#else + CCFileUtils *sharedFileUtils = [CCFileUtils sharedFileUtils]; + + // Setup file utils for use with SpriteBuilder + [sharedFileUtils setEnableiPhoneResourcesOniPad:NO]; + + sharedFileUtils.directoriesDict = + [[NSMutableDictionary alloc] initWithObjectsAndKeys: + @"resources-tablet", CCFileUtilsSuffixiPad, + @"resources-tablethd", CCFileUtilsSuffixiPadHD, + @"resources-phone", CCFileUtilsSuffixiPhone, + @"resources-phonehd", CCFileUtilsSuffixiPhoneHD, + @"resources-phone", CCFileUtilsSuffixiPhone5, + @"resources-phonehd", CCFileUtilsSuffixiPhone5HD, + @"resources-phone", CCFileUtilsSuffixMac, + @"resources-phonehd", CCFileUtilsSuffixMacHD, + @"", CCFileUtilsSuffixDefault, + nil]; + + sharedFileUtils.searchPath = + [NSArray arrayWithObjects: + [[[NSBundle mainBundle] resourcePath] stringByAppendingPathComponent:@"Published-iOS"], + [[NSBundle mainBundle] resourcePath], + nil]; + + sharedFileUtils.enableiPhoneResourcesOniPad = YES; + sharedFileUtils.searchMode = CCFileUtilsSearchModeDirectory; + [sharedFileUtils buildSearchResolutionsOrder]; + + [sharedFileUtils loadFilenameLookupDictionaryFromFile:@"fileLookup.plist"]; + [[CCSpriteFrameCache sharedSpriteFrameCache] loadSpriteFrameLookupDictionaryFromFile:@"spriteFrameFileList.plist"]; +#endif [self configureFileUtilsSearchPathAndRegisterSpriteSheets]; @@ -52,6 +85,8 @@ - (void)configureCocos2d CCSetupTabletScale2X: @YES, CCSetupShowDebugStats: @(getenv("SHOW_DEBUG_STATS") != nil), }]; + + [[CCDirector sharedDirector] runWithScene:[MainMenu scene]]; } - (void)configureFileUtilsSearchPathAndRegisterSpriteSheets @@ -75,16 +110,16 @@ - (void)configureFileUtilsSearchPathAndRegisterSpriteSheets [[CCSpriteFrameCache sharedSpriteFrameCache] registerSpriteFramesFile:@"TilesAtlassed.plist"]; } -- (CCScene*) startScene +/*- (CCScene*) startScene { - const char *testName = getenv("Test"); - - if(testName){ - return [TestBase sceneWithTestName:[NSString stringWithCString:testName encoding:NSUTF8StringEncoding]]; - } else { - return [MainMenu scene]; - } -} + const char *testName = getenv("Test"); + + if(testName){ + return [TestBase sceneWithTestName:[NSString stringWithCString:testName encoding:NSUTF8StringEncoding]]; + } else { + return [MainMenu scene]; + } +}*/ //// I'm going to leave this in for testing the fixed size screen mode in the future. //- (CCScene*) startScene diff --git a/cocos2d-ui-tests/ios/Resources/Launch Screen.xib b/cocos2d-ui-tests/ios/Resources/Launch Screen.xib index 56b75a45824..1ec9d216b84 100644 --- a/cocos2d-ui-tests/ios/Resources/Launch Screen.xib +++ b/cocos2d-ui-tests/ios/Resources/Launch Screen.xib @@ -1,8 +1,8 @@ - + - + diff --git a/cocos2d-ui-tests/tests/CCEffectsTest.m b/cocos2d-ui-tests/tests/CCEffectsTest.m index 506b8826f99..5dbeeecd5ae 100644 --- a/cocos2d-ui-tests/tests/CCEffectsTest.m +++ b/cocos2d-ui-tests/tests/CCEffectsTest.m @@ -1,3 +1,5 @@ +#if 0 + #import "TestBase.h" #import "CCTextureCache.h" #import "CCNodeColor.h" @@ -5,6 +7,8 @@ #import "CCEffectBlur.h" #import "CCEffectInvert.h" +#import "CCClippingNode.h" + #import "CCEffect_Private.h" #import "CCEffectStack_Private.h" #import "CCLightCollection.h" @@ -2631,3 +2635,5 @@ -(void)renderTextureHelper:(CCNode *)stage size:(CGSize)size } @end + +#endif \ No newline at end of file diff --git a/cocos2d-ui-tests/tests/CCPhysicsTest.m b/cocos2d-ui-tests/tests/CCPhysicsTest.m index dee20827ad5..88fb6b0bc9a 100644 --- a/cocos2d-ui-tests/tests/CCPhysicsTest.m +++ b/cocos2d-ui-tests/tests/CCPhysicsTest.m @@ -5,7 +5,7 @@ // // Created by Andy Korth on 11/15/13. // - +#if 0 #import "cocos2d.h" #import "TestBase.h" @@ -444,3 +444,4 @@ -(void)setupMovingPlatformsTest } @end +#endif diff --git a/cocos2d-ui-tests/tests/CCRendererTest.m b/cocos2d-ui-tests/tests/CCRendererTest.m index 5919d87249f..1f16db54c4c 100644 --- a/cocos2d-ui-tests/tests/CCRendererTest.m +++ b/cocos2d-ui-tests/tests/CCRendererTest.m @@ -1,7 +1,8 @@ #import "TestBase.h" #import "CCTextureCache.h" #import "CCNodeColor.h" -//#import "CCNode_Private.h" +#import "CCMotionStreak.h" +#import "CCClippingNode.h" @interface CustomSprite : CCNode @end @implementation CustomSprite diff --git a/cocos2d-ui-tests/tests/CCSchedulerTest.m b/cocos2d-ui-tests/tests/CCSchedulerTest.m index 28f20722c6b..536c3a4ee08 100644 --- a/cocos2d-ui-tests/tests/CCSchedulerTest.m +++ b/cocos2d-ui-tests/tests/CCSchedulerTest.m @@ -77,6 +77,7 @@ @implementation CLASS_NAME -(void)pauseTestWithParent:(CCNode *)parent objectToPause:(CCNode *)objectToPause { +#if 0 { // Set up a simple physics scene. CCPhysicsNode *physics = [CCPhysicsNode node]; @@ -99,7 +100,7 @@ -(void)pauseTestWithParent:(CCNode *)parent objectToPause:(CCNode *)objectToPaus [physics addChild:ball]; [parent addChild:physics]; } - +#endif { // Tests pausing update: and fixedUpdate: CCSprite *sprite = [SchedulerTestSprite spriteWithImageNamed:@"Sprites/bird.png"]; diff --git a/cocos2d-ui-tests/tests/CCTransitionTest.m b/cocos2d-ui-tests/tests/CCTransitionTest.m index 35fa4b188d7..8cf428df493 100644 --- a/cocos2d-ui-tests/tests/CCTransitionTest.m +++ b/cocos2d-ui-tests/tests/CCTransitionTest.m @@ -27,7 +27,7 @@ - (NSArray*) testConstructors - (void) setupCrossFadeTest { self.subTitle = @"Cross fade"; - _nextTransition = [CCTransition transitionCrossFadeWithDuration:1]; + _nextTransition = [CCDefaultTransition transitionCrossFadeWithDuration:1]; CCNodeColor* bgLayer = [CCNodeColor nodeWithColor:[CCColor redColor]]; bgLayer.contentSize = CGSizeMake(1, 1); @@ -38,7 +38,7 @@ - (void) setupCrossFadeTest - (void) setupFadeWithColorTest { self.subTitle = @"Fade with Color"; - _nextTransition = [CCTransition transitionFadeWithColor:[CCColor blueColor] duration:1]; + _nextTransition = [CCDefaultTransition transitionFadeWithColor:[CCColor blueColor] duration:1]; CCNodeColor* bgLayer = [CCNodeColor nodeWithColor:[CCColor greenColor]]; bgLayer.contentSize = CGSizeMake(1, 1); diff --git a/cocos2d-ui-tests/tests/ObjectALTest.m b/cocos2d-ui-tests/tests/ObjectALTest.m index 679d89d4e93..429e53e3fc6 100644 --- a/cocos2d-ui-tests/tests/ObjectALTest.m +++ b/cocos2d-ui-tests/tests/ObjectALTest.m @@ -7,7 +7,7 @@ // #import "TestBase.h" -#import "OALSimpleAudio.h" +#import "CCOAL.h" @interface ObjectALTest : TestBase @end diff --git a/cocos2d-ui-tests/tests/ObjectiveC++Test.mm b/cocos2d-ui-tests/tests/ObjectiveC++Test.mm new file mode 100644 index 00000000000..8b761d6d98a --- /dev/null +++ b/cocos2d-ui-tests/tests/ObjectiveC++Test.mm @@ -0,0 +1,115 @@ +// +// ObjectiveC++Test.m +// cocos2d-tests +// +// Created by Logan on 6/25/16. +// Copyright © 2016 Cocos2d. All rights reserved. +// + +#import "cocos2d.h" +#import "TestBase.h" +#include +#import "CCRenderer_Private.h" + +@interface ObjectiveCppTest : TestBase @end +@implementation ObjectiveCppTest { + BOOL _transformTest; + CCSprite *_transformTestDeepestDescendedSprite; + CCNode *_transformContainer; +} + +- (void)setUp { + _transformTest = NO; + [[CCFileUtils sharedFileUtils] setSearchPath: @[ @"Images", kCCFileUtilsDefaultSearchPath] ]; +} + +- (NSArray*)testConstructors +{ + return [NSArray arrayWithObjects: + @"objCppBasicTest", + @"objCppTransformTest", + nil]; +} + +static CCNode* spriteContainer( std::vector& v ) { + CCNode *container = [CCNode node]; + float lastScale = container.scale; + CCNode *lastNode = container; + for ( std::vector::iterator it = v.begin(); it != v.end(); ++it ) { + CCSprite *s = *it; + [lastNode addChild:s]; + s.position = ccp( s.parent.contentSize.width/2., s.parent.contentSize.height/2. ); + s.scale = lastScale * 0.75; + lastScale = s.scale; + + s.anchorPoint = ccp( CCRANDOM_0_1(), CCRANDOM_0_1() ); + + CCActionInterval *rotate = [CCActionRotateBy actionWithDuration:CCRANDOM_0_1()*6. + 4. angle:360]; + rotate = CCRANDOM_0_1() < 0.5 ? rotate : [rotate reverse]; + [s runAction:[CCActionRepeatForever actionWithAction:rotate]]; + + lastNode = s; + } + return container; +} + +static CCNode* getSprites() { + std::vector sprites; + for ( int i = 0; i < 3; ++i ) { + CCSprite *sprite = [CCSprite spriteWithImageNamed:@"powered.png"]; + sprites.push_back( sprite ); + } + CCNode *container = spriteContainer( sprites ); + CGSize s = [[CCDirector sharedDirector] viewSize]; + container.position = ccp( s.width/2.0f, s.height/2.0f); + return container; +} + +- (void)objCppBasicTest { + _transformTest = NO; + [self.contentNode addChild:getSprites()]; + self.subTitle = @"Node hierarchy in Obj-C++ with some CCActions, after using some basic C++ objects and logic"; +} + +- (void)objCppTransformTest { + _transformTest = YES; + _transformContainer = getSprites(); + CCSprite *grandestChildSprite = (CCSprite *)_transformContainer.children[0]; + // find the deepest-descended sprite + while ( grandestChildSprite.children[0] ) { + grandestChildSprite = grandestChildSprite.children[0]; + [grandestChildSprite onEnter]; + } + _transformTestDeepestDescendedSprite = grandestChildSprite; +// [_transformTestDeepestDescendedSprite onEnter]; + + self.subTitle = @"Same as before, but only drawing the deepest-descended sprite using only transform matrices"; +} + +- (void)visit:(CCRenderer *)renderer parentTransform:(const GLKMatrix4 *)parentTransform { + if ( _transformTest ) { + CCRenderer *renderer = [CCRenderer currentRenderer]; + GLKMatrix4 transformMatrix; + [renderer.globalShaderUniforms[CCShaderUniformProjection] getValue:&transformMatrix]; + + NSMutableArray *transformNodes = [[NSMutableArray alloc] init]; + CCNode *currentNode = _transformTestDeepestDescendedSprite; + for ( int i = 0; i < 2; ++i ) { + while ( currentNode.parent ) { + currentNode = currentNode.parent; + [transformNodes addObject:currentNode]; + } + if ( i == 0 ) { + currentNode = self.contentNode; + [transformNodes addObject:self.contentNode]; + } + } + for ( CCNode *n in [transformNodes reverseObjectEnumerator] ) { + transformMatrix = [n transform:&transformMatrix]; + } + [_transformTestDeepestDescendedSprite visit:renderer parentTransform:&transformMatrix]; + } + [super visit:renderer parentTransform:parentTransform]; +} + +@end \ No newline at end of file diff --git a/cocos2d-ui-tests/tests/ParallaxTest.m b/cocos2d-ui-tests/tests/ParallaxTest.m index b74b8037cec..b5272be65ef 100644 --- a/cocos2d-ui-tests/tests/ParallaxTest.m +++ b/cocos2d-ui-tests/tests/ParallaxTest.m @@ -7,10 +7,13 @@ // #import "cocos2d.h" +#import "CCTileMaps.h" // local import #import "TestBase.h" +#import "CCParallaxNode.h" + @interface ParallaxTest : TestBase @end @implementation ParallaxTest diff --git a/cocos2d-ui-tests/tests/ParticleTest.m b/cocos2d-ui-tests/tests/ParticleTest.m index c4fad31adad..0435fc814a8 100644 --- a/cocos2d-ui-tests/tests/ParticleTest.m +++ b/cocos2d-ui-tests/tests/ParticleTest.m @@ -7,6 +7,7 @@ #import "TestBase.h" #import "CCTextureCache.h" +#import "CCParticles.h" @interface ParticleTest : TestBase @property (readwrite, retain) CCParticleSystemBase *emitter; diff --git a/cocos2d-ui-tests/tests/SpritePerformanceTest.m b/cocos2d-ui-tests/tests/SpritePerformanceTest.m index 34748c13f57..53f567cbbe8 100644 --- a/cocos2d-ui-tests/tests/SpritePerformanceTest.m +++ b/cocos2d-ui-tests/tests/SpritePerformanceTest.m @@ -1,5 +1,4 @@ #import "TestBase.h" -#import "CCNode_Private.h" @interface SpritePerformanceTest : TestBase @end @implementation SpritePerformanceTest diff --git a/cocos2d-ui-tests/tests/TextureTest.m b/cocos2d-ui-tests/tests/TextureTest.m index 9a388a8fa84..ab18c400253 100644 --- a/cocos2d-ui-tests/tests/TextureTest.m +++ b/cocos2d-ui-tests/tests/TextureTest.m @@ -9,7 +9,6 @@ #import "TestBase.h" #import "CCTextureCache.h" -#import "CCTexture_Private.h" @interface TextureTest : TestBase @end diff --git a/cocos2d-ui-tests/tests/TilemapTest.m b/cocos2d-ui-tests/tests/TilemapTest.m index 946ef9fa7c3..9209e1d04f3 100644 --- a/cocos2d-ui-tests/tests/TilemapTest.m +++ b/cocos2d-ui-tests/tests/TilemapTest.m @@ -9,6 +9,7 @@ #import "cocos2d.h" #import "TestBase.h" #import "CCTiledMapLayer_Private.h" +#import "CCTileMaps.h" @interface TilemapTest : TestBase @end @implementation TilemapTest { diff --git a/cocos2d-ui-tests/tests/VertexZTest.m b/cocos2d-ui-tests/tests/VertexZTest.m index 7cbd8bbf81f..2f971df3f2c 100644 --- a/cocos2d-ui-tests/tests/VertexZTest.m +++ b/cocos2d-ui-tests/tests/VertexZTest.m @@ -8,8 +8,6 @@ #import "TestBase.h" #import "CCTextureCache.h" -#import "CCNode_Private.h" -#import "CCSprite_Private.h" @interface GlobalSortSprite : CCSprite @end diff --git a/cocos2d/CCActionProgressTimer.h b/cocos2d-ui/CCActionProgressTimer.h similarity index 100% rename from cocos2d/CCActionProgressTimer.h rename to cocos2d-ui/CCActionProgressTimer.h diff --git a/cocos2d/CCActionProgressTimer.m b/cocos2d-ui/CCActionProgressTimer.m similarity index 100% rename from cocos2d/CCActionProgressTimer.m rename to cocos2d-ui/CCActionProgressTimer.m diff --git a/cocos2d-ui/CCBReader/CCAnimationManager_Private.h b/cocos2d-ui/CCBReader/CCAnimationManager_Private.h deleted file mode 100644 index a87fc298f23..00000000000 --- a/cocos2d-ui/CCBReader/CCAnimationManager_Private.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * cocos2d for iPhone: http://www.cocos2d-iphone.org - * - * Copyright (c) 2013 Apportable Inc. - * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in - * all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - * THE SOFTWARE. - */ - -@interface CCAnimationManager () - -// Sequence Array -@property (nonatomic,readonly) NSMutableArray* sequences; - - -// Auto play sequence id. -@property (nonatomic,assign) int autoPlaySequenceId; - -// Base node. -@property (nonatomic,unsafe_unretained) CCNode* rootNode; - -// (CCB) Optional owner -@property (nonatomic,unsafe_unretained) id owner; - -// (CCB) Resolution and default container size. -@property (nonatomic,assign) CGSize rootContainerSize; - -// (CCB) Node Management -- (CGSize) containerSize:(CCNode*)node; -- (void) addNode:(CCNode*)node andSequences:(NSDictionary*)seq; -- (void) moveAnimationsFromNode:(CCNode*)fromNode toNode:(CCNode*)toNode; - -// Reset node state. -- (void) setBaseValue:(id)value forNode:(CCNode*)node propertyName:(NSString*)propName; - -- (void) runAnimationsForSequenceId:(int)seqId tweenDuration:(float) tweenDuration; - -- (void)timeSeekForSequenceId:(int)seqId time:(float)time; - -#pragma mark Simple Sequence Builder -- (void)addKeyFramesForSequenceNamed:(NSString*)name propertyType:(CCBSequencePropertyType)propertyType frameArray:(NSArray*)frameArray node:(CCNode *)node loop:(BOOL)loop; - -@end - diff --git a/cocos2d-ui/CCBReader/CCBReader_Private.h b/cocos2d-ui/CCBReader/CCBReader_Private.h deleted file mode 100644 index e4b2f36f901..00000000000 --- a/cocos2d-ui/CCBReader/CCBReader_Private.h +++ /dev/null @@ -1,95 +0,0 @@ -// -// CCBReader_Private.h -// cocos2d-ios -// -// Created by Viktor on 11/13/13. -// -// - -#import "CCBReader.h" - -#define kCCBVersion 10 - -enum { - kCCBPropTypePosition = 0, - kCCBPropTypeSize, - kCCBPropTypePoint, - kCCBPropTypePointLock, - kCCBPropTypeScaleLock, - kCCBPropTypeDegrees, - kCCBPropTypeInteger, - kCCBPropTypeFloat, - kCCBPropTypeFloatVar, - kCCBPropTypeCheck, - kCCBPropTypeSpriteFrame, - kCCBPropTypeTexture, - kCCBPropTypeByte, - kCCBPropTypeColor3, - kCCBPropTypeColor4FVar, - kCCBPropTypeFlip, - kCCBPropTypeBlendmode, - kCCBPropTypeFntFile, - kCCBPropTypeText, - kCCBPropTypeFontTTF, - kCCBPropTypeIntegerLabeled, - kCCBPropTypeBlock, - kCCBPropTypeAnimation, - kCCBPropTypeCCBFile, - kCCBPropTypeString, - kCCBPropTypeBlockCCControl, - kCCBPropTypeFloatScale, - kCCBPropTypeFloatXY, - kCCBPropTypeColor4, - kCCBPropTypeNodeReference, - kCCBPropTypeFloatCheck, - kCCBPropTypeEffects, - kCCBPropTypeTokenArray -}; - -enum { - kCCBFloat0 = 0, - kCCBFloat1, - kCCBFloatMinus1, - kCCBFloat05, - kCCBFloatInteger, - kCCBFloatFull -}; - -enum { - kCCBPlatformAll = 0, - kCCBPlatformIOS, - kCCBPlatformMac -}; - -enum { - kCCBTargetTypeNone = 0, - kCCBTargetTypeDocumentRoot = 1, - kCCBTargetTypeOwner = 2, -}; - -enum -{ - kCCBKeyframeEasingInstant, - - kCCBKeyframeEasingLinear, - - kCCBKeyframeEasingCubicIn, - kCCBKeyframeEasingCubicOut, - kCCBKeyframeEasingCubicInOut, - - kCCBKeyframeEasingElasticIn, - kCCBKeyframeEasingElasticOut, - kCCBKeyframeEasingElasticInOut, - - kCCBKeyframeEasingBounceIn, - kCCBKeyframeEasingBounceOut, - kCCBKeyframeEasingBounceInOut, - - kCCBKeyframeEasingBackIn, - kCCBKeyframeEasingBackOut, - kCCBKeyframeEasingBackInOut, -}; - -@interface CCBReader () - -@end diff --git a/cocos2d-ui/CCButton.m b/cocos2d-ui/CCButton.m index 88e9e3fdb80..0ab1f12171d 100644 --- a/cocos2d-ui/CCButton.m +++ b/cocos2d-ui/CCButton.m @@ -195,7 +195,7 @@ - (void) layout [super layout]; } -#if __CC_PLATFORM_IOS || __CC_PLATFORM_ANDROID +#if __CC_PLATFORM_IOS - (void) touchEntered:(CCTouch *)touch withEvent:(CCTouchEvent *)event { diff --git a/cocos2d-ui/CCControl.m b/cocos2d-ui/CCControl.m index 70d5ea46681..cbb812f080d 100644 --- a/cocos2d-ui/CCControl.m +++ b/cocos2d-ui/CCControl.m @@ -26,8 +26,7 @@ #import "CCControlSubclass.h" #import #import -#import "CCTouch.h" -#import "CCTouchEvent.h" +#import "UITouch+CC.h" #if __CC_PLATFORM_IOS @@ -79,7 +78,7 @@ - (void) triggerAction #pragma mark Touch handling -#if __CC_PLATFORM_IOS || __CC_PLATFORM_ANDROID +#if __CC_PLATFORM_IOS - (void) touchBegan:(CCTouch *)touch withEvent:(CCTouchEvent *)event { diff --git a/cocos2d-ui/CCControlSubclass.h b/cocos2d-ui/CCControlSubclass.h index 7d16acb0a4c..b05db97ef87 100644 --- a/cocos2d-ui/CCControlSubclass.h +++ b/cocos2d-ui/CCControlSubclass.h @@ -55,7 +55,7 @@ /** Can be implemented by sub-classes. Override this method if you are using custom properties and need to set them by name using the setValue:forKey method. - This is needed for integration with editors such as SpriteBuilder. When overriding this method, make sure to call its super method if you cannot handle the key. + This is needed for integration with editors such as CocosBuilder. When overriding this method, make sure to call its super method if you cannot handle the key. @param value The value to set. @param key The key to set the value for. diff --git a/cocos2d-ui/CCPotentiometer.h b/cocos2d-ui/CCPotentiometer.h new file mode 100755 index 00000000000..b71272381f6 --- /dev/null +++ b/cocos2d-ui/CCPotentiometer.h @@ -0,0 +1,120 @@ +/* + * CCControlPotentiometer.h + * + * Copyright 2015 Volodin Andrey. All rights reserved. + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. + * + */ +#import "CCControl.h" + +@class CCProgressNode, CCSprite, CCColor; + +/** + * Potentiometer control for Cocos2D. + * + * A CCPotentiometer object is a visual control used to select a + * single value in a circular motion from a continuous range of values. + * An indicator notes the current value of the potentiometer and can be + * moved by the user to change the setting. + */ +@interface CCPotentiometer : CCControl { +@public + float _value; + float _minimumValue; + float _maximumValue; + +@protected + CCSprite *_thumbSprite; + CCSprite *_trackSprite; + CCProgressNode *_progressTimer; +} +#pragma mark Contructors - Initializers +/** @name Creating Potentiometers */ + +/** + * Initializes a potentiometer with a track sprite and a progress bar. + * + * @param trackSprite CCSprite, that is used as a background. + * @param progressTimer CCProgressTimer, that is used as a progress bar. + * @param thumbSprite CCSprite, that is used as a thumb. + */ +- (id)initWithTrackSprite:(CCSprite *)trackSprite progressSprite:(CCProgressNode *)progressTimer thumbSprite:(CCSprite *)thumbSprite; + +/** + * Creates potentiometer with a track filename and a progress filename. + * + * @see initWithTrackSprite:progressSprite:thumbSprite: + */ ++ (id)potentiometerWithTrackFile:(NSString *)backgroundFile progressFile:(NSString *)progressFile thumbFile:(NSString *)thumbFile; + +#pragma mark - Properties +#pragma mark Accessing the Potentiometer’s Value +/** @name Accessing the Potentiometer’s Value */ +/** + * @abstract Contains the receiver’s current value. + * @discussion Setting this property causes the receiver to redraw itself + * using the new value. To render an animated transition from the current + * value to the new value, you should use the setValue:animated: method + * instead. + * + * If you try to set a value that is below the minimum or above the maximum + * value, the minimum or maximum value is set instead. The default value of + * this property is 0.0. + */ +@property (nonatomic, assign) float value; + +/** + * @abstract Sets the receiver’s current value, allowing you to animate the + * change visually. + * + * @param value The new value to assign to the value property. + * @param animated Specify YES to animate the change in value when the + * receiver is redrawn; otherwise, specify NO to draw the receiver with the + * new value only. Animations are performed asynchronously and do not block + * the calling thread. + * @discussion If you try to set a value that is below the minimum or above + * the maximum value, the minimum or maximum value is set instead. The + * default value of this property is 0.0. + * @see value + */ +- (void)setValue:(float)value animated:(BOOL)animated; + +#pragma mark Accessing the Potentiometer’s Value Limits +/** @name Accessing the Potentiometer’s Value Limits */ +/** Contains the minimum value of the receiver. + * The default value of this property is 0.0. */ +@property (nonatomic, assign) float minimumValue; +/** Contains the maximum value of the receiver. + * The default value of this property is 1.0. */ +@property (nonatomic, assign) float maximumValue; + +#pragma mark Customizing the Appearance of the Slider +/** @name Customizing the Appearance of the Slider */ + +/** + * @abstract The color used to tint the appearance of the thumb when the + * potentiometer is pushed. + * @discussion The default color is ccGRAY. + */ +@property(nonatomic, assign) CCColor* onThumbTintColor; + +#pragma mark - Public Methods + +@end diff --git a/cocos2d-ui/CCPotentiometer.m b/cocos2d-ui/CCPotentiometer.m new file mode 100755 index 00000000000..160a5343436 --- /dev/null +++ b/cocos2d-ui/CCPotentiometer.m @@ -0,0 +1,289 @@ +/* + * CCControlPotentiometer.h + * + * Copyright 2015 Volodin Andrey. All rights reserved. + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. + * + */ + + +#import "CCPotentiometer.h" +#import "CCControlSubclass.h" +#import "CCSprite.h" +#import "CCProgressNode.h" +#import "CCActionEase.h" +#import "CCActionTween.h" +#import "cocos2d.h" + +@interface CCPotentiometer () +@property (nonatomic, strong) CCSprite *thumbSprite; +@property (nonatomic, strong) CCSprite *trackSprite; +@property (nonatomic, strong) CCProgressNode *progressTimer; +@property (nonatomic, assign) CGPoint previousLocation; +@property (nonatomic, assign) float animatedValue; + +/** Factorize the event dispath into these methods. */ +- (void)potentiometerBegan:(CGPoint)location; +- (void)potentiometerMoved:(CGPoint)location; +- (void)potentiometerEnded:(CGPoint)location; + +/** Returns the distance between the point1 and point2. */ +- (float)distanceBetweenPoint:(CGPoint)point1 andPoint:(CGPoint)point2; +/** Returns the angle in degree between line1 and line2. */ +- (float)angleInDegreesBetweenLineFromPoint:(CGPoint)beginLineA + toPoint:(CGPoint)endLineA + toLineFromPoint:(CGPoint)beginLineB + toPoint:(CGPoint)endLineB; + +/** Layout the slider with the given value. */ +- (void)layoutWithValue:(float)value; + +@end + +@implementation CCPotentiometer +@synthesize value = _value; +@synthesize minimumValue = _minimumValue; +@synthesize maximumValue = _maximumValue; +@synthesize onThumbTintColor = _onThumbTintColor; +@synthesize thumbSprite = _thumbSprite; +@synthesize progressTimer = _progressTimer; +@synthesize previousLocation = _previousLocation; +@synthesize animatedValue = _animatedValue; +@synthesize trackSprite = _trackSprite; + ++ (id)potentiometerWithTrackFile:(NSString *)backgroundFile progressFile:(NSString *)progressFile thumbFile:(NSString *)thumbFile +{ + // Prepare track for potentiometer + CCSprite *backgroundSprite = [CCSprite spriteWithImageNamed:backgroundFile]; + + // Prepare thumb for potentiometer + CCSprite *thumbSprite = [CCSprite spriteWithImageNamed:thumbFile]; + + // Prepare progress for potentiometer + CCProgressNode *progressNode = [CCProgressNode progressWithSprite:[CCSprite spriteWithImageNamed:progressFile]]; + progressNode.type = CCProgressNodeTypeRadial; + + return [[self alloc] initWithTrackSprite:backgroundSprite progressSprite:progressNode thumbSprite:thumbSprite]; +} + +- (id)initWithTrackSprite:(CCSprite *)trackSprite progressSprite:(CCProgressNode *)progressTimer thumbSprite:(CCSprite *)thumbSprite +{ + if ((self = [super init])) { + self.progressTimer = progressTimer ?: [[CCProgressNode alloc] init]; + self.thumbSprite = thumbSprite ?: [[CCSprite alloc] init]; + self.trackSprite = trackSprite ?: [[CCSprite alloc] init]; + thumbSprite.position = _progressTimer.position; + + [self addChild:_thumbSprite z:2]; + [self addChild:_progressTimer z:1]; + [self addChild:_trackSprite]; + + self.contentSize = CGSizeMake(MAX(MAX(trackSprite.contentSize.width, + thumbSprite.contentSize.width), + progressTimer.contentSize.width), + MAX(MAX(trackSprite.contentSize.height, + thumbSprite.contentSize.height), + progressTimer.contentSize.height)); + + // Init default values + _onThumbTintColor = [CCColor grayColor]; + _minimumValue = 0.0f; + _maximumValue = 1.0f; + self.value = _minimumValue; + self.userInteractionEnabled = YES; + } + return self; +} + +#pragma mark Properties + +- (void)setEnabled:(BOOL)enabled +{ + super.enabled = enabled; + + _thumbSprite.opacity = (enabled) ? 1.0f : 0.5f; +} + +- (void)setValue:(float)value +{ + [self setValue:value animated:NO]; +} + +- (void)setAnimatedValue:(float)animatedValue +{ + [self layoutWithValue:animatedValue]; +} + +- (void)setMinimumValue:(float)minimumValue +{ + _minimumValue = minimumValue; + + if (_minimumValue >= _maximumValue) { + _maximumValue = _minimumValue + 1.0f; + } + + self.value = _maximumValue; +} + +- (void)setMaximumValue:(float)maximumValue +{ + _maximumValue = maximumValue; + + if (_maximumValue <= _minimumValue) { + _minimumValue = _maximumValue - 1.0f; + } + + self.value = _minimumValue; +} + +#pragma mark CCTargetedTouch Delegate Methods + +-(BOOL)hitTestWithWorldPos:(CGPoint)pos { + CGPoint touchLocation = [self convertToNodeSpace:pos]; + + float distance = [self distanceBetweenPoint:_progressTimer.position andPoint:touchLocation]; + + return distance < MIN(self.contentSize.width / 2, self.contentSize.height / 2); + +} + +#if __CC_PLATFORM_IOS +-(void)touchBegan:(CCTouch *)touch withEvent:(CCTouchEvent *)event { + + _previousLocation = [touch locationInNode:self]; + + [self potentiometerBegan:_previousLocation]; +} + +-(void)touchMoved:(CCTouch *)touch withEvent:(CCTouchEvent *)event { + + CGPoint location = [touch locationInNode:self]; + + [self potentiometerMoved:location]; +} + +-(void)touchEnded:(CCTouch *)touch withEvent:(CCTouchEvent *)event { + [self potentiometerEnded:CGPointZero]; +} + +-(void)touchCancelled:(CCTouch *)touch withEvent:(CCTouchEvent *)event { + [self touchEnded:touch withEvent:event]; +} + +#endif + +#pragma mark - +#pragma mark CCControlPotentiometer Public Methods + +- (void)setValue:(float)value animated:(BOOL)animated +{ + // set new value with sentinel + if (value < _minimumValue) { + value = _minimumValue; + } + + if (value > _maximumValue) { + value = _maximumValue; + } + + if (animated) { + [self runAction: + [CCActionEaseInOut actionWithAction:[CCActionTween actionWithDuration:0.2f key:@"animatedValue" from:_value to:value] + rate:1.5f]]; + } + else { + [self layoutWithValue:value]; + } + + _value = value; +} + +#pragma mark CCControlPotentiometer Private Methods + +- (float)distanceBetweenPoint:(CGPoint)point1 andPoint:(CGPoint)point2 +{ + CGFloat dx = point1.x - point2.x; + CGFloat dy = point1.y - point2.y; + return sqrt(dx*dx + dy*dy); +} + +- (float)angleInDegreesBetweenLineFromPoint:(CGPoint)beginLineA + toPoint:(CGPoint)endLineA + toLineFromPoint:(CGPoint)beginLineB + toPoint:(CGPoint)endLineB; +{ + CGFloat a = endLineA.x - beginLineA.x; + CGFloat b = endLineA.y - beginLineA.y; + CGFloat c = endLineB.x - beginLineB.x; + CGFloat d = endLineB.y - beginLineB.y; + + CGFloat atanA = atan2(a, b); + CGFloat atanB = atan2(c, d); + + // convert radiants to degrees + return (atanA - atanB) * 180 / M_PI; +} + +- (void)potentiometerBegan:(CGPoint)location +{ + self.selected = YES; + self.thumbSprite.color = _onThumbTintColor; +} + +- (void)potentiometerMoved:(CGPoint)location +{ + CGFloat angle = [self angleInDegreesBetweenLineFromPoint:_progressTimer.position + toPoint:location + toLineFromPoint:_progressTimer.position + toPoint:_previousLocation]; + + // fix value, if the 12 o'clock position is between location and previousLocation + if (angle > 180) { + angle -= 360; + } + else if (angle < -180) { + angle += 360; + } + + self.value += angle / 360.0f * (_maximumValue - _minimumValue); + + _previousLocation = location; + + if (self.continuous) + [self triggerAction]; +} + +- (void)potentiometerEnded:(CGPoint)location +{ + self.thumbSprite.color = [CCColor whiteColor]; + self.selected = NO; + + [self triggerAction]; +} + +- (void)layoutWithValue:(float)value +{ + // Update thumb and progress position for new value + float percent = (value - _minimumValue) / (_maximumValue - _minimumValue); + _progressTimer.percentage = percent * 100.0f; + _thumbSprite.rotation = percent * 360.0f; +} + +@end diff --git a/cocos2d/CCProgressNode.h b/cocos2d-ui/CCProgressNode.h similarity index 99% rename from cocos2d/CCProgressNode.h rename to cocos2d-ui/CCProgressNode.h index 438fc288dc2..eb851d90a8e 100644 --- a/cocos2d/CCProgressNode.h +++ b/cocos2d-ui/CCProgressNode.h @@ -26,6 +26,7 @@ #import #import "CCSprite.h" +#import "CCActionProgressTimer.h" /** Progress Node type used by CCProgressNode. */ typedef NS_ENUM(NSUInteger, CCProgressNodeType) { diff --git a/cocos2d/CCProgressNode.m b/cocos2d-ui/CCProgressNode.m similarity index 98% rename from cocos2d/CCProgressNode.m rename to cocos2d-ui/CCProgressNode.m index 2f317d64be2..ced8b071101 100644 --- a/cocos2d/CCProgressNode.m +++ b/cocos2d-ui/CCProgressNode.m @@ -30,13 +30,7 @@ #import "CCTextureCache.h" #import "CCShader.h" #import "CCDirector.h" -#import "Support/CGPointExtension.h" -#import "CCSprite_Private.h" - -#import "CCNode_Private.h" -#import "CCProgressNode_Private.h" - -#import "CCTexture_Private.h" +#import "CGPointExtension.h" @implementation CCProgressNode { CCProgressNodeType _type; diff --git a/cocos2d-ui/CCScrollView.h b/cocos2d-ui/CCScrollView.h index 4735004df1c..be1a2c50be7 100644 --- a/cocos2d-ui/CCScrollView.h +++ b/cocos2d-ui/CCScrollView.h @@ -99,6 +99,13 @@ it captures user input, so one major issue would be to allow user interaction on the game world's contents and converting coordinates of touch input to the actual scroll location. For "correct" game world scrolling, please find a solution better suited to the purpose. For one such solution and more details about CCScrollView in general please refer to the [Learn SpriteBuilder book](http://www.apress.com/learn-spritebuilder-for-ios-game-development). */ + +// Enable this if you want your node to trigger delegate calls on start and end of progamming animations +// Maybe useful in single-axis scroll views, mainly in UI. +#ifndef CC_ENABLE_DELEGATE_CALLS_DURING_ANIMATIONS +#define CC_ENABLE_DELEGATE_CALLS_DURING_ANIMATIONS 0 +#endif + #if __CC_PLATFORM_IOS // Class definition for iOS diff --git a/cocos2d-ui/CCScrollView.m b/cocos2d-ui/CCScrollView.m old mode 100644 new mode 100755 index 9541c32a243..45d6b02f0be --- a/cocos2d-ui/CCScrollView.m +++ b/cocos2d-ui/CCScrollView.m @@ -29,20 +29,12 @@ #import "CCActionEase.h" #import "CCActionInstant.h" #import "CCResponderManager.h" -#import "CCTouch.h" - +#import "UITouch+CC.h" #if __CC_PLATFORM_IOS #import -#elif __CC_PLATFORM_ANDROID - -#import "CCActivity.h" -#import "CCGestureListener.h" -#import -#import - #elif __CC_PLATFORM_MAC #endif @@ -173,10 +165,6 @@ @implementation CCScrollView { #if __CC_PLATFORM_MAC CGPoint _lastPosition; -#elif __CC_PLATFORM_ANDROID - CCGestureListener *_listener; - AndroidGestureDetector *_detector; - CGPoint _rawScrollTranslation; #endif } @@ -219,14 +207,7 @@ - (id) initWithContentNode:(CCNode*)contentNode _panRecognizer.delegate = self; _tapRecognizer.delegate = self; -#elif __CC_PLATFORM_ANDROID - dispatch_async(dispatch_get_main_queue(), ^{ - _listener = [[CCGestureListener alloc] init]; - _listener.delegate = (id)self; - _detector = [[AndroidGestureDetector alloc] initWithContext:[CCActivity currentActivity] onGestureListener:_listener]; - }); #elif __CC_PLATFORM_MAC - // Use scroll wheel self.userInteractionEnabled = YES; #endif @@ -363,14 +344,15 @@ - (void) setScrollPosition:(CGPoint)newPos animated:(BOOL)animated // Check bounds newPos.x = MAX(MIN(newPos.x, self.maxScrollX), self.minScrollX); newPos.y = MAX(MIN(newPos.y, self.maxScrollY), self.minScrollY); - - [self updateAndroidScrollTranslation:newPos]; BOOL xMoved = (newPos.x != self.scrollPosition.x); BOOL yMoved = (newPos.y != self.scrollPosition.y); if (animated) { +#if CC_ENABLE_DELEGATE_CALLS_DURING_ANIMATIONS + [self scrollViewWillBeginDragging]; +#endif CGPoint oldPos = self.scrollPosition; float dist = ccpDistance(newPos, oldPos); @@ -390,6 +372,7 @@ - (void) setScrollPosition:(CGPoint)newPos animated:(BOOL)animated CCActionCallFunc* callFunc = [CCActionCallFunc actionWithTarget:self selector:@selector(xAnimationDone)]; action = [CCActionSequence actions:action, callFunc, nil]; action.tag = kCCScrollViewActionXTag; + [_contentNode stopActionByTag:kCCScrollViewActionXTag]; [_contentNode runAction:action]; } if (yMoved) @@ -406,8 +389,10 @@ - (void) setScrollPosition:(CGPoint)newPos animated:(BOOL)animated CCActionCallFunc* callFunc = [CCActionCallFunc actionWithTarget:self selector:@selector(yAnimationDone)]; action = [CCActionSequence actions:action, callFunc, nil]; action.tag = kCCScrollViewActionYTag; + [_contentNode stopActionByTag:kCCScrollViewActionYTag]; [_contentNode runAction:action]; } + } else { @@ -420,14 +405,6 @@ - (void) setScrollPosition:(CGPoint)newPos animated:(BOOL)animated } } -- (void)updateAndroidScrollTranslation:(CGPoint)worldPosition -{ -#if __CC_PLATFORM_ANDROID - _rawScrollTranslation = [self convertToWindowSpace:CGPointMake(-worldPosition.x, worldPosition.y)]; -#endif -} - - - (void) xAnimationDone { _animatingX = NO; @@ -491,7 +468,11 @@ - (void) update:(CCTime)df } else { #if __CC_PLATFORM_IOS - if ( _decelerating && !(_animatingX || _animatingY)) { + if ( _decelerating +#if !CC_ENABLE_DELEGATE_CALLS_DURING_ANIMATIONS + && !(_animatingX || _animatingY) +#endif + ) { [self scrollViewDidEndDecelerating]; _decelerating = NO; } @@ -510,8 +491,6 @@ - (void) update:(CCTime)df CGPoint delta = ccpMult(_velocity, df); _contentNode.position = ccpAdd(_contentNode.position, delta); - - [self updateAndroidScrollTranslation:CGPointMake(_contentNode.position.x * -1, _contentNode.position.y * -1)]; // Deaccelerate layer float deaccelerationX = kCCScrollViewDeacceleration; @@ -761,6 +740,13 @@ - (BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldRecogni return (otherGestureRecognizer == _panRecognizer || otherGestureRecognizer == _tapRecognizer); } +- (BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer +shouldRequireFailureOfGestureRecognizer:(UIGestureRecognizer *)otherGestureRecognizer +{ + return true; +} + + - (void) onEnterTransitionDidFinish { NSAssert(_panRecognizer.view == nil && _tapRecognizer.view == nil, @"CCScrollView: Probable double call into onEnterTransitionDidFinish - gesture recognizers are already added"); @@ -797,261 +783,6 @@ - (void) onExitTransitionDidStart [super onExitTransitionDidStart]; } -#elif __CC_PLATFORM_ANDROID - -- (void) onEnterTransitionDidFinish -{ - dispatch_async(dispatch_get_main_queue(), ^{ - if(_detector) - { - [[[CCDirector sharedDirector] view] addGestureDetector:_detector]; - } - }); - [super onEnterTransitionDidFinish]; -} - -- (void) onExitTransitionDidStart -{ - dispatch_async(dispatch_get_main_queue(), ^{ - if(_detector) - { - [[[CCDirector sharedDirector] view] removeGestureDetector:_detector]; - } - }); - - [super onExitTransitionDidStart]; -} - -- (CCTouchPhase)handleGestureEvent:(AndroidMotionEvent *)start end:(AndroidMotionEvent *)end -{ - CCTouchPhase phase = CCTouchPhaseStationary; - switch (start.action & AndroidMotionEventActionMask) { - case AndroidMotionEventActionPointerDown: - case AndroidMotionEventActionDown: - phase = CCTouchPhaseBegan; - break; - case AndroidMotionEventActionMove: - phase = CCTouchPhaseMoved; - break; - case AndroidMotionEventActionPointerUp: - case AndroidMotionEventActionUp: - phase = CCTouchPhaseEnded; - break; - case AndroidMotionEventActionCancel: - phase = CCTouchPhaseCancelled; - break; - default: - phase = CCTouchPhaseStationary; - } - switch (end.action & AndroidMotionEventActionMask) { - case AndroidMotionEventActionPointerDown: - case AndroidMotionEventActionDown: - phase = CCTouchPhaseBegan; - break; - case AndroidMotionEventActionMove: - phase = CCTouchPhaseMoved; - break; - case AndroidMotionEventActionPointerUp: - case AndroidMotionEventActionUp: - phase = CCTouchPhaseEnded; - break; - case AndroidMotionEventActionCancel: - phase = CCTouchPhaseCancelled; - break; - default: - phase = CCTouchPhaseStationary; - } - - return phase; -} - -- (BOOL)onScroll:(AndroidMotionEvent *)start end:(AndroidMotionEvent *)end distanceX:(float)dx distanceY:(float)dy -{ - _isPanning = YES; - _velocity = CGPointZero; - - // Note about start and end events: We will get a CCTouchPhaseBegan for the start event, followed by CCTouchPhaseMoved in the end event - CCTouchPhase phase = [self handleGestureEvent:start end:end]; - - if(phase == CCTouchPhaseCancelled || phase == CCTouchPhaseEnded) - _rawScrollTranslation = CGPointMake(0.0f, 0.0f); - - float scaleFactor = [[CCDirector sharedDirector] view].contentScaleFactor; - - dx /= scaleFactor; - dy /= scaleFactor; - - _rawScrollTranslation.x -= dx; - _rawScrollTranslation.y -= dy; - - CCDirector* dir = [CCDirector sharedDirector]; - [[CCActivity currentActivity] runOnGameThread:^{ - - CGPoint translation = [dir convertToGL:_rawScrollTranslation]; - translation = [self convertToNodeSpace:translation]; - - if (phase == CCTouchPhaseBegan) - { - [self scrollViewWillBeginDragging]; - _animatingX = NO; - _animatingY = NO; - _rawTranslationStart = translation; - _startScrollPos = self.scrollPosition; - - _isPanning = YES; - [_contentNode stopActionByTag:kCCScrollViewActionXTag]; - [_contentNode stopActionByTag:kCCScrollViewActionYTag]; - } - else if (phase == CCTouchPhaseMoved) - { - // Calculate the translation in node space - CGPoint trans = ccpSub(_rawTranslationStart, translation); - - // Check if scroll directions has been disabled - if (!_horizontalScrollEnabled) trans.x = 0; - if (!_verticalScrollEnabled) trans.y = 0; - - if (_flipYCoordinates) trans.y = -trans.y; - - // Check bounds - CGPoint newPos = ccpAdd(_startScrollPos, trans); - - // Update position - [self panLayerToTarget:newPos]; - - } - else if (phase == CCTouchPhaseEnded) - { - // stub - } - else if (phase == CCTouchPhaseCancelled) - { - _isPanning = NO; - _velocity = CGPointZero; - _animatingX = NO; - _animatingY = NO; - - [self setScrollPosition:self.scrollPosition animated:NO]; - } - } waitUntilDone:YES]; - return YES; -} - -- (BOOL)onFling:(AndroidMotionEvent *)start end:(AndroidMotionEvent *)end velocityX:(float)vx velocityY:(float)vy -{ - static CGPoint rawTranslationFling; - - CCTouchPhase phase = [self handleGestureEvent:start end:end]; - - if(phase == CCTouchPhaseCancelled || phase == CCTouchPhaseEnded) - rawTranslationFling = CGPointMake(0.0f, 0.0f); - - float scaleFactor = [[CCDirector sharedDirector] view].contentScaleFactor; - float x0 = [start xForPointerIndex:0] / scaleFactor; - float x1 = [end xForPointerIndex:0] / scaleFactor; - - float y0 = [start yForPointerIndex:0] / scaleFactor; - float y1 = [end yForPointerIndex:0] / scaleFactor; - - int64_t t0 = start.eventTime; - int64_t t1 = end.eventTime; - - vx /= scaleFactor; - vy /= scaleFactor; - - float dx = (x1 - x0) / scaleFactor; - float dy = (y1 - y0) / scaleFactor; - - CGPoint velocityRaw = CGPointMake(vx, vy); - rawTranslationFling.x -= dx / scaleFactor; - rawTranslationFling.y -= dy / scaleFactor; - - CCDirector* dir = [CCDirector sharedDirector]; - [[CCActivity currentActivity] runOnGameThread:^{ - - CGPoint translation = [dir convertToGL:rawTranslationFling]; - translation = [self convertToNodeSpace:translation]; - - if (phase == CCTouchPhaseBegan) - { - [self scrollViewWillBeginDragging]; - } - else if (phase == CCTouchPhaseMoved) - { - // stub - } - else if (phase == CCTouchPhaseEnded) - { - // Calculate the velocity in node space - CGPoint ref = [dir convertToGL:CGPointZero]; - ref = [self convertToNodeSpace:ref]; - - CGPoint velocity = [dir convertToGL:velocityRaw]; - velocity = [self convertToNodeSpace:velocity]; - - _velocity = ccpSub(velocity, ref); - if (_flipYCoordinates) _velocity.y = -_velocity.y; - - // Check if scroll directions has been disabled - if (!_horizontalScrollEnabled) _velocity.x = 0; - if (!_verticalScrollEnabled) _velocity.y = 0; - [self scrollViewDidEndDraggingAndWillDecelerate:!CGPointEqualToPoint(_velocity, CGPointZero)]; - - // Setup a target if paging is enabled - if (_pagingEnabled) - { - CGPoint posTarget = CGPointZero; - - // Calculate new horizontal page - int pageX = roundf(self.scrollPosition.x/self.contentSizeInPoints.width); - - if (fabs(_velocity.x) >= kCCScrollViewAutoPageSpeed && _horizontalPage == pageX) - { - if (_velocity.x < 0) pageX += 1; - else pageX -= 1; - } - - pageX = clampf(pageX, 0, self.numHorizontalPages -1); - _horizontalPage = pageX; - - posTarget.x = pageX * self.contentSizeInPoints.width; - - // Calculate new vertical page - int pageY = roundf(self.scrollPosition.y/self.contentSizeInPoints.height); - - if (fabs(_velocity.y) >= kCCScrollViewAutoPageSpeed && _verticalPage == pageY) - { - if (_velocity.y < 0) pageY += 1; - else pageY -= 1; - } - - pageY = clampf(pageY, 0, self.numVerticalPages -1); - _verticalPage = pageY; - - posTarget.y = pageY * self.contentSizeInPoints.height; - - [self setScrollPosition:posTarget animated:YES]; - - _velocity = CGPointZero; - } - [self scrollViewWillBeginDecelerating]; - - _decelerating = YES; - _isPanning = NO; - } - else if (phase == CCTouchPhaseCancelled) - { - _isPanning = NO; - _velocity = CGPointZero; - _animatingX = NO; - _animatingY = NO; - - [self setScrollPosition:self.scrollPosition animated:NO]; - } - } waitUntilDone:YES]; - return YES; -} - #elif __CC_PLATFORM_MAC #define kCCScrollViewMinPagingDelta 7 diff --git a/cocos2d-ui/CCSlider.m b/cocos2d-ui/CCSlider.m index 73fdb6a9c3f..5e69a8c563a 100644 --- a/cocos2d-ui/CCSlider.m +++ b/cocos2d-ui/CCSlider.m @@ -8,7 +8,7 @@ #import "CCSlider.h" #import "CCControlSubclass.h" -#import "CCTouch.h" +#include "UITouch+CC.h" @interface CCSlider (Inputs) - (void) inputEnteredWithWorlPos:(CGPoint)worldLocation; @@ -73,7 +73,7 @@ - (void) updateSliderPositionFromValue _handle.position = ccp(_endStop + ((size.width - (2 * _endStop)) * _sliderValue), size.height * 0.5); } -#if __CC_PLATFORM_IOS || __CC_PLATFORM_ANDROID +#if __CC_PLATFORM_IOS #pragma mark Handle touches diff --git a/cocos2d-ui/CCTableView.h b/cocos2d-ui/CCTableView.h old mode 100644 new mode 100755 index 046a949e748..1fd0da62bb1 --- a/cocos2d-ui/CCTableView.h +++ b/cocos2d-ui/CCTableView.h @@ -27,13 +27,26 @@ @class CCButton; @class CCTableView; + +#pragma mark CCTableViewCellProtocol + +/** Requirements for implementing a custom Table View Cell. + Note that the custom cell MUST inherit CCNode.*/ + +@protocol CCTableViewCellProtocol + +@property (nonatomic, assign) NSUInteger index; +- (void) pressedCell:(id)sender; + +@end + #pragma mark CCTableViewCell /** Represents a cell in a CCTableView. It is essentially a thin wrapper around CCButton that allows the user to interact with the cell. You can add any node(s) as content to the cell. */ -@interface CCTableViewCell : CCNode +@interface CCTableViewCell : CCNode { - NSUInteger _index; + } /** The CCButton instance used to allow interaction with the cell. */ @@ -56,7 +69,7 @@ @param tableView The CCTableView that is requesting a cell for the index. @param index The index of the cell that is requested. @returns The CCTableViewCell for the given index. */ -- (CCTableViewCell*) tableView:(CCTableView*)tableView nodeForRowAtIndex:(NSUInteger) index; +- (id) tableView:(CCTableView*)tableView nodeForRowAtIndex:(NSUInteger) index; /** Requests the number of rows in the given table view. @param tableView The CCTableView for which the number of rows should be returned. @returns The number of rows in the table view. */ @@ -211,5 +224,6 @@ @param target The object that should receive the selector. @param selector The selector to run, ie `@selector(onRowSelected:)`. */ -(void) setTarget:(id)target selector:(SEL)selector; +-(void) selectedRow:(NSUInteger)row; @end diff --git a/cocos2d-ui/CCTableView.m b/cocos2d-ui/CCTableView.m old mode 100644 new mode 100755 index dcb05face0f..1f322444f9b --- a/cocos2d-ui/CCTableView.m +++ b/cocos2d-ui/CCTableView.m @@ -38,7 +38,7 @@ - (void) selectedRow:(NSUInteger) row; @interface CCTableViewCellHolder : NSObject -@property (nonatomic,strong) CCTableViewCell* cell; +@property (nonatomic,strong) id cell; @end @@ -67,12 +67,13 @@ - (void) setPosition:(CGPoint)position @interface CCTableViewCell (Helper) -@property (nonatomic,assign) NSUInteger index; - @end + @implementation CCTableViewCell +@synthesize index; + - (id) init { self = [super init]; @@ -94,16 +95,6 @@ - (void) pressedCell:(id)sender [(CCTableView*)(self.parent.parent) selectedRow:self.index]; } -- (void) setIndex:(NSUInteger)index -{ - _index = index; -} - -- (NSUInteger) index -{ - return _index; -} - @end @@ -244,7 +235,7 @@ - (void) showRowsForRange:(NSRange)range CCTableViewCellHolder* holder = [_rows objectAtIndex:oldIdx]; if (holder) { - [self.contentNode removeChild:holder.cell cleanup:YES]; + [self.contentNode removeChild:(CCNode*)holder.cell cleanup:YES]; holder.cell = NULL; } } @@ -255,18 +246,23 @@ - (void) showRowsForRange:(NSRange)range if (!NSLocationInRange(newIdx, _currentlyVisibleRange)) { CCTableViewCellHolder* holder = [_rows objectAtIndex:newIdx]; + CCNode* node; if (!holder.cell) { holder.cell = [_dataSource tableView:self nodeForRowAtIndex:newIdx]; holder.cell.index = newIdx; - holder.cell.position = CGPointMake(0, [self locationForCellWithIndex:newIdx]); - holder.cell.positionType = CCPositionTypeMake(CCPositionUnitPoints, CCPositionUnitPoints, CCPositionReferenceCornerTopLeft); - holder.cell.anchorPoint = CGPointMake(0, 1); + + node = (CCNode*)holder.cell; + node.position = CGPointMake(0, [self locationForCellWithIndex:newIdx]); + node.positionType = CCPositionTypeMake(CCPositionUnitPoints, CCPositionUnitPoints, CCPositionReferenceCornerTopLeft); + node.anchorPoint = CGPointMake(0, 1); + } else { + node = (CCNode*)holder.cell; } if (holder.cell) { - [self.contentNode addChild:holder.cell]; + [self.contentNode addChild:node]; } } } @@ -395,7 +391,7 @@ - (void) setTarget:(id)target selector:(SEL)selector }]; } -- (void) selectedRow:(NSUInteger) row +- (void) selectedRow:(NSUInteger)row { self.selectedRow = row; [self triggerAction]; diff --git a/cocos2d-ui/CCTextField.h b/cocos2d-ui/CCTextField.h index 936fb0e5cbb..be4237892f9 100644 --- a/cocos2d-ui/CCTextField.h +++ b/cocos2d-ui/CCTextField.h @@ -27,18 +27,11 @@ #import "CCPlatformTextField.h" -#if __CC_PLATFORM_ANDROID -#import -#endif - - @class CCPlatformTextField; /** A text field is used for editing text. It is implemented by encapsulating the platform's native text field ([NSTextField](https://developer.apple.com/library/mac/Documentation/Cocoa/Reference/ApplicationKit/Classes/NSTextField_Class/index.html#//apple_ref/doc/uid/20000128-SW2) - on Mac and [UITextField](https://developer.apple.com/library/ios/documentation/Uikit/reference/UITextField_Class/index.html) on iOS and - [EditText](http://developer.android.com/reference/android/widget/EditText.html) on Android). - + on Mac and [UITextField](https://developer.apple.com/library/ios/documentation/Uikit/reference/UITextField_Class/index.html) on iOS. An action callback will be sent when the user is done editing the text (clicks/taps outside) or when the return key is pressed. A CCSprite9Slice is used a the text field's background image. @@ -77,17 +70,14 @@ /** @name Accessing the Platform-Specific Text Field */ -/** The platform-native text field object. On iOS it's a UITextField, on OS X it's a NSTextField, on Android it's a EditText. +/** The platform-native text field object. On iOS it's a UITextField, on OS X it's a NSTextField. @see [UITextField](https://developer.apple.com/library/ios/documentation/Uikit/reference/UITextField_Class/index.html) @see [NSTextField](https://developer.apple.com/library/mac/Documentation/Cocoa/Reference/ApplicationKit/Classes/NSTextField_Class/index.html#//apple_ref/doc/uid/20000128-SW2) - @see [EditText](http://developer.android.com/reference/android/widget/EditText.html) */ #if __CC_PLATFORM_IOS @property (nonatomic,readonly) UITextField* textField; #elif __CC_PLATFORM_MAC @property (nonatomic,readonly) NSTextField* textField; -#elif __CC_PLATFORM_ANDROID -@property (nonatomic,readonly) AndroidEditText* textField; #endif // purposefully undocumented: internal property diff --git a/cocos2d-ui/CCTextField.m b/cocos2d-ui/CCTextField.m index 9c2ae6c20d5..2409701a9aa 100644 --- a/cocos2d-ui/CCTextField.m +++ b/cocos2d-ui/CCTextField.m @@ -24,14 +24,12 @@ #import "CCTextField.h" #import "CCControlSubclass.h" -#import "CCDirector_Private.h" +#import "CCDirector.h" #import "CCPlatformTextField.h" #if __CC_PLATFORM_IOS #import "CCPlatformTextFieldIOS.h" #elif __CC_PLATFORM_MAC #import "CCPlatformTextFieldMac.h" -#elif __CC_PLATFORM_ANDROID -#import "CCPlatformTextFieldAndroid.h" #endif @implementation CCTextField { @@ -66,8 +64,6 @@ - (id) initWithSpriteFrame:(CCSpriteFrame*)frame #if __CC_PLATFORM_IOS _platformTextField = [[CCPlatformTextFieldIOS alloc] init]; -#elif __CC_PLATFORM_ANDROID - _platformTextField = [[CCPlatformTextFieldAndroid alloc] init]; #elif __CC_PLATFORM_MAC _platformTextField = [[CCPlatformTextFieldMac alloc] init]; #endif @@ -155,20 +151,8 @@ - (void) layout [super layout]; } -- (void) setEnabled:(BOOL)enabled { -//#if !__CC_PLATFORM_ANDROID -// _textField.enabled = enabled; -//#endif - [super setEnabled:enabled]; -} - - - - #pragma mark Properties - - - (void) setBackgroundSpriteFrame:(CCSpriteFrame*)spriteFrame { _background.spriteFrame = spriteFrame; diff --git a/cocos2d-ui/Platform/Android/CCPlatformTextFieldAndroid.h b/cocos2d-ui/Platform/Android/CCPlatformTextFieldAndroid.h deleted file mode 100644 index 8f5d8fdf0b1..00000000000 --- a/cocos2d-ui/Platform/Android/CCPlatformTextFieldAndroid.h +++ /dev/null @@ -1,13 +0,0 @@ -// -// CCPlatformTextFieldAndroid.h -// cocos2d-osx -// -// Created by Sergey Klimov on 7/1/14. -// -// - -#import "CCPlatformTextField.h" - -@interface CCPlatformTextFieldAndroid : CCPlatformTextField - -@end diff --git a/cocos2d-ui/Platform/Android/CCPlatformTextFieldAndroid.m b/cocos2d-ui/Platform/Android/CCPlatformTextFieldAndroid.m deleted file mode 100644 index 40a856f5d41..00000000000 --- a/cocos2d-ui/Platform/Android/CCPlatformTextFieldAndroid.m +++ /dev/null @@ -1,115 +0,0 @@ -// -// CCPlatformTextFieldAndroid.m -// cocos2d-osx -// -// Created by Sergey Klimov on 7/1/14. -// -// - -#import "CCPlatformTextFieldAndroid.h" -#import "CCActivity.h" -#import -#import "CCControl.h" -#import "CCDirector.h" -#import "CCEditText.h" - -#import -#import -#import - -#import -#import - -@implementation CCPlatformTextFieldAndroid { - CCEditText *_editText; -} - -- (id) init { - if (self=[super init]) { - dispatch_async(dispatch_get_main_queue(), ^{ - _editText = [[CCEditText alloc] initWithContext:[CCActivity currentActivity]]; - [_editText setBackground:[[AndroidColorDrawable alloc] initWithColor:AndroidColorTransparent]]; - [_editText setTextColorByColor:AndroidColorBlack]; - }); - - } - return self; -} - -- (void)dealloc -{ - _editText = nil; -} - -- (void)onEnterTransitionDidFinish { - [super onEnterTransitionDidFinish]; - [self addEditText]; -} - -- (void) onExitTransitionDidStart -{ - [super onExitTransitionDidStart]; - [self removeEditText]; -} - -- (void) positionInControl:(CCControl *)control padding:(float)padding { - CGPoint viewPos = [control convertToWorldSpace:CGPointZero]; - CGSize screenSize = [[CCDirector sharedDirector] viewSizeInPixels]; - CGFloat scale = [[CCDirector sharedDirector] contentScaleFactor]; - CGSize size = control.contentSizeInPoints; - - size.width *= scale; - size.height *= scale; - - viewPos.x *= scale; - viewPos.y *= scale; - viewPos.y = screenSize.height - viewPos.y - size.height; - - int nativePadding = (int)padding*scale; - dispatch_async(dispatch_get_main_queue(), ^{ - AndroidAbsoluteLayoutLayoutParams *params = [[AndroidAbsoluteLayoutLayoutParams alloc] initWithWidth:size.width height:size.height x:viewPos.x y:viewPos.y]; - [_editText setPadding:nativePadding top:nativePadding right:nativePadding bottom:nativePadding]; - [_editText setLayoutParams:params]; - [_editText setImeOptions:AndroidEditorInfoImeFlagNoExtractUi]; - }); -} - --(void)addEditText { - dispatch_async(dispatch_get_main_queue(), ^{ - AndroidAbsoluteLayout *layout = [[CCActivity currentActivity] layout]; - [layout addView:_editText]; - __weak id weakSelf = self; - [_editText setCompletionBlock:^{ - if ([[weakSelf delegate] respondsToSelector:@selector(platformTextFieldDidFinishEditing:)]) { - [[weakSelf delegate] platformTextFieldDidFinishEditing:weakSelf]; - } - }]; - }); -} - -- (void)removeEditText { - dispatch_async(dispatch_get_main_queue(), ^{ - AndroidAbsoluteLayout *layout = [[CCActivity currentActivity] layout]; - [layout removeView:_editText]; - }); -} - -- (void)setFontSize:(float)fontSize { - dispatch_async(dispatch_get_main_queue(), ^{ - [_editText setTextSize:fontSize]; - }); -} - -- (void)setString:(NSString *)string { - dispatch_async(dispatch_get_main_queue(), ^{ - [_editText setText:string]; - }); -} - -- (NSString *)string { - NSString *str = [_editText.text description]; - return str; -} - - -@end diff --git a/cocos2d-ui/Platform/Android/java/CCEditText.h b/cocos2d-ui/Platform/Android/java/CCEditText.h deleted file mode 100644 index 3b4fbdae5c2..00000000000 --- a/cocos2d-ui/Platform/Android/java/CCEditText.h +++ /dev/null @@ -1,21 +0,0 @@ -// -// CCEditText.h -// cocos2d-ios -// -// Created by Sergey Klimov on 8/5/14. -// -// - -#import - -@class AndroidContext; -@class AndroidKeyEvent; - -typedef void (^CCEditTextCompletionBlock)(void); - -BRIDGE_CLASS("com.apportable.GLEditText") -@interface CCEditText : GLEditText -- (id)initWithContext:(AndroidContext *)context; -- (BOOL)onKeyPreIme:(int32_t)keyCode keyEvent:(AndroidKeyEvent *)event; -- (void)setCompletionBlock:(CCEditTextCompletionBlock)completionBlock; -@end diff --git a/cocos2d-ui/Platform/Android/java/CCEditText.m b/cocos2d-ui/Platform/Android/java/CCEditText.m deleted file mode 100644 index 1b1c3fac021..00000000000 --- a/cocos2d-ui/Platform/Android/java/CCEditText.m +++ /dev/null @@ -1,38 +0,0 @@ -// -// CCEditText.m -// cocos2d-ios -// -// Created by Sergey Klimov on 8/5/14. -// -// - -#import "CCEditText.h" - -#import -#import - -@implementation CCEditText { - CCEditTextCompletionBlock _completionBlock; -} - -- (BOOL)onKeyPreIme:(int32_t)keyCode keyEvent:(AndroidKeyEvent *)event { - if (keyCode == AndroidKeyEventKeycodeBack || [event action] == AndroidKeyEventActionUp) { - if (_completionBlock != nil) { - _completionBlock(); - } - - return NO; - } - return [self dispatchKeyEvent:event]; - -} - -- (void) setCompletionBlock:(CCEditTextCompletionBlock)completionBlock { - _completionBlock = [completionBlock copy]; -} - -- (void)dealloc { - [_completionBlock release]; - [super dealloc]; -} -@end diff --git a/cocos2d-ui/Platform/Mac/CCPlatformTextFieldMac.m b/cocos2d-ui/Platform/Mac/CCPlatformTextFieldMac.m index fae2be306ef..146cc65257b 100644 --- a/cocos2d-ui/Platform/Mac/CCPlatformTextFieldMac.m +++ b/cocos2d-ui/Platform/Mac/CCPlatformTextFieldMac.m @@ -58,6 +58,11 @@ - (BOOL)control:(NSControl *)control textShouldEndEditing:(NSText *)fieldEditor return YES; } +- (id)nativeTextField +{ + return _textField; +} + - (void)setFontSize:(float)fontSize { NSFont* font = _textField.font; _textField.font = [NSFont fontWithName:font.fontName size:fontSize]; diff --git a/cocos2d-ui/Platform/iOS/CCPlatformTextFieldIOS.m b/cocos2d-ui/Platform/iOS/CCPlatformTextFieldIOS.m index a75fa358179..768ee84b8e2 100644 --- a/cocos2d-ui/Platform/iOS/CCPlatformTextFieldIOS.m +++ b/cocos2d-ui/Platform/iOS/CCPlatformTextFieldIOS.m @@ -164,10 +164,6 @@ - (void)keyboardWasShown:(NSNotification*)notification BOOL focusOnTextField = _textField.isEditing; -#if __CC_PLATFORM_ANDROID - focusOnTextField = _textFieldIsEditing; -#endif - if (focusOnTextField) { [self focusOnTextField]; @@ -177,17 +173,10 @@ - (void)keyboardWasShown:(NSNotification*)notification - (void) keyboardWillBeHidden:(NSNotification*) notification { _keyboardIsShown = NO; - BOOL focusOnTextField = _textField.isEditing; - -#if __CC_PLATFORM_ANDROID - focusOnTextField = _textFieldIsEditing; -#endif - + if (focusOnTextField) - { [self endFocusingOnTextField]; - } } @@ -196,13 +185,6 @@ - (void) keyboardWillBeHidden:(NSNotification*) notification - (void) focusOnTextField { -#if __CC_PLATFORM_ANDROID - // Ensure that all textfields have actually been positioned before checkings textField.frame property, - // it's possible for the apportable keyboard notification to be fired before the mainloop has had a chance to kick of a scheduler update - CCDirector *director = [CCDirector sharedDirector]; - [director.scheduler update:0.0]; -#endif - CGSize windowSize = [[CCDirector sharedDirector] viewSize]; // Find the location of the textField @@ -221,13 +203,6 @@ - (void) focusOnTextField if (offset < -_keyboardHeight) offset = -_keyboardHeight; -#if __CC_PLATFORM_ANDROID - // Apportable does not support changing the openglview position, so we will just change the current scenes position instead - CCScene *runningScene = [[CCDirector sharedDirector] runningScene]; - CGPoint newPosition = runningScene.position; - newPosition.y = (offset * -1); - runningScene.position = newPosition; -#else // Calcualte target frame UIView* view = [[CCDirector sharedDirector] view]; CGRect frame = view.frame; @@ -240,7 +215,6 @@ - (void) focusOnTextField view.frame = frame; [UIView commitAnimations]; -#endif } } @@ -248,13 +222,6 @@ - (void) endFocusingOnTextField { // Slide the main view back down -#if __CC_PLATFORM_ANDROID - // Apportable does not support changing the openglview position, so we will just change the current scenes position instead - CCScene *runningScene = [[CCDirector sharedDirector] runningScene]; - CGPoint newPosition = CGPointZero; - newPosition.y = 0.0f; - runningScene.position = newPosition; -#else UIView* view = [[CCDirector sharedDirector] view]; [UIView beginAnimations: @"textFieldAnim" context: nil]; [UIView setAnimationBeginsFromCurrentState: YES]; @@ -265,8 +232,6 @@ - (void) endFocusingOnTextField view.frame = frame; [UIView commitAnimations]; -#endif - } diff --git a/cocos2d-ui/cocos2d-ui.h b/cocos2d-ui/cocos2d-ui.h index 03f3ba7d2c0..3f5bf3f8e59 100644 --- a/cocos2d-ui/cocos2d-ui.h +++ b/cocos2d-ui/cocos2d-ui.h @@ -29,6 +29,10 @@ #import "CCTableView.h" #import "CCTextField.h" #import "CCSlider.h" +#import "CCProgressNode.h" +#import "CCPotentiometer.h" +#if CC_CCBREADER // CCBReader #import "CCBuilderReader.h" +#endif diff --git a/cocos2d.xcodeproj/project.pbxproj b/cocos2d.xcodeproj/project.pbxproj index 16134c22a5f..3f3ec7cdebd 100644 --- a/cocos2d.xcodeproj/project.pbxproj +++ b/cocos2d.xcodeproj/project.pbxproj @@ -23,17 +23,188 @@ /* Begin PBXBuildFile section */ 0529445D11098D6F00E500F3 /* CCProfiling.h in Headers */ = {isa = PBXBuildFile; fileRef = 0529445911098D6F00E500F3 /* CCProfiling.h */; }; 0529445E11098D6F00E500F3 /* CCProfiling.m in Sources */ = {isa = PBXBuildFile; fileRef = 0529445A11098D6F00E500F3 /* CCProfiling.m */; }; + 08A4EB6F1C7A553E00A08923 /* CCActionProgressTimer.h in Headers */ = {isa = PBXBuildFile; fileRef = 08A4EB6B1C7A553E00A08923 /* CCActionProgressTimer.h */; }; + 08A4EB701C7A553E00A08923 /* CCActionProgressTimer.h in Headers */ = {isa = PBXBuildFile; fileRef = 08A4EB6B1C7A553E00A08923 /* CCActionProgressTimer.h */; }; + 08A4EB711C7A553E00A08923 /* CCActionProgressTimer.h in Headers */ = {isa = PBXBuildFile; fileRef = 08A4EB6B1C7A553E00A08923 /* CCActionProgressTimer.h */; }; + 08A4EB721C7A553E00A08923 /* CCActionProgressTimer.m in Sources */ = {isa = PBXBuildFile; fileRef = 08A4EB6C1C7A553E00A08923 /* CCActionProgressTimer.m */; }; + 08A4EB731C7A553E00A08923 /* CCActionProgressTimer.m in Sources */ = {isa = PBXBuildFile; fileRef = 08A4EB6C1C7A553E00A08923 /* CCActionProgressTimer.m */; }; + 08A4EB741C7A553E00A08923 /* CCActionProgressTimer.m in Sources */ = {isa = PBXBuildFile; fileRef = 08A4EB6C1C7A553E00A08923 /* CCActionProgressTimer.m */; }; + 08A4EB751C7A553E00A08923 /* CCProgressNode.h in Headers */ = {isa = PBXBuildFile; fileRef = 08A4EB6D1C7A553E00A08923 /* CCProgressNode.h */; }; + 08A4EB761C7A553E00A08923 /* CCProgressNode.h in Headers */ = {isa = PBXBuildFile; fileRef = 08A4EB6D1C7A553E00A08923 /* CCProgressNode.h */; }; + 08A4EB771C7A553E00A08923 /* CCProgressNode.h in Headers */ = {isa = PBXBuildFile; fileRef = 08A4EB6D1C7A553E00A08923 /* CCProgressNode.h */; }; + 08A4EB781C7A553E00A08923 /* CCProgressNode.m in Sources */ = {isa = PBXBuildFile; fileRef = 08A4EB6E1C7A553E00A08923 /* CCProgressNode.m */; }; + 08A4EB791C7A553E00A08923 /* CCProgressNode.m in Sources */ = {isa = PBXBuildFile; fileRef = 08A4EB6E1C7A553E00A08923 /* CCProgressNode.m */; }; + 08A4EB7A1C7A553E00A08923 /* CCProgressNode.m in Sources */ = {isa = PBXBuildFile; fileRef = 08A4EB6E1C7A553E00A08923 /* CCProgressNode.m */; }; + 08A4EB7D1C7A563900A08923 /* CCPotentiometer.h in Headers */ = {isa = PBXBuildFile; fileRef = 08A4EB7B1C7A563900A08923 /* CCPotentiometer.h */; }; + 08A4EB7E1C7A563900A08923 /* CCPotentiometer.h in Headers */ = {isa = PBXBuildFile; fileRef = 08A4EB7B1C7A563900A08923 /* CCPotentiometer.h */; }; + 08A4EB7F1C7A563900A08923 /* CCPotentiometer.h in Headers */ = {isa = PBXBuildFile; fileRef = 08A4EB7B1C7A563900A08923 /* CCPotentiometer.h */; }; + 08A4EB801C7A563900A08923 /* CCPotentiometer.m in Sources */ = {isa = PBXBuildFile; fileRef = 08A4EB7C1C7A563900A08923 /* CCPotentiometer.m */; }; + 08A4EB811C7A563900A08923 /* CCPotentiometer.m in Sources */ = {isa = PBXBuildFile; fileRef = 08A4EB7C1C7A563900A08923 /* CCPotentiometer.m */; }; + 08A4EB821C7A563900A08923 /* CCPotentiometer.m in Sources */ = {isa = PBXBuildFile; fileRef = 08A4EB7C1C7A563900A08923 /* CCPotentiometer.m */; }; + 08F4AAB01C6E98A1004DAAF7 /* NSValue+CCRenderer.m in Sources */ = {isa = PBXBuildFile; fileRef = D34CAD6219C3A0FD009BED7A /* NSValue+CCRenderer.m */; }; + 08F4AAB11C6E98A1004DAAF7 /* CCAction.m in Sources */ = {isa = PBXBuildFile; fileRef = 5018F2530DFDEAFF00C013A5 /* CCAction.m */; }; + 08F4AAB21C6E98A1004DAAF7 /* CCNode.m in Sources */ = {isa = PBXBuildFile; fileRef = 5018F2550DFDEAFF00C013A5 /* CCNode.m */; }; + 08F4AAB31C6E98A1004DAAF7 /* CCDirector.m in Sources */ = {isa = PBXBuildFile; fileRef = 5018F2570DFDEAFF00C013A5 /* CCDirector.m */; }; + 08F4AAB41C6E98A1004DAAF7 /* CCActionInstant.m in Sources */ = {isa = PBXBuildFile; fileRef = 5018F2590DFDEAFF00C013A5 /* CCActionInstant.m */; }; + 08F4AAB51C6E98A1004DAAF7 /* CCActionInterval.m in Sources */ = {isa = PBXBuildFile; fileRef = 5018F25B0DFDEAFF00C013A5 /* CCActionInterval.m */; }; + 08F4AAB71C6E98A1004DAAF7 /* CCLabelTTF.m in Sources */ = {isa = PBXBuildFile; fileRef = 5018F25D0DFDEAFF00C013A5 /* CCLabelTTF.m */; }; + 08F4AAB81C6E98A1004DAAF7 /* CCNodeColor.m in Sources */ = {isa = PBXBuildFile; fileRef = 5018F25F0DFDEAFF00C013A5 /* CCNodeColor.m */; }; + 08F4AAB91C6E98A1004DAAF7 /* CCScene.m in Sources */ = {isa = PBXBuildFile; fileRef = 5018F2610DFDEAFF00C013A5 /* CCScene.m */; }; + 08F4AABA1C6E98A1004DAAF7 /* CCTextureCache.m in Sources */ = {isa = PBXBuildFile; fileRef = 5018F2680DFDEAFF00C013A5 /* CCTextureCache.m */; }; + 08F4AABB1C6E98A1004DAAF7 /* CCMetalSupport.m in Sources */ = {isa = PBXBuildFile; fileRef = D31C794F19994126007921E1 /* CCMetalSupport.m */; }; + 08F4AABC1C6E98A1004DAAF7 /* CCScheduler.m in Sources */ = {isa = PBXBuildFile; fileRef = 506602100E38A70D000B500E /* CCScheduler.m */; }; + 08F4AABD1C6E98A1004DAAF7 /* cocos2d.m in Sources */ = {isa = PBXBuildFile; fileRef = 50A07B7A0E4CBCD300AAF0BB /* cocos2d.m */; }; + 08F4AABE1C6E98A1004DAAF7 /* TGAlib.m in Sources */ = {isa = PBXBuildFile; fileRef = 501CCFAB0E99657C00B86F68 /* TGAlib.m */; }; + 08F4AABF1C6E98A1004DAAF7 /* CCTextField.m in Sources */ = {isa = PBXBuildFile; fileRef = B7E260D718171D2000A0E872 /* CCTextField.m */; }; + 08F4AAC01C6E98A1004DAAF7 /* CCActionEase.m in Sources */ = {isa = PBXBuildFile; fileRef = 50F7B2770F28DE7C00057537 /* CCActionEase.m */; }; + 08F4AAC11C6E98A1004DAAF7 /* CCPlatformTextField.m in Sources */ = {isa = PBXBuildFile; fileRef = 571CD01F19649E03003D460C /* CCPlatformTextField.m */; }; + 08F4AAC21C6E98A1004DAAF7 /* CCSlider.m in Sources */ = {isa = PBXBuildFile; fileRef = B7EE6A1D181AE34600B983FE /* CCSlider.m */; }; + 08F4AAC31C6E98A1004DAAF7 /* CCSprite.m in Sources */ = {isa = PBXBuildFile; fileRef = 509A79960F6188420032F449 /* CCSprite.m */; }; + 08F4AAC41C6E98A1004DAAF7 /* CCFileUtils.m in Sources */ = {isa = PBXBuildFile; fileRef = 50C508C50F7C194400799124 /* CCFileUtils.m */; }; + 08F4AAC61C6E98A1004DAAF7 /* CGPointExtension.m in Sources */ = {isa = PBXBuildFile; fileRef = 503798C50F912C2000986724 /* CGPointExtension.m */; }; + 08F4AAC71C6E98A1004DAAF7 /* CCActionManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 50CB3B0D100AC43A00B7A750 /* CCActionManager.m */; }; + 08F4AAC81C6E98A1004DAAF7 /* CCRenderDispatch.m in Sources */ = {isa = PBXBuildFile; fileRef = D3903B0F199528A0003AA81A /* CCRenderDispatch.m */; }; + 08F4AAC91C6E98A1004DAAF7 /* CCAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = B7E775CF18527EF0004221AA /* CCAppDelegate.m */; }; + 08F4AACA1C6E98A1004DAAF7 /* CCMetalView.m in Sources */ = {isa = PBXBuildFile; fileRef = D3903B13199528B6003AA81A /* CCMetalView.m */; }; + 08F4AACB1C6E98A1004DAAF7 /* base64.c in Sources */ = {isa = PBXBuildFile; fileRef = 50F29F5510204FD60046CA73 /* base64.c */; }; + 08F4AACC1C6E98A1004DAAF7 /* ZipUtils.m in Sources */ = {isa = PBXBuildFile; fileRef = 50F2A102102094550046CA73 /* ZipUtils.m */; }; + 08F4AACD1C6E98A1004DAAF7 /* CCPlatformTextFieldIOS.m in Sources */ = {isa = PBXBuildFile; fileRef = 571CD02219649E03003D460C /* CCPlatformTextFieldIOS.m */; }; + 08F4AACE1C6E98A1004DAAF7 /* CCRenderTexture.m in Sources */ = {isa = PBXBuildFile; fileRef = 50316AA510291280003ACFE7 /* CCRenderTexture.m */; }; + 08F4AACF1C6E98A1004DAAF7 /* CCSpriteFrame.m in Sources */ = {isa = PBXBuildFile; fileRef = 50E2A14F10A45E7F00D894CE /* CCSpriteFrame.m */; }; + 08F4AAD01C6E98A1004DAAF7 /* CCSpriteFrameCache.m in Sources */ = {isa = PBXBuildFile; fileRef = 502C8BDF10A661E200D137BA /* CCSpriteFrameCache.m */; }; + 08F4AAD11C6E98A1004DAAF7 /* CCTexture.m in Sources */ = {isa = PBXBuildFile; fileRef = 50E1357210ADEB1B00C9E7FA /* CCTexture.m */; }; + 08F4AAD21C6E98A1004DAAF7 /* CCConfiguration.m in Sources */ = {isa = PBXBuildFile; fileRef = 503862D911007181005D2C92 /* CCConfiguration.m */; }; + 08F4AAD31C6E98A1004DAAF7 /* CCProfiling.m in Sources */ = {isa = PBXBuildFile; fileRef = 0529445A11098D6F00E500F3 /* CCProfiling.m */; }; + 08F4AAD51C6E98A1004DAAF7 /* CCActionTween.m in Sources */ = {isa = PBXBuildFile; fileRef = 50FBB2D9117613F500150761 /* CCActionTween.m */; }; + 08F4AAD61C6E98A1004DAAF7 /* CCSpriteBatchNode.m in Sources */ = {isa = PBXBuildFile; fileRef = E0C3655A11F0AE9B001C08F9 /* CCSpriteBatchNode.m */; }; + 08F4AAD71C6E98A1004DAAF7 /* CCNoARC.m in Sources */ = {isa = PBXBuildFile; fileRef = D3903B0C1995288D003AA81A /* CCNoARC.m */; }; + 08F4AAD81C6E98A1004DAAF7 /* ccUtils.c in Sources */ = {isa = PBXBuildFile; fileRef = E0C54DC811F9CF2700B9E4CB /* ccUtils.c */; }; + 08F4AAD91C6E98A1004DAAF7 /* CCLabelBMFont.m in Sources */ = {isa = PBXBuildFile; fileRef = E01E6D8B121F130E001A484F /* CCLabelBMFont.m */; }; + 08F4AADA1C6E98A1004DAAF7 /* CCDirectorIOS.m in Sources */ = {isa = PBXBuildFile; fileRef = E0EAD0EB121F4B4600B0C81C /* CCDirectorIOS.m */; }; + 08F4AADB1C6E98A1004DAAF7 /* CCGLView.m in Sources */ = {isa = PBXBuildFile; fileRef = E0EAD0F4121F4B4600B0C81C /* CCGLView.m */; }; + 08F4AADC1C6E98A1004DAAF7 /* CCTexturePVR.m in Sources */ = {isa = PBXBuildFile; fileRef = E0F924701224140400EF2362 /* CCTexturePVR.m */; }; + 08F4AADD1C6E98A1004DAAF7 /* CCAnimationCache.m in Sources */ = {isa = PBXBuildFile; fileRef = E02BB6D5126CA93A006E46A2 /* CCAnimationCache.m */; }; + 08F4AADE1C6E98A1004DAAF7 /* CCAnimation.m in Sources */ = {isa = PBXBuildFile; fileRef = E02BB703126CADEA006E46A2 /* CCAnimation.m */; }; + 08F4AADF1C6E98A1004DAAF7 /* CCShader.m in Sources */ = {isa = PBXBuildFile; fileRef = E0BC7D9C1342CE7B001B4DCC /* CCShader.m */; }; + 08F4AAE01C6E98A1004DAAF7 /* CCDirectorMac.m in Sources */ = {isa = PBXBuildFile; fileRef = A046E28C14C1DB7D0005BBF2 /* CCDirectorMac.m */; }; + 08F4AAE11C6E98A1004DAAF7 /* CCGLView.m in Sources */ = {isa = PBXBuildFile; fileRef = A046E29014C1DB7D0005BBF2 /* CCGLView.m */; }; + 08F4AAE21C6E98A1004DAAF7 /* CCWindow.m in Sources */ = {isa = PBXBuildFile; fileRef = A046E29214C1DB7D0005BBF2 /* CCWindow.m */; }; + 08F4AAE31C6E98A1004DAAF7 /* NSThread+performBlock.m in Sources */ = {isa = PBXBuildFile; fileRef = A0C87D1914F9A3A100C0E8B2 /* NSThread+performBlock.m */; }; + 08F4AAE41C6E98A1004DAAF7 /* CCActionCatmullRom.m in Sources */ = {isa = PBXBuildFile; fileRef = A0A7A53B1514F27D00C8BD16 /* CCActionCatmullRom.m */; }; + 08F4AAE51C6E98A1004DAAF7 /* CCRenderer.m in Sources */ = {isa = PBXBuildFile; fileRef = D38058191889AD6000822437 /* CCRenderer.m */; }; + 08F4AAE61C6E98A1004DAAF7 /* CCRendererBasicTypes.m in Sources */ = {isa = PBXBuildFile; fileRef = D34CAD6819C3A7B3009BED7A /* CCRendererBasicTypes.m */; }; + 08F4AAE71C6E98A1004DAAF7 /* CCNode+Debug.m in Sources */ = {isa = PBXBuildFile; fileRef = A039EBFE155C686B0061EE37 /* CCNode+Debug.m */; }; + 08F4AAE91C6E98A1004DAAF7 /* CCDrawNode.m in Sources */ = {isa = PBXBuildFile; fileRef = A0DA0BC215BCDCA200E80A92 /* CCDrawNode.m */; }; + 08F4AAEA1C6E98A1004DAAF7 /* CCLayout.m in Sources */ = {isa = PBXBuildFile; fileRef = B7EE69DD1819E75700B983FE /* CCLayout.m */; }; + 08F4AAEB1C6E98A1004DAAF7 /* ccFPSImages.m in Sources */ = {isa = PBXBuildFile; fileRef = A003AC8E16572D6000C7B792 /* ccFPSImages.m */; }; + 08F4AAEC1C6E98A1004DAAF7 /* CCTableView.m in Sources */ = {isa = PBXBuildFile; fileRef = B79F905917FE2A2E00908504 /* CCTableView.m */; }; + 08F4AAED1C6E98A1004DAAF7 /* CCSprite9Slice.m in Sources */ = {isa = PBXBuildFile; fileRef = B74C2B9A17BDA63A00A829C0 /* CCSprite9Slice.m */; }; + 08F4AAEE1C6E98A1004DAAF7 /* NSAttributedString+CCAdditions.m in Sources */ = {isa = PBXBuildFile; fileRef = B75C2E7B17C5908B002B0E0D /* NSAttributedString+CCAdditions.m */; }; + 08F4AAEF1C6E98A1004DAAF7 /* CCLayoutBox.m in Sources */ = {isa = PBXBuildFile; fileRef = B7EE69DF1819E75700B983FE /* CCLayoutBox.m */; }; + 08F4AAF01C6E98A1004DAAF7 /* CCColor.m in Sources */ = {isa = PBXBuildFile; fileRef = B7E776201857A159004221AA /* CCColor.m */; }; + 08F4AAF11C6E98A1004DAAF7 /* CCTransition.m in Sources */ = {isa = PBXBuildFile; fileRef = A6DC4E0818055DCC00C280A6 /* CCTransition.m */; }; + 08F4AAF21C6E98A1004DAAF7 /* CCResponderManager.m in Sources */ = {isa = PBXBuildFile; fileRef = A6A0734417C788EB004343C8 /* CCResponderManager.m */; }; + 08F4AAF41C6E98A1004DAAF7 /* CCResponder.m in Sources */ = {isa = PBXBuildFile; fileRef = A6A0734917C78EF3004343C8 /* CCResponder.m */; }; + 08F4AAF51C6E98A1004DAAF7 /* CCButton.m in Sources */ = {isa = PBXBuildFile; fileRef = B78AE45B17E7AF1C0028BE0B /* CCButton.m */; }; + 08F4AAF61C6E98A1004DAAF7 /* CCControl.m in Sources */ = {isa = PBXBuildFile; fileRef = B78AE45D17E7AF1C0028BE0B /* CCControl.m */; }; + 08F4AAF71C6E98A1004DAAF7 /* CCControlTextureFactory.m in Sources */ = {isa = PBXBuildFile; fileRef = B78AE45F17E7AF1C0028BE0B /* CCControlTextureFactory.m */; }; + 08F4AAF81C6E98A1004DAAF7 /* CCCache.m in Sources */ = {isa = PBXBuildFile; fileRef = D380581F1889CE7700822437 /* CCCache.m */; }; + 08F4AAF91C6E98A1004DAAF7 /* CCRendererGLSupport.m in Sources */ = {isa = PBXBuildFile; fileRef = 0EFC792C1B3B0E14008926DD /* CCRendererGLSupport.m */; }; + 08F4AAFA1C6E98A1004DAAF7 /* CCScrollView.m in Sources */ = {isa = PBXBuildFile; fileRef = B78AE46117E7AF1C0028BE0B /* CCScrollView.m */; }; + 08F4AAFB1C6E98A1004DAAF7 /* UITouch+CC.m in Sources */ = {isa = PBXBuildFile; fileRef = B78AE46B17E7AF6C0028BE0B /* UITouch+CC.m */; }; + 08F4AAFD1C6E98A1004DAAF7 /* CCAction.h in Headers */ = {isa = PBXBuildFile; fileRef = 5018F2520DFDEAFF00C013A5 /* CCAction.h */; }; + 08F4AAFE1C6E98A1004DAAF7 /* CCNode.h in Headers */ = {isa = PBXBuildFile; fileRef = 5018F2540DFDEAFF00C013A5 /* CCNode.h */; }; + 08F4AAFF1C6E98A1004DAAF7 /* CCDirector.h in Headers */ = {isa = PBXBuildFile; fileRef = 5018F2560DFDEAFF00C013A5 /* CCDirector.h */; }; + 08F4AB001C6E98A1004DAAF7 /* CCActionInstant.h in Headers */ = {isa = PBXBuildFile; fileRef = 5018F2580DFDEAFF00C013A5 /* CCActionInstant.h */; }; + 08F4AB011C6E98A1004DAAF7 /* CCActionInterval.h in Headers */ = {isa = PBXBuildFile; fileRef = 5018F25A0DFDEAFF00C013A5 /* CCActionInterval.h */; }; + 08F4AB021C6E98A1004DAAF7 /* CCLabelTTF.h in Headers */ = {isa = PBXBuildFile; fileRef = 5018F25C0DFDEAFF00C013A5 /* CCLabelTTF.h */; }; + 08F4AB031C6E98A1004DAAF7 /* CCNodeColor.h in Headers */ = {isa = PBXBuildFile; fileRef = 5018F25E0DFDEAFF00C013A5 /* CCNodeColor.h */; }; + 08F4AB041C6E98A1004DAAF7 /* CCScene.h in Headers */ = {isa = PBXBuildFile; fileRef = 5018F2600DFDEAFF00C013A5 /* CCScene.h */; }; + 08F4AB051C6E98A1004DAAF7 /* CCTextureCache.h in Headers */ = {isa = PBXBuildFile; fileRef = 5018F2670DFDEAFF00C013A5 /* CCTextureCache.h */; }; + 08F4AB061C6E98A1004DAAF7 /* CCRenderer.h in Headers */ = {isa = PBXBuildFile; fileRef = D38058181889AD6000822437 /* CCRenderer.h */; }; + 08F4AB071C6E98A1004DAAF7 /* ccTypes.h in Headers */ = {isa = PBXBuildFile; fileRef = 50F9E8160E1AA34E000E7616 /* ccTypes.h */; }; + 08F4AB081C6E98A1004DAAF7 /* CCScheduler.h in Headers */ = {isa = PBXBuildFile; fileRef = 5066020F0E38A70D000B500E /* CCScheduler.h */; }; + 08F4AB091C6E98A1004DAAF7 /* cocos2d.h in Headers */ = {isa = PBXBuildFile; fileRef = 50305AF30E40E33200F63373 /* cocos2d.h */; }; + 08F4AB0A1C6E98A1004DAAF7 /* TGAlib.h in Headers */ = {isa = PBXBuildFile; fileRef = 501CCFAC0E99657C00B86F68 /* TGAlib.h */; }; + 08F4AB0B1C6E98A1004DAAF7 /* CCActionEase.h in Headers */ = {isa = PBXBuildFile; fileRef = 50F7B2760F28DE7C00057537 /* CCActionEase.h */; }; + 08F4AB0C1C6E98A1004DAAF7 /* CCPlatformTextField.h in Headers */ = {isa = PBXBuildFile; fileRef = 571CD01E19649E03003D460C /* CCPlatformTextField.h */; }; + 08F4AB0E1C6E98A1004DAAF7 /* ccMacros.h in Headers */ = {isa = PBXBuildFile; fileRef = 50BAF3970F33CCD8003F654C /* ccMacros.h */; }; + 08F4AB101C6E98A1004DAAF7 /* CCSprite.h in Headers */ = {isa = PBXBuildFile; fileRef = 509A79950F6188420032F449 /* CCSprite.h */; }; + 08F4AB111C6E98A1004DAAF7 /* CCFileUtils.h in Headers */ = {isa = PBXBuildFile; fileRef = 50C508C40F7C194400799124 /* CCFileUtils.h */; }; + 08F4AB121C6E98A1004DAAF7 /* CGPointExtension.h in Headers */ = {isa = PBXBuildFile; fileRef = 503798C40F912C2000986724 /* CGPointExtension.h */; }; + 08F4AB131C6E98A1004DAAF7 /* CCPlatformTextFieldIOS.h in Headers */ = {isa = PBXBuildFile; fileRef = 571CD02119649E03003D460C /* CCPlatformTextFieldIOS.h */; }; + 08F4AB151C6E98A1004DAAF7 /* CCLayoutBox.h in Headers */ = {isa = PBXBuildFile; fileRef = B7EE69DE1819E75700B983FE /* CCLayoutBox.h */; }; + 08F4AB171C6E98A1004DAAF7 /* CCRenderDispatch.h in Headers */ = {isa = PBXBuildFile; fileRef = D3903B0E199528A0003AA81A /* CCRenderDispatch.h */; }; + 08F4AB181C6E98A1004DAAF7 /* CCTextField.h in Headers */ = {isa = PBXBuildFile; fileRef = B7E260D618171D2000A0E872 /* CCTextField.h */; }; + 08F4AB191C6E98A1004DAAF7 /* CCRendererBasicTypes_Private.h in Headers */ = {isa = PBXBuildFile; fileRef = D34CAD6A19C3AA10009BED7A /* CCRendererBasicTypes_Private.h */; }; + 08F4AB1A1C6E98A1004DAAF7 /* CCActionManager.h in Headers */ = {isa = PBXBuildFile; fileRef = 50CB3B0C100AC43A00B7A750 /* CCActionManager.h */; }; + 08F4AB1B1C6E98A1004DAAF7 /* base64.h in Headers */ = {isa = PBXBuildFile; fileRef = 50F29F6E102053370046CA73 /* base64.h */; }; + 08F4AB1C1C6E98A1004DAAF7 /* CCMetalSupport_Private.h in Headers */ = {isa = PBXBuildFile; fileRef = D31C795119994197007921E1 /* CCMetalSupport_Private.h */; }; + 08F4AB1D1C6E98A1004DAAF7 /* CCRendererBasicTypes.h in Headers */ = {isa = PBXBuildFile; fileRef = D34CAD6519C3A7A5009BED7A /* CCRendererBasicTypes.h */; }; + 08F4AB1E1C6E98A1004DAAF7 /* ZipUtils.h in Headers */ = {isa = PBXBuildFile; fileRef = 50F2A103102094550046CA73 /* ZipUtils.h */; }; + 08F4AB1F1C6E98A1004DAAF7 /* CCRenderTexture.h in Headers */ = {isa = PBXBuildFile; fileRef = 50316AA410291280003ACFE7 /* CCRenderTexture.h */; }; + 08F4AB201C6E98A1004DAAF7 /* CCCache.h in Headers */ = {isa = PBXBuildFile; fileRef = D380581E1889CE7700822437 /* CCCache.h */; }; + 08F4AB211C6E98A1004DAAF7 /* CCRenderer_Private.h in Headers */ = {isa = PBXBuildFile; fileRef = D309054F18AC23110081BF11 /* CCRenderer_Private.h */; }; + 08F4AB221C6E98A1004DAAF7 /* ccConfig.h in Headers */ = {isa = PBXBuildFile; fileRef = 505462FB1062768000AB7C52 /* ccConfig.h */; }; + 08F4AB231C6E98A1004DAAF7 /* CCSpriteFrame.h in Headers */ = {isa = PBXBuildFile; fileRef = 50E2A14E10A45E7F00D894CE /* CCSpriteFrame.h */; }; + 08F4AB241C6E98A1004DAAF7 /* CCColor.h in Headers */ = {isa = PBXBuildFile; fileRef = B7E7761F1857A159004221AA /* CCColor.h */; }; + 08F4AB251C6E98A1004DAAF7 /* CCProtocols.h in Headers */ = {isa = PBXBuildFile; fileRef = 50E2A25110A46CC600D894CE /* CCProtocols.h */; }; + 08F4AB261C6E98A1004DAAF7 /* CCSpriteFrameCache.h in Headers */ = {isa = PBXBuildFile; fileRef = 502C8BDE10A661E200D137BA /* CCSpriteFrameCache.h */; }; + 08F4AB271C6E98A1004DAAF7 /* CCTableView.h in Headers */ = {isa = PBXBuildFile; fileRef = B79F905817FE2A2E00908504 /* CCTableView.h */; }; + 08F4AB281C6E98A1004DAAF7 /* CCTexture.h in Headers */ = {isa = PBXBuildFile; fileRef = 50E1357110ADEB1B00C9E7FA /* CCTexture.h */; }; + 08F4AB291C6E98A1004DAAF7 /* CCProfiling.h in Headers */ = {isa = PBXBuildFile; fileRef = 0529445911098D6F00E500F3 /* CCProfiling.h */; }; + 08F4AB2B1C6E98A1004DAAF7 /* CCActionTween.h in Headers */ = {isa = PBXBuildFile; fileRef = 50FBB2D8117613F500150761 /* CCActionTween.h */; }; + 08F4AB2C1C6E98A1004DAAF7 /* uthash.h in Headers */ = {isa = PBXBuildFile; fileRef = 50D898EF1192CB7500458C29 /* uthash.h */; }; + 08F4AB2D1C6E98A1004DAAF7 /* utlist.h in Headers */ = {isa = PBXBuildFile; fileRef = 508EAC2F1193F8B0007F058D /* utlist.h */; }; + 08F4AB2E1C6E98A1004DAAF7 /* CCSpriteBatchNode.h in Headers */ = {isa = PBXBuildFile; fileRef = E0C3655911F0AE9B001C08F9 /* CCSpriteBatchNode.h */; }; + 08F4AB2F1C6E98A1004DAAF7 /* ccUtils.h in Headers */ = {isa = PBXBuildFile; fileRef = E0C54DC911F9CF2700B9E4CB /* ccUtils.h */; }; + 08F4AB301C6E98A1004DAAF7 /* CCLabelBMFont.h in Headers */ = {isa = PBXBuildFile; fileRef = E01E6D8A121F130E001A484F /* CCLabelBMFont.h */; }; + 08F4AB311C6E98A1004DAAF7 /* CCDirectorIOS.h in Headers */ = {isa = PBXBuildFile; fileRef = E0EAD0EA121F4B4600B0C81C /* CCDirectorIOS.h */; }; + 08F4AB321C6E98A1004DAAF7 /* CCGLView.h in Headers */ = {isa = PBXBuildFile; fileRef = E0EAD0F3121F4B4600B0C81C /* CCGLView.h */; }; + 08F4AB341C6E98A1004DAAF7 /* CCGL.h in Headers */ = {isa = PBXBuildFile; fileRef = E0EAD19C121F4D7300B0C81C /* CCGL.h */; }; + 08F4AB351C6E98A1004DAAF7 /* CCConfiguration.h in Headers */ = {isa = PBXBuildFile; fileRef = E0EAD1F0121F522A00B0C81C /* CCConfiguration.h */; }; + 08F4AB361C6E98A1004DAAF7 /* CCTexturePVR.h in Headers */ = {isa = PBXBuildFile; fileRef = E0F9246F1224140400EF2362 /* CCTexturePVR.h */; }; + 08F4AB371C6E98A1004DAAF7 /* CCNS.h in Headers */ = {isa = PBXBuildFile; fileRef = E0F92AC31224559800EF2362 /* CCNS.h */; }; + 08F4AB381C6E98A1004DAAF7 /* CCAnimationCache.h in Headers */ = {isa = PBXBuildFile; fileRef = E02BB6D4126CA93A006E46A2 /* CCAnimationCache.h */; }; + 08F4AB391C6E98A1004DAAF7 /* CCAnimation.h in Headers */ = {isa = PBXBuildFile; fileRef = E02BB702126CADEA006E46A2 /* CCAnimation.h */; }; + 08F4AB3A1C6E98A1004DAAF7 /* CCRendererSharedTypes.h in Headers */ = {isa = PBXBuildFile; fileRef = D3E3752E19CC842A0076CDBB /* CCRendererSharedTypes.h */; }; + 08F4AB3B1C6E98A1004DAAF7 /* CCAppDelegate.h in Headers */ = {isa = PBXBuildFile; fileRef = B7E775CE18527EF0004221AA /* CCAppDelegate.h */; }; + 08F4AB3C1C6E98A1004DAAF7 /* CCShader.h in Headers */ = {isa = PBXBuildFile; fileRef = E0BC7D9B1342CE7B001B4DCC /* CCShader.h */; }; + 08F4AB3E1C6E98A1004DAAF7 /* CCDirectorMac.h in Headers */ = {isa = PBXBuildFile; fileRef = A046E28B14C1DB7D0005BBF2 /* CCDirectorMac.h */; }; + 08F4AB3F1C6E98A1004DAAF7 /* CCGLView.h in Headers */ = {isa = PBXBuildFile; fileRef = A046E28F14C1DB7D0005BBF2 /* CCGLView.h */; }; + 08F4AB401C6E98A1004DAAF7 /* NSValue+CCRenderer.h in Headers */ = {isa = PBXBuildFile; fileRef = D34CAD5F19C3A0B5009BED7A /* NSValue+CCRenderer.h */; }; + 08F4AB411C6E98A1004DAAF7 /* CCWindow.h in Headers */ = {isa = PBXBuildFile; fileRef = A046E29114C1DB7D0005BBF2 /* CCWindow.h */; }; + 08F4AB431C6E98A1004DAAF7 /* CCLayout.h in Headers */ = {isa = PBXBuildFile; fileRef = B7EE69DC1819E75700B983FE /* CCLayout.h */; }; + 08F4AB441C6E98A1004DAAF7 /* NSThread+performBlock.h in Headers */ = {isa = PBXBuildFile; fileRef = A0C87D1814F9A3A100C0E8B2 /* NSThread+performBlock.h */; }; + 08F4AB451C6E98A1004DAAF7 /* CCMetalView.h in Headers */ = {isa = PBXBuildFile; fileRef = D3903B12199528B6003AA81A /* CCMetalView.h */; }; + 08F4AB461C6E98A1004DAAF7 /* CCTransition.h in Headers */ = {isa = PBXBuildFile; fileRef = A6DC4E0718055DCC00C280A6 /* CCTransition.h */; }; + 08F4AB491C6E98A1004DAAF7 /* CCActionCatmullRom.h in Headers */ = {isa = PBXBuildFile; fileRef = A0A7A53A1514F27D00C8BD16 /* CCActionCatmullRom.h */; }; + 08F4AB4A1C6E98A1004DAAF7 /* CCNode+Debug.h in Headers */ = {isa = PBXBuildFile; fileRef = A039EBFD155C686B0061EE37 /* CCNode+Debug.h */; }; + 08F4AB4B1C6E98A1004DAAF7 /* CCDrawNode.h in Headers */ = {isa = PBXBuildFile; fileRef = A0DA0BC115BCDCA200E80A92 /* CCDrawNode.h */; }; + 08F4AB4C1C6E98A1004DAAF7 /* CCSlider.h in Headers */ = {isa = PBXBuildFile; fileRef = B7EE6A1C181AE34600B983FE /* CCSlider.h */; }; + 08F4AB4D1C6E98A1004DAAF7 /* ccFPSImages.h in Headers */ = {isa = PBXBuildFile; fileRef = A003AC8B1657071100C7B792 /* ccFPSImages.h */; }; + 08F4AB4E1C6E98A1004DAAF7 /* CCSprite9Slice.h in Headers */ = {isa = PBXBuildFile; fileRef = B74C2B9917BDA63A00A829C0 /* CCSprite9Slice.h */; }; + 08F4AB4F1C6E98A1004DAAF7 /* NSAttributedString+CCAdditions.h in Headers */ = {isa = PBXBuildFile; fileRef = B75C2E7A17C5908B002B0E0D /* NSAttributedString+CCAdditions.h */; }; + 08F4AB501C6E98A1004DAAF7 /* CCResponderManager.h in Headers */ = {isa = PBXBuildFile; fileRef = A6A0734317C788EB004343C8 /* CCResponderManager.h */; }; + 08F4AB511C6E98A1004DAAF7 /* CCResponder.h in Headers */ = {isa = PBXBuildFile; fileRef = A6A0734817C78EF3004343C8 /* CCResponder.h */; }; + 08F4AB521C6E98A1004DAAF7 /* CCButton.h in Headers */ = {isa = PBXBuildFile; fileRef = B78AE45A17E7AF1C0028BE0B /* CCButton.h */; }; + 08F4AB541C6E98A1004DAAF7 /* CCControl.h in Headers */ = {isa = PBXBuildFile; fileRef = B78AE45C17E7AF1C0028BE0B /* CCControl.h */; }; + 08F4AB551C6E98A1004DAAF7 /* CCControlTextureFactory.h in Headers */ = {isa = PBXBuildFile; fileRef = B78AE45E17E7AF1C0028BE0B /* CCControlTextureFactory.h */; }; + 08F4AB561C6E98A1004DAAF7 /* CCScrollView.h in Headers */ = {isa = PBXBuildFile; fileRef = B78AE46017E7AF1C0028BE0B /* CCScrollView.h */; }; + 08F4AB571C6E98A1004DAAF7 /* UITouch+CC.h in Headers */ = {isa = PBXBuildFile; fileRef = B78AE46A17E7AF6C0028BE0B /* UITouch+CC.h */; }; + 08F4AB591C6E98A1004DAAF7 /* Metal.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D3903B1919952ABD003AA81A /* Metal.framework */; settings = {ATTRIBUTES = (Weak, ); }; }; + 08F4AB5A1C6E98A1004DAAF7 /* GLKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D24FAEEB198014B90043E27D /* GLKit.framework */; }; + 08F4AB5B1C6E98A1004DAAF7 /* AVFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D28A2E201954F85700ADC03D /* AVFoundation.framework */; }; + 08F4AB5C1C6E98A1004DAAF7 /* OpenGLES.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D28A2E1C1954F7E000ADC03D /* OpenGLES.framework */; }; + 08F4AB5D1C6E98A1004DAAF7 /* QuartzCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D28A2E1A1954F68D00ADC03D /* QuartzCore.framework */; }; + 08F4AB5E1C6E98A1004DAAF7 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D28A2E151954F66E00ADC03D /* UIKit.framework */; }; + 08F4AB5F1C6E98A1004DAAF7 /* AudioToolbox.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 50E3876E10446C6E00150883 /* AudioToolbox.framework */; }; + 08F4AB601C6E98A1004DAAF7 /* OpenAL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 50E3877010446C6E00150883 /* OpenAL.framework */; }; + 08F4AB611C6E98A1004DAAF7 /* CoreText.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A06D9C131728D5F600704732 /* CoreText.framework */; }; + 08F4AB621C6E98A1004DAAF7 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1D30AB110D05D00D00671497 /* Foundation.framework */; }; + 08F4AB631C6E98A1004DAAF7 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1D3623EB0D0F72F000981E51 /* CoreGraphics.framework */; }; 0EFC792D1B3B0E14008926DD /* CCRendererGLSupport.m in Sources */ = {isa = PBXBuildFile; fileRef = 0EFC792C1B3B0E14008926DD /* CCRendererGLSupport.m */; }; 0EFC792E1B3B0E14008926DD /* CCRendererGLSupport.m in Sources */ = {isa = PBXBuildFile; fileRef = 0EFC792C1B3B0E14008926DD /* CCRendererGLSupport.m */; }; - 1426D9951A38D24A00A579AF /* CCGestureListener.h in Headers */ = {isa = PBXBuildFile; fileRef = 5BC3CB5719626FA000C4F0D0 /* CCGestureListener.h */; }; - 1435EB831A37BA7000BD04D4 /* GLActivityKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1435EB821A37BA7000BD04D4 /* GLActivityKit.framework */; }; - 14C4C33E1A37E39E00DD3957 /* AndroidKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 14C4C33D1A37E39E00DD3957 /* AndroidKit.framework */; }; - 14EF47AA1A37F11C00A45BE4 /* JavaKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 14EF47A91A37F11C00A45BE4 /* JavaKit.framework */; }; - 2B192835163361B10049A044 /* CCClippingNode.h in Headers */ = {isa = PBXBuildFile; fileRef = 2B192833163361B10049A044 /* CCClippingNode.h */; }; - 2B192836163361B10049A044 /* CCClippingNode.m in Sources */ = {isa = PBXBuildFile; fileRef = 2B192834163361B10049A044 /* CCClippingNode.m */; }; - 462D9B7F1A427E130040C5F2 /* JavaFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 462D9B7E1A427E130040C5F2 /* JavaFoundation.framework */; }; - 5015043B113300F900A9CA65 /* CCActionProgressTimer.h in Headers */ = {isa = PBXBuildFile; fileRef = 50150435113300F900A9CA65 /* CCActionProgressTimer.h */; }; - 5015043C113300F900A9CA65 /* CCActionProgressTimer.m in Sources */ = {isa = PBXBuildFile; fileRef = 50150436113300F900A9CA65 /* CCActionProgressTimer.m */; }; 5018F2690DFDEAFF00C013A5 /* CCAction.h in Headers */ = {isa = PBXBuildFile; fileRef = 5018F2520DFDEAFF00C013A5 /* CCAction.h */; }; 5018F26A0DFDEAFF00C013A5 /* CCAction.m in Sources */ = {isa = PBXBuildFile; fileRef = 5018F2530DFDEAFF00C013A5 /* CCAction.m */; }; 5018F26B0DFDEAFF00C013A5 /* CCNode.h in Headers */ = {isa = PBXBuildFile; fileRef = 5018F2540DFDEAFF00C013A5 /* CCNode.h */; }; @@ -56,40 +227,26 @@ 5018F2E40DFDEBBA00C013A5 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1D3623EB0D0F72F000981E51 /* CoreGraphics.framework */; }; 501CCFB40E99657C00B86F68 /* TGAlib.m in Sources */ = {isa = PBXBuildFile; fileRef = 501CCFAB0E99657C00B86F68 /* TGAlib.m */; }; 501CCFB50E99657C00B86F68 /* TGAlib.h in Headers */ = {isa = PBXBuildFile; fileRef = 501CCFAC0E99657C00B86F68 /* TGAlib.h */; }; - 502C6C6C0FB87970002BF3C2 /* CCParallaxNode.h in Headers */ = {isa = PBXBuildFile; fileRef = 502C6C6A0FB87970002BF3C2 /* CCParallaxNode.h */; }; - 502C6C6D0FB87970002BF3C2 /* CCParallaxNode.m in Sources */ = {isa = PBXBuildFile; fileRef = 502C6C6B0FB87970002BF3C2 /* CCParallaxNode.m */; }; 502C8BE010A661E200D137BA /* CCSpriteFrameCache.h in Headers */ = {isa = PBXBuildFile; fileRef = 502C8BDE10A661E200D137BA /* CCSpriteFrameCache.h */; }; 502C8BE110A661E200D137BA /* CCSpriteFrameCache.m in Sources */ = {isa = PBXBuildFile; fileRef = 502C8BDF10A661E200D137BA /* CCSpriteFrameCache.m */; }; 50305AF40E40E33200F63373 /* cocos2d.h in Headers */ = {isa = PBXBuildFile; fileRef = 50305AF30E40E33200F63373 /* cocos2d.h */; }; 50316AA610291280003ACFE7 /* CCRenderTexture.h in Headers */ = {isa = PBXBuildFile; fileRef = 50316AA410291280003ACFE7 /* CCRenderTexture.h */; }; 50316AA710291280003ACFE7 /* CCRenderTexture.m in Sources */ = {isa = PBXBuildFile; fileRef = 50316AA510291280003ACFE7 /* CCRenderTexture.m */; }; - 50316AD41029A126003ACFE7 /* CCMotionStreak.h in Headers */ = {isa = PBXBuildFile; fileRef = 50316AD21029A126003ACFE7 /* CCMotionStreak.h */; }; - 50316AD51029A126003ACFE7 /* CCMotionStreak.m in Sources */ = {isa = PBXBuildFile; fileRef = 50316AD31029A126003ACFE7 /* CCMotionStreak.m */; }; 503798C60F912C2000986724 /* CGPointExtension.h in Headers */ = {isa = PBXBuildFile; fileRef = 503798C40F912C2000986724 /* CGPointExtension.h */; }; 503798C70F912C2000986724 /* CGPointExtension.m in Sources */ = {isa = PBXBuildFile; fileRef = 503798C50F912C2000986724 /* CGPointExtension.m */; }; 503862E6110072BC005D2C92 /* CCConfiguration.m in Sources */ = {isa = PBXBuildFile; fileRef = 503862D911007181005D2C92 /* CCConfiguration.m */; }; - 5038B6B20E196CD8009A621E /* CCParticleSystemBase.h in Headers */ = {isa = PBXBuildFile; fileRef = 5038B6B00E196CD8009A621E /* CCParticleSystemBase.h */; }; - 5038B6B30E196CD8009A621E /* CCParticleSystemBase.m in Sources */ = {isa = PBXBuildFile; fileRef = 5038B6B10E196CD8009A621E /* CCParticleSystemBase.m */; }; - 504055B00E3230BD00213FEF /* CCParticleExamples.h in Headers */ = {isa = PBXBuildFile; fileRef = 504055AE0E3230BD00213FEF /* CCParticleExamples.h */; }; - 504055B10E3230BD00213FEF /* CCParticleExamples.m in Sources */ = {isa = PBXBuildFile; fileRef = 504055AF0E3230BD00213FEF /* CCParticleExamples.m */; }; 505462FC1062768000AB7C52 /* ccConfig.h in Headers */ = {isa = PBXBuildFile; fileRef = 505462FB1062768000AB7C52 /* ccConfig.h */; }; 506602110E38A70D000B500E /* CCScheduler.h in Headers */ = {isa = PBXBuildFile; fileRef = 5066020F0E38A70D000B500E /* CCScheduler.h */; }; 506602120E38A70D000B500E /* CCScheduler.m in Sources */ = {isa = PBXBuildFile; fileRef = 506602100E38A70D000B500E /* CCScheduler.m */; }; 508EAC311193F8B0007F058D /* utlist.h in Headers */ = {isa = PBXBuildFile; fileRef = 508EAC2F1193F8B0007F058D /* utlist.h */; }; 509A79970F6188420032F449 /* CCSprite.h in Headers */ = {isa = PBXBuildFile; fileRef = 509A79950F6188420032F449 /* CCSprite.h */; }; 509A79980F6188420032F449 /* CCSprite.m in Sources */ = {isa = PBXBuildFile; fileRef = 509A79960F6188420032F449 /* CCSprite.m */; }; - 509D0818101E4FCE007E1749 /* CCTiledMap.h in Headers */ = {isa = PBXBuildFile; fileRef = 509D0816101E4FCE007E1749 /* CCTiledMap.h */; }; 50A07B7B0E4CBCD300AAF0BB /* cocos2d.m in Sources */ = {isa = PBXBuildFile; fileRef = 50A07B7A0E4CBCD300AAF0BB /* cocos2d.m */; }; 50BAF3990F33CCD8003F654C /* ccMacros.h in Headers */ = {isa = PBXBuildFile; fileRef = 50BAF3970F33CCD8003F654C /* ccMacros.h */; }; 50C508C60F7C194400799124 /* CCFileUtils.h in Headers */ = {isa = PBXBuildFile; fileRef = 50C508C40F7C194400799124 /* CCFileUtils.h */; }; 50C508C70F7C194400799124 /* CCFileUtils.m in Sources */ = {isa = PBXBuildFile; fileRef = 50C508C50F7C194400799124 /* CCFileUtils.m */; }; 50CB3B0E100AC43A00B7A750 /* CCActionManager.h in Headers */ = {isa = PBXBuildFile; fileRef = 50CB3B0C100AC43A00B7A750 /* CCActionManager.h */; }; 50CB3B0F100AC43A00B7A750 /* CCActionManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 50CB3B0D100AC43A00B7A750 /* CCActionManager.m */; }; - 50CFAC391023660000175934 /* CCTMXXMLParser.h in Headers */ = {isa = PBXBuildFile; fileRef = 50CFAC371023660000175934 /* CCTMXXMLParser.h */; }; - 50D2AC9510E90DFA0068ECEB /* CCTiledMapLayer.h in Headers */ = {isa = PBXBuildFile; fileRef = 50D2AC9110E90DFA0068ECEB /* CCTiledMapLayer.h */; }; - 50D2AC9710E90DFA0068ECEB /* CCTiledMapObjectGroup.h in Headers */ = {isa = PBXBuildFile; fileRef = 50D2AC9310E90DFA0068ECEB /* CCTiledMapObjectGroup.h */; }; - 50D413260F9A3FE00040C3C8 /* CCParticleSystem.h in Headers */ = {isa = PBXBuildFile; fileRef = 50D413240F9A3FE00040C3C8 /* CCParticleSystem.h */; }; - 50D413270F9A3FE00040C3C8 /* CCParticleSystem.m in Sources */ = {isa = PBXBuildFile; fileRef = 50D413250F9A3FE00040C3C8 /* CCParticleSystem.m */; }; 50D898F31192CB7500458C29 /* uthash.h in Headers */ = {isa = PBXBuildFile; fileRef = 50D898EF1192CB7500458C29 /* uthash.h */; }; 50E1357510ADEB1B00C9E7FA /* CCTexture.h in Headers */ = {isa = PBXBuildFile; fileRef = 50E1357110ADEB1B00C9E7FA /* CCTexture.h */; }; 50E1357610ADEB1B00C9E7FA /* CCTexture.m in Sources */ = {isa = PBXBuildFile; fileRef = 50E1357210ADEB1B00C9E7FA /* CCTexture.m */; }; @@ -105,55 +262,23 @@ 50F9E8170E1AA34E000E7616 /* ccTypes.h in Headers */ = {isa = PBXBuildFile; fileRef = 50F9E8160E1AA34E000E7616 /* ccTypes.h */; }; 50FBB2DA117613F500150761 /* CCActionTween.h in Headers */ = {isa = PBXBuildFile; fileRef = 50FBB2D8117613F500150761 /* CCActionTween.h */; }; 50FBB2DB117613F500150761 /* CCActionTween.m in Sources */ = {isa = PBXBuildFile; fileRef = 50FBB2D9117613F500150761 /* CCActionTween.m */; }; - 571CD02619649E03003D460C /* CCPlatformTextFieldAndroid.h in Headers */ = {isa = PBXBuildFile; fileRef = 571CD01C19649E03003D460C /* CCPlatformTextFieldAndroid.h */; }; 571CD02819649E03003D460C /* CCPlatformTextField.h in Headers */ = {isa = PBXBuildFile; fileRef = 571CD01E19649E03003D460C /* CCPlatformTextField.h */; }; 571CD02919649E03003D460C /* CCPlatformTextField.m in Sources */ = {isa = PBXBuildFile; fileRef = 571CD01F19649E03003D460C /* CCPlatformTextField.m */; }; 571CD02A19649E03003D460C /* CCPlatformTextFieldIOS.h in Headers */ = {isa = PBXBuildFile; fileRef = 571CD02119649E03003D460C /* CCPlatformTextFieldIOS.h */; }; 571CD02B19649E03003D460C /* CCPlatformTextFieldIOS.m in Sources */ = {isa = PBXBuildFile; fileRef = 571CD02219649E03003D460C /* CCPlatformTextFieldIOS.m */; }; - 57202D391970776100238D56 /* CCPlatformTextFieldAndroid.m in Sources */ = {isa = PBXBuildFile; fileRef = 571CD01D19649E03003D460C /* CCPlatformTextFieldAndroid.m */; }; - 577D72D11970AC59005ABDC0 /* CCPlatformTextField.m in Sources */ = {isa = PBXBuildFile; fileRef = 571CD01F19649E03003D460C /* CCPlatformTextField.m */; }; - 57BFF2BA1991937C00A3FE9C /* CCEditText.m in Sources */ = {isa = PBXBuildFile; fileRef = 57BFF2B81991937C00A3FE9C /* CCEditText.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; 5BC1DE2A1A2E2099009C2E67 /* NSEvent+CC.h in Headers */ = {isa = PBXBuildFile; fileRef = 5BC1DE281A2E2099009C2E67 /* NSEvent+CC.h */; }; 5BC1DE2B1A2E2099009C2E67 /* NSEvent+CC.m in Sources */ = {isa = PBXBuildFile; fileRef = 5BC1DE291A2E2099009C2E67 /* NSEvent+CC.m */; }; - 5BC3CB5919626FA000C4F0D0 /* CCGestureListener.h in Headers */ = {isa = PBXBuildFile; fileRef = 5BC3CB5719626FA000C4F0D0 /* CCGestureListener.h */; }; - 5BC3CB5A19626FA000C4F0D0 /* CCGestureListener.m in Sources */ = {isa = PBXBuildFile; fileRef = 5BC3CB5819626FA000C4F0D0 /* CCGestureListener.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - 5BF32698195F947800D9A51A /* CCActivity.h in Headers */ = {isa = PBXBuildFile; fileRef = 5BF32696195F947800D9A51A /* CCActivity.h */; }; - 5BF32699195F947800D9A51A /* CCActivity.m in Sources */ = {isa = PBXBuildFile; fileRef = 5BF32697195F947800D9A51A /* CCActivity.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc -O0"; }; }; 7A4037C219E37117007B6E8F /* GLKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 7A4037C119E37117007B6E8F /* GLKit.framework */; }; 7A4037C419E3711D007B6E8F /* ApplicationServices.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 7A4037C319E3711D007B6E8F /* ApplicationServices.framework */; }; 7A4037C619E37126007B6E8F /* QuartzCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 7A4037C519E37126007B6E8F /* QuartzCore.framework */; }; 7A4037C819E3712A007B6E8F /* OpenGL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 7A4037C719E3712A007B6E8F /* OpenGL.framework */; }; - 7A59464519E372EE00F65F90 /* CCEffectDistanceField.h in Headers */ = {isa = PBXBuildFile; fileRef = D27451B519AE5517006DA0A1 /* CCEffectDistanceField.h */; }; - 7A59464719E372EE00F65F90 /* CCEffectDFOutline.h in Headers */ = {isa = PBXBuildFile; fileRef = D27451C419B111A9006DA0A1 /* CCEffectDFOutline.h */; }; - 7A59464919E372EE00F65F90 /* CCEffectDFInnerGlow.h in Headers */ = {isa = PBXBuildFile; fileRef = D299CE7819C2910B00519CBB /* CCEffectDFInnerGlow.h */; }; - 7A59464B19E372EE00F65F90 /* CCEffectColorChannelOffset.h in Headers */ = {isa = PBXBuildFile; fileRef = 9DBCA31219B68BE400EFE96D /* CCEffectColorChannelOffset.h */; }; - 7A59464D19E372EE00F65F90 /* CCEffectBlur.h in Headers */ = {isa = PBXBuildFile; fileRef = D3903B081995285B003AA81A /* CCEffectBlur.h */; }; - 7A59464F19E372EE00F65F90 /* CCEffectRefraction.h in Headers */ = {isa = PBXBuildFile; fileRef = D268FE151980791300ECBCD0 /* CCEffectRefraction.h */; }; - 7A59465119E372EE00F65F90 /* CCEffectUtils.h in Headers */ = {isa = PBXBuildFile; fileRef = D268FE171980791300ECBCD0 /* CCEffectUtils.h */; }; - 7A59465319E372EE00F65F90 /* CCEffectBloom.h in Headers */ = {isa = PBXBuildFile; fileRef = D268FE05198078FF00ECBCD0 /* CCEffectBloom.h */; }; - 7A59465519E372EE00F65F90 /* CCEffectGlass.h in Headers */ = {isa = PBXBuildFile; fileRef = D268FE07198078FF00ECBCD0 /* CCEffectGlass.h */; }; - 7A59465719E372EE00F65F90 /* CCEffectHue.h in Headers */ = {isa = PBXBuildFile; fileRef = D268FE09198078FF00ECBCD0 /* CCEffectHue.h */; }; - 7A59465919E372EE00F65F90 /* CCEffectReflection.h in Headers */ = {isa = PBXBuildFile; fileRef = D268FE0B198078FF00ECBCD0 /* CCEffectReflection.h */; }; - 7A59465B19E372EE00F65F90 /* CCEffectRenderer.h in Headers */ = {isa = PBXBuildFile; fileRef = D24161041958F72B003673BD /* CCEffectRenderer.h */; }; - 7A59465D19E372EE00F65F90 /* CCEffectSaturation.h in Headers */ = {isa = PBXBuildFile; fileRef = D24161061958F72B003673BD /* CCEffectSaturation.h */; }; - 7A59465F19E372EE00F65F90 /* CCEffectStackProtocol.h in Headers */ = {isa = PBXBuildFile; fileRef = D24161081958F72B003673BD /* CCEffectStackProtocol.h */; }; - 7A59466019E372EE00F65F90 /* CCEffect_Private.h in Headers */ = {isa = PBXBuildFile; fileRef = D272031718FC89A000B100FF /* CCEffect_Private.h */; }; - 7A59466119E372EE00F65F90 /* CCEffect.h in Headers */ = {isa = PBXBuildFile; fileRef = D272031818FC89A000B100FF /* CCEffect.h */; }; - 7A59466319E372EE00F65F90 /* CCEffectStack.h in Headers */ = {isa = PBXBuildFile; fileRef = D272032018FC89A000B100FF /* CCEffectStack.h */; }; - 7A59466419E372EE00F65F90 /* CCEffectStack_Private.h in Headers */ = {isa = PBXBuildFile; fileRef = 9D85671A191AE2CC00573093 /* CCEffectStack_Private.h */; }; - 7A59466619E372EE00F65F90 /* CCEffectBrightness.h in Headers */ = {isa = PBXBuildFile; fileRef = 9D85671B191B018200573093 /* CCEffectBrightness.h */; }; - 7A59466819E372EE00F65F90 /* CCEffectContrast.h in Headers */ = {isa = PBXBuildFile; fileRef = 9D85671F191B019900573093 /* CCEffectContrast.h */; }; - 7A59466A19E372EE00F65F90 /* CCEffectPixellate.h in Headers */ = {isa = PBXBuildFile; fileRef = 9DF3761F191C594A00C6D27A /* CCEffectPixellate.h */; }; - 7A59466C19E372EE00F65F90 /* CCEffectDropShadow.h in Headers */ = {isa = PBXBuildFile; fileRef = D27451A819AD430A006DA0A1 /* CCEffectDropShadow.h */; }; 7A59466E19E372EE00F65F90 /* CCNode.h in Headers */ = {isa = PBXBuildFile; fileRef = 5018F2540DFDEAFF00C013A5 /* CCNode.h */; }; 7A59467019E372EE00F65F90 /* CCNode+Debug.h in Headers */ = {isa = PBXBuildFile; fileRef = A039EBFD155C686B0061EE37 /* CCNode+Debug.h */; }; - 7A59467219E372EF00F65F90 /* CCNode_Private.h in Headers */ = {isa = PBXBuildFile; fileRef = B798D13C181F2E4500E7BFCD /* CCNode_Private.h */; }; 7A59467319E372EF00F65F90 /* CCLayout.h in Headers */ = {isa = PBXBuildFile; fileRef = B7EE69DC1819E75700B983FE /* CCLayout.h */; }; 7A59467519E372EF00F65F90 /* CCLayoutBox.h in Headers */ = {isa = PBXBuildFile; fileRef = B7EE69DE1819E75700B983FE /* CCLayoutBox.h */; }; 7A59467719E372EF00F65F90 /* CCDrawNode.h in Headers */ = {isa = PBXBuildFile; fileRef = A0DA0BC115BCDCA200E80A92 /* CCDrawNode.h */; }; 7A59467919E372EF00F65F90 /* CCLabelBMFont.h in Headers */ = {isa = PBXBuildFile; fileRef = E01E6D8A121F130E001A484F /* CCLabelBMFont.h */; }; 7A59467B19E372EF00F65F90 /* CCLabelTTF.h in Headers */ = {isa = PBXBuildFile; fileRef = 5018F25C0DFDEAFF00C013A5 /* CCLabelTTF.h */; }; - 7A59467D19E372EF00F65F90 /* CCLabelBMFont_Private.h in Headers */ = {isa = PBXBuildFile; fileRef = B798D142181F469100E7BFCD /* CCLabelBMFont_Private.h */; }; 7A59467E19E372EF00F65F90 /* CCAnimation.h in Headers */ = {isa = PBXBuildFile; fileRef = E02BB702126CADEA006E46A2 /* CCAnimation.h */; }; 7A59468019E372EF00F65F90 /* CCAnimationCache.h in Headers */ = {isa = PBXBuildFile; fileRef = E02BB6D4126CA93A006E46A2 /* CCAnimationCache.h */; }; 7A59468219E372EF00F65F90 /* CCSprite.h in Headers */ = {isa = PBXBuildFile; fileRef = 509A79950F6188420032F449 /* CCSprite.h */; }; @@ -161,71 +286,21 @@ 7A59468619E372EF00F65F90 /* CCSpriteBatchNode.h in Headers */ = {isa = PBXBuildFile; fileRef = E0C3655911F0AE9B001C08F9 /* CCSpriteBatchNode.h */; }; 7A59468819E372F000F65F90 /* CCSpriteFrame.h in Headers */ = {isa = PBXBuildFile; fileRef = 50E2A14E10A45E7F00D894CE /* CCSpriteFrame.h */; }; 7A59468A19E372F000F65F90 /* CCSpriteFrameCache.h in Headers */ = {isa = PBXBuildFile; fileRef = 502C8BDE10A661E200D137BA /* CCSpriteFrameCache.h */; }; - 7A59468C19E372F000F65F90 /* CCSprite_Private.h in Headers */ = {isa = PBXBuildFile; fileRef = B798D1441820305400E7BFCD /* CCSprite_Private.h */; }; 7A59468D19E372F000F65F90 /* CCResponder.h in Headers */ = {isa = PBXBuildFile; fileRef = A6A0734817C78EF3004343C8 /* CCResponder.h */; }; - 7A59469119E372F000F65F90 /* CCTouch.h in Headers */ = {isa = PBXBuildFile; fileRef = D25B4F49194A499700DA9D60 /* CCTouch.h */; }; - 7A59469319E372F000F65F90 /* CCTouchEvent.h in Headers */ = {isa = PBXBuildFile; fileRef = D26A0428194B815500503BEC /* CCTouchEvent.h */; }; - 7A59469519E372F000F65F90 /* CCParticleSystemBase.h in Headers */ = {isa = PBXBuildFile; fileRef = 5038B6B00E196CD8009A621E /* CCParticleSystemBase.h */; }; - 7A59469719E372F100F65F90 /* CCParticleSystem.h in Headers */ = {isa = PBXBuildFile; fileRef = 50D413240F9A3FE00040C3C8 /* CCParticleSystem.h */; }; - 7A59469919E372F100F65F90 /* CCParticleBatchNode.h in Headers */ = {isa = PBXBuildFile; fileRef = A0C20AC6144FDAF700D84B47 /* CCParticleBatchNode.h */; }; - 7A59469B19E372F100F65F90 /* CCParticleExamples.h in Headers */ = {isa = PBXBuildFile; fileRef = 504055AE0E3230BD00213FEF /* CCParticleExamples.h */; }; - 7A59469C19E372F100F65F90 /* CCParticleExamples.m in Headers */ = {isa = PBXBuildFile; fileRef = 504055AF0E3230BD00213FEF /* CCParticleExamples.m */; }; - 7A59469D19E372F100F65F90 /* CCParticleSystemBase_Private.h in Headers */ = {isa = PBXBuildFile; fileRef = B798D14C18204BEC00E7BFCD /* CCParticleSystemBase_Private.h */; }; - 7A59469E19E372F100F65F90 /* CCParticleSystem_Private.h in Headers */ = {isa = PBXBuildFile; fileRef = B798D15218205EFB00E7BFCD /* CCParticleSystem_Private.h */; }; - 7A59469F19E372F100F65F90 /* CCParallaxNode.h in Headers */ = {isa = PBXBuildFile; fileRef = 502C6C6A0FB87970002BF3C2 /* CCParallaxNode.h */; }; - 7A5946A019E372F100F65F90 /* CCParallaxNode.m in Headers */ = {isa = PBXBuildFile; fileRef = 502C6C6B0FB87970002BF3C2 /* CCParallaxNode.m */; }; - 7A5946A119E372F100F65F90 /* CCTiledMap.h in Headers */ = {isa = PBXBuildFile; fileRef = 509D0816101E4FCE007E1749 /* CCTiledMap.h */; }; - 7A5946A219E372F100F65F90 /* CCTiledMap.m in Headers */ = {isa = PBXBuildFile; fileRef = 509D0817101E4FCE007E1749 /* CCTiledMap.m */; }; - 7A5946A319E372F100F65F90 /* CCTiledMapLayer.h in Headers */ = {isa = PBXBuildFile; fileRef = 50D2AC9110E90DFA0068ECEB /* CCTiledMapLayer.h */; }; - 7A5946A419E372F100F65F90 /* CCTiledMapLayer.m in Headers */ = {isa = PBXBuildFile; fileRef = 50D2AC9210E90DFA0068ECEB /* CCTiledMapLayer.m */; }; - 7A5946A519E372F200F65F90 /* CCTiledMapObjectGroup.h in Headers */ = {isa = PBXBuildFile; fileRef = 50D2AC9310E90DFA0068ECEB /* CCTiledMapObjectGroup.h */; }; - 7A5946A619E372F200F65F90 /* CCTiledMapObjectGroup.m in Headers */ = {isa = PBXBuildFile; fileRef = 50D2AC9410E90DFA0068ECEB /* CCTiledMapObjectGroup.m */; }; - 7A5946A719E372F200F65F90 /* CCTMXXMLParser.h in Headers */ = {isa = PBXBuildFile; fileRef = 50CFAC371023660000175934 /* CCTMXXMLParser.h */; }; - 7A5946A819E372F200F65F90 /* CCTMXXMLParser.m in Headers */ = {isa = PBXBuildFile; fileRef = 50CFAC381023660000175934 /* CCTMXXMLParser.m */; }; - 7A5946A919E372F200F65F90 /* CCTiledMapLayer_Private.h in Headers */ = {isa = PBXBuildFile; fileRef = B791E849182064BF00DAE1D7 /* CCTiledMapLayer_Private.h */; }; 7A5946AA19E372F200F65F90 /* CCScene.h in Headers */ = {isa = PBXBuildFile; fileRef = 5018F2600DFDEAFF00C013A5 /* CCScene.h */; }; 7A5946AC19E372F200F65F90 /* CCTransition.h in Headers */ = {isa = PBXBuildFile; fileRef = A6DC4E0718055DCC00C280A6 /* CCTransition.h */; }; - 7A5946AE19E372F200F65F90 /* CCPhysicsBody.h in Headers */ = {isa = PBXBuildFile; fileRef = D33803E418032F250072D8FE /* CCPhysicsBody.h */; }; - 7A5946AF19E372F200F65F90 /* CCPhysicsBody.m in Headers */ = {isa = PBXBuildFile; fileRef = D33803E218032ECE0072D8FE /* CCPhysicsBody.m */; }; - 7A5946B019E372F200F65F90 /* CCPhysicsShape.h in Headers */ = {isa = PBXBuildFile; fileRef = D3A2E7D0181E12750033614C /* CCPhysicsShape.h */; }; - 7A5946B219E372F300F65F90 /* CCPhysicsJoint.h in Headers */ = {isa = PBXBuildFile; fileRef = D33803E81803319F0072D8FE /* CCPhysicsJoint.h */; }; - 7A5946B419E372F300F65F90 /* CCPhysicsNode.h in Headers */ = {isa = PBXBuildFile; fileRef = D33803E718032F4A0072D8FE /* CCPhysicsNode.h */; }; - 7A5946B619E372F300F65F90 /* CCPhysics+ObjectiveChipmunk.h in Headers */ = {isa = PBXBuildFile; fileRef = D33803DC18032E4F0072D8FE /* CCPhysics+ObjectiveChipmunk.h */; }; - 7A5946B719E372F300F65F90 /* CCEffectNode.h in Headers */ = {isa = PBXBuildFile; fileRef = D272031E18FC89A000B100FF /* CCEffectNode.h */; }; 7A5946B919E372F300F65F90 /* CCNodeColor.h in Headers */ = {isa = PBXBuildFile; fileRef = 5018F25E0DFDEAFF00C013A5 /* CCNodeColor.h */; }; - 7A5946BB19E372F400F65F90 /* CCClippingNode.h in Headers */ = {isa = PBXBuildFile; fileRef = 2B192833163361B10049A044 /* CCClippingNode.h */; }; - 7A5946BD19E372F400F65F90 /* CCMotionStreak.h in Headers */ = {isa = PBXBuildFile; fileRef = 50316AD21029A126003ACFE7 /* CCMotionStreak.h */; }; - 7A5946BF19E372F400F65F90 /* CCProgressNode.h in Headers */ = {isa = PBXBuildFile; fileRef = B791E85B182074C500DAE1D7 /* CCProgressNode.h */; }; 7A5946C119E372F400F65F90 /* CCRenderTexture.h in Headers */ = {isa = PBXBuildFile; fileRef = 50316AA410291280003ACFE7 /* CCRenderTexture.h */; }; - 7A5946C319E372F400F65F90 /* CCProgressNode_Private.h in Headers */ = {isa = PBXBuildFile; fileRef = B791E85A182074C500DAE1D7 /* CCProgressNode_Private.h */; }; 7A5946C419E372F400F65F90 /* CCRenderTexture_Private.h in Headers */ = {isa = PBXBuildFile; fileRef = D2B840C31909F447008063EA /* CCRenderTexture_Private.h */; }; - 7A5946C519E372F500F65F90 /* CCPackage.h in Headers */ = {isa = PBXBuildFile; fileRef = 83E1A85A19C8ACA0000A3BCA /* CCPackage.h */; }; - 7A5946C719E372F500F65F90 /* CCPackageConstants.h in Headers */ = {isa = PBXBuildFile; fileRef = 83E1A85C19C8ACA0000A3BCA /* CCPackageConstants.h */; }; - 7A5946C919E372F500F65F90 /* CCPackageManager.h in Headers */ = {isa = PBXBuildFile; fileRef = 83E1A85E19C8ACA0000A3BCA /* CCPackageManager.h */; }; - 7A5946CB19E372F500F65F90 /* CCPackageManagerDelegate.h in Headers */ = {isa = PBXBuildFile; fileRef = 83E1A86019C8ACA0000A3BCA /* CCPackageManagerDelegate.h */; }; - 7A5946CC19E372F500F65F90 /* CCPackageTypes.h in Headers */ = {isa = PBXBuildFile; fileRef = 83E1A86119C8ACA0000A3BCA /* CCPackageTypes.h */; }; - 7A5946CD19E372F500F65F90 /* CCPackageDownload.h in Headers */ = {isa = PBXBuildFile; fileRef = 83E1A87019C8ACC1000A3BCA /* CCPackageDownload.h */; }; - 7A5946CF19E372F600F65F90 /* CCPackageDownloadDelegate.h in Headers */ = {isa = PBXBuildFile; fileRef = 83E1A87219C8ACC1000A3BCA /* CCPackageDownloadDelegate.h */; }; - 7A5946D019E372F600F65F90 /* CCPackageDownloadManager.h in Headers */ = {isa = PBXBuildFile; fileRef = 83E1A87319C8ACC1000A3BCA /* CCPackageDownloadManager.h */; }; - 7A5946D219E372F600F65F90 /* CCPackageDownloadManagerDelegate.h in Headers */ = {isa = PBXBuildFile; fileRef = 83E1A87519C8ACC1000A3BCA /* CCPackageDownloadManagerDelegate.h */; }; - 7A5946D319E372F600F65F90 /* CCPackageUnzipper.h in Headers */ = {isa = PBXBuildFile; fileRef = 83E1A86A19C8ACAF000A3BCA /* CCPackageUnzipper.h */; }; - 7A5946D519E372F600F65F90 /* CCPackageUnzipperDelegate.h in Headers */ = {isa = PBXBuildFile; fileRef = 83E1A86C19C8ACAF000A3BCA /* CCPackageUnzipperDelegate.h */; }; - 7A5946D619E372F700F65F90 /* CCPackageCocos2dEnabler.h in Headers */ = {isa = PBXBuildFile; fileRef = 83E1A87E19C8ACDC000A3BCA /* CCPackageCocos2dEnabler.h */; }; - 7A5946D819E372F700F65F90 /* CCPackageInstaller.h in Headers */ = {isa = PBXBuildFile; fileRef = 83E1A88219C8ACDC000A3BCA /* CCPackageInstaller.h */; }; - 7A5946DA19E372F700F65F90 /* CCPackageHelper.h in Headers */ = {isa = PBXBuildFile; fileRef = E525FF8C7C018BF691F36044 /* CCPackageHelper.h */; }; - 7A5946DC19E372F700F65F90 /* CCPackage_private.h in Headers */ = {isa = PBXBuildFile; fileRef = E525FE4C98BCF1228ECC9623 /* CCPackage_private.h */; }; - 7A5946DD19E372F700F65F90 /* CCActionManager_Private.h in Headers */ = {isa = PBXBuildFile; fileRef = 92FF6C7318F33A2A005B7139 /* CCActionManager_Private.h */; }; 7A5946DE19E372F800F65F90 /* CCActionManager.h in Headers */ = {isa = PBXBuildFile; fileRef = 50CB3B0C100AC43A00B7A750 /* CCActionManager.h */; }; 7A5946E019E372F800F65F90 /* CCAction.h in Headers */ = {isa = PBXBuildFile; fileRef = 5018F2520DFDEAFF00C013A5 /* CCAction.h */; }; 7A5946E219E372F800F65F90 /* CCActionInstant.h in Headers */ = {isa = PBXBuildFile; fileRef = 5018F2580DFDEAFF00C013A5 /* CCActionInstant.h */; }; 7A5946E419E372F800F65F90 /* CCActionInterval.h in Headers */ = {isa = PBXBuildFile; fileRef = 5018F25A0DFDEAFF00C013A5 /* CCActionInterval.h */; }; 7A5946E619E372F900F65F90 /* CCActionEase.h in Headers */ = {isa = PBXBuildFile; fileRef = 50F7B2760F28DE7C00057537 /* CCActionEase.h */; }; 7A5946E819E372F900F65F90 /* CCActionCatmullRom.h in Headers */ = {isa = PBXBuildFile; fileRef = A0A7A53A1514F27D00C8BD16 /* CCActionCatmullRom.h */; }; - 7A5946EA19E372F900F65F90 /* CCActionProgressTimer.h in Headers */ = {isa = PBXBuildFile; fileRef = 50150435113300F900A9CA65 /* CCActionProgressTimer.h */; }; 7A5946EC19E372FA00F65F90 /* CCActionTween.h in Headers */ = {isa = PBXBuildFile; fileRef = 50FBB2D8117613F500150761 /* CCActionTween.h */; }; 7A5946EE19E372FA00F65F90 /* CCTexturePVR.h in Headers */ = {isa = PBXBuildFile; fileRef = E0F9246F1224140400EF2362 /* CCTexturePVR.h */; }; 7A5946F019E372FA00F65F90 /* CCTexture.h in Headers */ = {isa = PBXBuildFile; fileRef = 50E1357110ADEB1B00C9E7FA /* CCTexture.h */; }; - 7A5946F219E372FA00F65F90 /* CCTexture_Private.h in Headers */ = {isa = PBXBuildFile; fileRef = B706B19718209A8300B27A2C /* CCTexture_Private.h */; }; 7A5946F319E372FB00F65F90 /* CCTextureCache.h in Headers */ = {isa = PBXBuildFile; fileRef = 5018F2670DFDEAFF00C013A5 /* CCTextureCache.h */; }; 7A5946F519E372FB00F65F90 /* uthash.h in Headers */ = {isa = PBXBuildFile; fileRef = 50D898EF1192CB7500458C29 /* uthash.h */; }; 7A5946F619E372FB00F65F90 /* utlist.h in Headers */ = {isa = PBXBuildFile; fileRef = 508EAC2F1193F8B0007F058D /* utlist.h */; }; @@ -245,28 +320,14 @@ 7A59471019E372FF00F65F90 /* CCRendererBasicTypes.h in Headers */ = {isa = PBXBuildFile; fileRef = D34CAD6519C3A7A5009BED7A /* CCRendererBasicTypes.h */; }; 7A59471119E372FF00F65F90 /* CCRendererBasicTypes_Private.h in Headers */ = {isa = PBXBuildFile; fileRef = D34CAD6A19C3AA10009BED7A /* CCRendererBasicTypes_Private.h */; }; 7A59471319E3730000F65F90 /* CCShader.h in Headers */ = {isa = PBXBuildFile; fileRef = E0BC7D9B1342CE7B001B4DCC /* CCShader.h */; }; - 7A59471419E3730000F65F90 /* CCShader_Private.h in Headers */ = {isa = PBXBuildFile; fileRef = D39FA9C718C1BC6B00441627 /* CCShader_Private.h */; }; 7A59471619E3730000F65F90 /* NSValue+CCRenderer.h in Headers */ = {isa = PBXBuildFile; fileRef = D34CAD5F19C3A0B5009BED7A /* NSValue+CCRenderer.h */; }; 7A59471819E3730100F65F90 /* CCRenderer.h in Headers */ = {isa = PBXBuildFile; fileRef = D38058181889AD6000822437 /* CCRenderer.h */; }; 7A59471919E3730100F65F90 /* CCRenderer_Private.h in Headers */ = {isa = PBXBuildFile; fileRef = D309054F18AC23110081BF11 /* CCRenderer_Private.h */; }; 7A59471A19E3730200F65F90 /* CCRenderer.m in Headers */ = {isa = PBXBuildFile; fileRef = D38058191889AD6000822437 /* CCRenderer.m */; }; - 7A59471C19E3730200F65F90 /* CCMathUtilsAndroid.h in Headers */ = {isa = PBXBuildFile; fileRef = D2DDB08819805E8400233D80 /* CCMathUtilsAndroid.h */; }; - 7A59471D19E3730200F65F90 /* CCMatrix3.h in Headers */ = {isa = PBXBuildFile; fileRef = D2DDB08919805E8400233D80 /* CCMatrix3.h */; }; - 7A59471E19E3730300F65F90 /* CCMatrix4.h in Headers */ = {isa = PBXBuildFile; fileRef = D2DDB08A19805E8400233D80 /* CCMatrix4.h */; }; - 7A59471F19E3730300F65F90 /* CCQuaternion.h in Headers */ = {isa = PBXBuildFile; fileRef = D2DDB08B19805E8400233D80 /* CCQuaternion.h */; }; - 7A59472019E3730300F65F90 /* CCMathTypesAndroid.h in Headers */ = {isa = PBXBuildFile; fileRef = D2DDB08C19805E8400233D80 /* CCMathTypesAndroid.h */; }; - 7A59472219E3730400F65F90 /* CCVector3.h in Headers */ = {isa = PBXBuildFile; fileRef = D2DDB08E19805E8400233D80 /* CCVector3.h */; }; - 7A59472319E3730400F65F90 /* CCVector4.h in Headers */ = {isa = PBXBuildFile; fileRef = D2DDB08F19805E8400233D80 /* CCVector4.h */; }; - 7A59472419E3730400F65F90 /* CCVector2.h in Headers */ = {isa = PBXBuildFile; fileRef = D2DDB09019805E8400233D80 /* CCVector2.h */; }; - 7A59472A19E3730500F65F90 /* CCActivity.h in Headers */ = {isa = PBXBuildFile; fileRef = 5BF32696195F947800D9A51A /* CCActivity.h */; }; - 7A59472E19E3730600F65F90 /* CCDirectorAndroid.h in Headers */ = {isa = PBXBuildFile; fileRef = D285ECF6192EF5B2009F4E88 /* CCDirectorAndroid.h */; }; - 7A59473019E3730700F65F90 /* CCTouchAndroid.h in Headers */ = {isa = PBXBuildFile; fileRef = D23C5CBA194BC500007CA669 /* CCTouchAndroid.h */; }; - 7A59473219E3730800F65F90 /* CCGestureListener.h in Headers */ = {isa = PBXBuildFile; fileRef = 5BC3CB5719626FA000C4F0D0 /* CCGestureListener.h */; }; 7A59473519E3730800F65F90 /* CCMetalView.h in Headers */ = {isa = PBXBuildFile; fileRef = D3903B12199528B6003AA81A /* CCMetalView.h */; }; 7A59473719E3730900F65F90 /* UITouch+CC.h in Headers */ = {isa = PBXBuildFile; fileRef = B78AE46A17E7AF6C0028BE0B /* UITouch+CC.h */; }; 7A59473919E3730900F65F90 /* CCDirectorIOS.h in Headers */ = {isa = PBXBuildFile; fileRef = E0EAD0EA121F4B4600B0C81C /* CCDirectorIOS.h */; }; 7A59473D19E3730A00F65F90 /* CCAppDelegate.h in Headers */ = {isa = PBXBuildFile; fileRef = B7E775CE18527EF0004221AA /* CCAppDelegate.h */; }; - 7A59473F19E3730B00F65F90 /* CCTouchIOS.h in Headers */ = {isa = PBXBuildFile; fileRef = D23C5CB2194BC108007CA669 /* CCTouchIOS.h */; }; 7A59474119E3730B00F65F90 /* CCMetalSupport_Private.h in Headers */ = {isa = PBXBuildFile; fileRef = D31C795119994197007921E1 /* CCMetalSupport_Private.h */; }; 7A59474319E3730C00F65F90 /* CCDirectorMac.h in Headers */ = {isa = PBXBuildFile; fileRef = A046E28B14C1DB7D0005BBF2 /* CCDirectorMac.h */; }; 7A59474519E3730C00F65F90 /* CCGLView.h in Headers */ = {isa = PBXBuildFile; fileRef = A046E28F14C1DB7D0005BBF2 /* CCGLView.h */; }; @@ -282,21 +343,9 @@ 7A59475419E3731000F65F90 /* CCConfiguration.h in Headers */ = {isa = PBXBuildFile; fileRef = E0EAD1F0121F522A00B0C81C /* CCConfiguration.h */; }; 7A59475619E3731100F65F90 /* CCProtocols.h in Headers */ = {isa = PBXBuildFile; fileRef = 50E2A25110A46CC600D894CE /* CCProtocols.h */; }; 7A59475719E3731100F65F90 /* CCScheduler.h in Headers */ = {isa = PBXBuildFile; fileRef = 5066020F0E38A70D000B500E /* CCScheduler.h */; }; - 7A59475919E3731100F65F90 /* CCDirector_Private.h in Headers */ = {isa = PBXBuildFile; fileRef = B706B19918209FA000B27A2C /* CCDirector_Private.h */; }; 7A59476019E3731400F65F90 /* CCPlatformTextField.h in Headers */ = {isa = PBXBuildFile; fileRef = 571CD01E19649E03003D460C /* CCPlatformTextField.h */; }; 7A59476219E3731400F65F90 /* CCPlatformTextFieldIOS.h in Headers */ = {isa = PBXBuildFile; fileRef = 571CD02119649E03003D460C /* CCPlatformTextFieldIOS.h */; }; 7A59476419E3731500F65F90 /* CCPlatformTextFieldMac.h in Headers */ = {isa = PBXBuildFile; fileRef = 571CD02419649E03003D460C /* CCPlatformTextFieldMac.h */; }; - 7A59476619E3731600F65F90 /* CCAnimationManager_Private.h in Headers */ = {isa = PBXBuildFile; fileRef = D24160F61958F6EE003673BD /* CCAnimationManager_Private.h */; }; - 7A59476719E3731600F65F90 /* CCAnimationManager.h in Headers */ = {isa = PBXBuildFile; fileRef = D24160F71958F6EE003673BD /* CCAnimationManager.h */; }; - 7A59476919E3731700F65F90 /* CCAnimationManager+FrameAnimation.h in Headers */ = {isa = PBXBuildFile; fileRef = D24160F91958F6EE003673BD /* CCAnimationManager+FrameAnimation.h */; }; - 7A59476B19E3731800F65F90 /* CCBAnimationManager.h in Headers */ = {isa = PBXBuildFile; fileRef = D24160FB1958F6EE003673BD /* CCBAnimationManager.h */; }; - 7A59476D19E3731800F65F90 /* CCBKeyframe.h in Headers */ = {isa = PBXBuildFile; fileRef = B7D273021822F4AA0054849B /* CCBKeyframe.h */; }; - 7A59476F19E3731900F65F90 /* CCBLocalizationManager.h in Headers */ = {isa = PBXBuildFile; fileRef = B7D273041822F4AA0054849B /* CCBLocalizationManager.h */; }; - 7A59477119E3731A00F65F90 /* CCBReader.h in Headers */ = {isa = PBXBuildFile; fileRef = B7D273061822F4AA0054849B /* CCBReader.h */; }; - 7A59477319E3731B00F65F90 /* CCBSequence.h in Headers */ = {isa = PBXBuildFile; fileRef = B7D273081822F4AA0054849B /* CCBSequence.h */; }; - 7A59477519E3731C00F65F90 /* CCBSequenceProperty.h in Headers */ = {isa = PBXBuildFile; fileRef = B7D2730A1822F4AA0054849B /* CCBSequenceProperty.h */; }; - 7A59477719E3731C00F65F90 /* CCBuilderReader.h in Headers */ = {isa = PBXBuildFile; fileRef = B7D2730C1822F4AA0054849B /* CCBuilderReader.h */; }; - 7A59477819E3731D00F65F90 /* CCBReader_Private.h in Headers */ = {isa = PBXBuildFile; fileRef = B77060CE18341AD50043CC67 /* CCBReader_Private.h */; }; 7A59477919E3731D00F65F90 /* cocos2d-ui.h in Headers */ = {isa = PBXBuildFile; fileRef = B7C6237917EA7D8600928F91 /* cocos2d-ui.h */; }; 7A59477A19E3731E00F65F90 /* CCControl.h in Headers */ = {isa = PBXBuildFile; fileRef = B78AE45C17E7AF1C0028BE0B /* CCControl.h */; }; 7A59477B19E3731E00F65F90 /* CCControlSubclass.h in Headers */ = {isa = PBXBuildFile; fileRef = B750162218124B6000708A2F /* CCControlSubclass.h */; }; @@ -306,25 +355,6 @@ 7A59478319E3732100F65F90 /* CCControlTextureFactory.h in Headers */ = {isa = PBXBuildFile; fileRef = B78AE45E17E7AF1C0028BE0B /* CCControlTextureFactory.h */; }; 7A59478519E3732100F65F90 /* CCTextField.h in Headers */ = {isa = PBXBuildFile; fileRef = B7E260D618171D2000A0E872 /* CCTextField.h */; }; 7A59478719E3732200F65F90 /* CCSlider.h in Headers */ = {isa = PBXBuildFile; fileRef = B7EE6A1C181AE34600B983FE /* CCSlider.h */; }; - 7A59479119E3759800F65F90 /* CCEffectDistanceField.m in Sources */ = {isa = PBXBuildFile; fileRef = D27451B619AE5517006DA0A1 /* CCEffectDistanceField.m */; }; - 7A59479319E3759800F65F90 /* CCEffectDFOutline.m in Sources */ = {isa = PBXBuildFile; fileRef = D27451C519B111A9006DA0A1 /* CCEffectDFOutline.m */; }; - 7A59479519E3759800F65F90 /* CCEffectDFInnerGlow.m in Sources */ = {isa = PBXBuildFile; fileRef = D299CE7919C2910B00519CBB /* CCEffectDFInnerGlow.m */; }; - 7A59479719E3759800F65F90 /* CCEffectColorChannelOffset.m in Sources */ = {isa = PBXBuildFile; fileRef = 9DBCA31319B68BE400EFE96D /* CCEffectColorChannelOffset.m */; }; - 7A59479919E3759900F65F90 /* CCEffectBlur.m in Sources */ = {isa = PBXBuildFile; fileRef = D3903B091995285B003AA81A /* CCEffectBlur.m */; }; - 7A59479B19E3759900F65F90 /* CCEffectRefraction.m in Sources */ = {isa = PBXBuildFile; fileRef = D268FE161980791300ECBCD0 /* CCEffectRefraction.m */; }; - 7A59479D19E3759900F65F90 /* CCEffectUtils.m in Sources */ = {isa = PBXBuildFile; fileRef = D268FE181980791300ECBCD0 /* CCEffectUtils.m */; }; - 7A59479F19E3759900F65F90 /* CCEffectBloom.m in Sources */ = {isa = PBXBuildFile; fileRef = D268FE06198078FF00ECBCD0 /* CCEffectBloom.m */; }; - 7A5947A119E3759900F65F90 /* CCEffectGlass.m in Sources */ = {isa = PBXBuildFile; fileRef = D268FE08198078FF00ECBCD0 /* CCEffectGlass.m */; }; - 7A5947A319E3759A00F65F90 /* CCEffectHue.m in Sources */ = {isa = PBXBuildFile; fileRef = D268FE0A198078FF00ECBCD0 /* CCEffectHue.m */; }; - 7A5947A519E3759A00F65F90 /* CCEffectReflection.m in Sources */ = {isa = PBXBuildFile; fileRef = D268FE0C198078FF00ECBCD0 /* CCEffectReflection.m */; }; - 7A5947A719E3759A00F65F90 /* CCEffectRenderer.m in Sources */ = {isa = PBXBuildFile; fileRef = D24161051958F72B003673BD /* CCEffectRenderer.m */; }; - 7A5947A919E3759A00F65F90 /* CCEffectSaturation.m in Sources */ = {isa = PBXBuildFile; fileRef = D24161071958F72B003673BD /* CCEffectSaturation.m */; }; - 7A5947AD19E3759B00F65F90 /* CCEffect.m in Sources */ = {isa = PBXBuildFile; fileRef = D272031918FC89A000B100FF /* CCEffect.m */; }; - 7A5947B019E3759B00F65F90 /* CCEffectStack.m in Sources */ = {isa = PBXBuildFile; fileRef = D272032118FC89A000B100FF /* CCEffectStack.m */; }; - 7A5947B219E3759B00F65F90 /* CCEffectBrightness.m in Sources */ = {isa = PBXBuildFile; fileRef = 9D85671C191B018200573093 /* CCEffectBrightness.m */; }; - 7A5947B419E3759B00F65F90 /* CCEffectContrast.m in Sources */ = {isa = PBXBuildFile; fileRef = 9D856720191B019900573093 /* CCEffectContrast.m */; }; - 7A5947B619E3759B00F65F90 /* CCEffectPixellate.m in Sources */ = {isa = PBXBuildFile; fileRef = 9DF37620191C594A00C6D27A /* CCEffectPixellate.m */; }; - 7A5947B819E3759C00F65F90 /* CCEffectDropShadow.m in Sources */ = {isa = PBXBuildFile; fileRef = D27451A919AD430A006DA0A1 /* CCEffectDropShadow.m */; }; 7A5947BA19E3759C00F65F90 /* CCNode.m in Sources */ = {isa = PBXBuildFile; fileRef = 5018F2550DFDEAFF00C013A5 /* CCNode.m */; }; 7A5947BC19E3759C00F65F90 /* CCNode+Debug.m in Sources */ = {isa = PBXBuildFile; fileRef = A039EBFE155C686B0061EE37 /* CCNode+Debug.m */; }; 7A5947BF19E3759C00F65F90 /* CCLayout.m in Sources */ = {isa = PBXBuildFile; fileRef = B7EE69DD1819E75700B983FE /* CCLayout.m */; }; @@ -341,42 +371,16 @@ 7A5947D619E3759F00F65F90 /* CCSpriteFrameCache.m in Sources */ = {isa = PBXBuildFile; fileRef = 502C8BDF10A661E200D137BA /* CCSpriteFrameCache.m */; }; 7A5947D919E3759F00F65F90 /* CCResponder.m in Sources */ = {isa = PBXBuildFile; fileRef = A6A0734917C78EF3004343C8 /* CCResponder.m */; }; 7A5947DB19E3759F00F65F90 /* CCResponderManager.m in Sources */ = {isa = PBXBuildFile; fileRef = A6A0734417C788EB004343C8 /* CCResponderManager.m */; }; - 7A5947E119E375A000F65F90 /* CCParticleSystemBase.m in Sources */ = {isa = PBXBuildFile; fileRef = 5038B6B10E196CD8009A621E /* CCParticleSystemBase.m */; }; - 7A5947E319E375A000F65F90 /* CCParticleSystem.m in Sources */ = {isa = PBXBuildFile; fileRef = 50D413250F9A3FE00040C3C8 /* CCParticleSystem.m */; }; - 7A5947E519E375A000F65F90 /* CCParticleBatchNode.m in Sources */ = {isa = PBXBuildFile; fileRef = A0C20AC7144FDAF700D84B47 /* CCParticleBatchNode.m */; }; - 7A5947E719E375A000F65F90 /* CCParticleExamples.m in Sources */ = {isa = PBXBuildFile; fileRef = 504055AF0E3230BD00213FEF /* CCParticleExamples.m */; }; - 7A5947EB19E375A100F65F90 /* CCParallaxNode.m in Sources */ = {isa = PBXBuildFile; fileRef = 502C6C6B0FB87970002BF3C2 /* CCParallaxNode.m */; }; - 7A5947ED19E375A100F65F90 /* CCTiledMap.m in Sources */ = {isa = PBXBuildFile; fileRef = 509D0817101E4FCE007E1749 /* CCTiledMap.m */; }; - 7A5947EF19E375A100F65F90 /* CCTiledMapLayer.m in Sources */ = {isa = PBXBuildFile; fileRef = 50D2AC9210E90DFA0068ECEB /* CCTiledMapLayer.m */; }; - 7A5947F119E375A100F65F90 /* CCTiledMapObjectGroup.m in Sources */ = {isa = PBXBuildFile; fileRef = 50D2AC9410E90DFA0068ECEB /* CCTiledMapObjectGroup.m */; }; - 7A5947F319E375A200F65F90 /* CCTMXXMLParser.m in Sources */ = {isa = PBXBuildFile; fileRef = 50CFAC381023660000175934 /* CCTMXXMLParser.m */; }; 7A5947F619E375A200F65F90 /* CCScene.m in Sources */ = {isa = PBXBuildFile; fileRef = 5018F2610DFDEAFF00C013A5 /* CCScene.m */; }; 7A5947F819E375A200F65F90 /* CCTransition.m in Sources */ = {isa = PBXBuildFile; fileRef = A6DC4E0818055DCC00C280A6 /* CCTransition.m */; }; - 7A5947FA19E375A200F65F90 /* CCPhysicsBody.m in Sources */ = {isa = PBXBuildFile; fileRef = D33803E218032ECE0072D8FE /* CCPhysicsBody.m */; }; - 7A5947FC19E375A200F65F90 /* CCPhysicsShape.m in Sources */ = {isa = PBXBuildFile; fileRef = D3A2E7D1181E12750033614C /* CCPhysicsShape.m */; }; - 7A5947FE19E375A300F65F90 /* CCPhysicsJoint.m in Sources */ = {isa = PBXBuildFile; fileRef = D33803E9180331A90072D8FE /* CCPhysicsJoint.m */; }; - 7A59480019E375A300F65F90 /* CCPhysicsNode.m in Sources */ = {isa = PBXBuildFile; fileRef = D33803E518032F390072D8FE /* CCPhysicsNode.m */; }; - 7A59480319E375A300F65F90 /* CCEffectNode.m in Sources */ = {isa = PBXBuildFile; fileRef = D272031F18FC89A000B100FF /* CCEffectNode.m */; }; 7A59480519E375A300F65F90 /* CCNodeColor.m in Sources */ = {isa = PBXBuildFile; fileRef = 5018F25F0DFDEAFF00C013A5 /* CCNodeColor.m */; }; - 7A59480719E375A400F65F90 /* CCClippingNode.m in Sources */ = {isa = PBXBuildFile; fileRef = 2B192834163361B10049A044 /* CCClippingNode.m */; }; - 7A59480919E375A400F65F90 /* CCMotionStreak.m in Sources */ = {isa = PBXBuildFile; fileRef = 50316AD31029A126003ACFE7 /* CCMotionStreak.m */; }; - 7A59480B19E375A400F65F90 /* CCProgressNode.m in Sources */ = {isa = PBXBuildFile; fileRef = B791E85C182074C500DAE1D7 /* CCProgressNode.m */; }; 7A59480D19E375A400F65F90 /* CCRenderTexture.m in Sources */ = {isa = PBXBuildFile; fileRef = 50316AA510291280003ACFE7 /* CCRenderTexture.m */; }; - 7A59481119E375A500F65F90 /* CCPackage.m in Sources */ = {isa = PBXBuildFile; fileRef = 83E1A85B19C8ACA0000A3BCA /* CCPackage.m */; }; - 7A59481319E375A500F65F90 /* CCPackageConstants.m in Sources */ = {isa = PBXBuildFile; fileRef = 83E1A85D19C8ACA0000A3BCA /* CCPackageConstants.m */; }; - 7A59481919E375A600F65F90 /* CCPackageDownload.m in Sources */ = {isa = PBXBuildFile; fileRef = 83E1A87119C8ACC1000A3BCA /* CCPackageDownload.m */; }; - 7A59481C19E375A600F65F90 /* CCPackageDownloadManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 83E1A87419C8ACC1000A3BCA /* CCPackageDownloadManager.m */; }; - 7A59481F19E375A600F65F90 /* CCPackageUnzipper.m in Sources */ = {isa = PBXBuildFile; fileRef = 83E1A86B19C8ACAF000A3BCA /* CCPackageUnzipper.m */; }; - 7A59482219E375A700F65F90 /* CCPackageCocos2dEnabler.m in Sources */ = {isa = PBXBuildFile; fileRef = 83E1A87F19C8ACDC000A3BCA /* CCPackageCocos2dEnabler.m */; }; - 7A59482419E375A700F65F90 /* CCPackageInstaller.m in Sources */ = {isa = PBXBuildFile; fileRef = 83E1A88319C8ACDC000A3BCA /* CCPackageInstaller.m */; }; - 7A59482619E375A700F65F90 /* CCPackageHelper.m in Sources */ = {isa = PBXBuildFile; fileRef = E525F9EA4B5DD37D0418869E /* CCPackageHelper.m */; }; 7A59482A19E375A700F65F90 /* CCActionManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 50CB3B0D100AC43A00B7A750 /* CCActionManager.m */; }; 7A59482C19E375A800F65F90 /* CCAction.m in Sources */ = {isa = PBXBuildFile; fileRef = 5018F2530DFDEAFF00C013A5 /* CCAction.m */; }; 7A59482E19E375A800F65F90 /* CCActionInstant.m in Sources */ = {isa = PBXBuildFile; fileRef = 5018F2590DFDEAFF00C013A5 /* CCActionInstant.m */; }; 7A59483019E375A800F65F90 /* CCActionInterval.m in Sources */ = {isa = PBXBuildFile; fileRef = 5018F25B0DFDEAFF00C013A5 /* CCActionInterval.m */; }; 7A59483219E375A800F65F90 /* CCActionEase.m in Sources */ = {isa = PBXBuildFile; fileRef = 50F7B2770F28DE7C00057537 /* CCActionEase.m */; }; 7A59483419E375A900F65F90 /* CCActionCatmullRom.m in Sources */ = {isa = PBXBuildFile; fileRef = A0A7A53B1514F27D00C8BD16 /* CCActionCatmullRom.m */; }; - 7A59483619E375A900F65F90 /* CCActionProgressTimer.m in Sources */ = {isa = PBXBuildFile; fileRef = 50150436113300F900A9CA65 /* CCActionProgressTimer.m */; }; 7A59483819E375A900F65F90 /* CCActionTween.m in Sources */ = {isa = PBXBuildFile; fileRef = 50FBB2D9117613F500150761 /* CCActionTween.m */; }; 7A59483A19E375A900F65F90 /* CCTexturePVR.m in Sources */ = {isa = PBXBuildFile; fileRef = E0F924701224140400EF2362 /* CCTexturePVR.m */; }; 7A59483C19E375A900F65F90 /* CCTexture.m in Sources */ = {isa = PBXBuildFile; fileRef = 50E1357210ADEB1B00C9E7FA /* CCTexture.m */; }; @@ -397,12 +401,6 @@ 7A59486019E375AE00F65F90 /* CCShader.m in Sources */ = {isa = PBXBuildFile; fileRef = E0BC7D9C1342CE7B001B4DCC /* CCShader.m */; }; 7A59486219E375AE00F65F90 /* NSValue+CCRenderer.m in Sources */ = {isa = PBXBuildFile; fileRef = D34CAD6219C3A0FD009BED7A /* NSValue+CCRenderer.m */; }; 7A59486519E375AE00F65F90 /* CCRenderer.m in Sources */ = {isa = PBXBuildFile; fileRef = D38058191889AD6000822437 /* CCRenderer.m */; }; - 7A59486C19E375AF00F65F90 /* CCMatrix4.m in Sources */ = {isa = PBXBuildFile; fileRef = D2DDB08D19805E8400233D80 /* CCMatrix4.m */; }; - 7A59487019E375B000F65F90 /* CCQuaternion.m in Sources */ = {isa = PBXBuildFile; fileRef = D2DDB09119805E8400233D80 /* CCQuaternion.m */; }; - 7A59487119E375B000F65F90 /* CCMatrix3.m in Sources */ = {isa = PBXBuildFile; fileRef = D2DDB09219805E8400233D80 /* CCMatrix3.m */; }; - 7A59487619E375B000F65F90 /* CCActivity.m in Sources */ = {isa = PBXBuildFile; fileRef = 5BF32697195F947800D9A51A /* CCActivity.m */; }; - 7A59487A19E375B100F65F90 /* CCDirectorAndroid.m in Sources */ = {isa = PBXBuildFile; fileRef = D285ECF7192EF5B2009F4E88 /* CCDirectorAndroid.m */; }; - 7A59487E19E375B100F65F90 /* CCGestureListener.m in Sources */ = {isa = PBXBuildFile; fileRef = 5BC3CB5819626FA000C4F0D0 /* CCGestureListener.m */; }; 7A59488119E375B200F65F90 /* CCMetalView.m in Sources */ = {isa = PBXBuildFile; fileRef = D3903B13199528B6003AA81A /* CCMetalView.m */; }; 7A59488319E375B200F65F90 /* UITouch+CC.m in Sources */ = {isa = PBXBuildFile; fileRef = B78AE46B17E7AF6C0028BE0B /* UITouch+CC.m */; }; 7A59488519E375B200F65F90 /* CCDirectorIOS.m in Sources */ = {isa = PBXBuildFile; fileRef = E0EAD0EB121F4B4600B0C81C /* CCDirectorIOS.m */; }; @@ -418,14 +416,6 @@ 7A5948A319E375B700F65F90 /* CCScheduler.m in Sources */ = {isa = PBXBuildFile; fileRef = 506602100E38A70D000B500E /* CCScheduler.m */; }; 7A5948A519E375B700F65F90 /* CCNoARC.m in Sources */ = {isa = PBXBuildFile; fileRef = D3903B0C1995288D003AA81A /* CCNoARC.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; 7A5948B019E375B900F65F90 /* CCPlatformTextFieldMac.m in Sources */ = {isa = PBXBuildFile; fileRef = 571CD02519649E03003D460C /* CCPlatformTextFieldMac.m */; }; - 7A5948B319E375B900F65F90 /* CCAnimationManager.m in Sources */ = {isa = PBXBuildFile; fileRef = D24160F81958F6EE003673BD /* CCAnimationManager.m */; }; - 7A5948B519E375B900F65F90 /* CCAnimationManager+FrameAnimation.m in Sources */ = {isa = PBXBuildFile; fileRef = D24160FA1958F6EE003673BD /* CCAnimationManager+FrameAnimation.m */; }; - 7A5948B719E375BA00F65F90 /* CCBAnimationManager.m in Sources */ = {isa = PBXBuildFile; fileRef = D24160FC1958F6EE003673BD /* CCBAnimationManager.m */; }; - 7A5948B919E375BA00F65F90 /* CCBKeyframe.m in Sources */ = {isa = PBXBuildFile; fileRef = B7D273031822F4AA0054849B /* CCBKeyframe.m */; }; - 7A5948BB19E375BA00F65F90 /* CCBLocalizationManager.m in Sources */ = {isa = PBXBuildFile; fileRef = B7D273051822F4AA0054849B /* CCBLocalizationManager.m */; }; - 7A5948BD19E375BB00F65F90 /* CCBReader.m in Sources */ = {isa = PBXBuildFile; fileRef = B7D273071822F4AA0054849B /* CCBReader.m */; }; - 7A5948BF19E375BB00F65F90 /* CCBsequence.m in Sources */ = {isa = PBXBuildFile; fileRef = B7D273091822F4AA0054849B /* CCBsequence.m */; }; - 7A5948C119E375BB00F65F90 /* CCBSequenceProperty.m in Sources */ = {isa = PBXBuildFile; fileRef = B7D2730B1822F4AA0054849B /* CCBSequenceProperty.m */; }; 7A5948C719E375BC00F65F90 /* CCControl.m in Sources */ = {isa = PBXBuildFile; fileRef = B78AE45D17E7AF1C0028BE0B /* CCControl.m */; }; 7A5948C919E375BD00F65F90 /* CCButton.m in Sources */ = {isa = PBXBuildFile; fileRef = B78AE45B17E7AF1C0028BE0B /* CCButton.m */; }; 7A5948CB19E375BD00F65F90 /* CCTableView.m in Sources */ = {isa = PBXBuildFile; fileRef = B79F905917FE2A2E00908504 /* CCTableView.m */; }; @@ -433,74 +423,7 @@ 7A5948CF19E375BE00F65F90 /* CCControlTextureFactory.m in Sources */ = {isa = PBXBuildFile; fileRef = B78AE45F17E7AF1C0028BE0B /* CCControlTextureFactory.m */; }; 7A5948D119E375BE00F65F90 /* CCTextField.m in Sources */ = {isa = PBXBuildFile; fileRef = B7E260D718171D2000A0E872 /* CCTextField.m */; }; 7A5948D319E375BE00F65F90 /* CCSlider.m in Sources */ = {isa = PBXBuildFile; fileRef = B7EE6A1D181AE34600B983FE /* CCSlider.m */; }; - 7A59493E19E3803200F65F90 /* CCEffectBlur.h in Headers */ = {isa = PBXBuildFile; fileRef = D3903B081995285B003AA81A /* CCEffectBlur.h */; }; 7A59494019E3810500F65F90 /* CCPlatformTextField.m in Sources */ = {isa = PBXBuildFile; fileRef = 571CD01F19649E03003D460C /* CCPlatformTextField.m */; }; - 7A59498319E38C9800F65F90 /* libSSZipArchiveMac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 7A59498219E38C8300F65F90 /* libSSZipArchiveMac.a */; }; - 7A97912B19E646F9001FFC4D /* libSSZipArchiveAndroid.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 7A40378319E36EFF007B6E8F /* libSSZipArchiveAndroid.a */; }; - 83409E4919D5BADC004B7EB9 /* libSSZipArchive.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 83409E3619D5B791004B7EB9 /* libSSZipArchive.a */; }; - 839CE58619FFB139003369F0 /* CCEffectInvert.h in Headers */ = {isa = PBXBuildFile; fileRef = 839CE58419FFB139003369F0 /* CCEffectInvert.h */; }; - 839CE58719FFB139003369F0 /* CCEffectInvert.m in Sources */ = {isa = PBXBuildFile; fileRef = 839CE58519FFB139003369F0 /* CCEffectInvert.m */; }; - 839CE58A19FFB145003369F0 /* CCEffectInvert.m in Sources */ = {isa = PBXBuildFile; fileRef = 839CE58519FFB139003369F0 /* CCEffectInvert.m */; }; - 839CE58B19FFB146003369F0 /* CCEffectInvert.m in Sources */ = {isa = PBXBuildFile; fileRef = 839CE58519FFB139003369F0 /* CCEffectInvert.m */; }; - 83E1A86219C8ACA0000A3BCA /* CCPackage.h in Headers */ = {isa = PBXBuildFile; fileRef = 83E1A85A19C8ACA0000A3BCA /* CCPackage.h */; }; - 83E1A86319C8ACA0000A3BCA /* CCPackage.m in Sources */ = {isa = PBXBuildFile; fileRef = 83E1A85B19C8ACA0000A3BCA /* CCPackage.m */; }; - 83E1A86419C8ACA0000A3BCA /* CCPackageConstants.h in Headers */ = {isa = PBXBuildFile; fileRef = 83E1A85C19C8ACA0000A3BCA /* CCPackageConstants.h */; }; - 83E1A86519C8ACA0000A3BCA /* CCPackageConstants.m in Sources */ = {isa = PBXBuildFile; fileRef = 83E1A85D19C8ACA0000A3BCA /* CCPackageConstants.m */; }; - 83E1A86619C8ACA0000A3BCA /* CCPackageManager.h in Headers */ = {isa = PBXBuildFile; fileRef = 83E1A85E19C8ACA0000A3BCA /* CCPackageManager.h */; }; - 83E1A86719C8ACA0000A3BCA /* CCPackageManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 83E1A85F19C8ACA0000A3BCA /* CCPackageManager.m */; }; - 83E1A86819C8ACA0000A3BCA /* CCPackageManagerDelegate.h in Headers */ = {isa = PBXBuildFile; fileRef = 83E1A86019C8ACA0000A3BCA /* CCPackageManagerDelegate.h */; }; - 83E1A86919C8ACA0000A3BCA /* CCPackageTypes.h in Headers */ = {isa = PBXBuildFile; fileRef = 83E1A86119C8ACA0000A3BCA /* CCPackageTypes.h */; }; - 83E1A86D19C8ACAF000A3BCA /* CCPackageUnzipper.h in Headers */ = {isa = PBXBuildFile; fileRef = 83E1A86A19C8ACAF000A3BCA /* CCPackageUnzipper.h */; }; - 83E1A86E19C8ACAF000A3BCA /* CCPackageUnzipper.m in Sources */ = {isa = PBXBuildFile; fileRef = 83E1A86B19C8ACAF000A3BCA /* CCPackageUnzipper.m */; }; - 83E1A86F19C8ACAF000A3BCA /* CCPackageUnzipperDelegate.h in Headers */ = {isa = PBXBuildFile; fileRef = 83E1A86C19C8ACAF000A3BCA /* CCPackageUnzipperDelegate.h */; }; - 83E1A87619C8ACC1000A3BCA /* CCPackageDownload.h in Headers */ = {isa = PBXBuildFile; fileRef = 83E1A87019C8ACC1000A3BCA /* CCPackageDownload.h */; }; - 83E1A87719C8ACC1000A3BCA /* CCPackageDownload.m in Sources */ = {isa = PBXBuildFile; fileRef = 83E1A87119C8ACC1000A3BCA /* CCPackageDownload.m */; }; - 83E1A87919C8ACC1000A3BCA /* CCPackageDownloadManager.h in Headers */ = {isa = PBXBuildFile; fileRef = 83E1A87319C8ACC1000A3BCA /* CCPackageDownloadManager.h */; }; - 83E1A87A19C8ACC1000A3BCA /* CCPackageDownloadManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 83E1A87419C8ACC1000A3BCA /* CCPackageDownloadManager.m */; }; - 83E1A87B19C8ACC1000A3BCA /* CCPackageDownloadManagerDelegate.h in Headers */ = {isa = PBXBuildFile; fileRef = 83E1A87519C8ACC1000A3BCA /* CCPackageDownloadManagerDelegate.h */; }; - 83E1A88619C8ACDC000A3BCA /* CCPackageCocos2dEnabler.h in Headers */ = {isa = PBXBuildFile; fileRef = 83E1A87E19C8ACDC000A3BCA /* CCPackageCocos2dEnabler.h */; }; - 83E1A88719C8ACDC000A3BCA /* CCPackageCocos2dEnabler.m in Sources */ = {isa = PBXBuildFile; fileRef = 83E1A87F19C8ACDC000A3BCA /* CCPackageCocos2dEnabler.m */; }; - 83E1A88A19C8ACDC000A3BCA /* CCPackageInstaller.h in Headers */ = {isa = PBXBuildFile; fileRef = 83E1A88219C8ACDC000A3BCA /* CCPackageInstaller.h */; }; - 83E1A88B19C8ACDC000A3BCA /* CCPackageInstaller.m in Sources */ = {isa = PBXBuildFile; fileRef = 83E1A88319C8ACDC000A3BCA /* CCPackageInstaller.m */; }; - 83E21C001A121EB5000D1695 /* CCPackageManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 83E1A85F19C8ACA0000A3BCA /* CCPackageManager.m */; }; - 9D03A5EB1A02F61700C651C8 /* CCLightNode_Private.h in Headers */ = {isa = PBXBuildFile; fileRef = 9D1B4A941A02D51600B2DD9B /* CCLightNode_Private.h */; }; - 9D03A5EC1A02F61A00C651C8 /* CCLightNode_Private.h in Headers */ = {isa = PBXBuildFile; fileRef = 9D1B4A941A02D51600B2DD9B /* CCLightNode_Private.h */; }; - 9D03A5ED1A02F61B00C651C8 /* CCLightNode_Private.h in Headers */ = {isa = PBXBuildFile; fileRef = 9D1B4A941A02D51600B2DD9B /* CCLightNode_Private.h */; }; - 9D03A5F31A02F8C100C651C8 /* CCEffectLighting.h in Headers */ = {isa = PBXBuildFile; fileRef = 9DDD047C19DE154400687820 /* CCEffectLighting.h */; }; - 9D03A5F61A02F8C200C651C8 /* CCEffectLighting.h in Headers */ = {isa = PBXBuildFile; fileRef = 9DDD047C19DE154400687820 /* CCEffectLighting.h */; }; - 9D03A5F71A02F8C500C651C8 /* CCEffectLighting.m in Sources */ = {isa = PBXBuildFile; fileRef = 9DDD047D19DE154400687820 /* CCEffectLighting.m */; }; - 9D03A5F81A02F8C600C651C8 /* CCEffectLighting.m in Sources */ = {isa = PBXBuildFile; fileRef = 9DDD047D19DE154400687820 /* CCEffectLighting.m */; }; - 9D1B4A991A02E90300B2DD9B /* CCLightGroups.h in Headers */ = {isa = PBXBuildFile; fileRef = 9D1B4A971A02E90300B2DD9B /* CCLightGroups.h */; }; - 9D1B4A9A1A02E90300B2DD9B /* CCLightGroups.h in Headers */ = {isa = PBXBuildFile; fileRef = 9D1B4A971A02E90300B2DD9B /* CCLightGroups.h */; }; - 9D1B4A9B1A02E90300B2DD9B /* CCLightGroups.h in Headers */ = {isa = PBXBuildFile; fileRef = 9D1B4A971A02E90300B2DD9B /* CCLightGroups.h */; }; - 9D2773B51AB77F3800D19A11 /* CCEffectStereo.h in Headers */ = {isa = PBXBuildFile; fileRef = 9D2773B31AB77F3800D19A11 /* CCEffectStereo.h */; }; - 9D2773B61AB77F3800D19A11 /* CCEffectStereo.h in Headers */ = {isa = PBXBuildFile; fileRef = 9D2773B31AB77F3800D19A11 /* CCEffectStereo.h */; }; - 9D2773B71AB77F3800D19A11 /* CCEffectStereo.h in Headers */ = {isa = PBXBuildFile; fileRef = 9D2773B31AB77F3800D19A11 /* CCEffectStereo.h */; }; - 9D2773B81AB77F3800D19A11 /* CCEffectStereo.m in Sources */ = {isa = PBXBuildFile; fileRef = 9D2773B41AB77F3800D19A11 /* CCEffectStereo.m */; }; - 9D2773B91AB77F3800D19A11 /* CCEffectStereo.m in Sources */ = {isa = PBXBuildFile; fileRef = 9D2773B41AB77F3800D19A11 /* CCEffectStereo.m */; }; - 9D2773BA1AB77F3800D19A11 /* CCEffectStereo.m in Sources */ = {isa = PBXBuildFile; fileRef = 9D2773B41AB77F3800D19A11 /* CCEffectStereo.m */; }; - 9D69E6D619DF604800C2749C /* CCLightNode.h in Headers */ = {isa = PBXBuildFile; fileRef = 9D69E6D419DF604800C2749C /* CCLightNode.h */; }; - 9D69E6D719DF604800C2749C /* CCLightNode.m in Sources */ = {isa = PBXBuildFile; fileRef = 9D69E6D519DF604800C2749C /* CCLightNode.m */; }; - 9D85671D191B018200573093 /* CCEffectBrightness.h in Headers */ = {isa = PBXBuildFile; fileRef = 9D85671B191B018200573093 /* CCEffectBrightness.h */; }; - 9D85671E191B018200573093 /* CCEffectBrightness.m in Sources */ = {isa = PBXBuildFile; fileRef = 9D85671C191B018200573093 /* CCEffectBrightness.m */; }; - 9D856721191B019900573093 /* CCEffectContrast.h in Headers */ = {isa = PBXBuildFile; fileRef = 9D85671F191B019900573093 /* CCEffectContrast.h */; }; - 9D856722191B019900573093 /* CCEffectContrast.m in Sources */ = {isa = PBXBuildFile; fileRef = 9D856720191B019900573093 /* CCEffectContrast.m */; }; - 9D9205D21A0173D600FF2D6D /* CCLightCollection.h in Headers */ = {isa = PBXBuildFile; fileRef = 9D9205D01A0173D600FF2D6D /* CCLightCollection.h */; }; - 9D9205D31A0173D600FF2D6D /* CCLightCollection.h in Headers */ = {isa = PBXBuildFile; fileRef = 9D9205D01A0173D600FF2D6D /* CCLightCollection.h */; }; - 9D9205D41A0173D600FF2D6D /* CCLightCollection.h in Headers */ = {isa = PBXBuildFile; fileRef = 9D9205D01A0173D600FF2D6D /* CCLightCollection.h */; }; - 9D9205D51A0173D600FF2D6D /* CCLightCollection.m in Sources */ = {isa = PBXBuildFile; fileRef = 9D9205D11A0173D600FF2D6D /* CCLightCollection.m */; }; - 9D9205D61A0173D600FF2D6D /* CCLightCollection.m in Sources */ = {isa = PBXBuildFile; fileRef = 9D9205D11A0173D600FF2D6D /* CCLightCollection.m */; }; - 9D9205D71A0173D600FF2D6D /* CCLightCollection.m in Sources */ = {isa = PBXBuildFile; fileRef = 9D9205D11A0173D600FF2D6D /* CCLightCollection.m */; }; - 9DBCA31419B68BE400EFE96D /* CCEffectColorChannelOffset.h in Headers */ = {isa = PBXBuildFile; fileRef = 9DBCA31219B68BE400EFE96D /* CCEffectColorChannelOffset.h */; }; - 9DBCA31519B68BE400EFE96D /* CCEffectColorChannelOffset.m in Sources */ = {isa = PBXBuildFile; fileRef = 9DBCA31319B68BE400EFE96D /* CCEffectColorChannelOffset.m */; }; - 9DC780B71A1175F000DD5A4B /* CCLightNode.h in Headers */ = {isa = PBXBuildFile; fileRef = 9D69E6D419DF604800C2749C /* CCLightNode.h */; }; - 9DC780BA1A1175F100DD5A4B /* CCLightNode.h in Headers */ = {isa = PBXBuildFile; fileRef = 9D69E6D419DF604800C2749C /* CCLightNode.h */; }; - 9DC780BB1A11760A00DD5A4B /* CCLightNode.m in Sources */ = {isa = PBXBuildFile; fileRef = 9D69E6D519DF604800C2749C /* CCLightNode.m */; }; - 9DC780BC1A11760B00DD5A4B /* CCLightNode.m in Sources */ = {isa = PBXBuildFile; fileRef = 9D69E6D519DF604800C2749C /* CCLightNode.m */; }; - 9DDD047E19DE154400687820 /* CCEffectLighting.h in Headers */ = {isa = PBXBuildFile; fileRef = 9DDD047C19DE154400687820 /* CCEffectLighting.h */; }; - 9DDD047F19DE154400687820 /* CCEffectLighting.m in Sources */ = {isa = PBXBuildFile; fileRef = 9DDD047D19DE154400687820 /* CCEffectLighting.m */; }; - 9DF37621191C594A00C6D27A /* CCEffectPixellate.h in Headers */ = {isa = PBXBuildFile; fileRef = 9DF3761F191C594A00C6D27A /* CCEffectPixellate.h */; }; - 9DF37622191C594A00C6D27A /* CCEffectPixellate.m in Sources */ = {isa = PBXBuildFile; fileRef = 9DF37620191C594A00C6D27A /* CCEffectPixellate.m */; }; A003AC8C1657071100C7B792 /* ccFPSImages.h in Headers */ = {isa = PBXBuildFile; fileRef = A003AC8B1657071100C7B792 /* ccFPSImages.h */; }; A003AC8F16572D6000C7B792 /* ccFPSImages.m in Sources */ = {isa = PBXBuildFile; fileRef = A003AC8E16572D6000C7B792 /* ccFPSImages.m */; }; A039EBFF155C686B0061EE37 /* CCNode+Debug.h in Headers */ = {isa = PBXBuildFile; fileRef = A039EBFD155C686B0061EE37 /* CCNode+Debug.h */; }; @@ -514,8 +437,6 @@ A06D9C141728D5F600704732 /* CoreText.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A06D9C131728D5F600704732 /* CoreText.framework */; }; A0A7A53C1514F27D00C8BD16 /* CCActionCatmullRom.h in Headers */ = {isa = PBXBuildFile; fileRef = A0A7A53A1514F27D00C8BD16 /* CCActionCatmullRom.h */; }; A0A7A53D1514F27D00C8BD16 /* CCActionCatmullRom.m in Sources */ = {isa = PBXBuildFile; fileRef = A0A7A53B1514F27D00C8BD16 /* CCActionCatmullRom.m */; }; - A0C20AC8144FDAF700D84B47 /* CCParticleBatchNode.h in Headers */ = {isa = PBXBuildFile; fileRef = A0C20AC6144FDAF700D84B47 /* CCParticleBatchNode.h */; }; - A0C20AC9144FDAF700D84B47 /* CCParticleBatchNode.m in Sources */ = {isa = PBXBuildFile; fileRef = A0C20AC7144FDAF700D84B47 /* CCParticleBatchNode.m */; }; A0C87D1A14F9A3A100C0E8B2 /* NSThread+performBlock.h in Headers */ = {isa = PBXBuildFile; fileRef = A0C87D1814F9A3A100C0E8B2 /* NSThread+performBlock.h */; }; A0C87D1B14F9A3A100C0E8B2 /* NSThread+performBlock.m in Sources */ = {isa = PBXBuildFile; fileRef = A0C87D1914F9A3A100C0E8B2 /* NSThread+performBlock.m */; }; A0DA0BC315BCDCA200E80A92 /* CCDrawNode.h in Headers */ = {isa = PBXBuildFile; fileRef = A0DA0BC115BCDCA200E80A92 /* CCDrawNode.h */; }; @@ -526,14 +447,10 @@ A6A0734B17C78EF3004343C8 /* CCResponder.m in Sources */ = {isa = PBXBuildFile; fileRef = A6A0734917C78EF3004343C8 /* CCResponder.m */; }; A6DC4E0918055DCC00C280A6 /* CCTransition.h in Headers */ = {isa = PBXBuildFile; fileRef = A6DC4E0718055DCC00C280A6 /* CCTransition.h */; }; A6DC4E0A18055DCC00C280A6 /* CCTransition.m in Sources */ = {isa = PBXBuildFile; fileRef = A6DC4E0818055DCC00C280A6 /* CCTransition.m */; }; - B15348511BE1E7B70022C4BB /* libObjectiveChipmunk-iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B153484E1BE1E7A20022C4BB /* libObjectiveChipmunk-iOS.a */; }; - B706B19818209A8300B27A2C /* CCTexture_Private.h in Headers */ = {isa = PBXBuildFile; fileRef = B706B19718209A8300B27A2C /* CCTexture_Private.h */; }; B74C2B9B17BDA63A00A829C0 /* CCSprite9Slice.h in Headers */ = {isa = PBXBuildFile; fileRef = B74C2B9917BDA63A00A829C0 /* CCSprite9Slice.h */; }; B74C2B9C17BDA63A00A829C0 /* CCSprite9Slice.m in Sources */ = {isa = PBXBuildFile; fileRef = B74C2B9A17BDA63A00A829C0 /* CCSprite9Slice.m */; }; B75C2E7C17C5908B002B0E0D /* NSAttributedString+CCAdditions.h in Headers */ = {isa = PBXBuildFile; fileRef = B75C2E7A17C5908B002B0E0D /* NSAttributedString+CCAdditions.h */; }; B75C2E7D17C5908B002B0E0D /* NSAttributedString+CCAdditions.m in Sources */ = {isa = PBXBuildFile; fileRef = B75C2E7B17C5908B002B0E0D /* NSAttributedString+CCAdditions.m */; }; - B77060CF18341AD50043CC67 /* CCBReader_Private.h in Headers */ = {isa = PBXBuildFile; fileRef = B77060CE18341AD50043CC67 /* CCBReader_Private.h */; }; - B77582CE1A76CDB200C8589F /* libz.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = B77582CD1A76CDB200C8589F /* libz.dylib */; }; B78AE46217E7AF1C0028BE0B /* CCButton.h in Headers */ = {isa = PBXBuildFile; fileRef = B78AE45A17E7AF1C0028BE0B /* CCButton.h */; }; B78AE46317E7AF1C0028BE0B /* CCButton.m in Sources */ = {isa = PBXBuildFile; fileRef = B78AE45B17E7AF1C0028BE0B /* CCButton.m */; }; B78AE46417E7AF1C0028BE0B /* CCControl.h in Headers */ = {isa = PBXBuildFile; fileRef = B78AE45C17E7AF1C0028BE0B /* CCControl.h */; }; @@ -544,27 +461,8 @@ B78AE46917E7AF1C0028BE0B /* CCScrollView.m in Sources */ = {isa = PBXBuildFile; fileRef = B78AE46117E7AF1C0028BE0B /* CCScrollView.m */; }; B78AE46C17E7AF6C0028BE0B /* UITouch+CC.h in Headers */ = {isa = PBXBuildFile; fileRef = B78AE46A17E7AF6C0028BE0B /* UITouch+CC.h */; }; B78AE46D17E7AF6C0028BE0B /* UITouch+CC.m in Sources */ = {isa = PBXBuildFile; fileRef = B78AE46B17E7AF6C0028BE0B /* UITouch+CC.m */; }; - B791E84A182064BF00DAE1D7 /* CCTiledMapLayer_Private.h in Headers */ = {isa = PBXBuildFile; fileRef = B791E849182064BF00DAE1D7 /* CCTiledMapLayer_Private.h */; }; - B791E85D182074C500DAE1D7 /* CCProgressNode_Private.h in Headers */ = {isa = PBXBuildFile; fileRef = B791E85A182074C500DAE1D7 /* CCProgressNode_Private.h */; }; - B791E85E182074C500DAE1D7 /* CCProgressNode.h in Headers */ = {isa = PBXBuildFile; fileRef = B791E85B182074C500DAE1D7 /* CCProgressNode.h */; }; - B798D13D181F2E4500E7BFCD /* CCNode_Private.h in Headers */ = {isa = PBXBuildFile; fileRef = B798D13C181F2E4500E7BFCD /* CCNode_Private.h */; }; - B798D143181F469100E7BFCD /* CCLabelBMFont_Private.h in Headers */ = {isa = PBXBuildFile; fileRef = B798D142181F469100E7BFCD /* CCLabelBMFont_Private.h */; }; - B798D1451820305400E7BFCD /* CCSprite_Private.h in Headers */ = {isa = PBXBuildFile; fileRef = B798D1441820305400E7BFCD /* CCSprite_Private.h */; }; - B798D14D18204BEC00E7BFCD /* CCParticleSystemBase_Private.h in Headers */ = {isa = PBXBuildFile; fileRef = B798D14C18204BEC00E7BFCD /* CCParticleSystemBase_Private.h */; }; - B798D15318205EFB00E7BFCD /* CCParticleSystem_Private.h in Headers */ = {isa = PBXBuildFile; fileRef = B798D15218205EFB00E7BFCD /* CCParticleSystem_Private.h */; }; B79F905A17FE2A2E00908504 /* CCTableView.h in Headers */ = {isa = PBXBuildFile; fileRef = B79F905817FE2A2E00908504 /* CCTableView.h */; }; B79F905B17FE2A2E00908504 /* CCTableView.m in Sources */ = {isa = PBXBuildFile; fileRef = B79F905917FE2A2E00908504 /* CCTableView.m */; }; - B7D2730F1822F4AA0054849B /* CCBKeyframe.h in Headers */ = {isa = PBXBuildFile; fileRef = B7D273021822F4AA0054849B /* CCBKeyframe.h */; }; - B7D273101822F4AA0054849B /* CCBKeyframe.m in Sources */ = {isa = PBXBuildFile; fileRef = B7D273031822F4AA0054849B /* CCBKeyframe.m */; }; - B7D273111822F4AA0054849B /* CCBLocalizationManager.h in Headers */ = {isa = PBXBuildFile; fileRef = B7D273041822F4AA0054849B /* CCBLocalizationManager.h */; }; - B7D273121822F4AA0054849B /* CCBLocalizationManager.m in Sources */ = {isa = PBXBuildFile; fileRef = B7D273051822F4AA0054849B /* CCBLocalizationManager.m */; }; - B7D273131822F4AA0054849B /* CCBReader.h in Headers */ = {isa = PBXBuildFile; fileRef = B7D273061822F4AA0054849B /* CCBReader.h */; }; - B7D273141822F4AA0054849B /* CCBReader.m in Sources */ = {isa = PBXBuildFile; fileRef = B7D273071822F4AA0054849B /* CCBReader.m */; }; - B7D273151822F4AA0054849B /* CCBSequence.h in Headers */ = {isa = PBXBuildFile; fileRef = B7D273081822F4AA0054849B /* CCBSequence.h */; }; - B7D273161822F4AA0054849B /* CCBsequence.m in Sources */ = {isa = PBXBuildFile; fileRef = B7D273091822F4AA0054849B /* CCBsequence.m */; }; - B7D273171822F4AA0054849B /* CCBSequenceProperty.h in Headers */ = {isa = PBXBuildFile; fileRef = B7D2730A1822F4AA0054849B /* CCBSequenceProperty.h */; }; - B7D273181822F4AA0054849B /* CCBSequenceProperty.m in Sources */ = {isa = PBXBuildFile; fileRef = B7D2730B1822F4AA0054849B /* CCBSequenceProperty.m */; }; - B7D273191822F4AA0054849B /* CCBuilderReader.h in Headers */ = {isa = PBXBuildFile; fileRef = B7D2730C1822F4AA0054849B /* CCBuilderReader.h */; }; B7E260D818171D2000A0E872 /* CCTextField.h in Headers */ = {isa = PBXBuildFile; fileRef = B7E260D618171D2000A0E872 /* CCTextField.h */; }; B7E260D918171D2000A0E872 /* CCTextField.m in Sources */ = {isa = PBXBuildFile; fileRef = B7E260D718171D2000A0E872 /* CCTextField.m */; }; B7E775D018527EF0004221AA /* CCAppDelegate.h in Headers */ = {isa = PBXBuildFile; fileRef = B7E775CE18527EF0004221AA /* CCAppDelegate.h */; }; @@ -585,393 +483,32 @@ B7EE69E31819E75700B983FE /* CCLayoutBox.m in Sources */ = {isa = PBXBuildFile; fileRef = B7EE69DF1819E75700B983FE /* CCLayoutBox.m */; }; B7EE6A1E181AE34600B983FE /* CCSlider.h in Headers */ = {isa = PBXBuildFile; fileRef = B7EE6A1C181AE34600B983FE /* CCSlider.h */; }; B7EE6A1F181AE34600B983FE /* CCSlider.m in Sources */ = {isa = PBXBuildFile; fileRef = B7EE6A1D181AE34600B983FE /* CCSlider.m */; }; - BC9F4E8819DB632400B25F01 /* CCPackage.m in Sources */ = {isa = PBXBuildFile; fileRef = 83E1A85B19C8ACA0000A3BCA /* CCPackage.m */; }; - BC9F4E8E19DB632800B25F01 /* CCPackageConstants.m in Sources */ = {isa = PBXBuildFile; fileRef = 83E1A85D19C8ACA0000A3BCA /* CCPackageConstants.m */; }; - BC9F4E8F19DB632B00B25F01 /* CCPackageManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 83E1A85F19C8ACA0000A3BCA /* CCPackageManager.m */; }; - BC9F4E9019DB633100B25F01 /* CCPackageHelper.m in Sources */ = {isa = PBXBuildFile; fileRef = E525F9EA4B5DD37D0418869E /* CCPackageHelper.m */; }; - BC9F4E9119DB633500B25F01 /* CCPackageDownload.m in Sources */ = {isa = PBXBuildFile; fileRef = 83E1A87119C8ACC1000A3BCA /* CCPackageDownload.m */; }; - BC9F4E9219DB633B00B25F01 /* CCPackageDownloadManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 83E1A87419C8ACC1000A3BCA /* CCPackageDownloadManager.m */; }; - BC9F4E9319DB633F00B25F01 /* CCPackageUnzipper.m in Sources */ = {isa = PBXBuildFile; fileRef = 83E1A86B19C8ACAF000A3BCA /* CCPackageUnzipper.m */; }; - BC9F4E9419DB635000B25F01 /* CCPackageCocos2dEnabler.m in Sources */ = {isa = PBXBuildFile; fileRef = 83E1A87F19C8ACDC000A3BCA /* CCPackageCocos2dEnabler.m */; }; - BC9F4E9519DB635200B25F01 /* CCPackageInstaller.m in Sources */ = {isa = PBXBuildFile; fileRef = 83E1A88319C8ACDC000A3BCA /* CCPackageInstaller.m */; }; - BC9F4E9619DB643C00B25F01 /* CCPackage.h in Headers */ = {isa = PBXBuildFile; fileRef = 83E1A85A19C8ACA0000A3BCA /* CCPackage.h */; }; - BC9F4E9719DB643F00B25F01 /* CCPackageConstants.h in Headers */ = {isa = PBXBuildFile; fileRef = 83E1A85C19C8ACA0000A3BCA /* CCPackageConstants.h */; }; - BC9F4E9819DB644600B25F01 /* CCPackageManager.h in Headers */ = {isa = PBXBuildFile; fileRef = 83E1A85E19C8ACA0000A3BCA /* CCPackageManager.h */; }; - BC9F4E9919DB644900B25F01 /* CCPackageManagerDelegate.h in Headers */ = {isa = PBXBuildFile; fileRef = 83E1A86019C8ACA0000A3BCA /* CCPackageManagerDelegate.h */; }; - BC9F4E9A19DB644B00B25F01 /* CCPackageTypes.h in Headers */ = {isa = PBXBuildFile; fileRef = 83E1A86119C8ACA0000A3BCA /* CCPackageTypes.h */; }; - BC9F4E9B19DB644E00B25F01 /* CCPackageDownload.h in Headers */ = {isa = PBXBuildFile; fileRef = 83E1A87019C8ACC1000A3BCA /* CCPackageDownload.h */; }; - BC9F4E9C19DB646000B25F01 /* CCPackageDownloadManager.h in Headers */ = {isa = PBXBuildFile; fileRef = 83E1A87319C8ACC1000A3BCA /* CCPackageDownloadManager.h */; }; - BC9F4E9D19DB646300B25F01 /* CCPackageDownloadManagerDelegate.h in Headers */ = {isa = PBXBuildFile; fileRef = 83E1A87519C8ACC1000A3BCA /* CCPackageDownloadManagerDelegate.h */; }; - BC9F4E9E19DB649800B25F01 /* CCPackageCocos2dEnabler.h in Headers */ = {isa = PBXBuildFile; fileRef = 83E1A87E19C8ACDC000A3BCA /* CCPackageCocos2dEnabler.h */; }; - BC9F4E9F19DB649C00B25F01 /* CCPackageInstaller.h in Headers */ = {isa = PBXBuildFile; fileRef = 83E1A88219C8ACDC000A3BCA /* CCPackageInstaller.h */; }; - BC9F4EA019DB649E00B25F01 /* CCPackageHelper.h in Headers */ = {isa = PBXBuildFile; fileRef = E525FF8C7C018BF691F36044 /* CCPackageHelper.h */; }; - BC9F4EA119DB64A200B25F01 /* CCPackage_private.h in Headers */ = {isa = PBXBuildFile; fileRef = E525FE4C98BCF1228ECC9623 /* CCPackage_private.h */; }; - D22907AE1A2F5E440038FF61 /* CCEffectOutline.h in Headers */ = {isa = PBXBuildFile; fileRef = D22907AC1A2F5E440038FF61 /* CCEffectOutline.h */; }; - D22907AF1A2F5E440038FF61 /* CCEffectOutline.h in Headers */ = {isa = PBXBuildFile; fileRef = D22907AC1A2F5E440038FF61 /* CCEffectOutline.h */; }; - D22907B01A2F5E440038FF61 /* CCEffectOutline.h in Headers */ = {isa = PBXBuildFile; fileRef = D22907AC1A2F5E440038FF61 /* CCEffectOutline.h */; }; - D22907B11A2F5E440038FF61 /* CCEffectOutline.m in Sources */ = {isa = PBXBuildFile; fileRef = D22907AD1A2F5E440038FF61 /* CCEffectOutline.m */; }; - D22907B21A2F5E440038FF61 /* CCEffectOutline.m in Sources */ = {isa = PBXBuildFile; fileRef = D22907AD1A2F5E440038FF61 /* CCEffectOutline.m */; }; - D22907B31A2F5E440038FF61 /* CCEffectOutline.m in Sources */ = {isa = PBXBuildFile; fileRef = D22907AD1A2F5E440038FF61 /* CCEffectOutline.m */; }; - D23C5CB4194BC108007CA669 /* CCTouchIOS.h in Headers */ = {isa = PBXBuildFile; fileRef = D23C5CB2194BC108007CA669 /* CCTouchIOS.h */; }; - D23C5CB5194BC108007CA669 /* CCTouchIOS.m in Sources */ = {isa = PBXBuildFile; fileRef = D23C5CB3194BC108007CA669 /* CCTouchIOS.m */; }; - D23C5CBC194BC500007CA669 /* CCTouchAndroid.h in Headers */ = {isa = PBXBuildFile; fileRef = D23C5CBA194BC500007CA669 /* CCTouchAndroid.h */; }; - D24160FD1958F6EE003673BD /* CCAnimationManager_Private.h in Headers */ = {isa = PBXBuildFile; fileRef = D24160F61958F6EE003673BD /* CCAnimationManager_Private.h */; }; - D24160FE1958F6EE003673BD /* CCAnimationManager.h in Headers */ = {isa = PBXBuildFile; fileRef = D24160F71958F6EE003673BD /* CCAnimationManager.h */; }; - D24160FF1958F6EE003673BD /* CCAnimationManager.m in Sources */ = {isa = PBXBuildFile; fileRef = D24160F81958F6EE003673BD /* CCAnimationManager.m */; }; - D24161001958F6EE003673BD /* CCAnimationManager+FrameAnimation.h in Headers */ = {isa = PBXBuildFile; fileRef = D24160F91958F6EE003673BD /* CCAnimationManager+FrameAnimation.h */; }; - D24161011958F6EE003673BD /* CCAnimationManager+FrameAnimation.m in Sources */ = {isa = PBXBuildFile; fileRef = D24160FA1958F6EE003673BD /* CCAnimationManager+FrameAnimation.m */; }; - D24161021958F6EE003673BD /* CCBAnimationManager.h in Headers */ = {isa = PBXBuildFile; fileRef = D24160FB1958F6EE003673BD /* CCBAnimationManager.h */; }; - D24161031958F6EE003673BD /* CCBAnimationManager.m in Sources */ = {isa = PBXBuildFile; fileRef = D24160FC1958F6EE003673BD /* CCBAnimationManager.m */; }; - D24161091958F72B003673BD /* CCEffectRenderer.h in Headers */ = {isa = PBXBuildFile; fileRef = D24161041958F72B003673BD /* CCEffectRenderer.h */; }; - D241610A1958F72B003673BD /* CCEffectRenderer.h in Headers */ = {isa = PBXBuildFile; fileRef = D24161041958F72B003673BD /* CCEffectRenderer.h */; }; - D241610B1958F72B003673BD /* CCEffectRenderer.m in Sources */ = {isa = PBXBuildFile; fileRef = D24161051958F72B003673BD /* CCEffectRenderer.m */; }; - D241610C1958F72B003673BD /* CCEffectRenderer.m in Sources */ = {isa = PBXBuildFile; fileRef = D24161051958F72B003673BD /* CCEffectRenderer.m */; }; - D241610D1958F72B003673BD /* CCEffectSaturation.h in Headers */ = {isa = PBXBuildFile; fileRef = D24161061958F72B003673BD /* CCEffectSaturation.h */; }; - D241610E1958F72B003673BD /* CCEffectSaturation.h in Headers */ = {isa = PBXBuildFile; fileRef = D24161061958F72B003673BD /* CCEffectSaturation.h */; }; - D241610F1958F72B003673BD /* CCEffectSaturation.m in Sources */ = {isa = PBXBuildFile; fileRef = D24161071958F72B003673BD /* CCEffectSaturation.m */; }; - D24161101958F72B003673BD /* CCEffectSaturation.m in Sources */ = {isa = PBXBuildFile; fileRef = D24161071958F72B003673BD /* CCEffectSaturation.m */; }; - D24161111958F72B003673BD /* CCEffectStackProtocol.h in Headers */ = {isa = PBXBuildFile; fileRef = D24161081958F72B003673BD /* CCEffectStackProtocol.h */; }; - D24161121958F72B003673BD /* CCEffectStackProtocol.h in Headers */ = {isa = PBXBuildFile; fileRef = D24161081958F72B003673BD /* CCEffectStackProtocol.h */; }; - D24161131958F738003673BD /* CCAnimationManager_Private.h in Headers */ = {isa = PBXBuildFile; fileRef = D24160F61958F6EE003673BD /* CCAnimationManager_Private.h */; }; - D24161141958F738003673BD /* CCAnimationManager.h in Headers */ = {isa = PBXBuildFile; fileRef = D24160F71958F6EE003673BD /* CCAnimationManager.h */; }; - D24161151958F738003673BD /* CCAnimationManager.m in Sources */ = {isa = PBXBuildFile; fileRef = D24160F81958F6EE003673BD /* CCAnimationManager.m */; }; - D24161161958F738003673BD /* CCAnimationManager+FrameAnimation.h in Headers */ = {isa = PBXBuildFile; fileRef = D24160F91958F6EE003673BD /* CCAnimationManager+FrameAnimation.h */; }; - D24161171958F738003673BD /* CCAnimationManager+FrameAnimation.m in Sources */ = {isa = PBXBuildFile; fileRef = D24160FA1958F6EE003673BD /* CCAnimationManager+FrameAnimation.m */; }; D24FAEEC198014B90043E27D /* GLKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D24FAEEB198014B90043E27D /* GLKit.framework */; }; - D25B4F4B194A499700DA9D60 /* CCTouch.h in Headers */ = {isa = PBXBuildFile; fileRef = D25B4F49194A499700DA9D60 /* CCTouch.h */; }; - D25B4F4C194A499700DA9D60 /* CCTouch.m in Sources */ = {isa = PBXBuildFile; fileRef = D25B4F4A194A499700DA9D60 /* CCTouch.m */; }; - D268FE0D198078FF00ECBCD0 /* CCEffectBloom.h in Headers */ = {isa = PBXBuildFile; fileRef = D268FE05198078FF00ECBCD0 /* CCEffectBloom.h */; }; - D268FE0E198078FF00ECBCD0 /* CCEffectBloom.m in Sources */ = {isa = PBXBuildFile; fileRef = D268FE06198078FF00ECBCD0 /* CCEffectBloom.m */; }; - D268FE0F198078FF00ECBCD0 /* CCEffectGlass.h in Headers */ = {isa = PBXBuildFile; fileRef = D268FE07198078FF00ECBCD0 /* CCEffectGlass.h */; }; - D268FE10198078FF00ECBCD0 /* CCEffectGlass.m in Sources */ = {isa = PBXBuildFile; fileRef = D268FE08198078FF00ECBCD0 /* CCEffectGlass.m */; }; - D268FE11198078FF00ECBCD0 /* CCEffectHue.h in Headers */ = {isa = PBXBuildFile; fileRef = D268FE09198078FF00ECBCD0 /* CCEffectHue.h */; }; - D268FE12198078FF00ECBCD0 /* CCEffectHue.m in Sources */ = {isa = PBXBuildFile; fileRef = D268FE0A198078FF00ECBCD0 /* CCEffectHue.m */; }; - D268FE13198078FF00ECBCD0 /* CCEffectReflection.h in Headers */ = {isa = PBXBuildFile; fileRef = D268FE0B198078FF00ECBCD0 /* CCEffectReflection.h */; }; - D268FE14198078FF00ECBCD0 /* CCEffectReflection.m in Sources */ = {isa = PBXBuildFile; fileRef = D268FE0C198078FF00ECBCD0 /* CCEffectReflection.m */; }; - D268FE191980791400ECBCD0 /* CCEffectRefraction.h in Headers */ = {isa = PBXBuildFile; fileRef = D268FE151980791300ECBCD0 /* CCEffectRefraction.h */; }; - D268FE1A1980791400ECBCD0 /* CCEffectRefraction.h in Headers */ = {isa = PBXBuildFile; fileRef = D268FE151980791300ECBCD0 /* CCEffectRefraction.h */; }; - D268FE1B1980791400ECBCD0 /* CCEffectRefraction.m in Sources */ = {isa = PBXBuildFile; fileRef = D268FE161980791300ECBCD0 /* CCEffectRefraction.m */; }; - D268FE1C1980791400ECBCD0 /* CCEffectRefraction.m in Sources */ = {isa = PBXBuildFile; fileRef = D268FE161980791300ECBCD0 /* CCEffectRefraction.m */; }; - D268FE1D1980791400ECBCD0 /* CCEffectUtils.h in Headers */ = {isa = PBXBuildFile; fileRef = D268FE171980791300ECBCD0 /* CCEffectUtils.h */; }; - D268FE1E1980791400ECBCD0 /* CCEffectUtils.h in Headers */ = {isa = PBXBuildFile; fileRef = D268FE171980791300ECBCD0 /* CCEffectUtils.h */; }; - D268FE1F1980791400ECBCD0 /* CCEffectUtils.m in Sources */ = {isa = PBXBuildFile; fileRef = D268FE181980791300ECBCD0 /* CCEffectUtils.m */; }; - D268FE201980791400ECBCD0 /* CCEffectUtils.m in Sources */ = {isa = PBXBuildFile; fileRef = D268FE181980791300ECBCD0 /* CCEffectUtils.m */; }; - D268FE231980791C00ECBCD0 /* CCEffectStack_Private.h in Headers */ = {isa = PBXBuildFile; fileRef = 9D85671A191AE2CC00573093 /* CCEffectStack_Private.h */; }; - D268FE241980791D00ECBCD0 /* CCEffectBloom.h in Headers */ = {isa = PBXBuildFile; fileRef = D268FE05198078FF00ECBCD0 /* CCEffectBloom.h */; }; - D268FE251980791D00ECBCD0 /* CCEffectBloom.m in Sources */ = {isa = PBXBuildFile; fileRef = D268FE06198078FF00ECBCD0 /* CCEffectBloom.m */; }; - D268FE261980791D00ECBCD0 /* CCEffectGlass.h in Headers */ = {isa = PBXBuildFile; fileRef = D268FE07198078FF00ECBCD0 /* CCEffectGlass.h */; }; - D268FE271980791D00ECBCD0 /* CCEffectGlass.m in Sources */ = {isa = PBXBuildFile; fileRef = D268FE08198078FF00ECBCD0 /* CCEffectGlass.m */; }; - D268FE281980791D00ECBCD0 /* CCEffectHue.h in Headers */ = {isa = PBXBuildFile; fileRef = D268FE09198078FF00ECBCD0 /* CCEffectHue.h */; }; - D268FE291980791D00ECBCD0 /* CCEffectHue.m in Sources */ = {isa = PBXBuildFile; fileRef = D268FE0A198078FF00ECBCD0 /* CCEffectHue.m */; }; - D268FE2A1980791D00ECBCD0 /* CCEffectReflection.h in Headers */ = {isa = PBXBuildFile; fileRef = D268FE0B198078FF00ECBCD0 /* CCEffectReflection.h */; }; - D268FE2B1980791D00ECBCD0 /* CCEffectReflection.m in Sources */ = {isa = PBXBuildFile; fileRef = D268FE0C198078FF00ECBCD0 /* CCEffectReflection.m */; }; - D268FE2E1980791D00ECBCD0 /* CCEffectStack_Private.h in Headers */ = {isa = PBXBuildFile; fileRef = 9D85671A191AE2CC00573093 /* CCEffectStack_Private.h */; }; - D26A042A194B815500503BEC /* CCTouchEvent.h in Headers */ = {isa = PBXBuildFile; fileRef = D26A0428194B815500503BEC /* CCTouchEvent.h */; }; - D26A042B194B815500503BEC /* CCTouchEvent.m in Sources */ = {isa = PBXBuildFile; fileRef = D26A0429194B815500503BEC /* CCTouchEvent.m */; }; - D272032418FC89A000B100FF /* CCEffect_Private.h in Headers */ = {isa = PBXBuildFile; fileRef = D272031718FC89A000B100FF /* CCEffect_Private.h */; }; - D272032518FC89A000B100FF /* CCEffect.h in Headers */ = {isa = PBXBuildFile; fileRef = D272031818FC89A000B100FF /* CCEffect.h */; }; - D272032618FC89A000B100FF /* CCEffect.m in Sources */ = {isa = PBXBuildFile; fileRef = D272031918FC89A000B100FF /* CCEffect.m */; }; - D272032B18FC89A000B100FF /* CCEffectNode.h in Headers */ = {isa = PBXBuildFile; fileRef = D272031E18FC89A000B100FF /* CCEffectNode.h */; }; - D272032C18FC89A000B100FF /* CCEffectNode.m in Sources */ = {isa = PBXBuildFile; fileRef = D272031F18FC89A000B100FF /* CCEffectNode.m */; }; - D272032D18FC89A000B100FF /* CCEffectStack.h in Headers */ = {isa = PBXBuildFile; fileRef = D272032018FC89A000B100FF /* CCEffectStack.h */; }; - D272032E18FC89A000B100FF /* CCEffectStack.m in Sources */ = {isa = PBXBuildFile; fileRef = D272032118FC89A000B100FF /* CCEffectStack.m */; }; - D27451AA19AD430A006DA0A1 /* CCEffectDropShadow.h in Headers */ = {isa = PBXBuildFile; fileRef = D27451A819AD430A006DA0A1 /* CCEffectDropShadow.h */; }; - D27451AB19AD430A006DA0A1 /* CCEffectDropShadow.h in Headers */ = {isa = PBXBuildFile; fileRef = D27451A819AD430A006DA0A1 /* CCEffectDropShadow.h */; }; - D27451AC19AD430A006DA0A1 /* CCEffectDropShadow.m in Sources */ = {isa = PBXBuildFile; fileRef = D27451A919AD430A006DA0A1 /* CCEffectDropShadow.m */; }; - D27451AD19AD430A006DA0A1 /* CCEffectDropShadow.m in Sources */ = {isa = PBXBuildFile; fileRef = D27451A919AD430A006DA0A1 /* CCEffectDropShadow.m */; }; - D27451B719AE5517006DA0A1 /* CCEffectDistanceField.h in Headers */ = {isa = PBXBuildFile; fileRef = D27451B519AE5517006DA0A1 /* CCEffectDistanceField.h */; }; - D27451B819AE5517006DA0A1 /* CCEffectDistanceField.m in Sources */ = {isa = PBXBuildFile; fileRef = D27451B619AE5517006DA0A1 /* CCEffectDistanceField.m */; }; - D27451BD19AEC84C006DA0A1 /* CCEffectDistanceField.m in Sources */ = {isa = PBXBuildFile; fileRef = D27451B619AE5517006DA0A1 /* CCEffectDistanceField.m */; }; - D27451BE19AEC84F006DA0A1 /* CCEffectDistanceField.h in Headers */ = {isa = PBXBuildFile; fileRef = D27451B519AE5517006DA0A1 /* CCEffectDistanceField.h */; }; - D27451C619B111A9006DA0A1 /* CCEffectDFOutline.h in Headers */ = {isa = PBXBuildFile; fileRef = D27451C419B111A9006DA0A1 /* CCEffectDFOutline.h */; }; - D27451C719B111A9006DA0A1 /* CCEffectDFOutline.h in Headers */ = {isa = PBXBuildFile; fileRef = D27451C419B111A9006DA0A1 /* CCEffectDFOutline.h */; }; - D27451C819B111A9006DA0A1 /* CCEffectDFOutline.m in Sources */ = {isa = PBXBuildFile; fileRef = D27451C519B111A9006DA0A1 /* CCEffectDFOutline.m */; }; - D27451C919B111A9006DA0A1 /* CCEffectDFOutline.m in Sources */ = {isa = PBXBuildFile; fileRef = D27451C519B111A9006DA0A1 /* CCEffectDFOutline.m */; }; - D285ECF0192EA92A009F4E88 /* CCGLView.h in Headers */ = {isa = PBXBuildFile; fileRef = D285ECEE192EA92A009F4E88 /* CCGLView.h */; }; - D285ECF1192EA92A009F4E88 /* CCGLView.m in Sources */ = {isa = PBXBuildFile; fileRef = D285ECEF192EA92A009F4E88 /* CCGLView.m */; }; - D285ECF8192EF5B2009F4E88 /* CCDirectorAndroid.h in Headers */ = {isa = PBXBuildFile; fileRef = D285ECF6192EF5B2009F4E88 /* CCDirectorAndroid.h */; }; - D285ECF9192EF5B2009F4E88 /* CCDirectorAndroid.m in Sources */ = {isa = PBXBuildFile; fileRef = D285ECF7192EF5B2009F4E88 /* CCDirectorAndroid.m */; }; D28A2E161954F66E00ADC03D /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D28A2E151954F66E00ADC03D /* UIKit.framework */; }; D28A2E1B1954F68D00ADC03D /* QuartzCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D28A2E1A1954F68D00ADC03D /* QuartzCore.framework */; }; D28A2E1D1954F7E000ADC03D /* OpenGLES.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D28A2E1C1954F7E000ADC03D /* OpenGLES.framework */; }; D28A2E211954F85700ADC03D /* AVFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D28A2E201954F85700ADC03D /* AVFoundation.framework */; }; - D28B2E7A19CBA89A00DC6E08 /* CCEffectColorChannelOffset.m in Sources */ = {isa = PBXBuildFile; fileRef = 9DBCA31319B68BE400EFE96D /* CCEffectColorChannelOffset.m */; }; - D299CE7A19C2910B00519CBB /* CCEffectDFInnerGlow.h in Headers */ = {isa = PBXBuildFile; fileRef = D299CE7819C2910B00519CBB /* CCEffectDFInnerGlow.h */; }; - D299CE7B19C2910B00519CBB /* CCEffectDFInnerGlow.h in Headers */ = {isa = PBXBuildFile; fileRef = D299CE7819C2910B00519CBB /* CCEffectDFInnerGlow.h */; }; - D299CE7C19C2910B00519CBB /* CCEffectDFInnerGlow.m in Sources */ = {isa = PBXBuildFile; fileRef = D299CE7919C2910B00519CBB /* CCEffectDFInnerGlow.m */; }; - D299CE7D19C2910B00519CBB /* CCEffectDFInnerGlow.m in Sources */ = {isa = PBXBuildFile; fileRef = D299CE7919C2910B00519CBB /* CCEffectDFInnerGlow.m */; }; - D2DDB09319805E8400233D80 /* CCMathUtilsAndroid.h in Headers */ = {isa = PBXBuildFile; fileRef = D2DDB08819805E8400233D80 /* CCMathUtilsAndroid.h */; }; - D2DDB09419805E8400233D80 /* CCMathUtilsAndroid.h in Headers */ = {isa = PBXBuildFile; fileRef = D2DDB08819805E8400233D80 /* CCMathUtilsAndroid.h */; }; - D2DDB09519805E8400233D80 /* CCMatrix3.h in Headers */ = {isa = PBXBuildFile; fileRef = D2DDB08919805E8400233D80 /* CCMatrix3.h */; }; - D2DDB09619805E8400233D80 /* CCMatrix3.h in Headers */ = {isa = PBXBuildFile; fileRef = D2DDB08919805E8400233D80 /* CCMatrix3.h */; }; - D2DDB09719805E8400233D80 /* CCMatrix4.h in Headers */ = {isa = PBXBuildFile; fileRef = D2DDB08A19805E8400233D80 /* CCMatrix4.h */; }; - D2DDB09819805E8400233D80 /* CCMatrix4.h in Headers */ = {isa = PBXBuildFile; fileRef = D2DDB08A19805E8400233D80 /* CCMatrix4.h */; }; - D2DDB09919805E8400233D80 /* CCQuaternion.h in Headers */ = {isa = PBXBuildFile; fileRef = D2DDB08B19805E8400233D80 /* CCQuaternion.h */; }; - D2DDB09A19805E8400233D80 /* CCQuaternion.h in Headers */ = {isa = PBXBuildFile; fileRef = D2DDB08B19805E8400233D80 /* CCQuaternion.h */; }; - D2DDB09B19805E8400233D80 /* CCMathTypesAndroid.h in Headers */ = {isa = PBXBuildFile; fileRef = D2DDB08C19805E8400233D80 /* CCMathTypesAndroid.h */; }; - D2DDB09C19805E8400233D80 /* CCMathTypesAndroid.h in Headers */ = {isa = PBXBuildFile; fileRef = D2DDB08C19805E8400233D80 /* CCMathTypesAndroid.h */; }; - D2DDB09D19805E8400233D80 /* CCMatrix4.m in Sources */ = {isa = PBXBuildFile; fileRef = D2DDB08D19805E8400233D80 /* CCMatrix4.m */; }; - D2DDB09E19805E8400233D80 /* CCMatrix4.m in Sources */ = {isa = PBXBuildFile; fileRef = D2DDB08D19805E8400233D80 /* CCMatrix4.m */; }; - D2DDB09F19805E8400233D80 /* CCVector3.h in Headers */ = {isa = PBXBuildFile; fileRef = D2DDB08E19805E8400233D80 /* CCVector3.h */; }; - D2DDB0A019805E8400233D80 /* CCVector3.h in Headers */ = {isa = PBXBuildFile; fileRef = D2DDB08E19805E8400233D80 /* CCVector3.h */; }; - D2DDB0A119805E8400233D80 /* CCVector4.h in Headers */ = {isa = PBXBuildFile; fileRef = D2DDB08F19805E8400233D80 /* CCVector4.h */; }; - D2DDB0A219805E8400233D80 /* CCVector4.h in Headers */ = {isa = PBXBuildFile; fileRef = D2DDB08F19805E8400233D80 /* CCVector4.h */; }; - D2DDB0A319805E8400233D80 /* CCVector2.h in Headers */ = {isa = PBXBuildFile; fileRef = D2DDB09019805E8400233D80 /* CCVector2.h */; }; - D2DDB0A419805E8400233D80 /* CCVector2.h in Headers */ = {isa = PBXBuildFile; fileRef = D2DDB09019805E8400233D80 /* CCVector2.h */; }; - D2DDB0A519805E8400233D80 /* CCQuaternion.m in Sources */ = {isa = PBXBuildFile; fileRef = D2DDB09119805E8400233D80 /* CCQuaternion.m */; }; - D2DDB0A619805E8400233D80 /* CCQuaternion.m in Sources */ = {isa = PBXBuildFile; fileRef = D2DDB09119805E8400233D80 /* CCQuaternion.m */; }; - D2DDB0A719805E8400233D80 /* CCMatrix3.m in Sources */ = {isa = PBXBuildFile; fileRef = D2DDB09219805E8400233D80 /* CCMatrix3.m */; }; - D2DDB0A819805E8400233D80 /* CCMatrix3.m in Sources */ = {isa = PBXBuildFile; fileRef = D2DDB09219805E8400233D80 /* CCMatrix3.m */; }; - D2FEB611194F6C9E00FC0574 /* CCBLocalizationManager.h in Headers */ = {isa = PBXBuildFile; fileRef = B7D273041822F4AA0054849B /* CCBLocalizationManager.h */; }; - D2FEB612194F6C9E00FC0574 /* CCAction.h in Headers */ = {isa = PBXBuildFile; fileRef = 5018F2520DFDEAFF00C013A5 /* CCAction.h */; }; - D2FEB613194F6C9E00FC0574 /* CCNode.h in Headers */ = {isa = PBXBuildFile; fileRef = 5018F2540DFDEAFF00C013A5 /* CCNode.h */; }; - D2FEB614194F6C9E00FC0574 /* CCDirector.h in Headers */ = {isa = PBXBuildFile; fileRef = 5018F2560DFDEAFF00C013A5 /* CCDirector.h */; }; - D2FEB616194F6C9E00FC0574 /* CCActionInstant.h in Headers */ = {isa = PBXBuildFile; fileRef = 5018F2580DFDEAFF00C013A5 /* CCActionInstant.h */; }; - D2FEB618194F6C9E00FC0574 /* CCActionInterval.h in Headers */ = {isa = PBXBuildFile; fileRef = 5018F25A0DFDEAFF00C013A5 /* CCActionInterval.h */; }; - D2FEB619194F6C9E00FC0574 /* CCLabelTTF.h in Headers */ = {isa = PBXBuildFile; fileRef = 5018F25C0DFDEAFF00C013A5 /* CCLabelTTF.h */; }; - D2FEB61A194F6C9E00FC0574 /* CCNodeColor.h in Headers */ = {isa = PBXBuildFile; fileRef = 5018F25E0DFDEAFF00C013A5 /* CCNodeColor.h */; }; - D2FEB61B194F6C9E00FC0574 /* CCScene.h in Headers */ = {isa = PBXBuildFile; fileRef = 5018F2600DFDEAFF00C013A5 /* CCScene.h */; }; - D2FEB61C194F6C9E00FC0574 /* CCTextureCache.h in Headers */ = {isa = PBXBuildFile; fileRef = 5018F2670DFDEAFF00C013A5 /* CCTextureCache.h */; }; - D2FEB61E194F6C9E00FC0574 /* CCRenderer.h in Headers */ = {isa = PBXBuildFile; fileRef = D38058181889AD6000822437 /* CCRenderer.h */; }; - D2FEB622194F6C9E00FC0574 /* CCParticleSystemBase.h in Headers */ = {isa = PBXBuildFile; fileRef = 5038B6B00E196CD8009A621E /* CCParticleSystemBase.h */; }; - D2FEB625194F6C9E00FC0574 /* CCEffectContrast.h in Headers */ = {isa = PBXBuildFile; fileRef = 9D85671F191B019900573093 /* CCEffectContrast.h */; }; - D2FEB627194F6C9E00FC0574 /* ccTypes.h in Headers */ = {isa = PBXBuildFile; fileRef = 50F9E8160E1AA34E000E7616 /* ccTypes.h */; }; - D2FEB628194F6C9E00FC0574 /* CCPhysicsShape.h in Headers */ = {isa = PBXBuildFile; fileRef = D3A2E7D0181E12750033614C /* CCPhysicsShape.h */; }; - D2FEB629194F6C9E00FC0574 /* CCParticleExamples.h in Headers */ = {isa = PBXBuildFile; fileRef = 504055AE0E3230BD00213FEF /* CCParticleExamples.h */; }; - D2FEB62A194F6C9E00FC0574 /* CCScheduler.h in Headers */ = {isa = PBXBuildFile; fileRef = 5066020F0E38A70D000B500E /* CCScheduler.h */; }; - D2FEB62F194F6C9E00FC0574 /* cocos2d.h in Headers */ = {isa = PBXBuildFile; fileRef = 50305AF30E40E33200F63373 /* cocos2d.h */; }; - D2FEB630194F6C9E00FC0574 /* CCDirectorAndroid.h in Headers */ = {isa = PBXBuildFile; fileRef = D285ECF6192EF5B2009F4E88 /* CCDirectorAndroid.h */; }; - D2FEB633194F6C9E00FC0574 /* TGAlib.h in Headers */ = {isa = PBXBuildFile; fileRef = 501CCFAC0E99657C00B86F68 /* TGAlib.h */; }; - D2FEB636194F6C9E00FC0574 /* CCActionEase.h in Headers */ = {isa = PBXBuildFile; fileRef = 50F7B2760F28DE7C00057537 /* CCActionEase.h */; }; - D2FEB637194F6C9E00FC0574 /* CCSprite_Private.h in Headers */ = {isa = PBXBuildFile; fileRef = B798D1441820305400E7BFCD /* CCSprite_Private.h */; }; - D2FEB638194F6C9E00FC0574 /* ccMacros.h in Headers */ = {isa = PBXBuildFile; fileRef = 50BAF3970F33CCD8003F654C /* ccMacros.h */; }; - D2FEB639194F6C9E00FC0574 /* CCNode_Private.h in Headers */ = {isa = PBXBuildFile; fileRef = B798D13C181F2E4500E7BFCD /* CCNode_Private.h */; }; - D2FEB63A194F6C9E00FC0574 /* CCSprite.h in Headers */ = {isa = PBXBuildFile; fileRef = 509A79950F6188420032F449 /* CCSprite.h */; }; - D2FEB63B194F6C9E00FC0574 /* CCFileUtils.h in Headers */ = {isa = PBXBuildFile; fileRef = 50C508C40F7C194400799124 /* CCFileUtils.h */; }; - D2FEB63E194F6C9E00FC0574 /* CGPointExtension.h in Headers */ = {isa = PBXBuildFile; fileRef = 503798C40F912C2000986724 /* CGPointExtension.h */; }; - D2FEB63F194F6C9E00FC0574 /* CCParticleSystem.h in Headers */ = {isa = PBXBuildFile; fileRef = 50D413240F9A3FE00040C3C8 /* CCParticleSystem.h */; }; - D2FEB640194F6C9E00FC0574 /* CCParallaxNode.h in Headers */ = {isa = PBXBuildFile; fileRef = 502C6C6A0FB87970002BF3C2 /* CCParallaxNode.h */; }; - D2FEB641194F6C9E00FC0574 /* CCTexture_Private.h in Headers */ = {isa = PBXBuildFile; fileRef = B706B19718209A8300B27A2C /* CCTexture_Private.h */; }; - D2FEB644194F6C9E00FC0574 /* CCLayoutBox.h in Headers */ = {isa = PBXBuildFile; fileRef = B7EE69DE1819E75700B983FE /* CCLayoutBox.h */; }; - D2FEB645194F6C9E00FC0574 /* CCTouchIOS.h in Headers */ = {isa = PBXBuildFile; fileRef = D23C5CB2194BC108007CA669 /* CCTouchIOS.h */; }; - D2FEB646194F6C9E00FC0574 /* CCEffect.h in Headers */ = {isa = PBXBuildFile; fileRef = D272031818FC89A000B100FF /* CCEffect.h */; }; - D2FEB647194F6C9E00FC0574 /* CCEffect_Private.h in Headers */ = {isa = PBXBuildFile; fileRef = D272031718FC89A000B100FF /* CCEffect_Private.h */; }; - D2FEB648194F6C9E00FC0574 /* CCEffectStack.h in Headers */ = {isa = PBXBuildFile; fileRef = D272032018FC89A000B100FF /* CCEffectStack.h */; }; - D2FEB64A194F6C9E00FC0574 /* CCTextField.h in Headers */ = {isa = PBXBuildFile; fileRef = B7E260D618171D2000A0E872 /* CCTextField.h */; }; - D2FEB64B194F6C9E00FC0574 /* CCBReader.h in Headers */ = {isa = PBXBuildFile; fileRef = B7D273061822F4AA0054849B /* CCBReader.h */; }; - D2FEB64C194F6C9E00FC0574 /* CCEffectPixellate.h in Headers */ = {isa = PBXBuildFile; fileRef = 9DF3761F191C594A00C6D27A /* CCEffectPixellate.h */; }; - D2FEB64D194F6C9E00FC0574 /* CCActionManager.h in Headers */ = {isa = PBXBuildFile; fileRef = 50CB3B0C100AC43A00B7A750 /* CCActionManager.h */; }; - D2FEB64E194F6C9E00FC0574 /* CCTiledMap.h in Headers */ = {isa = PBXBuildFile; fileRef = 509D0816101E4FCE007E1749 /* CCTiledMap.h */; }; - D2FEB64F194F6C9E00FC0574 /* base64.h in Headers */ = {isa = PBXBuildFile; fileRef = 50F29F6E102053370046CA73 /* base64.h */; }; - D2FEB650194F6C9E00FC0574 /* ZipUtils.h in Headers */ = {isa = PBXBuildFile; fileRef = 50F2A103102094550046CA73 /* ZipUtils.h */; }; - D2FEB652194F6C9E00FC0574 /* CCTMXXMLParser.h in Headers */ = {isa = PBXBuildFile; fileRef = 50CFAC371023660000175934 /* CCTMXXMLParser.h */; }; - D2FEB653194F6C9E00FC0574 /* CCRenderTexture.h in Headers */ = {isa = PBXBuildFile; fileRef = 50316AA410291280003ACFE7 /* CCRenderTexture.h */; }; - D2FEB654194F6C9E00FC0574 /* CCBSequenceProperty.h in Headers */ = {isa = PBXBuildFile; fileRef = B7D2730A1822F4AA0054849B /* CCBSequenceProperty.h */; }; - D2FEB655194F6C9E00FC0574 /* CCMotionStreak.h in Headers */ = {isa = PBXBuildFile; fileRef = 50316AD21029A126003ACFE7 /* CCMotionStreak.h */; }; - D2FEB656194F6C9E00FC0574 /* CCCache.h in Headers */ = {isa = PBXBuildFile; fileRef = D380581E1889CE7700822437 /* CCCache.h */; }; - D2FEB657194F6C9E00FC0574 /* CCRenderer_Private.h in Headers */ = {isa = PBXBuildFile; fileRef = D309054F18AC23110081BF11 /* CCRenderer_Private.h */; }; - D2FEB659194F6C9E00FC0574 /* ccConfig.h in Headers */ = {isa = PBXBuildFile; fileRef = 505462FB1062768000AB7C52 /* ccConfig.h */; }; - D2FEB65A194F6C9E00FC0574 /* CCSpriteFrame.h in Headers */ = {isa = PBXBuildFile; fileRef = 50E2A14E10A45E7F00D894CE /* CCSpriteFrame.h */; }; - D2FEB65B194F6C9E00FC0574 /* CCColor.h in Headers */ = {isa = PBXBuildFile; fileRef = B7E7761F1857A159004221AA /* CCColor.h */; }; - D2FEB65C194F6C9E00FC0574 /* CCProtocols.h in Headers */ = {isa = PBXBuildFile; fileRef = 50E2A25110A46CC600D894CE /* CCProtocols.h */; }; - D2FEB65D194F6C9E00FC0574 /* CCSpriteFrameCache.h in Headers */ = {isa = PBXBuildFile; fileRef = 502C8BDE10A661E200D137BA /* CCSpriteFrameCache.h */; }; - D2FEB65E194F6C9E00FC0574 /* CCTableView.h in Headers */ = {isa = PBXBuildFile; fileRef = B79F905817FE2A2E00908504 /* CCTableView.h */; }; - D2FEB65F194F6C9E00FC0574 /* CCTexture.h in Headers */ = {isa = PBXBuildFile; fileRef = 50E1357110ADEB1B00C9E7FA /* CCTexture.h */; }; - D2FEB660194F6C9E00FC0574 /* CCTiledMapLayer.h in Headers */ = {isa = PBXBuildFile; fileRef = 50D2AC9110E90DFA0068ECEB /* CCTiledMapLayer.h */; }; - D2FEB664194F6C9E00FC0574 /* CCTiledMapObjectGroup.h in Headers */ = {isa = PBXBuildFile; fileRef = 50D2AC9310E90DFA0068ECEB /* CCTiledMapObjectGroup.h */; }; - D2FEB665194F6C9E00FC0574 /* CCBSequence.h in Headers */ = {isa = PBXBuildFile; fileRef = B7D273081822F4AA0054849B /* CCBSequence.h */; }; - D2FEB666194F6C9E00FC0574 /* CCProfiling.h in Headers */ = {isa = PBXBuildFile; fileRef = 0529445911098D6F00E500F3 /* CCProfiling.h */; }; - D2FEB667194F6C9E00FC0574 /* CCGLView.h in Headers */ = {isa = PBXBuildFile; fileRef = D285ECEE192EA92A009F4E88 /* CCGLView.h */; }; - D2FEB668194F6C9E00FC0574 /* CCActionProgressTimer.h in Headers */ = {isa = PBXBuildFile; fileRef = 50150435113300F900A9CA65 /* CCActionProgressTimer.h */; }; - D2FEB66B194F6C9E00FC0574 /* CCActionTween.h in Headers */ = {isa = PBXBuildFile; fileRef = 50FBB2D8117613F500150761 /* CCActionTween.h */; }; - D2FEB66D194F6C9E00FC0574 /* uthash.h in Headers */ = {isa = PBXBuildFile; fileRef = 50D898EF1192CB7500458C29 /* uthash.h */; }; - D2FEB66E194F6C9E00FC0574 /* utlist.h in Headers */ = {isa = PBXBuildFile; fileRef = 508EAC2F1193F8B0007F058D /* utlist.h */; }; - D2FEB670194F6C9E00FC0574 /* CCSpriteBatchNode.h in Headers */ = {isa = PBXBuildFile; fileRef = E0C3655911F0AE9B001C08F9 /* CCSpriteBatchNode.h */; }; - D2FEB671194F6C9E00FC0574 /* ccUtils.h in Headers */ = {isa = PBXBuildFile; fileRef = E0C54DC911F9CF2700B9E4CB /* ccUtils.h */; }; - D2FEB673194F6C9E00FC0574 /* CCTouchAndroid.h in Headers */ = {isa = PBXBuildFile; fileRef = D23C5CBA194BC500007CA669 /* CCTouchAndroid.h */; }; - D2FEB674194F6C9E00FC0574 /* CCLabelBMFont.h in Headers */ = {isa = PBXBuildFile; fileRef = E01E6D8A121F130E001A484F /* CCLabelBMFont.h */; }; - D2FEB678194F6C9E00FC0574 /* CCGLView.h in Headers */ = {isa = PBXBuildFile; fileRef = E0EAD0F3121F4B4600B0C81C /* CCGLView.h */; }; - D2FEB679194F6C9E00FC0574 /* CCLabelBMFont_Private.h in Headers */ = {isa = PBXBuildFile; fileRef = B798D142181F469100E7BFCD /* CCLabelBMFont_Private.h */; }; - D2FEB67D194F6C9E00FC0574 /* CCGL.h in Headers */ = {isa = PBXBuildFile; fileRef = E0EAD19C121F4D7300B0C81C /* CCGL.h */; }; - D2FEB67E194F6C9E00FC0574 /* CCConfiguration.h in Headers */ = {isa = PBXBuildFile; fileRef = E0EAD1F0121F522A00B0C81C /* CCConfiguration.h */; }; - D2FEB67F194F6C9E00FC0574 /* CCEffectBrightness.h in Headers */ = {isa = PBXBuildFile; fileRef = 9D85671B191B018200573093 /* CCEffectBrightness.h */; }; - D2FEB680194F6C9E00FC0574 /* CCEffectNode.h in Headers */ = {isa = PBXBuildFile; fileRef = D272031E18FC89A000B100FF /* CCEffectNode.h */; }; - D2FEB682194F6C9E00FC0574 /* CCTexturePVR.h in Headers */ = {isa = PBXBuildFile; fileRef = E0F9246F1224140400EF2362 /* CCTexturePVR.h */; }; - D2FEB683194F6C9E00FC0574 /* CCNS.h in Headers */ = {isa = PBXBuildFile; fileRef = E0F92AC31224559800EF2362 /* CCNS.h */; }; - D2FEB684194F6C9E00FC0574 /* CCAnimationCache.h in Headers */ = {isa = PBXBuildFile; fileRef = E02BB6D4126CA93A006E46A2 /* CCAnimationCache.h */; }; - D2FEB685194F6C9E00FC0574 /* CCAnimation.h in Headers */ = {isa = PBXBuildFile; fileRef = E02BB702126CADEA006E46A2 /* CCAnimation.h */; }; - D2FEB686194F6C9E00FC0574 /* CCBuilderReader.h in Headers */ = {isa = PBXBuildFile; fileRef = B7D2730C1822F4AA0054849B /* CCBuilderReader.h */; }; - D2FEB687194F6C9E00FC0574 /* CCAppDelegate.h in Headers */ = {isa = PBXBuildFile; fileRef = B7E775CE18527EF0004221AA /* CCAppDelegate.h */; }; - D2FEB688194F6C9E00FC0574 /* CCShader.h in Headers */ = {isa = PBXBuildFile; fileRef = E0BC7D9B1342CE7B001B4DCC /* CCShader.h */; }; - D2FEB68C194F6C9E00FC0574 /* CCShader_Private.h in Headers */ = {isa = PBXBuildFile; fileRef = D39FA9C718C1BC6B00441627 /* CCShader_Private.h */; }; - D2FEB68E194F6C9E00FC0574 /* CCParticleBatchNode.h in Headers */ = {isa = PBXBuildFile; fileRef = A0C20AC6144FDAF700D84B47 /* CCParticleBatchNode.h */; }; - D2FEB690194F6C9E00FC0574 /* CCDirectorMac.h in Headers */ = {isa = PBXBuildFile; fileRef = A046E28B14C1DB7D0005BBF2 /* CCDirectorMac.h */; }; - D2FEB691194F6C9E00FC0574 /* CCGLView.h in Headers */ = {isa = PBXBuildFile; fileRef = A046E28F14C1DB7D0005BBF2 /* CCGLView.h */; }; - D2FEB692194F6C9E00FC0574 /* CCWindow.h in Headers */ = {isa = PBXBuildFile; fileRef = A046E29114C1DB7D0005BBF2 /* CCWindow.h */; }; - D2FEB693194F6C9E00FC0574 /* CCProgressNode.h in Headers */ = {isa = PBXBuildFile; fileRef = B791E85B182074C500DAE1D7 /* CCProgressNode.h */; }; - D2FEB694194F6C9E00FC0574 /* CCLayout.h in Headers */ = {isa = PBXBuildFile; fileRef = B7EE69DC1819E75700B983FE /* CCLayout.h */; }; - D2FEB695194F6C9E00FC0574 /* NSThread+performBlock.h in Headers */ = {isa = PBXBuildFile; fileRef = A0C87D1814F9A3A100C0E8B2 /* NSThread+performBlock.h */; }; - D2FEB696194F6C9E00FC0574 /* CCTiledMapLayer_Private.h in Headers */ = {isa = PBXBuildFile; fileRef = B791E849182064BF00DAE1D7 /* CCTiledMapLayer_Private.h */; }; - D2FEB69A194F6C9E00FC0574 /* CCTransition.h in Headers */ = {isa = PBXBuildFile; fileRef = A6DC4E0718055DCC00C280A6 /* CCTransition.h */; }; - D2FEB69B194F6C9E00FC0574 /* CCProgressNode_Private.h in Headers */ = {isa = PBXBuildFile; fileRef = B791E85A182074C500DAE1D7 /* CCProgressNode_Private.h */; }; - D2FEB69D194F6C9E00FC0574 /* CCParticleSystemBase_Private.h in Headers */ = {isa = PBXBuildFile; fileRef = B798D14C18204BEC00E7BFCD /* CCParticleSystemBase_Private.h */; }; - D2FEB69F194F6C9E00FC0574 /* CCTouch.h in Headers */ = {isa = PBXBuildFile; fileRef = D25B4F49194A499700DA9D60 /* CCTouch.h */; }; - D2FEB6A0194F6C9E00FC0574 /* CCActionCatmullRom.h in Headers */ = {isa = PBXBuildFile; fileRef = A0A7A53A1514F27D00C8BD16 /* CCActionCatmullRom.h */; }; - D2FEB6A2194F6C9E00FC0574 /* CCNode+Debug.h in Headers */ = {isa = PBXBuildFile; fileRef = A039EBFD155C686B0061EE37 /* CCNode+Debug.h */; }; - D2FEB6A3194F6C9E00FC0574 /* CCDrawNode.h in Headers */ = {isa = PBXBuildFile; fileRef = A0DA0BC115BCDCA200E80A92 /* CCDrawNode.h */; }; - D2FEB6A4194F6C9E00FC0574 /* CCClippingNode.h in Headers */ = {isa = PBXBuildFile; fileRef = 2B192833163361B10049A044 /* CCClippingNode.h */; }; - D2FEB6A6194F6C9E00FC0574 /* CCSlider.h in Headers */ = {isa = PBXBuildFile; fileRef = B7EE6A1C181AE34600B983FE /* CCSlider.h */; }; - D2FEB6A7194F6C9E00FC0574 /* ccFPSImages.h in Headers */ = {isa = PBXBuildFile; fileRef = A003AC8B1657071100C7B792 /* ccFPSImages.h */; }; - D2FEB6A8194F6C9E00FC0574 /* CCSprite9Slice.h in Headers */ = {isa = PBXBuildFile; fileRef = B74C2B9917BDA63A00A829C0 /* CCSprite9Slice.h */; }; - D2FEB6A9194F6C9E00FC0574 /* CCBReader_Private.h in Headers */ = {isa = PBXBuildFile; fileRef = B77060CE18341AD50043CC67 /* CCBReader_Private.h */; }; - D2FEB6AA194F6C9E00FC0574 /* NSAttributedString+CCAdditions.h in Headers */ = {isa = PBXBuildFile; fileRef = B75C2E7A17C5908B002B0E0D /* NSAttributedString+CCAdditions.h */; }; - D2FEB6AB194F6C9E00FC0574 /* CCResponderManager.h in Headers */ = {isa = PBXBuildFile; fileRef = A6A0734317C788EB004343C8 /* CCResponderManager.h */; }; - D2FEB6AC194F6C9E00FC0574 /* CCResponder.h in Headers */ = {isa = PBXBuildFile; fileRef = A6A0734817C78EF3004343C8 /* CCResponder.h */; }; - D2FEB6AD194F6C9E00FC0574 /* CCButton.h in Headers */ = {isa = PBXBuildFile; fileRef = B78AE45A17E7AF1C0028BE0B /* CCButton.h */; }; - D2FEB6AE194F6C9E00FC0574 /* CCParticleSystem_Private.h in Headers */ = {isa = PBXBuildFile; fileRef = B798D15218205EFB00E7BFCD /* CCParticleSystem_Private.h */; }; - D2FEB6AF194F6C9E00FC0574 /* CCTouchEvent.h in Headers */ = {isa = PBXBuildFile; fileRef = D26A0428194B815500503BEC /* CCTouchEvent.h */; }; - D2FEB6B1194F6C9E00FC0574 /* CCControl.h in Headers */ = {isa = PBXBuildFile; fileRef = B78AE45C17E7AF1C0028BE0B /* CCControl.h */; }; - D2FEB6B2194F6C9E00FC0574 /* CCControlTextureFactory.h in Headers */ = {isa = PBXBuildFile; fileRef = B78AE45E17E7AF1C0028BE0B /* CCControlTextureFactory.h */; }; - D2FEB6B4194F6C9E00FC0574 /* CCScrollView.h in Headers */ = {isa = PBXBuildFile; fileRef = B78AE46017E7AF1C0028BE0B /* CCScrollView.h */; }; - D2FEB6B6194F6C9E00FC0574 /* UITouch+CC.h in Headers */ = {isa = PBXBuildFile; fileRef = B78AE46A17E7AF6C0028BE0B /* UITouch+CC.h */; }; - D2FEB6B7194F6C9E00FC0574 /* CCBKeyframe.h in Headers */ = {isa = PBXBuildFile; fileRef = B7D273021822F4AA0054849B /* CCBKeyframe.h */; }; - D2FEB6B9194F6C9E00FC0574 /* CCAction.m in Sources */ = {isa = PBXBuildFile; fileRef = 5018F2530DFDEAFF00C013A5 /* CCAction.m */; }; - D2FEB6BA194F6C9E00FC0574 /* CCNode.m in Sources */ = {isa = PBXBuildFile; fileRef = 5018F2550DFDEAFF00C013A5 /* CCNode.m */; }; - D2FEB6BB194F6C9E00FC0574 /* CCDirector.m in Sources */ = {isa = PBXBuildFile; fileRef = 5018F2570DFDEAFF00C013A5 /* CCDirector.m */; }; - D2FEB6BC194F6C9E00FC0574 /* CCActionInstant.m in Sources */ = {isa = PBXBuildFile; fileRef = 5018F2590DFDEAFF00C013A5 /* CCActionInstant.m */; }; - D2FEB6BD194F6C9E00FC0574 /* CCActionInterval.m in Sources */ = {isa = PBXBuildFile; fileRef = 5018F25B0DFDEAFF00C013A5 /* CCActionInterval.m */; }; - D2FEB6C0194F6C9E00FC0574 /* CCPhysicsJoint.m in Sources */ = {isa = PBXBuildFile; fileRef = D33803E9180331A90072D8FE /* CCPhysicsJoint.m */; }; - D2FEB6C2194F6C9E00FC0574 /* CCTouchEvent.m in Sources */ = {isa = PBXBuildFile; fileRef = D26A0429194B815500503BEC /* CCTouchEvent.m */; }; - D2FEB6C3194F6C9E00FC0574 /* CCLabelTTF.m in Sources */ = {isa = PBXBuildFile; fileRef = 5018F25D0DFDEAFF00C013A5 /* CCLabelTTF.m */; }; - D2FEB6C4194F6C9E00FC0574 /* CCEffectContrast.m in Sources */ = {isa = PBXBuildFile; fileRef = 9D856720191B019900573093 /* CCEffectContrast.m */; }; - D2FEB6C5194F6C9E00FC0574 /* CCNodeColor.m in Sources */ = {isa = PBXBuildFile; fileRef = 5018F25F0DFDEAFF00C013A5 /* CCNodeColor.m */; }; - D2FEB6C7194F6C9E00FC0574 /* CCScene.m in Sources */ = {isa = PBXBuildFile; fileRef = 5018F2610DFDEAFF00C013A5 /* CCScene.m */; }; - D2FEB6C8194F6C9E00FC0574 /* CCTextureCache.m in Sources */ = {isa = PBXBuildFile; fileRef = 5018F2680DFDEAFF00C013A5 /* CCTextureCache.m */; }; - D2FEB6CA194F6C9E00FC0574 /* CCParticleSystemBase.m in Sources */ = {isa = PBXBuildFile; fileRef = 5038B6B10E196CD8009A621E /* CCParticleSystemBase.m */; }; - D2FEB6CB194F6C9E00FC0574 /* CCParticleExamples.m in Sources */ = {isa = PBXBuildFile; fileRef = 504055AF0E3230BD00213FEF /* CCParticleExamples.m */; }; - D2FEB6CC194F6C9E00FC0574 /* CCScheduler.m in Sources */ = {isa = PBXBuildFile; fileRef = 506602100E38A70D000B500E /* CCScheduler.m */; }; - D2FEB6CD194F6C9E00FC0574 /* cocos2d.m in Sources */ = {isa = PBXBuildFile; fileRef = 50A07B7A0E4CBCD300AAF0BB /* cocos2d.m */; }; - D2FEB6CF194F6C9E00FC0574 /* CCBSequenceProperty.m in Sources */ = {isa = PBXBuildFile; fileRef = B7D2730B1822F4AA0054849B /* CCBSequenceProperty.m */; }; - D2FEB6D0194F6C9E00FC0574 /* TGAlib.m in Sources */ = {isa = PBXBuildFile; fileRef = 501CCFAB0E99657C00B86F68 /* TGAlib.m */; }; - D2FEB6D1194F6C9E00FC0574 /* CCTextField.m in Sources */ = {isa = PBXBuildFile; fileRef = B7E260D718171D2000A0E872 /* CCTextField.m */; }; - D2FEB6D2194F6C9E00FC0574 /* CCActionEase.m in Sources */ = {isa = PBXBuildFile; fileRef = 50F7B2770F28DE7C00057537 /* CCActionEase.m */; }; - D2FEB6D3194F6C9E00FC0574 /* CCPhysicsShape.m in Sources */ = {isa = PBXBuildFile; fileRef = D3A2E7D1181E12750033614C /* CCPhysicsShape.m */; }; - D2FEB6D5194F6C9E00FC0574 /* CCSlider.m in Sources */ = {isa = PBXBuildFile; fileRef = B7EE6A1D181AE34600B983FE /* CCSlider.m */; }; - D2FEB6D6194F6C9E00FC0574 /* CCTMXXMLParser.m in Sources */ = {isa = PBXBuildFile; fileRef = 50CFAC381023660000175934 /* CCTMXXMLParser.m */; }; - D2FEB6D7194F6C9E00FC0574 /* CCSprite.m in Sources */ = {isa = PBXBuildFile; fileRef = 509A79960F6188420032F449 /* CCSprite.m */; }; - D2FEB6D8194F6C9E00FC0574 /* CCTiledMap.m in Sources */ = {isa = PBXBuildFile; fileRef = 509D0817101E4FCE007E1749 /* CCTiledMap.m */; }; - D2FEB6D9194F6C9E00FC0574 /* CCFileUtils.m in Sources */ = {isa = PBXBuildFile; fileRef = 50C508C50F7C194400799124 /* CCFileUtils.m */; }; - D2FEB6DB194F6C9E00FC0574 /* CCTouch.m in Sources */ = {isa = PBXBuildFile; fileRef = D25B4F4A194A499700DA9D60 /* CCTouch.m */; }; - D2FEB6DC194F6C9E00FC0574 /* CCEffectNode.m in Sources */ = {isa = PBXBuildFile; fileRef = D272031F18FC89A000B100FF /* CCEffectNode.m */; }; - D2FEB6DD194F6C9E00FC0574 /* CCTiledMapObjectGroup.m in Sources */ = {isa = PBXBuildFile; fileRef = 50D2AC9410E90DFA0068ECEB /* CCTiledMapObjectGroup.m */; }; - D2FEB6DE194F6C9E00FC0574 /* CGPointExtension.m in Sources */ = {isa = PBXBuildFile; fileRef = 503798C50F912C2000986724 /* CGPointExtension.m */; }; - D2FEB6DF194F6C9E00FC0574 /* CCParticleSystem.m in Sources */ = {isa = PBXBuildFile; fileRef = 50D413250F9A3FE00040C3C8 /* CCParticleSystem.m */; }; - D2FEB6E0194F6C9E00FC0574 /* CCParallaxNode.m in Sources */ = {isa = PBXBuildFile; fileRef = 502C6C6B0FB87970002BF3C2 /* CCParallaxNode.m */; }; - D2FEB6E1194F6C9E00FC0574 /* CCActionManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 50CB3B0D100AC43A00B7A750 /* CCActionManager.m */; }; - D2FEB6E2194F6C9E00FC0574 /* CCAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = B7E775CF18527EF0004221AA /* CCAppDelegate.m */; }; - D2FEB6E3194F6C9E00FC0574 /* CCBReader.m in Sources */ = {isa = PBXBuildFile; fileRef = B7D273071822F4AA0054849B /* CCBReader.m */; }; - D2FEB6E5194F6C9E00FC0574 /* base64.c in Sources */ = {isa = PBXBuildFile; fileRef = 50F29F5510204FD60046CA73 /* base64.c */; }; - D2FEB6E7194F6C9E00FC0574 /* ZipUtils.m in Sources */ = {isa = PBXBuildFile; fileRef = 50F2A102102094550046CA73 /* ZipUtils.m */; }; - D2FEB6EA194F6C9E00FC0574 /* CCEffectStack.m in Sources */ = {isa = PBXBuildFile; fileRef = D272032118FC89A000B100FF /* CCEffectStack.m */; }; - D2FEB6EC194F6C9E00FC0574 /* CCRenderTexture.m in Sources */ = {isa = PBXBuildFile; fileRef = 50316AA510291280003ACFE7 /* CCRenderTexture.m */; }; - D2FEB6ED194F6C9E00FC0574 /* CCMotionStreak.m in Sources */ = {isa = PBXBuildFile; fileRef = 50316AD31029A126003ACFE7 /* CCMotionStreak.m */; }; - D2FEB6EE194F6C9E00FC0574 /* CCSpriteFrame.m in Sources */ = {isa = PBXBuildFile; fileRef = 50E2A14F10A45E7F00D894CE /* CCSpriteFrame.m */; }; - D2FEB6EF194F6C9E00FC0574 /* CCSpriteFrameCache.m in Sources */ = {isa = PBXBuildFile; fileRef = 502C8BDF10A661E200D137BA /* CCSpriteFrameCache.m */; }; - D2FEB6F0194F6C9E00FC0574 /* CCTexture.m in Sources */ = {isa = PBXBuildFile; fileRef = 50E1357210ADEB1B00C9E7FA /* CCTexture.m */; }; - D2FEB6F1194F6C9E00FC0574 /* CCConfiguration.m in Sources */ = {isa = PBXBuildFile; fileRef = 503862D911007181005D2C92 /* CCConfiguration.m */; }; - D2FEB6F2194F6C9E00FC0574 /* CCProfiling.m in Sources */ = {isa = PBXBuildFile; fileRef = 0529445A11098D6F00E500F3 /* CCProfiling.m */; }; - D2FEB6F3194F6C9E00FC0574 /* CCActionProgressTimer.m in Sources */ = {isa = PBXBuildFile; fileRef = 50150436113300F900A9CA65 /* CCActionProgressTimer.m */; }; - D2FEB6F4194F6C9E00FC0574 /* CCTiledMapLayer.m in Sources */ = {isa = PBXBuildFile; fileRef = 50D2AC9210E90DFA0068ECEB /* CCTiledMapLayer.m */; }; - D2FEB6F5194F6C9E00FC0574 /* CCEffect.m in Sources */ = {isa = PBXBuildFile; fileRef = D272031918FC89A000B100FF /* CCEffect.m */; }; - D2FEB6F7194F6C9E00FC0574 /* CCActionTween.m in Sources */ = {isa = PBXBuildFile; fileRef = 50FBB2D9117613F500150761 /* CCActionTween.m */; }; - D2FEB6F9194F6C9E00FC0574 /* CCSpriteBatchNode.m in Sources */ = {isa = PBXBuildFile; fileRef = E0C3655A11F0AE9B001C08F9 /* CCSpriteBatchNode.m */; }; - D2FEB6FA194F6C9E00FC0574 /* ccUtils.c in Sources */ = {isa = PBXBuildFile; fileRef = E0C54DC811F9CF2700B9E4CB /* ccUtils.c */; }; - D2FEB6FB194F6C9E00FC0574 /* CCTouchAndroid.m in Sources */ = {isa = PBXBuildFile; fileRef = D23C5CBB194BC500007CA669 /* CCTouchAndroid.m */; }; - D2FEB6FC194F6C9E00FC0574 /* CCPhysicsNode.m in Sources */ = {isa = PBXBuildFile; fileRef = D33803E518032F390072D8FE /* CCPhysicsNode.m */; }; - D2FEB6FD194F6C9E00FC0574 /* CCGLView.m in Sources */ = {isa = PBXBuildFile; fileRef = D285ECEF192EA92A009F4E88 /* CCGLView.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - D2FEB6FE194F6C9E00FC0574 /* CCLabelBMFont.m in Sources */ = {isa = PBXBuildFile; fileRef = E01E6D8B121F130E001A484F /* CCLabelBMFont.m */; }; - D2FEB701194F6C9E00FC0574 /* CCDirectorAndroid.m in Sources */ = {isa = PBXBuildFile; fileRef = D285ECF7192EF5B2009F4E88 /* CCDirectorAndroid.m */; }; - D2FEB702194F6C9E00FC0574 /* CCGLView.m in Sources */ = {isa = PBXBuildFile; fileRef = E0EAD0F4121F4B4600B0C81C /* CCGLView.m */; }; - D2FEB703194F6C9E00FC0574 /* CCEffectBrightness.m in Sources */ = {isa = PBXBuildFile; fileRef = 9D85671C191B018200573093 /* CCEffectBrightness.m */; }; - D2FEB705194F6C9E00FC0574 /* CCBKeyframe.m in Sources */ = {isa = PBXBuildFile; fileRef = B7D273031822F4AA0054849B /* CCBKeyframe.m */; }; - D2FEB706194F6C9E00FC0574 /* CCTexturePVR.m in Sources */ = {isa = PBXBuildFile; fileRef = E0F924701224140400EF2362 /* CCTexturePVR.m */; }; - D2FEB708194F6C9E00FC0574 /* CCAnimationCache.m in Sources */ = {isa = PBXBuildFile; fileRef = E02BB6D5126CA93A006E46A2 /* CCAnimationCache.m */; }; - D2FEB709194F6C9E00FC0574 /* CCAnimation.m in Sources */ = {isa = PBXBuildFile; fileRef = E02BB703126CADEA006E46A2 /* CCAnimation.m */; }; - D2FEB70A194F6C9E00FC0574 /* CCShader.m in Sources */ = {isa = PBXBuildFile; fileRef = E0BC7D9C1342CE7B001B4DCC /* CCShader.m */; }; - D2FEB70F194F6C9E00FC0574 /* CCParticleBatchNode.m in Sources */ = {isa = PBXBuildFile; fileRef = A0C20AC7144FDAF700D84B47 /* CCParticleBatchNode.m */; }; - D2FEB710194F6C9E00FC0574 /* CCDirectorMac.m in Sources */ = {isa = PBXBuildFile; fileRef = A046E28C14C1DB7D0005BBF2 /* CCDirectorMac.m */; }; - D2FEB711194F6C9E00FC0574 /* CCGLView.m in Sources */ = {isa = PBXBuildFile; fileRef = A046E29014C1DB7D0005BBF2 /* CCGLView.m */; }; - D2FEB712194F6C9E00FC0574 /* CCWindow.m in Sources */ = {isa = PBXBuildFile; fileRef = A046E29214C1DB7D0005BBF2 /* CCWindow.m */; }; - D2FEB714194F6C9E00FC0574 /* CCBLocalizationManager.m in Sources */ = {isa = PBXBuildFile; fileRef = B7D273051822F4AA0054849B /* CCBLocalizationManager.m */; }; - D2FEB716194F6C9E00FC0574 /* NSThread+performBlock.m in Sources */ = {isa = PBXBuildFile; fileRef = A0C87D1914F9A3A100C0E8B2 /* NSThread+performBlock.m */; }; - D2FEB719194F6C9E00FC0574 /* CCBsequence.m in Sources */ = {isa = PBXBuildFile; fileRef = B7D273091822F4AA0054849B /* CCBsequence.m */; }; - D2FEB71A194F6C9E00FC0574 /* CCEffectPixellate.m in Sources */ = {isa = PBXBuildFile; fileRef = 9DF37620191C594A00C6D27A /* CCEffectPixellate.m */; }; - D2FEB71B194F6C9E00FC0574 /* CCActionCatmullRom.m in Sources */ = {isa = PBXBuildFile; fileRef = A0A7A53B1514F27D00C8BD16 /* CCActionCatmullRom.m */; }; - D2FEB71D194F6C9E00FC0574 /* CCRenderer.m in Sources */ = {isa = PBXBuildFile; fileRef = D38058191889AD6000822437 /* CCRenderer.m */; }; - D2FEB71F194F6C9E00FC0574 /* CCNode+Debug.m in Sources */ = {isa = PBXBuildFile; fileRef = A039EBFE155C686B0061EE37 /* CCNode+Debug.m */; }; - D2FEB720194F6C9E00FC0574 /* CCProgressNode.m in Sources */ = {isa = PBXBuildFile; fileRef = B791E85C182074C500DAE1D7 /* CCProgressNode.m */; }; - D2FEB722194F6C9E00FC0574 /* CCDrawNode.m in Sources */ = {isa = PBXBuildFile; fileRef = A0DA0BC215BCDCA200E80A92 /* CCDrawNode.m */; }; - D2FEB727194F6C9E00FC0574 /* CCLayout.m in Sources */ = {isa = PBXBuildFile; fileRef = B7EE69DD1819E75700B983FE /* CCLayout.m */; }; - D2FEB729194F6C9E00FC0574 /* CCClippingNode.m in Sources */ = {isa = PBXBuildFile; fileRef = 2B192834163361B10049A044 /* CCClippingNode.m */; }; - D2FEB72B194F6C9E00FC0574 /* ccFPSImages.m in Sources */ = {isa = PBXBuildFile; fileRef = A003AC8E16572D6000C7B792 /* ccFPSImages.m */; }; - D2FEB72C194F6C9E00FC0574 /* CCTableView.m in Sources */ = {isa = PBXBuildFile; fileRef = B79F905917FE2A2E00908504 /* CCTableView.m */; }; - D2FEB72D194F6C9E00FC0574 /* CCSprite9Slice.m in Sources */ = {isa = PBXBuildFile; fileRef = B74C2B9A17BDA63A00A829C0 /* CCSprite9Slice.m */; }; - D2FEB72E194F6C9E00FC0574 /* NSAttributedString+CCAdditions.m in Sources */ = {isa = PBXBuildFile; fileRef = B75C2E7B17C5908B002B0E0D /* NSAttributedString+CCAdditions.m */; }; - D2FEB72F194F6C9E00FC0574 /* CCLayoutBox.m in Sources */ = {isa = PBXBuildFile; fileRef = B7EE69DF1819E75700B983FE /* CCLayoutBox.m */; }; - D2FEB731194F6C9E00FC0574 /* CCColor.m in Sources */ = {isa = PBXBuildFile; fileRef = B7E776201857A159004221AA /* CCColor.m */; }; - D2FEB732194F6C9E00FC0574 /* CCTransition.m in Sources */ = {isa = PBXBuildFile; fileRef = A6DC4E0818055DCC00C280A6 /* CCTransition.m */; }; - D2FEB734194F6C9E00FC0574 /* CCResponderManager.m in Sources */ = {isa = PBXBuildFile; fileRef = A6A0734417C788EB004343C8 /* CCResponderManager.m */; }; - D2FEB735194F6C9E00FC0574 /* CCTouchIOS.m in Sources */ = {isa = PBXBuildFile; fileRef = D23C5CB3194BC108007CA669 /* CCTouchIOS.m */; }; - D2FEB736194F6C9E00FC0574 /* CCResponder.m in Sources */ = {isa = PBXBuildFile; fileRef = A6A0734917C78EF3004343C8 /* CCResponder.m */; }; - D2FEB737194F6C9E00FC0574 /* CCButton.m in Sources */ = {isa = PBXBuildFile; fileRef = B78AE45B17E7AF1C0028BE0B /* CCButton.m */; }; - D2FEB738194F6C9E00FC0574 /* CCControl.m in Sources */ = {isa = PBXBuildFile; fileRef = B78AE45D17E7AF1C0028BE0B /* CCControl.m */; }; - D2FEB739194F6C9E00FC0574 /* CCControlTextureFactory.m in Sources */ = {isa = PBXBuildFile; fileRef = B78AE45F17E7AF1C0028BE0B /* CCControlTextureFactory.m */; }; - D2FEB73A194F6C9E00FC0574 /* CCCache.m in Sources */ = {isa = PBXBuildFile; fileRef = D380581F1889CE7700822437 /* CCCache.m */; }; - D2FEB73C194F6C9E00FC0574 /* CCScrollView.m in Sources */ = {isa = PBXBuildFile; fileRef = B78AE46117E7AF1C0028BE0B /* CCScrollView.m */; }; - D2FEB73D194F6C9E00FC0574 /* UITouch+CC.m in Sources */ = {isa = PBXBuildFile; fileRef = B78AE46B17E7AF6C0028BE0B /* UITouch+CC.m */; }; - D2FEB73F194F6C9E00FC0574 /* CCPhysicsBody.m in Sources */ = {isa = PBXBuildFile; fileRef = D33803E218032ECE0072D8FE /* CCPhysicsBody.m */; }; - D2FEB745194F6C9E00FC0574 /* CoreText.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A06D9C131728D5F600704732 /* CoreText.framework */; }; - D2FEB747194F6C9E00FC0574 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1D30AB110D05D00D00671497 /* Foundation.framework */; }; - D2FEB749194F6C9E00FC0574 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1D3623EB0D0F72F000981E51 /* CoreGraphics.framework */; }; - D3027C8719D33FFB00006004 /* NSValue+CCRenderer.m in Sources */ = {isa = PBXBuildFile; fileRef = D34CAD6219C3A0FD009BED7A /* NSValue+CCRenderer.m */; }; D309055018AC23110081BF11 /* CCRenderer_Private.h in Headers */ = {isa = PBXBuildFile; fileRef = D309054F18AC23110081BF11 /* CCRenderer_Private.h */; }; D31C795019994126007921E1 /* CCMetalSupport.m in Sources */ = {isa = PBXBuildFile; fileRef = D31C794F19994126007921E1 /* CCMetalSupport.m */; }; D31C795219994197007921E1 /* CCMetalSupport_Private.h in Headers */ = {isa = PBXBuildFile; fileRef = D31C795119994197007921E1 /* CCMetalSupport_Private.h */; }; - D33803E318032ECE0072D8FE /* CCPhysicsBody.m in Sources */ = {isa = PBXBuildFile; fileRef = D33803E218032ECE0072D8FE /* CCPhysicsBody.m */; }; - D33803E618032F390072D8FE /* CCPhysicsNode.m in Sources */ = {isa = PBXBuildFile; fileRef = D33803E518032F390072D8FE /* CCPhysicsNode.m */; }; - D33803EA180331A90072D8FE /* CCPhysicsJoint.m in Sources */ = {isa = PBXBuildFile; fileRef = D33803E9180331A90072D8FE /* CCPhysicsJoint.m */; }; D34CAD6119C3A0B5009BED7A /* NSValue+CCRenderer.h in Headers */ = {isa = PBXBuildFile; fileRef = D34CAD5F19C3A0B5009BED7A /* NSValue+CCRenderer.h */; }; D34CAD6419C3A0FD009BED7A /* NSValue+CCRenderer.m in Sources */ = {isa = PBXBuildFile; fileRef = D34CAD6219C3A0FD009BED7A /* NSValue+CCRenderer.m */; }; D34CAD6719C3A7A5009BED7A /* CCRendererBasicTypes.h in Headers */ = {isa = PBXBuildFile; fileRef = D34CAD6519C3A7A5009BED7A /* CCRendererBasicTypes.h */; }; D34CAD6C19C3AA10009BED7A /* CCRendererBasicTypes_Private.h in Headers */ = {isa = PBXBuildFile; fileRef = D34CAD6A19C3AA10009BED7A /* CCRendererBasicTypes_Private.h */; }; D369415F19CFDF170092A0BD /* CCRendererBasicTypes.m in Sources */ = {isa = PBXBuildFile; fileRef = D34CAD6819C3A7B3009BED7A /* CCRendererBasicTypes.m */; }; - D36D31B718BD3CAA00E45F08 /* CCProgressNode.m in Sources */ = {isa = PBXBuildFile; fileRef = B791E85C182074C500DAE1D7 /* CCProgressNode.m */; }; - D37D197718B6665700B23FDE /* CCTiledMap.m in Sources */ = {isa = PBXBuildFile; fileRef = 509D0817101E4FCE007E1749 /* CCTiledMap.m */; }; - D37D197818B6665700B23FDE /* CCTiledMapLayer.m in Sources */ = {isa = PBXBuildFile; fileRef = 50D2AC9210E90DFA0068ECEB /* CCTiledMapLayer.m */; }; - D37D197918B6665700B23FDE /* CCTiledMapObjectGroup.m in Sources */ = {isa = PBXBuildFile; fileRef = 50D2AC9410E90DFA0068ECEB /* CCTiledMapObjectGroup.m */; }; - D37D197A18B6665700B23FDE /* CCTMXXMLParser.m in Sources */ = {isa = PBXBuildFile; fileRef = 50CFAC381023660000175934 /* CCTMXXMLParser.m */; }; D37D197B18B6666E00B23FDE /* CCSpriteBatchNode.m in Sources */ = {isa = PBXBuildFile; fileRef = E0C3655A11F0AE9B001C08F9 /* CCSpriteBatchNode.m */; }; D380581A1889AD6000822437 /* CCRenderer.h in Headers */ = {isa = PBXBuildFile; fileRef = D38058181889AD6000822437 /* CCRenderer.h */; }; D380581B1889AD6000822437 /* CCRenderer.m in Sources */ = {isa = PBXBuildFile; fileRef = D38058191889AD6000822437 /* CCRenderer.m */; }; D38058201889CE7700822437 /* CCCache.h in Headers */ = {isa = PBXBuildFile; fileRef = D380581E1889CE7700822437 /* CCCache.h */; }; D38058211889CE7700822437 /* CCCache.m in Sources */ = {isa = PBXBuildFile; fileRef = D380581F1889CE7700822437 /* CCCache.m */; }; - D3903B0A1995285B003AA81A /* CCEffectBlur.h in Headers */ = {isa = PBXBuildFile; fileRef = D3903B081995285B003AA81A /* CCEffectBlur.h */; }; - D3903B0B1995285B003AA81A /* CCEffectBlur.m in Sources */ = {isa = PBXBuildFile; fileRef = D3903B091995285B003AA81A /* CCEffectBlur.m */; }; D3903B0D1995288D003AA81A /* CCNoARC.m in Sources */ = {isa = PBXBuildFile; fileRef = D3903B0C1995288D003AA81A /* CCNoARC.m */; }; D3903B10199528A0003AA81A /* CCRenderDispatch.h in Headers */ = {isa = PBXBuildFile; fileRef = D3903B0E199528A0003AA81A /* CCRenderDispatch.h */; }; D3903B11199528A0003AA81A /* CCRenderDispatch.m in Sources */ = {isa = PBXBuildFile; fileRef = D3903B0F199528A0003AA81A /* CCRenderDispatch.m */; }; D3903B14199528B6003AA81A /* CCMetalView.h in Headers */ = {isa = PBXBuildFile; fileRef = D3903B12199528B6003AA81A /* CCMetalView.h */; }; D3903B15199528B6003AA81A /* CCMetalView.m in Sources */ = {isa = PBXBuildFile; fileRef = D3903B13199528B6003AA81A /* CCMetalView.m */; }; - D3903B16199528DB003AA81A /* CCNoARC.m in Sources */ = {isa = PBXBuildFile; fileRef = D3903B0C1995288D003AA81A /* CCNoARC.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; - D3903B17199528DF003AA81A /* CCRenderDispatch.m in Sources */ = {isa = PBXBuildFile; fileRef = D3903B0F199528A0003AA81A /* CCRenderDispatch.m */; }; - D3903B18199528F3003AA81A /* CCEffectBlur.m in Sources */ = {isa = PBXBuildFile; fileRef = D3903B091995285B003AA81A /* CCEffectBlur.m */; }; D3903B1A19952ABD003AA81A /* Metal.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D3903B1919952ABD003AA81A /* Metal.framework */; settings = {ATTRIBUTES = (Weak, ); }; }; D395DB2B183D739E0024997E /* OpenAL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 50E3877010446C6E00150883 /* OpenAL.framework */; }; D395DB2C183D73A70024997E /* AudioToolbox.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 50E3876E10446C6E00150883 /* AudioToolbox.framework */; }; - D39FA9C818C1BC6B00441627 /* CCShader_Private.h in Headers */ = {isa = PBXBuildFile; fileRef = D39FA9C718C1BC6B00441627 /* CCShader_Private.h */; }; - D3A2E7D2181E12750033614C /* CCPhysicsShape.h in Headers */ = {isa = PBXBuildFile; fileRef = D3A2E7D0181E12750033614C /* CCPhysicsShape.h */; }; - D3A2E7D3181E12750033614C /* CCPhysicsShape.m in Sources */ = {isa = PBXBuildFile; fileRef = D3A2E7D1181E12750033614C /* CCPhysicsShape.m */; }; - D3BEEFA419CFE8730055B624 /* CCRendererBasicTypes.m in Sources */ = {isa = PBXBuildFile; fileRef = D34CAD6819C3A7B3009BED7A /* CCRendererBasicTypes.m */; }; D3E3752F19CC842A0076CDBB /* CCRendererSharedTypes.h in Headers */ = {isa = PBXBuildFile; fileRef = D3E3752E19CC842A0076CDBB /* CCRendererSharedTypes.h */; }; E01E6D8C121F130E001A484F /* CCLabelBMFont.h in Headers */ = {isa = PBXBuildFile; fileRef = E01E6D8A121F130E001A484F /* CCLabelBMFont.h */; }; E01E6D8D121F130E001A484F /* CCLabelBMFont.m in Sources */ = {isa = PBXBuildFile; fileRef = E01E6D8B121F130E001A484F /* CCLabelBMFont.m */; }; @@ -993,126 +530,9 @@ E0F924711224140400EF2362 /* CCTexturePVR.h in Headers */ = {isa = PBXBuildFile; fileRef = E0F9246F1224140400EF2362 /* CCTexturePVR.h */; }; E0F924721224140400EF2362 /* CCTexturePVR.m in Sources */ = {isa = PBXBuildFile; fileRef = E0F924701224140400EF2362 /* CCTexturePVR.m */; }; E0F92AC41224559800EF2362 /* CCNS.h in Headers */ = {isa = PBXBuildFile; fileRef = E0F92AC31224559800EF2362 /* CCNS.h */; }; - E525F0F74C7C69C4371E20EE /* CCPackageHelper.m in Sources */ = {isa = PBXBuildFile; fileRef = E525F9EA4B5DD37D0418869E /* CCPackageHelper.m */; }; - E525F3A2BBCBB446B67D8260 /* CCPackage_private.h in Headers */ = {isa = PBXBuildFile; fileRef = E525FE4C98BCF1228ECC9623 /* CCPackage_private.h */; }; - E525FCC2CF72D3667DE4D71B /* CCPackageHelper.h in Headers */ = {isa = PBXBuildFile; fileRef = E525FF8C7C018BF691F36044 /* CCPackageHelper.h */; }; - E525FF1A60724C91275720C5 /* CCPackageManager_private.h in Headers */ = {isa = PBXBuildFile; fileRef = E525F94C08B1D716E9173061 /* CCPackageManager_private.h */; }; - FC64014019C79716003E595A /* libObjectAL.a in Frameworks */ = {isa = PBXBuildFile; fileRef = FC39961B19C3B92F00C93E5E /* libObjectAL.a */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ - 7A40378219E36EFF007B6E8F /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 83409E2A19D5B791004B7EB9 /* SSZipArchive.xcodeproj */; - proxyType = 2; - remoteGlobalIDString = 7A4036DE19DE3DF6007B6E8F; - remoteInfo = SSZipArchiveAndroid; - }; - 7A59497E19E38C8300F65F90 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 83409E2A19D5B791004B7EB9 /* SSZipArchive.xcodeproj */; - proxyType = 1; - remoteGlobalIDString = 7A59495A19E38BE500F65F90; - remoteInfo = SSZipArchiveMac; - }; - 7A59498119E38C8300F65F90 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 83409E2A19D5B791004B7EB9 /* SSZipArchive.xcodeproj */; - proxyType = 2; - remoteGlobalIDString = 7A59495B19E38BE500F65F90; - remoteInfo = SSZipArchiveMac; - }; - 7A9790D019E61DDB001FFC4D /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 83409E2A19D5B791004B7EB9 /* SSZipArchive.xcodeproj */; - proxyType = 1; - remoteGlobalIDString = 7A4036C319DE3DF6007B6E8F; - remoteInfo = SSZipArchiveAndroid; - }; - 83409E3119D5B791004B7EB9 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 83409E2A19D5B791004B7EB9 /* SSZipArchive.xcodeproj */; - proxyType = 2; - remoteGlobalIDString = 21CC41A517DB7D1300201DDC; - remoteInfo = SSZipArchiveExampleApp; - }; - 83409E3519D5B791004B7EB9 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 83409E2A19D5B791004B7EB9 /* SSZipArchive.xcodeproj */; - proxyType = 2; - remoteGlobalIDString = 83409DCE19D5B65B004B7EB9; - remoteInfo = SSZipArchive; - }; - 83409E4C19D5E8A1004B7EB9 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 83409E2A19D5B791004B7EB9 /* SSZipArchive.xcodeproj */; - proxyType = 1; - remoteGlobalIDString = 83409DCD19D5B65B004B7EB9; - remoteInfo = SSZipArchive; - }; - B15348341BE1E78C0022C4BB /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = FC39961319C3B92F00C93E5E /* ObjectAL.xcodeproj */; - proxyType = 2; - remoteGlobalIDString = FC39961219C3B80E00C93E5E; - remoteInfo = "ObjectAL (Android)"; - }; - B15348361BE1E78C0022C4BB /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = FC39961319C3B92F00C93E5E /* ObjectAL.xcodeproj */; - proxyType = 2; - remoteGlobalIDString = D369B53219C8E73C00BA46EA; - remoteInfo = "ObjectAL (Mac)"; - }; - B15348431BE1E7A20022C4BB /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = B15348391BE1E7A10022C4BB /* Chipmunk7.xcodeproj */; - proxyType = 2; - remoteGlobalIDString = D3E5F0490AA32FDE004E361B; - remoteInfo = ChipmunkDemo; - }; - B15348451BE1E7A20022C4BB /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = B15348391BE1E7A10022C4BB /* Chipmunk7.xcodeproj */; - proxyType = 2; - remoteGlobalIDString = D34963BB0B56CAA300CAD239; - remoteInfo = "Chipmunk-Mac"; - }; - B15348471BE1E7A20022C4BB /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = B15348391BE1E7A10022C4BB /* Chipmunk7.xcodeproj */; - proxyType = 2; - remoteGlobalIDString = D3C3787A11063B1B003EF1D9; - remoteInfo = "Chipmunk-iOS"; - }; - B15348491BE1E7A20022C4BB /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = B15348391BE1E7A10022C4BB /* Chipmunk7.xcodeproj */; - proxyType = 2; - remoteGlobalIDString = D39ECD8617ED70D900319DBA; - remoteInfo = "Benchmark iPhone"; - }; - B153484B1BE1E7A20022C4BB /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = B15348391BE1E7A10022C4BB /* Chipmunk7.xcodeproj */; - proxyType = 2; - remoteGlobalIDString = D333C5F018639A0500BBC4FF; - remoteInfo = "ObjectiveChipmunk-Mac"; - }; - B153484D1BE1E7A20022C4BB /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = B15348391BE1E7A10022C4BB /* Chipmunk7.xcodeproj */; - proxyType = 2; - remoteGlobalIDString = D309B21317EFE2EF00AA52C8; - remoteInfo = "ObjectiveChipmunk-iOS"; - }; - B153484F1BE1E7A20022C4BB /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = B15348391BE1E7A10022C4BB /* Chipmunk7.xcodeproj */; - proxyType = 2; - remoteGlobalIDString = D309B22017EFE2EF00AA52C8; - remoteInfo = ObjectiveChipmunkTests; - }; B7E7DE4D1A76DB8B004234B7 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = 29B97313FDCFA39411CA2CEA /* Project object */; @@ -1120,39 +540,22 @@ remoteGlobalIDString = 7A4037A719E37038007B6E8F; remoteInfo = "cocos2d-mac"; }; - FC39961A19C3B92F00C93E5E /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = FC39961319C3B92F00C93E5E /* ObjectAL.xcodeproj */; - proxyType = 2; - remoteGlobalIDString = CBBAB312171D0B84009B955F; - remoteInfo = "ObjectAL (iOS)"; - }; - FCFDA23D19C78E2D00B90910 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = FC39961319C3B92F00C93E5E /* ObjectAL.xcodeproj */; - proxyType = 1; - remoteGlobalIDString = CBBAB311171D0B84009B955F; - remoteInfo = "ObjectAL (iOS)"; - }; /* End PBXContainerItemProxy section */ /* Begin PBXFileReference section */ 0529445911098D6F00E500F3 /* CCProfiling.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCProfiling.h; sourceTree = ""; }; 0529445A11098D6F00E500F3 /* CCProfiling.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCProfiling.m; sourceTree = ""; }; - 0E0094961B3ACC3E006EA7FC /* install.sh */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.sh; path = install.sh; sourceTree = ""; }; - 0E0094971B3ACC4B006EA7FC /* templates */ = {isa = PBXFileReference; lastKnownFileType = folder; path = templates; sourceTree = ""; }; + 08A4EB6B1C7A553E00A08923 /* CCActionProgressTimer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CCActionProgressTimer.h; path = "cocos2d-ui/CCActionProgressTimer.h"; sourceTree = ""; }; + 08A4EB6C1C7A553E00A08923 /* CCActionProgressTimer.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = CCActionProgressTimer.m; path = "cocos2d-ui/CCActionProgressTimer.m"; sourceTree = ""; }; + 08A4EB6D1C7A553E00A08923 /* CCProgressNode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CCProgressNode.h; path = "cocos2d-ui/CCProgressNode.h"; sourceTree = ""; }; + 08A4EB6E1C7A553E00A08923 /* CCProgressNode.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = CCProgressNode.m; path = "cocos2d-ui/CCProgressNode.m"; sourceTree = ""; }; + 08A4EB7B1C7A563900A08923 /* CCPotentiometer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CCPotentiometer.h; path = "cocos2d-ui/CCPotentiometer.h"; sourceTree = ""; }; + 08A4EB7C1C7A563900A08923 /* CCPotentiometer.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = CCPotentiometer.m; path = "cocos2d-ui/CCPotentiometer.m"; sourceTree = ""; }; + 08F4AB671C6E98A1004DAAF7 /* libcocos2d-tvos.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libcocos2d-tvos.a"; sourceTree = BUILT_PRODUCTS_DIR; }; 0EFC792C1B3B0E14008926DD /* CCRendererGLSupport.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCRendererGLSupport.m; sourceTree = ""; }; 1435EB821A37BA7000BD04D4 /* GLActivityKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = GLActivityKit.framework; path = "../../Library/Application Support/Developer/Shared/Xcode/Platforms/Android.platform/Developer/SDKs/SBAndroid.sdk/System/Library/Frameworks/GLActivityKit.framework"; sourceTree = ""; }; - 143F32D71A3A2E8A0019FD3C /* CoreJava.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreJava.framework; path = "../../Library/Application Support/Developer/Shared/Xcode/Platforms/Android.platform/Developer/SDKs/SBAndroid.sdk/System/Library/Frameworks/CoreJava.framework"; sourceTree = ""; }; - 14C4C33D1A37E39E00DD3957 /* AndroidKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AndroidKit.framework; path = "../../Library/Application Support/Developer/Shared/Xcode/Platforms/Android.platform/Developer/SDKs/SBAndroid.sdk/System/Library/Frameworks/AndroidKit.framework"; sourceTree = ""; }; - 14EF47A91A37F11C00A45BE4 /* JavaKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaKit.framework; path = "../../Library/Application Support/Developer/Shared/Xcode/Platforms/Android.platform/Developer/SDKs/SBAndroid.sdk/System/Library/Frameworks/JavaKit.framework"; sourceTree = ""; }; 1D30AB110D05D00D00671497 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; 1D3623EB0D0F72F000981E51 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; - 2B192833163361B10049A044 /* CCClippingNode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCClippingNode.h; sourceTree = ""; }; - 2B192834163361B10049A044 /* CCClippingNode.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCClippingNode.m; sourceTree = ""; }; - 462D9B7E1A427E130040C5F2 /* JavaFoundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaFoundation.framework; path = "../../Library/Application Support/Developer/Shared/Xcode/Platforms/Android.platform/Developer/SDKs/SBAndroid.sdk/System/Library/Frameworks/JavaFoundation.framework"; sourceTree = ""; }; - 50150435113300F900A9CA65 /* CCActionProgressTimer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCActionProgressTimer.h; sourceTree = ""; }; - 50150436113300F900A9CA65 /* CCActionProgressTimer.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCActionProgressTimer.m; sourceTree = ""; }; 5018F24D0DFDEAC400C013A5 /* libcocos2d.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libcocos2d.a; sourceTree = BUILT_PRODUCTS_DIR; }; 5018F2520DFDEAFF00C013A5 /* CCAction.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCAction.h; sourceTree = ""; }; 5018F2530DFDEAFF00C013A5 /* CCAction.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCAction.m; sourceTree = ""; }; @@ -1175,47 +578,27 @@ 501A7CAC0EBC97BA005BC158 /* AUTHORS */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = AUTHORS; sourceTree = ""; }; 501CCFAB0E99657C00B86F68 /* TGAlib.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = TGAlib.m; sourceTree = ""; }; 501CCFAC0E99657C00B86F68 /* TGAlib.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TGAlib.h; sourceTree = ""; }; - 502C6C6A0FB87970002BF3C2 /* CCParallaxNode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCParallaxNode.h; sourceTree = ""; }; - 502C6C6B0FB87970002BF3C2 /* CCParallaxNode.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCParallaxNode.m; sourceTree = ""; }; 502C8BDE10A661E200D137BA /* CCSpriteFrameCache.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCSpriteFrameCache.h; sourceTree = ""; }; 502C8BDF10A661E200D137BA /* CCSpriteFrameCache.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCSpriteFrameCache.m; sourceTree = ""; }; 50305AF30E40E33200F63373 /* cocos2d.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = cocos2d.h; sourceTree = ""; }; 50316AA410291280003ACFE7 /* CCRenderTexture.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCRenderTexture.h; sourceTree = ""; }; 50316AA510291280003ACFE7 /* CCRenderTexture.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCRenderTexture.m; sourceTree = ""; }; - 50316AD21029A126003ACFE7 /* CCMotionStreak.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCMotionStreak.h; sourceTree = ""; }; - 50316AD31029A126003ACFE7 /* CCMotionStreak.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCMotionStreak.m; sourceTree = ""; }; 503798C40F912C2000986724 /* CGPointExtension.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CGPointExtension.h; sourceTree = ""; }; 503798C50F912C2000986724 /* CGPointExtension.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CGPointExtension.m; sourceTree = ""; }; 503862D911007181005D2C92 /* CCConfiguration.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCConfiguration.m; sourceTree = ""; }; - 5038B6B00E196CD8009A621E /* CCParticleSystemBase.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCParticleSystemBase.h; sourceTree = ""; }; - 5038B6B10E196CD8009A621E /* CCParticleSystemBase.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCParticleSystemBase.m; sourceTree = ""; }; - 504055AE0E3230BD00213FEF /* CCParticleExamples.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCParticleExamples.h; sourceTree = ""; }; - 504055AF0E3230BD00213FEF /* CCParticleExamples.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCParticleExamples.m; sourceTree = ""; }; 505462FB1062768000AB7C52 /* ccConfig.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ccConfig.h; sourceTree = ""; }; 5066020F0E38A70D000B500E /* CCScheduler.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCScheduler.h; sourceTree = ""; }; 506602100E38A70D000B500E /* CCScheduler.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCScheduler.m; sourceTree = ""; }; - 508A4A2310B47A46004B9CC3 /* RELEASE_NOTES */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = RELEASE_NOTES; sourceTree = ""; }; 508EAC2F1193F8B0007F058D /* utlist.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = utlist.h; sourceTree = ""; }; 509A79950F6188420032F449 /* CCSprite.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = CCSprite.h; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; }; 509A79960F6188420032F449 /* CCSprite.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; lineEnding = 0; path = CCSprite.m; sourceTree = ""; }; - 509D0816101E4FCE007E1749 /* CCTiledMap.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCTiledMap.h; sourceTree = ""; }; - 509D0817101E4FCE007E1749 /* CCTiledMap.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCTiledMap.m; sourceTree = ""; }; 50A07B7A0E4CBCD300AAF0BB /* cocos2d.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = cocos2d.m; sourceTree = ""; }; 50AC0A500EC34DD400EB5EDC /* DONORS */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = DONORS; sourceTree = ""; }; - 50B2C9BF0E109A5900AE9530 /* CHANGELOG */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = CHANGELOG; sourceTree = ""; }; 50BAF3970F33CCD8003F654C /* ccMacros.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ccMacros.h; sourceTree = ""; }; 50C508C40F7C194400799124 /* CCFileUtils.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCFileUtils.h; sourceTree = ""; }; 50C508C50F7C194400799124 /* CCFileUtils.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCFileUtils.m; sourceTree = ""; }; 50CB3B0C100AC43A00B7A750 /* CCActionManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCActionManager.h; sourceTree = ""; }; 50CB3B0D100AC43A00B7A750 /* CCActionManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCActionManager.m; sourceTree = ""; }; - 50CFAC371023660000175934 /* CCTMXXMLParser.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCTMXXMLParser.h; sourceTree = ""; }; - 50CFAC381023660000175934 /* CCTMXXMLParser.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCTMXXMLParser.m; sourceTree = ""; }; - 50D2AC9110E90DFA0068ECEB /* CCTiledMapLayer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCTiledMapLayer.h; sourceTree = ""; }; - 50D2AC9210E90DFA0068ECEB /* CCTiledMapLayer.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCTiledMapLayer.m; sourceTree = ""; }; - 50D2AC9310E90DFA0068ECEB /* CCTiledMapObjectGroup.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCTiledMapObjectGroup.h; sourceTree = ""; }; - 50D2AC9410E90DFA0068ECEB /* CCTiledMapObjectGroup.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCTiledMapObjectGroup.m; sourceTree = ""; }; - 50D413240F9A3FE00040C3C8 /* CCParticleSystem.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCParticleSystem.h; sourceTree = ""; }; - 50D413250F9A3FE00040C3C8 /* CCParticleSystem.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCParticleSystem.m; sourceTree = ""; }; 50D898EF1192CB7500458C29 /* uthash.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = uthash.h; sourceTree = ""; }; 50E1357110ADEB1B00C9E7FA /* CCTexture.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCTexture.h; sourceTree = ""; }; 50E1357210ADEB1B00C9E7FA /* CCTexture.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCTexture.m; sourceTree = ""; }; @@ -1233,72 +616,20 @@ 50F9E8160E1AA34E000E7616 /* ccTypes.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = ccTypes.h; sourceTree = ""; }; 50FBB2D8117613F500150761 /* CCActionTween.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCActionTween.h; sourceTree = ""; }; 50FBB2D9117613F500150761 /* CCActionTween.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCActionTween.m; sourceTree = ""; }; - 571CD01C19649E03003D460C /* CCPlatformTextFieldAndroid.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCPlatformTextFieldAndroid.h; sourceTree = ""; }; - 571CD01D19649E03003D460C /* CCPlatformTextFieldAndroid.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCPlatformTextFieldAndroid.m; sourceTree = ""; }; 571CD01E19649E03003D460C /* CCPlatformTextField.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCPlatformTextField.h; sourceTree = ""; }; 571CD01F19649E03003D460C /* CCPlatformTextField.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCPlatformTextField.m; sourceTree = ""; }; 571CD02119649E03003D460C /* CCPlatformTextFieldIOS.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCPlatformTextFieldIOS.h; sourceTree = ""; }; 571CD02219649E03003D460C /* CCPlatformTextFieldIOS.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCPlatformTextFieldIOS.m; sourceTree = ""; }; 571CD02419649E03003D460C /* CCPlatformTextFieldMac.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCPlatformTextFieldMac.h; sourceTree = ""; }; 571CD02519649E03003D460C /* CCPlatformTextFieldMac.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCPlatformTextFieldMac.m; sourceTree = ""; }; - 57BFF2B71991937C00A3FE9C /* CCEditText.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CCEditText.h; path = java/CCEditText.h; sourceTree = ""; }; - 57BFF2B81991937C00A3FE9C /* CCEditText.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = CCEditText.m; path = java/CCEditText.m; sourceTree = ""; }; 5BC1DE281A2E2099009C2E67 /* NSEvent+CC.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSEvent+CC.h"; sourceTree = ""; }; 5BC1DE291A2E2099009C2E67 /* NSEvent+CC.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSEvent+CC.m"; sourceTree = ""; }; - 5BC3CB5719626FA000C4F0D0 /* CCGestureListener.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CCGestureListener.h; path = Android/CCGestureListener.h; sourceTree = ""; }; - 5BC3CB5819626FA000C4F0D0 /* CCGestureListener.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = CCGestureListener.m; path = Android/CCGestureListener.m; sourceTree = ""; }; - 5BF32696195F947800D9A51A /* CCActivity.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CCActivity.h; path = Android/CCActivity.h; sourceTree = ""; }; - 5BF32697195F947800D9A51A /* CCActivity.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = CCActivity.m; path = Android/CCActivity.m; sourceTree = ""; }; 7A4037A819E37038007B6E8F /* libcocos2d-mac.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libcocos2d-mac.a"; sourceTree = BUILT_PRODUCTS_DIR; }; 7A4037C119E37117007B6E8F /* GLKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = GLKit.framework; path = Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/GLKit.framework; sourceTree = DEVELOPER_DIR; }; 7A4037C319E3711D007B6E8F /* ApplicationServices.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = ApplicationServices.framework; path = Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/ApplicationServices.framework; sourceTree = DEVELOPER_DIR; }; 7A4037C519E37126007B6E8F /* QuartzCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = QuartzCore.framework; path = Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/QuartzCore.framework; sourceTree = DEVELOPER_DIR; }; 7A4037C719E3712A007B6E8F /* OpenGL.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = OpenGL.framework; path = Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/OpenGL.framework; sourceTree = DEVELOPER_DIR; }; - 83409E2A19D5B791004B7EB9 /* SSZipArchive.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = SSZipArchive.xcodeproj; path = external/SSZipArchive/SSZipArchive.xcodeproj; sourceTree = ""; }; - 839CE58419FFB139003369F0 /* CCEffectInvert.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCEffectInvert.h; sourceTree = ""; }; - 839CE58519FFB139003369F0 /* CCEffectInvert.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCEffectInvert.m; sourceTree = ""; }; - 83E1A85A19C8ACA0000A3BCA /* CCPackage.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCPackage.h; sourceTree = ""; }; - 83E1A85B19C8ACA0000A3BCA /* CCPackage.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCPackage.m; sourceTree = ""; }; - 83E1A85C19C8ACA0000A3BCA /* CCPackageConstants.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCPackageConstants.h; sourceTree = ""; }; - 83E1A85D19C8ACA0000A3BCA /* CCPackageConstants.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCPackageConstants.m; sourceTree = ""; }; - 83E1A85E19C8ACA0000A3BCA /* CCPackageManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCPackageManager.h; sourceTree = ""; }; - 83E1A85F19C8ACA0000A3BCA /* CCPackageManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCPackageManager.m; sourceTree = ""; }; - 83E1A86019C8ACA0000A3BCA /* CCPackageManagerDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCPackageManagerDelegate.h; sourceTree = ""; }; - 83E1A86119C8ACA0000A3BCA /* CCPackageTypes.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCPackageTypes.h; sourceTree = ""; }; - 83E1A86A19C8ACAF000A3BCA /* CCPackageUnzipper.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCPackageUnzipper.h; sourceTree = ""; }; - 83E1A86B19C8ACAF000A3BCA /* CCPackageUnzipper.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCPackageUnzipper.m; sourceTree = ""; }; - 83E1A86C19C8ACAF000A3BCA /* CCPackageUnzipperDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCPackageUnzipperDelegate.h; sourceTree = ""; }; - 83E1A87019C8ACC1000A3BCA /* CCPackageDownload.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCPackageDownload.h; sourceTree = ""; }; - 83E1A87119C8ACC1000A3BCA /* CCPackageDownload.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCPackageDownload.m; sourceTree = ""; }; - 83E1A87219C8ACC1000A3BCA /* CCPackageDownloadDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCPackageDownloadDelegate.h; sourceTree = ""; }; - 83E1A87319C8ACC1000A3BCA /* CCPackageDownloadManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCPackageDownloadManager.h; sourceTree = ""; }; - 83E1A87419C8ACC1000A3BCA /* CCPackageDownloadManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCPackageDownloadManager.m; sourceTree = ""; }; - 83E1A87519C8ACC1000A3BCA /* CCPackageDownloadManagerDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCPackageDownloadManagerDelegate.h; sourceTree = ""; }; - 83E1A87E19C8ACDC000A3BCA /* CCPackageCocos2dEnabler.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCPackageCocos2dEnabler.h; sourceTree = ""; }; - 83E1A87F19C8ACDC000A3BCA /* CCPackageCocos2dEnabler.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCPackageCocos2dEnabler.m; sourceTree = ""; }; - 83E1A88219C8ACDC000A3BCA /* CCPackageInstaller.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCPackageInstaller.h; sourceTree = ""; }; - 83E1A88319C8ACDC000A3BCA /* CCPackageInstaller.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCPackageInstaller.m; sourceTree = ""; }; 83E1A88D19C8C19D000A3BCA /* libz.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libz.dylib; path = usr/lib/libz.dylib; sourceTree = SDKROOT; }; - 92FF6C7318F33A2A005B7139 /* CCActionManager_Private.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CCActionManager_Private.h; sourceTree = ""; }; - 9D1B4A941A02D51600B2DD9B /* CCLightNode_Private.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CCLightNode_Private.h; sourceTree = ""; }; - 9D1B4A971A02E90300B2DD9B /* CCLightGroups.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCLightGroups.h; sourceTree = ""; }; - 9D2773B31AB77F3800D19A11 /* CCEffectStereo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCEffectStereo.h; sourceTree = ""; }; - 9D2773B41AB77F3800D19A11 /* CCEffectStereo.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCEffectStereo.m; sourceTree = ""; }; - 9D69E6D419DF604800C2749C /* CCLightNode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCLightNode.h; sourceTree = ""; }; - 9D69E6D519DF604800C2749C /* CCLightNode.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCLightNode.m; sourceTree = ""; }; - 9D85671A191AE2CC00573093 /* CCEffectStack_Private.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CCEffectStack_Private.h; sourceTree = ""; }; - 9D85671B191B018200573093 /* CCEffectBrightness.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCEffectBrightness.h; sourceTree = ""; }; - 9D85671C191B018200573093 /* CCEffectBrightness.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCEffectBrightness.m; sourceTree = ""; }; - 9D85671F191B019900573093 /* CCEffectContrast.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCEffectContrast.h; sourceTree = ""; }; - 9D856720191B019900573093 /* CCEffectContrast.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCEffectContrast.m; sourceTree = ""; }; - 9D9205D01A0173D600FF2D6D /* CCLightCollection.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCLightCollection.h; sourceTree = ""; }; - 9D9205D11A0173D600FF2D6D /* CCLightCollection.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCLightCollection.m; sourceTree = ""; }; - 9DBCA31219B68BE400EFE96D /* CCEffectColorChannelOffset.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCEffectColorChannelOffset.h; sourceTree = ""; }; - 9DBCA31319B68BE400EFE96D /* CCEffectColorChannelOffset.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCEffectColorChannelOffset.m; sourceTree = ""; }; - 9DDD047C19DE154400687820 /* CCEffectLighting.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCEffectLighting.h; sourceTree = ""; }; - 9DDD047D19DE154400687820 /* CCEffectLighting.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCEffectLighting.m; sourceTree = ""; }; - 9DF3761F191C594A00C6D27A /* CCEffectPixellate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCEffectPixellate.h; sourceTree = ""; }; - 9DF37620191C594A00C6D27A /* CCEffectPixellate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCEffectPixellate.m; sourceTree = ""; }; A003AC8B1657071100C7B792 /* ccFPSImages.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ccFPSImages.h; sourceTree = ""; }; A003AC8E16572D6000C7B792 /* ccFPSImages.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ccFPSImages.m; sourceTree = ""; }; A039EBFD155C686B0061EE37 /* CCNode+Debug.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "CCNode+Debug.h"; sourceTree = ""; }; @@ -1315,8 +646,6 @@ A07EC9B2141A8D32008C1F12 /* README.md */ = {isa = PBXFileReference; lastKnownFileType = text; path = README.md; sourceTree = ""; }; A0A7A53A1514F27D00C8BD16 /* CCActionCatmullRom.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCActionCatmullRom.h; sourceTree = ""; }; A0A7A53B1514F27D00C8BD16 /* CCActionCatmullRom.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCActionCatmullRom.m; sourceTree = ""; }; - A0C20AC6144FDAF700D84B47 /* CCParticleBatchNode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCParticleBatchNode.h; sourceTree = ""; }; - A0C20AC7144FDAF700D84B47 /* CCParticleBatchNode.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCParticleBatchNode.m; sourceTree = ""; }; A0C87D1814F9A3A100C0E8B2 /* NSThread+performBlock.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSThread+performBlock.h"; sourceTree = ""; }; A0C87D1914F9A3A100C0E8B2 /* NSThread+performBlock.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSThread+performBlock.m"; sourceTree = ""; }; A0DA0BC115BCDCA200E80A92 /* CCDrawNode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCDrawNode.h; sourceTree = ""; }; @@ -1327,15 +656,11 @@ A6A0734917C78EF3004343C8 /* CCResponder.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCResponder.m; sourceTree = ""; }; A6DC4E0718055DCC00C280A6 /* CCTransition.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCTransition.h; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; }; A6DC4E0818055DCC00C280A6 /* CCTransition.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCTransition.m; sourceTree = ""; }; - B15348391BE1E7A10022C4BB /* Chipmunk7.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = Chipmunk7.xcodeproj; path = external/Chipmunk/xcode/Chipmunk7.xcodeproj; sourceTree = ""; }; - B706B19718209A8300B27A2C /* CCTexture_Private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCTexture_Private.h; sourceTree = ""; }; - B706B19918209FA000B27A2C /* CCDirector_Private.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CCDirector_Private.h; sourceTree = ""; }; B74C2B9917BDA63A00A829C0 /* CCSprite9Slice.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCSprite9Slice.h; sourceTree = ""; }; B74C2B9A17BDA63A00A829C0 /* CCSprite9Slice.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCSprite9Slice.m; sourceTree = ""; }; B750162218124B6000708A2F /* CCControlSubclass.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = CCControlSubclass.h; path = "cocos2d-ui/CCControlSubclass.h"; sourceTree = ""; }; B75C2E7A17C5908B002B0E0D /* NSAttributedString+CCAdditions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSAttributedString+CCAdditions.h"; sourceTree = ""; }; B75C2E7B17C5908B002B0E0D /* NSAttributedString+CCAdditions.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSAttributedString+CCAdditions.m"; sourceTree = ""; }; - B77060CE18341AD50043CC67 /* CCBReader_Private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CCBReader_Private.h; path = "cocos2d-ui/CCBReader/CCBReader_Private.h"; sourceTree = ""; }; B77582CD1A76CDB200C8589F /* libz.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libz.dylib; path = Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/lib/libz.dylib; sourceTree = DEVELOPER_DIR; }; B78AE45A17E7AF1C0028BE0B /* CCButton.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CCButton.h; path = "cocos2d-ui/CCButton.h"; sourceTree = ""; }; B78AE45B17E7AF1C0028BE0B /* CCButton.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = CCButton.m; path = "cocos2d-ui/CCButton.m"; sourceTree = ""; }; @@ -1347,29 +672,9 @@ B78AE46117E7AF1C0028BE0B /* CCScrollView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = CCScrollView.m; path = "cocos2d-ui/CCScrollView.m"; sourceTree = ""; }; B78AE46A17E7AF6C0028BE0B /* UITouch+CC.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UITouch+CC.h"; sourceTree = ""; }; B78AE46B17E7AF6C0028BE0B /* UITouch+CC.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UITouch+CC.m"; sourceTree = ""; }; - B791E849182064BF00DAE1D7 /* CCTiledMapLayer_Private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCTiledMapLayer_Private.h; sourceTree = ""; }; - B791E85A182074C500DAE1D7 /* CCProgressNode_Private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCProgressNode_Private.h; sourceTree = ""; }; - B791E85B182074C500DAE1D7 /* CCProgressNode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCProgressNode.h; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; }; - B791E85C182074C500DAE1D7 /* CCProgressNode.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCProgressNode.m; sourceTree = ""; }; - B798D13C181F2E4500E7BFCD /* CCNode_Private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCNode_Private.h; sourceTree = ""; }; - B798D142181F469100E7BFCD /* CCLabelBMFont_Private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCLabelBMFont_Private.h; sourceTree = ""; }; - B798D1441820305400E7BFCD /* CCSprite_Private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCSprite_Private.h; sourceTree = ""; }; - B798D14C18204BEC00E7BFCD /* CCParticleSystemBase_Private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCParticleSystemBase_Private.h; sourceTree = ""; }; - B798D15218205EFB00E7BFCD /* CCParticleSystem_Private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCParticleSystem_Private.h; sourceTree = ""; }; B79F905817FE2A2E00908504 /* CCTableView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CCTableView.h; path = "cocos2d-ui/CCTableView.h"; sourceTree = ""; }; B79F905917FE2A2E00908504 /* CCTableView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = CCTableView.m; path = "cocos2d-ui/CCTableView.m"; sourceTree = ""; }; B7C6237917EA7D8600928F91 /* cocos2d-ui.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = "cocos2d-ui.h"; path = "cocos2d-ui/cocos2d-ui.h"; sourceTree = ""; }; - B7D273021822F4AA0054849B /* CCBKeyframe.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CCBKeyframe.h; path = "cocos2d-ui/CCBReader/CCBKeyframe.h"; sourceTree = ""; }; - B7D273031822F4AA0054849B /* CCBKeyframe.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = CCBKeyframe.m; path = "cocos2d-ui/CCBReader/CCBKeyframe.m"; sourceTree = ""; }; - B7D273041822F4AA0054849B /* CCBLocalizationManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CCBLocalizationManager.h; path = "cocos2d-ui/CCBReader/CCBLocalizationManager.h"; sourceTree = ""; }; - B7D273051822F4AA0054849B /* CCBLocalizationManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = CCBLocalizationManager.m; path = "cocos2d-ui/CCBReader/CCBLocalizationManager.m"; sourceTree = ""; }; - B7D273061822F4AA0054849B /* CCBReader.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CCBReader.h; path = "cocos2d-ui/CCBReader/CCBReader.h"; sourceTree = ""; }; - B7D273071822F4AA0054849B /* CCBReader.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = CCBReader.m; path = "cocos2d-ui/CCBReader/CCBReader.m"; sourceTree = ""; }; - B7D273081822F4AA0054849B /* CCBSequence.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CCBSequence.h; path = "cocos2d-ui/CCBReader/CCBSequence.h"; sourceTree = ""; }; - B7D273091822F4AA0054849B /* CCBsequence.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = CCBsequence.m; path = "cocos2d-ui/CCBReader/CCBsequence.m"; sourceTree = ""; }; - B7D2730A1822F4AA0054849B /* CCBSequenceProperty.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CCBSequenceProperty.h; path = "cocos2d-ui/CCBReader/CCBSequenceProperty.h"; sourceTree = ""; }; - B7D2730B1822F4AA0054849B /* CCBSequenceProperty.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = CCBSequenceProperty.m; path = "cocos2d-ui/CCBReader/CCBSequenceProperty.m"; sourceTree = ""; }; - B7D2730C1822F4AA0054849B /* CCBuilderReader.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CCBuilderReader.h; path = "cocos2d-ui/CCBReader/CCBuilderReader.h"; sourceTree = ""; }; B7E260D618171D2000A0E872 /* CCTextField.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CCTextField.h; path = "cocos2d-ui/CCTextField.h"; sourceTree = ""; }; B7E260D718171D2000A0E872 /* CCTextField.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = CCTextField.m; path = "cocos2d-ui/CCTextField.m"; sourceTree = ""; }; B7E775CE18527EF0004221AA /* CCAppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCAppDelegate.h; sourceTree = ""; }; @@ -1392,87 +697,15 @@ B7EE69DF1819E75700B983FE /* CCLayoutBox.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCLayoutBox.m; sourceTree = ""; }; B7EE6A1C181AE34600B983FE /* CCSlider.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CCSlider.h; path = "cocos2d-ui/CCSlider.h"; sourceTree = ""; }; B7EE6A1D181AE34600B983FE /* CCSlider.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = CCSlider.m; path = "cocos2d-ui/CCSlider.m"; sourceTree = ""; }; - D22907AC1A2F5E440038FF61 /* CCEffectOutline.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCEffectOutline.h; sourceTree = ""; }; - D22907AD1A2F5E440038FF61 /* CCEffectOutline.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCEffectOutline.m; sourceTree = ""; }; - D23C5CB2194BC108007CA669 /* CCTouchIOS.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCTouchIOS.h; sourceTree = ""; }; - D23C5CB3194BC108007CA669 /* CCTouchIOS.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCTouchIOS.m; sourceTree = ""; }; - D23C5CBA194BC500007CA669 /* CCTouchAndroid.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CCTouchAndroid.h; path = Android/CCTouchAndroid.h; sourceTree = ""; }; - D23C5CBB194BC500007CA669 /* CCTouchAndroid.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = CCTouchAndroid.m; path = Android/CCTouchAndroid.m; sourceTree = ""; }; - D24160F61958F6EE003673BD /* CCAnimationManager_Private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CCAnimationManager_Private.h; path = "cocos2d-ui/CCBReader/CCAnimationManager_Private.h"; sourceTree = ""; }; - D24160F71958F6EE003673BD /* CCAnimationManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CCAnimationManager.h; path = "cocos2d-ui/CCBReader/CCAnimationManager.h"; sourceTree = ""; }; - D24160F81958F6EE003673BD /* CCAnimationManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = CCAnimationManager.m; path = "cocos2d-ui/CCBReader/CCAnimationManager.m"; sourceTree = ""; }; - D24160F91958F6EE003673BD /* CCAnimationManager+FrameAnimation.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "CCAnimationManager+FrameAnimation.h"; path = "cocos2d-ui/CCBReader/CCAnimationManager+FrameAnimation.h"; sourceTree = ""; }; - D24160FA1958F6EE003673BD /* CCAnimationManager+FrameAnimation.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = "CCAnimationManager+FrameAnimation.m"; path = "cocos2d-ui/CCBReader/CCAnimationManager+FrameAnimation.m"; sourceTree = ""; }; - D24160FB1958F6EE003673BD /* CCBAnimationManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CCBAnimationManager.h; path = "cocos2d-ui/CCBReader/CCBAnimationManager.h"; sourceTree = ""; }; - D24160FC1958F6EE003673BD /* CCBAnimationManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = CCBAnimationManager.m; path = "cocos2d-ui/CCBReader/CCBAnimationManager.m"; sourceTree = ""; }; - D24161041958F72B003673BD /* CCEffectRenderer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCEffectRenderer.h; sourceTree = ""; }; - D24161051958F72B003673BD /* CCEffectRenderer.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCEffectRenderer.m; sourceTree = ""; }; - D24161061958F72B003673BD /* CCEffectSaturation.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCEffectSaturation.h; sourceTree = ""; }; - D24161071958F72B003673BD /* CCEffectSaturation.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCEffectSaturation.m; sourceTree = ""; }; - D24161081958F72B003673BD /* CCEffectStackProtocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCEffectStackProtocol.h; sourceTree = ""; }; D24FAEEB198014B90043E27D /* GLKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = GLKit.framework; path = System/Library/Frameworks/GLKit.framework; sourceTree = SDKROOT; }; - D25B4F49194A499700DA9D60 /* CCTouch.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCTouch.h; sourceTree = ""; }; - D25B4F4A194A499700DA9D60 /* CCTouch.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCTouch.m; sourceTree = ""; }; - D268FE05198078FF00ECBCD0 /* CCEffectBloom.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCEffectBloom.h; sourceTree = ""; }; - D268FE06198078FF00ECBCD0 /* CCEffectBloom.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCEffectBloom.m; sourceTree = ""; }; - D268FE07198078FF00ECBCD0 /* CCEffectGlass.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCEffectGlass.h; sourceTree = ""; }; - D268FE08198078FF00ECBCD0 /* CCEffectGlass.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCEffectGlass.m; sourceTree = ""; }; - D268FE09198078FF00ECBCD0 /* CCEffectHue.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCEffectHue.h; sourceTree = ""; }; - D268FE0A198078FF00ECBCD0 /* CCEffectHue.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCEffectHue.m; sourceTree = ""; }; - D268FE0B198078FF00ECBCD0 /* CCEffectReflection.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCEffectReflection.h; sourceTree = ""; }; - D268FE0C198078FF00ECBCD0 /* CCEffectReflection.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCEffectReflection.m; sourceTree = ""; }; - D268FE151980791300ECBCD0 /* CCEffectRefraction.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCEffectRefraction.h; sourceTree = ""; }; - D268FE161980791300ECBCD0 /* CCEffectRefraction.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCEffectRefraction.m; sourceTree = ""; }; - D268FE171980791300ECBCD0 /* CCEffectUtils.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCEffectUtils.h; sourceTree = ""; }; - D268FE181980791300ECBCD0 /* CCEffectUtils.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCEffectUtils.m; sourceTree = ""; }; - D26A0428194B815500503BEC /* CCTouchEvent.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCTouchEvent.h; sourceTree = ""; }; - D26A0429194B815500503BEC /* CCTouchEvent.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCTouchEvent.m; sourceTree = ""; }; - D272031718FC89A000B100FF /* CCEffect_Private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCEffect_Private.h; sourceTree = ""; }; - D272031818FC89A000B100FF /* CCEffect.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCEffect.h; sourceTree = ""; }; - D272031918FC89A000B100FF /* CCEffect.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCEffect.m; sourceTree = ""; }; - D272031E18FC89A000B100FF /* CCEffectNode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCEffectNode.h; sourceTree = ""; }; - D272031F18FC89A000B100FF /* CCEffectNode.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCEffectNode.m; sourceTree = ""; }; - D272032018FC89A000B100FF /* CCEffectStack.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCEffectStack.h; sourceTree = ""; }; - D272032118FC89A000B100FF /* CCEffectStack.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCEffectStack.m; sourceTree = ""; }; - D27451A819AD430A006DA0A1 /* CCEffectDropShadow.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCEffectDropShadow.h; sourceTree = ""; }; - D27451A919AD430A006DA0A1 /* CCEffectDropShadow.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCEffectDropShadow.m; sourceTree = ""; }; - D27451B519AE5517006DA0A1 /* CCEffectDistanceField.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCEffectDistanceField.h; sourceTree = ""; }; - D27451B619AE5517006DA0A1 /* CCEffectDistanceField.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCEffectDistanceField.m; sourceTree = ""; }; - D27451C419B111A9006DA0A1 /* CCEffectDFOutline.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCEffectDFOutline.h; sourceTree = ""; }; - D27451C519B111A9006DA0A1 /* CCEffectDFOutline.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCEffectDFOutline.m; sourceTree = ""; }; - D285ECEE192EA92A009F4E88 /* CCGLView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CCGLView.h; path = Android/CCGLView.h; sourceTree = ""; }; - D285ECEF192EA92A009F4E88 /* CCGLView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = CCGLView.m; path = Android/CCGLView.m; sourceTree = ""; }; - D285ECF6192EF5B2009F4E88 /* CCDirectorAndroid.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CCDirectorAndroid.h; path = Android/CCDirectorAndroid.h; sourceTree = ""; }; - D285ECF7192EF5B2009F4E88 /* CCDirectorAndroid.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = CCDirectorAndroid.m; path = Android/CCDirectorAndroid.m; sourceTree = ""; }; D28A2E151954F66E00ADC03D /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; D28A2E1A1954F68D00ADC03D /* QuartzCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = QuartzCore.framework; path = System/Library/Frameworks/QuartzCore.framework; sourceTree = SDKROOT; }; D28A2E1C1954F7E000ADC03D /* OpenGLES.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = OpenGLES.framework; path = System/Library/Frameworks/OpenGLES.framework; sourceTree = SDKROOT; }; D28A2E201954F85700ADC03D /* AVFoundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AVFoundation.framework; path = System/Library/Frameworks/AVFoundation.framework; sourceTree = SDKROOT; }; - D299CE7819C2910B00519CBB /* CCEffectDFInnerGlow.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCEffectDFInnerGlow.h; sourceTree = ""; }; - D299CE7919C2910B00519CBB /* CCEffectDFInnerGlow.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCEffectDFInnerGlow.m; sourceTree = ""; }; D2B840C31909F447008063EA /* CCRenderTexture_Private.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CCRenderTexture_Private.h; sourceTree = ""; }; - D2DDB08819805E8400233D80 /* CCMathUtilsAndroid.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CCMathUtilsAndroid.h; path = Platforms/Android/CCMathUtilsAndroid.h; sourceTree = ""; }; - D2DDB08919805E8400233D80 /* CCMatrix3.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CCMatrix3.h; path = Platforms/Android/CCMatrix3.h; sourceTree = ""; }; - D2DDB08A19805E8400233D80 /* CCMatrix4.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CCMatrix4.h; path = Platforms/Android/CCMatrix4.h; sourceTree = ""; }; - D2DDB08B19805E8400233D80 /* CCQuaternion.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CCQuaternion.h; path = Platforms/Android/CCQuaternion.h; sourceTree = ""; }; - D2DDB08C19805E8400233D80 /* CCMathTypesAndroid.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CCMathTypesAndroid.h; path = Platforms/Android/CCMathTypesAndroid.h; sourceTree = ""; }; - D2DDB08D19805E8400233D80 /* CCMatrix4.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = CCMatrix4.m; path = Platforms/Android/CCMatrix4.m; sourceTree = ""; }; - D2DDB08E19805E8400233D80 /* CCVector3.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CCVector3.h; path = Platforms/Android/CCVector3.h; sourceTree = ""; }; - D2DDB08F19805E8400233D80 /* CCVector4.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CCVector4.h; path = Platforms/Android/CCVector4.h; sourceTree = ""; }; - D2DDB09019805E8400233D80 /* CCVector2.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CCVector2.h; path = Platforms/Android/CCVector2.h; sourceTree = ""; }; - D2DDB09119805E8400233D80 /* CCQuaternion.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = CCQuaternion.m; path = Platforms/Android/CCQuaternion.m; sourceTree = ""; }; - D2DDB09219805E8400233D80 /* CCMatrix3.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = CCMatrix3.m; path = Platforms/Android/CCMatrix3.m; sourceTree = ""; }; - D2FEB74F194F6C9E00FC0574 /* libcocos2dAndroid.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libcocos2dAndroid.a; sourceTree = BUILT_PRODUCTS_DIR; }; D309054F18AC23110081BF11 /* CCRenderer_Private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCRenderer_Private.h; sourceTree = ""; }; D31C794F19994126007921E1 /* CCMetalSupport.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCMetalSupport.m; sourceTree = ""; }; D31C795119994197007921E1 /* CCMetalSupport_Private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCMetalSupport_Private.h; sourceTree = ""; }; - D33803DC18032E4F0072D8FE /* CCPhysics+ObjectiveChipmunk.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "CCPhysics+ObjectiveChipmunk.h"; sourceTree = ""; }; - D33803E218032ECE0072D8FE /* CCPhysicsBody.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCPhysicsBody.m; sourceTree = ""; }; - D33803E418032F250072D8FE /* CCPhysicsBody.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CCPhysicsBody.h; sourceTree = ""; }; - D33803E518032F390072D8FE /* CCPhysicsNode.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCPhysicsNode.m; sourceTree = ""; }; - D33803E718032F4A0072D8FE /* CCPhysicsNode.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CCPhysicsNode.h; sourceTree = ""; }; - D33803E81803319F0072D8FE /* CCPhysicsJoint.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CCPhysicsJoint.h; sourceTree = ""; }; - D33803E9180331A90072D8FE /* CCPhysicsJoint.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCPhysicsJoint.m; sourceTree = ""; }; D34CAD5F19C3A0B5009BED7A /* NSValue+CCRenderer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSValue+CCRenderer.h"; sourceTree = ""; }; D34CAD6219C3A0FD009BED7A /* NSValue+CCRenderer.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSValue+CCRenderer.m"; sourceTree = ""; }; D34CAD6519C3A7A5009BED7A /* CCRendererBasicTypes.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCRendererBasicTypes.h; sourceTree = ""; }; @@ -1482,8 +715,6 @@ D38058191889AD6000822437 /* CCRenderer.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCRenderer.m; sourceTree = ""; }; D380581E1889CE7700822437 /* CCCache.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CCCache.h; path = ../CCCache.h; sourceTree = ""; }; D380581F1889CE7700822437 /* CCCache.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = CCCache.m; path = ../CCCache.m; sourceTree = ""; }; - D3903B081995285B003AA81A /* CCEffectBlur.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCEffectBlur.h; sourceTree = ""; }; - D3903B091995285B003AA81A /* CCEffectBlur.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCEffectBlur.m; sourceTree = ""; }; D3903B0C1995288D003AA81A /* CCNoARC.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCNoARC.m; sourceTree = ""; }; D3903B0E199528A0003AA81A /* CCRenderDispatch.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCRenderDispatch.h; sourceTree = ""; }; D3903B0F199528A0003AA81A /* CCRenderDispatch.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCRenderDispatch.m; sourceTree = ""; }; @@ -1491,12 +722,8 @@ D3903B13199528B6003AA81A /* CCMetalView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCMetalView.m; sourceTree = ""; }; D3903B1919952ABD003AA81A /* Metal.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Metal.framework; path = System/Library/Frameworks/Metal.framework; sourceTree = SDKROOT; }; D39A31BB17F227F500E94B3B /* XCTest.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = XCTest.framework; path = Library/Frameworks/XCTest.framework; sourceTree = DEVELOPER_DIR; }; - D39FA9C718C1BC6B00441627 /* CCShader_Private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCShader_Private.h; sourceTree = ""; }; - D3A2E7D0181E12750033614C /* CCPhysicsShape.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCPhysicsShape.h; sourceTree = ""; }; - D3A2E7D1181E12750033614C /* CCPhysicsShape.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCPhysicsShape.m; sourceTree = ""; }; D3C12815199D40AC005D2119 /* CCShaders.metal */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.metal; path = CCShaders.metal; sourceTree = ""; }; D3E3752E19CC842A0076CDBB /* CCRendererSharedTypes.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCRendererSharedTypes.h; sourceTree = ""; }; - DCF7B34D1A1D426000E0EEAF /* API-Index.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = "API-Index.md"; sourceTree = ""; }; E01E6D8A121F130E001A484F /* CCLabelBMFont.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = CCLabelBMFont.h; sourceTree = ""; }; E01E6D8B121F130E001A484F /* CCLabelBMFont.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; lineEnding = 0; path = CCLabelBMFont.m; sourceTree = ""; }; E02BB6D4126CA93A006E46A2 /* CCAnimationCache.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCAnimationCache.h; sourceTree = ""; }; @@ -1522,22 +749,32 @@ E0F9246F1224140400EF2362 /* CCTexturePVR.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCTexturePVR.h; sourceTree = ""; }; E0F924701224140400EF2362 /* CCTexturePVR.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCTexturePVR.m; sourceTree = ""; }; E0F92AC31224559800EF2362 /* CCNS.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCNS.h; sourceTree = ""; }; - E525F94C08B1D716E9173061 /* CCPackageManager_private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCPackageManager_private.h; sourceTree = ""; }; - E525F9EA4B5DD37D0418869E /* CCPackageHelper.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCPackageHelper.m; sourceTree = ""; }; - E525FE4C98BCF1228ECC9623 /* CCPackage_private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCPackage_private.h; sourceTree = ""; }; - E525FF8C7C018BF691F36044 /* CCPackageHelper.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCPackageHelper.h; sourceTree = ""; }; - FC39961319C3B92F00C93E5E /* ObjectAL.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = ObjectAL.xcodeproj; path = external/ObjectAL/ObjectAL/ObjectAL.xcodeproj; sourceTree = ""; }; FC55599F1991A26300E29CCE /* libogg.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libogg.a; path = "external/ogg/android/ogg/build/Debug-android/libogg.a"; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ + 08F4AB581C6E98A1004DAAF7 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 08F4AB591C6E98A1004DAAF7 /* Metal.framework in Frameworks */, + 08F4AB5A1C6E98A1004DAAF7 /* GLKit.framework in Frameworks */, + 08F4AB5B1C6E98A1004DAAF7 /* AVFoundation.framework in Frameworks */, + 08F4AB5C1C6E98A1004DAAF7 /* OpenGLES.framework in Frameworks */, + 08F4AB5D1C6E98A1004DAAF7 /* QuartzCore.framework in Frameworks */, + 08F4AB5E1C6E98A1004DAAF7 /* UIKit.framework in Frameworks */, + 08F4AB5F1C6E98A1004DAAF7 /* AudioToolbox.framework in Frameworks */, + 08F4AB601C6E98A1004DAAF7 /* OpenAL.framework in Frameworks */, + 08F4AB611C6E98A1004DAAF7 /* CoreText.framework in Frameworks */, + 08F4AB621C6E98A1004DAAF7 /* Foundation.framework in Frameworks */, + 08F4AB631C6E98A1004DAAF7 /* CoreGraphics.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; 5018F24B0DFDEAC400C013A5 /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - B15348511BE1E7B70022C4BB /* libObjectiveChipmunk-iOS.a in Frameworks */, - 83409E4919D5BADC004B7EB9 /* libSSZipArchive.a in Frameworks */, - FC64014019C79716003E595A /* libObjectAL.a in Frameworks */, D3903B1A19952ABD003AA81A /* Metal.framework in Frameworks */, D24FAEEC198014B90043E27D /* GLKit.framework in Frameworks */, D28A2E211954F85700ADC03D /* AVFoundation.framework in Frameworks */, @@ -1556,8 +793,6 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - B77582CE1A76CDB200C8589F /* libz.dylib in Frameworks */, - 7A59498319E38C9800F65F90 /* libSSZipArchiveMac.a in Frameworks */, 7A4037C819E3712A007B6E8F /* OpenGL.framework in Frameworks */, 7A4037C619E37126007B6E8F /* QuartzCore.framework in Frameworks */, 7A4037C419E3711D007B6E8F /* ApplicationServices.framework in Frameworks */, @@ -1578,40 +813,16 @@ ); runOnlyForDeploymentPostprocessing = 0; }; - D2FEB740194F6C9E00FC0574 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 462D9B7F1A427E130040C5F2 /* JavaFoundation.framework in Frameworks */, - 14EF47AA1A37F11C00A45BE4 /* JavaKit.framework in Frameworks */, - 14C4C33E1A37E39E00DD3957 /* AndroidKit.framework in Frameworks */, - 1435EB831A37BA7000BD04D4 /* GLActivityKit.framework in Frameworks */, - 7A97912B19E646F9001FFC4D /* libSSZipArchiveAndroid.a in Frameworks */, - D2FEB745194F6C9E00FC0574 /* CoreText.framework in Frameworks */, - D2FEB747194F6C9E00FC0574 /* Foundation.framework in Frameworks */, - D2FEB749194F6C9E00FC0574 /* CoreGraphics.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ - 0E0094951B3ACC24006EA7FC /* Installer */ = { - isa = PBXGroup; - children = ( - 0E0094961B3ACC3E006EA7FC /* install.sh */, - 0E0094971B3ACC4B006EA7FC /* templates */, - ); - name = Installer; - sourceTree = ""; - }; 19C28FACFE9D520D11CA2CBB /* Products */ = { isa = PBXGroup; children = ( 5018F24D0DFDEAC400C013A5 /* libcocos2d.a */, - D2FEB74F194F6C9E00FC0574 /* libcocos2dAndroid.a */, 7A4037A819E37038007B6E8F /* libcocos2d-mac.a */, B7E7DE341A76DB7D004234B7 /* cocos2dMacFramework.framework */, + 08F4AB671C6E98A1004DAAF7 /* libcocos2d-tvos.a */, ); name = Products; sourceTree = ""; @@ -1619,17 +830,13 @@ 29B97314FDCFA39411CA2CEA /* CustomTemplate */ = { isa = PBXGroup; children = ( - 0E0094951B3ACC24006EA7FC /* Installer */, E0BC7D711342CC58001B4DCC /* LICENSE_cocos2d.txt */, E0BC7D6E1342CC58001B4DCC /* LICENSE_artwork.txt */, E0BC7D701342CC58001B4DCC /* LICENSE_Chipmunk.txt */, E0BC7D721342CC58001B4DCC /* LICENSE_CocosDenshion.txt */, A0707F6215F946E9001C1263 /* LICENSE_CCBReader.txt */, A07EC9B2141A8D32008C1F12 /* README.md */, - DCF7B34D1A1D426000E0EEAF /* API-Index.md */, 501A7CAC0EBC97BA005BC158 /* AUTHORS */, - 508A4A2310B47A46004B9CC3 /* RELEASE_NOTES */, - 50B2C9BF0E109A5900AE9530 /* CHANGELOG */, 50AC0A500EC34DD400EB5EDC /* DONORS */, 5018F2510DFDEAFF00C013A5 /* cocos2d */, B78AE45917E7AF010028BE0B /* cocos2d-ui */, @@ -1653,10 +860,6 @@ B7E7DE741A76EBF0004234B7 /* GLKit.framework */, B7E7DE721A76EBEA004234B7 /* OpenGL.framework */, B77582CD1A76CDB200C8589F /* libz.dylib */, - 462D9B7E1A427E130040C5F2 /* JavaFoundation.framework */, - 143F32D71A3A2E8A0019FD3C /* CoreJava.framework */, - 14EF47A91A37F11C00A45BE4 /* JavaKit.framework */, - 14C4C33D1A37E39E00DD3957 /* AndroidKit.framework */, 1435EB821A37BA7000BD04D4 /* GLActivityKit.framework */, 7A4037C719E3712A007B6E8F /* OpenGL.framework */, 7A4037C519E37126007B6E8F /* QuartzCore.framework */, @@ -1684,9 +887,6 @@ 501756090F335CE900624901 /* external */ = { isa = PBXGroup; children = ( - B15348391BE1E7A10022C4BB /* Chipmunk7.xcodeproj */, - 83409E2A19D5B791004B7EB9 /* SSZipArchive.xcodeproj */, - FC39961319C3B92F00C93E5E /* ObjectAL.xcodeproj */, ); name = external; sourceTree = ""; @@ -1694,19 +894,14 @@ 5018F2510DFDEAFF00C013A5 /* cocos2d */ = { isa = PBXGroup; children = ( - D272031618FC897D00B100FF /* Effects */, 50A24F010F3788C6007CAEB0 /* Base Nodes */, B7EE69DB1819E73A00B983FE /* Layouts */, A0DA0BC615BCDCAE00E80A92 /* Draw Nodes */, 506414C50F9C67C0007A7B24 /* Label Nodes */, 506414C40F9C6792007A7B24 /* Sprite & Animation Nodes */, A6A0734717C78E55004343C8 /* Touch & Mouse Handling */, - 50A24E890F378119007CAEB0 /* Particle Nodes */, - 50CFAC3B1023661B00175934 /* TileMap and Parallax Nodes */, - 506414C30F9C6769007A7B24 /* Layers, Scenes, Transitions Nodes */, - A0D7D9D415E2E737000CA0C4 /* Physics */, + 506414C30F9C6769007A7B24 /* Scenes, Transitions Nodes */, 50EA8DA011354A6000746D2A /* Misc Nodes */, - 83E1A85619C8AC2A000A3BCA /* Packages */, 50A24E770F3780A2007CAEB0 /* Actions */, 50E1355310ADEA9400C9E7FA /* Textures */, 501CCFA30E99657C00B86F68 /* Support */, @@ -1726,7 +921,6 @@ 50E2A25110A46CC600D894CE /* CCProtocols.h */, 5066020F0E38A70D000B500E /* CCScheduler.h */, 506602100E38A70D000B500E /* CCScheduler.m */, - B706B19918209FA000B27A2C /* CCDirector_Private.h */, D3903B0C1995288D003AA81A /* CCNoARC.m */, ); path = cocos2d; @@ -1776,7 +970,7 @@ name = ImageSupport; sourceTree = ""; }; - 506414C30F9C6769007A7B24 /* Layers, Scenes, Transitions Nodes */ = { + 506414C30F9C6769007A7B24 /* Scenes, Transitions Nodes */ = { isa = PBXGroup; children = ( 5018F2600DFDEAFF00C013A5 /* CCScene.h */, @@ -1784,7 +978,7 @@ A6DC4E0718055DCC00C280A6 /* CCTransition.h */, A6DC4E0818055DCC00C280A6 /* CCTransition.m */, ); - name = "Layers, Scenes, Transitions Nodes"; + name = "Scenes, Transitions Nodes"; sourceTree = ""; }; 506414C40F9C6792007A7B24 /* Sprite & Animation Nodes */ = { @@ -1804,7 +998,6 @@ 50E2A14F10A45E7F00D894CE /* CCSpriteFrame.m */, 502C8BDE10A661E200D137BA /* CCSpriteFrameCache.h */, 502C8BDF10A661E200D137BA /* CCSpriteFrameCache.m */, - B798D1441820305400E7BFCD /* CCSprite_Private.h */, ); name = "Sprite & Animation Nodes"; sourceTree = ""; @@ -1816,7 +1009,6 @@ E01E6D8B121F130E001A484F /* CCLabelBMFont.m */, 5018F25C0DFDEAFF00C013A5 /* CCLabelTTF.h */, 5018F25D0DFDEAFF00C013A5 /* CCLabelTTF.m */, - B798D142181F469100E7BFCD /* CCLabelBMFont_Private.h */, ); name = "Label Nodes"; sourceTree = ""; @@ -1824,7 +1016,6 @@ 50A24E770F3780A2007CAEB0 /* Actions */ = { isa = PBXGroup; children = ( - 92FF6C7318F33A2A005B7139 /* CCActionManager_Private.h */, 50CB3B0C100AC43A00B7A750 /* CCActionManager.h */, 50CB3B0D100AC43A00B7A750 /* CCActionManager.m */, 5018F2520DFDEAFF00C013A5 /* CCAction.h */, @@ -1837,31 +1028,12 @@ 50F7B2770F28DE7C00057537 /* CCActionEase.m */, A0A7A53A1514F27D00C8BD16 /* CCActionCatmullRom.h */, A0A7A53B1514F27D00C8BD16 /* CCActionCatmullRom.m */, - 50150435113300F900A9CA65 /* CCActionProgressTimer.h */, - 50150436113300F900A9CA65 /* CCActionProgressTimer.m */, 50FBB2D8117613F500150761 /* CCActionTween.h */, 50FBB2D9117613F500150761 /* CCActionTween.m */, ); name = Actions; sourceTree = ""; }; - 50A24E890F378119007CAEB0 /* Particle Nodes */ = { - isa = PBXGroup; - children = ( - 5038B6B00E196CD8009A621E /* CCParticleSystemBase.h */, - 5038B6B10E196CD8009A621E /* CCParticleSystemBase.m */, - 50D413240F9A3FE00040C3C8 /* CCParticleSystem.h */, - 50D413250F9A3FE00040C3C8 /* CCParticleSystem.m */, - A0C20AC6144FDAF700D84B47 /* CCParticleBatchNode.h */, - A0C20AC7144FDAF700D84B47 /* CCParticleBatchNode.m */, - 504055AE0E3230BD00213FEF /* CCParticleExamples.h */, - 504055AF0E3230BD00213FEF /* CCParticleExamples.m */, - B798D14C18204BEC00E7BFCD /* CCParticleSystemBase_Private.h */, - B798D15218205EFB00E7BFCD /* CCParticleSystem_Private.h */, - ); - name = "Particle Nodes"; - sourceTree = ""; - }; 50A24F010F3788C6007CAEB0 /* Base Nodes */ = { isa = PBXGroup; children = ( @@ -1869,29 +1041,10 @@ 5018F2550DFDEAFF00C013A5 /* CCNode.m */, A039EBFD155C686B0061EE37 /* CCNode+Debug.h */, A039EBFE155C686B0061EE37 /* CCNode+Debug.m */, - B798D13C181F2E4500E7BFCD /* CCNode_Private.h */, ); name = "Base Nodes"; sourceTree = ""; }; - 50CFAC3B1023661B00175934 /* TileMap and Parallax Nodes */ = { - isa = PBXGroup; - children = ( - 502C6C6A0FB87970002BF3C2 /* CCParallaxNode.h */, - 502C6C6B0FB87970002BF3C2 /* CCParallaxNode.m */, - 509D0816101E4FCE007E1749 /* CCTiledMap.h */, - 509D0817101E4FCE007E1749 /* CCTiledMap.m */, - 50D2AC9110E90DFA0068ECEB /* CCTiledMapLayer.h */, - 50D2AC9210E90DFA0068ECEB /* CCTiledMapLayer.m */, - 50D2AC9310E90DFA0068ECEB /* CCTiledMapObjectGroup.h */, - 50D2AC9410E90DFA0068ECEB /* CCTiledMapObjectGroup.m */, - 50CFAC371023660000175934 /* CCTMXXMLParser.h */, - 50CFAC381023660000175934 /* CCTMXXMLParser.m */, - B791E849182064BF00DAE1D7 /* CCTiledMapLayer_Private.h */, - ); - name = "TileMap and Parallax Nodes"; - sourceTree = ""; - }; 50D898FA1192CB8300458C29 /* Data Structures */ = { isa = PBXGroup; children = ( @@ -1908,7 +1061,6 @@ E0F924701224140400EF2362 /* CCTexturePVR.m */, 50E1357110ADEB1B00C9E7FA /* CCTexture.h */, 50E1357210ADEB1B00C9E7FA /* CCTexture.m */, - B706B19718209A8300B27A2C /* CCTexture_Private.h */, 5018F2670DFDEAFF00C013A5 /* CCTextureCache.h */, 5018F2680DFDEAFF00C013A5 /* CCTextureCache.m */, ); @@ -1918,24 +1070,8 @@ 50EA8DA011354A6000746D2A /* Misc Nodes */ = { isa = PBXGroup; children = ( - D272031E18FC89A000B100FF /* CCEffectNode.h */, - D272031F18FC89A000B100FF /* CCEffectNode.m */, 5018F25E0DFDEAFF00C013A5 /* CCNodeColor.h */, 5018F25F0DFDEAFF00C013A5 /* CCNodeColor.m */, - 2B192833163361B10049A044 /* CCClippingNode.h */, - 2B192834163361B10049A044 /* CCClippingNode.m */, - 50316AD21029A126003ACFE7 /* CCMotionStreak.h */, - 50316AD31029A126003ACFE7 /* CCMotionStreak.m */, - B791E85B182074C500DAE1D7 /* CCProgressNode.h */, - B791E85C182074C500DAE1D7 /* CCProgressNode.m */, - 50316AA410291280003ACFE7 /* CCRenderTexture.h */, - 50316AA510291280003ACFE7 /* CCRenderTexture.m */, - B791E85A182074C500DAE1D7 /* CCProgressNode_Private.h */, - D2B840C31909F447008063EA /* CCRenderTexture_Private.h */, - 9D69E6D419DF604800C2749C /* CCLightNode.h */, - 9D69E6D519DF604800C2749C /* CCLightNode.m */, - 9D1B4A941A02D51600B2DD9B /* CCLightNode_Private.h */, - 9D1B4A971A02E90300B2DD9B /* CCLightGroups.h */, ); name = "Misc Nodes"; sourceTree = ""; @@ -1943,7 +1079,6 @@ 571CD01A19649E03003D460C /* Platform */ = { isa = PBXGroup; children = ( - 571CD01B19649E03003D460C /* Android */, 571CD01E19649E03003D460C /* CCPlatformTextField.h */, 571CD01F19649E03003D460C /* CCPlatformTextField.m */, 571CD02019649E03003D460C /* iOS */, @@ -1953,17 +1088,6 @@ path = "cocos2d-ui/Platform"; sourceTree = ""; }; - 571CD01B19649E03003D460C /* Android */ = { - isa = PBXGroup; - children = ( - 571CD01C19649E03003D460C /* CCPlatformTextFieldAndroid.h */, - 571CD01D19649E03003D460C /* CCPlatformTextFieldAndroid.m */, - 57BFF2B71991937C00A3FE9C /* CCEditText.h */, - 57BFF2B81991937C00A3FE9C /* CCEditText.m */, - ); - path = Android; - sourceTree = ""; - }; 571CD02019649E03003D460C /* iOS */ = { isa = PBXGroup; children = ( @@ -1982,89 +1106,6 @@ path = Mac; sourceTree = ""; }; - 83409E2B19D5B791004B7EB9 /* Products */ = { - isa = PBXGroup; - children = ( - 83409E3219D5B791004B7EB9 /* SSZipArchiveExampleApp.app */, - 83409E3619D5B791004B7EB9 /* libSSZipArchive.a */, - 7A40378319E36EFF007B6E8F /* libSSZipArchiveAndroid.a */, - 7A59498219E38C8300F65F90 /* libSSZipArchiveMac.a */, - ); - name = Products; - sourceTree = ""; - }; - 83E1A85619C8AC2A000A3BCA /* Packages */ = { - isa = PBXGroup; - children = ( - 83E1A85A19C8ACA0000A3BCA /* CCPackage.h */, - 83E1A85B19C8ACA0000A3BCA /* CCPackage.m */, - 83E1A85C19C8ACA0000A3BCA /* CCPackageConstants.h */, - 83E1A85D19C8ACA0000A3BCA /* CCPackageConstants.m */, - 83E1A85E19C8ACA0000A3BCA /* CCPackageManager.h */, - 83E1A85F19C8ACA0000A3BCA /* CCPackageManager.m */, - 83E1A86019C8ACA0000A3BCA /* CCPackageManagerDelegate.h */, - 83E1A86119C8ACA0000A3BCA /* CCPackageTypes.h */, - 83E1A85719C8AC56000A3BCA /* Download */, - 83E1A85919C8AC6A000A3BCA /* Unzip */, - 83E1A85819C8AC65000A3BCA /* Install */, - E525FF8C7C018BF691F36044 /* CCPackageHelper.h */, - E525F9EA4B5DD37D0418869E /* CCPackageHelper.m */, - E525FE4C98BCF1228ECC9623 /* CCPackage_private.h */, - E525F94C08B1D716E9173061 /* CCPackageManager_private.h */, - ); - name = Packages; - sourceTree = ""; - }; - 83E1A85719C8AC56000A3BCA /* Download */ = { - isa = PBXGroup; - children = ( - 83E1A87019C8ACC1000A3BCA /* CCPackageDownload.h */, - 83E1A87119C8ACC1000A3BCA /* CCPackageDownload.m */, - 83E1A87219C8ACC1000A3BCA /* CCPackageDownloadDelegate.h */, - 83E1A87319C8ACC1000A3BCA /* CCPackageDownloadManager.h */, - 83E1A87419C8ACC1000A3BCA /* CCPackageDownloadManager.m */, - 83E1A87519C8ACC1000A3BCA /* CCPackageDownloadManagerDelegate.h */, - ); - name = Download; - sourceTree = ""; - }; - 83E1A85819C8AC65000A3BCA /* Install */ = { - isa = PBXGroup; - children = ( - 83E1A87E19C8ACDC000A3BCA /* CCPackageCocos2dEnabler.h */, - 83E1A87F19C8ACDC000A3BCA /* CCPackageCocos2dEnabler.m */, - 83E1A88219C8ACDC000A3BCA /* CCPackageInstaller.h */, - 83E1A88319C8ACDC000A3BCA /* CCPackageInstaller.m */, - ); - name = Install; - sourceTree = ""; - }; - 83E1A85919C8AC6A000A3BCA /* Unzip */ = { - isa = PBXGroup; - children = ( - 83E1A86A19C8ACAF000A3BCA /* CCPackageUnzipper.h */, - 83E1A86B19C8ACAF000A3BCA /* CCPackageUnzipper.m */, - 83E1A86C19C8ACAF000A3BCA /* CCPackageUnzipperDelegate.h */, - ); - name = Unzip; - sourceTree = ""; - }; - A0D7D9D415E2E737000CA0C4 /* Physics */ = { - isa = PBXGroup; - children = ( - D33803E418032F250072D8FE /* CCPhysicsBody.h */, - D33803E218032ECE0072D8FE /* CCPhysicsBody.m */, - D3A2E7D0181E12750033614C /* CCPhysicsShape.h */, - D3A2E7D1181E12750033614C /* CCPhysicsShape.m */, - D33803E81803319F0072D8FE /* CCPhysicsJoint.h */, - D33803E9180331A90072D8FE /* CCPhysicsJoint.m */, - D33803E718032F4A0072D8FE /* CCPhysicsNode.h */, - D33803E518032F390072D8FE /* CCPhysicsNode.m */, - D33803DC18032E4F0072D8FE /* CCPhysics+ObjectiveChipmunk.h */, - ); - name = Physics; - sourceTree = ""; - }; A0DA0BC615BCDCAE00E80A92 /* Draw Nodes */ = { isa = PBXGroup; children = ( @@ -2090,34 +1131,21 @@ A6A0734917C78EF3004343C8 /* CCResponder.m */, A6A0734317C788EB004343C8 /* CCResponderManager.h */, A6A0734417C788EB004343C8 /* CCResponderManager.m */, - D25B4F49194A499700DA9D60 /* CCTouch.h */, - D25B4F4A194A499700DA9D60 /* CCTouch.m */, - D26A0428194B815500503BEC /* CCTouchEvent.h */, - D26A0429194B815500503BEC /* CCTouchEvent.m */, ); name = "Touch & Mouse Handling"; sourceTree = ""; }; - B153483A1BE1E7A10022C4BB /* Products */ = { - isa = PBXGroup; - children = ( - B15348441BE1E7A20022C4BB /* ChipmunkDemo.app */, - B15348461BE1E7A20022C4BB /* libChipmunk-Mac.a */, - B15348481BE1E7A20022C4BB /* libChipmunk-iOS.a */, - B153484A1BE1E7A20022C4BB /* Benchmark iPhone.app */, - B153484C1BE1E7A20022C4BB /* libObjectiveChipmunk-Mac.a */, - B153484E1BE1E7A20022C4BB /* libObjectiveChipmunk-iOS.a */, - B15348501BE1E7A20022C4BB /* ObjectiveChipmunkTests.xctest */, - ); - name = Products; - sourceTree = ""; - }; B78AE45917E7AF010028BE0B /* cocos2d-ui */ = { isa = PBXGroup; children = ( 571CD01A19649E03003D460C /* Platform */, - B7D272FA1822F4920054849B /* CCBReader */, B7C6237917EA7D8600928F91 /* cocos2d-ui.h */, + 08A4EB6B1C7A553E00A08923 /* CCActionProgressTimer.h */, + 08A4EB6C1C7A553E00A08923 /* CCActionProgressTimer.m */, + 08A4EB6D1C7A553E00A08923 /* CCProgressNode.h */, + 08A4EB6E1C7A553E00A08923 /* CCProgressNode.m */, + 08A4EB7B1C7A563900A08923 /* CCPotentiometer.h */, + 08A4EB7C1C7A563900A08923 /* CCPotentiometer.m */, B78AE45C17E7AF1C0028BE0B /* CCControl.h */, B750162218124B6000708A2F /* CCControlSubclass.h */, B78AE45D17E7AF1C0028BE0B /* CCControl.m */, @@ -2137,32 +1165,6 @@ name = "cocos2d-ui"; sourceTree = ""; }; - B7D272FA1822F4920054849B /* CCBReader */ = { - isa = PBXGroup; - children = ( - D24160F61958F6EE003673BD /* CCAnimationManager_Private.h */, - D24160F71958F6EE003673BD /* CCAnimationManager.h */, - D24160F81958F6EE003673BD /* CCAnimationManager.m */, - D24160F91958F6EE003673BD /* CCAnimationManager+FrameAnimation.h */, - D24160FA1958F6EE003673BD /* CCAnimationManager+FrameAnimation.m */, - D24160FB1958F6EE003673BD /* CCBAnimationManager.h */, - D24160FC1958F6EE003673BD /* CCBAnimationManager.m */, - B7D273021822F4AA0054849B /* CCBKeyframe.h */, - B7D273031822F4AA0054849B /* CCBKeyframe.m */, - B7D273041822F4AA0054849B /* CCBLocalizationManager.h */, - B7D273051822F4AA0054849B /* CCBLocalizationManager.m */, - B7D273061822F4AA0054849B /* CCBReader.h */, - B7D273071822F4AA0054849B /* CCBReader.m */, - B7D273081822F4AA0054849B /* CCBSequence.h */, - B7D273091822F4AA0054849B /* CCBsequence.m */, - B7D2730A1822F4AA0054849B /* CCBSequenceProperty.h */, - B7D2730B1822F4AA0054849B /* CCBSequenceProperty.m */, - B7D2730C1822F4AA0054849B /* CCBuilderReader.h */, - B77060CE18341AD50043CC67 /* CCBReader_Private.h */, - ); - name = CCBReader; - sourceTree = ""; - }; B7E7DE351A76DB7D004234B7 /* cocos2dMacFramework */ = { isa = PBXGroup; children = ( @@ -2209,110 +1211,12 @@ name = Layouts; sourceTree = ""; }; - D272031618FC897D00B100FF /* Effects */ = { - isa = PBXGroup; - children = ( - D272031718FC89A000B100FF /* CCEffect_Private.h */, - D272031818FC89A000B100FF /* CCEffect.h */, - D272031918FC89A000B100FF /* CCEffect.m */, - D268FE05198078FF00ECBCD0 /* CCEffectBloom.h */, - D268FE06198078FF00ECBCD0 /* CCEffectBloom.m */, - D3903B081995285B003AA81A /* CCEffectBlur.h */, - D3903B091995285B003AA81A /* CCEffectBlur.m */, - 9D85671B191B018200573093 /* CCEffectBrightness.h */, - 9D85671C191B018200573093 /* CCEffectBrightness.m */, - 9DBCA31219B68BE400EFE96D /* CCEffectColorChannelOffset.h */, - 9DBCA31319B68BE400EFE96D /* CCEffectColorChannelOffset.m */, - 9D85671F191B019900573093 /* CCEffectContrast.h */, - 9D856720191B019900573093 /* CCEffectContrast.m */, - D27451A819AD430A006DA0A1 /* CCEffectDropShadow.h */, - D27451A919AD430A006DA0A1 /* CCEffectDropShadow.m */, - D268FE07198078FF00ECBCD0 /* CCEffectGlass.h */, - D268FE08198078FF00ECBCD0 /* CCEffectGlass.m */, - D268FE09198078FF00ECBCD0 /* CCEffectHue.h */, - D268FE0A198078FF00ECBCD0 /* CCEffectHue.m */, - 839CE58419FFB139003369F0 /* CCEffectInvert.h */, - 839CE58519FFB139003369F0 /* CCEffectInvert.m */, - 9DDD047C19DE154400687820 /* CCEffectLighting.h */, - 9DDD047D19DE154400687820 /* CCEffectLighting.m */, - 9DF3761F191C594A00C6D27A /* CCEffectPixellate.h */, - 9DF37620191C594A00C6D27A /* CCEffectPixellate.m */, - D268FE0B198078FF00ECBCD0 /* CCEffectReflection.h */, - D268FE0C198078FF00ECBCD0 /* CCEffectReflection.m */, - D268FE151980791300ECBCD0 /* CCEffectRefraction.h */, - D268FE161980791300ECBCD0 /* CCEffectRefraction.m */, - D24161041958F72B003673BD /* CCEffectRenderer.h */, - D24161051958F72B003673BD /* CCEffectRenderer.m */, - D24161061958F72B003673BD /* CCEffectSaturation.h */, - D24161071958F72B003673BD /* CCEffectSaturation.m */, - D22907AC1A2F5E440038FF61 /* CCEffectOutline.h */, - D22907AD1A2F5E440038FF61 /* CCEffectOutline.m */, - 9D85671A191AE2CC00573093 /* CCEffectStack_Private.h */, - D272032018FC89A000B100FF /* CCEffectStack.h */, - D272032118FC89A000B100FF /* CCEffectStack.m */, - D24161081958F72B003673BD /* CCEffectStackProtocol.h */, - 9D2773B31AB77F3800D19A11 /* CCEffectStereo.h */, - 9D2773B41AB77F3800D19A11 /* CCEffectStereo.m */, - D268FE171980791300ECBCD0 /* CCEffectUtils.h */, - D268FE181980791300ECBCD0 /* CCEffectUtils.m */, - D27451BF19AFC44D006DA0A1 /* DistanceField */, - ); - name = Effects; - sourceTree = ""; - }; - D27451BF19AFC44D006DA0A1 /* DistanceField */ = { - isa = PBXGroup; - children = ( - D27451B519AE5517006DA0A1 /* CCEffectDistanceField.h */, - D27451B619AE5517006DA0A1 /* CCEffectDistanceField.m */, - D27451C419B111A9006DA0A1 /* CCEffectDFOutline.h */, - D27451C519B111A9006DA0A1 /* CCEffectDFOutline.m */, - D299CE7819C2910B00519CBB /* CCEffectDFInnerGlow.h */, - D299CE7919C2910B00519CBB /* CCEffectDFInnerGlow.m */, - ); - name = DistanceField; - sourceTree = ""; - }; - D285ECED192E7E06009F4E88 /* Android */ = { - isa = PBXGroup; - children = ( - D2A3CFA51947B51D003B7D0B /* Math */, - 5BF32696195F947800D9A51A /* CCActivity.h */, - 5BF32697195F947800D9A51A /* CCActivity.m */, - D285ECEE192EA92A009F4E88 /* CCGLView.h */, - D285ECEF192EA92A009F4E88 /* CCGLView.m */, - D285ECF6192EF5B2009F4E88 /* CCDirectorAndroid.h */, - D285ECF7192EF5B2009F4E88 /* CCDirectorAndroid.m */, - D23C5CBA194BC500007CA669 /* CCTouchAndroid.h */, - D23C5CBB194BC500007CA669 /* CCTouchAndroid.m */, - 5BC3CB5719626FA000C4F0D0 /* CCGestureListener.h */, - 5BC3CB5819626FA000C4F0D0 /* CCGestureListener.m */, - ); - name = Android; - sourceTree = ""; - }; - D2A3CFA51947B51D003B7D0B /* Math */ = { - isa = PBXGroup; - children = ( - D2DDB08819805E8400233D80 /* CCMathUtilsAndroid.h */, - D2DDB08919805E8400233D80 /* CCMatrix3.h */, - D2DDB08A19805E8400233D80 /* CCMatrix4.h */, - D2DDB08B19805E8400233D80 /* CCQuaternion.h */, - D2DDB08C19805E8400233D80 /* CCMathTypesAndroid.h */, - D2DDB08D19805E8400233D80 /* CCMatrix4.m */, - D2DDB08E19805E8400233D80 /* CCVector3.h */, - D2DDB08F19805E8400233D80 /* CCVector4.h */, - D2DDB09019805E8400233D80 /* CCVector2.h */, - D2DDB09119805E8400233D80 /* CCQuaternion.m */, - D2DDB09219805E8400233D80 /* CCMatrix3.m */, - ); - name = Math; - path = ..; - sourceTree = ""; - }; D34CAD5E19C3A070009BED7A /* Rendering */ = { isa = PBXGroup; children = ( + 50316AA410291280003ACFE7 /* CCRenderTexture.h */, + 50316AA510291280003ACFE7 /* CCRenderTexture.m */, + D2B840C31909F447008063EA /* CCRenderTexture_Private.h */, 0EFC792C1B3B0E14008926DD /* CCRendererGLSupport.m */, D3903B0E199528A0003AA81A /* CCRenderDispatch.h */, D3903B0F199528A0003AA81A /* CCRenderDispatch.m */, @@ -2321,15 +1225,12 @@ D34CAD6A19C3AA10009BED7A /* CCRendererBasicTypes_Private.h */, D34CAD6819C3A7B3009BED7A /* CCRendererBasicTypes.m */, E0BC7D9B1342CE7B001B4DCC /* CCShader.h */, - D39FA9C718C1BC6B00441627 /* CCShader_Private.h */, E0BC7D9C1342CE7B001B4DCC /* CCShader.m */, D34CAD5F19C3A0B5009BED7A /* NSValue+CCRenderer.h */, D34CAD6219C3A0FD009BED7A /* NSValue+CCRenderer.m */, D38058181889AD6000822437 /* CCRenderer.h */, D309054F18AC23110081BF11 /* CCRenderer_Private.h */, D38058191889AD6000822437 /* CCRenderer.m */, - 9D9205D01A0173D600FF2D6D /* CCLightCollection.h */, - 9D9205D11A0173D600FF2D6D /* CCLightCollection.m */, ); name = Rendering; sourceTree = ""; @@ -2361,7 +1262,6 @@ E0EAD0E8121F4B4600B0C81C /* Platforms */ = { isa = PBXGroup; children = ( - D285ECED192E7E06009F4E88 /* Android */, E0EAD0E9121F4B4600B0C81C /* iOS */, E0E9749E1237E4EA00E3E64B /* Mac */, E0EAD19C121F4D7300B0C81C /* CCGL.h */, @@ -2384,36 +1284,112 @@ E0EAD0F4121F4B4600B0C81C /* CCGLView.m */, B7E775CE18527EF0004221AA /* CCAppDelegate.h */, B7E775CF18527EF0004221AA /* CCAppDelegate.m */, - D23C5CB2194BC108007CA669 /* CCTouchIOS.h */, - D23C5CB3194BC108007CA669 /* CCTouchIOS.m */, D31C795119994197007921E1 /* CCMetalSupport_Private.h */, D31C794F19994126007921E1 /* CCMetalSupport.m */, ); path = iOS; sourceTree = ""; }; - FC39961419C3B92F00C93E5E /* Products */ = { - isa = PBXGroup; - children = ( - FC39961B19C3B92F00C93E5E /* libObjectAL.a */, - B15348351BE1E78C0022C4BB /* libObjectAL (Android).a */, - B15348371BE1E78C0022C4BB /* libObjectAL (Mac).a */, - ); - name = Products; - sourceTree = ""; - }; /* End PBXGroup section */ /* Begin PBXHeadersBuildPhase section */ + 08F4AAFC1C6E98A1004DAAF7 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 08F4AAFD1C6E98A1004DAAF7 /* CCAction.h in Headers */, + 08A4EB711C7A553E00A08923 /* CCActionProgressTimer.h in Headers */, + 08F4AAFE1C6E98A1004DAAF7 /* CCNode.h in Headers */, + 08F4AAFF1C6E98A1004DAAF7 /* CCDirector.h in Headers */, + 08F4AB001C6E98A1004DAAF7 /* CCActionInstant.h in Headers */, + 08F4AB011C6E98A1004DAAF7 /* CCActionInterval.h in Headers */, + 08F4AB021C6E98A1004DAAF7 /* CCLabelTTF.h in Headers */, + 08F4AB031C6E98A1004DAAF7 /* CCNodeColor.h in Headers */, + 08F4AB041C6E98A1004DAAF7 /* CCScene.h in Headers */, + 08F4AB051C6E98A1004DAAF7 /* CCTextureCache.h in Headers */, + 08F4AB061C6E98A1004DAAF7 /* CCRenderer.h in Headers */, + 08F4AB071C6E98A1004DAAF7 /* ccTypes.h in Headers */, + 08F4AB081C6E98A1004DAAF7 /* CCScheduler.h in Headers */, + 08F4AB091C6E98A1004DAAF7 /* cocos2d.h in Headers */, + 08F4AB0A1C6E98A1004DAAF7 /* TGAlib.h in Headers */, + 08F4AB0B1C6E98A1004DAAF7 /* CCActionEase.h in Headers */, + 08F4AB0C1C6E98A1004DAAF7 /* CCPlatformTextField.h in Headers */, + 08F4AB0E1C6E98A1004DAAF7 /* ccMacros.h in Headers */, + 08A4EB7F1C7A563900A08923 /* CCPotentiometer.h in Headers */, + 08F4AB101C6E98A1004DAAF7 /* CCSprite.h in Headers */, + 08F4AB111C6E98A1004DAAF7 /* CCFileUtils.h in Headers */, + 08F4AB121C6E98A1004DAAF7 /* CGPointExtension.h in Headers */, + 08F4AB131C6E98A1004DAAF7 /* CCPlatformTextFieldIOS.h in Headers */, + 08F4AB151C6E98A1004DAAF7 /* CCLayoutBox.h in Headers */, + 08F4AB171C6E98A1004DAAF7 /* CCRenderDispatch.h in Headers */, + 08F4AB181C6E98A1004DAAF7 /* CCTextField.h in Headers */, + 08F4AB191C6E98A1004DAAF7 /* CCRendererBasicTypes_Private.h in Headers */, + 08F4AB1A1C6E98A1004DAAF7 /* CCActionManager.h in Headers */, + 08F4AB1B1C6E98A1004DAAF7 /* base64.h in Headers */, + 08F4AB1C1C6E98A1004DAAF7 /* CCMetalSupport_Private.h in Headers */, + 08F4AB1D1C6E98A1004DAAF7 /* CCRendererBasicTypes.h in Headers */, + 08F4AB1E1C6E98A1004DAAF7 /* ZipUtils.h in Headers */, + 08F4AB1F1C6E98A1004DAAF7 /* CCRenderTexture.h in Headers */, + 08F4AB201C6E98A1004DAAF7 /* CCCache.h in Headers */, + 08F4AB211C6E98A1004DAAF7 /* CCRenderer_Private.h in Headers */, + 08F4AB221C6E98A1004DAAF7 /* ccConfig.h in Headers */, + 08F4AB231C6E98A1004DAAF7 /* CCSpriteFrame.h in Headers */, + 08F4AB241C6E98A1004DAAF7 /* CCColor.h in Headers */, + 08F4AB251C6E98A1004DAAF7 /* CCProtocols.h in Headers */, + 08F4AB261C6E98A1004DAAF7 /* CCSpriteFrameCache.h in Headers */, + 08F4AB271C6E98A1004DAAF7 /* CCTableView.h in Headers */, + 08F4AB281C6E98A1004DAAF7 /* CCTexture.h in Headers */, + 08F4AB291C6E98A1004DAAF7 /* CCProfiling.h in Headers */, + 08F4AB2B1C6E98A1004DAAF7 /* CCActionTween.h in Headers */, + 08F4AB2C1C6E98A1004DAAF7 /* uthash.h in Headers */, + 08A4EB771C7A553E00A08923 /* CCProgressNode.h in Headers */, + 08F4AB2D1C6E98A1004DAAF7 /* utlist.h in Headers */, + 08F4AB2E1C6E98A1004DAAF7 /* CCSpriteBatchNode.h in Headers */, + 08F4AB2F1C6E98A1004DAAF7 /* ccUtils.h in Headers */, + 08F4AB301C6E98A1004DAAF7 /* CCLabelBMFont.h in Headers */, + 08F4AB311C6E98A1004DAAF7 /* CCDirectorIOS.h in Headers */, + 08F4AB321C6E98A1004DAAF7 /* CCGLView.h in Headers */, + 08F4AB341C6E98A1004DAAF7 /* CCGL.h in Headers */, + 08F4AB351C6E98A1004DAAF7 /* CCConfiguration.h in Headers */, + 08F4AB361C6E98A1004DAAF7 /* CCTexturePVR.h in Headers */, + 08F4AB371C6E98A1004DAAF7 /* CCNS.h in Headers */, + 08F4AB381C6E98A1004DAAF7 /* CCAnimationCache.h in Headers */, + 08F4AB391C6E98A1004DAAF7 /* CCAnimation.h in Headers */, + 08F4AB3A1C6E98A1004DAAF7 /* CCRendererSharedTypes.h in Headers */, + 08F4AB3B1C6E98A1004DAAF7 /* CCAppDelegate.h in Headers */, + 08F4AB3C1C6E98A1004DAAF7 /* CCShader.h in Headers */, + 08F4AB3E1C6E98A1004DAAF7 /* CCDirectorMac.h in Headers */, + 08F4AB3F1C6E98A1004DAAF7 /* CCGLView.h in Headers */, + 08F4AB401C6E98A1004DAAF7 /* NSValue+CCRenderer.h in Headers */, + 08F4AB411C6E98A1004DAAF7 /* CCWindow.h in Headers */, + 08F4AB431C6E98A1004DAAF7 /* CCLayout.h in Headers */, + 08F4AB441C6E98A1004DAAF7 /* NSThread+performBlock.h in Headers */, + 08F4AB451C6E98A1004DAAF7 /* CCMetalView.h in Headers */, + 08F4AB461C6E98A1004DAAF7 /* CCTransition.h in Headers */, + 08F4AB491C6E98A1004DAAF7 /* CCActionCatmullRom.h in Headers */, + 08F4AB4A1C6E98A1004DAAF7 /* CCNode+Debug.h in Headers */, + 08F4AB4B1C6E98A1004DAAF7 /* CCDrawNode.h in Headers */, + 08F4AB4C1C6E98A1004DAAF7 /* CCSlider.h in Headers */, + 08F4AB4D1C6E98A1004DAAF7 /* ccFPSImages.h in Headers */, + 08F4AB4E1C6E98A1004DAAF7 /* CCSprite9Slice.h in Headers */, + 08F4AB4F1C6E98A1004DAAF7 /* NSAttributedString+CCAdditions.h in Headers */, + 08F4AB501C6E98A1004DAAF7 /* CCResponderManager.h in Headers */, + 08F4AB511C6E98A1004DAAF7 /* CCResponder.h in Headers */, + 08F4AB521C6E98A1004DAAF7 /* CCButton.h in Headers */, + 08F4AB541C6E98A1004DAAF7 /* CCControl.h in Headers */, + 08F4AB551C6E98A1004DAAF7 /* CCControlTextureFactory.h in Headers */, + 08F4AB561C6E98A1004DAAF7 /* CCScrollView.h in Headers */, + 08F4AB571C6E98A1004DAAF7 /* UITouch+CC.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; 5018F2490DFDEAC400C013A5 /* Headers */ = { isa = PBXHeadersBuildPhase; buildActionMask = 2147483647; files = ( - D2DDB09919805E8400233D80 /* CCQuaternion.h in Headers */, - B7D273111822F4AA0054849B /* CCBLocalizationManager.h in Headers */, 5018F2690DFDEAFF00C013A5 /* CCAction.h in Headers */, + 08A4EB6F1C7A553E00A08923 /* CCActionProgressTimer.h in Headers */, 5018F26B0DFDEAFF00C013A5 /* CCNode.h in Headers */, - 9DBCA31419B68BE400EFE96D /* CCEffectColorChannelOffset.h in Headers */, 5018F26D0DFDEAFF00C013A5 /* CCDirector.h in Headers */, 5018F26F0DFDEAFF00C013A5 /* CCActionInstant.h in Headers */, 5018F2710DFDEAFF00C013A5 /* CCActionInterval.h in Headers */, @@ -2422,169 +1398,78 @@ 5018F2770DFDEAFF00C013A5 /* CCScene.h in Headers */, 5018F27D0DFDEAFF00C013A5 /* CCTextureCache.h in Headers */, D380581A1889AD6000822437 /* CCRenderer.h in Headers */, - 5038B6B20E196CD8009A621E /* CCParticleSystemBase.h in Headers */, - D2DDB09B19805E8400233D80 /* CCMathTypesAndroid.h in Headers */, - 9D856721191B019900573093 /* CCEffectContrast.h in Headers */, 50F9E8170E1AA34E000E7616 /* ccTypes.h in Headers */, - D3A2E7D2181E12750033614C /* CCPhysicsShape.h in Headers */, - 504055B00E3230BD00213FEF /* CCParticleExamples.h in Headers */, - D24160FD1958F6EE003673BD /* CCAnimationManager_Private.h in Headers */, 506602110E38A70D000B500E /* CCScheduler.h in Headers */, - D24161001958F6EE003673BD /* CCAnimationManager+FrameAnimation.h in Headers */, - D268FE0F198078FF00ECBCD0 /* CCEffectGlass.h in Headers */, - 83E1A86419C8ACA0000A3BCA /* CCPackageConstants.h in Headers */, - D24160FE1958F6EE003673BD /* CCAnimationManager.h in Headers */, 50305AF40E40E33200F63373 /* cocos2d.h in Headers */, - D285ECF8192EF5B2009F4E88 /* CCDirectorAndroid.h in Headers */, 501CCFB50E99657C00B86F68 /* TGAlib.h in Headers */, 50F7B2780F28DE7C00057537 /* CCActionEase.h in Headers */, 571CD02819649E03003D460C /* CCPlatformTextField.h in Headers */, - B798D1451820305400E7BFCD /* CCSprite_Private.h in Headers */, - D299CE7A19C2910B00519CBB /* CCEffectDFInnerGlow.h in Headers */, - D22907AE1A2F5E440038FF61 /* CCEffectOutline.h in Headers */, 50BAF3990F33CCD8003F654C /* ccMacros.h in Headers */, - B798D13D181F2E4500E7BFCD /* CCNode_Private.h in Headers */, + 08A4EB7D1C7A563900A08923 /* CCPotentiometer.h in Headers */, 509A79970F6188420032F449 /* CCSprite.h in Headers */, - 83E1A86619C8ACA0000A3BCA /* CCPackageManager.h in Headers */, 50C508C60F7C194400799124 /* CCFileUtils.h in Headers */, - D268FE231980791C00ECBCD0 /* CCEffectStack_Private.h in Headers */, - 9D9205D21A0173D600FF2D6D /* CCLightCollection.h in Headers */, 503798C60F912C2000986724 /* CGPointExtension.h in Headers */, - 50D413260F9A3FE00040C3C8 /* CCParticleSystem.h in Headers */, - 502C6C6C0FB87970002BF3C2 /* CCParallaxNode.h in Headers */, 571CD02A19649E03003D460C /* CCPlatformTextFieldIOS.h in Headers */, - B706B19818209A8300B27A2C /* CCTexture_Private.h in Headers */, - D2DDB09719805E8400233D80 /* CCMatrix4.h in Headers */, - D24161111958F72B003673BD /* CCEffectStackProtocol.h in Headers */, B7EE69E21819E75700B983FE /* CCLayoutBox.h in Headers */, - D23C5CB4194BC108007CA669 /* CCTouchIOS.h in Headers */, - D272032518FC89A000B100FF /* CCEffect.h in Headers */, - D268FE191980791400ECBCD0 /* CCEffectRefraction.h in Headers */, - D2DDB09F19805E8400233D80 /* CCVector3.h in Headers */, - 9D1B4A991A02E90300B2DD9B /* CCLightGroups.h in Headers */, D3903B10199528A0003AA81A /* CCRenderDispatch.h in Headers */, - D272032418FC89A000B100FF /* CCEffect_Private.h in Headers */, - 9D03A5EB1A02F61700C651C8 /* CCLightNode_Private.h in Headers */, - D272032D18FC89A000B100FF /* CCEffectStack.h in Headers */, B7E260D818171D2000A0E872 /* CCTextField.h in Headers */, D34CAD6C19C3AA10009BED7A /* CCRendererBasicTypes_Private.h in Headers */, - D268FE13198078FF00ECBCD0 /* CCEffectReflection.h in Headers */, - B7D273131822F4AA0054849B /* CCBReader.h in Headers */, - 9DF37621191C594A00C6D27A /* CCEffectPixellate.h in Headers */, 50CB3B0E100AC43A00B7A750 /* CCActionManager.h in Headers */, - 509D0818101E4FCE007E1749 /* CCTiledMap.h in Headers */, 50F29F6F102053370046CA73 /* base64.h in Headers */, D31C795219994197007921E1 /* CCMetalSupport_Private.h in Headers */, D34CAD6719C3A7A5009BED7A /* CCRendererBasicTypes.h in Headers */, 50F2A105102094550046CA73 /* ZipUtils.h in Headers */, - D27451B719AE5517006DA0A1 /* CCEffectDistanceField.h in Headers */, - 50CFAC391023660000175934 /* CCTMXXMLParser.h in Headers */, 50316AA610291280003ACFE7 /* CCRenderTexture.h in Headers */, - B7D273171822F4AA0054849B /* CCBSequenceProperty.h in Headers */, - 50316AD41029A126003ACFE7 /* CCMotionStreak.h in Headers */, - 83E1A86819C8ACA0000A3BCA /* CCPackageManagerDelegate.h in Headers */, D38058201889CE7700822437 /* CCCache.h in Headers */, D309055018AC23110081BF11 /* CCRenderer_Private.h in Headers */, - 83E1A87619C8ACC1000A3BCA /* CCPackageDownload.h in Headers */, 505462FC1062768000AB7C52 /* ccConfig.h in Headers */, 50E2A15010A45E7F00D894CE /* CCSpriteFrame.h in Headers */, - D2DDB0A319805E8400233D80 /* CCVector2.h in Headers */, B7E776211857A159004221AA /* CCColor.h in Headers */, 50E2A25210A46CC600D894CE /* CCProtocols.h in Headers */, 502C8BE010A661E200D137BA /* CCSpriteFrameCache.h in Headers */, B79F905A17FE2A2E00908504 /* CCTableView.h in Headers */, 50E1357510ADEB1B00C9E7FA /* CCTexture.h in Headers */, - 50D2AC9510E90DFA0068ECEB /* CCTiledMapLayer.h in Headers */, - 83E1A87919C8ACC1000A3BCA /* CCPackageDownloadManager.h in Headers */, - 50D2AC9710E90DFA0068ECEB /* CCTiledMapObjectGroup.h in Headers */, - D268FE11198078FF00ECBCD0 /* CCEffectHue.h in Headers */, - B7D273151822F4AA0054849B /* CCBSequence.h in Headers */, 0529445D11098D6F00E500F3 /* CCProfiling.h in Headers */, - 9D2773B51AB77F3800D19A11 /* CCEffectStereo.h in Headers */, - D285ECF0192EA92A009F4E88 /* CCGLView.h in Headers */, - 5015043B113300F900A9CA65 /* CCActionProgressTimer.h in Headers */, - D24161091958F72B003673BD /* CCEffectRenderer.h in Headers */, - 83E1A88619C8ACDC000A3BCA /* CCPackageCocos2dEnabler.h in Headers */, 50FBB2DA117613F500150761 /* CCActionTween.h in Headers */, - D2DDB0A119805E8400233D80 /* CCVector4.h in Headers */, 50D898F31192CB7500458C29 /* uthash.h in Headers */, + 08A4EB751C7A553E00A08923 /* CCProgressNode.h in Headers */, 508EAC311193F8B0007F058D /* utlist.h in Headers */, E0C3655B11F0AE9B001C08F9 /* CCSpriteBatchNode.h in Headers */, E0C54DCB11F9CF2700B9E4CB /* ccUtils.h in Headers */, - D23C5CBC194BC500007CA669 /* CCTouchAndroid.h in Headers */, E01E6D8C121F130E001A484F /* CCLabelBMFont.h in Headers */, - 1426D9951A38D24A00A579AF /* CCGestureListener.h in Headers */, - 83E1A86D19C8ACAF000A3BCA /* CCPackageUnzipper.h in Headers */, - D2DDB09519805E8400233D80 /* CCMatrix3.h in Headers */, E0EAD0FF121F4B4600B0C81C /* CCDirectorIOS.h in Headers */, - 83E1A86219C8ACA0000A3BCA /* CCPackage.h in Headers */, E0EAD108121F4B4600B0C81C /* CCGLView.h in Headers */, - B798D143181F469100E7BFCD /* CCLabelBMFont_Private.h in Headers */, - D3903B0A1995285B003AA81A /* CCEffectBlur.h in Headers */, E0EAD19D121F4D7300B0C81C /* CCGL.h in Headers */, - 839CE58619FFB139003369F0 /* CCEffectInvert.h in Headers */, E0EAD1F1121F522A00B0C81C /* CCConfiguration.h in Headers */, - 9D85671D191B018200573093 /* CCEffectBrightness.h in Headers */, - D272032B18FC89A000B100FF /* CCEffectNode.h in Headers */, E0F924711224140400EF2362 /* CCTexturePVR.h in Headers */, - 83E1A87B19C8ACC1000A3BCA /* CCPackageDownloadManagerDelegate.h in Headers */, E0F92AC41224559800EF2362 /* CCNS.h in Headers */, E02BB6D6126CA93A006E46A2 /* CCAnimationCache.h in Headers */, - D27451AA19AD430A006DA0A1 /* CCEffectDropShadow.h in Headers */, E02BB704126CADEA006E46A2 /* CCAnimation.h in Headers */, - B7D273191822F4AA0054849B /* CCBuilderReader.h in Headers */, D3E3752F19CC842A0076CDBB /* CCRendererSharedTypes.h in Headers */, B7E775D018527EF0004221AA /* CCAppDelegate.h in Headers */, E0BC7D9F1342CE7B001B4DCC /* CCShader.h in Headers */, - D2DDB09319805E8400233D80 /* CCMathUtilsAndroid.h in Headers */, - D39FA9C818C1BC6B00441627 /* CCShader_Private.h in Headers */, - A0C20AC8144FDAF700D84B47 /* CCParticleBatchNode.h in Headers */, A046E29314C1DB7D0005BBF2 /* CCDirectorMac.h in Headers */, A046E29714C1DB7D0005BBF2 /* CCGLView.h in Headers */, D34CAD6119C3A0B5009BED7A /* NSValue+CCRenderer.h in Headers */, A046E29914C1DB7E0005BBF2 /* CCWindow.h in Headers */, - B791E85E182074C500DAE1D7 /* CCProgressNode.h in Headers */, B7EE69E01819E75700B983FE /* CCLayout.h in Headers */, A0C87D1A14F9A3A100C0E8B2 /* NSThread+performBlock.h in Headers */, D3903B14199528B6003AA81A /* CCMetalView.h in Headers */, - B791E84A182064BF00DAE1D7 /* CCTiledMapLayer_Private.h in Headers */, - 83E1A86F19C8ACAF000A3BCA /* CCPackageUnzipperDelegate.h in Headers */, - 83E1A86919C8ACA0000A3BCA /* CCPackageTypes.h in Headers */, - D27451C619B111A9006DA0A1 /* CCEffectDFOutline.h in Headers */, A6DC4E0918055DCC00C280A6 /* CCTransition.h in Headers */, - B791E85D182074C500DAE1D7 /* CCProgressNode_Private.h in Headers */, - B798D14D18204BEC00E7BFCD /* CCParticleSystemBase_Private.h in Headers */, - D25B4F4B194A499700DA9D60 /* CCTouch.h in Headers */, - D241610D1958F72B003673BD /* CCEffectSaturation.h in Headers */, A0A7A53C1514F27D00C8BD16 /* CCActionCatmullRom.h in Headers */, - D268FE1D1980791400ECBCD0 /* CCEffectUtils.h in Headers */, A039EBFF155C686B0061EE37 /* CCNode+Debug.h in Headers */, A0DA0BC315BCDCA200E80A92 /* CCDrawNode.h in Headers */, - 2B192835163361B10049A044 /* CCClippingNode.h in Headers */, - 83E1A88A19C8ACDC000A3BCA /* CCPackageInstaller.h in Headers */, B7EE6A1E181AE34600B983FE /* CCSlider.h in Headers */, A003AC8C1657071100C7B792 /* ccFPSImages.h in Headers */, B74C2B9B17BDA63A00A829C0 /* CCSprite9Slice.h in Headers */, - B77060CF18341AD50043CC67 /* CCBReader_Private.h in Headers */, - D24161021958F6EE003673BD /* CCBAnimationManager.h in Headers */, B75C2E7C17C5908B002B0E0D /* NSAttributedString+CCAdditions.h in Headers */, A6A0734517C788EB004343C8 /* CCResponderManager.h in Headers */, A6A0734A17C78EF3004343C8 /* CCResponder.h in Headers */, - D268FE0D198078FF00ECBCD0 /* CCEffectBloom.h in Headers */, B78AE46217E7AF1C0028BE0B /* CCButton.h in Headers */, - B798D15318205EFB00E7BFCD /* CCParticleSystem_Private.h in Headers */, - D26A042A194B815500503BEC /* CCTouchEvent.h in Headers */, B78AE46417E7AF1C0028BE0B /* CCControl.h in Headers */, - 9DDD047E19DE154400687820 /* CCEffectLighting.h in Headers */, B78AE46617E7AF1C0028BE0B /* CCControlTextureFactory.h in Headers */, - 571CD02619649E03003D460C /* CCPlatformTextFieldAndroid.h in Headers */, B78AE46817E7AF1C0028BE0B /* CCScrollView.h in Headers */, B78AE46C17E7AF6C0028BE0B /* UITouch+CC.h in Headers */, - B7D2730F1822F4AA0054849B /* CCBKeyframe.h in Headers */, - E525FCC2CF72D3667DE4D71B /* CCPackageHelper.h in Headers */, - E525F3A2BBCBB446B67D8260 /* CCPackage_private.h in Headers */, - E525FF1A60724C91275720C5 /* CCPackageManager_private.h in Headers */, - 9D69E6D619DF604800C2749C /* CCLightNode.h in Headers */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -2592,39 +1477,14 @@ isa = PBXHeadersBuildPhase; buildActionMask = 2147483647; files = ( - 7A59464519E372EE00F65F90 /* CCEffectDistanceField.h in Headers */, - 7A59464719E372EE00F65F90 /* CCEffectDFOutline.h in Headers */, - 7A59464919E372EE00F65F90 /* CCEffectDFInnerGlow.h in Headers */, - 7A59464B19E372EE00F65F90 /* CCEffectColorChannelOffset.h in Headers */, - 7A59464D19E372EE00F65F90 /* CCEffectBlur.h in Headers */, - 7A59464F19E372EE00F65F90 /* CCEffectRefraction.h in Headers */, - 7A59465119E372EE00F65F90 /* CCEffectUtils.h in Headers */, - 7A59465319E372EE00F65F90 /* CCEffectBloom.h in Headers */, - 7A59465519E372EE00F65F90 /* CCEffectGlass.h in Headers */, - 7A59465719E372EE00F65F90 /* CCEffectHue.h in Headers */, - 7A59465919E372EE00F65F90 /* CCEffectReflection.h in Headers */, - 9D9205D41A0173D600FF2D6D /* CCLightCollection.h in Headers */, - 7A59465B19E372EE00F65F90 /* CCEffectRenderer.h in Headers */, - 7A59465D19E372EE00F65F90 /* CCEffectSaturation.h in Headers */, - 7A59465F19E372EE00F65F90 /* CCEffectStackProtocol.h in Headers */, - 7A59466019E372EE00F65F90 /* CCEffect_Private.h in Headers */, - 7A59466119E372EE00F65F90 /* CCEffect.h in Headers */, - 7A59466319E372EE00F65F90 /* CCEffectStack.h in Headers */, - 7A59466419E372EE00F65F90 /* CCEffectStack_Private.h in Headers */, - 9D03A5ED1A02F61B00C651C8 /* CCLightNode_Private.h in Headers */, - 7A59466619E372EE00F65F90 /* CCEffectBrightness.h in Headers */, - 7A59466819E372EE00F65F90 /* CCEffectContrast.h in Headers */, - 7A59466A19E372EE00F65F90 /* CCEffectPixellate.h in Headers */, - 7A59466C19E372EE00F65F90 /* CCEffectDropShadow.h in Headers */, 7A59466E19E372EE00F65F90 /* CCNode.h in Headers */, 7A59467019E372EE00F65F90 /* CCNode+Debug.h in Headers */, - 7A59467219E372EF00F65F90 /* CCNode_Private.h in Headers */, 7A59467319E372EF00F65F90 /* CCLayout.h in Headers */, + 08A4EB701C7A553E00A08923 /* CCActionProgressTimer.h in Headers */, 7A59467519E372EF00F65F90 /* CCLayoutBox.h in Headers */, 7A59467719E372EF00F65F90 /* CCDrawNode.h in Headers */, 7A59467919E372EF00F65F90 /* CCLabelBMFont.h in Headers */, 7A59467B19E372EF00F65F90 /* CCLabelTTF.h in Headers */, - 7A59467D19E372EF00F65F90 /* CCLabelBMFont_Private.h in Headers */, 7A59467E19E372EF00F65F90 /* CCAnimation.h in Headers */, 7A59468019E372EF00F65F90 /* CCAnimationCache.h in Headers */, 7A59468219E372EF00F65F90 /* CCSprite.h in Headers */, @@ -2632,74 +1492,21 @@ 7A59468619E372EF00F65F90 /* CCSpriteBatchNode.h in Headers */, 7A59468819E372F000F65F90 /* CCSpriteFrame.h in Headers */, 7A59468A19E372F000F65F90 /* CCSpriteFrameCache.h in Headers */, - 7A59468C19E372F000F65F90 /* CCSprite_Private.h in Headers */, 7A59468D19E372F000F65F90 /* CCResponder.h in Headers */, - 7A59469119E372F000F65F90 /* CCTouch.h in Headers */, - 7A59469319E372F000F65F90 /* CCTouchEvent.h in Headers */, - 7A59469519E372F000F65F90 /* CCParticleSystemBase.h in Headers */, - 7A59469719E372F100F65F90 /* CCParticleSystem.h in Headers */, - 7A59469919E372F100F65F90 /* CCParticleBatchNode.h in Headers */, - 7A59469B19E372F100F65F90 /* CCParticleExamples.h in Headers */, - 7A59469C19E372F100F65F90 /* CCParticleExamples.m in Headers */, - 7A59469D19E372F100F65F90 /* CCParticleSystemBase_Private.h in Headers */, - 7A59469E19E372F100F65F90 /* CCParticleSystem_Private.h in Headers */, - 7A59469F19E372F100F65F90 /* CCParallaxNode.h in Headers */, - 7A5946A019E372F100F65F90 /* CCParallaxNode.m in Headers */, - 7A5946A119E372F100F65F90 /* CCTiledMap.h in Headers */, - 7A5946A219E372F100F65F90 /* CCTiledMap.m in Headers */, - 7A5946A319E372F100F65F90 /* CCTiledMapLayer.h in Headers */, - 7A5946A419E372F100F65F90 /* CCTiledMapLayer.m in Headers */, - 7A5946A519E372F200F65F90 /* CCTiledMapObjectGroup.h in Headers */, - 7A5946A619E372F200F65F90 /* CCTiledMapObjectGroup.m in Headers */, - 7A5946A719E372F200F65F90 /* CCTMXXMLParser.h in Headers */, - 7A5946A819E372F200F65F90 /* CCTMXXMLParser.m in Headers */, - 7A5946A919E372F200F65F90 /* CCTiledMapLayer_Private.h in Headers */, 7A5946AA19E372F200F65F90 /* CCScene.h in Headers */, 7A5946AC19E372F200F65F90 /* CCTransition.h in Headers */, - 7A5946AE19E372F200F65F90 /* CCPhysicsBody.h in Headers */, - 7A5946AF19E372F200F65F90 /* CCPhysicsBody.m in Headers */, - 7A5946B019E372F200F65F90 /* CCPhysicsShape.h in Headers */, - 7A5946B219E372F300F65F90 /* CCPhysicsJoint.h in Headers */, - 7A5946B419E372F300F65F90 /* CCPhysicsNode.h in Headers */, - 7A5946B619E372F300F65F90 /* CCPhysics+ObjectiveChipmunk.h in Headers */, - 7A5946B719E372F300F65F90 /* CCEffectNode.h in Headers */, 7A5946B919E372F300F65F90 /* CCNodeColor.h in Headers */, - 7A5946BB19E372F400F65F90 /* CCClippingNode.h in Headers */, - 7A5946BD19E372F400F65F90 /* CCMotionStreak.h in Headers */, - 7A5946BF19E372F400F65F90 /* CCProgressNode.h in Headers */, 7A5946C119E372F400F65F90 /* CCRenderTexture.h in Headers */, - 7A5946C319E372F400F65F90 /* CCProgressNode_Private.h in Headers */, 7A5946C419E372F400F65F90 /* CCRenderTexture_Private.h in Headers */, - 7A5946C519E372F500F65F90 /* CCPackage.h in Headers */, - 7A5946C719E372F500F65F90 /* CCPackageConstants.h in Headers */, - 7A5946C919E372F500F65F90 /* CCPackageManager.h in Headers */, - 7A5946CB19E372F500F65F90 /* CCPackageManagerDelegate.h in Headers */, - 7A5946CC19E372F500F65F90 /* CCPackageTypes.h in Headers */, - 7A5946CD19E372F500F65F90 /* CCPackageDownload.h in Headers */, - 9D03A5F61A02F8C200C651C8 /* CCEffectLighting.h in Headers */, - 7A5946CF19E372F600F65F90 /* CCPackageDownloadDelegate.h in Headers */, - 9D2773B71AB77F3800D19A11 /* CCEffectStereo.h in Headers */, - 7A5946D019E372F600F65F90 /* CCPackageDownloadManager.h in Headers */, - 7A5946D219E372F600F65F90 /* CCPackageDownloadManagerDelegate.h in Headers */, - 7A5946D319E372F600F65F90 /* CCPackageUnzipper.h in Headers */, - 7A5946D519E372F600F65F90 /* CCPackageUnzipperDelegate.h in Headers */, - 7A5946D619E372F700F65F90 /* CCPackageCocos2dEnabler.h in Headers */, - 7A5946D819E372F700F65F90 /* CCPackageInstaller.h in Headers */, - 7A5946DA19E372F700F65F90 /* CCPackageHelper.h in Headers */, - 7A5946DC19E372F700F65F90 /* CCPackage_private.h in Headers */, - 7A5946DD19E372F700F65F90 /* CCActionManager_Private.h in Headers */, - 9D1B4A9B1A02E90300B2DD9B /* CCLightGroups.h in Headers */, 7A5946DE19E372F800F65F90 /* CCActionManager.h in Headers */, 7A5946E019E372F800F65F90 /* CCAction.h in Headers */, 7A5946E219E372F800F65F90 /* CCActionInstant.h in Headers */, 7A5946E419E372F800F65F90 /* CCActionInterval.h in Headers */, 7A5946E619E372F900F65F90 /* CCActionEase.h in Headers */, 7A5946E819E372F900F65F90 /* CCActionCatmullRom.h in Headers */, - 7A5946EA19E372F900F65F90 /* CCActionProgressTimer.h in Headers */, 7A5946EC19E372FA00F65F90 /* CCActionTween.h in Headers */, 7A5946EE19E372FA00F65F90 /* CCTexturePVR.h in Headers */, 7A5946F019E372FA00F65F90 /* CCTexture.h in Headers */, - 7A5946F219E372FA00F65F90 /* CCTexture_Private.h in Headers */, 7A5946F319E372FB00F65F90 /* CCTextureCache.h in Headers */, 7A5946F519E372FB00F65F90 /* uthash.h in Headers */, 7A5946F619E372FB00F65F90 /* utlist.h in Headers */, @@ -2720,28 +1527,15 @@ 7A59471019E372FF00F65F90 /* CCRendererBasicTypes.h in Headers */, 7A59471119E372FF00F65F90 /* CCRendererBasicTypes_Private.h in Headers */, 7A59471319E3730000F65F90 /* CCShader.h in Headers */, - 7A59471419E3730000F65F90 /* CCShader_Private.h in Headers */, 7A59471619E3730000F65F90 /* NSValue+CCRenderer.h in Headers */, 7A59471819E3730100F65F90 /* CCRenderer.h in Headers */, 7A59471919E3730100F65F90 /* CCRenderer_Private.h in Headers */, 7A59471A19E3730200F65F90 /* CCRenderer.m in Headers */, - 7A59471C19E3730200F65F90 /* CCMathUtilsAndroid.h in Headers */, - 7A59471D19E3730200F65F90 /* CCMatrix3.h in Headers */, - 7A59471E19E3730300F65F90 /* CCMatrix4.h in Headers */, - 7A59471F19E3730300F65F90 /* CCQuaternion.h in Headers */, - 7A59472019E3730300F65F90 /* CCMathTypesAndroid.h in Headers */, - 7A59472219E3730400F65F90 /* CCVector3.h in Headers */, - 7A59472319E3730400F65F90 /* CCVector4.h in Headers */, - 7A59472419E3730400F65F90 /* CCVector2.h in Headers */, - 7A59472A19E3730500F65F90 /* CCActivity.h in Headers */, - 7A59472E19E3730600F65F90 /* CCDirectorAndroid.h in Headers */, - 7A59473019E3730700F65F90 /* CCTouchAndroid.h in Headers */, - 7A59473219E3730800F65F90 /* CCGestureListener.h in Headers */, 7A59473519E3730800F65F90 /* CCMetalView.h in Headers */, 7A59473719E3730900F65F90 /* UITouch+CC.h in Headers */, 7A59473919E3730900F65F90 /* CCDirectorIOS.h in Headers */, 7A59473D19E3730A00F65F90 /* CCAppDelegate.h in Headers */, - 7A59473F19E3730B00F65F90 /* CCTouchIOS.h in Headers */, + 08A4EB7E1C7A563900A08923 /* CCPotentiometer.h in Headers */, 7A59474119E3730B00F65F90 /* CCMetalSupport_Private.h in Headers */, 7A59474319E3730C00F65F90 /* CCDirectorMac.h in Headers */, 7A59474519E3730C00F65F90 /* CCGLView.h in Headers */, @@ -2752,33 +1546,20 @@ 7A59474D19E3730E00F65F90 /* ccFPSImages.h in Headers */, 7A59474F19E3730F00F65F90 /* ccConfig.h in Headers */, 7A59475019E3730F00F65F90 /* CCDirector.h in Headers */, - D22907B01A2F5E440038FF61 /* CCEffectOutline.h in Headers */, 7A59475219E3731000F65F90 /* ccMacros.h in Headers */, 7A59475319E3731000F65F90 /* ccTypes.h in Headers */, 7A59475419E3731000F65F90 /* CCConfiguration.h in Headers */, 7A59475619E3731100F65F90 /* CCProtocols.h in Headers */, 7A59475719E3731100F65F90 /* CCScheduler.h in Headers */, - 7A59475919E3731100F65F90 /* CCDirector_Private.h in Headers */, 7A59476019E3731400F65F90 /* CCPlatformTextField.h in Headers */, 7A59476219E3731400F65F90 /* CCPlatformTextFieldIOS.h in Headers */, 7A59476419E3731500F65F90 /* CCPlatformTextFieldMac.h in Headers */, - 9DC780BA1A1175F100DD5A4B /* CCLightNode.h in Headers */, - 7A59476619E3731600F65F90 /* CCAnimationManager_Private.h in Headers */, - 7A59476719E3731600F65F90 /* CCAnimationManager.h in Headers */, - 7A59476919E3731700F65F90 /* CCAnimationManager+FrameAnimation.h in Headers */, - 7A59476B19E3731800F65F90 /* CCBAnimationManager.h in Headers */, - 7A59476D19E3731800F65F90 /* CCBKeyframe.h in Headers */, - 7A59476F19E3731900F65F90 /* CCBLocalizationManager.h in Headers */, - 7A59477119E3731A00F65F90 /* CCBReader.h in Headers */, - 7A59477319E3731B00F65F90 /* CCBSequence.h in Headers */, - 7A59477519E3731C00F65F90 /* CCBSequenceProperty.h in Headers */, - 7A59477719E3731C00F65F90 /* CCBuilderReader.h in Headers */, - 7A59477819E3731D00F65F90 /* CCBReader_Private.h in Headers */, 7A59477919E3731D00F65F90 /* cocos2d-ui.h in Headers */, 7A59477A19E3731E00F65F90 /* CCControl.h in Headers */, 7A59477B19E3731E00F65F90 /* CCControlSubclass.h in Headers */, 7A59477D19E3731F00F65F90 /* CCButton.h in Headers */, 7A59477F19E3731F00F65F90 /* CCTableView.h in Headers */, + 08A4EB761C7A553E00A08923 /* CCProgressNode.h in Headers */, 7A59478119E3732000F65F90 /* CCScrollView.h in Headers */, 7A59478319E3732100F65F90 /* CCControlTextureFactory.h in Headers */, 7A59478519E3732100F65F90 /* CCTextField.h in Headers */, @@ -2794,176 +1575,26 @@ ); runOnlyForDeploymentPostprocessing = 0; }; - D2FEB610194F6C9E00FC0574 /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - D2FEB611194F6C9E00FC0574 /* CCBLocalizationManager.h in Headers */, - D2FEB612194F6C9E00FC0574 /* CCAction.h in Headers */, - D2FEB613194F6C9E00FC0574 /* CCNode.h in Headers */, - D2FEB614194F6C9E00FC0574 /* CCDirector.h in Headers */, - D2FEB616194F6C9E00FC0574 /* CCActionInstant.h in Headers */, - D2FEB618194F6C9E00FC0574 /* CCActionInterval.h in Headers */, - D268FE281980791D00ECBCD0 /* CCEffectHue.h in Headers */, - D2FEB619194F6C9E00FC0574 /* CCLabelTTF.h in Headers */, - BC9F4E9E19DB649800B25F01 /* CCPackageCocos2dEnabler.h in Headers */, - D2FEB61A194F6C9E00FC0574 /* CCNodeColor.h in Headers */, - D2FEB61B194F6C9E00FC0574 /* CCScene.h in Headers */, - D2FEB61C194F6C9E00FC0574 /* CCTextureCache.h in Headers */, - 5BC3CB5919626FA000C4F0D0 /* CCGestureListener.h in Headers */, - D2FEB61E194F6C9E00FC0574 /* CCRenderer.h in Headers */, - D2DDB09619805E8400233D80 /* CCMatrix3.h in Headers */, - D268FE1A1980791400ECBCD0 /* CCEffectRefraction.h in Headers */, - D2FEB622194F6C9E00FC0574 /* CCParticleSystemBase.h in Headers */, - D2FEB625194F6C9E00FC0574 /* CCEffectContrast.h in Headers */, - D2FEB627194F6C9E00FC0574 /* ccTypes.h in Headers */, - D2DDB0A219805E8400233D80 /* CCVector4.h in Headers */, - D2FEB628194F6C9E00FC0574 /* CCPhysicsShape.h in Headers */, - D2FEB629194F6C9E00FC0574 /* CCParticleExamples.h in Headers */, - BC9F4E9F19DB649C00B25F01 /* CCPackageInstaller.h in Headers */, - D268FE2E1980791D00ECBCD0 /* CCEffectStack_Private.h in Headers */, - D2FEB62A194F6C9E00FC0574 /* CCScheduler.h in Headers */, - D241610A1958F72B003673BD /* CCEffectRenderer.h in Headers */, - D2FEB62F194F6C9E00FC0574 /* cocos2d.h in Headers */, - D2FEB630194F6C9E00FC0574 /* CCDirectorAndroid.h in Headers */, - 9D1B4A9A1A02E90300B2DD9B /* CCLightGroups.h in Headers */, - D2FEB633194F6C9E00FC0574 /* TGAlib.h in Headers */, - D2FEB636194F6C9E00FC0574 /* CCActionEase.h in Headers */, - D2FEB637194F6C9E00FC0574 /* CCSprite_Private.h in Headers */, - 7A59493E19E3803200F65F90 /* CCEffectBlur.h in Headers */, - D2FEB638194F6C9E00FC0574 /* ccMacros.h in Headers */, - D2FEB639194F6C9E00FC0574 /* CCNode_Private.h in Headers */, - D268FE241980791D00ECBCD0 /* CCEffectBloom.h in Headers */, - D2FEB63A194F6C9E00FC0574 /* CCSprite.h in Headers */, - D24161131958F738003673BD /* CCAnimationManager_Private.h in Headers */, - 9D9205D31A0173D600FF2D6D /* CCLightCollection.h in Headers */, - D2FEB63B194F6C9E00FC0574 /* CCFileUtils.h in Headers */, - D2FEB63E194F6C9E00FC0574 /* CGPointExtension.h in Headers */, - D2FEB63F194F6C9E00FC0574 /* CCParticleSystem.h in Headers */, - BC9F4E9719DB643F00B25F01 /* CCPackageConstants.h in Headers */, - 9D2773B61AB77F3800D19A11 /* CCEffectStereo.h in Headers */, - D2DDB09C19805E8400233D80 /* CCMathTypesAndroid.h in Headers */, - D268FE261980791D00ECBCD0 /* CCEffectGlass.h in Headers */, - D2FEB640194F6C9E00FC0574 /* CCParallaxNode.h in Headers */, - D2FEB641194F6C9E00FC0574 /* CCTexture_Private.h in Headers */, - D2FEB644194F6C9E00FC0574 /* CCLayoutBox.h in Headers */, - D2FEB645194F6C9E00FC0574 /* CCTouchIOS.h in Headers */, - 9D03A5EC1A02F61A00C651C8 /* CCLightNode_Private.h in Headers */, - D2FEB646194F6C9E00FC0574 /* CCEffect.h in Headers */, - D27451C719B111A9006DA0A1 /* CCEffectDFOutline.h in Headers */, - D24161141958F738003673BD /* CCAnimationManager.h in Headers */, - D2FEB647194F6C9E00FC0574 /* CCEffect_Private.h in Headers */, - BC9F4EA019DB649E00B25F01 /* CCPackageHelper.h in Headers */, - D2FEB648194F6C9E00FC0574 /* CCEffectStack.h in Headers */, - D2FEB64A194F6C9E00FC0574 /* CCTextField.h in Headers */, - D2FEB64B194F6C9E00FC0574 /* CCBReader.h in Headers */, - D2FEB64C194F6C9E00FC0574 /* CCEffectPixellate.h in Headers */, - D2FEB64D194F6C9E00FC0574 /* CCActionManager.h in Headers */, - D2FEB64E194F6C9E00FC0574 /* CCTiledMap.h in Headers */, - D2FEB64F194F6C9E00FC0574 /* base64.h in Headers */, - BC9F4E9819DB644600B25F01 /* CCPackageManager.h in Headers */, - BC9F4E9919DB644900B25F01 /* CCPackageManagerDelegate.h in Headers */, - D2FEB650194F6C9E00FC0574 /* ZipUtils.h in Headers */, - D22907AF1A2F5E440038FF61 /* CCEffectOutline.h in Headers */, - D2FEB652194F6C9E00FC0574 /* CCTMXXMLParser.h in Headers */, - D2FEB653194F6C9E00FC0574 /* CCRenderTexture.h in Headers */, - D2FEB654194F6C9E00FC0574 /* CCBSequenceProperty.h in Headers */, - D2FEB655194F6C9E00FC0574 /* CCMotionStreak.h in Headers */, - D2FEB656194F6C9E00FC0574 /* CCCache.h in Headers */, - D2FEB657194F6C9E00FC0574 /* CCRenderer_Private.h in Headers */, - D2FEB659194F6C9E00FC0574 /* ccConfig.h in Headers */, - D2FEB65A194F6C9E00FC0574 /* CCSpriteFrame.h in Headers */, - D2FEB65B194F6C9E00FC0574 /* CCColor.h in Headers */, - D2FEB65C194F6C9E00FC0574 /* CCProtocols.h in Headers */, - D2FEB65D194F6C9E00FC0574 /* CCSpriteFrameCache.h in Headers */, - D2FEB65E194F6C9E00FC0574 /* CCTableView.h in Headers */, - D268FE2A1980791D00ECBCD0 /* CCEffectReflection.h in Headers */, - D2FEB65F194F6C9E00FC0574 /* CCTexture.h in Headers */, - D2FEB660194F6C9E00FC0574 /* CCTiledMapLayer.h in Headers */, - BC9F4E9C19DB646000B25F01 /* CCPackageDownloadManager.h in Headers */, - D24161161958F738003673BD /* CCAnimationManager+FrameAnimation.h in Headers */, - D27451AB19AD430A006DA0A1 /* CCEffectDropShadow.h in Headers */, - D2FEB664194F6C9E00FC0574 /* CCTiledMapObjectGroup.h in Headers */, - 5BF32698195F947800D9A51A /* CCActivity.h in Headers */, - D2FEB665194F6C9E00FC0574 /* CCBSequence.h in Headers */, - D2FEB666194F6C9E00FC0574 /* CCProfiling.h in Headers */, - D2DDB09819805E8400233D80 /* CCMatrix4.h in Headers */, - D2FEB667194F6C9E00FC0574 /* CCGLView.h in Headers */, - D2FEB668194F6C9E00FC0574 /* CCActionProgressTimer.h in Headers */, - D2FEB66B194F6C9E00FC0574 /* CCActionTween.h in Headers */, - BC9F4E9B19DB644E00B25F01 /* CCPackageDownload.h in Headers */, - D2DDB0A019805E8400233D80 /* CCVector3.h in Headers */, - D2FEB66D194F6C9E00FC0574 /* uthash.h in Headers */, - D2FEB66E194F6C9E00FC0574 /* utlist.h in Headers */, - D2FEB670194F6C9E00FC0574 /* CCSpriteBatchNode.h in Headers */, - D2FEB671194F6C9E00FC0574 /* ccUtils.h in Headers */, - D2FEB673194F6C9E00FC0574 /* CCTouchAndroid.h in Headers */, - D2FEB674194F6C9E00FC0574 /* CCLabelBMFont.h in Headers */, - D2FEB678194F6C9E00FC0574 /* CCGLView.h in Headers */, - D2FEB679194F6C9E00FC0574 /* CCLabelBMFont_Private.h in Headers */, - D2FEB67D194F6C9E00FC0574 /* CCGL.h in Headers */, - D2FEB67E194F6C9E00FC0574 /* CCConfiguration.h in Headers */, - D2FEB67F194F6C9E00FC0574 /* CCEffectBrightness.h in Headers */, - D2FEB680194F6C9E00FC0574 /* CCEffectNode.h in Headers */, - D24161121958F72B003673BD /* CCEffectStackProtocol.h in Headers */, - D2FEB682194F6C9E00FC0574 /* CCTexturePVR.h in Headers */, - D2FEB683194F6C9E00FC0574 /* CCNS.h in Headers */, - D2FEB684194F6C9E00FC0574 /* CCAnimationCache.h in Headers */, - D2FEB685194F6C9E00FC0574 /* CCAnimation.h in Headers */, - D2DDB0A419805E8400233D80 /* CCVector2.h in Headers */, - BC9F4E9A19DB644B00B25F01 /* CCPackageTypes.h in Headers */, - D2FEB686194F6C9E00FC0574 /* CCBuilderReader.h in Headers */, - BC9F4EA119DB64A200B25F01 /* CCPackage_private.h in Headers */, - D2FEB687194F6C9E00FC0574 /* CCAppDelegate.h in Headers */, - D2FEB688194F6C9E00FC0574 /* CCShader.h in Headers */, - D27451BE19AEC84F006DA0A1 /* CCEffectDistanceField.h in Headers */, - D268FE1E1980791400ECBCD0 /* CCEffectUtils.h in Headers */, - D2FEB68C194F6C9E00FC0574 /* CCShader_Private.h in Headers */, - BC9F4E9619DB643C00B25F01 /* CCPackage.h in Headers */, - D2FEB68E194F6C9E00FC0574 /* CCParticleBatchNode.h in Headers */, - D2FEB690194F6C9E00FC0574 /* CCDirectorMac.h in Headers */, - D2FEB691194F6C9E00FC0574 /* CCGLView.h in Headers */, - D2FEB692194F6C9E00FC0574 /* CCWindow.h in Headers */, - D2FEB693194F6C9E00FC0574 /* CCProgressNode.h in Headers */, - 9DC780B71A1175F000DD5A4B /* CCLightNode.h in Headers */, - D2DDB09419805E8400233D80 /* CCMathUtilsAndroid.h in Headers */, - D2FEB694194F6C9E00FC0574 /* CCLayout.h in Headers */, - D299CE7B19C2910B00519CBB /* CCEffectDFInnerGlow.h in Headers */, - 9D03A5F31A02F8C100C651C8 /* CCEffectLighting.h in Headers */, - D2FEB695194F6C9E00FC0574 /* NSThread+performBlock.h in Headers */, - D2FEB696194F6C9E00FC0574 /* CCTiledMapLayer_Private.h in Headers */, - D2FEB69A194F6C9E00FC0574 /* CCTransition.h in Headers */, - D2FEB69B194F6C9E00FC0574 /* CCProgressNode_Private.h in Headers */, - D2FEB69D194F6C9E00FC0574 /* CCParticleSystemBase_Private.h in Headers */, - D2FEB69F194F6C9E00FC0574 /* CCTouch.h in Headers */, - D2FEB6A0194F6C9E00FC0574 /* CCActionCatmullRom.h in Headers */, - D2FEB6A2194F6C9E00FC0574 /* CCNode+Debug.h in Headers */, - D2FEB6A3194F6C9E00FC0574 /* CCDrawNode.h in Headers */, - D2FEB6A4194F6C9E00FC0574 /* CCClippingNode.h in Headers */, - D2FEB6A6194F6C9E00FC0574 /* CCSlider.h in Headers */, - D2FEB6A7194F6C9E00FC0574 /* ccFPSImages.h in Headers */, - D2FEB6A8194F6C9E00FC0574 /* CCSprite9Slice.h in Headers */, - D2FEB6A9194F6C9E00FC0574 /* CCBReader_Private.h in Headers */, - D2FEB6AA194F6C9E00FC0574 /* NSAttributedString+CCAdditions.h in Headers */, - D2FEB6AB194F6C9E00FC0574 /* CCResponderManager.h in Headers */, - D2DDB09A19805E8400233D80 /* CCQuaternion.h in Headers */, - D2FEB6AC194F6C9E00FC0574 /* CCResponder.h in Headers */, - D2FEB6AD194F6C9E00FC0574 /* CCButton.h in Headers */, - D2FEB6AE194F6C9E00FC0574 /* CCParticleSystem_Private.h in Headers */, - BC9F4E9D19DB646300B25F01 /* CCPackageDownloadManagerDelegate.h in Headers */, - D2FEB6AF194F6C9E00FC0574 /* CCTouchEvent.h in Headers */, - D2FEB6B1194F6C9E00FC0574 /* CCControl.h in Headers */, - D241610E1958F72B003673BD /* CCEffectSaturation.h in Headers */, - D2FEB6B2194F6C9E00FC0574 /* CCControlTextureFactory.h in Headers */, - D2FEB6B4194F6C9E00FC0574 /* CCScrollView.h in Headers */, - D2FEB6B6194F6C9E00FC0574 /* UITouch+CC.h in Headers */, - D2FEB6B7194F6C9E00FC0574 /* CCBKeyframe.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; /* End PBXHeadersBuildPhase section */ /* Begin PBXNativeTarget section */ + 08F4AAAE1C6E98A1004DAAF7 /* cocos2d-tvos */ = { + isa = PBXNativeTarget; + buildConfigurationList = 08F4AB641C6E98A1004DAAF7 /* Build configuration list for PBXNativeTarget "cocos2d-tvos" */; + buildPhases = ( + 08F4AAAF1C6E98A1004DAAF7 /* Sources */, + 08F4AAFC1C6E98A1004DAAF7 /* Headers */, + 08F4AB581C6E98A1004DAAF7 /* Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "cocos2d-tvos"; + productName = cocos2d; + productReference = 08F4AB671C6E98A1004DAAF7 /* libcocos2d-tvos.a */; + productType = "com.apple.product-type.library.static"; + }; 5018F24C0DFDEAC400C013A5 /* cocos2d-ios */ = { isa = PBXNativeTarget; buildConfigurationList = 5018F2500DFDEAE300C013A5 /* Build configuration list for PBXNativeTarget "cocos2d-ios" */; @@ -2975,8 +1606,6 @@ buildRules = ( ); dependencies = ( - 83409E4D19D5E8A1004B7EB9 /* PBXTargetDependency */, - FCFDA23E19C78E2D00B90910 /* PBXTargetDependency */, ); name = "cocos2d-ios"; productName = cocos2d; @@ -2994,7 +1623,6 @@ buildRules = ( ); dependencies = ( - 7A59497F19E38C8300F65F90 /* PBXTargetDependency */, ); name = "cocos2d-mac"; productName = "cocos2d-mac"; @@ -3020,24 +1648,6 @@ productReference = B7E7DE341A76DB7D004234B7 /* cocos2dMacFramework.framework */; productType = "com.apple.product-type.framework"; }; - D2FEB60D194F6C9E00FC0574 /* cocos2dAndroid */ = { - isa = PBXNativeTarget; - buildConfigurationList = D2FEB74C194F6C9E00FC0574 /* Build configuration list for PBXNativeTarget "cocos2dAndroid" */; - buildPhases = ( - D2FEB610194F6C9E00FC0574 /* Headers */, - D2FEB740194F6C9E00FC0574 /* Frameworks */, - D2FEB6B8194F6C9E00FC0574 /* Sources */, - ); - buildRules = ( - ); - dependencies = ( - 7A9790D119E61DDB001FFC4D /* PBXTargetDependency */, - ); - name = cocos2dAndroid; - productName = cocos2d; - productReference = D2FEB74F194F6C9E00FC0574 /* libcocos2dAndroid.a */; - productType = "com.apple.product-type.library.static"; - }; /* End PBXNativeTarget section */ /* Begin PBXProject section */ @@ -3068,132 +1678,17 @@ ); mainGroup = 29B97314FDCFA39411CA2CEA /* CustomTemplate */; projectDirPath = ""; - projectReferences = ( - { - ProductGroup = B153483A1BE1E7A10022C4BB /* Products */; - ProjectRef = B15348391BE1E7A10022C4BB /* Chipmunk7.xcodeproj */; - }, - { - ProductGroup = FC39961419C3B92F00C93E5E /* Products */; - ProjectRef = FC39961319C3B92F00C93E5E /* ObjectAL.xcodeproj */; - }, - { - ProductGroup = 83409E2B19D5B791004B7EB9 /* Products */; - ProjectRef = 83409E2A19D5B791004B7EB9 /* SSZipArchive.xcodeproj */; - }, - ); projectRoot = ""; targets = ( 5018F24C0DFDEAC400C013A5 /* cocos2d-ios */, B772F6B118120CC9005C069B /* appledoc */, - D2FEB60D194F6C9E00FC0574 /* cocos2dAndroid */, 7A4037A719E37038007B6E8F /* cocos2d-mac */, B7E7DE331A76DB7D004234B7 /* cocos2dMacFramework */, + 08F4AAAE1C6E98A1004DAAF7 /* cocos2d-tvos */, ); }; /* End PBXProject section */ -/* Begin PBXReferenceProxy section */ - 7A40378319E36EFF007B6E8F /* libSSZipArchiveAndroid.a */ = { - isa = PBXReferenceProxy; - fileType = archive.ar; - path = libSSZipArchiveAndroid.a; - remoteRef = 7A40378219E36EFF007B6E8F /* PBXContainerItemProxy */; - sourceTree = BUILT_PRODUCTS_DIR; - }; - 7A59498219E38C8300F65F90 /* libSSZipArchiveMac.a */ = { - isa = PBXReferenceProxy; - fileType = archive.ar; - path = libSSZipArchiveMac.a; - remoteRef = 7A59498119E38C8300F65F90 /* PBXContainerItemProxy */; - sourceTree = BUILT_PRODUCTS_DIR; - }; - 83409E3219D5B791004B7EB9 /* SSZipArchiveExampleApp.app */ = { - isa = PBXReferenceProxy; - fileType = wrapper.application; - path = SSZipArchiveExampleApp.app; - remoteRef = 83409E3119D5B791004B7EB9 /* PBXContainerItemProxy */; - sourceTree = BUILT_PRODUCTS_DIR; - }; - 83409E3619D5B791004B7EB9 /* libSSZipArchive.a */ = { - isa = PBXReferenceProxy; - fileType = archive.ar; - path = libSSZipArchive.a; - remoteRef = 83409E3519D5B791004B7EB9 /* PBXContainerItemProxy */; - sourceTree = BUILT_PRODUCTS_DIR; - }; - B15348351BE1E78C0022C4BB /* libObjectAL (Android).a */ = { - isa = PBXReferenceProxy; - fileType = archive.ar; - path = "libObjectAL (Android).a"; - remoteRef = B15348341BE1E78C0022C4BB /* PBXContainerItemProxy */; - sourceTree = BUILT_PRODUCTS_DIR; - }; - B15348371BE1E78C0022C4BB /* libObjectAL (Mac).a */ = { - isa = PBXReferenceProxy; - fileType = archive.ar; - path = "libObjectAL (Mac).a"; - remoteRef = B15348361BE1E78C0022C4BB /* PBXContainerItemProxy */; - sourceTree = BUILT_PRODUCTS_DIR; - }; - B15348441BE1E7A20022C4BB /* ChipmunkDemo.app */ = { - isa = PBXReferenceProxy; - fileType = wrapper.application; - path = ChipmunkDemo.app; - remoteRef = B15348431BE1E7A20022C4BB /* PBXContainerItemProxy */; - sourceTree = BUILT_PRODUCTS_DIR; - }; - B15348461BE1E7A20022C4BB /* libChipmunk-Mac.a */ = { - isa = PBXReferenceProxy; - fileType = archive.ar; - path = "libChipmunk-Mac.a"; - remoteRef = B15348451BE1E7A20022C4BB /* PBXContainerItemProxy */; - sourceTree = BUILT_PRODUCTS_DIR; - }; - B15348481BE1E7A20022C4BB /* libChipmunk-iOS.a */ = { - isa = PBXReferenceProxy; - fileType = archive.ar; - path = "libChipmunk-iOS.a"; - remoteRef = B15348471BE1E7A20022C4BB /* PBXContainerItemProxy */; - sourceTree = BUILT_PRODUCTS_DIR; - }; - B153484A1BE1E7A20022C4BB /* Benchmark iPhone.app */ = { - isa = PBXReferenceProxy; - fileType = wrapper.application; - path = "Benchmark iPhone.app"; - remoteRef = B15348491BE1E7A20022C4BB /* PBXContainerItemProxy */; - sourceTree = BUILT_PRODUCTS_DIR; - }; - B153484C1BE1E7A20022C4BB /* libObjectiveChipmunk-Mac.a */ = { - isa = PBXReferenceProxy; - fileType = archive.ar; - path = "libObjectiveChipmunk-Mac.a"; - remoteRef = B153484B1BE1E7A20022C4BB /* PBXContainerItemProxy */; - sourceTree = BUILT_PRODUCTS_DIR; - }; - B153484E1BE1E7A20022C4BB /* libObjectiveChipmunk-iOS.a */ = { - isa = PBXReferenceProxy; - fileType = archive.ar; - path = "libObjectiveChipmunk-iOS.a"; - remoteRef = B153484D1BE1E7A20022C4BB /* PBXContainerItemProxy */; - sourceTree = BUILT_PRODUCTS_DIR; - }; - B15348501BE1E7A20022C4BB /* ObjectiveChipmunkTests.xctest */ = { - isa = PBXReferenceProxy; - fileType = wrapper.cfbundle; - path = ObjectiveChipmunkTests.xctest; - remoteRef = B153484F1BE1E7A20022C4BB /* PBXContainerItemProxy */; - sourceTree = BUILT_PRODUCTS_DIR; - }; - FC39961B19C3B92F00C93E5E /* libObjectAL.a */ = { - isa = PBXReferenceProxy; - fileType = archive.ar; - path = libObjectAL.a; - remoteRef = FC39961A19C3B92F00C93E5E /* PBXContainerItemProxy */; - sourceTree = BUILT_PRODUCTS_DIR; - }; -/* End PBXReferenceProxy section */ - /* Begin PBXResourcesBuildPhase section */ B7E7DE321A76DB7D004234B7 /* Resources */ = { isa = PBXResourcesBuildPhase; @@ -3221,149 +1716,165 @@ /* End PBXShellScriptBuildPhase section */ /* Begin PBXSourcesBuildPhase section */ + 08F4AAAF1C6E98A1004DAAF7 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 08F4AAB01C6E98A1004DAAF7 /* NSValue+CCRenderer.m in Sources */, + 08F4AAB11C6E98A1004DAAF7 /* CCAction.m in Sources */, + 08F4AAB21C6E98A1004DAAF7 /* CCNode.m in Sources */, + 08F4AAB31C6E98A1004DAAF7 /* CCDirector.m in Sources */, + 08A4EB741C7A553E00A08923 /* CCActionProgressTimer.m in Sources */, + 08F4AAB41C6E98A1004DAAF7 /* CCActionInstant.m in Sources */, + 08F4AAB51C6E98A1004DAAF7 /* CCActionInterval.m in Sources */, + 08F4AAB71C6E98A1004DAAF7 /* CCLabelTTF.m in Sources */, + 08F4AAB81C6E98A1004DAAF7 /* CCNodeColor.m in Sources */, + 08F4AAB91C6E98A1004DAAF7 /* CCScene.m in Sources */, + 08F4AABA1C6E98A1004DAAF7 /* CCTextureCache.m in Sources */, + 08F4AABB1C6E98A1004DAAF7 /* CCMetalSupport.m in Sources */, + 08F4AABC1C6E98A1004DAAF7 /* CCScheduler.m in Sources */, + 08F4AABD1C6E98A1004DAAF7 /* cocos2d.m in Sources */, + 08F4AABE1C6E98A1004DAAF7 /* TGAlib.m in Sources */, + 08F4AABF1C6E98A1004DAAF7 /* CCTextField.m in Sources */, + 08F4AAC01C6E98A1004DAAF7 /* CCActionEase.m in Sources */, + 08F4AAC11C6E98A1004DAAF7 /* CCPlatformTextField.m in Sources */, + 08F4AAC21C6E98A1004DAAF7 /* CCSlider.m in Sources */, + 08A4EB821C7A563900A08923 /* CCPotentiometer.m in Sources */, + 08F4AAC31C6E98A1004DAAF7 /* CCSprite.m in Sources */, + 08F4AAC41C6E98A1004DAAF7 /* CCFileUtils.m in Sources */, + 08F4AAC61C6E98A1004DAAF7 /* CGPointExtension.m in Sources */, + 08F4AAC71C6E98A1004DAAF7 /* CCActionManager.m in Sources */, + 08F4AAC81C6E98A1004DAAF7 /* CCRenderDispatch.m in Sources */, + 08F4AAC91C6E98A1004DAAF7 /* CCAppDelegate.m in Sources */, + 08F4AACA1C6E98A1004DAAF7 /* CCMetalView.m in Sources */, + 08F4AACB1C6E98A1004DAAF7 /* base64.c in Sources */, + 08F4AACC1C6E98A1004DAAF7 /* ZipUtils.m in Sources */, + 08F4AACD1C6E98A1004DAAF7 /* CCPlatformTextFieldIOS.m in Sources */, + 08F4AACE1C6E98A1004DAAF7 /* CCRenderTexture.m in Sources */, + 08F4AACF1C6E98A1004DAAF7 /* CCSpriteFrame.m in Sources */, + 08F4AAD01C6E98A1004DAAF7 /* CCSpriteFrameCache.m in Sources */, + 08F4AAD11C6E98A1004DAAF7 /* CCTexture.m in Sources */, + 08F4AAD21C6E98A1004DAAF7 /* CCConfiguration.m in Sources */, + 08F4AAD31C6E98A1004DAAF7 /* CCProfiling.m in Sources */, + 08F4AAD51C6E98A1004DAAF7 /* CCActionTween.m in Sources */, + 08F4AAD61C6E98A1004DAAF7 /* CCSpriteBatchNode.m in Sources */, + 08F4AAD71C6E98A1004DAAF7 /* CCNoARC.m in Sources */, + 08F4AAD81C6E98A1004DAAF7 /* ccUtils.c in Sources */, + 08F4AAD91C6E98A1004DAAF7 /* CCLabelBMFont.m in Sources */, + 08F4AADA1C6E98A1004DAAF7 /* CCDirectorIOS.m in Sources */, + 08F4AADB1C6E98A1004DAAF7 /* CCGLView.m in Sources */, + 08F4AADC1C6E98A1004DAAF7 /* CCTexturePVR.m in Sources */, + 08F4AADD1C6E98A1004DAAF7 /* CCAnimationCache.m in Sources */, + 08F4AADE1C6E98A1004DAAF7 /* CCAnimation.m in Sources */, + 08F4AADF1C6E98A1004DAAF7 /* CCShader.m in Sources */, + 08F4AAE01C6E98A1004DAAF7 /* CCDirectorMac.m in Sources */, + 08F4AAE11C6E98A1004DAAF7 /* CCGLView.m in Sources */, + 08F4AAE21C6E98A1004DAAF7 /* CCWindow.m in Sources */, + 08F4AAE31C6E98A1004DAAF7 /* NSThread+performBlock.m in Sources */, + 08F4AAE41C6E98A1004DAAF7 /* CCActionCatmullRom.m in Sources */, + 08F4AAE51C6E98A1004DAAF7 /* CCRenderer.m in Sources */, + 08F4AAE61C6E98A1004DAAF7 /* CCRendererBasicTypes.m in Sources */, + 08F4AAE71C6E98A1004DAAF7 /* CCNode+Debug.m in Sources */, + 08F4AAE91C6E98A1004DAAF7 /* CCDrawNode.m in Sources */, + 08F4AAEA1C6E98A1004DAAF7 /* CCLayout.m in Sources */, + 08F4AAEB1C6E98A1004DAAF7 /* ccFPSImages.m in Sources */, + 08F4AAEC1C6E98A1004DAAF7 /* CCTableView.m in Sources */, + 08F4AAED1C6E98A1004DAAF7 /* CCSprite9Slice.m in Sources */, + 08F4AAEE1C6E98A1004DAAF7 /* NSAttributedString+CCAdditions.m in Sources */, + 08F4AAEF1C6E98A1004DAAF7 /* CCLayoutBox.m in Sources */, + 08F4AAF01C6E98A1004DAAF7 /* CCColor.m in Sources */, + 08F4AAF11C6E98A1004DAAF7 /* CCTransition.m in Sources */, + 08F4AAF21C6E98A1004DAAF7 /* CCResponderManager.m in Sources */, + 08F4AAF41C6E98A1004DAAF7 /* CCResponder.m in Sources */, + 08F4AAF51C6E98A1004DAAF7 /* CCButton.m in Sources */, + 08F4AAF61C6E98A1004DAAF7 /* CCControl.m in Sources */, + 08F4AAF71C6E98A1004DAAF7 /* CCControlTextureFactory.m in Sources */, + 08A4EB7A1C7A553E00A08923 /* CCProgressNode.m in Sources */, + 08F4AAF81C6E98A1004DAAF7 /* CCCache.m in Sources */, + 08F4AAF91C6E98A1004DAAF7 /* CCRendererGLSupport.m in Sources */, + 08F4AAFA1C6E98A1004DAAF7 /* CCScrollView.m in Sources */, + 08F4AAFB1C6E98A1004DAAF7 /* UITouch+CC.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; 5018F24A0DFDEAC400C013A5 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - 83E1A87A19C8ACC1000A3BCA /* CCPackageDownloadManager.m in Sources */, D34CAD6419C3A0FD009BED7A /* NSValue+CCRenderer.m in Sources */, 5018F26A0DFDEAFF00C013A5 /* CCAction.m in Sources */, - D3903B0B1995285B003AA81A /* CCEffectBlur.m in Sources */, - D299CE7C19C2910B00519CBB /* CCEffectDFInnerGlow.m in Sources */, 5018F26C0DFDEAFF00C013A5 /* CCNode.m in Sources */, 5018F26E0DFDEAFF00C013A5 /* CCDirector.m in Sources */, + 08A4EB721C7A553E00A08923 /* CCActionProgressTimer.m in Sources */, 5018F2700DFDEAFF00C013A5 /* CCActionInstant.m in Sources */, 5018F2720DFDEAFF00C013A5 /* CCActionInterval.m in Sources */, - D33803EA180331A90072D8FE /* CCPhysicsJoint.m in Sources */, - D26A042B194B815500503BEC /* CCTouchEvent.m in Sources */, - D268FE10198078FF00ECBCD0 /* CCEffectGlass.m in Sources */, 5018F2740DFDEAFF00C013A5 /* CCLabelTTF.m in Sources */, - 9D856722191B019900573093 /* CCEffectContrast.m in Sources */, - 83E1A86E19C8ACAF000A3BCA /* CCPackageUnzipper.m in Sources */, 5018F2760DFDEAFF00C013A5 /* CCNodeColor.m in Sources */, 5018F2780DFDEAFF00C013A5 /* CCScene.m in Sources */, - 9D2773B81AB77F3800D19A11 /* CCEffectStereo.m in Sources */, 5018F27E0DFDEAFF00C013A5 /* CCTextureCache.m in Sources */, D31C795019994126007921E1 /* CCMetalSupport.m in Sources */, - D2DDB09D19805E8400233D80 /* CCMatrix4.m in Sources */, - 5038B6B30E196CD8009A621E /* CCParticleSystemBase.m in Sources */, - 504055B10E3230BD00213FEF /* CCParticleExamples.m in Sources */, 506602120E38A70D000B500E /* CCScheduler.m in Sources */, - D2DDB0A719805E8400233D80 /* CCMatrix3.m in Sources */, - D24161031958F6EE003673BD /* CCBAnimationManager.m in Sources */, 50A07B7B0E4CBCD300AAF0BB /* cocos2d.m in Sources */, - B7D273181822F4AA0054849B /* CCBSequenceProperty.m in Sources */, 501CCFB40E99657C00B86F68 /* TGAlib.m in Sources */, - D241610F1958F72B003673BD /* CCEffectSaturation.m in Sources */, B7E260D918171D2000A0E872 /* CCTextField.m in Sources */, 50F7B2790F28DE7C00057537 /* CCActionEase.m in Sources */, 571CD02919649E03003D460C /* CCPlatformTextField.m in Sources */, - D3A2E7D3181E12750033614C /* CCPhysicsShape.m in Sources */, B7EE6A1F181AE34600B983FE /* CCSlider.m in Sources */, - D37D197A18B6665700B23FDE /* CCTMXXMLParser.m in Sources */, + 08A4EB801C7A563900A08923 /* CCPotentiometer.m in Sources */, 509A79980F6188420032F449 /* CCSprite.m in Sources */, - D37D197718B6665700B23FDE /* CCTiledMap.m in Sources */, - D27451C819B111A9006DA0A1 /* CCEffectDFOutline.m in Sources */, 50C508C70F7C194400799124 /* CCFileUtils.m in Sources */, - D25B4F4C194A499700DA9D60 /* CCTouch.m in Sources */, - D272032C18FC89A000B100FF /* CCEffectNode.m in Sources */, - D37D197918B6665700B23FDE /* CCTiledMapObjectGroup.m in Sources */, 503798C70F912C2000986724 /* CGPointExtension.m in Sources */, - D268FE1B1980791400ECBCD0 /* CCEffectRefraction.m in Sources */, - 50D413270F9A3FE00040C3C8 /* CCParticleSystem.m in Sources */, - 502C6C6D0FB87970002BF3C2 /* CCParallaxNode.m in Sources */, 50CB3B0F100AC43A00B7A750 /* CCActionManager.m in Sources */, D3903B11199528A0003AA81A /* CCRenderDispatch.m in Sources */, - 83E1A86319C8ACA0000A3BCA /* CCPackage.m in Sources */, B7E775D118527EF0004221AA /* CCAppDelegate.m in Sources */, - 9DBCA31519B68BE400EFE96D /* CCEffectColorChannelOffset.m in Sources */, D3903B15199528B6003AA81A /* CCMetalView.m in Sources */, - B7D273141822F4AA0054849B /* CCBReader.m in Sources */, 50F29F5610204FD60046CA73 /* base64.c in Sources */, 50F2A104102094550046CA73 /* ZipUtils.m in Sources */, 571CD02B19649E03003D460C /* CCPlatformTextFieldIOS.m in Sources */, - 83E1A86519C8ACA0000A3BCA /* CCPackageConstants.m in Sources */, - D272032E18FC89A000B100FF /* CCEffectStack.m in Sources */, 50316AA710291280003ACFE7 /* CCRenderTexture.m in Sources */, - 50316AD51029A126003ACFE7 /* CCMotionStreak.m in Sources */, 50E2A15110A45E7F00D894CE /* CCSpriteFrame.m in Sources */, 502C8BE110A661E200D137BA /* CCSpriteFrameCache.m in Sources */, 50E1357610ADEB1B00C9E7FA /* CCTexture.m in Sources */, 503862E6110072BC005D2C92 /* CCConfiguration.m in Sources */, 0529445E11098D6F00E500F3 /* CCProfiling.m in Sources */, - 5015043C113300F900A9CA65 /* CCActionProgressTimer.m in Sources */, - D37D197818B6665700B23FDE /* CCTiledMapLayer.m in Sources */, - D272032618FC89A000B100FF /* CCEffect.m in Sources */, - 83E1A87719C8ACC1000A3BCA /* CCPackageDownload.m in Sources */, 50FBB2DB117613F500150761 /* CCActionTween.m in Sources */, D37D197B18B6666E00B23FDE /* CCSpriteBatchNode.m in Sources */, D3903B0D1995288D003AA81A /* CCNoARC.m in Sources */, E0C54DCA11F9CF2700B9E4CB /* ccUtils.c in Sources */, - D268FE1F1980791400ECBCD0 /* CCEffectUtils.m in Sources */, - D33803E618032F390072D8FE /* CCPhysicsNode.m in Sources */, - D24160FF1958F6EE003673BD /* CCAnimationManager.m in Sources */, - D285ECF1192EA92A009F4E88 /* CCGLView.m in Sources */, - 9DDD047F19DE154400687820 /* CCEffectLighting.m in Sources */, E01E6D8D121F130E001A484F /* CCLabelBMFont.m in Sources */, E0EAD100121F4B4600B0C81C /* CCDirectorIOS.m in Sources */, - D24161011958F6EE003673BD /* CCAnimationManager+FrameAnimation.m in Sources */, - D285ECF9192EF5B2009F4E88 /* CCDirectorAndroid.m in Sources */, - D268FE0E198078FF00ECBCD0 /* CCEffectBloom.m in Sources */, E0EAD109121F4B4600B0C81C /* CCGLView.m in Sources */, - 9D85671E191B018200573093 /* CCEffectBrightness.m in Sources */, - D268FE14198078FF00ECBCD0 /* CCEffectReflection.m in Sources */, - B7D273101822F4AA0054849B /* CCBKeyframe.m in Sources */, E0F924721224140400EF2362 /* CCTexturePVR.m in Sources */, E02BB6D7126CA93A006E46A2 /* CCAnimationCache.m in Sources */, E02BB705126CADEA006E46A2 /* CCAnimation.m in Sources */, E0BC7DA01342CE7B001B4DCC /* CCShader.m in Sources */, - A0C20AC9144FDAF700D84B47 /* CCParticleBatchNode.m in Sources */, A046E29414C1DB7D0005BBF2 /* CCDirectorMac.m in Sources */, A046E29814C1DB7D0005BBF2 /* CCGLView.m in Sources */, A046E29A14C1DB7E0005BBF2 /* CCWindow.m in Sources */, - B7D273121822F4AA0054849B /* CCBLocalizationManager.m in Sources */, A0C87D1B14F9A3A100C0E8B2 /* NSThread+performBlock.m in Sources */, - D241610B1958F72B003673BD /* CCEffectRenderer.m in Sources */, - B7D273161822F4AA0054849B /* CCBsequence.m in Sources */, - 9DF37622191C594A00C6D27A /* CCEffectPixellate.m in Sources */, A0A7A53D1514F27D00C8BD16 /* CCActionCatmullRom.m in Sources */, D380581B1889AD6000822437 /* CCRenderer.m in Sources */, D369415F19CFDF170092A0BD /* CCRendererBasicTypes.m in Sources */, A039EC00155C686B0061EE37 /* CCNode+Debug.m in Sources */, - D2DDB0A519805E8400233D80 /* CCQuaternion.m in Sources */, - D36D31B718BD3CAA00E45F08 /* CCProgressNode.m in Sources */, - 83E1A86719C8ACA0000A3BCA /* CCPackageManager.m in Sources */, - D27451B819AE5517006DA0A1 /* CCEffectDistanceField.m in Sources */, A0DA0BC415BCDCA200E80A92 /* CCDrawNode.m in Sources */, - D27451AC19AD430A006DA0A1 /* CCEffectDropShadow.m in Sources */, B7EE69E11819E75700B983FE /* CCLayout.m in Sources */, - 2B192836163361B10049A044 /* CCClippingNode.m in Sources */, - 9D69E6D719DF604800C2749C /* CCLightNode.m in Sources */, A003AC8F16572D6000C7B792 /* ccFPSImages.m in Sources */, B79F905B17FE2A2E00908504 /* CCTableView.m in Sources */, B74C2B9C17BDA63A00A829C0 /* CCSprite9Slice.m in Sources */, B75C2E7D17C5908B002B0E0D /* NSAttributedString+CCAdditions.m in Sources */, B7EE69E31819E75700B983FE /* CCLayoutBox.m in Sources */, - 83E1A88719C8ACDC000A3BCA /* CCPackageCocos2dEnabler.m in Sources */, B7E776221857A159004221AA /* CCColor.m in Sources */, A6DC4E0A18055DCC00C280A6 /* CCTransition.m in Sources */, A6A0734617C788EB004343C8 /* CCResponderManager.m in Sources */, - 83E1A88B19C8ACDC000A3BCA /* CCPackageInstaller.m in Sources */, - D23C5CB5194BC108007CA669 /* CCTouchIOS.m in Sources */, A6A0734B17C78EF3004343C8 /* CCResponder.m in Sources */, B78AE46317E7AF1C0028BE0B /* CCButton.m in Sources */, - 9D9205D51A0173D600FF2D6D /* CCLightCollection.m in Sources */, B78AE46517E7AF1C0028BE0B /* CCControl.m in Sources */, B78AE46717E7AF1C0028BE0B /* CCControlTextureFactory.m in Sources */, + 08A4EB781C7A553E00A08923 /* CCProgressNode.m in Sources */, D38058211889CE7700822437 /* CCCache.m in Sources */, - D22907B11A2F5E440038FF61 /* CCEffectOutline.m in Sources */, 0EFC792D1B3B0E14008926DD /* CCRendererGLSupport.m in Sources */, B78AE46917E7AF1C0028BE0B /* CCScrollView.m in Sources */, B78AE46D17E7AF6C0028BE0B /* UITouch+CC.m in Sources */, - D33803E318032ECE0072D8FE /* CCPhysicsBody.m in Sources */, - D268FE12198078FF00ECBCD0 /* CCEffectHue.m in Sources */, - 839CE58719FFB139003369F0 /* CCEffectInvert.m in Sources */, - E525F0F74C7C69C4371E20EE /* CCPackageHelper.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -3371,32 +1882,11 @@ isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - 7A59479119E3759800F65F90 /* CCEffectDistanceField.m in Sources */, - 7A59479319E3759800F65F90 /* CCEffectDFOutline.m in Sources */, - 839CE58B19FFB146003369F0 /* CCEffectInvert.m in Sources */, - 7A59479519E3759800F65F90 /* CCEffectDFInnerGlow.m in Sources */, - 83E21C001A121EB5000D1695 /* CCPackageManager.m in Sources */, - 7A59479719E3759800F65F90 /* CCEffectColorChannelOffset.m in Sources */, - 7A59479919E3759900F65F90 /* CCEffectBlur.m in Sources */, - 7A59479B19E3759900F65F90 /* CCEffectRefraction.m in Sources */, - 7A59479D19E3759900F65F90 /* CCEffectUtils.m in Sources */, - 7A59479F19E3759900F65F90 /* CCEffectBloom.m in Sources */, - 7A5947A119E3759900F65F90 /* CCEffectGlass.m in Sources */, - 7A5947A319E3759A00F65F90 /* CCEffectHue.m in Sources */, - 7A5947A519E3759A00F65F90 /* CCEffectReflection.m in Sources */, - 7A5947A719E3759A00F65F90 /* CCEffectRenderer.m in Sources */, - 7A5947A919E3759A00F65F90 /* CCEffectSaturation.m in Sources */, - 7A5947AD19E3759B00F65F90 /* CCEffect.m in Sources */, - 7A5947B019E3759B00F65F90 /* CCEffectStack.m in Sources */, - 7A5947B219E3759B00F65F90 /* CCEffectBrightness.m in Sources */, - 7A5947B419E3759B00F65F90 /* CCEffectContrast.m in Sources */, - 7A5947B619E3759B00F65F90 /* CCEffectPixellate.m in Sources */, - 7A5947B819E3759C00F65F90 /* CCEffectDropShadow.m in Sources */, 7A5947BA19E3759C00F65F90 /* CCNode.m in Sources */, 7A5947BC19E3759C00F65F90 /* CCNode+Debug.m in Sources */, 7A5947BF19E3759C00F65F90 /* CCLayout.m in Sources */, - 9D2773BA1AB77F3800D19A11 /* CCEffectStereo.m in Sources */, 7A5947C119E3759C00F65F90 /* CCLayoutBox.m in Sources */, + 08A4EB731C7A553E00A08923 /* CCActionProgressTimer.m in Sources */, 7A5947C319E3759D00F65F90 /* CCDrawNode.m in Sources */, 7A5947C519E3759D00F65F90 /* CCLabelBMFont.m in Sources */, 7A5947C719E3759D00F65F90 /* CCLabelTTF.m in Sources */, @@ -3409,47 +1899,20 @@ 7A5947D619E3759F00F65F90 /* CCSpriteFrameCache.m in Sources */, 7A5947D919E3759F00F65F90 /* CCResponder.m in Sources */, 7A5947DB19E3759F00F65F90 /* CCResponderManager.m in Sources */, - 7A5947E119E375A000F65F90 /* CCParticleSystemBase.m in Sources */, - 7A5947E319E375A000F65F90 /* CCParticleSystem.m in Sources */, - 7A5947E519E375A000F65F90 /* CCParticleBatchNode.m in Sources */, - 7A5947E719E375A000F65F90 /* CCParticleExamples.m in Sources */, - 7A5947EB19E375A100F65F90 /* CCParallaxNode.m in Sources */, - 7A5947ED19E375A100F65F90 /* CCTiledMap.m in Sources */, - 7A5947EF19E375A100F65F90 /* CCTiledMapLayer.m in Sources */, - 7A5947F119E375A100F65F90 /* CCTiledMapObjectGroup.m in Sources */, - 7A5947F319E375A200F65F90 /* CCTMXXMLParser.m in Sources */, 7A5947F619E375A200F65F90 /* CCScene.m in Sources */, 7A5947F819E375A200F65F90 /* CCTransition.m in Sources */, - 7A5947FA19E375A200F65F90 /* CCPhysicsBody.m in Sources */, - 7A5947FC19E375A200F65F90 /* CCPhysicsShape.m in Sources */, - 7A5947FE19E375A300F65F90 /* CCPhysicsJoint.m in Sources */, - 7A59480019E375A300F65F90 /* CCPhysicsNode.m in Sources */, - 7A59480319E375A300F65F90 /* CCEffectNode.m in Sources */, + 08A4EB811C7A563900A08923 /* CCPotentiometer.m in Sources */, 7A59480519E375A300F65F90 /* CCNodeColor.m in Sources */, - 9D9205D71A0173D600FF2D6D /* CCLightCollection.m in Sources */, - 7A59480719E375A400F65F90 /* CCClippingNode.m in Sources */, - 7A59480919E375A400F65F90 /* CCMotionStreak.m in Sources */, - 7A59480B19E375A400F65F90 /* CCProgressNode.m in Sources */, 7A59480D19E375A400F65F90 /* CCRenderTexture.m in Sources */, - 7A59481119E375A500F65F90 /* CCPackage.m in Sources */, 0EFC792E1B3B0E14008926DD /* CCRendererGLSupport.m in Sources */, - 7A59481319E375A500F65F90 /* CCPackageConstants.m in Sources */, - 7A59481919E375A600F65F90 /* CCPackageDownload.m in Sources */, - 7A59481C19E375A600F65F90 /* CCPackageDownloadManager.m in Sources */, - 7A59481F19E375A600F65F90 /* CCPackageUnzipper.m in Sources */, - 7A59482219E375A700F65F90 /* CCPackageCocos2dEnabler.m in Sources */, - 7A59482419E375A700F65F90 /* CCPackageInstaller.m in Sources */, - 7A59482619E375A700F65F90 /* CCPackageHelper.m in Sources */, 7A59482A19E375A700F65F90 /* CCActionManager.m in Sources */, 7A59482C19E375A800F65F90 /* CCAction.m in Sources */, 7A59482E19E375A800F65F90 /* CCActionInstant.m in Sources */, 7A59483019E375A800F65F90 /* CCActionInterval.m in Sources */, 7A59483219E375A800F65F90 /* CCActionEase.m in Sources */, 7A59483419E375A900F65F90 /* CCActionCatmullRom.m in Sources */, - 7A59483619E375A900F65F90 /* CCActionProgressTimer.m in Sources */, 7A59483819E375A900F65F90 /* CCActionTween.m in Sources */, 7A59483A19E375A900F65F90 /* CCTexturePVR.m in Sources */, - 9DC780BC1A11760B00DD5A4B /* CCLightNode.m in Sources */, 7A59483C19E375A900F65F90 /* CCTexture.m in Sources */, 5BC1DE2B1A2E2099009C2E67 /* NSEvent+CC.m in Sources */, 7A59483F19E375AA00F65F90 /* CCTextureCache.m in Sources */, @@ -3469,13 +1932,6 @@ 7A59486019E375AE00F65F90 /* CCShader.m in Sources */, 7A59486219E375AE00F65F90 /* NSValue+CCRenderer.m in Sources */, 7A59486519E375AE00F65F90 /* CCRenderer.m in Sources */, - 7A59486C19E375AF00F65F90 /* CCMatrix4.m in Sources */, - 7A59487019E375B000F65F90 /* CCQuaternion.m in Sources */, - D22907B31A2F5E440038FF61 /* CCEffectOutline.m in Sources */, - 7A59487119E375B000F65F90 /* CCMatrix3.m in Sources */, - 7A59487619E375B000F65F90 /* CCActivity.m in Sources */, - 7A59487A19E375B100F65F90 /* CCDirectorAndroid.m in Sources */, - 7A59487E19E375B100F65F90 /* CCGestureListener.m in Sources */, 7A59488119E375B200F65F90 /* CCMetalView.m in Sources */, 7A59488319E375B200F65F90 /* UITouch+CC.m in Sources */, 7A59488519E375B200F65F90 /* CCDirectorIOS.m in Sources */, @@ -3492,18 +1948,10 @@ 7A5948A319E375B700F65F90 /* CCScheduler.m in Sources */, 7A5948A519E375B700F65F90 /* CCNoARC.m in Sources */, 7A5948B019E375B900F65F90 /* CCPlatformTextFieldMac.m in Sources */, - 7A5948B319E375B900F65F90 /* CCAnimationManager.m in Sources */, - 7A5948B519E375B900F65F90 /* CCAnimationManager+FrameAnimation.m in Sources */, - 7A5948B719E375BA00F65F90 /* CCBAnimationManager.m in Sources */, - 7A5948B919E375BA00F65F90 /* CCBKeyframe.m in Sources */, - 7A5948BB19E375BA00F65F90 /* CCBLocalizationManager.m in Sources */, - 7A5948BD19E375BB00F65F90 /* CCBReader.m in Sources */, - 7A5948BF19E375BB00F65F90 /* CCBsequence.m in Sources */, - 9D03A5F81A02F8C600C651C8 /* CCEffectLighting.m in Sources */, - 7A5948C119E375BB00F65F90 /* CCBSequenceProperty.m in Sources */, 7A5948C719E375BC00F65F90 /* CCControl.m in Sources */, 7A5948C919E375BD00F65F90 /* CCButton.m in Sources */, 7A5948CB19E375BD00F65F90 /* CCTableView.m in Sources */, + 08A4EB791C7A553E00A08923 /* CCProgressNode.m in Sources */, 7A5948CD19E375BD00F65F90 /* CCScrollView.m in Sources */, 7A5948CF19E375BE00F65F90 /* CCControlTextureFactory.m in Sources */, 7A5948D119E375BE00F65F90 /* CCTextField.m in Sources */, @@ -3519,182 +1967,97 @@ ); runOnlyForDeploymentPostprocessing = 0; }; - D2FEB6B8194F6C9E00FC0574 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - D3027C8719D33FFB00006004 /* NSValue+CCRenderer.m in Sources */, - 57202D391970776100238D56 /* CCPlatformTextFieldAndroid.m in Sources */, - 839CE58A19FFB145003369F0 /* CCEffectInvert.m in Sources */, - D2FEB6B9194F6C9E00FC0574 /* CCAction.m in Sources */, - D299CE7D19C2910B00519CBB /* CCEffectDFInnerGlow.m in Sources */, - D2FEB6BA194F6C9E00FC0574 /* CCNode.m in Sources */, - D2FEB6BB194F6C9E00FC0574 /* CCDirector.m in Sources */, - D2FEB6BC194F6C9E00FC0574 /* CCActionInstant.m in Sources */, - D2FEB6BD194F6C9E00FC0574 /* CCActionInterval.m in Sources */, - D2FEB6C0194F6C9E00FC0574 /* CCPhysicsJoint.m in Sources */, - D268FE2B1980791D00ECBCD0 /* CCEffectReflection.m in Sources */, - D3BEEFA419CFE8730055B624 /* CCRendererBasicTypes.m in Sources */, - D2FEB6C2194F6C9E00FC0574 /* CCTouchEvent.m in Sources */, - D2FEB6C3194F6C9E00FC0574 /* CCLabelTTF.m in Sources */, - D2FEB6C4194F6C9E00FC0574 /* CCEffectContrast.m in Sources */, - D2FEB6C5194F6C9E00FC0574 /* CCNodeColor.m in Sources */, - D2FEB6C7194F6C9E00FC0574 /* CCScene.m in Sources */, - 9D2773B91AB77F3800D19A11 /* CCEffectStereo.m in Sources */, - D24161101958F72B003673BD /* CCEffectSaturation.m in Sources */, - D2FEB6C8194F6C9E00FC0574 /* CCTextureCache.m in Sources */, - D2FEB6CA194F6C9E00FC0574 /* CCParticleSystemBase.m in Sources */, - D2FEB6CB194F6C9E00FC0574 /* CCParticleExamples.m in Sources */, - D2FEB6CC194F6C9E00FC0574 /* CCScheduler.m in Sources */, - D2FEB6CD194F6C9E00FC0574 /* cocos2d.m in Sources */, - D2FEB6CF194F6C9E00FC0574 /* CCBSequenceProperty.m in Sources */, - D2FEB6D0194F6C9E00FC0574 /* TGAlib.m in Sources */, - D2FEB6D1194F6C9E00FC0574 /* CCTextField.m in Sources */, - D2FEB6D2194F6C9E00FC0574 /* CCActionEase.m in Sources */, - BC9F4E8E19DB632800B25F01 /* CCPackageConstants.m in Sources */, - 57BFF2BA1991937C00A3FE9C /* CCEditText.m in Sources */, - D2FEB6D3194F6C9E00FC0574 /* CCPhysicsShape.m in Sources */, - 577D72D11970AC59005ABDC0 /* CCPlatformTextField.m in Sources */, - D2FEB6D5194F6C9E00FC0574 /* CCSlider.m in Sources */, - D2FEB6D6194F6C9E00FC0574 /* CCTMXXMLParser.m in Sources */, - D2FEB6D7194F6C9E00FC0574 /* CCSprite.m in Sources */, - D2FEB6D8194F6C9E00FC0574 /* CCTiledMap.m in Sources */, - D2FEB6D9194F6C9E00FC0574 /* CCFileUtils.m in Sources */, - D2FEB6DB194F6C9E00FC0574 /* CCTouch.m in Sources */, - D27451C919B111A9006DA0A1 /* CCEffectDFOutline.m in Sources */, - D2FEB6DC194F6C9E00FC0574 /* CCEffectNode.m in Sources */, - D2FEB6DD194F6C9E00FC0574 /* CCTiledMapObjectGroup.m in Sources */, - D2FEB6DE194F6C9E00FC0574 /* CGPointExtension.m in Sources */, - D2FEB6DF194F6C9E00FC0574 /* CCParticleSystem.m in Sources */, - D2FEB6E0194F6C9E00FC0574 /* CCParallaxNode.m in Sources */, - D2FEB6E1194F6C9E00FC0574 /* CCActionManager.m in Sources */, - D2FEB6E2194F6C9E00FC0574 /* CCAppDelegate.m in Sources */, - D27451BD19AEC84C006DA0A1 /* CCEffectDistanceField.m in Sources */, - D2FEB6E3194F6C9E00FC0574 /* CCBReader.m in Sources */, - D2FEB6E5194F6C9E00FC0574 /* base64.c in Sources */, - BC9F4E9219DB633B00B25F01 /* CCPackageDownloadManager.m in Sources */, - D3903B17199528DF003AA81A /* CCRenderDispatch.m in Sources */, - D2FEB6E7194F6C9E00FC0574 /* ZipUtils.m in Sources */, - D2FEB6EA194F6C9E00FC0574 /* CCEffectStack.m in Sources */, - 9D9205D61A0173D600FF2D6D /* CCLightCollection.m in Sources */, - D2FEB6EC194F6C9E00FC0574 /* CCRenderTexture.m in Sources */, - D28B2E7A19CBA89A00DC6E08 /* CCEffectColorChannelOffset.m in Sources */, - D2FEB6ED194F6C9E00FC0574 /* CCMotionStreak.m in Sources */, - D2FEB6EE194F6C9E00FC0574 /* CCSpriteFrame.m in Sources */, - D2FEB6EF194F6C9E00FC0574 /* CCSpriteFrameCache.m in Sources */, - D2FEB6F0194F6C9E00FC0574 /* CCTexture.m in Sources */, - D2FEB6F1194F6C9E00FC0574 /* CCConfiguration.m in Sources */, - D2FEB6F2194F6C9E00FC0574 /* CCProfiling.m in Sources */, - BC9F4E8819DB632400B25F01 /* CCPackage.m in Sources */, - D2FEB6F3194F6C9E00FC0574 /* CCActionProgressTimer.m in Sources */, - D24161151958F738003673BD /* CCAnimationManager.m in Sources */, - BC9F4E9019DB633100B25F01 /* CCPackageHelper.m in Sources */, - D2FEB6F4194F6C9E00FC0574 /* CCTiledMapLayer.m in Sources */, - D2FEB6F5194F6C9E00FC0574 /* CCEffect.m in Sources */, - D268FE251980791D00ECBCD0 /* CCEffectBloom.m in Sources */, - D2FEB6F7194F6C9E00FC0574 /* CCActionTween.m in Sources */, - BC9F4E9519DB635200B25F01 /* CCPackageInstaller.m in Sources */, - D268FE271980791D00ECBCD0 /* CCEffectGlass.m in Sources */, - D2FEB6F9194F6C9E00FC0574 /* CCSpriteBatchNode.m in Sources */, - D2FEB6FA194F6C9E00FC0574 /* ccUtils.c in Sources */, - D2FEB6FB194F6C9E00FC0574 /* CCTouchAndroid.m in Sources */, - 9DC780BB1A11760A00DD5A4B /* CCLightNode.m in Sources */, - BC9F4E9119DB633500B25F01 /* CCPackageDownload.m in Sources */, - D3903B16199528DB003AA81A /* CCNoARC.m in Sources */, - D268FE1C1980791400ECBCD0 /* CCEffectRefraction.m in Sources */, - BC9F4E9319DB633F00B25F01 /* CCPackageUnzipper.m in Sources */, - D2FEB6FC194F6C9E00FC0574 /* CCPhysicsNode.m in Sources */, - D2FEB6FD194F6C9E00FC0574 /* CCGLView.m in Sources */, - D2FEB6FE194F6C9E00FC0574 /* CCLabelBMFont.m in Sources */, - D2FEB701194F6C9E00FC0574 /* CCDirectorAndroid.m in Sources */, - BC9F4E9419DB635000B25F01 /* CCPackageCocos2dEnabler.m in Sources */, - D2FEB702194F6C9E00FC0574 /* CCGLView.m in Sources */, - D3903B18199528F3003AA81A /* CCEffectBlur.m in Sources */, - D2FEB703194F6C9E00FC0574 /* CCEffectBrightness.m in Sources */, - D24161171958F738003673BD /* CCAnimationManager+FrameAnimation.m in Sources */, - D2FEB705194F6C9E00FC0574 /* CCBKeyframe.m in Sources */, - D2FEB706194F6C9E00FC0574 /* CCTexturePVR.m in Sources */, - D2FEB708194F6C9E00FC0574 /* CCAnimationCache.m in Sources */, - D2FEB709194F6C9E00FC0574 /* CCAnimation.m in Sources */, - D2FEB70A194F6C9E00FC0574 /* CCShader.m in Sources */, - D2FEB70F194F6C9E00FC0574 /* CCParticleBatchNode.m in Sources */, - D2FEB710194F6C9E00FC0574 /* CCDirectorMac.m in Sources */, - D2FEB711194F6C9E00FC0574 /* CCGLView.m in Sources */, - D2FEB712194F6C9E00FC0574 /* CCWindow.m in Sources */, - D2FEB714194F6C9E00FC0574 /* CCBLocalizationManager.m in Sources */, - D2FEB716194F6C9E00FC0574 /* NSThread+performBlock.m in Sources */, - D2FEB719194F6C9E00FC0574 /* CCBsequence.m in Sources */, - D2FEB71A194F6C9E00FC0574 /* CCEffectPixellate.m in Sources */, - D2FEB71B194F6C9E00FC0574 /* CCActionCatmullRom.m in Sources */, - 5BF32699195F947800D9A51A /* CCActivity.m in Sources */, - D2FEB71D194F6C9E00FC0574 /* CCRenderer.m in Sources */, - D2DDB09E19805E8400233D80 /* CCMatrix4.m in Sources */, - D2FEB71F194F6C9E00FC0574 /* CCNode+Debug.m in Sources */, - D2FEB720194F6C9E00FC0574 /* CCProgressNode.m in Sources */, - D2DDB0A619805E8400233D80 /* CCQuaternion.m in Sources */, - D2FEB722194F6C9E00FC0574 /* CCDrawNode.m in Sources */, - D268FE201980791400ECBCD0 /* CCEffectUtils.m in Sources */, - D2DDB0A819805E8400233D80 /* CCMatrix3.m in Sources */, - D2FEB727194F6C9E00FC0574 /* CCLayout.m in Sources */, - D27451AD19AD430A006DA0A1 /* CCEffectDropShadow.m in Sources */, - D2FEB729194F6C9E00FC0574 /* CCClippingNode.m in Sources */, - D2FEB72B194F6C9E00FC0574 /* ccFPSImages.m in Sources */, - D2FEB72C194F6C9E00FC0574 /* CCTableView.m in Sources */, - D268FE291980791D00ECBCD0 /* CCEffectHue.m in Sources */, - D2FEB72D194F6C9E00FC0574 /* CCSprite9Slice.m in Sources */, - D2FEB72E194F6C9E00FC0574 /* NSAttributedString+CCAdditions.m in Sources */, - D2FEB72F194F6C9E00FC0574 /* CCLayoutBox.m in Sources */, - D2FEB731194F6C9E00FC0574 /* CCColor.m in Sources */, - D2FEB732194F6C9E00FC0574 /* CCTransition.m in Sources */, - D2FEB734194F6C9E00FC0574 /* CCResponderManager.m in Sources */, - 5BC3CB5A19626FA000C4F0D0 /* CCGestureListener.m in Sources */, - BC9F4E8F19DB632B00B25F01 /* CCPackageManager.m in Sources */, - D2FEB735194F6C9E00FC0574 /* CCTouchIOS.m in Sources */, - 9D03A5F71A02F8C500C651C8 /* CCEffectLighting.m in Sources */, - D2FEB736194F6C9E00FC0574 /* CCResponder.m in Sources */, - D2FEB737194F6C9E00FC0574 /* CCButton.m in Sources */, - D2FEB738194F6C9E00FC0574 /* CCControl.m in Sources */, - D22907B21A2F5E440038FF61 /* CCEffectOutline.m in Sources */, - D2FEB739194F6C9E00FC0574 /* CCControlTextureFactory.m in Sources */, - D2FEB73A194F6C9E00FC0574 /* CCCache.m in Sources */, - D2FEB73C194F6C9E00FC0574 /* CCScrollView.m in Sources */, - D2FEB73D194F6C9E00FC0574 /* UITouch+CC.m in Sources */, - D2FEB73F194F6C9E00FC0574 /* CCPhysicsBody.m in Sources */, - D241610C1958F72B003673BD /* CCEffectRenderer.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; /* End PBXSourcesBuildPhase section */ /* Begin PBXTargetDependency section */ - 7A59497F19E38C8300F65F90 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = SSZipArchiveMac; - targetProxy = 7A59497E19E38C8300F65F90 /* PBXContainerItemProxy */; - }; - 7A9790D119E61DDB001FFC4D /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = SSZipArchiveAndroid; - targetProxy = 7A9790D019E61DDB001FFC4D /* PBXContainerItemProxy */; - }; - 83409E4D19D5E8A1004B7EB9 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = SSZipArchive; - targetProxy = 83409E4C19D5E8A1004B7EB9 /* PBXContainerItemProxy */; - }; B7E7DE4E1A76DB8B004234B7 /* PBXTargetDependency */ = { isa = PBXTargetDependency; target = 7A4037A719E37038007B6E8F /* cocos2d-mac */; targetProxy = B7E7DE4D1A76DB8B004234B7 /* PBXContainerItemProxy */; }; - FCFDA23E19C78E2D00B90910 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = "ObjectAL (iOS)"; - targetProxy = FCFDA23D19C78E2D00B90910 /* PBXContainerItemProxy */; - }; /* End PBXTargetDependency section */ /* Begin XCBuildConfiguration section */ + 08F4AB651C6E98A1004DAAF7 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_OBJC_IMPLICIT_ATOMIC_PROPERTIES = YES; + COPY_PHASE_STRIP = NO; + GCC_DYNAMIC_NO_PIC = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "CD_DEBUG=1", + DEBUG, + "COCOS2D_DEBUG=1", + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + GCC_THUMB_SUPPORT = NO; + GCC_TREAT_WARNINGS_AS_ERRORS = NO; + GCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS = YES; + GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES; + GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = YES; + GCC_WARN_SHADOW = YES; + HEADER_SEARCH_PATHS = ( + "$(SRCROOT)/external/kazmath/include", + "cocos2d/**", + "cocos2d-ui/**", + "cocos2d-ui-tests/**", + "$(SRCROOT)/external/Chipmunk/include", + "$(SRCROOT)/external/Chipmunk/objectivec/include", + "$(SRCROOT)/external/ObjectAL/**", + "$(SRCROOT)/external/SSZipArchive/**", + ); + LIBRARY_SEARCH_PATHS = ( + "$(inherited)", + "\"$(SRCROOT)/build/Debug-iphonesimulator\"", + ); + ONLY_ACTIVE_ARCH = YES; + OTHER_LDFLAGS = ""; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = appletvos; + SKIP_INSTALL = YES; + }; + name = Debug; + }; + 08F4AB661C6E98A1004DAAF7 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_OBJC_IMPLICIT_ATOMIC_PROPERTIES = YES; + COPY_PHASE_STRIP = YES; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + GCC_THUMB_SUPPORT = NO; + GCC_TREAT_WARNINGS_AS_ERRORS = NO; + GCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS = YES; + GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES; + GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = YES; + GCC_WARN_SHADOW = YES; + HEADER_SEARCH_PATHS = ( + "$(SRCROOT)/external/kazmath/include", + "cocos2d/**", + "cocos2d-ui/**", + "cocos2d-ui-tests/**", + "$(SRCROOT)/external/Chipmunk/include", + "$(SRCROOT)/external/Chipmunk/objectivec/include", + "$(SRCROOT)/external/ObjectAL/**", + "$(SRCROOT)/external/SSZipArchive/**", + ); + LIBRARY_SEARCH_PATHS = ( + "$(inherited)", + "\"$(SRCROOT)/build/Debug-iphonesimulator\"", + ); + OTHER_LDFLAGS = ""; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = appletvos; + SKIP_INSTALL = YES; + ZERO_LINK = NO; + }; + name = Release; + }; 5018F24E0DFDEAC500C013A5 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { @@ -3983,7 +2346,7 @@ "external/ObjectAL/**", "external/SSZipArchive/**", ); - IPHONEOS_DEPLOYMENT_TARGET = 5.0; + IPHONEOS_DEPLOYMENT_TARGET = 6.0; ONLY_ACTIVE_ARCH = YES; OTHER_LDFLAGS = "-ObjC"; PROVISIONING_PROFILE = ""; @@ -4038,7 +2401,7 @@ "external/ObjectAL/**", "external/SSZipArchive/**", ); - IPHONEOS_DEPLOYMENT_TARGET = 5.0; + IPHONEOS_DEPLOYMENT_TARGET = 6.0; ONLY_ACTIVE_ARCH = NO; OTHER_LDFLAGS = "-ObjC"; PROVISIONING_PROFILE = ""; @@ -4047,111 +2410,18 @@ }; name = Release; }; - D2FEB74D194F6C9E00FC0574 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_OBJC_IMPLICIT_ATOMIC_PROPERTIES = YES; - COMBINE_HIDPI_IMAGES = YES; - COPY_PHASE_STRIP = NO; - GCC_DYNAMIC_NO_PIC = NO; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "CD_DEBUG=1", - DEBUG, - "COCOS2D_DEBUG=1", - COCOS2D_ANDROID, - ); - "GCC_PREPROCESSOR_DEFINITIONS[arch=*]" = ( - "CD_DEBUG=1", - DEBUG, - "COCOS2D_DEBUG=1", - COCOS2D_ANDROID, - ); - GCC_PREPROCESSOR_DEFINITIONS_NOT_USED_IN_PRECOMPS = ""; - GCC_THUMB_SUPPORT = NO; - GCC_TREAT_WARNINGS_AS_ERRORS = NO; - GCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS = YES; - GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES; - GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = YES; - GCC_WARN_SHADOW = YES; - HEADER_SEARCH_PATHS = ( - "$(SRCROOT)/external/kazmath/include", - "cocos2d/**", - "cocos2d-ui/**", - "cocos2d-ui-tests/**", - "$(SRCROOT)/external/Chipmunk/include", - "$(SRCROOT)/external/Chipmunk/objectivec/include", - "$(SRCROOT)/external/ObjectAL/ObjectAL/ObjectAL/**", - "$(SRCROOT)/external/SSZipArchive/**", - ); - LIBRARY_SEARCH_PATHS = ( - "$(inherited)", - "\\\\\\\"$(SRCROOT)/build/Debug-iphonesimulator\\\\\\\"", - "$(SDKROOT)/usr/lib/armeabi", - "$(SDKROOT)/usr/lib/armv7a", - "$(SDKROOT)/usr/lib/x86", - "$(PROJECT_DIR)/external/ogg/android/ogg/build/Debug-android", - ); - ONLY_ACTIVE_ARCH = YES; - OTHER_LDFLAGS = ""; - PRODUCT_NAME = cocos2dAndroid; - SDKROOT = sbandroid; - SKIP_INSTALL = YES; - }; - name = Debug; - }; - D2FEB74E194F6C9E00FC0574 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_OBJC_IMPLICIT_ATOMIC_PROPERTIES = YES; - COMBINE_HIDPI_IMAGES = YES; - COPY_PHASE_STRIP = YES; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - GCC_PREPROCESSOR_DEFINITIONS = ( - NS_BLOCK_ASSERTIONS, - NDEBUG, - COCOS2D_ANDROID, - ); - GCC_PREPROCESSOR_DEFINITIONS_NOT_USED_IN_PRECOMPS = ""; - GCC_THUMB_SUPPORT = NO; - GCC_TREAT_WARNINGS_AS_ERRORS = NO; - GCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS = YES; - GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES; - GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = YES; - GCC_WARN_SHADOW = YES; - HEADER_SEARCH_PATHS = ( - "$(SRCROOT)/external/kazmath/include", - "cocos2d/**", - "cocos2d-ui/**", - "cocos2d-ui-tests/**", - "$(SRCROOT)/external/Chipmunk/include", - "$(SRCROOT)/external/Chipmunk/objectivec/include", - "$(SRCROOT)/external/ObjectAL/ObjectAL/ObjectAL/**", - "$(SRCROOT)/external/SSZipArchive/**", - ); - LIBRARY_SEARCH_PATHS = ( - "$(inherited)", - "\\\\\\\"$(SRCROOT)/build/Debug-iphonesimulator\\\\\\\"", - "$(SDKROOT)/usr/lib/armeabi", - "$(SDKROOT)/usr/lib/armv7a", - "$(SDKROOT)/usr/lib/x86", - "$(PROJECT_DIR)/external/ogg/android/ogg/build/Debug-android", - ); - OTHER_LDFLAGS = ""; - PRODUCT_NAME = cocos2dAndroid; - SDKROOT = sbandroid; - SKIP_INSTALL = YES; - ZERO_LINK = NO; - }; - name = Release; - }; /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ + 08F4AB641C6E98A1004DAAF7 /* Build configuration list for PBXNativeTarget "cocos2d-tvos" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 08F4AB651C6E98A1004DAAF7 /* Debug */, + 08F4AB661C6E98A1004DAAF7 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; 5018F2500DFDEAE300C013A5 /* Build configuration list for PBXNativeTarget "cocos2d-ios" */ = { isa = XCConfigurationList; buildConfigurations = ( @@ -4197,15 +2467,6 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - D2FEB74C194F6C9E00FC0574 /* Build configuration list for PBXNativeTarget "cocos2dAndroid" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - D2FEB74D194F6C9E00FC0574 /* Debug */, - D2FEB74E194F6C9E00FC0574 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; /* End XCConfigurationList section */ }; rootObject = 29B97313FDCFA39411CA2CEA /* Project object */; diff --git a/cocos2d/CCActionCatmullRom.m b/cocos2d/CCActionCatmullRom.m index ac879594361..2f5a3000c03 100644 --- a/cocos2d/CCActionCatmullRom.m +++ b/cocos2d/CCActionCatmullRom.m @@ -76,7 +76,7 @@ -(void) addControlPoint:(CGPoint)controlPoint { #if __CC_PLATFORM_MAC NSValue *value = [NSValue valueWithPoint:NSPointFromCGPoint(controlPoint)]; -#elif __CC_PLATFORM_IOS || __CC_PLATFORM_ANDROID +#elif __CC_PLATFORM_IOS NSValue *value = [NSValue valueWithCGPoint:controlPoint]; #endif @@ -87,7 +87,7 @@ -(void) insertControlPoint:(CGPoint)controlPoint atIndex:(NSUInteger)index { #if __CC_PLATFORM_MAC NSValue *value = [NSValue valueWithPoint:NSPointFromCGPoint(controlPoint)]; -#elif __CC_PLATFORM_IOS || __CC_PLATFORM_ANDROID +#elif __CC_PLATFORM_IOS NSValue *value = [NSValue valueWithCGPoint:controlPoint]; #endif @@ -102,7 +102,7 @@ -(CGPoint) getControlPointAtIndex:(NSInteger)index #if __CC_PLATFORM_MAC NSValue *value = [_controlPoints objectAtIndex:index]; CGPoint point = NSPointToCGPoint([value pointValue]); -#elif __CC_PLATFORM_IOS || __CC_PLATFORM_ANDROID +#elif __CC_PLATFORM_IOS NSValue *value = [_controlPoints objectAtIndex:index]; CGPoint point = [value CGPointValue]; #endif @@ -114,7 +114,7 @@ -(void) replaceControlPoint:(CGPoint)controlPoint atIndex:(NSUInteger)index { #if __CC_PLATFORM_MAC NSValue *value = [NSValue valueWithPoint:NSPointFromCGPoint(controlPoint)]; -#elif __CC_PLATFORM_IOS || __CC_PLATFORM_ANDROID +#elif __CC_PLATFORM_IOS NSValue *value = [NSValue valueWithCGPoint:controlPoint]; #endif diff --git a/cocos2d/CCActionEase.h b/cocos2d/CCActionEase.h index 03a3b95030d..6b94dcc9487 100644 --- a/cocos2d/CCActionEase.h +++ b/cocos2d/CCActionEase.h @@ -300,7 +300,7 @@ @end -// SpriteBuilder Support Ease +// CocosBuilder Support Ease @interface CCActionEaseInstant : CCActionEase @end diff --git a/cocos2d/CCActionInstant.h b/cocos2d/CCActionInstant.h index cf5c2cf65d0..6ad5dab62f1 100644 --- a/cocos2d/CCActionInstant.h +++ b/cocos2d/CCActionInstant.h @@ -370,45 +370,3 @@ @end -/** - This actions plays a sound effect through OALSimpleAudio. To play back music use a CCActionCallBlock or CCActionCallFunc - so that you can use the playBg method of OALSimpleAudio. - - @note The action ends immediately, it does not wait for the sound to stop playing. */ -@interface CCActionSoundEffect : CCActionInstant -{ - NSString* _soundFile; - float _pitch; - float _pan; - float _gain; -} - -/** @name Creating a Sound Effect Action */ - -/** - Creates a sound effect action. - - @param file The audio file to play. - @param pitch The playback pitch. 1.0 equals *normal* pitch. - @param pan Stereo panning, values from -1.0 (far left) to 1.0 (far right). - @param gain Gain (loudness), default 1.0 equals *normal* volume. - - @see OALSimpleAudio - @see [OALSimpleAudio playEffect:volume:pitch:pan:loop:] - */ -+(instancetype) actionWithSoundFile:(NSString*)file pitch:(float)pitch pan:(float) pan gain:(float)gain; - -/** - Creates a sound effect action. - - @param file The audio file to play. - @param pitch The playback pitch. 1.0 equals *normal* pitch. - @param pan Stereo panning, values from -1.0 (far left) to 1.0 (far right). - @param gain Gain (loudness), default 1.0 equals *normal* volume. - - @see OALSimpleAudio - @see [OALSimpleAudio playEffect:volume:pitch:pan:loop:] - */ --(id) initWithSoundFile:(NSString*)file pitch:(float)pitch pan:(float) pan gain:(float)gain; - -@end diff --git a/cocos2d/CCActionInstant.m b/cocos2d/CCActionInstant.m index 884f05c12bb..948fd3af541 100644 --- a/cocos2d/CCActionInstant.m +++ b/cocos2d/CCActionInstant.m @@ -30,7 +30,6 @@ #import "CCNode.h" #import "CCSprite.h" #import -#import "OALSimpleAudio.h" // // InstantAction @@ -388,40 +387,3 @@ - (void)update:(CCTime)time } @end - - -@implementation CCActionSoundEffect - -+ (id)actionWithSoundFile:(NSString*)f pitch:(float)pi pan:(float) pa gain:(float)ga -{ - return [[CCActionSoundEffect alloc] initWithSoundFile:f pitch:pi pan:pa gain:ga]; -} - -- (id)initWithSoundFile:(NSString*)file pitch:(float)pi pan:(float) pa gain:(float)ga -{ - self = [super init]; - if (!self) return NULL; - - _soundFile = [file copy]; - _pitch = pi; - _pan = pa; - _gain = ga; - - return self; -} - - -- (void)update:(CCTime)time -{ - [[OALSimpleAudio sharedInstance] playEffect:_soundFile volume:_gain pitch:_pitch pan:_pan loop:NO]; -} - -- (id)copyWithZone:(NSZone*)zone -{ - CCSpriteFrame *copy = [[[self class] allocWithZone: zone] initWithSoundFile:_soundFile pitch:_pitch pan:_pan gain:_gain]; - return copy; -} - -@end - - diff --git a/cocos2d/CCActionInterval.m b/cocos2d/CCActionInterval.m index 15a9e12840b..fdfac145e17 100644 --- a/cocos2d/CCActionInterval.m +++ b/cocos2d/CCActionInterval.m @@ -595,7 +595,7 @@ -(void) startWithTarget:(CCNode *)aTarget { [super startWithTarget:aTarget]; - // Simple Rotation (Support SpriteBuilder) + // Simple Rotation (Support CocosBuilder) if(_simple) { _startAngleX = _startAngleY = [(CCNode*)_target rotation]; _diffAngleX = _dstAngleX - _startAngleX; diff --git a/cocos2d/CCActionManager.h b/cocos2d/CCActionManager.h index 2e4ef5c4d90..6f337924967 100644 --- a/cocos2d/CCActionManager.h +++ b/cocos2d/CCActionManager.h @@ -147,6 +147,7 @@ typedef struct _hashElement { */ -(void)resumeTargets:(NSSet *)targetsToResume; +-(void)migrateActions:(id)target from:(CCActionManager*)oldManager; @end diff --git a/cocos2d/CCActionManager.m b/cocos2d/CCActionManager.m index f16df43a3a2..e6f353aa51d 100644 --- a/cocos2d/CCActionManager.m +++ b/cocos2d/CCActionManager.m @@ -28,7 +28,6 @@ #import "CCActionManager.h" -#import "CCActionManager_Private.h" #import "ccMacros.h" @interface CCActionManager (Private) diff --git a/cocos2d/CCActionManager_Private.h b/cocos2d/CCActionManager_Private.h deleted file mode 100644 index 12913912c64..00000000000 --- a/cocos2d/CCActionManager_Private.h +++ /dev/null @@ -1,28 +0,0 @@ -/* - * cocos2d for iPhone: http://www.cocos2d-iphone.org - * - * Copyright (c) 2013-2014 Cocos2D Authors - * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in - * all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - * THE SOFTWARE. - */ -#import "CCActionManager.h" - -@interface CCActionManager () --(void)migrateActions:(id)target from:(CCActionManager*)oldManager; -@end diff --git a/cocos2d/CCAnimation.h b/cocos2d/CCAnimation.h index e2daa23b7b5..d3df34f29ec 100644 --- a/cocos2d/CCAnimation.h +++ b/cocos2d/CCAnimation.h @@ -26,7 +26,7 @@ */ #import -#if __CC_PLATFORM_IOS || __CC_PLATFORM_ANDROID +#if __CC_PLATFORM_IOS #import #endif diff --git a/cocos2d/CCConfiguration.h b/cocos2d/CCConfiguration.h index f9e0358b36c..dcab0b8595c 100644 --- a/cocos2d/CCConfiguration.h +++ b/cocos2d/CCConfiguration.h @@ -27,12 +27,6 @@ #import #import "CCGL.h" -#if __CC_PLATFORM_ANDROID - -#import -#endif - - #define CC_MINIMUM_TABLET_SCREEN_DIAGONAL 6.0 extern Class CCGraphicsBufferClass; extern Class CCGraphicsBufferBindingsClass; diff --git a/cocos2d/CCConfiguration.m b/cocos2d/CCConfiguration.m index 6b49d90fcb2..9a2a40b3b68 100644 --- a/cocos2d/CCConfiguration.m +++ b/cocos2d/CCConfiguration.m @@ -28,9 +28,6 @@ #if __CC_PLATFORM_IOS #import // Needed for UIDevice -#elif __CC_PLATFORM_ANDROID -#import -#import #endif #import "Platforms/CCGL.h" @@ -122,8 +119,6 @@ -(id) init NSString *OSVer = [[UIDevice currentDevice] systemVersion]; #elif __CC_PLATFORM_MAC NSString *OSVer = [self getMacVersion]; -#elif __CC_PLATFORM_ANDROID - NSString *OSVer = @"?";//[AndroidBuild DISPLAY]; #endif NSArray *arr = [OSVer componentsSeparatedByString:@"."]; int idx = 0x01000000; @@ -186,44 +181,22 @@ -(NSInteger) runningDevice { // TODO: This method really needs to go very away in v4 -#if __CC_PLATFORM_ANDROID - - AndroidDisplayMetrics *metrics = [[AndroidDisplayMetrics alloc] init]; - [[CCActivity currentActivity].windowManager.defaultDisplay metricsForDisplayMetrics:metrics]; - - double yInches= metrics.heightPixels/metrics.ydpi; - double xInches= metrics.widthPixels/metrics.xdpi; - double diagonalInches = sqrt(xInches*xInches + yInches*yInches); - if (diagonalInches<=CC_MINIMUM_TABLET_SCREEN_DIAGONAL){ - - - if([CCDirector sharedDirector].contentScaleFactor > 1.0) - { - return CCDeviceiPhoneRetinaDisplay; - } - else - { - return CCDeviceiPhone; - } - } else { - if([CCDirector sharedDirector].contentScaleFactor > 1.0) - { - return CCDeviceiPadRetinaDisplay; - } - else - { - return CCDeviceiPad; - } - - } -#elif __CC_PLATFORM_IOS +#if __CC_PLATFORM_IOS if( UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad) { return ([UIScreen mainScreen].scale == 2) ? CCDeviceiPadRetinaDisplay : CCDeviceiPad; } +#if defined(__TV_OS_VERSION_MAX_ALLOWED) + else if ( UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomTV) { + //FIXME: Temporary solution + return CCDeviceiPadRetinaDisplay; + + } +#endif else if( UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPhone ) { +#if !defined(__TV_OS_VERSION_MAX_ALLOWED) CGSize preferredSize = [[UIScreen mainScreen] preferredMode].size; // This code makes me sad. Very glad it's going away in v4. @@ -236,6 +209,7 @@ -(NSInteger) runningDevice } else { return ([UIScreen mainScreen].scale == 2 ? CCDeviceiPhone6 : CCDeviceiPhone6Plus); } +#endif } #elif __CC_PLATFORM_MAC @@ -276,10 +250,6 @@ -(void) getOpenGLvariables #elif __CC_PLATFORM_MAC _supportsNPOT = [self checkForGLExtension:@"GL_ARB_texture_non_power_of_two"]; _supportsPackedDepthStencil = YES; -#elif __CC_PLATFORM_ANDROID - // source: http://www.khronos.org/registry/gles/ - _supportsNPOT = [self checkForGLExtension:@"GL_OES_texture_npot"] || [self checkForGLExtension:@"GL_NV_texture_npot_2D_mipmap"]; - _supportsPackedDepthStencil = [self checkForGLExtension:@"GL_OES_packed_depth_stencil"]; #endif _supportsPVRTC = [self checkForGLExtension:@"GL_IMG_texture_compression_pvrtc"]; @@ -291,8 +261,6 @@ -(void) getOpenGLvariables _supportsBGRA8888 = bgra8a | bgra8b; #elif __CC_PLATFORM_MAC _supportsBGRA8888 = [self checkForGLExtension:@"GL_EXT_bgra"]; -#elif __CC_PLATFORM_ANDROID - _supportsBGRA8888 = [self checkForGLExtension:@"GL_EXT_texture_format_BGRA8888"]; #endif _supportsDiscardFramebuffer = [self checkForGLExtension:@"GL_EXT_discard_framebuffer"]; @@ -397,8 +365,6 @@ -(void) dumpInfo #if __CC_PLATFORM_IOS NSString *OSVer = [[UIDevice currentDevice] systemVersion]; -#elif __CC_PLATFORM_ANDROID - NSString *OSVer = @"?";//[AndroidBuild DISPLAY]; #else //__CC_PLATFORM_MAC NSString *OSVer = [self getMacVersion]; #endif diff --git a/cocos2d/CCDirector.h b/cocos2d/CCDirector.h index c09367513a4..9cf36e0bd02 100644 --- a/cocos2d/CCDirector.h +++ b/cocos2d/CCDirector.h @@ -68,17 +68,13 @@ typedef NS_ENUM(NSUInteger, CCDirectorProjection) { #define CC_VIEWCONTROLLER NSObject #define CC_VIEW NSOpenGLView -#elif __CC_PLATFORM_ANDROID -#define CC_VIEWCONTROLLER NSObject -#define CC_VIEW CCGLView - #endif /** The director creates and handles the main Window and the Cocos2D view. It also presents Scenes and initiates scene updates and drawing. - CCDirector inherits from CC_VIEWCONTROLLER which is equivalent to UIViewController on iOS, and NSObject on OS X and Android. + CCDirector inherits from CC_VIEWCONTROLLER which is equivalent to UIViewController on iOS, and NSObject on OS X. Since the CCDirector is a singleton, the standard way to use its methods and properties is: @@ -166,6 +162,11 @@ typedef NS_ENUM(NSUInteger, CCDirectorProjection) { CCActionManager *_actionManagerFixed; NSMutableArray *_rendererPool; + +@protected + GLKMatrix4 _projectionMatrix; + __weak id _delegate; + __weak NSThread *_runningThread; } // Undocumented members (considered private) @@ -210,7 +211,7 @@ typedef NS_ENUM(NSUInteger, CCDirectorProjection) { /** @name Working with View and Projection */ -/// View used by the director for rendering. The CC_VIEW macro equals UIView on iOS, NSOpenGLView on OS X and CCGLView on Android. +/// View used by the director for rendering. The CC_VIEW macro equals UIView on iOS, NSOpenGLView on OS X and CCGLView. /// @see CCDirectorView @property(nonatomic, strong) CC_VIEW *view; /** Sets an OpenGL projection @@ -221,6 +222,12 @@ typedef NS_ENUM(NSUInteger, CCDirectorProjection) { /// @see projection @property(nonatomic, readonly) GLKMatrix4 projectionMatrix; +/// Rect of the visible screen area in GL coordinates. +@property(nonatomic, readonly) CGRect viewportRect; + +/* Sets the glViewport*/ +-(void) setViewport; + /// The current global shader values values. @property(nonatomic, readonly) NSMutableDictionary *globalShaderUniforms; /** Whether or not to display statistics in the view's lower left corner. From top to bottom the numbers are: @@ -347,6 +354,13 @@ typedef NS_ENUM(NSUInteger, CCDirectorProjection) { */ -(void) popToRootSceneWithTransition:(CCTransition *)transition; +/* Pops out all scenes from the queue until it reaches `level`. + If level is 0, it will end the director. + If level is 1, it will pop all scenes until it reaches to root scene. + If level is <= than the current stack level, it won't do anything. + */ +-(void) popToSceneStackLevel:(NSUInteger)level; + // purposefully undocumented: is the same as calling presentScene: -(void) replaceScene: (CCScene*) scene; @@ -370,6 +384,13 @@ typedef NS_ENUM(NSUInteger, CCDirectorProjection) { */ - (void)popSceneWithTransition:(CCTransition *)transition; +- (void)startTransition:(CCTransition *)transition; + +/* Draw the scene. + This method is called every frame. Don't call it manually. + */ +-(void) drawScene; + /** @name Animating the Active Scene */ /** The animation interval is the time per frame. Typically specified as `1.0 / 60.0` where the latter number defines @@ -440,7 +461,53 @@ typedef NS_ENUM(NSUInteger, CCDirectorProjection) { /** Removes all the cocos2d resources that have been previously loaded and automatically cached, textures for instance. */ -(void) purgeCachedData; +#pragma mark Internal stuff + +/* Whether or not the replaced scene will receive the cleanup message. + If the new scene is pushed, then the old scene won't receive the "cleanup" message. + If the new scene replaces the old one, the it will receive the "cleanup" message. + */ +@property (nonatomic, readonly) BOOL sendCleanupToScene; + +/* This object will be visited after the main scene is visited. + This object MUST implement the "visit" selector. + Useful to hook a notification object, like CCNotifications (http://github.com/manucorporat/CCNotifications) + */ +@property (nonatomic, readwrite, strong) id notificationNode; + +/* CCScheduler associated with this director + */ +@property (nonatomic,readwrite,strong) CCScheduler *scheduler; + +/* CCActionManager associated with this director + */ +@property (nonatomic,readwrite,strong) CCActionManager *actionManager; + +/* CCFixedActionManager associated with this director + */ +@property (nonatomic,readwrite,strong) CCActionManager *actionManagerFixed; + +/// XXX: missing description +-(float) getZEye; + +/// Get a renderer object to use for rendering. +/// This method is thread safe. +-(CCRenderer *)rendererFromPool; + +/// Return a renderer to a pool after rendering. +/// This method is thread safe. +-(void)poolRenderer:(CCRenderer *)renderer; + +/// Add a block to be called when the GPU finishes rendering a frame. +/// This is used to pool rendering resources (renderers, buffers, textures, etc) without stalling the GPU pipeline. +-(void)addFrameCompletionHandler:(dispatch_block_t)handler; + +-(void) createStatsLabel; + @end +// optimization. Should only be used to read it. Never to write it. +extern NSUInteger __ccNumberOfDraws; + // optimization. Should only be used to read it. Never to write it. extern CGFloat __ccContentScaleFactor; diff --git a/cocos2d/CCDirector.m b/cocos2d/CCDirector.m index bb2bf76bc78..166e71ae505 100644 --- a/cocos2d/CCDirector.m +++ b/cocos2d/CCDirector.m @@ -62,14 +62,8 @@ #elif __CC_PLATFORM_MAC #import "Platforms/Mac/CCDirectorMac.h" #define CC_DIRECTOR_DEFAULT CCDirectorDisplayLink -#elif __CC_PLATFORM_ANDROID -#import "Platforms/Android/CCDirectorAndroid.h" -#define CC_DIRECTOR_DEFAULT CCDirectorDisplayLink #endif -#import "CCDirector_Private.h" -#import "CCNode_Private.h" - #pragma mark - #pragma mark Director - global variables (optimization) @@ -82,6 +76,71 @@ extern NSString * cocos2dVersion(void); + + +@interface CCFPSLabel : CCNode +@property(nonatomic, strong) NSString *string; +@end + +static const int CCFPSLabelChars = 12; +static const float CCFPSLabelItemWidth = 12; +static const float CCFPSLabelItemHeight = 32; + +@implementation CCFPSLabel { + CCSpriteVertexes _charVertexes[CCFPSLabelChars]; +} + +-(instancetype)initWithString:(NSString *)string texture:(CCTexture *)texture +{ + if((self = [super init])){ + _string = string; + + self.texture = texture; + self.shader = [CCShader positionTextureColorShader]; + + float w = CCFPSLabelItemWidth; + float h = CCFPSLabelItemHeight; + + float tx = CCFPSLabelItemWidth/texture.contentSize.width; + float ty = CCFPSLabelItemHeight/texture.contentSize.height; + + for(int i=0; i *)view CGSize size = CCNSSizeToCGSize(self.view.bounds.size); #if __CC_PLATFORM_IOS CGFloat scale = self.view.layer.contentsScale ?: 1.0; -#elif __CC_PLATFORM_ANDROID - CGFloat scale = _view.contentScaleFactor; #else //self.view.wantsBestResolutionOpenGLSurface = YES; CGFloat scale = self.view.window.backingScaleFactor; @@ -553,7 +614,8 @@ - (void)pushScene:(CCScene *)scene withTransition:(CCTransition *)transition [_scenesStack addObject:scene]; _sendCleanupToScene = NO; - [transition startTransition:scene]; + [transition prepareTransition:scene]; + [self startTransition:transition]; } -(void) popScene @@ -584,7 +646,8 @@ - (void)popSceneWithTransition:(CCTransition *)transition [_scenesStack removeLastObject]; CCScene * incomingScene = [_scenesStack lastObject]; _sendCleanupToScene = YES; - [transition startTransition:incomingScene]; + [transition prepareTransition:incomingScene]; + [self startTransition:transition]; } } @@ -596,7 +659,8 @@ -(void) popToRootScene -(void) popToRootSceneWithTransition:(CCTransition *)transition { [self popToRootScene]; _sendCleanupToScene = YES; - [transition startTransition:_nextScene]; + [transition prepareTransition:_nextScene]; + [self startTransition:transition]; } -(void) popToSceneStackLevel:(NSUInteger)level @@ -654,7 +718,8 @@ - (void)replaceScene:(CCScene *)scene withTransition:(CCTransition *)transition { // the transition gets to become the running scene _sendCleanupToScene = YES; - [transition startTransition:scene]; + [transition prepareTransition:scene]; + [self startTransition:transition]; } // ----------------------------------------------------------------- @@ -841,165 +906,96 @@ -(void)setFixedUpdateInterval:(CCTime)fixedUpdateInterval self.scheduler.fixedUpdateInterval = fixedUpdateInterval; } -@end - - -@interface CCFPSLabel : CCNode -@property(nonatomic, strong) NSString *string; -@end - -static const int CCFPSLabelChars = 12; -static const float CCFPSLabelItemWidth = 12; -static const float CCFPSLabelItemHeight = 32; - -@implementation CCFPSLabel { - CCSpriteVertexes _charVertexes[CCFPSLabelChars]; -} - --(instancetype)initWithString:(NSString *)string texture:(CCTexture *)texture -{ - if((self = [super init])){ - _string = string; - - self.texture = texture; - self.shader = [CCShader positionTextureColorShader]; - - float w = CCFPSLabelItemWidth; - float h = CCFPSLabelItemHeight; - - float tx = CCFPSLabelItemWidth/texture.contentSize.width; - float ty = CCFPSLabelItemHeight/texture.contentSize.height; - - for(int i=0; i CC_DIRECTOR_STATS_INTERVAL) - { - NSString *spfstr = [[NSString alloc] initWithFormat:@"%.3f", _secondsPerFrame]; - [_SPFLabel setString:spfstr]; - - _frameRate = _frames/_accumDt; - _frames = 0; - _accumDt = 0; - -// sprintf(format,"%.1f",frameRate); -// [FPSLabel setCString:format]; - - NSString *fpsstr = [[NSString alloc] initWithFormat:@"%.1f", _frameRate]; - [_FPSLabel setString:fpsstr]; - - // Subtract one for the stat label's own batch. This caused a lot of confusion on the forums... - NSString *draws = [[NSString alloc] initWithFormat:@"%4lu", (unsigned long)__ccNumberOfDraws - 1]; - [_drawsLabel setString:draws]; - } - - // TODO should pass as a parameter instead? Requires changing method signatures... - CCRenderer *renderer = [CCRenderer currentRenderer]; - [_drawsLabel visit:renderer parentTransform:&_projectionMatrix]; - [_FPSLabel visit:renderer parentTransform:&_projectionMatrix]; - [_SPFLabel visit:renderer parentTransform:&_projectionMatrix]; - } - - __ccNumberOfDraws = 0; + _frames++; + _accumDt += _dt; + + if( _displayStats ) { + // Ms per Frame + + if( _accumDt > CC_DIRECTOR_STATS_INTERVAL) + { + NSString *spfstr = [[NSString alloc] initWithFormat:@"%.3f", _secondsPerFrame]; + [_SPFLabel setString:spfstr]; + + _frameRate = _frames/_accumDt; + _frames = 0; + _accumDt = 0; + + // sprintf(format,"%.1f",frameRate); + // [FPSLabel setCString:format]; + + NSString *fpsstr = [[NSString alloc] initWithFormat:@"%.1f", _frameRate]; + [_FPSLabel setString:fpsstr]; + + // Subtract one for the stat label's own batch. This caused a lot of confusion on the forums... + NSString *draws = [[NSString alloc] initWithFormat:@"%4lu", (unsigned long)__ccNumberOfDraws - 1]; + [_drawsLabel setString:draws]; + } + + // TODO should pass as a parameter instead? Requires changing method signatures... + CCRenderer *renderer = [CCRenderer currentRenderer]; + [_drawsLabel visit:renderer parentTransform:&_projectionMatrix]; + [_FPSLabel visit:renderer parentTransform:&_projectionMatrix]; + [_SPFLabel visit:renderer parentTransform:&_projectionMatrix]; + } + + __ccNumberOfDraws = 0; } -(void) calculateMPF { - struct timeval now; - gettimeofday( &now, NULL); - - _secondsPerFrame = (now.tv_sec - _lastUpdate.tv_sec) + (now.tv_usec - _lastUpdate.tv_usec) / 1000000.0f; + struct timeval now; + gettimeofday( &now, NULL); + + _secondsPerFrame = (now.tv_sec - _lastUpdate.tv_sec) + (now.tv_usec - _lastUpdate.tv_usec) / 1000000.0f; } -(void)getFPSImageData:(unsigned char**)datapointer length:(NSUInteger*)len contentScale:(CGFloat *)scale { - *datapointer = cc_fps_images_png; - *len = cc_fps_images_len(); - *scale = 1.0; + *datapointer = cc_fps_images_png; + *len = cc_fps_images_len(); + *scale = 1.0; } -(void) createStatsLabel { - if( _FPSLabel && _SPFLabel ) { - _FPSLabel = nil; - _SPFLabel = nil; - _drawsLabel = nil; - - [[CCFileUtils sharedFileUtils] purgeCachedEntries]; - } - - CCTexturePixelFormat currentFormat = [CCTexture defaultAlphaPixelFormat]; - [CCTexture setDefaultAlphaPixelFormat:CCTexturePixelFormat_RGBA4444]; - - unsigned char *data; - NSUInteger data_len; - CGFloat contentScale = 0; - [self getFPSImageData:&data length:&data_len contentScale:&contentScale]; - - NSData *nsdata = [NSData dataWithBytes:data length:data_len]; - CGDataProviderRef imgDataProvider = CGDataProviderCreateWithCFData( (__bridge CFDataRef) nsdata); - CGImageRef imageRef = CGImageCreateWithPNGDataProvider(imgDataProvider, NULL, true, kCGRenderingIntentDefault); - CCTexture *texture = [[CCTexture alloc] initWithCGImage:imageRef contentScale:contentScale]; - CGDataProviderRelease(imgDataProvider); - CGImageRelease(imageRef); - - _FPSLabel = [[CCFPSLabel alloc] initWithString:@"00.0" texture:texture]; - _SPFLabel = [[CCFPSLabel alloc] initWithString:@"0.000" texture:texture]; - _drawsLabel = [[CCFPSLabel alloc] initWithString:@"000" texture:texture]; - - [CCTexture setDefaultAlphaPixelFormat:currentFormat]; - - CGPoint offset = [self convertToGL:ccp(0, (self.flipY == 1.0) ? 0 : self.view.bounds.size.height)]; - CGPoint pos = ccpAdd(CC_DIRECTOR_STATS_POSITION, offset); - [_drawsLabel setPosition: ccpAdd( ccp(0,34), pos ) ]; - [_SPFLabel setPosition: ccpAdd( ccp(0,17), pos ) ]; - [_FPSLabel setPosition: pos ]; + if( _FPSLabel && _SPFLabel ) { + _FPSLabel = nil; + _SPFLabel = nil; + _drawsLabel = nil; + + [[CCFileUtils sharedFileUtils] purgeCachedEntries]; + } + + CCTexturePixelFormat currentFormat = [CCTexture defaultAlphaPixelFormat]; + [CCTexture setDefaultAlphaPixelFormat:CCTexturePixelFormat_RGBA4444]; + + unsigned char *data; + NSUInteger data_len; + CGFloat contentScale = 0; + [self getFPSImageData:&data length:&data_len contentScale:&contentScale]; + + NSData *nsdata = [NSData dataWithBytes:data length:data_len]; + CGDataProviderRef imgDataProvider = CGDataProviderCreateWithCFData( (__bridge CFDataRef) nsdata); + CGImageRef imageRef = CGImageCreateWithPNGDataProvider(imgDataProvider, NULL, true, kCGRenderingIntentDefault); + CCTexture *texture = [[CCTexture alloc] initWithCGImage:imageRef contentScale:contentScale]; + CGDataProviderRelease(imgDataProvider); + CGImageRelease(imageRef); + + _FPSLabel = [[CCFPSLabel alloc] initWithString:@"00.0" texture:texture]; + _SPFLabel = [[CCFPSLabel alloc] initWithString:@"0.000" texture:texture]; + _drawsLabel = [[CCFPSLabel alloc] initWithString:@"000" texture:texture]; + + [CCTexture setDefaultAlphaPixelFormat:currentFormat]; + + CGPoint offset = [self convertToGL:ccp(0, (self.flipY == 1.0) ? 0 : self.view.bounds.size.height)]; + CGPoint pos = ccpAdd(CC_DIRECTOR_STATS_POSITION, offset); + [_drawsLabel setPosition: ccpAdd( ccp(0,34), pos ) ]; + [_SPFLabel setPosition: ccpAdd( ccp(0,17), pos ) ]; + [_FPSLabel setPosition: pos ]; } @end diff --git a/cocos2d/CCDirector_Private.h b/cocos2d/CCDirector_Private.h deleted file mode 100644 index c0ba9dc54b0..00000000000 --- a/cocos2d/CCDirector_Private.h +++ /dev/null @@ -1,111 +0,0 @@ -/* - * cocos2d for iPhone: http://www.cocos2d-iphone.org - * - * Copyright (c) 2013-2014 Cocos2D Authors - * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in - * all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - * THE SOFTWARE. - */ - -#import "CCDirector.h" -#import "CCTransition.h" - -@interface CCDirector () { - @protected - GLKMatrix4 _projectionMatrix; - __weak id _delegate; - __weak NSThread *_runningThread; -} - -/* Whether or not the replaced scene will receive the cleanup message. - If the new scene is pushed, then the old scene won't receive the "cleanup" message. - If the new scene replaces the old one, the it will receive the "cleanup" message. - */ -@property (nonatomic, readonly) BOOL sendCleanupToScene; - -/* This object will be visited after the main scene is visited. - This object MUST implement the "visit" selector. - Useful to hook a notification object, like CCNotifications (http://github.com/manucorporat/CCNotifications) - */ -@property (nonatomic, readwrite, strong) id notificationNode; - -/* CCScheduler associated with this director - */ -@property (nonatomic,readwrite,strong) CCScheduler *scheduler; - -/* CCActionManager associated with this director - */ -@property (nonatomic,readwrite,strong) CCActionManager *actionManager; - -/* CCFixedActionManager associated with this director - */ -@property (nonatomic,readwrite,strong) CCActionManager *actionManagerFixed; - - -/// Rect of the visible screen area in GL coordinates. -@property(nonatomic, readonly) CGRect viewportRect; - -/* Sets the glViewport*/ --(void) setViewport; - -/// XXX: missing description --(float) getZEye; - -/* Pops out all scenes from the queue until it reaches `level`. - If level is 0, it will end the director. - If level is 1, it will pop all scenes until it reaches to root scene. - If level is <= than the current stack level, it won't do anything. - */ --(void) popToSceneStackLevel:(NSUInteger)level; - -/* Draw the scene. - This method is called every frame. Don't call it manually. - */ --(void) drawScene; - -- (void)startTransition:(CCTransition *)transition; - -/// Get a renderer object to use for rendering. -/// This method is thread safe. --(CCRenderer *)rendererFromPool; - -/// Return a renderer to a pool after rendering. -/// This method is thread safe. --(void)poolRenderer:(CCRenderer *)renderer; - -/// Add a block to be called when the GPU finishes rendering a frame. -/// This is used to pool rendering resources (renderers, buffers, textures, etc) without stalling the GPU pipeline. --(void)addFrameCompletionHandler:(dispatch_block_t)handler; - -@end - - -@interface CCDirector(Stats) - --(void) createStatsLabel; - -@end - -@interface CCTransition (Private) - -- (void)startTransition:(CCScene *)scene; - -@end - -// optimization. Should only be used to read it. Never to write it. -extern NSUInteger __ccNumberOfDraws; diff --git a/cocos2d/CCDrawNode.m b/cocos2d/CCDrawNode.m index e523a2dc37d..3a702243ea9 100644 --- a/cocos2d/CCDrawNode.m +++ b/cocos2d/CCDrawNode.m @@ -30,7 +30,6 @@ #import "CCDrawNode.h" #import "CCShader.h" #import "Support/CGPointExtension.h" -#import "CCNode_Private.h" #import "CCColor.h" #import "CCConfiguration.h" #import "CCMetalSupport_Private.h" @@ -46,17 +45,10 @@ @" cc_FragTexCoord1 = cc_TexCoord1;\n" @"}\n"; -#ifdef ANDROID // Many Android devices do NOT support GL_OES_standard_derivatives correctly -static NSString *CCDrawNodeFragmentShaderSource = - @"void main(){\n" - @" gl_FragColor = cc_FragColor*step(0.0, 1.0 - length(cc_FragTexCoord1));\n" - @"}\n"; -#else static NSString *CCDrawNodeFragmentShaderSource = @"void main(){\n" @" gl_FragColor = cc_FragColor*smoothstep(0.0, length(fwidth(cc_FragTexCoord1)), 1.0 - length(cc_FragTexCoord1));\n" @"}\n"; -#endif @implementation CCDrawNode { GLsizei _vertexCount, _vertexCapacity; diff --git a/cocos2d/CCEffect.h b/cocos2d/CCEffect.h deleted file mode 100644 index 6f32cb05528..00000000000 --- a/cocos2d/CCEffect.h +++ /dev/null @@ -1,50 +0,0 @@ -// -// CCEffect.h -// cocos2d-ios -// -// Created by Oleg Osin on 3/29/14. -// -// - -#import -#import "CCSprite.h" -#import "CCShader.h" -#import "ccConfig.h" -#import "ccTypes.h" - - -/** - CCEffect is the abstract base class of the Cocos2D effects classes. Subclasses of CCEffect can be used to easily add exciting - visual effects such has blur, bloom, reflection, refraction, and other image processing filters to your applications. - - ### Subclasses - - - CCEffectBloom - - CCEffectBlur, CCEffectPixellate - - CCEffectBrightness, CCEffectContrast, CCEffectHue, CCEffectSaturation, CCEffectInvert, CCEffectColorChannelOffset - - CCEffectDropShadow - - CCEffectGlass, CCEffectReflection, CCEffectRefraction - - CCEffectLighting - - CCEffectStack - - Experimental as of v3.4: CCEffectDistanceField, CCEffectDFInnerGlow, CCEffectDFOutline - */ -@interface CCEffect : NSObject - -/// ----------------------------------------------------------------------- -/// @name Effect Properties -/// ----------------------------------------------------------------------- - -/** An identifier for debugging effects. - * @since v3.2 and later -*/ -@property (nonatomic, copy) NSString *debugName; - -/** Padding in points that will be applied to affected sprites to avoid clipping the - * effect's visuals at the sprite's boundary. For example, if you create a blur effect - * whose radius will animate over time but will never exceed 8 points then you should - * set the padding to at least 8 to avoid clipping. - * @since v3.2 and later - */ -@property (nonatomic, assign) CGSize padding; - -@end diff --git a/cocos2d/CCEffectDropShadow_dist.h b/cocos2d/CCEffectDropShadow_dist.h deleted file mode 100644 index b34b11ede04..00000000000 --- a/cocos2d/CCEffectDropShadow_dist.h +++ /dev/null @@ -1,71 +0,0 @@ -// -// CCEffectDropShadow.h -// cocos2d-ios -// -// Created by Oleg Osin on 8/7/14. -// -// - -#import "CCEffect.h" - -/** - * CCEffectDropShadow create a drop shadow. - * - */ - -@interface CCEffectDropShadow : CCEffect - -/// ----------------------------------------------------------------------- -/// @name Accessing Effect Attributes -/// ----------------------------------------------------------------------- - -/** Adjust which direction the shadow should point. A value of (5.0, -5,0) will - * place the drop shadow at the bottom right. - */ -@property (nonatomic) GLKVector2 shadowOffset; - -/** Color of the shadow, - * [CCColor blackColor] will result in an opaque black drop shadow. - */ -@property (nonatomic) CCColor* shadowColor; - -/// ----------------------------------------------------------------------- -/// @name Initializing a CCEffectDropShadow object -/// ----------------------------------------------------------------------- - -/** - * Initializes a CCEffectDropShadow object with a (5, -5) black drop shadow offset . - * - * @return The CCEffectDropShadow object. - */ --(id)init; - -/** - * Initializes a CCEffectDropShadow object with the supplied parameters. - * - * @param shadowOffset A value of (5.0, -5,0) will place the drop shadow at the bottom right. - * @param shadowColor Color of the shadow, a [CCColor blackColor] will result in an opaque black drop shadow. - * - * @return The CCEffectDropShadow object. - */ --(id)initWithShadowOffset:(GLKVector2)shadowOffset shadowColor:(CCColor*)shadowColor; - - -/// ----------------------------------------------------------------------- -/// @name Creating a CCEffectDropShadow object -/// ----------------------------------------------------------------------- - -/** - * Initializes a CCEffectDropShadow object with the supplied parameters. - * - * @param shadowOffset A value of (5.0, -5,0) will place the drop shadow at the bottom right. - * @param shadowColor Color of the shadow, a [CCColor blackColor] will result in an opaque black drop shadow. - * - * @return The CCEffectDropShadow object. - */ -+(id)effectWithShadowOffset:(GLKVector2)shadowOffset shadowColor:(CCColor*)shadowColor; - - -@end - - diff --git a/cocos2d/CCEffectDropShadow_dist.m b/cocos2d/CCEffectDropShadow_dist.m deleted file mode 100644 index 08a9400e45d..00000000000 --- a/cocos2d/CCEffectDropShadow_dist.m +++ /dev/null @@ -1,132 +0,0 @@ -// -// CCEffectDropShadow.m -// cocos2d-ios -// -// Created by Oleg Osin on 8/7/14. -// -// - -#import "CCEffectDropShadow.h" -#import "CCEffect_Private.h" -#import "CCRenderer.h" -#import "CCTexture.h" - -@implementation CCEffectDropShadow - --(id)init -{ - return [self initWithShadowOffset:GLKVector2Make(5, -5) shadowColor:[CCColor blackColor]]; -} - --(id)initWithShadowOffset:(GLKVector2)shadowOffset shadowColor:(CCColor*)shadowColor -{ - NSArray *uniforms = @[ - [CCEffectUniform uniform:@"vec2" name:@"u_shadowOffset" value:[NSValue valueWithGLKVector2:shadowOffset]], - [CCEffectUniform uniform:@"vec4" name:@"u_shadowColor" value: [NSValue valueWithGLKVector4:shadowColor.glkVector4]], - ]; - - if((self = [super initWithFragmentUniforms:uniforms vertexUniforms:nil varyings:nil])) - { - _shadowColor = shadowColor; - _shadowOffset = shadowOffset; - self.debugName = @"CCEffectDropShadow"; - } - return self; -} - -+(id)effectWithShadowOffset:(GLKVector2)shadowOffset shadowColor:(CCColor*)shadowColor -{ - return [[self alloc] initWithShadowOffset:shadowOffset shadowColor:shadowColor]; -} - --(void)buildFragmentFunctions -{ - self.fragmentFunctions = [[NSMutableArray alloc] init]; - - NSString* effectBody = CC_GLSL( - - vec4 outputColor = texture2D(cc_MainTexture, cc_FragTexCoord1); - - // Grab the alpha at the shadowOffset, we will use this to determine the shadow alpha and if a - // shadowColor should be added at all. - float shadowOffsetAlpha = texture2D(cc_MainTexture, cc_FragTexCoord1 - u_shadowOffset).a; - - vec4 shadowColor = u_shadowColor*shadowOffsetAlpha; - outputColor = outputColor + (1.0 - outputColor.a) * shadowColor; - -// vec4 shadowColor = vec4(u_shadowColor.rgb, shadowOffsetAlpha * u_shadowColor.a); - -// // Since we use premultiplied alpha, we need to be careful and avoid changing the -// // output color of every fragment. If we add a non-zero shadowColor to the output, then -// // we will end up tinting the whole quad with a shadowColor. -// const float alphaThreshold = 0.2; // Maybe make this a uniform? it's kind of hacky.. -// if(shadowOffsetAlpha < alphaThreshold) -// return outputColor; //shadowColor = vec4(0.0); -// -// // Ensures that the cc_MainTexture color does not get over written by the shadowcolor -// outputColor = outputColor + (1.0 - outputColor.a) * shadowColor; - - - const float sampleDist = 1.0; - const float sampleStrength = 2.2; - - float samples[10]; - samples[0] = -0.08; - samples[1] = -0.05; - samples[2] = -0.03; - samples[3] = -0.02; - samples[4] = -0.01; - samples[5] = 0.01; - samples[6] = 0.02; - samples[7] = 0.03; - samples[8] = 0.05; - samples[9] = 0.08; - - vec2 dir = 0.5 - cc_FragTexCoord1; - float dist = sqrt(dir.x*dir.x + dir.y*dir.y); - dir = dir/dist; - - vec4 sum = outputColor; - - for (int i = 0; i < 10; i++) - sum += texture2D( cc_MainTexture, cc_FragTexCoord1 + dir * samples[i] * sampleDist ); - - sum *= 1.0/11.0; - float t = dist * sampleStrength; - t = clamp( t ,0.0,1.0); - - outputColor = mix( outputColor, sum, t ); - - return outputColor; - ); - - CCEffectFunction* fragmentFunction = [[CCEffectFunction alloc] initWithName:@"dropShadowEffect" - body:effectBody inputs:nil returnType:@"vec4"]; - [self.fragmentFunctions addObject:fragmentFunction]; -} - --(void)buildRenderPasses -{ - __weak CCEffectDropShadow *weakSelf = self; - - CCEffectRenderPass *pass0 = [[CCEffectRenderPass alloc] init]; - pass0.debugLabel = @"CCEffectDropShadow pass 0"; - pass0.shader = self.shader; - pass0.blendMode = [CCBlendMode premultipliedAlphaMode]; - pass0.beginBlocks = @[[^(CCEffectRenderPass *pass, CCTexture *previousPassTexture){ - - pass.shaderUniforms[CCShaderUniformMainTexture] = previousPassTexture; - pass.shaderUniforms[CCShaderUniformPreviousPassTexture] = previousPassTexture; - - GLKVector2 offset = GLKVector2Make(weakSelf.shadowOffset.x / previousPassTexture.contentSize.width, weakSelf.shadowOffset.y / previousPassTexture.contentSize.height); - - pass.shaderUniforms[weakSelf.uniformTranslationTable[@"u_shadowOffset"]] = [NSValue valueWithGLKVector2:offset]; - pass.shaderUniforms[weakSelf.uniformTranslationTable[@"u_shadowColor"]] = [NSValue valueWithGLKVector4:weakSelf.shadowColor.glkVector4]; - - } copy]]; - - self.renderPasses = @[pass0]; -} - -@end - diff --git a/cocos2d/CCEffectStack_Private.h b/cocos2d/CCEffectStack_Private.h deleted file mode 100644 index d73f5bcf58a..00000000000 --- a/cocos2d/CCEffectStack_Private.h +++ /dev/null @@ -1,19 +0,0 @@ -// -// CCEffectStack_Private.h -// cocos2d-ios -// -// Created by Thayer J Andrews on 5/7/14. -// -// - -#import "CCEffectStack.h" -#import "CCEffectStackProtocol.h" - - -@interface CCEffectStack () - -@property (nonatomic, assign) BOOL stitchingEnabled; -@property (nonatomic, readonly) NSArray *effects; -@property (nonatomic, readonly) NSArray *flattenedEffects; - -@end diff --git a/cocos2d/CCLabelBMFont.h b/cocos2d/CCLabelBMFont.h index 36fa5bde402..0258e785001 100644 --- a/cocos2d/CCLabelBMFont.h +++ b/cocos2d/CCLabelBMFont.h @@ -183,5 +183,131 @@ @end +enum { + kCCLabelAutomaticWidth = -1, +}; +// ccBMFontDef BMFont definition. +typedef struct _BMFontDef { + + // ID of the character. + unichar charID; + + // Origin and size of the font + CGRect rect; + + // The X amount the image should be offset when drawing the image (in pixels) + short xOffset; + + // The Y amount the image should be offset when drawing the image (in pixels) + short yOffset; + + // The amount to move the current position after drawing the character (in pixels) + short xAdvance; + +} ccBMFontDef; + +// cBMFontPadding BMFont padding. +typedef struct _BMFontPadding { + + // Padding left. + int left; + + // Padding top. + + int top; + // Padding right. + + int right; + + // Padding bottom. + int bottom; + +} ccBMFontPadding; + +#pragma mark - Hash Element +// tCCFontDefHashElement. +typedef struct _FontDefHashElement { + + // Key. Font Unicode value. + NSUInteger key; + + // Font definition. + ccBMFontDef fontDef; + + UT_hash_handle hh; + +} tCCFontDefHashElement; + +// tCCKerningHashElement. +typedef struct _KerningHashElement { + + // Key for the hash. 16-bit for 1st element, 16-bit for 2nd element. + int key; + + // Kerning value. + int amount; + + // Had Handle. + UT_hash_handle hh; + +} tCCKerningHashElement; + +// CCBMFontConfiguration stores the parsed configuration of the specified .fnt file. +@interface CCBMFontConfiguration : NSObject { + + // The character set defines the letters that actually exist in the font. + NSCharacterSet *_characterSet; + + // The atlas name. + NSString *_atlasName; + +@public + + // BMFont definitions. + tCCFontDefHashElement *_fontDefDictionary; + + // FNTConfig: Common Height. + NSInteger _commonHeight; + + // Padding. + ccBMFontPadding _padding; + + // Values for kerning. + tCCKerningHashElement *_kerningDictionary; +} + +/// ----------------------------------------------------------------------- +/// @name Accessing the Configuration Attributes +/// ----------------------------------------------------------------------- + +// The character set defines the letters that actually exist in the font. +@property (nonatomic, strong, readonly) NSCharacterSet *characterSet; + +// The atlas name. +@property (nonatomic, readwrite, strong) NSString *atlasName; + +// Creates and returns a CCBMFontConfiguration object from a specified font file value. ++(instancetype) configurationWithFNTFile:(NSString*)FNTfile; + + +/// ----------------------------------------------------------------------- +/// @name Initializing a CCLabelBMFont Object +/// ----------------------------------------------------------------------- + +// Initializes and returns a CCBMFontConfiguration object from a specified font file value. +-(id) initWithFNTfile:(NSString*)FNTfile; + +@end + + +/// ----------------------------------------------------------------------- +/// @name Free Functions +/// ----------------------------------------------------------------------- + +// Load/Cache font configuration file and return object. +CCBMFontConfiguration* FNTConfigLoadFile(NSString *file); + +// Clear font configuration cache. +void FNTConfigRemoveCache(void); diff --git a/cocos2d/CCLabelBMFont.m b/cocos2d/CCLabelBMFont.m index 8e830e10179..c60393a23b9 100644 --- a/cocos2d/CCLabelBMFont.m +++ b/cocos2d/CCLabelBMFont.m @@ -45,8 +45,6 @@ #import "Support/CCFileUtils.h" #import "Support/CGPointExtension.h" #import "Support/uthash.h" -#import "CCLabelBMFont_Private.h" -#import "CCSprite_Private.h" #pragma mark - #pragma mark FNTConfig Cache - free functions diff --git a/cocos2d/CCLabelBMFont_Private.h b/cocos2d/CCLabelBMFont_Private.h deleted file mode 100644 index 1eeb1633b0f..00000000000 --- a/cocos2d/CCLabelBMFont_Private.h +++ /dev/null @@ -1,158 +0,0 @@ -/* - * cocos2d for iPhone: http://www.cocos2d-iphone.org - * - * Copyright (c) 2013-2014 Cocos2D Authors - * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in - * all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - * THE SOFTWARE. - */ - -#import "CCLabelBMFont.h" - -enum { - kCCLabelAutomaticWidth = -1, -}; - -// ccBMFontDef BMFont definition. -typedef struct _BMFontDef { - - // ID of the character. - unichar charID; - - // Origin and size of the font - CGRect rect; - - // The X amount the image should be offset when drawing the image (in pixels) - short xOffset; - - // The Y amount the image should be offset when drawing the image (in pixels) - short yOffset; - - // The amount to move the current position after drawing the character (in pixels) - short xAdvance; - -} ccBMFontDef; - -// cBMFontPadding BMFont padding. -typedef struct _BMFontPadding { - - // Padding left. - int left; - - // Padding top. - - int top; - // Padding right. - - int right; - - // Padding bottom. - int bottom; - -} ccBMFontPadding; - -#pragma mark - Hash Element -// tCCFontDefHashElement. -typedef struct _FontDefHashElement { - - // Key. Font Unicode value. - NSUInteger key; - - // Font definition. - ccBMFontDef fontDef; - - UT_hash_handle hh; - -} tCCFontDefHashElement; - -// tCCKerningHashElement. -typedef struct _KerningHashElement { - - // Key for the hash. 16-bit for 1st element, 16-bit for 2nd element. - int key; - - // Kerning value. - int amount; - - // Had Handle. - UT_hash_handle hh; - -} tCCKerningHashElement; - -// CCBMFontConfiguration stores the parsed configuration of the specified .fnt file. -@interface CCBMFontConfiguration : NSObject { - - // The character set defines the letters that actually exist in the font. - NSCharacterSet *_characterSet; - - // The atlas name. - NSString *_atlasName; - -@public - - // BMFont definitions. - tCCFontDefHashElement *_fontDefDictionary; - - // FNTConfig: Common Height. - NSInteger _commonHeight; - - // Padding. - ccBMFontPadding _padding; - - // Values for kerning. - tCCKerningHashElement *_kerningDictionary; -} - -/// ----------------------------------------------------------------------- -/// @name Accessing the Configuration Attributes -/// ----------------------------------------------------------------------- - -// The character set defines the letters that actually exist in the font. -@property (nonatomic, strong, readonly) NSCharacterSet *characterSet; - -// The atlas name. -@property (nonatomic, readwrite, strong) NSString *atlasName; - - -/// ----------------------------------------------------------------------- -/// @name Creating a CCParticleSystem Object -/// ----------------------------------------------------------------------- - -// Creates and returns a CCBMFontConfiguration object from a specified font file value. -+(instancetype) configurationWithFNTFile:(NSString*)FNTfile; - - -/// ----------------------------------------------------------------------- -/// @name Initializing a CCLabelBMFont Object -/// ----------------------------------------------------------------------- - -// Initializes and returns a CCBMFontConfiguration object from a specified font file value. --(id) initWithFNTfile:(NSString*)FNTfile; - -@end - - -/// ----------------------------------------------------------------------- -/// @name Free Functions -/// ----------------------------------------------------------------------- - -// Load/Cache font configuration file and return object. -CCBMFontConfiguration* FNTConfigLoadFile(NSString *file); - -// Clear font configuration cache. -void FNTConfigRemoveCache(void); diff --git a/cocos2d/CCLabelTTF.m b/cocos2d/CCLabelTTF.m index 36aedf8435f..c7d3d19f1b1 100644 --- a/cocos2d/CCLabelTTF.m +++ b/cocos2d/CCLabelTTF.m @@ -35,16 +35,14 @@ #import "ccUtils.h" #import "NSAttributedString+CCAdditions.h" #import "CCConfiguration.h" -#import "CCNode_Private.h" #import "CCDirector.h" -#import "CCTexture_Private.h" #import #if __CC_PLATFORM_IOS #import "Platforms/iOS/CCDirectorIOS.h" #endif -#if __CC_PLATFORM_IOS || __CC_PLATFORM_ANDROID +#if __CC_PLATFORM_IOS #import #endif @@ -888,15 +886,9 @@ - (CCTexture*) createTextureWithString:(NSString*) string useFullColor:(BOOL)use } // Handle font color - - CGColorSpaceRef colorspace = CGColorSpaceCreateDeviceRGB(); - const CGFloat components[] = {_fontColor.red, _fontColor.green, _fontColor.blue, _fontColor.alpha}; - CGColorRef color = CGColorCreate(colorspace, components); - CGColorSpaceRelease(colorspace); - + CGColorRef color = _fontColor.CGColor; CGContextSetFillColorWithColor(context, color); CGContextSetStrokeColorWithColor(context, color); - CGColorRelease(color); [self drawString:string withFont:font inContext:context inRect:drawArea]; @@ -974,9 +966,7 @@ + (NSString*) registerCustomTTF:(NSString *)fontFile NSString *fontName = nil; BOOL needsCGFontFailback = NO; -#if __CC_PLATFORM_ANDROID - needsCGFontFailback = YES; -#endif + if (needsCGFontFailback) { CFArrayRef descriptors = CTFontManagerCreateFontDescriptorsFromURL((__bridge CFURLRef)fontURL); if (!descriptors || CFArrayGetCount(descriptors)<1) { diff --git a/cocos2d/CCLayout.m b/cocos2d/CCLayout.m index 9a798d481cb..5cc6b9926d5 100644 --- a/cocos2d/CCLayout.m +++ b/cocos2d/CCLayout.m @@ -24,7 +24,6 @@ */ #import "CCLayout.h" -#import "CCNode_Private.h" @implementation CCLayout diff --git a/cocos2d/CCLayoutBox.m b/cocos2d/CCLayoutBox.m old mode 100644 new mode 100755 index d10cb856efe..f55e2b57fd7 --- a/cocos2d/CCLayoutBox.m +++ b/cocos2d/CCLayoutBox.m @@ -26,7 +26,6 @@ #import "CCLayoutBox.h" #import "ccMacros.h" #import "CGPointExtension.h" -#import "CCNode_Private.h" @implementation CCLayoutBox @@ -44,7 +43,7 @@ - (void) layout float maxHeight = 0; for (CCNode* child in self.children) { - float height = child.contentSizeInPoints.height; + float height = [child boundingBox].size.height; if (height > maxHeight) maxHeight = height; } @@ -52,11 +51,11 @@ - (void) layout float width = 0; for (CCNode* child in self.children) { - CGSize childSize = child.contentSizeInPoints; + CGSize childSize = [child boundingBox].size; - CGPoint offset = child.anchorPointInPoints; + CGPoint offset = child.anchorPoint; CGPoint localPos = ccp(roundf(width), roundf((maxHeight-childSize.height)/2.0f)); - CGPoint position = ccpAdd(localPos, offset); + CGPoint position = ccpAdd(localPos, CGPointMake(offset.x * childSize.width, offset.y * childSize.height)); child.position = position; child.positionType = CCPositionTypePoints; @@ -78,7 +77,7 @@ - (void) layout float maxWidth = 0; for (CCNode* child in self.children) { - float width = child.contentSizeInPoints.width; + float width = [child boundingBox].size.width; if (width > maxWidth) maxWidth = width; } @@ -86,11 +85,11 @@ - (void) layout float height = 0; for (CCNode* child in self.children) { - CGSize childSize = child.contentSizeInPoints; + CGSize childSize = [child boundingBox].size; - CGPoint offset = child.anchorPointInPoints; + CGPoint offset = child.anchorPoint; CGPoint localPos = ccp(roundf((maxWidth-childSize.width)/2.0f), roundf(height)); - CGPoint position = ccpAdd(localPos, offset); + CGPoint position = ccpAdd(localPos, CGPointMake(offset.x * childSize.width, offset.y * childSize.height)); child.position = position; child.positionType = CCPositionTypePoints; diff --git a/cocos2d/CCLightNode_Private.h b/cocos2d/CCLightNode_Private.h deleted file mode 100644 index 53eda5cd2a6..00000000000 --- a/cocos2d/CCLightNode_Private.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * cocos2d for iPhone: http://www.cocos2d-iphone.org - * - * Copyright (c) 2013-2014 Cocos2D Authors - * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in - * all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - * THE SOFTWARE. - */ - -#import "CCLightNode.h" -#import "CCLightGroups.h" - - -@interface CCLightNode () - -@property (nonatomic, assign) CCLightGroupMask groupMask; - -@end diff --git a/cocos2d/CCNoARC.m b/cocos2d/CCNoARC.m index 6981955b029..3e882d6a6df 100644 --- a/cocos2d/CCNoARC.m +++ b/cocos2d/CCNoARC.m @@ -1,8 +1,9 @@ -#import "CCTexture_Private.h" -#import "CCNode_Private.h" -#import "CCSprite_Private.h" #import "CCRenderer_Private.h" -#import "CCShader_Private.h" + +#if CC_EFFECTS +#import "CCEffect.h" +#import "CCEffectRenderer.h" +#endif #if __CC_METAL_SUPPORTED_AND_ENABLED #import "CCMetalSupport_Private.h" @@ -86,7 +87,7 @@ @implementation CCSprite(NoARC) -(void)draw:(CCRenderer *)renderer transform:(const GLKMatrix4 *)transform; { if(!CCRenderCheckVisbility(transform, _vertexCenter, _vertexExtents)) return; - +#if CC_EFFECTS if (_effect) { _effectRenderer.contentSize = self.contentSizeInPoints; @@ -104,6 +105,7 @@ -(void)draw:(CCRenderer *)renderer transform:(const GLKMatrix4 *)transform; [_effectRenderer drawSprite:self withEffect:self.effect uniforms:_shaderUniforms renderer:renderer transform:transform]; } else +#endif { EnqueueTriangles(self, renderer, transform); } @@ -389,7 +391,7 @@ @implementation CCRenderStateMetal { pipelineStateDescriptor.colorAttachments[0] = colorDescriptor; NSError *err = nil; - self->_renderPipelineState = [[context.device newRenderPipelineStateWithDescriptor:pipelineStateDescriptor error:&err] retain]; + self->_renderPipelineState = [context.device newRenderPipelineStateWithDescriptor:pipelineStateDescriptor error:&err]; if(err) CCLOG(@"Error creating metal render pipeline state. %@", err); NSCAssert(self->_renderPipelineState, @"Could not create render pipeline state."); diff --git a/cocos2d/CCNode+Debug.m b/cocos2d/CCNode+Debug.m index ad3d09b167b..c5e7d99938f 100644 --- a/cocos2d/CCNode+Debug.m +++ b/cocos2d/CCNode+Debug.m @@ -24,7 +24,6 @@ */ #import "CCNode+Debug.h" -#import "CCNode_Private.h" #if DEBUG diff --git a/cocos2d/CCNode.h b/cocos2d/CCNode.h index c7fdbe3b592..686cbad133c 100644 --- a/cocos2d/CCNode.h +++ b/cocos2d/CCNode.h @@ -110,7 +110,7 @@ - CCSizeUnitInset - The content size will be the size of it's parent container, but inset by a number of points. - CCSizeUnitInsetScaled - The content size will be the size of it's parent container, but inset by a number of points multiplied by the UIScaleFactor. - Even if the positions and content sizes are not set in points you can use actions to animate the nodes. See the examples and tests for more information on how to set positions and content sizes, or use SpriteBuilder to easily play around with the settings. There are also more positioning options available by using CCLayout and CCLayoutBox. + Even if the positions and content sizes are not set in points you can use actions to animate the nodes. See the examples and tests for more information on how to set positions and content sizes, or use CocosBuilder to easily play around with the settings. There are also more positioning options available by using CCLayout and CCLayoutBox. #### Prefer to use ..InPoints @@ -145,12 +145,10 @@ is called. This offers an opportunity for the node to carry out any cleanup such as removing possible circular references that might cause a memory leak. - CCNode implements a base level of functionality for cleanup and if your subclass needs to implement it, you will need to import CCNode_Private.h. - @note that if you override cleanup, you must call [super cleanup] after any cleanup of your own. */ -@interface CCNode : CCResponder < CCSchedulerTarget > { +@interface CCNode : CCResponder < CCSchedulerTarget, CCShaderProtocol, CCBlendProtocol, CCTextureProtocol> { // Rotation angle. float _rotationalSkewX, _rotationalSkewY; @@ -234,6 +232,16 @@ // Number of paused parent or ancestor nodes. int _pausedAncestors; + +@protected + CCRenderState *_renderState; + + CCShader *_shader; + NSMutableDictionary *_shaderUniforms; + + CCBlendMode *_blendMode; + CCTexture *_texture; + } @@ -698,7 +706,7 @@ -(NSUInteger) numberOfRunningActions; /// ----------------------------------------------------------------------- -/// @name SpriteBuilder Animation Manager +/// @name CocosBuilder Animation Manager /// ----------------------------------------------------------------------- /** @@ -707,7 +715,7 @@ @note The animationManager property is nil during a node's init methods. @see CCAnimationManager */ -@property (nonatomic, readonly) CCAnimationManager * animationManager; +@property (nonatomic, assign, readwrite) CCAnimationManager * animationManager; /// ----------------------------------------------------------------------- @@ -1127,8 +1135,79 @@ */ @property(nonatomic, strong) CCPhysicsBody *physicsBody; +/// Returns true if the node is not using custom uniforms. +-(BOOL)hasDefaultShaderUniforms; + +/// Cache and return the current render state. +/// Should be set to nil whenever changing a property that affects the renderstate. +@property(nonatomic, strong) CCRenderState *renderState; + +/* The real openGL Z vertex. + Differences between openGL Z vertex and cocos2d Z order: + - OpenGL Z modifies the Z vertex, and not the Z order in the relation between parent-children + - OpenGL Z might require to set 2D projection + - cocos2d Z order works OK if all the nodes uses the same openGL Z vertex. eg: vertexZ = 0 + @warning: Use it at your own risk since it might break the cocos2d parent-children z order + */ +@property (nonatomic,readwrite) float vertexZ; + +@property (nonatomic,readonly) BOOL isPhysicsNode; + +/* used internally for zOrder sorting, don't change this manually */ +@property(nonatomic,readwrite) NSUInteger orderOfArrival; + +/* CCActionManager used by all the actions. + IMPORTANT: If you set a new CCActionManager, then previously created actions are going to be removed. + */ +@property (nonatomic, readwrite, strong) CCActionManager *actionManager; + +/* CCScheduler used to schedule all "updates" and timers. + IMPORTANT: If you set a new CCScheduler, then previously created timers/update are going to be removed. + */ +@property (nonatomic, readwrite, strong) CCScheduler *scheduler; + +/* Compares two nodes in respect to zOrder and orderOfArrival (used for sorting sprites in display list) */ +- (NSComparisonResult) compareZOrderToNode:(CCNode*)node; + +/* Reorders a child according to a new z value. + * The child MUST be already added. + */ +-(void) reorderChild:(CCNode*)child z:(NSInteger)zOrder; + +/* performance improvement, Sort the children array once before drawing, instead of every time when a child is added or reordered + don't call this manually unless a child added needs to be removed in the same frame */ +- (void) sortAllChildren; + +/* Event that is called when the running node is no longer running (eg: its CCScene is being removed from the "stage" ). + On cleanup you should break any possible circular references. + CCNode's cleanup removes any possible scheduled timer and/or any possible action. + If you override cleanup, you must call [super cleanup] after any cleanup of your own. + */ +-(void) cleanup __attribute__((objc_requires_super)); + +///* performs OpenGL view-matrix transformation of its ancestors. +// Generally the ancestors are already transformed, but in certain cases (eg: attaching a FBO) it is necessary to transform the ancestors again. +// */ +//-(void) transformAncestors; + +/* final method called to actually remove a child node from the children. + * @param node The child node to remove + * @param cleanup Stops all scheduled events and actions + */ +-(void) detachChild:(CCNode *)child cleanup:(BOOL)doCleanup; + +- (void) contentSizeChanged; +- (void) parentsContentSizeChanged; + @end +CGPoint NodeToPhysicsScale(CCNode * node); +float NodeToPhysicsRotation(CCNode *node); +CGAffineTransform NodeToPhysicsTransform(CCNode *node); +CGAffineTransform RigidBodyToParentTransform(CCNode *node, CCPhysicsBody *body); +CGPoint GetPositionFromBody(CCNode *node, CCPhysicsBody *body); +CGPoint TransformPointAsVector(CGPoint p, CGAffineTransform t); +CGAffineTransform CGAffineTransformMakeRigid(CGPoint translate, CGFloat radians); @interface CCNode(NoARC) diff --git a/cocos2d/CCNode.m b/cocos2d/CCNode.m index 606c2f3f9b0..21b21e5b777 100644 --- a/cocos2d/CCNode.m +++ b/cocos2d/CCNode.m @@ -26,21 +26,21 @@ */ #import "CCNode.h" -#import "CCNode_Private.h" #import "CCDirector.h" #import "CCActionManager.h" +#if CC_CCBREADER #import "CCAnimationManager.h" +#endif #import "CCScheduler.h" #import "ccConfig.h" #import "ccMacros.h" #import "Support/CGPointExtension.h" #import "ccMacros.h" #import "CCShader.h" +#if CC_PHYSICS #import "CCPhysics+ObjectiveChipmunk.h" -#import "CCDirector_Private.h" +#endif #import "CCRenderer_Private.h" -#import "CCTexture_Private.h" -#import "CCActionManager_Private.h" #if CC_NODE_RENDER_SUBPIXEL #define RENDER_IN_SUBPIXEL @@ -109,12 +109,13 @@ @implementation CCNode { } +#if CC_PHYSICS inline CGAffineTransform RigidBodyToParentTransform(CCNode *node, CCPhysicsBody *body) { return CGAffineTransformConcat(body.absoluteTransform, CGAffineTransformInvert(NodeToPhysicsTransform(node.parent))); } - +#endif // XXX: Yes, nodes might have a sort problem once every 15 days if the game runs at 60 FPS and each frame sprites are reordered. static NSUInteger globalOrderOfArrival = 1; @@ -200,9 +201,10 @@ - (void)cleanup // timers [_children makeObjectsPerformSelector:@selector(cleanup)]; - - // CCAnimationManager Cleanup (Set by SpriteBuilder) +#if CC_CCBREADER + // CCAnimationManager Cleanup (Set by CocosBuilder) [_animationManager performSelector:@selector(cleanup)]; +#endif } - (NSString*) description @@ -220,6 +222,7 @@ - (void) dealloc // getters synthesized, setters explicit -(void) setRotation: (float)newRotation { +#if CC_PHYSICS CCPhysicsBody *body = GetBodyIfRunning(self); if (body) { @@ -230,6 +233,7 @@ -(void) setRotation: (float)newRotation self.position = position; } else +#endif { _rotationalSkewX = newRotation; _rotationalSkewY = newRotation; @@ -239,20 +243,26 @@ -(void) setRotation: (float)newRotation -(float) rotation { +#if CC_PHYSICS CCPhysicsBody *body = GetBodyIfRunning(self); if(body){ return -CC_RADIANS_TO_DEGREES(body.absoluteRadians) + NodeToPhysicsRotation(self.parent); - } else { + } else +#endif + { NSAssert( _rotationalSkewX == _rotationalSkewY, @"CCNode#rotation. rotationalSkewX != rotationalSkewY. Don't know which one to return"); return _rotationalSkewX; } } -(float)rotationalSkewX { +#if CC_PHYSICS CCPhysicsBody *body = GetBodyIfRunning(self); if(body){ return -CC_RADIANS_TO_DEGREES(body.absoluteRadians) + NodeToPhysicsRotation(self.parent); - } else { + } else +#endif + { return _rotationalSkewX; } } @@ -267,10 +277,13 @@ -(void) setRotationalSkewX: (float)newX -(float)rotationalSkewY { +#if CC_PHYSICS CCPhysicsBody *body = GetBodyIfRunning(self); if(body){ return -CC_RADIANS_TO_DEGREES(body.absoluteRadians) + NodeToPhysicsRotation(self.parent); - } else { + } else +#endif + { return _rotationalSkewY; } } @@ -336,6 +349,7 @@ -(CGPoint)position -(void) setPosition: (CGPoint)newPosition { +#if CC_PHYSICS CCPhysicsBody *body = GetBodyIfRunning(self); if(body){ CGPoint currentPosition = GetPositionFromBody(self, body); @@ -344,7 +358,9 @@ -(void) setPosition: (CGPoint)newPosition CGPoint delta = ccpSub(newPositionInPoints, currentPosition); body.absolutePosition = ccpAdd(body.absolutePosition, TransformPointAsVector(delta, NodeToPhysicsTransform(self.parent))); body.relativePosition = newPositionInPoints; - } else { + } else +#endif + { _position = newPosition; _isTransformDirty = _isInverseDirty = YES; } @@ -955,11 +971,13 @@ -(void)visit -(CGAffineTransform)nonRigidTransform { CGAffineTransform toPhysics = NodeToPhysicsTransform(self); - +#if CC_PHYSICS CCPhysicsBody *body = GetBodyIfRunning(self); if(body){ return CGAffineTransformConcat(toPhysics, CGAffineTransformInvert(body.absoluteTransform)); - } else { + } else +#endif + { // Body is not active yet, so this is more of a mess. :-\ // Need to guess the rigid part of the transform. float radians = CC_DEGREES_TO_RADIANS(NodeToPhysicsRotation(self)); @@ -970,8 +988,11 @@ -(CGAffineTransform)nonRigidTransform // Overriden by CCPhysicsNode to return YES. -(BOOL)isPhysicsNode {return NO;} +#if CC_PHYSICS -(CCPhysicsNode *)physicsNode {return (self.isPhysicsNode ? (CCPhysicsNode *)self : self.parent.physicsNode);} +#endif +#if CC_PHYSICS -(void)setupPhysicsBody:(CCPhysicsBody *)physicsBody { if(physicsBody){ @@ -1013,6 +1034,7 @@ -(void)setupPhysicsBody:(CCPhysicsBody *)physicsBody } } + -(void)teardownPhysics { if(_physicsBody){ @@ -1054,6 +1076,7 @@ -(void)setPhysicsBody:(CCPhysicsBody *)physicsBody _physicsBody.node = self; } } +#endif #pragma mark CCNode SceneManagement @@ -1064,13 +1087,15 @@ -(CCScene *)scene {return (self.isScene ? (CCScene *)self : self.parent.scene);} -(void) onEnter { [_children makeObjectsPerformSelector:@selector(onEnter)]; - +#if CC_PHYSICS [self setupPhysicsBody:_physicsBody]; +#endif [_scheduler scheduleTarget:self]; BOOL wasRunning = self.runningInActiveScene; _isInActiveScene = YES; - + +#if CC_PHYSICS //If there's a physics node in the hierarchy, all actions should run on a fixed timestep. BOOL hasPhysicsNode = self.physicsNode != nil; if(hasPhysicsNode && _actionManager != [CCDirector sharedDirector].actionManagerFixed) @@ -1078,15 +1103,23 @@ -(void) onEnter [[CCDirector sharedDirector].actionManagerFixed migrateActions:self from:[CCDirector sharedDirector].actionManager]; [self setActionManager:[CCDirector sharedDirector].actionManagerFixed]; } - else if(!hasPhysicsNode && _actionManager != [CCDirector sharedDirector].actionManager) + else +#endif + if( +#if CC_PHYSICS + !hasPhysicsNode && +#endif + _actionManager != [CCDirector sharedDirector].actionManager) { [[CCDirector sharedDirector].actionManager migrateActions:self from:[CCDirector sharedDirector].actionManagerFixed]; [self setActionManager:[CCDirector sharedDirector].actionManager]; } +#if CC_CCBREADER if(_animationManager) { [_animationManager performSelector:@selector(onEnter)]; } +#endif [self wasRunning:wasRunning]; } @@ -1103,8 +1136,9 @@ -(void) onExitTransitionDidStart -(void) onExit { +#if CC_PHYSICS [self teardownPhysics]; - +#endif BOOL wasRunning = self.runningInActiveScene; _isInActiveScene = NO; [self wasRunning:wasRunning]; @@ -1300,11 +1334,15 @@ -(void)wasRunning:(BOOL)wasRunning if(isRunning && !wasRunning){ [_scheduler setPaused:NO target:self]; [_actionManager resumeTarget:self]; +#if CC_CCBREADER [_animationManager setPaused:NO]; +#endif } else if(!isRunning && wasRunning){ [_scheduler setPaused:YES target:self]; [_actionManager pauseTarget:self]; +#if CC_CCBREADER [_animationManager setPaused:YES]; +#endif } } @@ -1493,12 +1531,12 @@ -(void)setPositionInPoints:(CGPoint)positionInPoints - (CGAffineTransform)nodeToParentTransform { +#if CC_PHYSICS // The body ivar cannot be changed while this method is running and it's ARC retain/release is 70% of the profile samples for this method. __unsafe_unretained CCPhysicsBody *physicsBody = GetBodyIfRunning(self); if(physicsBody){ CGAffineTransform rigidTransform; - if(physicsBody.type == CCPhysicsBodyTypeKinematic) { CGPoint anchorPointInPointsScaled = ccpCompMult(_anchorPointInPoints, @@ -1515,7 +1553,9 @@ - (CGAffineTransform)nodeToParentTransform } _transform = CGAffineTransformConcat(CGAffineTransformMakeScale(_scaleX , _scaleY), rigidTransform); - } else if ( _isTransformDirty ) { + } else +#endif + if ( _isTransformDirty ) { // Get content size CGSize contentSizeInPoints; diff --git a/cocos2d/CCNodeColor.m b/cocos2d/CCNodeColor.m index 909e9e6fed3..16ae0f424e6 100644 --- a/cocos2d/CCNodeColor.m +++ b/cocos2d/CCNodeColor.m @@ -33,8 +33,6 @@ #import "ccMacros.h" #import "CCShader.h" #import "Support/CGPointExtension.h" -#import "CCNode_Private.h" - #if __CC_PLATFORM_IOS #import "Platforms/iOS/CCDirectorIOS.h" diff --git a/cocos2d/CCNode_Private.h b/cocos2d/CCNode_Private.h deleted file mode 100644 index 8c7ca93c30c..00000000000 --- a/cocos2d/CCNode_Private.h +++ /dev/null @@ -1,113 +0,0 @@ -/* - * cocos2d for iPhone: http://www.cocos2d-iphone.org - * - * Copyright (c) 2013-2014 Cocos2D Authors - * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in - * all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - * THE SOFTWARE. - */ - -#import "CCNode.h" - -CGPoint NodeToPhysicsScale(CCNode * node); -float NodeToPhysicsRotation(CCNode *node); -CGAffineTransform NodeToPhysicsTransform(CCNode *node); -CGAffineTransform RigidBodyToParentTransform(CCNode *node, CCPhysicsBody *body); -CGPoint GetPositionFromBody(CCNode *node, CCPhysicsBody *body); -CGPoint TransformPointAsVector(CGPoint p, CGAffineTransform t); -CGAffineTransform CGAffineTransformMakeRigid(CGPoint translate, CGFloat radians); - -@interface CCNode() { - @protected - CCRenderState *_renderState; - - CCShader *_shader; - NSMutableDictionary *_shaderUniforms; - - CCBlendMode *_blendMode; - CCTexture *_texture; -} - -/// Returns true if the node is not using custom uniforms. --(BOOL)hasDefaultShaderUniforms; - -/// Cache and return the current render state. -/// Should be set to nil whenever changing a property that affects the renderstate. -@property(nonatomic, strong) CCRenderState *renderState; - -/* The real openGL Z vertex. - Differences between openGL Z vertex and cocos2d Z order: - - OpenGL Z modifies the Z vertex, and not the Z order in the relation between parent-children - - OpenGL Z might require to set 2D projection - - cocos2d Z order works OK if all the nodes uses the same openGL Z vertex. eg: vertexZ = 0 - @warning: Use it at your own risk since it might break the cocos2d parent-children z order - */ -@property (nonatomic,readwrite) float vertexZ; - -@property (nonatomic,readonly) BOOL isPhysicsNode; - -/* used internally for zOrder sorting, don't change this manually */ -@property(nonatomic,readwrite) NSUInteger orderOfArrival; - -/* CCActionManager used by all the actions. - IMPORTANT: If you set a new CCActionManager, then previously created actions are going to be removed. - */ -@property (nonatomic, readwrite, strong) CCActionManager *actionManager; - -/* CCScheduler used to schedule all "updates" and timers. - IMPORTANT: If you set a new CCScheduler, then previously created timers/update are going to be removed. - */ -@property (nonatomic, readwrite, strong) CCScheduler *scheduler; - -/* Reads and writes the animation manager for this node.*/ -@property (nonatomic, readwrite) CCAnimationManager * animationManager; - -/* Compares two nodes in respect to zOrder and orderOfArrival (used for sorting sprites in display list) */ -- (NSComparisonResult) compareZOrderToNode:(CCNode*)node; - -/* Reorders a child according to a new z value. - * The child MUST be already added. - */ --(void) reorderChild:(CCNode*)child z:(NSInteger)zOrder; - -/* performance improvement, Sort the children array once before drawing, instead of every time when a child is added or reordered - don't call this manually unless a child added needs to be removed in the same frame */ -- (void) sortAllChildren; - -/* Event that is called when the running node is no longer running (eg: its CCScene is being removed from the "stage" ). - On cleanup you should break any possible circular references. - CCNode's cleanup removes any possible scheduled timer and/or any possible action. - If you override cleanup, you must call [super cleanup] after any cleanup of your own. - */ --(void) cleanup __attribute__((objc_requires_super)); - -///* performs OpenGL view-matrix transformation of its ancestors. -// Generally the ancestors are already transformed, but in certain cases (eg: attaching a FBO) it is necessary to transform the ancestors again. -// */ -//-(void) transformAncestors; - -/* final method called to actually remove a child node from the children. - * @param node The child node to remove - * @param cleanup Stops all scheduled events and actions - */ --(void) detachChild:(CCNode *)child cleanup:(BOOL)doCleanup; - -- (void) contentSizeChanged; -- (void) parentsContentSizeChanged; - -@end diff --git a/cocos2d/CCPackageManager_private.h b/cocos2d/CCPackageManager_private.h deleted file mode 100644 index 8209d4b4ea4..00000000000 --- a/cocos2d/CCPackageManager_private.h +++ /dev/null @@ -1,10 +0,0 @@ -#import "CCPackageManager.h" - -@class CCPackageDownloadManager; - -@interface CCPackageManager() - -@property (nonatomic, strong, readwrite) NSMutableArray *packages; -@property (nonatomic, strong) CCPackageDownloadManager *downloadManager; - -@end \ No newline at end of file diff --git a/cocos2d/CCPackage_private.h b/cocos2d/CCPackage_private.h deleted file mode 100644 index 9645514d6a4..00000000000 --- a/cocos2d/CCPackage_private.h +++ /dev/null @@ -1,18 +0,0 @@ -#import -#import "CCPackageTypes.h" -#import "CCPackage.h" - -@interface CCPackage() - -@property (nonatomic, copy, readwrite) NSString *name; -@property (nonatomic, copy, readwrite) NSString *resolution; -@property (nonatomic, copy, readwrite) NSString *os; -@property (nonatomic, copy, readwrite) NSURL *remoteURL; -@property (nonatomic, copy, readwrite) NSString *folderName; -@property (nonatomic, copy, readwrite) NSURL *installRelURL; -@property (nonatomic, copy, readwrite) NSURL *localDownloadURL; -@property (nonatomic, copy, readwrite) NSURL *unzipURL; -@property (nonatomic, readwrite) BOOL enableOnDownload; -@property (nonatomic, readwrite) CCPackageStatus status; - -@end diff --git a/cocos2d/CCParticleSystemBase_Private.h b/cocos2d/CCParticleSystemBase_Private.h deleted file mode 100644 index f1e6945d198..00000000000 --- a/cocos2d/CCParticleSystemBase_Private.h +++ /dev/null @@ -1,35 +0,0 @@ -/* - * cocos2d for iPhone: http://www.cocos2d-iphone.org - * - * Copyright (c) 2013-2014 Cocos2D Authors - * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in - * all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - * THE SOFTWARE. - */ - -#import "CCParticleSystemBase.h" - -@interface CCParticleSystemBase () - -// Update. --(void) update: (CCTime) dt; - -// System full status. --(BOOL) isFull; - -@end diff --git a/cocos2d/CCParticleSystem_Private.h b/cocos2d/CCParticleSystem_Private.h deleted file mode 100644 index 91e63a0f776..00000000000 --- a/cocos2d/CCParticleSystem_Private.h +++ /dev/null @@ -1,35 +0,0 @@ -/* - * cocos2d for iPhone: http://www.cocos2d-iphone.org - * - * Copyright (c) 2013-2014 Cocos2D Authors - * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in - * all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - * THE SOFTWARE. - */ - -#import "CCParticleSystem.h" - -// OS X -@interface CCParticleSystem () -// Initilizes the texture with a rectangle measured in points. --(void) initTexCoordsWithRect:(CGRect)rect; - -// Set sprite frame for system. --(void)setSpriteFrame:(CCSpriteFrame*)spriteFrame; - -@end diff --git a/cocos2d/CCProgressNode_Private.h b/cocos2d/CCProgressNode_Private.h deleted file mode 100644 index 10facd7723e..00000000000 --- a/cocos2d/CCProgressNode_Private.h +++ /dev/null @@ -1,30 +0,0 @@ -/* - * cocos2d for iPhone: http://www.cocos2d-iphone.org - * - * Copyright (c) 2013-2014 Cocos2D Authors - * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in - * all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - * THE SOFTWARE. - */ - -#import "CCProgressNode.h" - -// OS X -@interface CCProgressNode () - -@end diff --git a/cocos2d/CCProtocols.h b/cocos2d/CCProtocols.h index 28d90ea0ca7..01384ebd4d6 100644 --- a/cocos2d/CCProtocols.h +++ b/cocos2d/CCProtocols.h @@ -175,9 +175,10 @@ -(GLKMatrix4) updateProjection; #if __CC_PLATFORM_IOS +#if !defined(__TV_OS_VERSION_MAX_ALLOWED) /** Returns a Boolean value indicating whether the CCDirector supports the specified orientation. Default value is YES (supports all possible orientations) */ - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation; - +#endif // Commented. See issue #1453 for further info: http://code.google.com/p/cocos2d-iphone/issues/detail?id=1453 //- (void)willRotateToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation duration:(NSTimeInterval)duration; diff --git a/cocos2d/CCRenderTexture.h b/cocos2d/CCRenderTexture.h index 6472e29ea4f..8690d6f0cb5 100644 --- a/cocos2d/CCRenderTexture.h +++ b/cocos2d/CCRenderTexture.h @@ -35,6 +35,8 @@ #import #endif // iPHone +@class CCFrameBufferObject; + /** * Image format when saving render textures. Used by CCRenderTexture. */ @@ -57,6 +59,29 @@ typedef NS_ENUM(NSInteger, CCRenderTextureImageFormat) There are also functions for saving the render texture to disk in PNG or JPG format. */ @interface CCRenderTexture : CCNode +{ + +@protected + GLenum _pixelFormat; + GLuint _depthStencilFormat; + + // Reference to the previous render to be restored by end. + CCRenderer *_previousRenderer; + + GLKVector4 _clearColor; + + float _contentScale; + + // Raw projection matrix used for rendering. + // For metal will be flipped on the y-axis compared to the .projection property. + GLKMatrix4 _projection; + + CCSprite* _sprite; + + CCFrameBufferObject *_framebuffer; + + BOOL _contentSizeChanged; +} /** * @name Creating a Render Texture @@ -316,5 +341,21 @@ typedef NS_ENUM(NSInteger, CCRenderTextureImageFormat) #endif // __CC_PLATFORM_IOS +-(void)createTextureAndFboWithPixelSize:(CGSize)pixelSize; + +-(void)destroy; + +-(void)assignSpriteTexture; + +@end + + + +@interface CCRenderTextureSprite : CCSprite + +@property (nonatomic, weak) CCRenderTexture *renderTexture; + +- (CGAffineTransform)nodeToWorldTransform; + @end diff --git a/cocos2d/CCRenderTexture.m b/cocos2d/CCRenderTexture.m index 6c7cead900a..3885fda6252 100644 --- a/cocos2d/CCRenderTexture.m +++ b/cocos2d/CCRenderTexture.m @@ -32,12 +32,8 @@ #import "Support/ccUtils.h" #import "Support/CCFileUtils.h" #import "Support/CGPointExtension.h" - -#import "CCTexture_Private.h" -#import "CCDirector_Private.h" -#import "CCNode_Private.h" #import "CCRenderer_Private.h" -#import "CCRenderTexture_Private.h" +#import "CCRenderTexture.h" #import "CCRenderDispatch.h" #import "CCMetalSupport_Private.h" @@ -572,5 +568,14 @@ -(void) setContentSize:(CGSize)size _contentSizeChanged = YES; } +// See issue #1271 +-(void)setShader:(CCShader *)shader { + self.sprite.shader = shader; +} + +-(CCShader *)shader +{ + return self.sprite.shader; +} @end diff --git a/cocos2d/CCRenderTexture_Private.h b/cocos2d/CCRenderTexture_Private.h deleted file mode 100644 index a7d6c950173..00000000000 --- a/cocos2d/CCRenderTexture_Private.h +++ /dev/null @@ -1,55 +0,0 @@ -// -// CCRenderTexture_Private.h -// cocos2d-ios -// -// Created by Oleg Osin on 4/24/14. -// -// - -#import "CCRenderTexture.h" - -#import "CCNode_Private.h" - -@class CCFrameBufferObject; - -@interface CCRenderTexture() { - -@protected - GLenum _pixelFormat; - GLuint _depthStencilFormat; - - // Reference to the previous render to be restored by end. - CCRenderer *_previousRenderer; - - GLKVector4 _clearColor; - - float _contentScale; - - // Raw projection matrix used for rendering. - // For metal will be flipped on the y-axis compared to the .projection property. - GLKMatrix4 _projection; - - CCSprite* _sprite; - - CCFrameBufferObject *_framebuffer; - - BOOL _contentSizeChanged; -} - --(void)createTextureAndFboWithPixelSize:(CGSize)pixelSize; --(void)destroy; - --(void)assignSpriteTexture; - -@end - - - -@interface CCRenderTextureSprite : CCSprite - -@property (nonatomic, weak) CCRenderTexture *renderTexture; - -- (CGAffineTransform)nodeToWorldTransform; - -@end - diff --git a/cocos2d/CCRenderer.m b/cocos2d/CCRenderer.m index 93419f232e7..9b6e98c88a6 100644 --- a/cocos2d/CCRenderer.m +++ b/cocos2d/CCRenderer.m @@ -27,9 +27,7 @@ #import "cocos2d.h" #import "CCRenderer_Private.h" #import "CCCache.h" -#import "CCTexture_Private.h" -#import "CCShader_private.h" -#import "CCDirector_Private.h" +#import "CCDirector.h" #import "CCRenderDispatch.h" #if __CC_METAL_SUPPORTED_AND_ENABLED diff --git a/cocos2d/CCRendererBasicTypes.m b/cocos2d/CCRendererBasicTypes.m index 466568fb34d..1db75a2a83e 100644 --- a/cocos2d/CCRendererBasicTypes.m +++ b/cocos2d/CCRendererBasicTypes.m @@ -24,7 +24,6 @@ #import "CCRendererBasicTypes.h" #import "CCRenderer_Private.h" -#import "CCTexture_Private.h" #import "CCCache.h" //MARK: Blend Option Keys. diff --git a/cocos2d/CCRendererBasicTypes_Private.h b/cocos2d/CCRendererBasicTypes_Private.h index 5f4fb5ceefc..e624cbf4d5c 100644 --- a/cocos2d/CCRendererBasicTypes_Private.h +++ b/cocos2d/CCRendererBasicTypes_Private.h @@ -87,7 +87,7 @@ CCGraphicsBufferPushElements(CCGraphicsBuffer *buffer, size_t requestedCount) CCRenderDispatch(NO, ^{[buffer resize:required*1.5];}); } - void *array = buffer->_ptr + buffer->_count*buffer->_elementSize; + void *array = (uint8_t *)buffer->_ptr + buffer->_count*buffer->_elementSize; buffer->_count += requestedCount; return array; diff --git a/cocos2d/CCRendererGLSupport.m b/cocos2d/CCRendererGLSupport.m index 13f62e27959..f3c8f6edf6d 100644 --- a/cocos2d/CCRendererGLSupport.m +++ b/cocos2d/CCRendererGLSupport.m @@ -23,7 +23,6 @@ */ #import "CCRenderer_Private.h" -#import "CCTexture_Private.h" #import "CCRenderDispatch.h" @@ -104,7 +103,6 @@ @implementation CCGraphicsBufferGLUnsynchronized { -(instancetype)initWithCapacity:(NSUInteger)capacity elementSize:(size_t)elementSize type:(CCGraphicsBufferType)type { if((self = [super initWithCapacity:capacity elementSize:elementSize type:type])){ - // TODO Does Android look up GL functions by name like Windows/Linux? _mapBufferRange = glMapBufferRangeEXT; _flushMappedBufferRange = glFlushMappedBufferRangeEXT; _unmapBuffer = glUnmapBufferOES; @@ -290,46 +288,6 @@ -(instancetype)initWithTexture:(CCTexture *)texture depthStencilFormat:(GLuint)d GLuint width = (GLuint)texture.pixelWidth; GLuint height = (GLuint)texture.pixelHeight; - -#if __CC_PLATFORM_ANDROID - - // Some android devices *only* support combined depth buffers (like all iOS devices), some android devices do not - // support combined depth buffers, thus we have to create a seperate stencil buffer - if(_depthStencilFormat) - { - //create and attach depth buffer - - if(![[CCConfiguration sharedConfiguration] supportsPackedDepthStencil]) - { - glGenRenderbuffers(1, &_depthRenderBuffer); - glBindRenderbuffer(GL_RENDERBUFFER, _depthRenderBuffer); - glRenderbufferStorage(GL_RENDERBUFFER, GL_DEPTH_COMPONENT16, width, height); //GL_DEPTH_COMPONENT24_OES - glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_RENDERBUFFER, _depthRenderBuffer); - - // if depth format is the one with stencil part, bind same render buffer as stencil attachment - if(_depthStencilFormat == GL_DEPTH24_STENCIL8) - { - glGenRenderbuffers(1, &_stencilRenderBuffer); - glBindRenderbuffer(GL_RENDERBUFFER, _stencilRenderBuffer); - glRenderbufferStorage(GL_RENDERBUFFER, GL_STENCIL_INDEX8, width, height); - glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_RENDERBUFFER, _stencilRenderBuffer); - } - } - else - { - glGenRenderbuffers(1, &_depthRenderBuffer); - glBindRenderbuffer(GL_RENDERBUFFER, _depthRenderBuffer); - glRenderbufferStorage(GL_RENDERBUFFER, _depthStencilFormat, width, height); - glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_RENDERBUFFER, _depthRenderBuffer); - - // if depth format is the one with stencil part, bind same render buffer as stencil attachment - if(_depthStencilFormat == GL_DEPTH24_STENCIL8){ - glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_RENDERBUFFER, _depthRenderBuffer); - } - } - } - -#else if(depthStencilFormat){ //create and attach depth buffer @@ -343,8 +301,6 @@ -(instancetype)initWithTexture:(CCTexture *)texture depthStencilFormat:(GLuint)d glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_RENDERBUFFER, _depthRenderBuffer); } } - -#endif // check if it worked (probably worth doing :) ) NSAssert( glCheckFramebufferStatus(GL_FRAMEBUFFER) == GL_FRAMEBUFFER_COMPLETE, @"Could not attach texture to framebuffer"); diff --git a/cocos2d/CCResponder.m b/cocos2d/CCResponder.m index e803615b28c..397edf83f93 100644 --- a/cocos2d/CCResponder.m +++ b/cocos2d/CCResponder.m @@ -29,17 +29,12 @@ #import "CCResponder.h" #import "CCDirector.h" -#import "CCDirector_Private.h" - -// ----------------------------------------------------------------- @implementation CCResponder { } -// ----------------------------------------------------------------- - - (id)init { self = [super init]; @@ -76,7 +71,7 @@ - (BOOL)hitTestWithWorldPos:(CGPoint)pos #pragma mark - iOS // ----------------------------------------------------------------- -#if __CC_PLATFORM_IOS || __CC_PLATFORM_ANDROID +#if __CC_PLATFORM_IOS - (void)touchBegan:(CCTouch *)touch withEvent:(CCTouchEvent *)event { diff --git a/cocos2d/CCResponderManager.h b/cocos2d/CCResponderManager.h index 53d977f40b3..598e4288953 100644 --- a/cocos2d/CCResponderManager.h +++ b/cocos2d/CCResponderManager.h @@ -31,17 +31,12 @@ // TODO: Grab mouse and touch by implementing onPressed, onReleased, onClicked #import - -#import "CCTouch.h" -#import "CCTouchEvent.h" - +#import "ccMacros.h" #if (TARGET_OS_IPHONE || TARGET_IPHONE_SIMULATOR) -#if !__CC_PLATFORM_ANDROID + #import #define RESPONDER UIResponder -#else -#define RESPONDER NSObject -#endif + #pragma mark - iOS Running Responder @@ -109,10 +104,6 @@ typedef NS_ENUM(NSInteger, CCMouseButton) @end -#else // __CC__PLATFORM_ANDROIDj - -#define RESPONDER NSObject - #endif #pragma mark - CCResponderManager diff --git a/cocos2d/CCResponderManager.m b/cocos2d/CCResponderManager.m index bfa7fa151a4..897fd6408ef 100644 --- a/cocos2d/CCResponderManager.m +++ b/cocos2d/CCResponderManager.m @@ -32,12 +32,11 @@ #import "CCDirector.h" #import "CCDirectorMac.h" #import "CCScene.h" -#import "CCTouch.h" // ----------------------------------------------------------------- #pragma mark - // ----------------------------------------------------------------- - +@class CCGLView; @implementation CCRunningResponder @end @@ -224,7 +223,7 @@ - (NSArray *)nodesAtPoint:(CGPoint)pos // ----------------------------------------------------------------- //#if (TARGET_OS_IPHONE || TARGET_IPHONE_SIMULATOR) -#if __CC_PLATFORM_IOS || __CC_PLATFORM_ANDROID +#if __CC_PLATFORM_IOS - (void)touchesBegan:(NSSet *)touches withEvent:(CCTouchEvent *)event { if (!_enabled) return; @@ -241,7 +240,7 @@ - (void)touchesBegan:(NSSet *)touches withEvent:(CCTouchEvent *)event // go through all touches for (CCTouch *touch in touches) { - CGPoint worldTouchLocation = [[CCDirector sharedDirector] convertToGL:[touch locationInView:(CCGLView*)[CCDirector sharedDirector].view]]; + CGPoint worldTouchLocation = [[CCDirector sharedDirector] convertToGL:[touch locationInView:[CCDirector sharedDirector].view]]; // scan backwards through touch responders for (int index = _responderListCount - 1; index >= 0; index --) @@ -318,7 +317,7 @@ - (void)touchesMoved:(NSSet *)touches withEvent:(CCTouchEvent *)event else { // as node does not lock touch, check if it was moved outside - if (![node hitTestWithWorldPos:[[CCDirector sharedDirector] convertToGL:[touch locationInView:(CCGLView*)[CCDirector sharedDirector].view]]]) + if (![node hitTestWithWorldPos:[[CCDirector sharedDirector] convertToGL:[touch locationInView:[CCDirector sharedDirector].view]]]) { // cancel the touch if ([node respondsToSelector:@selector(touchCancelled:withEvent:)]) @@ -347,7 +346,7 @@ - (void)touchesMoved:(NSSet *)touches withEvent:(CCTouchEvent *)event CCNode *node = _responderList[index]; // if the touch responder does not lock touch, it will receive a touchBegan if a touch is moved inside - if (!node.claimsUserInteraction && [node hitTestWithWorldPos:[[CCDirector sharedDirector] convertToGL:[touch locationInView:(CCGLView*)[CCDirector sharedDirector].view ]]]) + if (!node.claimsUserInteraction && [node hitTestWithWorldPos:[[CCDirector sharedDirector] convertToGL:[touch locationInView:[CCDirector sharedDirector].view]]]) { // check if node has exclusive touch if (node.isExclusiveTouch) diff --git a/cocos2d/CCScene.h b/cocos2d/CCScene.h index 23fe4edd5d9..9281193c905 100644 --- a/cocos2d/CCScene.h +++ b/cocos2d/CCScene.h @@ -26,9 +26,9 @@ */ #import "CCNode.h" - +#if CC_LIGHTING @class CCLightCollection; - +#endif /** CCScene is a subclass of CCNode. The scene represents the root node of the node hierarchy. A scene is created using the default node initializer: @@ -40,6 +40,7 @@ */ @interface CCScene : CCNode +#if CC_LIGHTING /** @name Accessing Lights */ /** A collection of lights in the scene. @@ -47,7 +48,7 @@ @since v3.4 and later */ @property (nonatomic, readonly, strong) CCLightCollection *lights; - +#endif /// ----------------------------------------------------------------------- /// @name Creating a Scene /// ----------------------------------------------------------------------- diff --git a/cocos2d/CCScene.m b/cocos2d/CCScene.m index 772e8e36d8c..d654188308f 100644 --- a/cocos2d/CCScene.m +++ b/cocos2d/CCScene.m @@ -30,9 +30,9 @@ #import "CCScene.h" #import "Support/CGPointExtension.h" #import "CCDirector.h" -#import "CCDirector_Private.h" +#if CC_LIGHTING #import "CCLightCollection.h" - +#endif // ----------------------------------------------------------------- @implementation CCScene { @@ -51,8 +51,9 @@ -( id )init { [self setContentSize:s]; self.colorRGBA = [CCColor blackColor]; - +#if CC_LIGHTING _lights = [[CCLightCollection alloc] init]; +#endif } return( self ); diff --git a/cocos2d/CCShader.h b/cocos2d/CCShader.h index 573d057aeb4..dfda1e534d9 100644 --- a/cocos2d/CCShader.h +++ b/cocos2d/CCShader.h @@ -39,11 +39,16 @@ #define CC_METAL(x) @#x #endif +@class CCRenderer; +typedef void (^CCUniformSetter)( + __unsafe_unretained CCRenderer *renderer, + __unsafe_unretained NSDictionary *shaderUniforms, + __unsafe_unretained NSDictionary *globalShaderUniforms + ); /// Macro to embed GLSL source. #define CC_GLSL(x) @#x - /// GL attribute locations for built-in Cocos2D vertex attributes. Used by CCShader. typedef NS_ENUM(NSUInteger, CCShaderAttribute){ /** Position */ @@ -72,7 +77,16 @@ extern NSString * const CCShaderUniformAlphaTestValue; /** A wrapper for OpenGL or Metal shader programs. Also gives you access to the built-in shaders used by Cocos2D. */ -@interface CCShader : NSObject +@interface CCShader : NSObject { +@public + GLuint _program; + NSDictionary *_uniformSetters; + + // TODO This should really be split into a separate subclass somehow. +#if __CC_METAL_SUPPORTED_AND_ENABLED + id _vertexFunction, _fragmentFunction; +#endif +} /** @name Creating a OpenGL Shader */ diff --git a/cocos2d/CCShader.m b/cocos2d/CCShader.m index 5aaf9bf2349..de8df8000b9 100644 --- a/cocos2d/CCShader.m +++ b/cocos2d/CCShader.m @@ -25,13 +25,10 @@ // NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF // ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -#import "CCShader_private.h" #import "ccMacros.h" #import "Support/CCFileUtils.h" #import "Support/uthash.h" #import "CCRenderer_Private.h" -#import "CCTexture_private.h" #import "CCDirector.h" #import "CCCache.h" #import "CCGL.h" @@ -550,6 +547,9 @@ -(instancetype)initWithGLProgram:(GLuint)program uniformSetters:(NSDictionary *) MTLRenderPipelineDescriptor *descriptor = [MTLRenderPipelineDescriptor new]; descriptor.vertexFunction = vertexFunction; descriptor.fragmentFunction = fragmentFunction; + MTLRenderPipelineColorAttachmentDescriptor *colorDescriptor = [MTLRenderPipelineColorAttachmentDescriptor new]; + colorDescriptor.pixelFormat = MTLPixelFormatBGRA8Unorm; + descriptor.colorAttachments[0] = colorDescriptor; NSError *error = nil; MTLRenderPipelineReflection *reflection = nil; diff --git a/cocos2d/CCShader_Private.h b/cocos2d/CCShader_Private.h deleted file mode 100644 index c38fcea9246..00000000000 --- a/cocos2d/CCShader_Private.h +++ /dev/null @@ -1,31 +0,0 @@ -#import "CCShader.h" - - -#if __CC_METAL_SUPPORTED_AND_ENABLED -#import -#import "CCMetalSupport_Private.h" -#endif - - -@class CCRenderer; - - -typedef void (^CCUniformSetter)( - __unsafe_unretained CCRenderer *renderer, - __unsafe_unretained NSDictionary *shaderUniforms, - __unsafe_unretained NSDictionary *globalShaderUniforms -); - - -@interface CCShader() { - @public - GLuint _program; - NSDictionary *_uniformSetters; - - // TODO This should really be split into a separate subclass somehow. -#if __CC_METAL_SUPPORTED_AND_ENABLED - id _vertexFunction, _fragmentFunction; -#endif -} - -@end diff --git a/cocos2d/CCSprite.h b/cocos2d/CCSprite.h index a6d0d2c8927..0ffc9bdda65 100644 --- a/cocos2d/CCSprite.h +++ b/cocos2d/CCSprite.h @@ -29,6 +29,10 @@ #import "CCNode.h" #import "CCProtocols.h" +#if CC_EFFECTS +@class CCEffectRenderer; +#endif + @class CCSpriteBatchNode; @class CCSpriteFrame; @class CCAnimation; @@ -54,7 +58,23 @@ typedef struct CCSpriteTexCoordSet { The default anchorPoint in CCSprite is (0.5, 0.5). */ -@interface CCSprite : CCNode +@interface CCSprite : CCNode { +@private + // Vertex coords, texture coords and color info. + CCSpriteVertexes _verts; + + // Center of extents (half width/height) of the sprite for culling purposes. + GLKVector2 _vertexCenter, _vertexExtents; +#if CC_EFFECTS + CCEffect *_effect; + CCEffectRenderer *_effectRenderer; +#endif +} /// ----------------------------------------------------------------------- /// @name Creating a Sprite with an Image File or Sprite Frame Name @@ -279,6 +299,17 @@ typedef struct CCSpriteTexCoordSet { */ - (CGAffineTransform)nodeToTextureTransform; ++ (CCSpriteTexCoordSet)textureCoordsForTexture:(CCTexture *)texture withRect:(CGRect)rect rotated:(BOOL)rotated xFlipped:(BOOL)flipX yFlipped:(BOOL)flipY; + +#if CC_EFFECTS +- (void)updateShaderUniformsFromEffect; +#endif +@end + + +@interface CCSprite(NoARC) +-(void)enqueueTriangles:(CCRenderer *)renderer transform:(const GLKMatrix4 *)transform; @end + diff --git a/cocos2d/CCSprite.m b/cocos2d/CCSprite.m index eafa9489769..c95cd627141 100644 --- a/cocos2d/CCSprite.m +++ b/cocos2d/CCSprite.m @@ -37,10 +37,12 @@ #import "CCDirector.h" #import "Support/CGPointExtension.h" #import "Support/CCProfiling.h" -#import "CCNode_Private.h" #import "CCRenderer_Private.h" -#import "CCSprite_Private.h" -#import "CCTexture_Private.h" + +#if CC_EFFECTS +#import "CCEffect.h" +#import "CCEffectRenderer.h" +#endif #pragma mark - #pragma mark CCSprite @@ -427,28 +429,6 @@ -(void)updateDisplayedOpacity:(CGFloat)parentOpacity [self updateColor]; } --(CCEffect *)effect -{ - return _effect; -} - --(void)setEffect:(CCEffect *)effect -{ - if(effect != _effect){ - _effect = effect; - - if(effect){ - if(_effectRenderer == nil){ - _effectRenderer = [[CCEffectRenderer alloc] init]; - } - - [self updateShaderUniformsFromEffect]; - } else { - _shaderUniforms = nil; - } - } -} - // // Frames // @@ -509,6 +489,29 @@ -(void) setNormalMapSpriteFrame:(CCSpriteFrame*)frame //} #pragma mark CCSprite - Effects +#if CC_EFFECTS + +-(CCEffect *)effect +{ + return _effect; +} + +-(void)setEffect:(CCEffect *)effect +{ + if(effect != _effect){ + _effect = effect; + + if(effect){ + if(_effectRenderer == nil){ + _effectRenderer = [[CCEffectRenderer alloc] init]; + } + + [self updateShaderUniformsFromEffect]; + } else { + _shaderUniforms = nil; + } + } +} - (void)updateShaderUniformsFromEffect { @@ -521,5 +524,5 @@ - (void)updateShaderUniformsFromEffect // And then copy the new effect's uniforms into the node's uniforms dictionary. [_shaderUniforms addEntriesFromDictionary:_effect.effectImpl.shaderUniforms]; } - +#endif @end diff --git a/cocos2d/CCSprite9Slice.m b/cocos2d/CCSprite9Slice.m index 3b19acd0e5f..c6b53c05308 100644 --- a/cocos2d/CCSprite9Slice.m +++ b/cocos2d/CCSprite9Slice.m @@ -26,9 +26,6 @@ */ #import "CCSprite9Slice.h" -#import "CCSprite_Private.h" -#import "CCTexture_Private.h" -#import "CCNode_Private.h" // --------------------------------------------------------------------- diff --git a/cocos2d/CCSpriteBatchNode.m b/cocos2d/CCSpriteBatchNode.m index 7d69b6682db..4fca3f111b8 100644 --- a/cocos2d/CCSpriteBatchNode.m +++ b/cocos2d/CCSpriteBatchNode.m @@ -30,7 +30,6 @@ #import "CCSpriteBatchNode.h" #import "CCTexture.h" #import "CCTextureCache.h" -#import "CCNode_Private.h" @implementation CCSpriteBatchNode { } diff --git a/cocos2d/CCSpriteFrame.m b/cocos2d/CCSpriteFrame.m index 16eef5f2362..8e3fd8a3538 100644 --- a/cocos2d/CCSpriteFrame.m +++ b/cocos2d/CCSpriteFrame.m @@ -31,7 +31,6 @@ #import "CCTexture.h" #import "ccMacros.h" #import "CCSpriteFrameCache.h" -#import "CCTexture_Private.h" @implementation CCSpriteFrame { diff --git a/cocos2d/CCSpriteFrameCache.h b/cocos2d/CCSpriteFrameCache.h index da3eb36fa0e..036e7584bfc 100644 --- a/cocos2d/CCSpriteFrameCache.h +++ b/cocos2d/CCSpriteFrameCache.h @@ -76,6 +76,13 @@ */ -(void) addSpriteFramesWithFile:(NSString*)plist; +/** + * Add Sprite frames to the cache from the specified sprite atlas asset. + * + * @param name the name of the sprite atlas asset. + */ +-(void) addSpriteFramesFromSpriteAtlasAssetNamed:(NSString *)name; + /** * Add sprite frames to the cache from the specified plist and texture file. * @@ -100,6 +107,8 @@ */ -(void) addSpriteFrame:(CCSpriteFrame*)frame name:(NSString*)frameName; + + /** * Registers a sprite sheet with the sprite frame cache so that the sprite frames can be loaded by name. * diff --git a/cocos2d/CCSpriteFrameCache.m b/cocos2d/CCSpriteFrameCache.m index e2e9d91fc0c..fec90b6aac2 100644 --- a/cocos2d/CCSpriteFrameCache.m +++ b/cocos2d/CCSpriteFrameCache.m @@ -41,8 +41,8 @@ #import "CCSpriteFrame.h" #import "CCSprite.h" #import "Support/CCFileUtils.h" -#import "CCTexture_Private.h" - +#import "CCTexture.h" +#import "CCDirector.h" @interface CCSpriteFrame(Proxy) - (BOOL)hasProxy; @@ -180,6 +180,43 @@ - (void) registerSpriteFramesFile:(NSString*)plist #pragma mark CCSpriteFrameCache - loading sprite frames +-(void) addSpriteFrameWithDictionary:(NSDictionary*)frameDict texture:(CCTexture *)texture scaleSuffix:(NSString *)scaleSuffix +{ + // Reducing frame name string to base asset name by cutting of extensions and resolution suffix. + NSString *frameName = [[frameDict objectForKey:@"name"] stringByDeletingPathExtension]; + NSString *frameDictKey = frameName; + + if (frameName.length > 3) { + NSString *resolutionComponent = [frameName substringWithRange:NSMakeRange(frameName.length -3, 3)]; + if ([resolutionComponent isEqualToString:scaleSuffix]) { + frameDictKey = [frameDictKey stringByReplacingCharactersInRange:NSMakeRange(frameDictKey.length - 3, 3) withString:@""]; + } + } + + CCSpriteFrame *spriteFrame=nil; + + // get values + CGSize spriteSize = CCRectFromString([frameDict objectForKey:@"textureRect"]).size; + CGPoint spriteOffset = CCPointFromString([frameDict objectForKey:@"spriteOffset"]); + CGSize spriteSourceSize = CCSizeFromString([frameDict objectForKey:@"spriteSourceSize"]); + CGRect textureRect = CCRectFromString([frameDict objectForKey:@"textureRect"]); + BOOL textureRotated = [[frameDict objectForKey:@"textureRotated"] boolValue]; + + // get aliases + NSArray *aliases = [frameDict objectForKey:@"aliases"]; + for(NSString *alias in aliases) { + if( [_spriteFramesAliases objectForKey:alias] ) + CCLOGWARN(@"cocos2d: WARNING: an alias with name %@ already exists",alias); + + [_spriteFramesAliases setObject:frameDictKey forKey:alias]; + } + + // set frame info + CGRect rectInPixels = CGRectMake(textureRect.origin.x, textureRect.origin.y, spriteSize.width, spriteSize.height); + + [self addSpriteFrame:spriteFrame withTextureReference:texture key:frameDictKey rectInPixels:rectInPixels rotated:textureRotated offset:spriteOffset originalSize:spriteSourceSize]; +} + -(void) addSpriteFramesWithDictionary:(NSDictionary*)dictionary textureReference:(id)textureReference { /* @@ -272,33 +309,38 @@ -(void) addSpriteFramesWithDictionary:(NSDictionary*)dictionary textureReference frameOffset = spriteOffset; originalSize = spriteSourceSize; } - - NSString *textureFileName = nil; - CCTexture * texture = nil; - - if ( [textureReference isKindOfClass:[NSString class]] ) - { - textureFileName = textureReference; - } - else if ( [textureReference isKindOfClass:[CCTexture class]] ) - { - texture = textureReference; - } - - if ( textureFileName ) - { - spriteFrame = [[CCSpriteFrame alloc] initWithTextureFilename:textureFileName rectInPixels:rectInPixels rotated:isRotated offset:frameOffset originalSize:originalSize]; - } - else - { - spriteFrame = [[CCSpriteFrame alloc] initWithTexture:texture rectInPixels:rectInPixels rotated:isRotated offset:frameOffset originalSize:originalSize]; - } - - // add sprite frame - [_spriteFrames setObject:spriteFrame forKey:frameDictKey]; + + [self addSpriteFrame:spriteFrame withTextureReference:textureReference key:frameDictKey rectInPixels:rectInPixels rotated:isRotated offset:frameOffset originalSize:originalSize]; } } +- (void)addSpriteFrame:(CCSpriteFrame *)spriteFrame withTextureReference:(id)textureReference key:(NSString *)key rectInPixels:(CGRect)rect rotated:(BOOL)rotated offset:(CGPoint)offset originalSize:(CGSize)originalSize +{ + NSString *textureFileName = nil; + CCTexture * texture = nil; + + if ( [textureReference isKindOfClass:[NSString class]] ) + { + textureFileName = textureReference; + } + else if ( [textureReference isKindOfClass:[CCTexture class]] ) + { + texture = textureReference; + } + + if ( textureFileName ) + { + spriteFrame = [[CCSpriteFrame alloc] initWithTextureFilename:textureFileName rectInPixels:rect rotated:rotated offset:offset originalSize:originalSize]; + } + else + { + spriteFrame = [[CCSpriteFrame alloc] initWithTexture:texture rectInPixels:rect rotated:rotated offset:offset originalSize:originalSize]; + } + + // add sprite frame + [_spriteFrames setObject:spriteFrame forKey:key]; +} + -(void) addSpriteFramesWithDictionary:(NSDictionary*)dictionary textureFilename:(NSString*)textureFilename { return [self addSpriteFramesWithDictionary:dictionary textureReference:textureFilename]; @@ -376,6 +418,93 @@ -(void) addSpriteFramesWithFile:(NSString*)plist } +-(void) addSpriteFramesFromSpriteAtlasAssetNamed:(NSString *)atlasAssetName +{ + NSDictionary *dictionary = [self dictionaryForSpriteAtlasAssetNamed:atlasAssetName]; + if (!dictionary) { + CCLOG(@"cocos2d: CCSpriteFrameCache: No sprite atlas asset found with name: %@", atlasAssetName); + return; + } + if (dictionary != nil) { + NSInteger version = [[dictionary objectForKey:@"version"] integerValue]; + if (version != 1) { + CCLOG(@"cocos2d: WARNING: Unsupported version of sprite atlas asset file version: %ld filename: %@", (long)version, atlasAssetName); + return; + } + + NSAssert([[dictionary objectForKey:@"format"] isEqualToString:@"APPL"], @"format is not supported for CCSpriteFrameCache addSpriteFramesFromSpriteAtlasAssetNamed:textureFilename:"); + + int scale = [[CCDirector sharedDirector] contentScaleFactor]; + NSString *scaleSuffix = scale == 1 ? @"" : [NSString stringWithFormat:@"@%dx",scale]; + + NSArray *imageDicts = [dictionary objectForKey:@"images"]; + NSArray *imagePaths = [imageDicts valueForKeyPath:@"path"]; + + // Trying to find image paths for the current devices native resolution. + NSMutableIndexSet *indexes = [self indexesForImagePaths:imagePaths forFilename:atlasAssetName withSuffix:scaleSuffix].mutableCopy; + + if (indexes.count == 0) { + // Falling back to using @1x graphics if the expected resolution is not found. + [indexes addIndexes:[self indexesForImagePaths:imagePaths forFilename:atlasAssetName withSuffix:@""]]; + scaleSuffix = nil; + } + + // Only processing the image dictionaries that are using textures with the correct resolution. + for (NSDictionary *imageDict in [imageDicts objectsAtIndexes:indexes]) { + NSArray *spriteFrames = [imageDict objectForKey:@"subimages"]; + NSString *resourceName = [imageDict objectForKey:@"path"]; + NSString *resourcePath = [[[NSBundle mainBundle] resourcePath] stringByAppendingString:[NSString stringWithFormat:@"/%@.atlasc/%@",atlasAssetName,resourceName]]; + if ([[NSFileManager defaultManager] fileExistsAtPath:resourcePath]) { + // Loading the sprite atlas image from the file system + NSData *imageData = [NSData dataWithContentsOfFile:resourcePath]; + CGDataProviderRef imgDataProvider = CGDataProviderCreateWithCFData( (__bridge CFDataRef) imageData); + CGImageRef imageRef = CGImageCreateWithPNGDataProvider(imgDataProvider, NULL, true, kCGRenderingIntentDefault); + + // Scale suffix will be an empty string if there wasn't any native resolution graphics in the sprite atlas. + // In that case the @1x graphics is loaded as fallback. + CCTexture *texture = [[CCTexture alloc] initWithCGImage:imageRef contentScale:scaleSuffix.length > 0 ? [[CCDirector sharedDirector] contentScaleFactor] : 1.0]; + + CGDataProviderRelease(imgDataProvider); + CGImageRelease(imageRef); + + // Loading the frames and connecting them with the texture. + for (NSDictionary *frameDict in spriteFrames) { + [self addSpriteFrameWithDictionary:frameDict texture:texture scaleSuffix:scaleSuffix]; + } + } else { + CCLOG(@"cocos2d: WARNING: image not found at file path: %@",resourcePath); + } + } + } +} + +- (NSDictionary *) dictionaryForSpriteAtlasAssetNamed:(NSString *)assetName +{ + // Looking for the file in resource root + NSString *resourcePath = [[[NSBundle mainBundle] resourcePath] stringByAppendingString:[NSString stringWithFormat:@"/%1$@.atlasc/%1$@.plist",assetName]]; + if ([[NSFileManager defaultManager] fileExistsAtPath:resourcePath]) { + NSDictionary *dict = [NSDictionary dictionaryWithContentsOfFile:resourcePath]; + + return dict; + } + return nil; +} + +- (NSIndexSet *)indexesForImagePaths:(NSArray *)imagePaths forFilename:(NSString *)filename withSuffix:(NSString *)scaleSuffix +{ + // Checking for indexes that has image paths with the provided suffix. + NSMutableIndexSet *indexes = [[NSMutableIndexSet alloc] init]; + for (NSString * searchString in imagePaths) { + NSString *strippedString = [searchString stringByDeletingPathExtension]; + strippedString = [strippedString stringByReplacingOccurrencesOfString:filename withString:@""]; + strippedString = [strippedString stringByReplacingCharactersInRange:NSMakeRange(0, 2) withString:@""]; + if ([strippedString isEqualToString:scaleSuffix]) { + [indexes addIndex:[imagePaths indexOfObject:searchString]]; + } + } + return indexes; +} + -(void) addSpriteFrame:(CCSpriteFrame*)frame name:(NSString*)frameName { [_spriteFrames setObject:frame forKey:frameName]; diff --git a/cocos2d/CCSprite_Private.h b/cocos2d/CCSprite_Private.h deleted file mode 100644 index 83b59a420d0..00000000000 --- a/cocos2d/CCSprite_Private.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * cocos2d for iPhone: http://www.cocos2d-iphone.org - * - * Copyright (c) 2013-2014 Cocos2D Authors - * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in - * all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - * THE SOFTWARE. - * - */ - -#import "CCSprite.h" -#import "CCEffectRenderer.h" -#import "CCEffect_Private.h" - -@interface CCSprite () { - @private - - // Vertex coords, texture coords and color info. - CCSpriteVertexes _verts; - - // Center of extents (half width/height) of the sprite for culling purposes. - GLKVector2 _vertexCenter, _vertexExtents; - - CCEffect *_effect; - CCEffectRenderer *_effectRenderer; -} - -+ (CCSpriteTexCoordSet)textureCoordsForTexture:(CCTexture *)texture withRect:(CGRect)rect rotated:(BOOL)rotated xFlipped:(BOOL)flipX yFlipped:(BOOL)flipY; - -- (void)updateShaderUniformsFromEffect; - -@end - - -@interface CCSprite(NoARC) - --(void)enqueueTriangles:(CCRenderer *)renderer transform:(const GLKMatrix4 *)transform; - -@end diff --git a/cocos2d/CCTexture.h b/cocos2d/CCTexture.h index 351b59daa04..810d9019c4e 100644 --- a/cocos2d/CCTexture.h +++ b/cocos2d/CCTexture.h @@ -65,6 +65,11 @@ Copyright (C) 2008 Apple Inc. All Rights Reserved. #import "ccTypes.h" #import "ccMacros.h" + +#if __CC_METAL_SUPPORTED_AND_ENABLED +#import +#endif + #import "Platforms/CCGL.h" // OpenGL stuff #import "Platforms/CCNS.h" // Next-Step stuff @@ -112,8 +117,28 @@ typedef NS_ENUM(NSUInteger, CCTexturePixelFormat) { CCTexturePixelFormat_Default = CCTexturePixelFormat_RGBA8888, }; +/* + Extension to set the Min / Mag filter + */ +typedef struct _ccTexParams { + GLuint minFilter; + GLuint magFilter; + GLuint wrapS; + GLuint wrapT; +} ccTexParams; + + @class CCShader; +// Proxy object returned in place of a CCTexture or CCSpriteFrame by the texture cache. +// Weakly retained by the original object, so it can be know if the object is referenced when a memory warning arrives. +// This is used as a temporary fix for the texture cache until asset loading can be refactored better. +@interface CCProxy : NSObject + +- (id)initWithTarget:(id)target; + +@end + /** Represents a texture, an in-memory representation of an image in a compatible format the graphics processor can process. @@ -202,11 +227,36 @@ typedef NS_ENUM(NSUInteger, CCTexturePixelFormat) { /// ------------------------------------------------------- /** Whether or not the texture has their Alpha premultiplied. */ -@property(nonatomic,readonly,getter=hasPremultipliedAlpha) BOOL premultipliedAlpha; +@property(nonatomic,readwrite) BOOL premultipliedAlpha; /** True if antialised. */ @property(nonatomic,assign,getter=isAntialiased) BOOL antialiased; +/* texture name */ +@property(nonatomic,readonly) GLuint name; + +// TODO This should really be split into a separate subclass somehow. +#if __CC_METAL_SUPPORTED_AND_ENABLED +@property(nonatomic,readonly) id metalTexture; +@property(nonatomic,readonly) id metalSampler; +#endif + +/* texture max S */ +@property(nonatomic,readwrite) GLfloat maxS; +/* texture max T */ +@property(nonatomic,readwrite) GLfloat maxT; + +// Check if the texture's weakly retained proxy still exists. +@property(atomic, readonly) BOOL hasProxy; + +// Retrieve the proxy for this texture. +@property(atomic, readonly, weak) CCProxy *proxy; + + +/* These functions are needed to create mutable textures */ +- (void) releaseData:(void*)data; +- (void*) keepData:(void*)data length:(NSUInteger)length; + @end #pragma mark - Image @@ -274,6 +324,61 @@ typedef NS_ENUM(NSUInteger, CCTexturePixelFormat) { @end +/* + Extensions to make it easy to create a CCTexture2D object from a PVRTC file + Note that the generated textures don't have their alpha premultiplied - use the blending mode (GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA). + */ +@interface CCTexture (PVRSupport) +/* Initializes a texture from a PVR file. + + Supported PVR formats: + - BGRA 8888 + - RGBA 8888 + - RGBA 4444 + - RGBA 5551 + - RBG 565 + - A 8 + - I 8 + - AI 8 + - PVRTC 2BPP + - PVRTC 4BPP + + By default PVR images are treated as if they alpha channel is NOT premultiplied. You can override this behavior with this class method: + - PVRImagesHavePremultipliedAlpha:(BOOL)haveAlphaPremultiplied; + + IMPORTANT: This method is only defined on iOS. It is not supported on the Mac version. + + */ +-(id) initWithPVRFile: (NSString*) file; + +/* treats (or not) PVR files as if they have alpha premultiplied. + Since it is impossible to know at runtime if the PVR images have the alpha channel premultiplied, it is + possible load them as if they have (or not) the alpha channel premultiplied. + + By default it is disabled. + + */ ++(void) PVRImagesHavePremultipliedAlpha:(BOOL)haveAlphaPremultiplied; + +@end + +@interface CCTexture (GLFilter) +/* sets the min filter, mag filter, wrap s and wrap t texture parameters. + If the texture size is NPOT (non power of 2), then in can only use GL_CLAMP_TO_EDGE in GL_TEXTURE_WRAP_{S,T}. + + @warning Calling this method could allocate additional texture memory. + + */ +-(void) setTexParameters: (ccTexParams*) texParams; + +/* Generates mipmap images for the texture. + It only works if the texture size is POT (power of 2). + */ +-(void) generateMipmap; + +@end + + diff --git a/cocos2d/CCTexture.m b/cocos2d/CCTexture.m index f938ee777b7..8427e9c17f3 100644 --- a/cocos2d/CCTexture.m +++ b/cocos2d/CCTexture.m @@ -84,7 +84,6 @@ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE #import "Support/ccUtils.h" #import "Support/CCFileUtils.h" -#import "CCTexture_Private.h" #import "CCTextureCache.h" #import "CCSpriteFrame.h" @@ -108,12 +107,6 @@ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE #endif -#if __CC_PLATFORM_ANDROID - #ifndef GL_BGRA - #define GL_BGRA 0x80E1 - #endif -#endif - //CLASS IMPLEMENTATIONS: // This class implements what will hopefully be a temporary replacement diff --git a/cocos2d/CCTextureCache.h b/cocos2d/CCTextureCache.h index 959e8066290..aacd40fe307 100644 --- a/cocos2d/CCTextureCache.h +++ b/cocos2d/CCTextureCache.h @@ -27,7 +27,7 @@ #import "ccMacros.h" -#if __CC_PLATFORM_IOS || __CC_PLATFORM_ANDROID +#if __CC_PLATFORM_IOS #import #endif diff --git a/cocos2d/CCTextureCache.m b/cocos2d/CCTextureCache.m index 9088df3b377..ac15a119439 100644 --- a/cocos2d/CCTextureCache.m +++ b/cocos2d/CCTextureCache.m @@ -45,7 +45,6 @@ #import "Platforms/Mac/CCDirectorMac.h" #endif -#import "CCTexture_Private.h" #import "CCRenderer_Private.h" // needed for CCCallFuncO in Mac-display_link version @@ -94,10 +93,8 @@ -(id) init // Skip the GL context sharegroup code for Metal. if([CCConfiguration sharedConfiguration].graphicsAPI == CCGraphicsAPIMetal) return self; -#if !__CC_PLATFORM_ANDROID CCGLView *view = (CCGLView*)[[CCDirector sharedDirector] view]; NSAssert(view, @"Do not initialize the TextureCache before the Director"); -#endif #if __CC_PLATFORM_IOS _auxGLcontext = [[EAGLContext alloc] @@ -111,10 +108,8 @@ -(id) init _auxGLcontext = [[NSOpenGLContext alloc] initWithFormat:pf shareContext:share]; #endif // __CC_PLATFORM_MAC - -#if !__CC_PLATFORM_ANDROID + NSAssert( _auxGLcontext, @"TextureCache: Could not create EAGL context"); -#endif } @@ -138,10 +133,9 @@ - (NSString*) description -(void) dealloc { CCLOGINFO(@"cocos2d: deallocing %@", self); - -#if !__CC_PLATFORM_ANDROID + _auxGLcontext = nil; -#endif + sharedTextureCache = nil; // dispatch_release(_loadingQueue); @@ -295,70 +289,53 @@ -(CCTexture*) addImage: (NSString*) path CGFloat contentScale; NSString *fullpath = [fileUtils fullPathForFilename:path contentScale:&contentScale]; - if( ! fullpath ) { - CCLOG(@"cocos2d: Couldn't find file:%@", path); - return nil; - } - - NSString *lowerCase = [fullpath lowercaseString]; - + // all images are handled by UIKit/AppKit except PVR extension that is handled by cocos2d's handler + // main bundle loading is priotirized for backwards compatibility reasons + if( fullpath ) { + NSString *lowerCase = [fullpath lowercaseString]; - if ( [lowerCase hasSuffix:@".pvr"] || [lowerCase hasSuffix:@".pvr.gz"] || [lowerCase hasSuffix:@".pvr.ccz"] ) - tex = [self addPVRImage:path]; - -#if __CC_PLATFORM_IOS || __CC_PLATFORM_ANDROID - - else { + if ( [lowerCase hasSuffix:@".pvr"] || [lowerCase hasSuffix:@".pvr.gz"] || [lowerCase hasSuffix:@".pvr.ccz"] ) + tex = [self addPVRImage:path]; #if __CC_PLATFORM_IOS - UIImage *image = [[UIImage alloc] initWithContentsOfFile:fullpath]; - tex = [[CCTexture alloc] initWithCGImage:image.CGImage contentScale:contentScale]; -#else // Android - // TODO: add support for bmp - BOOL png = [lowerCase hasSuffix:@".png"]; - CGDataProviderRef imgDataProvider = CGDataProviderCreateWithCFData((__bridge CFDataRef)[NSData dataWithContentsOfFile:fullpath]); - CGImageRef image = (png) ? CGImageCreateWithPNGDataProvider(imgDataProvider, NULL, true, kCGRenderingIntentDefault) : CGImageCreateWithJPEGDataProvider(imgDataProvider, NULL, true, kCGRenderingIntentDefault) ; - tex = [[CCTexture alloc] initWithCGImage:image contentScale:contentScale]; - CGDataProviderRelease(imgDataProvider); - CGImageRelease(image); -#endif - - - - CCLOGINFO(@"Texture loaded: %@", path); - - if( tex ){ - dispatch_sync(_dictQueue, ^{ - [_textures setObject: tex forKey:path]; - CCLOGINFO(@"Texture %@ cached: %p", path, tex); - }); - }else{ - CCLOG(@"cocos2d: Couldn't create texture for file:%@ in CCTextureCache", path); - } - } - - + else { + UIImage *image = [[UIImage alloc] initWithContentsOfFile:fullpath]; + tex = [[CCTexture alloc] initWithCGImage:image.CGImage contentScale:contentScale]; + } #elif __CC_PLATFORM_MAC - else { - - NSData *data = [[NSData alloc] initWithContentsOfFile:fullpath]; - NSBitmapImageRep *image = [[NSBitmapImageRep alloc] initWithData:data]; - tex = [ [CCTexture alloc] initWithCGImage:[image CGImage] contentScale:contentScale]; - - - if( tex ){ - dispatch_sync(_dictQueue, ^{ - [_textures setObject: tex forKey:path]; - }); - }else{ - CCLOG(@"cocos2d: Couldn't create texture for file:%@ in CCTextureCache", path); - } - - // autorelease prevents possible crash in multithreaded environments - //[tex autorelease]; - } + else { + NSData *data = [[NSData alloc] initWithContentsOfFile:fullpath]; + NSBitmapImageRep *image = [[NSBitmapImageRep alloc] initWithData:data]; + tex = [ [CCTexture alloc] initWithCGImage:[image CGImage] contentScale:contentScale]; + + // autorelease prevents possible crash in multithreaded environments + //[tex autorelease]; + } #endif // __CC_PLATFORM_MAC - + // if we cant find a file in the main bundle then we trying to load it from xcassets + } else { +#if __CC_PLATFORM_IOS + UIImage *image = [UIImage imageNamed:path]; + + if (image) + tex = [[CCTexture alloc] initWithCGImage:image.CGImage contentScale:image.scale]; +#elif __CC_PLATFORM_MAC + NSImage *image = [NSImage imageNamed:path]; + + if (image) + tex = [[CCTexture alloc] initWithCGImage:[image CGImageForProposedRect:nil context:nil hints:nil] contentScale:contentScale]; +#endif + } + + //if we could load a tex from anywhere we add it to the cache + if( tex ){ + dispatch_sync(_dictQueue, ^{ + [_textures setObject: tex forKey:path]; + }); + }else{ + CCLOG(@"cocos2d: Couldn't create texture for file:%@ in CCTextureCache", path); + return nil; + } } return((id)tex.proxy); diff --git a/cocos2d/CCTexturePVR.m b/cocos2d/CCTexturePVR.m index efa653a8745..713a10d2cbf 100644 --- a/cocos2d/CCTexturePVR.m +++ b/cocos2d/CCTexturePVR.m @@ -307,7 +307,7 @@ - (BOOL)unpackPVRv2Data:(unsigned char*)data PVRLen:(NSUInteger)len formatFlags = flags & PVR_TEXTURE_FLAG_TYPE_MASK; BOOL flipped = flags & kPVR2TextureFlagVerticalFlip; if( flipped ) - CCLOGWARN(@"cocos2d: WARNING: Image is flipped. Regenerate it using PVRTexTool"); + CCLOGWARN(@"cocos2d: WARNING: Image is not flipped. Regenerate it using PVRTexTool"); if( ! [configuration supportsNPOT] && ( header->width != CCNextPOT(header->width) || header->height != CCNextPOT(header->height ) ) ) { diff --git a/cocos2d/CCTexture_Private.h b/cocos2d/CCTexture_Private.h deleted file mode 100644 index 93cd0b895b5..00000000000 --- a/cocos2d/CCTexture_Private.h +++ /dev/null @@ -1,138 +0,0 @@ -/* - * cocos2d for iPhone: http://www.cocos2d-iphone.org - * - * Copyright (c) 2013-2014 Cocos2D Authors - * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in - * all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - * THE SOFTWARE. - * - */ - -#import "CCTexture.h" - -#if __CC_METAL_SUPPORTED_AND_ENABLED -#import -#endif - - -// ------------------------------------------------------------- - -// Proxy object returned in place of a CCTexture or CCSpriteFrame by the texture cache. -// Weakly retained by the original object, so it can be know if the object is referenced when a memory warning arrives. -// This is used as a temporary fix for the texture cache until asset loading can be refactored better. -@interface CCProxy : NSObject - -- (id)initWithTarget:(id)target; - -@end - -// ------------------------------------------------------------- - -@interface CCTexture () - -/* These functions are needed to create mutable textures */ -- (void) releaseData:(void*)data; -- (void*) keepData:(void*)data length:(NSUInteger)length; - -/* texture name */ -@property(nonatomic,readonly) GLuint name; - -// TODO This should really be split into a separate subclass somehow. -#if __CC_METAL_SUPPORTED_AND_ENABLED -@property(nonatomic,readonly) id metalTexture; -@property(nonatomic,readonly) id metalSampler; -#endif - -/* texture max S */ -@property(nonatomic,readwrite) GLfloat maxS; -/* texture max T */ -@property(nonatomic,readwrite) GLfloat maxT; - -@property(nonatomic,readwrite) BOOL premultipliedAlpha; - -// Check if the texture's weakly retained proxy still exists. -@property(atomic, readonly) BOOL hasProxy; - -// Retrieve the proxy for this texture. -@property(atomic, readonly, weak) CCProxy *proxy; - -@end - -/* - Extensions to make it easy to create a CCTexture2D object from a PVRTC file - Note that the generated textures don't have their alpha premultiplied - use the blending mode (GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA). - */ -@interface CCTexture (PVRSupport) -/* Initializes a texture from a PVR file. - - Supported PVR formats: - - BGRA 8888 - - RGBA 8888 - - RGBA 4444 - - RGBA 5551 - - RBG 565 - - A 8 - - I 8 - - AI 8 - - PVRTC 2BPP - - PVRTC 4BPP - - By default PVR images are treated as if they alpha channel is NOT premultiplied. You can override this behavior with this class method: - - PVRImagesHavePremultipliedAlpha:(BOOL)haveAlphaPremultiplied; - - IMPORTANT: This method is only defined on iOS. It is not supported on the Mac version. - - */ --(id) initWithPVRFile: (NSString*) file; - -/* treats (or not) PVR files as if they have alpha premultiplied. - Since it is impossible to know at runtime if the PVR images have the alpha channel premultiplied, it is - possible load them as if they have (or not) the alpha channel premultiplied. - - By default it is disabled. - - */ -+(void) PVRImagesHavePremultipliedAlpha:(BOOL)haveAlphaPremultiplied; - -@end - -/* - Extension to set the Min / Mag filter - */ -typedef struct _ccTexParams { - GLuint minFilter; - GLuint magFilter; - GLuint wrapS; - GLuint wrapT; -} ccTexParams; - -@interface CCTexture (GLFilter) -/* sets the min filter, mag filter, wrap s and wrap t texture parameters. - If the texture size is NPOT (non power of 2), then in can only use GL_CLAMP_TO_EDGE in GL_TEXTURE_WRAP_{S,T}. - - @warning Calling this method could allocate additional texture memory. - - */ --(void) setTexParameters: (ccTexParams*) texParams; - -/* Generates mipmap images for the texture. - It only works if the texture size is POT (power of 2). - */ --(void) generateMipmap; - -@end diff --git a/cocos2d/CCTiledMapLayer_Private.h b/cocos2d/CCTiledMapLayer_Private.h deleted file mode 100644 index bae09e4c5ac..00000000000 --- a/cocos2d/CCTiledMapLayer_Private.h +++ /dev/null @@ -1,38 +0,0 @@ -/* - * cocos2d for iPhone: http://www.cocos2d-iphone.org - * - * Copyright (c) 2009-2010 Ricardo Quesada - * Copyright (c) 2013-2014 Cocos2D Authors - * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in - * all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - * THE SOFTWARE. - * - */ - -#import "CCTiledMapLayer.h" - -typedef void (^CCTiledMapLayerAnimationBlock)(NSUInteger tileX, NSUInteger tileY, uint32_t *gid, uint32_t *flags, GLKVector4 *color); - -@interface CCTiledMapLayer () - -@property(nonatomic, copy) CCTiledMapLayerAnimationBlock animationBlock; - -// Setup the tiles. --(void) setupTiles; - -@end diff --git a/cocos2d/CCTouch.h b/cocos2d/CCTouch.h deleted file mode 100644 index 9bdc7eacd8f..00000000000 --- a/cocos2d/CCTouch.h +++ /dev/null @@ -1,104 +0,0 @@ -// -// CCTouch.h -// cocos2d-ios -// -// Created by Oleg Osin on 6/12/14. -// -// - -#import "ccMacros.h" - -#if __CC_PLATFORM_IOS -#import -#define PlatformTouch UITouch -#elif __CC_PLATFORM_ANDROID -@class CCTouchAndroid; -#define PlatformTouch CCTouchAndroid // Note: Replace this with MotionEvent or some Android touch object -#else -#define PlatformTouch NSObject -#endif - -@class CCGLView; -@class CCNode; - -/** Touch phases, equivalent to [UITouch phases](https://developer.apple.com/library/ios/documentation/uikit/reference/UITouch_Class/index.html#//apple_ref/c/tdef/UITouchPhase). - Used by touch events received through CCResponder. */ -typedef NS_ENUM (NSInteger, CCTouchPhase) { - /** A finger just touched the screen. */ - CCTouchPhaseBegan, - /** A finger on the screen just moved. */ - CCTouchPhaseMoved, - /** A finger touches the screen but hasn't moved recently. */ - CCTouchPhaseStationary, - /** A finger was lifted from the screen. */ - CCTouchPhaseEnded, - /** The system cancelled touch events. This can have many reasons, for instance when receiving a call and the screen goes black or a gesture recognizer cancelling touch events. */ - CCTouchPhaseCancelled, -}; - -/** Thin wrapper around platform-specific touch events (ie [UITouch](https://developer.apple.com/library/ios/documentation/uikit/reference/UITouch_Class/index.html)). - CCTouch is platform independent version of the touch event objects sent by iOS, Android and OS X. - - @note You should never create instances of CCTouch. */ -@interface CCTouch : NSObject - -/** @name Touch Information */ -/** The CCTouchPhase this touch is currently in. - @since v3.2 and later - */ -@property (nonatomic, readonly) CCTouchPhase phase; -/** The number of taps for this touch event. - @since v3.2 and later -*/ -@property (nonatomic, readonly) NSUInteger tapCount; -/** The timestamp of the most recent touch phase change. - @since v3.2 and later -*/ -@property (nonatomic, readonly) NSTimeInterval timestamp; - -/** @name Associated View and Platform Touch */ - -/** The associated Cocos2D view. - @since v3.2 and later -*/ -@property (nonatomic, strong) CCGLView *view; -/** The associated platform-specific touch event (ie UITouch). - PlatformTouch is equivalent to UITouch on iOS, CCTouchAndroid on Android and NSObject on OS X. - @note The CCTouchAndroid class is not documented, it is just a subset of CCTouch. - @since v3.2 and later -*/ -@property (nonatomic, strong) PlatformTouch* uiTouch; - -- (instancetype)initWithPlatformTouch:(PlatformTouch*)touch; -+ (instancetype)touchWithPlatformTouch:(PlatformTouch*)touch; - -/** @name Convert Touch Location to Node Coordinate System */ - -/** - @param node The node to which this touch should be relative to. - @returns The touch location relative to the given node's position. - @since v3.2 and later -*/ -- (CGPoint)locationInNode:(CCNode*) node; -/** - @returns The touch location relative to the scene (aka "world"). - @since v3.2 and later -*/ -- (CGPoint)locationInWorld; - -/** @name Convert Touch Location to View Coordinate System */ - -/** - @param view The view to which this touch should be relative to. - @returns The touch location relative to the given view. - @since v3.2 and later -*/ -- (CGPoint)locationInView:(CCGLView *)view; -/** - @param view The view to which this touch should be relative to. - @returns The previous touch location relative to the given view. - @since v3.2 and later -*/ -- (CGPoint)previousLocationInView:(CCGLView *)view; - -@end diff --git a/cocos2d/CCTouch.m b/cocos2d/CCTouch.m deleted file mode 100644 index e278933042c..00000000000 --- a/cocos2d/CCTouch.m +++ /dev/null @@ -1,85 +0,0 @@ -// -// CCTouch.m -// cocos2d-ios -// -// Created by Oleg Osin on 6/12/14. -// -// - -#import "cocos2d.h" -#import "CCTouch.h" -#import "CCDirector.h" -#if __CC_PLATFORM_ANDROID -#import "CCTouchAndroid.h" -#endif - -@implementation CCTouch - -- (instancetype)initWithPlatformTouch:(PlatformTouch*)touch -{ - if((self = [super init])) - { - _uiTouch = touch; - _view = (CCGLView*)[CCDirector sharedDirector].view; - return self; - } - - return self; -} - -+ (instancetype)touchWithPlatformTouch:(PlatformTouch*)touch -{ - return [[self alloc] initWithPlatformTouch:touch]; -} - -- (CCTouchPhase)phase -{ - return (CCTouchPhase)_uiTouch.phase; -} - -- (NSUInteger)tapCount -{ - return _uiTouch.tapCount; -} - -- (NSTimeInterval)timestamp -{ - return _uiTouch.timestamp; -} - -- (CGPoint)locationInNode:(CCNode*) node -{ - CCDirector* dir = [CCDirector sharedDirector]; - - CGPoint touchLocation = [self locationInView: [self view]]; - touchLocation = [dir convertToGL: touchLocation]; - return [node convertToNodeSpace:touchLocation]; -} - -- (CGPoint)locationInWorld -{ - CCDirector* dir = [CCDirector sharedDirector]; - - CGPoint touchLocation = [self locationInView: [self view]]; - return [dir convertToGL: touchLocation]; -} - -- (CGPoint)locationInView:(CCGLView *)view -{ - return (CGPoint){0, 0}; -} - -- (CGPoint)previousLocationInView:(CCGLView *)view -{ - return (CGPoint){0, 0}; -} - -- (NSString *)description -{ - CGPoint loc = [self locationInView:nil]; - return [NSString stringWithFormat:@"<%@: %p location: {%f, %f} phase: %ld>", [self class], self, loc.x, loc.y, (unsigned long)self.phase]; -} - -@end - - diff --git a/cocos2d/CCTouchEvent.h b/cocos2d/CCTouchEvent.h deleted file mode 100644 index 7f54bbc4653..00000000000 --- a/cocos2d/CCTouchEvent.h +++ /dev/null @@ -1,34 +0,0 @@ -// -// CCTouchEvent.h -// cocos2d-ios -// -// Created by Oleg Osin on 6/13/14. -// -// - -#import - -/** Thin wrapper around platform-specific touch event objects. - @note You should never create instances of CCTouchEvent. - */ -@interface CCTouchEvent : NSObject - -/** Timestamp for this event. */ -@property(nonatomic) NSTimeInterval timestamp; -/** A dictionary containing the current touches. The keys are `PlatformTouch` pointers (UITouch on iOS, CCTouchAndroid on Android, NSObject on Mac) - and the values are CCTouch objects. - @see CCTouch */ -@property(nonatomic, readonly) NSMutableDictionary* allTouches; -/** The list of touches for this particular event. Items are CCTouch instances. - @see CCTouch */ -@property(nonatomic, readonly) NSMutableSet* currentTouches; // CCTouches - -// purposefully undocumented: following methods are for internal use only -- (id)init; - -- (void)updateTouchesBegan:(NSSet*)touches; -- (void)updateTouchesMoved:(NSSet*)touches; -- (void)updateTouchesEnded:(NSSet*)touches; -- (void)updateTouchesCancelled:(NSSet*)touches; - -@end diff --git a/cocos2d/CCTouchEvent.m b/cocos2d/CCTouchEvent.m deleted file mode 100644 index bad75a4fd5f..00000000000 --- a/cocos2d/CCTouchEvent.m +++ /dev/null @@ -1,157 +0,0 @@ -// -// CCTouchEvent.m -// cocos2d-ios -// -// Created by Oleg Osin on 6/13/14. -// -// - -#import "CCTouchEvent.h" -#import "CCDirector.h" -#import "ccMacros.h" - -#if __CC_PLATFORM_IOS -#import "Platforms/iOS/CCTouchIOS.h" -#define CCTouch CCTouchIOS - -#elif __CC_PLATFORM_ANDROID -#import "Platforms/Android/CCTouchAndroid.h" -#define CCTouch CCTouchAndroid - -#endif - -#ifndef __CC_TOUCH_MAX -#define __CC_TOUCH_MAX 10 -#endif - - -@implementation CCTouchEvent { - NSMutableSet* _deadTouches; -} - -- (id)init -{ - if((self = [super init])) - { - _deadTouches = [[NSMutableSet alloc] init]; - for(int i = 0; i < 10; i++) - { - [_deadTouches addObject:[CCTouch touchWithPlatformTouch:nil]]; - } - - _allTouches = [[NSMutableDictionary alloc] init]; - _currentTouches = [[NSMutableSet alloc] init]; - return self; - } - - return self; -} - -- (void)updateTouchesBegan:(NSSet*)touches -{ - [_currentTouches removeAllObjects]; - - // Began touches - move touches from dead pool to allTouches - for(PlatformTouch* touch in touches) - { - CCTouch* ccTouch = [_deadTouches anyObject]; - ccTouch.uiTouch = touch; - - [_allTouches setObject:ccTouch forKey:[NSValue valueWithNonretainedObject:touch]]; - - [_deadTouches removeObject:ccTouch]; - } - - // Set currentTouches - for(PlatformTouch* touch in touches) - { - CCTouch* ccTouch = [_allTouches objectForKey:[NSValue valueWithNonretainedObject:touch]]; - if(ccTouch) - { - ccTouch.view = (CCGLView*)[CCDirector sharedDirector].view; - ccTouch.uiTouch = touch; - [_currentTouches addObject:ccTouch]; - } - } -} - -- (void)updateTouchesMoved:(NSSet*)touches -{ - [_currentTouches removeAllObjects]; - - // Set currentTouches - for(PlatformTouch* touch in touches) - { - CCTouch* ccTouch = [_allTouches objectForKey:[NSValue valueWithNonretainedObject:touch]]; - if(ccTouch) - { - ccTouch.view = (CCGLView*)[CCDirector sharedDirector].view; - ccTouch.uiTouch = touch; - [_currentTouches addObject:ccTouch]; - } - } -} - -- (void)updateTouchesEnded:(NSSet*)touches -{ - [_currentTouches removeAllObjects]; - - NSMutableArray* keys = [[NSMutableArray alloc] init]; - - // Set currentTouches - for(PlatformTouch* touch in touches) - { - CCTouch* ccTouch = [_allTouches objectForKey:[NSValue valueWithNonretainedObject:touch]]; - if(ccTouch) - { - ccTouch.view = (CCGLView*)[CCDirector sharedDirector].view; - ccTouch.uiTouch = touch; - [_currentTouches addObject:ccTouch]; - } - - [keys addObject:[NSValue valueWithNonretainedObject:touch]]; - } - - - // Ended touches - remove touches from allTouches and place them back into the deadpool - NSArray* deadTouches = [_allTouches objectsForKeys:keys notFoundMarker:[CCTouch touchWithPlatformTouch:nil]]; - [_deadTouches addObjectsFromArray:deadTouches]; - [_allTouches removeObjectsForKeys:keys]; -} - -- (void)updateTouchesCancelled:(NSSet*)touches -{ - [_currentTouches removeAllObjects]; - - NSMutableArray* keys = [[NSMutableArray alloc] init]; - - // Set currentTouches - for(PlatformTouch* touch in touches) - { - CCTouch* ccTouch = [_allTouches objectForKey:[NSValue valueWithNonretainedObject:touch]]; - if(ccTouch) - { - ccTouch.view = (CCGLView*)[CCDirector sharedDirector].view; - ccTouch.uiTouch = touch; - [_currentTouches addObject:ccTouch]; - } - - [keys addObject:[NSValue valueWithNonretainedObject:touch]]; - } - - - // Ended touches - remove touches from allTouches and place them back into the deadpool - NSArray* deadTouches = [_allTouches objectsForKeys:keys notFoundMarker:[CCTouch touchWithPlatformTouch:nil]]; - [_deadTouches addObjectsFromArray:deadTouches]; - [_allTouches removeObjectsForKeys:keys]; -} - -- (NSString *)description -{ - return [NSString stringWithFormat:@"<%@: %p allTouches: %@ currentTouches: %@>", [self class], self, _allTouches, _currentTouches]; -} - -@end - - - diff --git a/cocos2d/CCTransition.h b/cocos2d/CCTransition.h index 2e71d5c57c0..dcd13bcb3d9 100644 --- a/cocos2d/CCTransition.h +++ b/cocos2d/CCTransition.h @@ -29,6 +29,113 @@ #import "cocos2d.h" #import "CCScene.h" +/** + A transition animates the presentation of a new scene while moving the current scene out of view. + A transition is optionally played when calling one of the presentScene:withTransition: methods of CCDirector. + + @note Since both scenes remain in memory and are being rendered, a transition may raise performance issues or + memory warnings. If two complex scenes can not be reliably transitioned from/to it is best to not use transitions + or to introduce an in-between scene that is presented only for a short period of time (ie a loading scene or merely + a "fade to black" scene). + */ +@interface CCTransition : CCScene + +/** + * Creates a blank transition from outgoing to incoming scene. + * + * @param duration The duration of the transition in seconds. + * + * @return The CCTransition Object. + * @note Use this initializer only for implementing custom transitions. + */ +- (id)initWithDuration:(NSTimeInterval)duration; + +/// ----------------------------------------------------------------------- +/// @name Transition Performance Settings +/// ----------------------------------------------------------------------- + +/** + * Will downscale outgoing scene. + * Can be used as an effect, or to decrease render time on complex scenes. + * Default 1.0. + */ +@property (nonatomic, assign) float outgoingDownScale; + +/** + * Will downscale incoming scene. + * Can be used as an effect, or to decrease render time on complex scenes. + * Default 1.0. + */ +@property (nonatomic, assign) float incomingDownScale; + + +/** + Pixel format used for transition. + Default `CCTexturePixelFormat_RGBA8888`. + @see CCTexturePixelFormat + */ +@property (nonatomic, assign) CCTexturePixelFormat transitionPixelFormat; + +/** + * Depth/stencil format used for transition. + * Default `GL_DEPTH24_STENCIL8_OES`. + */ +@property (nonatomic, assign) GLuint transitionDepthStencilFormat; + +/// ----------------------------------------------------------------------- +/// @name Controlling Scene Animation during Transition +/// ----------------------------------------------------------------------- + +/** + * Defines whether outgoing scene will be animated during transition. + * Default NO. + */ +@property (nonatomic, getter = isOutgoingSceneAnimated) BOOL outgoingSceneAnimated; + +/** + * Defines whether incoming scene will be animated during transition. + * Default NO. + */ +@property (nonatomic, getter = isIncomingSceneAnimated) BOOL incomingSceneAnimated; + +/** + * Defines whether incoming scene will be animated during transition. + * Default NO. + */ +@property (nonatomic, assign) BOOL outgoingOverIncoming; + +/// ----------------------------------------------------------------------- +/// @name For use with Custom Transitions +/// ----------------------------------------------------------------------- + +/** + * CCRenderTexture, holding the incoming scene as a texture + * Only valid after prepareTransition has been called. + */ +@property (nonatomic, readonly) CCRenderTexture *incomingTexture; + +/** + * CCRenderTexture, holding the outgoing scene as a texture + * Only valid after prepareTransition has been called. + */ +@property (nonatomic, readonly) CCRenderTexture *outgoingTexture; + +/// ----------------------------------------------------------------------- +/// @name Transition Running Time and Progress +/// ----------------------------------------------------------------------- + +/** The actual transition runtime in seconds. */ +@property (nonatomic, readonly) NSTimeInterval runTime; + +/** Normalized (percentage) transition progress in the range 0.0 to 1.0. */ +@property (nonatomic, readonly) float progress; + +// Preparation step for transition. Override this to create custom transition. +// You can add any nodes here or start some actions. +- (void)prepareTransition:(CCScene *)scene; + +@end + /** * Defines the direction that a directional transition will move. Used by CCTransition. * @@ -52,17 +159,7 @@ typedef NS_ENUM(NSInteger, CCTransitionDirection) CCTransitionDirectionInvalid = -1, }; -/** - A transition animates the presentation of a new scene while moving the current scene out of view. - A transition is optionally played when calling one of the presentScene:withTransition: methods of CCDirector. - - @note Since both scenes remain in memory and are being rendered, a transition may raise performance issues or - memory warnings. If two complex scenes can not be reliably transitioned from/to it is best to not use transitions - or to introduce an in-between scene that is presented only for a short period of time (ie a loading scene or merely - a "fade to black" scene). - */ -@interface CCTransition : CCScene - +@interface CCDefaultTransition : CCTransition /// ----------------------------------------------------------------------- /// @name Creating a Fade Scene Transition @@ -134,85 +231,5 @@ typedef NS_ENUM(NSInteger, CCTransitionDirection) */ + (CCTransition *)transitionRevealWithDirection:(CCTransitionDirection)direction duration:(NSTimeInterval)duration; -/// ----------------------------------------------------------------------- -/// @name Transition Performance Settings -/// ----------------------------------------------------------------------- - -/** - * Will downscale outgoing scene. - * Can be used as an effect, or to decrease render time on complex scenes. - * Default 1.0. - */ -@property (nonatomic, assign) float outgoingDownScale; - -/** - * Will downscale incoming scene. - * Can be used as an effect, or to decrease render time on complex scenes. - * Default 1.0. - */ -@property (nonatomic, assign) float incomingDownScale; - -/** - * Transition will be performed in retina resolution. - * Will force outgoingDownScale and incomingDownScale to 1.0 on non retina devices, and 2.0 on retina devices if not set. - * Default YES. - */ -@property (nonatomic, getter = isRetinaTransition) BOOL retinaTransition; - -/** - Pixel format used for transition. - Default `CCTexturePixelFormat_RGBA8888`. - @see CCTexturePixelFormat - */ -@property (nonatomic, assign) CCTexturePixelFormat transitionPixelFormat; - -/** - * Depth/stencil format used for transition. - * Default `GL_DEPTH24_STENCIL8_OES`. - */ -@property (nonatomic, assign) GLuint transitionDepthStencilFormat; - -/// ----------------------------------------------------------------------- -/// @name Controlling Scene Animation during Transition -/// ----------------------------------------------------------------------- - -/** - * Defines whether outgoing scene will be animated during transition. - * Default NO. - */ -@property (nonatomic, getter = isOutgoingSceneAnimated) BOOL outgoingSceneAnimated; - -/** - * Defines whether incoming scene will be animated during transition. - * Default NO. - */ -@property (nonatomic, getter = isIncomingSceneAnimated) BOOL incomingSceneAnimated; - -/// ----------------------------------------------------------------------- -/// @name For use with Custom Transitions -/// ----------------------------------------------------------------------- - -/** - * CCRenderTexture, holding the incoming scene as a texture - * Only valid after StartTransition has been called. - */ -@property (nonatomic, readonly) CCRenderTexture *incomingTexture; - -/** - * CCRenderTexture, holding the outgoing scene as a texture - * Only valid after StartTransition has been called. - */ -@property (nonatomic, readonly) CCRenderTexture *outgoingTexture; - -/// ----------------------------------------------------------------------- -/// @name Transition Running Time and Progress -/// ----------------------------------------------------------------------- - -/** The actual transition runtime in seconds. */ -@property (nonatomic, readonly) NSTimeInterval runTime; - -/** Normalized (percentage) transition progress in the range 0.0 to 1.0. */ -@property (nonatomic, readonly) float progress; - @end diff --git a/cocos2d/CCTransition.m b/cocos2d/CCTransition.m index a0e6ab61e23..dd22a7e2e9a 100644 --- a/cocos2d/CCTransition.m +++ b/cocos2d/CCTransition.m @@ -28,24 +28,13 @@ #import "objc/message.h" #import "CCTransition.h" -#import "CCDirector_Private.h" -#import "CCNode_Private.h" +#import "CCDirector.h" // ----------------------------------------------------------------- const float CCTransitionDownScaleMin = 1.0f; // range for transition downscales -const float CCTransitionDownScaleRetina = 2.0f; const float CCTransitionDownScaleMax = 128.0f; -typedef NS_ENUM(NSInteger, CCTransitionFixedFunction) -{ - CCTransitionFixedFunctionCrossFade, - CCTransitionFixedFunctionFadeWithColor, - CCTransitionFixedFunctionMoveIn, - CCTransitionFixedFunctionPush, - CCTransitionFixedFunctionReveal, -}; - // ----------------------------------------------------------------- @implementation CCTransition @@ -56,92 +45,13 @@ @implementation CCTransition CCRenderTexture *_incomingTexture; CCRenderTexture *_outgoingTexture; BOOL _incomingPauseState; - // - CCTransitionFixedFunction _fixedFunction; - CCTransitionDirection _direction; - ccColor4F _color; - SEL _drawSelector; BOOL _outgoingOverIncoming; - CGPoint _outgoingDestination; -} - -// ----------------------------------------------------------------- - -+ (CCTransition *)transitionCrossFadeWithDuration:(NSTimeInterval)duration -{ - return([[self alloc] initWithDuration:duration fixedFunction:CCTransitionFixedFunctionCrossFade direction:CCTransitionDirectionInvalid color:ccBLACK]); -} - -+ (CCTransition *)transitionFadeWithColor:(CCColor*)color duration:(NSTimeInterval)duration -{ - return([[self alloc] initWithDuration:duration fixedFunction:CCTransitionFixedFunctionFadeWithColor direction:CCTransitionDirectionInvalid color:color.ccColor3b]); } -+ (CCTransition *)transitionFadeWithDuration:(NSTimeInterval)duration -{ - return([[self alloc] initWithDuration:duration fixedFunction:CCTransitionFixedFunctionFadeWithColor direction:CCTransitionDirectionInvalid color:ccBLACK]); -} - -+ (CCTransition *)transitionMoveInWithDirection:(CCTransitionDirection)direction duration:(NSTimeInterval)duration -{ - return([[self alloc] initWithDuration:duration fixedFunction:CCTransitionFixedFunctionMoveIn direction:direction color:ccBLACK]); -} - -+ (CCTransition *)transitionPushWithDirection:(CCTransitionDirection)direction duration:(NSTimeInterval)duration -{ - return([[self alloc] initWithDuration:duration fixedFunction:CCTransitionFixedFunctionPush direction:direction color:ccBLACK]); -} - -+ (CCTransition *)transitionRevealWithDirection:(CCTransitionDirection)direction duration:(NSTimeInterval)duration -{ - return([[self alloc] initWithDuration:duration fixedFunction:CCTransitionFixedFunctionReveal direction:direction color:ccBLACK]); -} +@synthesize outgoingOverIncoming = _outgoingOverIncoming; // ----------------------------------------------------------------- -- (id)initWithDuration:(NSTimeInterval)duration - fixedFunction:(CCTransitionFixedFunction)function - direction:(CCTransitionDirection)direction - color:(ccColor3B)color -{ - self = [self initWithDuration:duration]; - - // set up fixed function transition - _fixedFunction = function; - _direction = direction; - self.colorRGBA = [CCColor colorWithCcColor4f:(ccColor4F){(float)color.r / 255, (float)color.g / 255, (float)color.b / 255, 1}]; - _drawSelector = @selector(drawFixedFunction); - _outgoingOverIncoming = NO; - - // find out where the outgoing scene will end (if it is a transition with movement) - CGSize size = [CCDirector sharedDirector].viewportRect.size; - switch (direction) { - case CCTransitionDirectionDown: _outgoingDestination = CGPointMake(0, -size.height); break; - case CCTransitionDirectionLeft: _outgoingDestination = CGPointMake(-size.width, 0); break; - case CCTransitionDirectionRight: _outgoingDestination = CGPointMake(size.width, 0); break; - case CCTransitionDirectionUp: _outgoingDestination = CGPointMake(0, size.height); break; - case CCTransitionDirectionInvalid: _outgoingDestination = CGPointZero; break; - default: NSAssert(NO, @"Unknown fixed transition"); - } - - // start actions to move sprites into position (will not start until scene is started by director) - switch (_fixedFunction) { - case CCTransitionFixedFunctionCrossFade: - case CCTransitionFixedFunctionFadeWithColor: - break; - case CCTransitionFixedFunctionReveal: - _outgoingOverIncoming = YES; - break; - case CCTransitionFixedFunctionMoveIn: - case CCTransitionFixedFunctionPush: - break; - default: NSAssert(NO, @"Unknown fixed transition"); - } - - // done - return(self); -} - - (id)initWithDuration:(NSTimeInterval)duration { self = [super init]; @@ -178,7 +88,7 @@ - (id)initWithDuration:(NSTimeInterval)duration // ----------------------------------------------------------------- -- (void)startTransition:(CCScene *)scene +- (void)prepareTransition:(CCScene *)scene { CCDirector *director = [CCDirector sharedDirector]; @@ -194,32 +104,29 @@ - (void)startTransition:(CCScene *)scene // create render textures // get viewport size CGRect rect = director.viewportRect; - CGSize size = rect.size; - - // Make sure we aren't rounding down. - size.width = ceil(rect.size.width); - size.height = ceil(rect.size.height); + CGSize size = rect.size; + + // Make sure we aren't rounding down. + size.width = ceil(rect.size.width); + size.height = ceil(rect.size.height); // create texture for outgoing scene _outgoingTexture = [CCRenderTexture renderTextureWithWidth:size.width height:size.height pixelFormat:_transitionPixelFormat depthStencilFormat:_transitionDepthStencilFormat]; _outgoingTexture.position = CGPointMake(size.width * 0.5f + rect.origin.x, size.height * 0.5f + rect.origin.y); _outgoingTexture.contentScale /= _outgoingDownScale; - _outgoingTexture.projection = director.projectionMatrix; + _outgoingTexture.projection = director.projectionMatrix; [self addChild:_outgoingTexture z:_outgoingOverIncoming]; - // create texture for incoming scene + // create texture for incoming scene _incomingTexture = [CCRenderTexture renderTextureWithWidth:size.width height:size.height pixelFormat:_transitionPixelFormat depthStencilFormat:_transitionDepthStencilFormat]; _incomingTexture.position = CGPointMake(size.width * 0.5f + rect.origin.x, size.height * 0.5f + rect.origin.y); _incomingTexture.contentScale /= _incomingDownScale; - _incomingTexture.projection = director.projectionMatrix; + _incomingTexture.projection = director.projectionMatrix; [self addChild:_incomingTexture]; // make sure scene is rendered at least once at progress 0.0 [self renderOutgoing:0]; [self renderIncoming:0]; - - // switch to transition scene - [director startTransition:self]; } // ----------------------------------------------------------------- @@ -246,8 +153,7 @@ - (void)update:(CCTime)delta if ([CCDirector sharedDirector].sendCleanupToScene) [_outgoingScene cleanup]; _outgoingScene = nil; - - // Start incoming scene + // Start incoming scene [[CCDirector sharedDirector] replaceScene:_incomingScene]; [_incomingScene onEnterTransitionDidFinish]; [_incomingScene setPaused:NO]; @@ -258,15 +164,11 @@ - (void)update:(CCTime)delta // render the scenes if (_incomingSceneAnimated) - { - [self renderIncoming:_progress]; - } + if (_outgoingSceneAnimated) - { - [self renderOutgoing:_progress]; - } + } // ----------------------------------------------------------------- @@ -283,24 +185,12 @@ - (void)renderIncoming:(float)progress { GLKVector4 c = _outgoingScene.colorRGBA.glkVector4; [_incomingTexture beginWithClear:c.r g:c.g b:c.b a:c.a depth:1.0 stencil:0]; - [_incomingScene visit]; + [_incomingScene visit]; [_incomingTexture end]; } // ----------------------------------------------------------------- -- (void)setRetinaTransition:(BOOL)retinaTransition -{ - _retinaTransition = retinaTransition; - _incomingDownScale = CCTransitionDownScaleMin; - _outgoingDownScale = CCTransitionDownScaleMin; - if (!_retinaTransition && (__ccContentScaleFactor > 1.0)) - { - _incomingDownScale = CCTransitionDownScaleRetina; - _outgoingDownScale = CCTransitionDownScaleRetina; - } -} - - (void)setIncomingDownScale:(float)incomingDownScale { NSAssert((incomingDownScale >= CCTransitionDownScaleMin) && (incomingDownScale <= CCTransitionDownScaleMax),@"Invalid down scale"); @@ -313,8 +203,102 @@ - (void)setOutgoingDownScale:(float)outgoingDownScale _outgoingDownScale = outgoingDownScale; } +@end + + +typedef NS_ENUM(NSInteger, CCTransitionFixedFunction) +{ + CCTransitionFixedFunctionCrossFade, + CCTransitionFixedFunctionFadeWithColor, + CCTransitionFixedFunctionMoveIn, + CCTransitionFixedFunctionPush, + CCTransitionFixedFunctionReveal, +}; + +@implementation CCDefaultTransition { + // + CCTransitionFixedFunction _fixedFunction; + CCTransitionDirection _direction; + ccColor4F _color; + SEL _drawSelector; + CGPoint _outgoingDestination; +} + // ----------------------------------------------------------------- ++ (CCTransition *)transitionCrossFadeWithDuration:(NSTimeInterval)duration +{ + return([[self alloc] initWithDuration:duration fixedFunction:CCTransitionFixedFunctionCrossFade direction:CCTransitionDirectionInvalid color:ccBLACK]); +} + ++ (CCTransition *)transitionFadeWithColor:(CCColor*)color duration:(NSTimeInterval)duration +{ + return([[self alloc] initWithDuration:duration fixedFunction:CCTransitionFixedFunctionFadeWithColor direction:CCTransitionDirectionInvalid color:color.ccColor3b]); +} + ++ (CCTransition *)transitionFadeWithDuration:(NSTimeInterval)duration +{ + return([[self alloc] initWithDuration:duration fixedFunction:CCTransitionFixedFunctionFadeWithColor direction:CCTransitionDirectionInvalid color:ccBLACK]); +} + ++ (CCTransition *)transitionMoveInWithDirection:(CCTransitionDirection)direction duration:(NSTimeInterval)duration +{ + return([[self alloc] initWithDuration:duration fixedFunction:CCTransitionFixedFunctionMoveIn direction:direction color:ccBLACK]); +} + ++ (CCTransition *)transitionPushWithDirection:(CCTransitionDirection)direction duration:(NSTimeInterval)duration +{ + return([[self alloc] initWithDuration:duration fixedFunction:CCTransitionFixedFunctionPush direction:direction color:ccBLACK]); +} + ++ (CCTransition *)transitionRevealWithDirection:(CCTransitionDirection)direction duration:(NSTimeInterval)duration +{ + return([[self alloc] initWithDuration:duration fixedFunction:CCTransitionFixedFunctionReveal direction:direction color:ccBLACK]); +} + +- (id)initWithDuration:(NSTimeInterval)duration + fixedFunction:(CCTransitionFixedFunction)function + direction:(CCTransitionDirection)direction + color:(ccColor3B)color +{ + self = [self initWithDuration:duration]; + + // set up fixed function transition + _fixedFunction = function; + _direction = direction; + self.colorRGBA = [CCColor colorWithCcColor4f:(ccColor4F){(float)color.r / 255, (float)color.g / 255, (float)color.b / 255, 1}]; + _drawSelector = @selector(drawFixedFunction); + self.outgoingOverIncoming = NO; + + // find out where the outgoing scene will end (if it is a transition with movement) + CGSize size = [CCDirector sharedDirector].viewportRect.size; + switch (direction) { + case CCTransitionDirectionDown: _outgoingDestination = CGPointMake(0, -size.height); break; + case CCTransitionDirectionLeft: _outgoingDestination = CGPointMake(-size.width, 0); break; + case CCTransitionDirectionRight: _outgoingDestination = CGPointMake(size.width, 0); break; + case CCTransitionDirectionUp: _outgoingDestination = CGPointMake(0, size.height); break; + case CCTransitionDirectionInvalid: _outgoingDestination = CGPointZero; break; + default: NSAssert(NO, @"Unknown fixed transition"); + } + + // start actions to move sprites into position (will not start until scene is started by director) + switch (_fixedFunction) { + case CCTransitionFixedFunctionCrossFade: + case CCTransitionFixedFunctionFadeWithColor: + break; + case CCTransitionFixedFunctionReveal: + self.outgoingOverIncoming = YES; + break; + case CCTransitionFixedFunctionMoveIn: + case CCTransitionFixedFunctionPush: + break; + default: NSAssert(NO, @"Unknown fixed transition"); + } + + // done + return(self); +} + -(void)draw:(CCRenderer *)renderer transform:(const GLKMatrix4 *)transform { void (*Func)(id, SEL) = (void (*)(id, SEL)) objc_msgSend; @@ -326,28 +310,26 @@ - (void)drawFixedFunction switch (_fixedFunction) { case CCTransitionFixedFunctionCrossFade: - _incomingTexture.sprite.opacity = _progress; - _outgoingTexture.sprite.opacity = 1; + self.incomingTexture.sprite.opacity = self.progress; + self.outgoingTexture.sprite.opacity = 1; break; case CCTransitionFixedFunctionFadeWithColor: - _incomingTexture.sprite.opacity = clampf(2.0 * (_progress - 0.5), 0, 1); - _outgoingTexture.sprite.opacity = clampf(1.0 * (1 - (2 * _progress)), 0, 1); + self.incomingTexture.sprite.opacity = clampf(2.0 * (self.progress - 0.5), 0, 1); + self.outgoingTexture.sprite.opacity = clampf(1.0 * (1 - (2 * self.progress)), 0, 1); break; case CCTransitionFixedFunctionReveal: - _outgoingTexture.sprite.position = ccpMult(_outgoingDestination, _progress); + self.outgoingTexture.sprite.position = ccpMult(_outgoingDestination, self.progress); break; case CCTransitionFixedFunctionMoveIn: - _incomingTexture.sprite.position = ccpMult(_outgoingDestination, -1 + _progress); + self.incomingTexture.sprite.position = ccpMult(_outgoingDestination, -1 + self.progress); break; case CCTransitionFixedFunctionPush: - _outgoingTexture.sprite.position = ccpMult(_outgoingDestination, _progress); - _incomingTexture.sprite.position = ccpMult(_outgoingDestination, -1 + _progress); + self.outgoingTexture.sprite.position = ccpMult(_outgoingDestination, self.progress); + self.incomingTexture.sprite.position = ccpMult(_outgoingDestination, -1 + self.progress); break; default: break; } } -// ----------------------------------------------------------------- - @end diff --git a/cocos2d/Objective-C/CCNode_objc.m b/cocos2d/Objective-C/CCNode_objc.m deleted file mode 100644 index a766d437ec0..00000000000 --- a/cocos2d/Objective-C/CCNode_objc.m +++ /dev/null @@ -1,41 +0,0 @@ -/* - * cocos2d for iPhone: http://www.cocos2d-iphone.org - * - * Copyright (c) 2009 Valentin Milea - * Copyright (c) 2008-2010 Ricardo Quesada - * Copyright (c) 2011 Zynga Inc. - * Copyright (c) 2013-2014 Cocos2D Authors - * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in - * all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - * THE SOFTWARE. - */ - -#import "CCNode_objc.h" - -// ----------------------------------------------------------------- - -@implementation CCNode (CCNode_objc) - -// ----------------------------------------------------------------- - -@end - - - - - diff --git a/cocos2d/Platforms/Android/CCActivity.h b/cocos2d/Platforms/Android/CCActivity.h deleted file mode 100644 index cb9f78ff3be..00000000000 --- a/cocos2d/Platforms/Android/CCActivity.h +++ /dev/null @@ -1,36 +0,0 @@ -// -// CCActivity.h -// Cocos2d -// -// Created by Philippe Hausler on 6/12/14. -// Copyright (c) 2014 Apportable. All rights reserved. -// - -#import "ccMacros.h" -#if __CC_PLATFORM_ANDROID - -#import -#import "../../Platforms/CCGL.h" -#import "CCProtocols.h" - -@class CCScene; -@class AndroidAbsoluteLayout; - -@interface CCActivity : GLActivity -@property (readonly, nonatomic) AndroidAbsoluteLayout *layout; -+ (instancetype)currentActivity; - - -- (void)runOnGameThread:(dispatch_block_t)block; -- (void)runOnGameThread:(dispatch_block_t)block waitUntilDone:(BOOL)waitUntilDone; - -- (void)setupPaths; -- (CCScene *)startScene; - -- (EGLContext)pushApplicationContext; -- (void)popApplicationContext:(EGLContext)ctx; - -@end - -#endif - diff --git a/cocos2d/Platforms/Android/CCActivity.m b/cocos2d/Platforms/Android/CCActivity.m deleted file mode 100644 index ee30ae6a13b..00000000000 --- a/cocos2d/Platforms/Android/CCActivity.m +++ /dev/null @@ -1,455 +0,0 @@ -// -// CCActivity.m -// Cocos2d -// -// Created by Philippe Hausler on 6/12/14. -// Copyright (c) 2014 Apportable. All rights reserved. -// - -#import "CCActivity.h" - -#if __CC_PLATFORM_ANDROID - -#import -#import -#import - -#import "cocos2d.h" -#import "CCBReader.h" -#import "CCGLView.h" -#import "CCScene.h" - -#import "CCPackageManager.h" - -#import -#import -#import -#import -#import - -#define USE_MAIN_THREAD 0 // enable to run on OpenGL/Cocos2D on the android main thread - -// Provided from foundation -@interface NSValue (NSValueGeometryExtensions) - -+ (NSValue *)valueWithCGPoint:(CGPoint)point; -+ (NSValue *)valueWithCGSize:(CGSize)size; -+ (NSValue *)valueWithCGRect:(CGRect)rect; -+ (NSValue *)valueWithCGAffineTransform:(CGAffineTransform)transform; - -- (CGPoint)CGPointValue; -- (CGSize)CGSizeValue; -- (CGRect)CGRectValue; -- (CGAffineTransform)CGAffineTransformValue; - -@end - -extern ANativeWindow *ANativeWindow_fromSurface(JNIEnv *env, jobject surface); - -static CCActivity *currentActivity = nil; -const CGSize FIXED_SIZE = {568, 384}; - -@implementation CCActivity { - CCGLView *_glView; - NSThread *_thread; - BOOL _running; - NSRunLoop *_gameLoop; - NSMutableDictionary *_cocos2dSetupConfig; -} -@synthesize layout=_layout; - - -- (void)dealloc -{ - currentActivity = nil; - [_glView release]; - [_layout release]; - [_thread release]; - [_cocos2dSetupConfig release]; - [super dealloc]; -} - -+ (instancetype)currentActivity -{ - return currentActivity; -} - -static void handler(NSException *e) -{ - NSLog(@"Unhandled exception %@", e); -} - -static CGFloat FindLinearScale(CGFloat size, CGFloat fixedSize) -{ - int scale = 1; - while(fixedSize*scale < size) scale++; - - return scale; -} - -- (void)run -{ - if (_running) { - return; - } - NSSetUncaughtExceptionHandler(&handler); - currentActivity = self; - _running = YES; - _layout = [[AndroidAbsoluteLayout alloc] initWithContext:self]; - AndroidDisplayMetrics *metrics = [[AndroidDisplayMetrics alloc] init]; - [self.windowManager.defaultDisplay metricsForDisplayMetrics:metrics]; - - // Configure Cocos2d with the options set in SpriteBuilder - NSString* configPath = [[[NSBundle mainBundle] resourcePath] stringByAppendingPathComponent:@"Published-Android"]; - - configPath = [configPath stringByAppendingPathComponent:@"configCocos2d.plist"]; - - _cocos2dSetupConfig = [[NSMutableDictionary dictionaryWithContentsOfFile:configPath] retain]; - - enum CCAndroidScreenMode screenMode = CCNativeScreenMode; - - if([_cocos2dSetupConfig[CCSetupScreenMode] isEqual:CCScreenModeFlexible] || - [_cocos2dSetupConfig[CCSetupScreenMode] isEqual:CCScreenModeFixed]) - { - screenMode = CCScreenScaledAspectFitEmulationMode; - } - - - if([_cocos2dSetupConfig[CCSetupScreenOrientation] isEqual:CCScreenOrientationPortrait]) - { - self.requestedOrientation = AndroidActivityInfoScreenOrientationSensorPortrait; - } - else if([_cocos2dSetupConfig[CCSetupScreenOrientation] isEqual:CCScreenOrientationLandscape]) - { - self.requestedOrientation = AndroidActivityInfoScreenOrientationSensorLandscape; - } - else - { - self.requestedOrientation = AndroidActivityInfoScreenOrientationUnspecified; - } - - _glView = [[CCGLView alloc] initWithContext:self screenMode:screenMode scaleFactor:metrics.density]; - [metrics release]; - [_glView.holder addCallback:self]; - [self.layout addView:_glView]; - [self setContentView:_layout]; - - AndroidLooper *looper = [AndroidLooper currentLooper]; - [looper scheduleInRunLoop:[NSRunLoop currentRunLoop] forMode:NSDefaultRunLoopMode]; -} - -- (void)onDestroy -{ - [[CCDirector sharedDirector] end]; - exit(0); -} - -- (void)onResume -{ -#if USE_MAIN_THREAD - [self handleResume]; -#else - if(_thread == nil) - { - return; - } - - [self performSelector:@selector(handleResume) onThread:_thread withObject:nil waitUntilDone:YES modes:@[NSDefaultRunLoopMode]]; -#endif -} - -- (void)handleResume -{ - [[CCDirector sharedDirector] setNextDeltaTimeZero:YES]; - [[CCDirector sharedDirector] resume]; -} - -- (void)onPause -{ -#if USE_MAIN_THREAD - [self handlePause]; -#else - if(_thread == nil) - { - return; - } - - [self performSelector:@selector(handlePause) onThread:_thread withObject:nil waitUntilDone:YES modes:@[NSDefaultRunLoopMode]]; -#endif -} - -- (void)handlePause -{ - [[CCDirector sharedDirector] pause]; - [[CCPackageManager sharedManager] savePackages]; -} - - -- (void)onLowMemory -{ -#if USE_MAIN_THREAD - [self handleLowMemory]; -#else - if(_thread == nil) - { - return; - } - - [self performSelector:@selector(handleLowMemory) onThread:_thread withObject:nil waitUntilDone:YES modes:@[NSDefaultRunLoopMode]]; -#endif -} - -- (void)handleLowMemory -{ - [[CCDirector sharedDirector] purgeCachedData]; - [[CCPackageManager sharedManager] savePackages]; -} - -- (void)reshape:(NSValue *)value -{ - CCDirectorAndroid *director = (CCDirectorAndroid*)[CCDirector sharedDirector]; - [director reshapeProjection:value.CGSizeValue]; // crashes sometimes.. -} - -- (void)surfaceChanged:(JavaObject *)holder format:(int)format width:(int)width height:(int)height -{ - if(_glView == nil) - return; - - _glView.bounds = CGRectMake(0, 0, width/_glView.contentScaleFactor, height/_glView.contentScaleFactor); - -#if USE_MAIN_THREAD - [self reshape:[NSValue valueWithCGSize:CGSizeMake(width, height)]]; -#else - [self performSelector:@selector(reshape:) onThread:_thread withObject:[NSValue valueWithCGSize:CGSizeMake(width, height)] waitUntilDone:YES modes:@[NSDefaultRunLoopMode]]; -#endif -} - -- (void)setupView:(JavaObject *)holder -{ - ANativeWindow* window = holder.surface.nativeWindow; - [_glView setupView:window]; -} - -- (void)setupPaths -{ - [CCBReader configureCCFileUtils]; -} - -- (void)startGL:(JavaObject *)holder -{ - @autoreleasepool { - - _gameLoop = [NSRunLoop currentRunLoop]; - - [_gameLoop addPort:[NSPort port] forMode:NSDefaultRunLoopMode]; // Ensure that _gameLoop always has a source. - - [self setupView:holder]; - - [self setupPaths]; - - CCDirectorAndroid *director = (CCDirectorAndroid*)[CCDirector sharedDirector]; - director.delegate = self; - [CCTexture setDefaultAlphaPixelFormat:CCTexturePixelFormat_RGBA8888]; - [director setView:_glView]; - - if([_cocos2dSetupConfig[CCSetupScreenMode] isEqual:CCScreenModeFixed]) - { - [self setupFixedScreenMode]; - } - else - { - [self setupFlexibleScreenMode]; - } - - [[CCPackageManager sharedManager] loadPackages]; - - - - [director runWithScene:[self startScene]]; - [director setAnimationInterval:1.0/60.0]; - [director startAnimation]; -#if !USE_MAIN_THREAD - [_gameLoop runUntilDate:[NSDate distantFuture]]; -#endif - } -} - -- (void)setupFlexibleScreenMode -{ - CCDirectorAndroid *director = (CCDirectorAndroid*)[CCDirector sharedDirector]; - - NSInteger device = [[CCConfiguration sharedConfiguration] runningDevice]; - BOOL tablet = device == CCDeviceiPad || device == CCDeviceiPadRetinaDisplay; - - if(tablet && [_cocos2dSetupConfig[CCSetupTabletScale2X] boolValue]) - { - // Set the UI scale factor to show things at "native" size. - director.UIScaleFactor = 0.5; - - // Let CCFileUtils know that "-ipad" textures should be treated as having a contentScale of 2.0. - [[CCFileUtils sharedFileUtils] setiPadContentScaleFactor:2.0]; - } - - director.contentScaleFactor *= 1.83; - - [director setProjection:CCDirectorProjection2D]; -} - -- (void)setupFixedScreenMode -{ - CCDirectorAndroid *director = (CCDirectorAndroid*)[CCDirector sharedDirector]; - - CGSize size = [CCDirector sharedDirector].viewSizeInPixels; - - NSLog(@"pixel width = %f, pixel height = %f", size.width, size.height); - - CGSize fixed = FIXED_SIZE; - if([_cocos2dSetupConfig[CCSetupScreenOrientation] isEqualToString:CCScreenOrientationPortrait]) - { - CC_SWAP(fixed.width, fixed.height); - } - - CGFloat scaleFactor = MAX(size.width/ fixed.width, size.height/ fixed.height); - - director.contentScaleFactor = scaleFactor; - director.UIScaleFactor = 1; - - [[CCFileUtils sharedFileUtils] setiPadContentScaleFactor:2.0]; - - director.designSize = fixed; - [director setProjection:CCDirectorProjectionCustom]; -} - -- (CCScene *)startScene -{ - NSAssert([self class] != [CCActivity class], @"%s requires a subclass implementation", sel_getName(_cmd)); - return nil; -} - -- (void)runOnGameThread:(dispatch_block_t)block -{ - [self runOnGameThread:block waitUntilDone:NO]; -} - -- (void)runOnGameThread:(dispatch_block_t)block waitUntilDone:(BOOL)waitUntilDone -{ -#if !USE_MAIN_THREAD - if (!waitUntilDone) - { - CFRunLoopPerformBlock([_gameLoop getCFRunLoop], kCFRunLoopDefaultMode, block); - } - else - { - [[Block_copy(block) autorelease] performSelector:@selector(invoke) onThread:_thread withObject:nil waitUntilDone:YES]; - } -#else - EGLContext ctx = [self pushApplicationContext]; - block(); - [self popApplicationContext:ctx]; - -#endif -} - -- (void)surfaceCreated:(JavaObject *)holder -{ -#if USE_MAIN_THREAD - [self startGL:holder]; -#else - if (_thread == nil) - { - _thread = [[NSThread alloc] initWithTarget:self selector:@selector(startGL:) object:holder]; - [_thread start]; - } - else - { - [self performSelector:@selector(setupView:) onThread:_thread withObject:holder waitUntilDone:YES modes:@[NSDefaultRunLoopMode]]; - CCDirectorAndroid *director = (CCDirectorAndroid*)[CCDirector sharedDirector]; - [director performSelector:@selector(startAnimation) onThread:_thread withObject:nil waitUntilDone:YES modes:@[NSDefaultRunLoopMode]]; - } -#endif -} - -- (void)surfaceDestroyed:(JavaObject *)holder -{ -#if USE_MAIN_THREAD - [self handleDestroy]; -#else - [self performSelector:@selector(handleDestroy) onThread:_thread withObject:nil waitUntilDone:NO modes:@[NSDefaultRunLoopMode]]; -#endif -} - -- (void)handleDestroy -{ - [[CCDirector sharedDirector] stopAnimation]; -} - -- (BOOL)onKeyDown:(int32_t)keyCode keyEvent:(AndroidKeyEvent *)event -{ - return NO; -} - -- (BOOL)onKeyUp:(int32_t)keyCode keyEvent:(AndroidKeyEvent *)event -{ - return NO; -} - -- (EGLContext)pushApplicationContext -{ - EGLDisplay display; - EGLSurface surfaceR; - EGLSurface surfaceD; - - EGLContext ctx = eglGetCurrentContext(); - - EGLContext appContext = _glView.eglContext; - if (appContext != ctx) - { - display = eglGetCurrentDisplay(); - surfaceD = eglGetCurrentSurface(EGL_DRAW); - surfaceR = eglGetCurrentSurface(EGL_READ); - - EGLSurface surface = _glView.eglSurface; - - eglMakeCurrent(_glView.eglDisplay, surface, surface, appContext); - return ctx; - } - - return NULL; -} - -- (void)popApplicationContext:(EGLContext)ctx -{ - if (ctx != NULL) - { - EGLDisplay display; - EGLSurface surfaceR; - EGLSurface surfaceD; - - display = eglGetCurrentDisplay(); - surfaceD = eglGetCurrentSurface(EGL_DRAW); - surfaceR = eglGetCurrentSurface(EGL_READ); - - eglMakeCurrent(display, surfaceD, surfaceR, ctx); - } -} - -#pragma mark CCDirector Delegate - -// Projection delegate is only used if the fixed resolution mode is enabled --(GLKMatrix4)updateProjection -{ - CGSize sizePoint = [CCDirector sharedDirector].viewSize; - CGSize fixed = [CCDirector sharedDirector].designSize; - - // Half of the extra size that will be cut off - CGPoint offset = ccpMult(ccp(fixed.width - sizePoint.width, fixed.height - sizePoint.height), 0.5); - - return CCMatrix4MakeOrtho(offset.x, sizePoint.width + offset.x, offset.y, sizePoint.height + offset.y, -1024, 1024); -} - -@end - -#endif - - diff --git a/cocos2d/Platforms/Android/CCDirectorAndroid.h b/cocos2d/Platforms/Android/CCDirectorAndroid.h deleted file mode 100644 index 481df2f0d34..00000000000 --- a/cocos2d/Platforms/Android/CCDirectorAndroid.h +++ /dev/null @@ -1,44 +0,0 @@ -// -// CCDirectorAndroid.h -// cocos2d-ios -// -// Created by Oleg Osin on 5/22/14. -// -// - -#import "../../ccMacros.h" - -#if __CC_PLATFORM_ANDROID - -#import "../../CCDirector.h" - - -@interface CCDirector (AndroidExtension) - -@end - -@interface CCDirectorAndroid : CCDirector - -@end - -/* DisplayLinkDirector is a Director that synchronizes timers with the refresh rate of the display. - * - * Features and Limitations: - * - Scheduled timers & drawing are synchronizes with the refresh rate of the display - * - Only supports animation intervals of 1/60 1/30 & 1/15 - * - */ - -@interface CCDirectorDisplayLink : CCDirectorAndroid -{ - NSTimer* _displayLink; - CFTimeInterval _lastDisplayTime; -} - --(void) mainLoop:(id)sender; - -@end - - -#endif - diff --git a/cocos2d/Platforms/Android/CCDirectorAndroid.m b/cocos2d/Platforms/Android/CCDirectorAndroid.m deleted file mode 100644 index 1e2b3d13890..00000000000 --- a/cocos2d/Platforms/Android/CCDirectorAndroid.m +++ /dev/null @@ -1,230 +0,0 @@ -// -// CCDirectorAndroid.m -// cocos2d-ios -// -// Created by Oleg Osin on 5/22/14. -// -// - -#import "CCDirectorAndroid.h" - -#if __CC_PLATFORM_ANDROID - -#import "CCDirector_Private.h" - -#import "../../CCScheduler.h" -#import "../../CCActionManager.h" -#import "../../CCTextureCache.h" -#import "../../ccMacros.h" -#import "../../CCScene.h" -#import "../../CCShader.h" -#import "../../ccFPSImages.h" -#import "../../CCConfiguration.h" -#import "CCRenderer_Private.h" -#import "CCTouch.h" - - -#pragma mark - -#pragma mark Director - -@interface CCDirector () --(void) setNextScene; --(void) showStats; --(void) calculateDeltaTime; --(void) calculateMPF; -@end - - - -#pragma mark - -#pragma mark CCDirectorAndroid - -@implementation CCDirectorAndroid - -- (id) init -{ - if( (self=[super init]) ) { - // main thread - _runningThread = [NSThread currentThread]; - } - - return self; -} - - --(void) setViewport -{ - CGSize size = _winSizeInPixels; - glViewport(0, 0, size.width, size.height ); -} - --(void) setProjection:(CCDirectorProjection)projection -{ - CGSize sizePoint = _winSizeInPoints; - - [self setViewport]; - - switch (projection) { - case CCDirectorProjection2D: - _projectionMatrix = GLKMatrix4MakeOrtho(0, sizePoint.width, 0, sizePoint.height, -1024, 1024 ); - break; - - case CCDirectorProjection3D: { - float zeye = sizePoint.height*sqrtf(3.0f)/2.0f; - _projectionMatrix = GLKMatrix4Multiply( - GLKMatrix4MakePerspective(CC_DEGREES_TO_RADIANS(60), (float)sizePoint.width/sizePoint.height, 0.1f, zeye*2), - GLKMatrix4MakeTranslation(-sizePoint.width/2.0, -sizePoint.height/2, -zeye) - ); - break; - } - - case CCDirectorProjectionCustom: - if( [_delegate respondsToSelector:@selector(updateProjection)] ) - _projectionMatrix = [_delegate updateProjection]; - break; - - default: - CCLOG(@"cocos2d: Director: unrecognized projection"); - break; - } - - _projection = projection; - [self createStatsLabel]; -} - -// override default logic -- (void) runWithScene:(CCScene*) scene -{ - NSAssert( scene != nil, @"Argument must be non-nil"); - NSAssert(_runningScene == nil, @"This command can only be used to start the CCDirector. There is already a scene present."); - - [self pushScene:scene]; - - NSThread *thread = [self runningThread]; - [self performSelector:@selector(drawScene) onThread:thread withObject:nil waitUntilDone:YES]; -} - --(void)end -{ - [super end]; -} - --(void) setView:(CCGLView *)view -{ - [super setView:view]; - if( view ) { - // set size - CGFloat scale = view.contentScaleFactor; - CGSize size = view.bounds.size; - _winSizeInPixels = CGSizeMake(size.width * scale, size.height * scale); - } -} - -- (void)runBlock:(dispatch_block_t)block -{ - [[CCActivity currentActivity] runOnGameThread:block]; -} - -@end - - -#pragma mark - -#pragma mark DirectorDisplayLink - -@implementation CCDirectorDisplayLink - --(void) mainLoop:(id)sender -{ - EGLContext *ctx = [[CCActivity currentActivity] pushApplicationContext]; - - [self drawScene]; - - [[CCActivity currentActivity] popApplicationContext:ctx]; -} - -- (void)setAnimationInterval:(NSTimeInterval)interval -{ - _animationInterval = interval; - if(_displayLink) - { - [self stopAnimation]; - [self startAnimation]; - } -} - -- (void) startAnimation -{ - [super startAnimation]; - - if(_animating) - return; - - gettimeofday( &_lastUpdate, NULL); - - // approximate frame rate - // assumes device refreshes at 60 fps - - CCLOG(@"cocos2d: animation started with frame interval: %d", (int)floorf(_animationInterval * 60.0)); - - _displayLink = [NSTimer scheduledTimerWithTimeInterval:_animationInterval - target:self - selector:@selector(mainLoop:) - userInfo:nil repeats:YES]; - - _animating = YES; -} - -- (void) stopAnimation -{ - if(!_animating) - return; - - if([_delegate respondsToSelector:@selector(stopAnimation)]) - { - [_delegate stopAnimation]; - } - - CCLOG(@"cocos2d: animation stopped"); - - [_displayLink invalidate]; - _displayLink = nil; - _animating = NO; -} - -// Overriden in order to use a more stable delta time --(void) calculateDeltaTime -{ - static unsigned long long last = 0; - struct timespec t; - clock_gettime(CLOCK_MONOTONIC, &t); - unsigned long long now = t.tv_sec * 1e9 + t.tv_nsec; - if (now != last) - { - if (last != 0) - { - _dt = (now - last) / (double)NSEC_PER_SEC; - } - last = now; - } -} - - -#pragma mark Director Thread - -// -// Director has its own thread -// --(void) threadMainLoop -{ - @autoreleasepool { - [[NSRunLoop currentRunLoop] addTimer:_displayLink forMode:NSRunLoopCommonModes]; - - // start the run loop - [[NSRunLoop currentRunLoop] run]; - } -} - -@end - -#endif //__CC_PLATFORM_ANDROID - diff --git a/cocos2d/Platforms/Android/CCGLView.h b/cocos2d/Platforms/Android/CCGLView.h deleted file mode 100644 index 6ecff24b231..00000000000 --- a/cocos2d/Platforms/Android/CCGLView.h +++ /dev/null @@ -1,69 +0,0 @@ -// -// CCGLView.h -// cocos2d-ios -// -// Created by Oleg Osin on 5/22/14. -// -// - -#import "ccMacros.h" - -#if __CC_PLATFORM_ANDROID - - -#import -#import -#import - -#import "../../Platforms/CCGL.h" -#import "CCDirectorView.h" - -@class AndroidGestureDetector; - -enum CCAndroidScreenMode { - - /* - NOTE: Emulation modes are not ideal and are only inteded for quick prototyping, - because emulation modes force a an aspect ratio that is not intended for the device. - */ - - /* - Keeps true to the device resolution and calculates a content scale - based on AndroidDisplayMetrics density property - */ - CCNativeScreenMode, - - /* - Provides a screen that is 320pt wide and has the aspect ratio of the - device. The screen size in pixels matches the native - resolution. - */ - CCScreenScaledAspectFitEmulationMode -}; - -BRIDGE_CLASS("com.apportable.GLView") -@interface CCGLView : GLView - - -- (id)initWithContext:(AndroidContext *)context screenMode:(enum CCAndroidScreenMode)screenMode scaleFactor:(float)scaleFactor; - -- (BOOL)setupView:(ANativeWindow*)window; -- (void)swapBuffers; - -@property (nonatomic) CGFloat contentScaleFactor; -@property (nonatomic) CGRect bounds; -@property (nonatomic, readonly) EGLDisplay eglDisplay; -@property (nonatomic, readonly) EGLSurface eglSurface; -@property (nonatomic, readonly) EGLContext eglContext; -@property (nonatomic, readonly) EGLConfig eglConfiguration; -@property (nonatomic, readonly) enum CCAndroidScreenMode screenMode; - -- (void)addGestureDetector:(AndroidGestureDetector *)detector; -- (void)removeGestureDetector:(AndroidGestureDetector *)detector; - --(GLuint)fbo; - -@end -#endif // __CC_PLATFORM_ANDROID - - diff --git a/cocos2d/Platforms/Android/CCGLView.m b/cocos2d/Platforms/Android/CCGLView.m deleted file mode 100644 index 3dc163b882a..00000000000 --- a/cocos2d/Platforms/Android/CCGLView.m +++ /dev/null @@ -1,589 +0,0 @@ -// -// CCGLView.m -// cocos2d-ios -// -// Created by Oleg Osin on 5/22/14. -// -// - -#import "cocos2d.h" -#import "CCGLView.h" - -#if __CC_PLATFORM_ANDROID - -#import -#import -#import "CCTouchEvent.h" -#import "CCTouch.h" -#import "CCActivity.h" -#import "CCResponderManager.h" -#import "CCTouchAndroid.h" -#import - -#import -#import - -static const CGSize FIXED_SIZE = {586, 384}; - -static NSMutableDictionary *touches = nil; -static CCTouchEvent *currentEvent = nil; - -@implementation CCGLView { - NSMutableSet *_gestureDetectors; -} - - -- (id)initWithContext:(AndroidContext *)context screenMode:(enum CCAndroidScreenMode)screenMode scaleFactor:(float)scaleFactor -{ - self = [self initWithContext:context]; - if (self) - { - _contentScaleFactor = scaleFactor; - _screenMode = screenMode; - } - return self; -} - -- (void)dealloc -{ - [_gestureDetectors release]; - [super dealloc]; -} - -- (void)addGestureDetector:(AndroidGestureDetector *)detector -{ - if (_gestureDetectors == nil) { - _gestureDetectors = [[NSMutableSet alloc] init]; - } - - [_gestureDetectors addObject:detector]; -} - -- (void)removeGestureDetector:(AndroidGestureDetector *)detector -{ - [_gestureDetectors removeObject:detector]; -} - -- (BOOL)onTouchEvent:(AndroidMotionEvent *)event -{ - assert(pthread_main_np()); - @autoreleasepool { - BOOL cancelTouch = NO; - for (AndroidGestureDetector *detector in _gestureDetectors) { - cancelTouch = [detector onTouchEvent:event]; - } - - - static dispatch_once_t once = 0L; - dispatch_once(&once, ^{ - touches = [[NSMutableDictionary alloc] init]; - currentEvent = [[CCTouchEvent alloc] init]; - }); - - CCTouchEvent *ev = nil; - CCTouchPhase phase = CCTouchPhaseStationary; - switch (event.action & AndroidMotionEventActionMask) { - case AndroidMotionEventActionPointerDown: - case AndroidMotionEventActionDown: - phase = CCTouchPhaseBegan; - break; - case AndroidMotionEventActionMove: - phase = CCTouchPhaseMoved; - break; - case AndroidMotionEventActionPointerUp: - case AndroidMotionEventActionUp: - phase = CCTouchPhaseEnded; - break; - case AndroidMotionEventActionCancel: - phase = CCTouchPhaseCancelled; - break; - default: - return NO; - } - - if(cancelTouch) - { - phase = CCTouchPhaseCancelled; - } - - NSTimeInterval timestamp = event.eventTime * 1000.0; - currentEvent.timestamp = timestamp; - NSMutableSet *eventTouches = [NSMutableSet set]; - int32_t pointerIndex = -1; - if (phase == CCTouchPhaseBegan || - phase == CCTouchPhaseEnded) { - pointerIndex = event.actionIndex; - } - for (int32_t i = 0; i < event.pointerCount; i++) { - if ((phase == CCTouchPhaseBegan || - phase == CCTouchPhaseEnded) && i != pointerIndex) { - continue; - } - NSNumber *identifier = @([event pointerIdForPointerIndex:i]); - CGPoint pt; - pt.x = [event xForPointerIndex:i] / _contentScaleFactor; - pt.y = [event yForPointerIndex:i] / _contentScaleFactor; - CCTouchAndroid *touch = touches[identifier]; - if (touch == nil) { - touch = [[CCTouchAndroid alloc] init]; - touches[identifier] = touch; - [touch release]; - } - - [touch update:pt phase:phase timestamp:timestamp]; - [eventTouches addObject:touch]; - } - - - switch (phase) { - case CCTouchPhaseBegan: - [currentEvent updateTouchesBegan:eventTouches]; - break; - case CCTouchPhaseMoved: - [currentEvent updateTouchesMoved:eventTouches]; - break; - case CCTouchPhaseEnded: - [currentEvent updateTouchesEnded:eventTouches]; - break; - case CCTouchPhaseCancelled: - [currentEvent updateTouchesCancelled:eventTouches]; - break; - default: - break; - } - - [[CCActivity currentActivity] runOnGameThread:^{ - CCResponderManager *mgr = [[CCDirector sharedDirector] responderManager]; - switch (phase) { - case CCTouchPhaseBegan: - [mgr touchesBegan:eventTouches withEvent:currentEvent]; - break; - case CCTouchPhaseMoved: - [mgr touchesMoved:eventTouches withEvent:currentEvent]; - break; - case CCTouchPhaseEnded: - [mgr touchesEnded:eventTouches withEvent:currentEvent]; - break; - case CCTouchPhaseCancelled: - [mgr touchesCancelled:eventTouches withEvent:currentEvent]; - break; - default: - break; - } - - } waitUntilDone:YES]; - } - - return YES; -} - -static inline void logConfig(EGLDisplay display, EGLConfig conf) { - EGLint value; - - eglGetConfigAttrib(display, conf, EGL_RED_SIZE, &value); - NSLog(@"EGL_RED_SIZE = %d", value); - - eglGetConfigAttrib(display, conf, EGL_GREEN_SIZE, &value); - NSLog(@"EGL_GREEN_SIZE = %d", value); - - eglGetConfigAttrib(display, conf, EGL_BLUE_SIZE, &value); - NSLog(@"EGL_BLUE_SIZE = %d", value); - - eglGetConfigAttrib(display, conf, EGL_ALPHA_SIZE, &value); - NSLog(@"EGL_ALPHA_SIZE = %d", value); - - eglGetConfigAttrib(display, conf, EGL_DEPTH_SIZE, &value); - NSLog(@"EGL_DEPTH_SIZE = %d", value); - - eglGetConfigAttrib(display, conf, EGL_STENCIL_SIZE, &value); - NSLog(@"EGL_STENCIL_SIZE = %d", value); - - eglGetConfigAttrib(display, conf, EGL_BUFFER_SIZE, &value); - NSLog(@"EGL_BUFFER_SIZE = %d", value); - - eglGetConfigAttrib(display, conf, EGL_CONFIG_ID, &value); - NSLog(@"EGL_CONFIG_ID = %d", value); - - eglGetConfigAttrib(display, conf, EGL_LEVEL, &value); - NSLog(@"EGL_LEVEL = %d", value); - - eglGetConfigAttrib(display, conf, EGL_MAX_PBUFFER_WIDTH, &value); - NSLog(@"EGL_MAX_PBUFFER_WIDTH = %d", value); - - eglGetConfigAttrib(display, conf, EGL_MAX_PBUFFER_HEIGHT, &value); - NSLog(@"EGL_MAX_PBUFFER_HEIGHT = %d", value); - - eglGetConfigAttrib(display, conf, EGL_MAX_PBUFFER_PIXELS, &value); - NSLog(@"EGL_MAX_PBUFFER_PIXELS = %d", value); - - eglGetConfigAttrib(display, conf, EGL_NATIVE_VISUAL_ID, &value); - NSLog(@"EGL_NATIVE_VISUAL_ID = %d", value); - - eglGetConfigAttrib(display, conf, EGL_NATIVE_VISUAL_TYPE, &value); - NSLog(@"EGL_NATIVE_VISUAL_TYPE = %d", value); - - eglGetConfigAttrib(display, conf, EGL_SAMPLE_BUFFERS, &value); - NSLog(@"EGL_SAMPLE_BUFFERS = %d", value); - - eglGetConfigAttrib(display, conf, EGL_SAMPLES, &value); - NSLog(@"EGL_SAMPLES = %d", value); - - eglGetConfigAttrib(display, conf, EGL_TRANSPARENT_TYPE, &value); - NSLog(@"EGL_TRANSPARENT_TYPE = %d", value); - - eglGetConfigAttrib(display, conf, EGL_CONFIG_CAVEAT, &value); - NSLog(@"EGL_CONFIG_CAVEAT = %d (%d,%d,%d)", value, EGL_NONE, EGL_SLOW_CONFIG, EGL_NON_CONFORMANT_CONFIG); - - eglGetConfigAttrib(display, conf, EGL_NATIVE_RENDERABLE, &value); - NSLog(@"EGL_NATIVE_RENDERABLE = %d", value); - - eglGetConfigAttrib(display, conf, EGL_SURFACE_TYPE, &value); - NSLog(@"EGL_SURFACE_TYPE = %d EGL_WINDOW_BIT=%d EGL_PBUFFER_BIT=%d EGL_PIXMAP_BIT=%d", value, EGL_WINDOW_BIT, EGL_PBUFFER_BIT, EGL_PIXMAP_BIT); -} - -- (BOOL)setupView:(ANativeWindow*)window -{ - const EGLint configAttribs[] = { - EGL_SURFACE_TYPE, EGL_WINDOW_BIT, - EGL_BLUE_SIZE, 8, - EGL_GREEN_SIZE, 8, - EGL_RED_SIZE, 8, - EGL_RENDERABLE_TYPE, EGL_OPENGL_ES2_BIT, -// EGL_CONTEXT_CLIENT_VERSION, 2, - EGL_NONE - }; - - const EGLint contextAttribs[] = { - EGL_CONTEXT_CLIENT_VERSION, 2, - EGL_NONE - }; - - EGLint numConfigs; - EGLint format; - EGLint width; - EGLint height; - GLfloat ratio; - - if(!eglBindAPI(EGL_OPENGL_ES_API)) - NSLog(@"EGL ERROR - Failed to bind egl API"); - - _eglDisplay = eglGetDisplay(EGL_DEFAULT_DISPLAY); - if(_eglDisplay == EGL_NO_DISPLAY) - { - NSLog(@"eglGetDisplay() returned error %d", eglGetError()); - return NO; - } - - if(eglGetError() != EGL_SUCCESS) { NSLog(@"EGL ERROR: %i", eglGetError()); }; - - if(!eglInitialize(_eglDisplay, NULL, NULL)) - { - NSLog(@"eglInitialize() returned error %d", eglGetError()); - return NO; - } - - if(eglGetError() != EGL_SUCCESS) { NSLog(@"EGL ERROR: %i", eglGetError()); }; - - eglGetConfigs(_eglDisplay, nil, 0, &numConfigs); - - EGLConfig *configs = alloca(numConfigs * sizeof(EGLConfig)); - eglGetConfigs(_eglDisplay, configs, numConfigs, &numConfigs); - - // TODO: Fixme, these values should be more easily configured - BOOL depthBuffer = YES; - BOOL stencilBuffer = YES; - static EGLint colorSizes[4] = { 8, 8, 8, 8 }; - switch ([CCTexture defaultAlphaPixelFormat]) - { - case CCTexturePixelFormat_RGBA8888: - colorSizes[0] = 8; - colorSizes[1] = 8; - colorSizes[2] = 8; - colorSizes[3] = 8; - break; - case CCTexturePixelFormat_RGB565: - colorSizes[0] = 5; - colorSizes[1] = 6; - colorSizes[2] = 5; - colorSizes[3] = 0; - break; - case CCTexturePixelFormat_RGBA4444: - colorSizes[0] = 4; - colorSizes[1] = 4; - colorSizes[2] = 4; - colorSizes[3] = 4; - break; - } - BOOL isATC = NO; - - - qsort_b(configs, numConfigs, sizeof(EGLConfig), ^int(const void *A, const void *B) { - EGLConfig configA = *(EGLConfig *)A; - EGLConfig configB = *(EGLConfig *)B; - - int result = 0; - EGLint value = 0; - EGLint sizeA = 0; - EGLint sizeB = 0; - EGLint colorSizesA[4]; - EGLint colorSizesB[4]; - BOOL nonConformantA = NO, slowA = NO, nonWindowA = NO; - BOOL nonConformantB = NO, slowB = NO, nonWindowB = NO; - - eglGetConfigAttrib(_eglDisplay, (EGLConfig)configA, EGL_CONFIG_CAVEAT, &value); - if (value == EGL_NON_CONFORMANT_CONFIG) { - nonConformantA = YES; - } else if (value == EGL_SLOW_CONFIG) { - slowA = YES; - } - - eglGetConfigAttrib(_eglDisplay, (EGLConfig)configB, EGL_CONFIG_CAVEAT, &value); - if (value == EGL_NON_CONFORMANT_CONFIG) { - nonConformantB = YES; - } else if (value == EGL_SLOW_CONFIG) { - slowB = YES; - } - - if (nonConformantA && nonConformantB) { - return 0; - } else if (nonConformantA) { - return 1; - } else if (nonConformantB) { - return -1; - } - - if (slowA && slowB) { - return 0; - } else if (slowA && !isATC) { - return 1; - } else if (slowB && !isATC) { - return -1; - } else if (slowA && isATC) { - result--; - } else if (slowB && isATC) { - result++; - } - - eglGetConfigAttrib(_eglDisplay, (EGLConfig)configA, EGL_SURFACE_TYPE, &value); - if ((value & EGL_WINDOW_BIT) == 0) { - nonWindowA = YES; - } - - if ((value & EGL_PBUFFER_BIT) == 0) { - result -= 2; - } - - if ((value & EGL_PIXMAP_BIT) == 0) { - result -= 2; - } - - eglGetConfigAttrib(_eglDisplay, (EGLConfig)configB, EGL_SURFACE_TYPE, &value); - if ((value & EGL_WINDOW_BIT) == 0) { - nonWindowB = YES; - } - if ((value & EGL_PBUFFER_BIT) == 0) { - result += 2; - } - - if ((value & EGL_PIXMAP_BIT) == 0) { - result += 2; - } - - if (nonWindowA && nonWindowB) { - return 0; - } else if (nonWindowA) { - return 1; - } else if (nonWindowB) { - return -1; - } - - if (depthBuffer) { - eglGetConfigAttrib(_eglDisplay, (EGLConfig)configA, EGL_DEPTH_SIZE, &sizeA); - eglGetConfigAttrib(_eglDisplay, (EGLConfig)configB, EGL_DEPTH_SIZE, &sizeB); - - if (sizeA <= 0 && sizeB <= 0) { - return 0; - } else if (sizeA <= 0) { - return 1; - } else if (sizeB <= 0) { - return -1; - } - } - - if (stencilBuffer) { - eglGetConfigAttrib(_eglDisplay, (EGLConfig)configA, EGL_STENCIL_SIZE, &sizeA); - eglGetConfigAttrib(_eglDisplay, (EGLConfig)configB, EGL_STENCIL_SIZE, &sizeB); - - if (sizeA <= 0 && sizeB <= 0) { - return 0; - } else if (sizeA <= 0) { - return 1; - } else if (sizeB <= 0) { - return -1; - } - } - - eglGetConfigAttrib(_eglDisplay, (EGLConfig)configA, EGL_NATIVE_RENDERABLE, &value); - - if (value > 0) { - result -= isATC ? 64 : 8; - } - - eglGetConfigAttrib(_eglDisplay, (EGLConfig)configB, EGL_NATIVE_RENDERABLE, &value); - - if (value > 0) { - result += isATC ? 64 : 8; - } - - eglGetConfigAttrib(_eglDisplay, (EGLConfig)configA, EGL_RED_SIZE, &colorSizesA[0]); - eglGetConfigAttrib(_eglDisplay, (EGLConfig)configA, EGL_GREEN_SIZE, &colorSizesA[1]); - eglGetConfigAttrib(_eglDisplay, (EGLConfig)configA, EGL_BLUE_SIZE, &colorSizesA[2]); - eglGetConfigAttrib(_eglDisplay, (EGLConfig)configA, EGL_ALPHA_SIZE, &colorSizesA[3]); - - eglGetConfigAttrib(_eglDisplay, (EGLConfig)configB, EGL_RED_SIZE, &colorSizesB[0]); - eglGetConfigAttrib(_eglDisplay, (EGLConfig)configB, EGL_GREEN_SIZE, &colorSizesB[1]); - eglGetConfigAttrib(_eglDisplay, (EGLConfig)configB, EGL_BLUE_SIZE, &colorSizesB[2]); - eglGetConfigAttrib(_eglDisplay, (EGLConfig)configB, EGL_ALPHA_SIZE, &colorSizesB[3]); - - if (colorSizesA[0] == colorSizes[0] && - colorSizesA[1] == colorSizes[1] && - colorSizesA[2] == colorSizes[2] && - colorSizesA[3] == colorSizes[3]) { - result -= 4; - } - - if (colorSizesB[0] == colorSizes[0] && - colorSizesB[1] == colorSizes[1] && - colorSizesB[2] == colorSizes[2] && - colorSizesB[3] == colorSizes[3]) { - result += 4; - } - - return result; - }); - - _eglConfiguration = configs[0]; - - logConfig(_eglDisplay, _eglConfiguration); - - if(!eglChooseConfig(_eglDisplay, configAttribs, &_eglConfiguration, 1, &numConfigs)) - { - NSLog(@"eglChooseConfig() returned error %d", eglGetError()); - return NO; - } - - if(eglGetError() != EGL_SUCCESS) { NSLog(@"EGL ERROR: %i", eglGetError()); }; - - if(!eglGetConfigAttrib(_eglDisplay, _eglConfiguration, EGL_NATIVE_VISUAL_ID, &format)) - { - NSLog(@"eglGetConfigAttrib() returned error %d", eglGetError()); - return NO; - } - - if(eglGetError() != EGL_SUCCESS) { NSLog(@"EGL ERROR: %i", eglGetError()); }; - - ANativeWindow_setBuffersGeometry(window, 0, 0, format); - - if(!(_eglSurface = eglCreateWindowSurface(_eglDisplay, _eglConfiguration, window, 0))) - { - NSLog(@"eglCreateWindowSurface() returned error %d", eglGetError()); - return NO; - } - - if(eglGetError() != EGL_SUCCESS) { NSLog(@"EGL ERROR: %i", eglGetError()); }; - - if(_eglContext == nil) - { - if(!(_eglContext = eglCreateContext(_eglDisplay, _eglConfiguration, 0, contextAttribs))) - { - NSLog(@"eglCreateContext() returned error %d", eglGetError()); - return NO; - - } - } - - if(eglGetError() != EGL_SUCCESS) { NSLog(@"EGL ERROR: %i", eglGetError()); }; - - if(!eglMakeCurrent(_eglDisplay, _eglSurface, _eglSurface, _eglContext)) - { - NSLog(@"eglMakeCurrent() returned error %d", eglGetError()); - return NO; - } - - if(eglGetError() != EGL_SUCCESS) { NSLog(@"EGL ERROR: %i", eglGetError()); }; - - if(!eglQuerySurface(_eglDisplay, _eglSurface, EGL_WIDTH, &width) || - !eglQuerySurface(_eglDisplay, _eglSurface, EGL_HEIGHT, &height)) - { - NSLog(@"eglQuerySurface() returned error %d", eglGetError()); - return NO; - } - - CCLOG(@"cocos2d: surface size: %dx%d", (int)width, (int)height); - - switch (_screenMode) - { - case CCNativeScreenMode: - { - width /= _contentScaleFactor; - height /= _contentScaleFactor; - } - break; - - case CCScreenScaledAspectFitEmulationMode: - { - CGSize size = CGSizeMake(width, height); - if (width > height) - size = CGSizeMake(height, width); - - _contentScaleFactor = size.width / FIXED_SIZE.width; - - width /= _contentScaleFactor; - height /= _contentScaleFactor; - } - break; - - - default: - CCLOGWARN(@"WARNING: Failed to identify screen mode"); - break; - - } - - - if(eglGetError() != EGL_SUCCESS) { NSLog(@"EGL ERROR: %i", eglGetError()); }; - - _bounds = CGRectMake(0, 0, width, height); - - return YES; -} - -- (void)swapBuffers -{ - eglSwapBuffers(_eglDisplay, _eglSurface); -} - -#warning TODO temporary --(void)addFrameCompletionHandler:(dispatch_block_t)handler -{ - handler(); -} - --(void)beginFrame {} - -#warning TODO temporary --(void)presentFrame -{ - [self swapBuffers]; -} - --(GLuint)fbo -{ - return 0; -} - -@end -#endif // __CC_PLATFORM_ANDROID - - - diff --git a/cocos2d/Platforms/Android/CCGestureListener.h b/cocos2d/Platforms/Android/CCGestureListener.h deleted file mode 100644 index 5eae5497224..00000000000 --- a/cocos2d/Platforms/Android/CCGestureListener.h +++ /dev/null @@ -1,30 +0,0 @@ -// -// CCGestureListener.h -// cocos2d-ios -// -// Created by Philippe Hausler on 6/30/14. -// -// - -#import "ccMacros.h" -#if __CC_PLATFORM_ANDROID - -#import - -@protocol CCGestureListenerDelegate -@optional -- (BOOL)onDoubleTap:(AndroidMotionEvent *)e; -- (BOOL)onDown:(AndroidMotionEvent *)e; -- (BOOL)onFling:(AndroidMotionEvent *)start end:(AndroidMotionEvent *)end velocityX:(float)velocityX velocityY:(float)velocityY; -- (void)onLongPress:(AndroidMotionEvent *)e; -- (BOOL)onScroll:(AndroidMotionEvent *)start end:(AndroidMotionEvent *)end distanceX:(float)dx distanceY:(float)dy; -@end - -BRIDGE_CLASS("com.apportable.GLGestureListener") -@interface CCGestureListener : GLGestureListener - -@property (nonatomic, assign) id delegate; - -@end - -#endif diff --git a/cocos2d/Platforms/Android/CCGestureListener.m b/cocos2d/Platforms/Android/CCGestureListener.m deleted file mode 100644 index 5fb5beff837..00000000000 --- a/cocos2d/Platforms/Android/CCGestureListener.m +++ /dev/null @@ -1,91 +0,0 @@ -// -// CCGestureListener.m -// cocos2d-ios -// -// Created by Philippe Hausler on 6/30/14. -// -// - -#import "CCGestureListener.h" - -#if __CC_PLATFORM_ANDROID - - -@implementation CCGestureListener { - id _delegate; - struct { - int onDoubleTap:1; - int onDown:1; - int onFling:1; - int onLongPress:1; - int onScroll:1; - int reserved:3; - } _flags; -} - -- (void)setDelegate:(id)delegate -{ - if (_delegate != delegate) - { - _flags.onDoubleTap = [delegate respondsToSelector:@selector(onDoubleTap:)]; - _flags.onDown = [delegate respondsToSelector:@selector(onDown:)]; - _flags.onFling = [delegate respondsToSelector:@selector(onFling:end:velocityX:velocityY:)]; - _flags.onLongPress = [delegate respondsToSelector:@selector(onLongPress:)]; - _flags.onScroll = [delegate respondsToSelector:@selector(onScroll:end:distanceX:distanceY:)]; - _delegate = delegate; - } -} - -- (id)delegate -{ - return _delegate; -} - -- (BOOL)onDoubleTap:(AndroidMotionEvent *)e -{ - if (!_flags.onDoubleTap) { - return NO; - } - - return [_delegate onDoubleTap:e]; -} - -- (BOOL)onDown:(AndroidMotionEvent *)e -{ - if (!_flags.onDown) { - return NO; - } - - return [_delegate onDown:e]; -} - -- (BOOL)onFling:(AndroidMotionEvent *)start end:(AndroidMotionEvent *)end velocityX:(float)velocityX velocityY:(float)velocityY -{ - if (!_flags.onFling) { - return NO; - } - - return [_delegate onFling:start end:end velocityX:velocityX velocityY:velocityY]; -} - -- (void)onLongPress:(AndroidMotionEvent *)e -{ - if (!_flags.onLongPress) { - return; - } - - [_delegate onLongPress:e]; -} - -- (BOOL)onScroll:(AndroidMotionEvent *)start end:(AndroidMotionEvent *)end distanceX:(float)dx distanceY:(float)dy -{ - if (!_flags.onScroll) { - return NO; - } - - return [_delegate onScroll:start end:end distanceX:dx distanceY:dy]; -} - -@end - -#endif diff --git a/cocos2d/Platforms/Android/CCMathTypesAndroid.h b/cocos2d/Platforms/Android/CCMathTypesAndroid.h deleted file mode 100644 index 5511aca488a..00000000000 --- a/cocos2d/Platforms/Android/CCMathTypesAndroid.h +++ /dev/null @@ -1,167 +0,0 @@ -// -// CCMathTypesAndroid.h -// cocos2d-ios -// -// Created by Oleg Osin on 6/10/14. -// -// - -#ifndef __CC_MATH_TYPES_H -#define __CC_MATH_TYPES_H - -#import "ccMacros.h" - -#if __CC_PLATFORM_ANDROID - -#if defined(__STRICT_ANSI__) -struct _CCMatrix2 -{ - float m[4]; -}; -typedef struct _CCMatrix2 CCMatrix2; -#else -union _CCMatrix2 -{ - struct - { - float m00, m01; - float m10, m11; - }; - float m2[2][2]; - float m[4]; -}; -typedef union _CCMatrix2 CCMatrix2; -#endif - -#if defined(__STRICT_ANSI__) -struct _CCMatrix3 -{ - float m[9]; -}; -typedef struct _CCMatrix3 CCMatrix3; -#else -union _CCMatrix3 -{ - struct - { - float m00, m01, m02; - float m10, m11, m12; - float m20, m21, m22; - }; - float m[9]; -}; -typedef union _CCMatrix3 CCMatrix3; -#endif - -/* - m30, m31, and m32 correspond to the translation values tx, ty, and tz, respectively. - m[12], m[13], and m[14] correspond to the translation values tx, ty, and tz, respectively. - */ -#if defined(__STRICT_ANSI__) -struct _CCMatrix4 -{ - float m[16]; -} __attribute__((aligned(16))); -typedef struct _CCMatrix4 CCMatrix4; -#else -union _CCMatrix4 -{ - struct - { - float m00, m01, m02, m03; - float m10, m11, m12, m13; - float m20, m21, m22, m23; - float m30, m31, m32, m33; - }; - float m[16]; -} __attribute__((aligned(16))); -typedef union _CCMatrix4 CCMatrix4; -#endif - -#if defined(__STRICT_ANSI__) -struct _CCVector2 -{ - float v[2]; -}; -typedef struct _CCVector2 CCVector2; -#else -union _CCVector2 -{ - struct { float x, y; }; - struct { float s, t; }; - float v[2]; -}; -typedef union _CCVector2 CCVector2; -#endif - -#if defined(__STRICT_ANSI__) -struct _CCVector3 -{ - float v[3]; -}; -typedef struct _CCVector3 CCVector3; -#else -union _CCVector3 -{ - struct { float x, y, z; }; - struct { float r, g, b; }; - struct { float s, t, p; }; - float v[3]; -}; -typedef union _CCVector3 CCVector3; -#endif - -#if defined(__STRICT_ANSI__) -struct _CCVector4 -{ - float v[4]; -} __attribute__((aligned(16))); -typedef struct _CCVector4 CCVector4; -#else -union _CCVector4 -{ - struct { float x, y, z, w; }; - struct { float r, g, b, a; }; - struct { float s, t, p, q; }; - float v[4]; -} __attribute__((aligned(16))); -typedef union _CCVector4 CCVector4; -#endif - -/* - x, y, and z represent the imaginary values. - Vector v represents the imaginary values. - q[0], q[1], and q[2] represent the imaginary values. - */ -#if defined(__STRICT_ANSI__) -struct _CCQuaternion -{ - float q[4]; -} __attribute__((aligned(16))); -typedef struct _CCQuaternion CCQuaternion; -#else -union _CCQuaternion -{ - struct { CCVector3 v; float s; }; - struct { float x, y, z, w; }; - float q[4]; -} __attribute__((aligned(16))); -typedef union _CCQuaternion CCQuaternion; -#endif - -//#ifdef __cplusplus -//} -//#endif - -#define GLKMatrix4 CCMatrix4 -#define GLKMatrix3 CCMatrix3 -#define GLKMatrix2 CCMatrix2 -#define GLKVector2 CCVector2 -#define GLKVector3 CCVector3 -#define GLKVector4 CCVector4 -#define CCQuaternion CCQuaternion - -#endif - -#endif // __CC_MATH_TYPES_H - diff --git a/cocos2d/Platforms/Android/CCMathUtilsAndroid.h b/cocos2d/Platforms/Android/CCMathUtilsAndroid.h deleted file mode 100644 index 6054aa5cc60..00000000000 --- a/cocos2d/Platforms/Android/CCMathUtilsAndroid.h +++ /dev/null @@ -1,58 +0,0 @@ -// -// CCMathUtilsAndroid -// cocos2d-ios -// -// Created by Oleg Osin on 6/10/14. -// -// - -#ifndef __CC_MATH_UTILS_H -#define __CC_MATH_UTILS_H - -#include -#include - -#import "CCMathTypesAndroid.h" - -#if __CC_PLATFORM_ANDROID - -#ifdef __OBJC__ -#import -#endif - -#ifdef __cplusplus -extern "C" { -#endif - - static inline float CCMathDegreesToRadians(float degrees) { return degrees * (M_PI / 180); }; - static inline float CCMathRadiansToDegrees(float radians) { return radians * (180 / M_PI); }; - - GLKVector3 CCMathProject(GLKVector3 object, GLKMatrix4 model, GLKMatrix4 projection, int *viewport); - GLKVector3 CCMathUnproject(GLKVector3 window, GLKMatrix4 model, GLKMatrix4 projection, int *viewport, bool *success); - -#if defined(__OBJC__) && __CC_PLATFORM_ANDROID - NSString *NSStringFromCCMatrix2(GLKMatrix2 matrix); - NSString *NSStringFromCCMatrix3(GLKMatrix3 matrix); - NSString *NSStringFromCCMatrix4(GLKMatrix4 matrix); - - NSString *NSStringFromCCVector2(GLKVector2 vector); - NSString *NSStringFromCCVector3(GLKVector3 vector); - NSString *NSStringFromCCVector4(GLKVector4 vector); - - #define NSStringFromGLKVector2 NSStringFromCCVector2 - #define NSStringFromGLKVector3 NSStringFromCCVector3 - #define NSStringFromGLKVector4 NSStringFromCCVector4 - - #define NSStringFromGLKMatrix2 NSStringFromCCMatrix2 - #define NSStringFromGLKMatrix3 NSStringFromCCMatrix3 - #define NSStringFromGLKMatrix4 NSStringFromCCMatrix4 - -#endif - -#ifdef __cplusplus -} -#endif - -#endif - -#endif /* __CC_MATH_UTILS_H */ diff --git a/cocos2d/Platforms/Android/CCMatrix3.h b/cocos2d/Platforms/Android/CCMatrix3.h deleted file mode 100644 index 11c1c3757ac..00000000000 --- a/cocos2d/Platforms/Android/CCMatrix3.h +++ /dev/null @@ -1,498 +0,0 @@ -// -// CCMatrix3.h -// cocos2d-ios -// -// Created by Oleg Osin on 6/10/14. -// -// -#ifndef __CC_MATRIX_3_H -#define __CC_MATRIX_3_H - -#include -#include -#include - -#if defined(__ARM_NEON__) -#include -#endif - -#import "CCMathTypesAndroid.h" -#import "CCVector3.h" -#import "CCQuaternion.h" - -#if __CC_PLATFORM_ANDROID - -#ifdef __cplusplus -extern "C" { -#endif - -#pragma mark - -#pragma mark Prototypes -#pragma mark - - - static const CCMatrix3 CCMatrix3Identity = { {1, 0, 0, - 0, 1, 0, - 0, 0, 1} }; - - CCMatrix3 CCMatrix3Invert(CCMatrix3 matrix, bool *isInvertible); - CCMatrix3 CCMatrix3InvertAndTranspose(CCMatrix3 matrix, bool *isInvertible); - -#pragma mark - -#pragma mark Implementations -#pragma mark - - - static inline CCMatrix3 CCMatrix3Make(float m00, float m01, float m02, - float m10, float m11, float m12, - float m20, float m21, float m22) - { - CCMatrix3 m = { { m00, m01, m02, - m10, m11, m12, - m20, m21, m22 } }; - return m; - } - - static inline CCMatrix3 CCMatrix3MakeAndTranspose(float m00, float m01, float m02, - float m10, float m11, float m12, - float m20, float m21, float m22) - { - CCMatrix3 m = { { m00, m10, m20, - m01, m11, m21, - m02, m12, m22} }; - return m; - } - - static inline CCMatrix3 CCMatrix3MakeWithArray(float values[9]) - { - CCMatrix3 m = { { values[0], values[1], values[2], - values[3], values[4], values[5], - values[6], values[7], values[8] } }; - return m; - } - - static inline CCMatrix3 CCMatrix3MakeWithArrayAndTranspose(float values[9]) - { - CCMatrix3 m = { { values[0], values[3], values[6], - values[1], values[4], values[7], - values[2], values[5], values[8] } }; - return m; - } - - static inline CCMatrix3 CCMatrix3MakeWithRows(CCVector3 row0, - CCVector3 row1, - CCVector3 row2) - { - CCMatrix3 m = { { row0.v[0], row1.v[0], row2.v[0], - row0.v[1], row1.v[1], row2.v[1], - row0.v[2], row1.v[2], row2.v[2] } }; - return m; - } - - static inline CCMatrix3 CCMatrix3MakeWithColumns(CCVector3 column0, - CCVector3 column1, - CCVector3 column2) - { - CCMatrix3 m = { { column0.v[0], column0.v[1], column0.v[2], - column1.v[0], column1.v[1], column1.v[2], - column2.v[0], column2.v[1], column2.v[2] } }; - return m; - } - - /* - The quaternion will be normalized before conversion. - */ - static inline CCMatrix3 CCMatrix3MakeWithQuaternion(CCQuaternion quaternion) - { - quaternion = CCQuaternionNormalize(quaternion); - - float x = quaternion.q[0]; - float y = quaternion.q[1]; - float z = quaternion.q[2]; - float w = quaternion.q[3]; - - float _2x = x + x; - float _2y = y + y; - float _2z = z + z; - float _2w = w + w; - - CCMatrix3 m = { { 1.0f - _2y * y - _2z * z, - _2x * y + _2w * z, - _2x * z - _2w * y, - - _2x * y - _2w * z, - 1.0f - _2x * x - _2z * z, - _2y * z + _2w * x, - - _2x * z + _2w * y, - _2y * z - _2w * x, - 1.0f - _2x * x - _2y * y } }; - - return m; - } - - static inline CCMatrix3 CCMatrix3MakeScale(float sx, float sy, float sz) - { - CCMatrix3 m = CCMatrix3Identity; - m.m[0] = sx; - m.m[4] = sy; - m.m[8] = sz; - return m; - } - - static inline CCMatrix3 CCMatrix3MakeRotation(float radians, float x, float y, float z) - { - CCVector3 v = CCVector3Normalize(CCVector3Make(x, y, z)); - float cos = cosf(radians); - float cosp = 1.0f - cos; - float sin = sinf(radians); - - CCMatrix3 m = { { cos + cosp * v.v[0] * v.v[0], - cosp * v.v[0] * v.v[1] + v.v[2] * sin, - cosp * v.v[0] * v.v[2] - v.v[1] * sin, - - cosp * v.v[0] * v.v[1] - v.v[2] * sin, - cos + cosp * v.v[1] * v.v[1], - cosp * v.v[1] * v.v[2] + v.v[0] * sin, - - cosp * v.v[0] * v.v[2] + v.v[1] * sin, - cosp * v.v[1] * v.v[2] - v.v[0] * sin, - cos + cosp * v.v[2] * v.v[2] } }; - - return m; - } - - static inline CCMatrix3 CCMatrix3MakeXRotation(float radians) - { - float cos = cosf(radians); - float sin = sinf(radians); - - CCMatrix3 m = { { 1.0f, 0.0f, 0.0f, - 0.0f, cos, sin, - 0.0f, -sin, cos } }; - - return m; - } - - static inline CCMatrix3 CCMatrix3MakeYRotation(float radians) - { - float cos = cosf(radians); - float sin = sinf(radians); - - CCMatrix3 m = { { cos, 0.0f, -sin, - 0.0f, 1.0f, 0.0f, - sin, 0.0f, cos } }; - - return m; - } - - static inline CCMatrix3 CCMatrix3MakeZRotation(float radians) - { - float cos = cosf(radians); - float sin = sinf(radians); - - CCMatrix3 m = { { cos, sin, 0.0f, - -sin, cos, 0.0f, - 0.0f, 0.0f, 1.0f } }; - - return m; - } - - /* - Returns the upper left 2x2 portion of the 3x3 matrix. - */ - static inline CCMatrix2 CCMatrix3GetMatrix2(CCMatrix3 matrix) - { - CCMatrix2 m = { { matrix.m[0], matrix.m[1], - matrix.m[3], matrix.m[4] } }; - return m; - } - - static inline CCVector3 CCMatrix3GetRow(CCMatrix3 matrix, int row) - { - CCVector3 v = { { matrix.m[row], matrix.m[3 + row], matrix.m[6 + row] } }; - return v; - } - - static inline CCVector3 CCMatrix3GetColumn(CCMatrix3 matrix, int column) - { -#if defined(__ARM_NEON__) - CCVector3 v; - *((float32x2_t *)&v) = vld1_f32(&(matrix.m[column * 3])); - v.v[2] = matrix.m[column * 3 + 2]; - return v; -#else - CCVector3 v = { { matrix.m[column * 3 + 0], matrix.m[column * 3 + 1], matrix.m[column * 3 + 2] } }; - return v; -#endif - } - - static inline CCMatrix3 CCMatrix3SetRow(CCMatrix3 matrix, int row, CCVector3 vector) - { - matrix.m[row] = vector.v[0]; - matrix.m[row + 3] = vector.v[1]; - matrix.m[row + 6] = vector.v[2]; - - return matrix; - } - - static inline CCMatrix3 CCMatrix3SetColumn(CCMatrix3 matrix, int column, CCVector3 vector) - { -#if defined(__ARM_NEON__) - float *dst = &(matrix.m[column * 3]); - vst1_f32(dst, vld1_f32(vector.v)); - dst[2] = vector.v[2]; - return matrix; -#else - matrix.m[column * 3 + 0] = vector.v[0]; - matrix.m[column * 3 + 1] = vector.v[1]; - matrix.m[column * 3 + 2] = vector.v[2]; - - return matrix; -#endif - } - - static inline CCMatrix3 CCMatrix3Transpose(CCMatrix3 matrix) - { - CCMatrix3 m = { { matrix.m[0], matrix.m[3], matrix.m[6], - matrix.m[1], matrix.m[4], matrix.m[7], - matrix.m[2], matrix.m[5], matrix.m[8] } }; - return m; - } - - static inline CCMatrix3 CCMatrix3Multiply(CCMatrix3 matrixLeft, CCMatrix3 matrixRight) - { -#if defined(__ARM_NEON__) - CCMatrix3 m; - float32x4x3_t iMatrixLeft; - float32x4x3_t iMatrixRight; - float32x4x3_t mm; - - iMatrixLeft.val[0] = *(float32x4_t *)&matrixLeft.m[0]; // 0 1 2 3 - iMatrixLeft.val[1] = *(float32x4_t *)&matrixLeft.m[3]; // 3 4 5 6 - iMatrixLeft.val[2] = *(float32x4_t *)&matrixLeft.m[5]; // 5 6 7 8 - - iMatrixRight.val[0] = *(float32x4_t *)&matrixRight.m[0]; - iMatrixRight.val[1] = *(float32x4_t *)&matrixRight.m[3]; - iMatrixRight.val[2] = *(float32x4_t *)&matrixRight.m[5]; - - iMatrixLeft.val[2] = vextq_f32(iMatrixLeft.val[2], iMatrixLeft.val[2], 1); // 6 7 8 x - - mm.val[0] = vmulq_n_f32(iMatrixLeft.val[0], vgetq_lane_f32(iMatrixRight.val[0], 0)); - mm.val[1] = vmulq_n_f32(iMatrixLeft.val[0], vgetq_lane_f32(iMatrixRight.val[0], 3)); - mm.val[2] = vmulq_n_f32(iMatrixLeft.val[0], vgetq_lane_f32(iMatrixRight.val[1], 3)); - - mm.val[0] = vmlaq_n_f32(mm.val[0], iMatrixLeft.val[1], vgetq_lane_f32(iMatrixRight.val[0], 1)); - mm.val[1] = vmlaq_n_f32(mm.val[1], iMatrixLeft.val[1], vgetq_lane_f32(iMatrixRight.val[1], 1)); - mm.val[2] = vmlaq_n_f32(mm.val[2], iMatrixLeft.val[1], vgetq_lane_f32(iMatrixRight.val[2], 2)); - - mm.val[0] = vmlaq_n_f32(mm.val[0], iMatrixLeft.val[2], vgetq_lane_f32(iMatrixRight.val[0], 2)); - mm.val[1] = vmlaq_n_f32(mm.val[1], iMatrixLeft.val[2], vgetq_lane_f32(iMatrixRight.val[1], 2)); - mm.val[2] = vmlaq_n_f32(mm.val[2], iMatrixLeft.val[2], vgetq_lane_f32(iMatrixRight.val[2], 3)); - - *(float32x4_t *)&m.m[0] = mm.val[0]; - *(float32x4_t *)&m.m[3] = mm.val[1]; - *(float32x2_t *)&m.m[6] = vget_low_f32(mm.val[2]); - m.m[8] = vgetq_lane_f32(mm.val[2], 2); - - return m; -#else - CCMatrix3 m; - - m.m[0] = matrixLeft.m[0] * matrixRight.m[0] + matrixLeft.m[3] * matrixRight.m[1] + matrixLeft.m[6] * matrixRight.m[2]; - m.m[3] = matrixLeft.m[0] * matrixRight.m[3] + matrixLeft.m[3] * matrixRight.m[4] + matrixLeft.m[6] * matrixRight.m[5]; - m.m[6] = matrixLeft.m[0] * matrixRight.m[6] + matrixLeft.m[3] * matrixRight.m[7] + matrixLeft.m[6] * matrixRight.m[8]; - - m.m[1] = matrixLeft.m[1] * matrixRight.m[0] + matrixLeft.m[4] * matrixRight.m[1] + matrixLeft.m[7] * matrixRight.m[2]; - m.m[4] = matrixLeft.m[1] * matrixRight.m[3] + matrixLeft.m[4] * matrixRight.m[4] + matrixLeft.m[7] * matrixRight.m[5]; - m.m[7] = matrixLeft.m[1] * matrixRight.m[6] + matrixLeft.m[4] * matrixRight.m[7] + matrixLeft.m[7] * matrixRight.m[8]; - - m.m[2] = matrixLeft.m[2] * matrixRight.m[0] + matrixLeft.m[5] * matrixRight.m[1] + matrixLeft.m[8] * matrixRight.m[2]; - m.m[5] = matrixLeft.m[2] * matrixRight.m[3] + matrixLeft.m[5] * matrixRight.m[4] + matrixLeft.m[8] * matrixRight.m[5]; - m.m[8] = matrixLeft.m[2] * matrixRight.m[6] + matrixLeft.m[5] * matrixRight.m[7] + matrixLeft.m[8] * matrixRight.m[8]; - - return m; -#endif - } - - static inline CCMatrix3 CCMatrix3Add(CCMatrix3 matrixLeft, CCMatrix3 matrixRight) - { -#if defined(__ARM_NEON__) - CCMatrix3 m; - - *(float32x4_t *)&(m.m[0]) = vaddq_f32(*(float32x4_t *)&(matrixLeft.m[0]), *(float32x4_t *)&(matrixRight.m[0])); - *(float32x4_t *)&(m.m[4]) = vaddq_f32(*(float32x4_t *)&(matrixLeft.m[4]), *(float32x4_t *)&(matrixRight.m[4])); - m.m[8] = matrixLeft.m[8] + matrixRight.m[8]; - - return m; -#else - CCMatrix3 m; - - m.m[0] = matrixLeft.m[0] + matrixRight.m[0]; - m.m[1] = matrixLeft.m[1] + matrixRight.m[1]; - m.m[2] = matrixLeft.m[2] + matrixRight.m[2]; - - m.m[3] = matrixLeft.m[3] + matrixRight.m[3]; - m.m[4] = matrixLeft.m[4] + matrixRight.m[4]; - m.m[5] = matrixLeft.m[5] + matrixRight.m[5]; - - m.m[6] = matrixLeft.m[6] + matrixRight.m[6]; - m.m[7] = matrixLeft.m[7] + matrixRight.m[7]; - m.m[8] = matrixLeft.m[8] + matrixRight.m[8]; - - return m; -#endif - } - - static inline CCMatrix3 CCMatrix3Subtract(CCMatrix3 matrixLeft, CCMatrix3 matrixRight) - { -#if defined(__ARM_NEON__) - CCMatrix3 m; - - *(float32x4_t *)&(m.m[0]) = vsubq_f32(*(float32x4_t *)&(matrixLeft.m[0]), *(float32x4_t *)&(matrixRight.m[0])); - *(float32x4_t *)&(m.m[4]) = vsubq_f32(*(float32x4_t *)&(matrixLeft.m[4]), *(float32x4_t *)&(matrixRight.m[4])); - m.m[8] = matrixLeft.m[8] - matrixRight.m[8]; - - return m; -#else - CCMatrix3 m; - - m.m[0] = matrixLeft.m[0] - matrixRight.m[0]; - m.m[1] = matrixLeft.m[1] - matrixRight.m[1]; - m.m[2] = matrixLeft.m[2] - matrixRight.m[2]; - - m.m[3] = matrixLeft.m[3] - matrixRight.m[3]; - m.m[4] = matrixLeft.m[4] - matrixRight.m[4]; - m.m[5] = matrixLeft.m[5] - matrixRight.m[5]; - - m.m[6] = matrixLeft.m[6] - matrixRight.m[6]; - m.m[7] = matrixLeft.m[7] - matrixRight.m[7]; - m.m[8] = matrixLeft.m[8] - matrixRight.m[8]; - - return m; -#endif - } - - static inline CCMatrix3 CCMatrix3Scale(CCMatrix3 matrix, float sx, float sy, float sz) - { - CCMatrix3 m = { { matrix.m[0] * sx, matrix.m[1] * sx, matrix.m[2] * sx, - matrix.m[3] * sy, matrix.m[4] * sy, matrix.m[5] * sy, - matrix.m[6] * sz, matrix.m[7] * sz, matrix.m[8] * sz } }; - return m; - } - - static inline CCMatrix3 CCMatrix3ScaleWithVector3(CCMatrix3 matrix, CCVector3 scaleVector) - { - CCMatrix3 m = { { matrix.m[0] * scaleVector.v[0], matrix.m[1] * scaleVector.v[0], matrix.m[2] * scaleVector.v[0], - matrix.m[3] * scaleVector.v[1], matrix.m[4] * scaleVector.v[1], matrix.m[5] * scaleVector.v[1], - matrix.m[6] * scaleVector.v[2], matrix.m[7] * scaleVector.v[2], matrix.m[8] * scaleVector.v[2] } }; - return m; - } - - /* - The last component of the CCVector4, scaleVector, is ignored. - */ - static inline CCMatrix3 CCMatrix3ScaleWithVector4(CCMatrix3 matrix, CCVector4 scaleVector) - { - CCMatrix3 m = { { matrix.m[0] * scaleVector.v[0], matrix.m[1] * scaleVector.v[0], matrix.m[2] * scaleVector.v[0], - matrix.m[3] * scaleVector.v[1], matrix.m[4] * scaleVector.v[1], matrix.m[5] * scaleVector.v[1], - matrix.m[6] * scaleVector.v[2], matrix.m[7] * scaleVector.v[2], matrix.m[8] * scaleVector.v[2] } }; - return m; - } - - static inline CCMatrix3 CCMatrix3Rotate(CCMatrix3 matrix, float radians, float x, float y, float z) - { - CCMatrix3 rm = CCMatrix3MakeRotation(radians, x, y, z); - return CCMatrix3Multiply(matrix, rm); - } - - static inline CCMatrix3 CCMatrix3RotateWithVector3(CCMatrix3 matrix, float radians, CCVector3 axisVector) - { - CCMatrix3 rm = CCMatrix3MakeRotation(radians, axisVector.v[0], axisVector.v[1], axisVector.v[2]); - return CCMatrix3Multiply(matrix, rm); - } - - /* - The last component of the CCVector4, axisVector, is ignored. - */ - static inline CCMatrix3 CCMatrix3RotateWithVector4(CCMatrix3 matrix, float radians, CCVector4 axisVector) - { - CCMatrix3 rm = CCMatrix3MakeRotation(radians, axisVector.v[0], axisVector.v[1], axisVector.v[2]); - return CCMatrix3Multiply(matrix, rm); - } - - static inline CCMatrix3 CCMatrix3RotateX(CCMatrix3 matrix, float radians) - { - CCMatrix3 rm = CCMatrix3MakeXRotation(radians); - return CCMatrix3Multiply(matrix, rm); - } - - static inline CCMatrix3 CCMatrix3RotateY(CCMatrix3 matrix, float radians) - { - CCMatrix3 rm = CCMatrix3MakeYRotation(radians); - return CCMatrix3Multiply(matrix, rm); - } - - static inline CCMatrix3 CCMatrix3RotateZ(CCMatrix3 matrix, float radians) - { - CCMatrix3 rm = CCMatrix3MakeZRotation(radians); - return CCMatrix3Multiply(matrix, rm); - } - - static inline CCVector3 CCMatrix3MultiplyVector3(CCMatrix3 matrixLeft, CCVector3 vectorRight) - { - CCVector3 v = { { matrixLeft.m[0] * vectorRight.v[0] + matrixLeft.m[3] * vectorRight.v[1] + matrixLeft.m[6] * vectorRight.v[2], - matrixLeft.m[1] * vectorRight.v[0] + matrixLeft.m[4] * vectorRight.v[1] + matrixLeft.m[7] * vectorRight.v[2], - matrixLeft.m[2] * vectorRight.v[0] + matrixLeft.m[5] * vectorRight.v[1] + matrixLeft.m[8] * vectorRight.v[2] } }; - return v; - } - - static inline void CCMatrix3MultiplyVector3Array(CCMatrix3 matrix, CCVector3 *vectors, size_t vectorCount) - { - int i; - for (i=0; i < vectorCount; i++) - vectors[i] = CCMatrix3MultiplyVector3(matrix, vectors[i]); - } - -#ifdef __cplusplus -} -#endif - -#define GLKMatrix3Identity CCMatrix3Identity -#define GLKMatrix3Invert CCMatrix3Invert -#define GLKMatrix3InvertAndTranspose CCMatrix3InvertAndTranspose -#define GLKMatrix3Make CCMatrix3Make -#define GLKMatrix3MakeAndTranspose CCMatrix3MakeAndTranspose -#define GLKMatrix3MakeWithArray CCMatrix3MakeWithArray -#define GLKMatrix3MakeWithArrayAndTranspose CCMatrix3MakeWithArrayAndTranspose -#define GLKMatrix3MakeWithRows CCMatrix3MakeWithRows -#define GLKMatrix3MakeWithColumns CCMatrix3MakeWithColumns -#define GLKMatrix3MakeWithQuaternion CCMatrix3MakeWithQuaternion -#define GLKMatrix3MakeScale CCMatrix3MakeScale -#define GLKMatrix3MakeRotation CCMatrix3MakeRotation -#define GLKMatrix3MakeXRotation CCMatrix3MakeXRotation -#define GLKMatrix3MakeYRotation CCMatrix3MakeYRotation -#define GLKMatrix3MakeZRotation CCMatrix3MakeZRotation -#define GLKMatrix3GetMatrix2 CCMatrix3GetMatrix2 -#define GLKMatrix3GetRow CCMatrix3GetRow -#define GLKMatrix3GetColumn CCMatrix3GetColumn -#define GLKMatrix3SetRow CCMatrix3SetRow -#define GLKMatrix3SetColumn CCMatrix3SetColumn -#define GLKMatrix3Transpose CCMatrix3Transpose -#define GLKMatrix3Multiply CCMatrix3Multiply -#define GLKMatrix3Add CCMatrix3Add -#define GLKMatrix3Subtract CCMatrix3Subtract -#define GLKMatrix3Scale CCMatrix3Scale -#define GLKMatrix3ScaleWithVector3 CCMatrix3ScaleWithVector3 -#define GLKMatrix3ScaleWithVector4 CCMatrix3ScaleWithVector4 -#define GLKMatrix3Rotate CCMatrix3Rotate -#define GLKMatrix3RotateWithVector3 CCMatrix3RotateWithVector3 -#define GLKMatrix3RotateWithVector4 CCMatrix3RotateWithVector4 -#define GLKMatrix3RotateX CCMatrix3RotateX -#define GLKMatrix3RotateY CCMatrix3RotateY -#define GLKMatrix3RotateZ CCMatrix3RotateZ -#define GLKMatrix3MultiplyVector3 CCMatrix3MultiplyVector3 -#define GLKMatrix3MultiplyVector3Array CCMatrix3MultiplyVector3Array - - -#endif - -#endif /* __CC_MATRIX_3_H */ diff --git a/cocos2d/Platforms/Android/CCMatrix3.m b/cocos2d/Platforms/Android/CCMatrix3.m deleted file mode 100644 index 1312a71ac41..00000000000 --- a/cocos2d/Platforms/Android/CCMatrix3.m +++ /dev/null @@ -1,58 +0,0 @@ -#import "CCMatrix3.h" - -#if __CC_PLATFORM_ANDROID - -static inline float CCMatrixDeterminant(CCMatrix3 matrix) { - float det = 0.0f; - - det += matrix.m[0] * matrix.m[4] * matrix.m[8]; - det += matrix.m[1] * matrix.m[5] * matrix.m[6]; - det += matrix.m[2] * matrix.m[3] * matrix.m[7]; - det -= matrix.m[2] * matrix.m[4] * matrix.m[6]; - det -= matrix.m[0] * matrix.m[5] * matrix.m[7]; - det -= matrix.m[1] * matrix.m[3] * matrix.m[8]; - - return det; -} - -static inline CCMatrix3 CCMatrixAdjugate(CCMatrix3 matrix) { - CCMatrix3 adjugate; - - adjugate.m[0] = matrix.m[4] * matrix.m[8] - matrix.m[5] * matrix.m[7]; - adjugate.m[1] = matrix.m[2] * matrix.m[7] - matrix.m[1] * matrix.m[8]; - adjugate.m[2] = matrix.m[1] * matrix.m[5] - matrix.m[2] * matrix.m[4]; - adjugate.m[3] = matrix.m[5] * matrix.m[6] - matrix.m[3] * matrix.m[8]; - adjugate.m[4] = matrix.m[0] * matrix.m[8] - matrix.m[2] * matrix.m[6]; - adjugate.m[5] = matrix.m[2] * matrix.m[3] - matrix.m[0] * matrix.m[5]; - adjugate.m[6] = matrix.m[3] * matrix.m[7] - matrix.m[4] * matrix.m[6]; - adjugate.m[7] = matrix.m[1] * matrix.m[6] - matrix.m[0] * matrix.m[7]; - adjugate.m[8] = matrix.m[0] * matrix.m[4] - matrix.m[1] * matrix.m[3]; - - return adjugate; -} - - - -CCMatrix3 CCMatrix3Invert(CCMatrix3 matrix, bool *isInvertible) { - float det = CCMatrixDeterminant(matrix); - if (det == 0.0f) { - return CCMatrix3Identity; - } - - float detInv = 1.0 / det; - CCMatrix3 adjugate = CCMatrixAdjugate(matrix); - return CCMatrix3Multiply(adjugate, matrix); -} - -CCMatrix3 CCMatrix3InvertAndTranspose(CCMatrix3 matrix, bool *isInvertible) { - float det = CCMatrixDeterminant(matrix); - if (det == 0.0f) { - return CCMatrix3Identity; - } - - float detInv = 1.0 / det; - CCMatrix3 adjugate = CCMatrixAdjugate(matrix); - return CCMatrix3Transpose(CCMatrix3Multiply(adjugate, matrix)); -} - -#endif diff --git a/cocos2d/Platforms/Android/CCMatrix4.h b/cocos2d/Platforms/Android/CCMatrix4.h deleted file mode 100644 index 1edd04193b7..00000000000 --- a/cocos2d/Platforms/Android/CCMatrix4.h +++ /dev/null @@ -1,859 +0,0 @@ -// -// CCMatrix4.h -// cocos2d-ios -// -// Created by Oleg Osin on 6/10/14. -// -// - -#ifndef __CC_MATRIX_4_H -#define __CC_MATRIX_4_H - -#include -#include -#include - -#if defined(__ARM_NEON__) -#include -#endif - -#import "CCMathTypesAndroid.h" - -#if __CC_PLATFORM_ANDROID - -#import "CCVector3.h" -#import "CCVector4.h" -#import "CCQuaternion.h" - -#ifdef __cplusplus -extern "C" { -#endif - -#pragma mark - -#pragma mark Prototypes -#pragma mark - - - static const CCMatrix4 CCMatrix4Identity = { {1, 0, 0, 0, - 0, 1, 0, 0, - 0, 0, 1, 0, - 0, 0, 0, 1} }; - - CCMatrix4 CCMatrix4Invert(CCMatrix4 matrix, bool *isInvertible); - - - /* - m30, m31, and m32 correspond to the translation values tx, ty, tz, respectively. - */ - static inline CCMatrix4 CCMatrix4Make(float m00, float m01, float m02, float m03, - float m10, float m11, float m12, float m13, - float m20, float m21, float m22, float m23, - float m30, float m31, float m32, float m33) - { - CCMatrix4 m = { .m = { m00, m01, m02, m03, - m10, m11, m12, m13, - m20, m21, m22, m23, - m30, m31, m32, m33 } }; - return m; - } - - /* - m03, m13, and m23 correspond to the translation values tx, ty, tz, respectively. - */ - static inline CCMatrix4 CCMatrix4MakeAndTranspose(float m00, float m01, float m02, float m03, - float m10, float m11, float m12, float m13, - float m20, float m21, float m22, float m23, - float m30, float m31, float m32, float m33) - { - CCMatrix4 m = { { m00, m10, m20, m30, - m01, m11, m21, m31, - m02, m12, m22, m32, - m03, m13, m23, m33 } }; - return m; - } - - /* - m[12], m[13], and m[14] correspond to the translation values tx, ty, and tz, respectively. - */ - static inline CCMatrix4 CCMatrix4MakeWithArray(float values[16]) - { - CCMatrix4 m = { { values[0], values[1], values[2], values[3], - values[4], values[5], values[6], values[7], - values[8], values[9], values[10], values[11], - values[12], values[13], values[14], values[15] } }; - return m; - } - - /* - m[3], m[7], and m[11] correspond to the translation values tx, ty, and tz, respectively. - */ - static inline CCMatrix4 CCMatrix4MakeWithArrayAndTranspose(float values[16]) - { -#if defined(__ARM_NEON__) - float32x4x4_t m = vld4q_f32(values); - return *(CCMatrix4 *)&m; -#else - CCMatrix4 m = { { values[0], values[4], values[8], values[12], - values[1], values[5], values[9], values[13], - values[2], values[6], values[10], values[14], - values[3], values[7], values[11], values[15] } }; - return m; -#endif - } - - /* - row0, row1, and row2's last component should correspond to the translation values tx, ty, and tz, respectively. - */ - static inline CCMatrix4 CCMatrix4MakeWithRows(CCVector4 row0, - CCVector4 row1, - CCVector4 row2, - CCVector4 row3) - { - CCMatrix4 m = { { row0.v[0], row1.v[0], row2.v[0], row3.v[0], - row0.v[1], row1.v[1], row2.v[1], row3.v[1], - row0.v[2], row1.v[2], row2.v[2], row3.v[2], - row0.v[3], row1.v[3], row2.v[3], row3.v[3] } }; - return m; - } - - /* - column3's first three components should correspond to the translation values tx, ty, and tz. - */ - static inline CCMatrix4 CCMatrix4MakeWithColumns(CCVector4 column0, - CCVector4 column1, - CCVector4 column2, - CCVector4 column3) - { -#if defined(__ARM_NEON__) - float32x4x4_t m; - m.val[0] = vld1q_f32(column0.v); - m.val[1] = vld1q_f32(column1.v); - m.val[2] = vld1q_f32(column2.v); - m.val[3] = vld1q_f32(column3.v); - return *(CCMatrix4 *)&m; -#else - CCMatrix4 m = { { column0.v[0], column0.v[1], column0.v[2], column0.v[3], - column1.v[0], column1.v[1], column1.v[2], column1.v[3], - column2.v[0], column2.v[1], column2.v[2], column2.v[3], - column3.v[0], column3.v[1], column3.v[2], column3.v[3] } }; - return m; -#endif - } - - /* - The quaternion will be normalized before conversion. - */ - static inline CCMatrix4 CCMatrix4MakeWithQuaternion(CCQuaternion quaternion) - { - quaternion = CCQuaternionNormalize(quaternion); - - float x = quaternion.q[0]; - float y = quaternion.q[1]; - float z = quaternion.q[2]; - float w = quaternion.q[3]; - - float _2x = x + x; - float _2y = y + y; - float _2z = z + z; - float _2w = w + w; - - CCMatrix4 m = { { 1.0f - _2y * y - _2z * z, - _2x * y + _2w * z, - _2x * z - _2w * y, - 0.0f, - _2x * y - _2w * z, - 1.0f - _2x * x - _2z * z, - _2y * z + _2w * x, - 0.0f, - _2x * z + _2w * y, - _2y * z - _2w * x, - 1.0f - _2x * x - _2y * y, - 0.0f, - 0.0f, - 0.0f, - 0.0f, - 1.0f } }; - - return m; - } - - static inline CCMatrix4 CCMatrix4MakeTranslation(float tx, float ty, float tz) - { - CCMatrix4 m = CCMatrix4Identity; - m.m[12] = tx; - m.m[13] = ty; - m.m[14] = tz; - return m; - } - - static inline CCMatrix4 CCMatrix4MakeScale(float sx, float sy, float sz) - { - CCMatrix4 m = CCMatrix4Identity; - m.m[0] = sx; - m.m[5] = sy; - m.m[10] = sz; - return m; - } - - static inline CCMatrix4 CCMatrix4MakeRotation(float radians, float x, float y, float z) - { - CCVector3 v = CCVector3Normalize(CCVector3Make(x, y, z)); - float cos = cosf(radians); - float cosp = 1.0f - cos; - float sin = sinf(radians); - - CCMatrix4 m = { { cos + cosp * v.v[0] * v.v[0], - cosp * v.v[0] * v.v[1] + v.v[2] * sin, - cosp * v.v[0] * v.v[2] - v.v[1] * sin, - 0.0f, - cosp * v.v[0] * v.v[1] - v.v[2] * sin, - cos + cosp * v.v[1] * v.v[1], - cosp * v.v[1] * v.v[2] + v.v[0] * sin, - 0.0f, - cosp * v.v[0] * v.v[2] + v.v[1] * sin, - cosp * v.v[1] * v.v[2] - v.v[0] * sin, - cos + cosp * v.v[2] * v.v[2], - 0.0f, - 0.0f, - 0.0f, - 0.0f, - 1.0f } }; - - return m; - } - - static inline CCMatrix4 CCMatrix4MakeXRotation(float radians) - { - float cos = cosf(radians); - float sin = sinf(radians); - - CCMatrix4 m = { { 1.0f, 0.0f, 0.0f, 0.0f, - 0.0f, cos, sin, 0.0f, - 0.0f, -sin, cos, 0.0f, - 0.0f, 0.0f, 0.0f, 1.0f } }; - - return m; - } - - static inline CCMatrix4 CCMatrix4MakeYRotation(float radians) - { - float cos = cosf(radians); - float sin = sinf(radians); - - CCMatrix4 m = { { cos, 0.0f, -sin, 0.0f, - 0.0f, 1.0f, 0.0f, 0.0f, - sin, 0.0f, cos, 0.0f, - 0.0f, 0.0f, 0.0f, 1.0f } }; - - return m; - } - - static inline CCMatrix4 CCMatrix4MakeZRotation(float radians) - { - float cos = cosf(radians); - float sin = sinf(radians); - - CCMatrix4 m = { { cos, sin, 0.0f, 0.0f, - -sin, cos, 0.0f, 0.0f, - 0.0f, 0.0f, 1.0f, 0.0f, - 0.0f, 0.0f, 0.0f, 1.0f } }; - - return m; - } - - /* - Equivalent to gluPerspective. - */ - static inline CCMatrix4 CCMatrix4MakePerspective(float fovyRadians, float aspect, float nearZ, float farZ) - { - float cotan = 1.0f / tanf(fovyRadians / 2.0f); - - CCMatrix4 m = { { cotan / aspect, 0.0f, 0.0f, 0.0f, - 0.0f, cotan, 0.0f, 0.0f, - 0.0f, 0.0f, (farZ + nearZ) / (nearZ - farZ), -1.0f, - 0.0f, 0.0f, (2.0f * farZ * nearZ) / (nearZ - farZ), 0.0f } }; - - return m; - } - - /* - Equivalent to glFrustum. - */ - static inline CCMatrix4 CCMatrix4MakeFrustum(float left, float right, - float bottom, float top, - float nearZ, float farZ) - { - float ral = right + left; - float rsl = right - left; - float tsb = top - bottom; - float tab = top + bottom; - float fan = farZ + nearZ; - float fsn = farZ - nearZ; - - CCMatrix4 m = { { 2.0f * nearZ / rsl, 0.0f, 0.0f, 0.0f, - 0.0f, 2.0f * nearZ / tsb, 0.0f, 0.0f, - ral / rsl, tab / tsb, -fan / fsn, -1.0f, - 0.0f, 0.0f, (-2.0f * farZ * nearZ) / fsn, 0.0f } }; - - return m; - } - - /* - Equivalent to glOrtho. - */ - static inline CCMatrix4 CCMatrix4MakeOrtho(float left, float right, - float bottom, float top, - float nearZ, float farZ) - { - float ral = right + left; - float rsl = right - left; - float tab = top + bottom; - float tsb = top - bottom; - float fan = farZ + nearZ; - float fsn = farZ - nearZ; - - CCMatrix4 m = { { 2.0f / rsl, 0.0f, 0.0f, 0.0f, - 0.0f, 2.0f / tsb, 0.0f, 0.0f, - 0.0f, 0.0f, -2.0f / fsn, 0.0f, - -ral / rsl, -tab / tsb, -fan / fsn, 1.0f } }; - - return m; - } - - /* - Equivalent to gluLookAt. - */ - static inline CCMatrix4 CCMatrix4MakeLookAt(float eyeX, float eyeY, float eyeZ, - float centerX, float centerY, float centerZ, - float upX, float upY, float upZ) - { - CCVector3 ev = { { eyeX, eyeY, eyeZ } }; - CCVector3 cv = { { centerX, centerY, centerZ } }; - CCVector3 uv = { { upX, upY, upZ } }; - CCVector3 n = CCVector3Normalize(CCVector3Add(ev, CCVector3Negate(cv))); - CCVector3 u = CCVector3Normalize(CCVector3CrossProduct(uv, n)); - CCVector3 v = CCVector3CrossProduct(n, u); - - CCMatrix4 m = { { u.v[0], v.v[0], n.v[0], 0.0f, - u.v[1], v.v[1], n.v[1], 0.0f, - u.v[2], v.v[2], n.v[2], 0.0f, - CCVector3DotProduct(CCVector3Negate(u), ev), - CCVector3DotProduct(CCVector3Negate(v), ev), - CCVector3DotProduct(CCVector3Negate(n), ev), - 1.0f } }; - - return m; - } - - /* - Returns the upper left 3x3 portion of the 4x4 matrix. - */ - static inline CCMatrix3 CCMatrix4GetMatrix3(CCMatrix4 matrix) - { - CCMatrix3 m = { { matrix.m[0], matrix.m[1], matrix.m[2], - matrix.m[4], matrix.m[5], matrix.m[6], - matrix.m[8], matrix.m[9], matrix.m[10] } }; - return m; - } - - /* - Returns the upper left 2x2 portion of the 4x4 matrix. - */ - static inline CCMatrix2 CCMatrix4GetMatrix2(CCMatrix4 matrix) - { - CCMatrix2 m = { { matrix.m[0], matrix.m[1], - matrix.m[4], matrix.m[5] } }; - return m; - } - - /* - CCMatrix4GetRow returns vectors for rows 0, 1, and 2 whose last component will be the translation value tx, ty, and tz, respectively. - Valid row values range from 0 to 3, inclusive. - */ - static inline CCVector4 CCMatrix4GetRow(CCMatrix4 matrix, int row) - { - CCVector4 v = { { matrix.m[row], matrix.m[4 + row], matrix.m[8 + row], matrix.m[12 + row] } }; - return v; - } - - /* - CCMatrix4GetColumn returns a vector for column 3 whose first three components will be the translation values tx, ty, and tz. - Valid column values range from 0 to 3, inclusive. - */ - static inline CCVector4 CCMatrix4GetColumn(CCMatrix4 matrix, int column) - { -#if defined(__ARM_NEON__) - float32x4_t v = vld1q_f32(&(matrix.m[column * 4])); - return *(CCVector4 *)&v; -#else - CCVector4 v = { { matrix.m[column * 4 + 0], matrix.m[column * 4 + 1], matrix.m[column * 4 + 2], matrix.m[column * 4 + 3] } }; - return v; -#endif - } - - /* - CCMatrix4SetRow expects that the vector for row 0, 1, and 2 will have a translation value as its last component. - Valid row values range from 0 to 3, inclusive. - */ - static inline CCMatrix4 CCMatrix4SetRow(CCMatrix4 matrix, int row, CCVector4 vector) - { - matrix.m[row] = vector.v[0]; - matrix.m[row + 4] = vector.v[1]; - matrix.m[row + 8] = vector.v[2]; - matrix.m[row + 12] = vector.v[3]; - - return matrix; - } - - /* - CCMatrix4SetColumn expects that the vector for column 3 will contain the translation values tx, ty, and tz as its first three components, respectively. - Valid column values range from 0 to 3, inclusive. - */ - static inline CCMatrix4 CCMatrix4SetColumn(CCMatrix4 matrix, int column, CCVector4 vector) - { -#if defined(__ARM_NEON__) - float *dst = &(matrix.m[column * 4]); - vst1q_f32(dst, vld1q_f32(vector.v)); - return matrix; -#else - matrix.m[column * 4 + 0] = vector.v[0]; - matrix.m[column * 4 + 1] = vector.v[1]; - matrix.m[column * 4 + 2] = vector.v[2]; - matrix.m[column * 4 + 3] = vector.v[3]; - - return matrix; -#endif - } - - static inline CCMatrix4 CCMatrix4Transpose(CCMatrix4 matrix) - { -#if defined(__ARM_NEON__) - float32x4x4_t m = vld4q_f32(matrix.m); - return *(CCMatrix4 *)&m; -#else - CCMatrix4 m = { { matrix.m[0], matrix.m[4], matrix.m[8], matrix.m[12], - matrix.m[1], matrix.m[5], matrix.m[9], matrix.m[13], - matrix.m[2], matrix.m[6], matrix.m[10], matrix.m[14], - matrix.m[3], matrix.m[7], matrix.m[11], matrix.m[15] } }; - return m; -#endif - } - - static inline CCMatrix4 CCMatrix4Multiply(CCMatrix4 matrixLeft, CCMatrix4 matrixRight) - { -#if defined(__ARM_NEON__) - float32x4x4_t iMatrixLeft = *(float32x4x4_t *)&matrixLeft; - float32x4x4_t iMatrixRight = *(float32x4x4_t *)&matrixRight; - float32x4x4_t m; - - m.val[0] = vmulq_n_f32(iMatrixLeft.val[0], vgetq_lane_f32(iMatrixRight.val[0], 0)); - m.val[1] = vmulq_n_f32(iMatrixLeft.val[0], vgetq_lane_f32(iMatrixRight.val[1], 0)); - m.val[2] = vmulq_n_f32(iMatrixLeft.val[0], vgetq_lane_f32(iMatrixRight.val[2], 0)); - m.val[3] = vmulq_n_f32(iMatrixLeft.val[0], vgetq_lane_f32(iMatrixRight.val[3], 0)); - - m.val[0] = vmlaq_n_f32(m.val[0], iMatrixLeft.val[1], vgetq_lane_f32(iMatrixRight.val[0], 1)); - m.val[1] = vmlaq_n_f32(m.val[1], iMatrixLeft.val[1], vgetq_lane_f32(iMatrixRight.val[1], 1)); - m.val[2] = vmlaq_n_f32(m.val[2], iMatrixLeft.val[1], vgetq_lane_f32(iMatrixRight.val[2], 1)); - m.val[3] = vmlaq_n_f32(m.val[3], iMatrixLeft.val[1], vgetq_lane_f32(iMatrixRight.val[3], 1)); - - m.val[0] = vmlaq_n_f32(m.val[0], iMatrixLeft.val[2], vgetq_lane_f32(iMatrixRight.val[0], 2)); - m.val[1] = vmlaq_n_f32(m.val[1], iMatrixLeft.val[2], vgetq_lane_f32(iMatrixRight.val[1], 2)); - m.val[2] = vmlaq_n_f32(m.val[2], iMatrixLeft.val[2], vgetq_lane_f32(iMatrixRight.val[2], 2)); - m.val[3] = vmlaq_n_f32(m.val[3], iMatrixLeft.val[2], vgetq_lane_f32(iMatrixRight.val[3], 2)); - - m.val[0] = vmlaq_n_f32(m.val[0], iMatrixLeft.val[3], vgetq_lane_f32(iMatrixRight.val[0], 3)); - m.val[1] = vmlaq_n_f32(m.val[1], iMatrixLeft.val[3], vgetq_lane_f32(iMatrixRight.val[1], 3)); - m.val[2] = vmlaq_n_f32(m.val[2], iMatrixLeft.val[3], vgetq_lane_f32(iMatrixRight.val[2], 3)); - m.val[3] = vmlaq_n_f32(m.val[3], iMatrixLeft.val[3], vgetq_lane_f32(iMatrixRight.val[3], 3)); - - return *(CCMatrix4 *)&m; -#else - CCMatrix4 m; - - m.m[0] = matrixLeft.m[0] * matrixRight.m[0] + matrixLeft.m[4] * matrixRight.m[1] + matrixLeft.m[8] * matrixRight.m[2] + matrixLeft.m[12] * matrixRight.m[3]; - m.m[4] = matrixLeft.m[0] * matrixRight.m[4] + matrixLeft.m[4] * matrixRight.m[5] + matrixLeft.m[8] * matrixRight.m[6] + matrixLeft.m[12] * matrixRight.m[7]; - m.m[8] = matrixLeft.m[0] * matrixRight.m[8] + matrixLeft.m[4] * matrixRight.m[9] + matrixLeft.m[8] * matrixRight.m[10] + matrixLeft.m[12] * matrixRight.m[11]; - m.m[12] = matrixLeft.m[0] * matrixRight.m[12] + matrixLeft.m[4] * matrixRight.m[13] + matrixLeft.m[8] * matrixRight.m[14] + matrixLeft.m[12] * matrixRight.m[15]; - - m.m[1] = matrixLeft.m[1] * matrixRight.m[0] + matrixLeft.m[5] * matrixRight.m[1] + matrixLeft.m[9] * matrixRight.m[2] + matrixLeft.m[13] * matrixRight.m[3]; - m.m[5] = matrixLeft.m[1] * matrixRight.m[4] + matrixLeft.m[5] * matrixRight.m[5] + matrixLeft.m[9] * matrixRight.m[6] + matrixLeft.m[13] * matrixRight.m[7]; - m.m[9] = matrixLeft.m[1] * matrixRight.m[8] + matrixLeft.m[5] * matrixRight.m[9] + matrixLeft.m[9] * matrixRight.m[10] + matrixLeft.m[13] * matrixRight.m[11]; - m.m[13] = matrixLeft.m[1] * matrixRight.m[12] + matrixLeft.m[5] * matrixRight.m[13] + matrixLeft.m[9] * matrixRight.m[14] + matrixLeft.m[13] * matrixRight.m[15]; - - m.m[2] = matrixLeft.m[2] * matrixRight.m[0] + matrixLeft.m[6] * matrixRight.m[1] + matrixLeft.m[10] * matrixRight.m[2] + matrixLeft.m[14] * matrixRight.m[3]; - m.m[6] = matrixLeft.m[2] * matrixRight.m[4] + matrixLeft.m[6] * matrixRight.m[5] + matrixLeft.m[10] * matrixRight.m[6] + matrixLeft.m[14] * matrixRight.m[7]; - m.m[10] = matrixLeft.m[2] * matrixRight.m[8] + matrixLeft.m[6] * matrixRight.m[9] + matrixLeft.m[10] * matrixRight.m[10] + matrixLeft.m[14] * matrixRight.m[11]; - m.m[14] = matrixLeft.m[2] * matrixRight.m[12] + matrixLeft.m[6] * matrixRight.m[13] + matrixLeft.m[10] * matrixRight.m[14] + matrixLeft.m[14] * matrixRight.m[15]; - - m.m[3] = matrixLeft.m[3] * matrixRight.m[0] + matrixLeft.m[7] * matrixRight.m[1] + matrixLeft.m[11] * matrixRight.m[2] + matrixLeft.m[15] * matrixRight.m[3]; - m.m[7] = matrixLeft.m[3] * matrixRight.m[4] + matrixLeft.m[7] * matrixRight.m[5] + matrixLeft.m[11] * matrixRight.m[6] + matrixLeft.m[15] * matrixRight.m[7]; - m.m[11] = matrixLeft.m[3] * matrixRight.m[8] + matrixLeft.m[7] * matrixRight.m[9] + matrixLeft.m[11] * matrixRight.m[10] + matrixLeft.m[15] * matrixRight.m[11]; - m.m[15] = matrixLeft.m[3] * matrixRight.m[12] + matrixLeft.m[7] * matrixRight.m[13] + matrixLeft.m[11] * matrixRight.m[14] + matrixLeft.m[15] * matrixRight.m[15]; - - return m; -#endif - } - - static inline CCMatrix4 CCMatrix4Add(CCMatrix4 matrixLeft, CCMatrix4 matrixRight) - { -#if defined(__ARM_NEON__) - float32x4x4_t iMatrixLeft = *(float32x4x4_t *)&matrixLeft; - float32x4x4_t iMatrixRight = *(float32x4x4_t *)&matrixRight; - float32x4x4_t m; - - m.val[0] = vaddq_f32(iMatrixLeft.val[0], iMatrixRight.val[0]); - m.val[1] = vaddq_f32(iMatrixLeft.val[1], iMatrixRight.val[1]); - m.val[2] = vaddq_f32(iMatrixLeft.val[2], iMatrixRight.val[2]); - m.val[3] = vaddq_f32(iMatrixLeft.val[3], iMatrixRight.val[3]); - - return *(CCMatrix4 *)&m; -#else - CCMatrix4 m; - - m.m[0] = matrixLeft.m[0] + matrixRight.m[0]; - m.m[1] = matrixLeft.m[1] + matrixRight.m[1]; - m.m[2] = matrixLeft.m[2] + matrixRight.m[2]; - m.m[3] = matrixLeft.m[3] + matrixRight.m[3]; - - m.m[4] = matrixLeft.m[4] + matrixRight.m[4]; - m.m[5] = matrixLeft.m[5] + matrixRight.m[5]; - m.m[6] = matrixLeft.m[6] + matrixRight.m[6]; - m.m[7] = matrixLeft.m[7] + matrixRight.m[7]; - - m.m[8] = matrixLeft.m[8] + matrixRight.m[8]; - m.m[9] = matrixLeft.m[9] + matrixRight.m[9]; - m.m[10] = matrixLeft.m[10] + matrixRight.m[10]; - m.m[11] = matrixLeft.m[11] + matrixRight.m[11]; - - m.m[12] = matrixLeft.m[12] + matrixRight.m[12]; - m.m[13] = matrixLeft.m[13] + matrixRight.m[13]; - m.m[14] = matrixLeft.m[14] + matrixRight.m[14]; - m.m[15] = matrixLeft.m[15] + matrixRight.m[15]; - - return m; -#endif - } - - static inline CCMatrix4 CCMatrix4Subtract(CCMatrix4 matrixLeft, CCMatrix4 matrixRight) - { -#if defined(__ARM_NEON__) - float32x4x4_t iMatrixLeft = *(float32x4x4_t *)&matrixLeft; - float32x4x4_t iMatrixRight = *(float32x4x4_t *)&matrixRight; - float32x4x4_t m; - - m.val[0] = vsubq_f32(iMatrixLeft.val[0], iMatrixRight.val[0]); - m.val[1] = vsubq_f32(iMatrixLeft.val[1], iMatrixRight.val[1]); - m.val[2] = vsubq_f32(iMatrixLeft.val[2], iMatrixRight.val[2]); - m.val[3] = vsubq_f32(iMatrixLeft.val[3], iMatrixRight.val[3]); - - return *(CCMatrix4 *)&m; -#else - CCMatrix4 m; - - m.m[0] = matrixLeft.m[0] - matrixRight.m[0]; - m.m[1] = matrixLeft.m[1] - matrixRight.m[1]; - m.m[2] = matrixLeft.m[2] - matrixRight.m[2]; - m.m[3] = matrixLeft.m[3] - matrixRight.m[3]; - - m.m[4] = matrixLeft.m[4] - matrixRight.m[4]; - m.m[5] = matrixLeft.m[5] - matrixRight.m[5]; - m.m[6] = matrixLeft.m[6] - matrixRight.m[6]; - m.m[7] = matrixLeft.m[7] - matrixRight.m[7]; - - m.m[8] = matrixLeft.m[8] - matrixRight.m[8]; - m.m[9] = matrixLeft.m[9] - matrixRight.m[9]; - m.m[10] = matrixLeft.m[10] - matrixRight.m[10]; - m.m[11] = matrixLeft.m[11] - matrixRight.m[11]; - - m.m[12] = matrixLeft.m[12] - matrixRight.m[12]; - m.m[13] = matrixLeft.m[13] - matrixRight.m[13]; - m.m[14] = matrixLeft.m[14] - matrixRight.m[14]; - m.m[15] = matrixLeft.m[15] - matrixRight.m[15]; - - return m; -#endif - } - - static inline CCMatrix4 CCMatrix4Translate(CCMatrix4 matrix, float tx, float ty, float tz) - { - CCMatrix4 m = { { matrix.m[0], matrix.m[1], matrix.m[2], matrix.m[3], - matrix.m[4], matrix.m[5], matrix.m[6], matrix.m[7], - matrix.m[8], matrix.m[9], matrix.m[10], matrix.m[11], - matrix.m[0] * tx + matrix.m[4] * ty + matrix.m[8] * tz + matrix.m[12], - matrix.m[1] * tx + matrix.m[5] * ty + matrix.m[9] * tz + matrix.m[13], - matrix.m[2] * tx + matrix.m[6] * ty + matrix.m[10] * tz + matrix.m[14], - matrix.m[15] } }; - return m; - } - - static inline CCMatrix4 CCMatrix4TranslateWithVector3(CCMatrix4 matrix, CCVector3 translationVector) - { - CCMatrix4 m = { { matrix.m[0], matrix.m[1], matrix.m[2], matrix.m[3], - matrix.m[4], matrix.m[5], matrix.m[6], matrix.m[7], - matrix.m[8], matrix.m[9], matrix.m[10], matrix.m[11], - matrix.m[0] * translationVector.v[0] + matrix.m[4] * translationVector.v[1] + matrix.m[8] * translationVector.v[2] + matrix.m[12], - matrix.m[1] * translationVector.v[0] + matrix.m[5] * translationVector.v[1] + matrix.m[9] * translationVector.v[2] + matrix.m[13], - matrix.m[2] * translationVector.v[0] + matrix.m[6] * translationVector.v[1] + matrix.m[10] * translationVector.v[2] + matrix.m[14], - matrix.m[15] } }; - return m; - } - - /* - The last component of the CCVector4, translationVector, is ignored. - */ - static inline CCMatrix4 CCMatrix4TranslateWithVector4(CCMatrix4 matrix, CCVector4 translationVector) - { - CCMatrix4 m = { { matrix.m[0], matrix.m[1], matrix.m[2], matrix.m[3], - matrix.m[4], matrix.m[5], matrix.m[6], matrix.m[7], - matrix.m[8], matrix.m[9], matrix.m[10], matrix.m[11], - matrix.m[0] * translationVector.v[0] + matrix.m[4] * translationVector.v[1] + matrix.m[8] * translationVector.v[2] + matrix.m[12], - matrix.m[1] * translationVector.v[0] + matrix.m[5] * translationVector.v[1] + matrix.m[9] * translationVector.v[2] + matrix.m[13], - matrix.m[2] * translationVector.v[0] + matrix.m[6] * translationVector.v[1] + matrix.m[10] * translationVector.v[2] + matrix.m[14], - matrix.m[15] } }; - return m; - } - - static inline CCMatrix4 CCMatrix4Scale(CCMatrix4 matrix, float sx, float sy, float sz) - { -#if defined(__ARM_NEON__) - float32x4x4_t iMatrix = *(float32x4x4_t *)&matrix; - float32x4x4_t m; - - m.val[0] = vmulq_n_f32(iMatrix.val[0], (float32_t)sx); - m.val[1] = vmulq_n_f32(iMatrix.val[1], (float32_t)sy); - m.val[2] = vmulq_n_f32(iMatrix.val[2], (float32_t)sz); - m.val[3] = iMatrix.val[3]; - - return *(CCMatrix4 *)&m; -#else - CCMatrix4 m = { { matrix.m[0] * sx, matrix.m[1] * sx, matrix.m[2] * sx, matrix.m[3] * sx, - matrix.m[4] * sy, matrix.m[5] * sy, matrix.m[6] * sy, matrix.m[7] * sy, - matrix.m[8] * sz, matrix.m[9] * sz, matrix.m[10] * sz, matrix.m[11] * sz, - matrix.m[12], matrix.m[13], matrix.m[14], matrix.m[15] } }; - return m; -#endif - } - - static inline CCMatrix4 CCMatrix4ScaleWithVector3(CCMatrix4 matrix, CCVector3 scaleVector) - { -#if defined(__ARM_NEON__) - float32x4x4_t iMatrix = *(float32x4x4_t *)&matrix; - float32x4x4_t m; - - m.val[0] = vmulq_n_f32(iMatrix.val[0], (float32_t)scaleVector.v[0]); - m.val[1] = vmulq_n_f32(iMatrix.val[1], (float32_t)scaleVector.v[1]); - m.val[2] = vmulq_n_f32(iMatrix.val[2], (float32_t)scaleVector.v[2]); - m.val[3] = iMatrix.val[3]; - - return *(CCMatrix4 *)&m; -#else - CCMatrix4 m = { { matrix.m[0] * scaleVector.v[0], matrix.m[1] * scaleVector.v[0], matrix.m[2] * scaleVector.v[0], matrix.m[3] * scaleVector.v[0], - matrix.m[4] * scaleVector.v[1], matrix.m[5] * scaleVector.v[1], matrix.m[6] * scaleVector.v[1], matrix.m[7] * scaleVector.v[1], - matrix.m[8] * scaleVector.v[2], matrix.m[9] * scaleVector.v[2], matrix.m[10] * scaleVector.v[2], matrix.m[11] * scaleVector.v[2], - matrix.m[12], matrix.m[13], matrix.m[14], matrix.m[15] } }; - return m; -#endif - } - - /* - The last component of the CCVector4, scaleVector, is ignored. - */ - static inline CCMatrix4 CCMatrix4ScaleWithVector4(CCMatrix4 matrix, CCVector4 scaleVector) - { -#if defined(__ARM_NEON__) - float32x4x4_t iMatrix = *(float32x4x4_t *)&matrix; - float32x4x4_t m; - - m.val[0] = vmulq_n_f32(iMatrix.val[0], (float32_t)scaleVector.v[0]); - m.val[1] = vmulq_n_f32(iMatrix.val[1], (float32_t)scaleVector.v[1]); - m.val[2] = vmulq_n_f32(iMatrix.val[2], (float32_t)scaleVector.v[2]); - m.val[3] = iMatrix.val[3]; - - return *(CCMatrix4 *)&m; -#else - CCMatrix4 m = { { matrix.m[0] * scaleVector.v[0], matrix.m[1] * scaleVector.v[0], matrix.m[2] * scaleVector.v[0], matrix.m[3] * scaleVector.v[0], - matrix.m[4] * scaleVector.v[1], matrix.m[5] * scaleVector.v[1], matrix.m[6] * scaleVector.v[1], matrix.m[7] * scaleVector.v[1], - matrix.m[8] * scaleVector.v[2], matrix.m[9] * scaleVector.v[2], matrix.m[10] * scaleVector.v[2], matrix.m[11] * scaleVector.v[2], - matrix.m[12], matrix.m[13], matrix.m[14], matrix.m[15] } }; - return m; -#endif - } - - static inline CCMatrix4 CCMatrix4Rotate(CCMatrix4 matrix, float radians, float x, float y, float z) - { - CCMatrix4 rm = CCMatrix4MakeRotation(radians, x, y, z); - return CCMatrix4Multiply(matrix, rm); - } - - static inline CCMatrix4 CCMatrix4RotateWithVector3(CCMatrix4 matrix, float radians, CCVector3 axisVector) - { - CCMatrix4 rm = CCMatrix4MakeRotation(radians, axisVector.v[0], axisVector.v[1], axisVector.v[2]); - return CCMatrix4Multiply(matrix, rm); - } - - /* - The last component of the CCVector4, axisVector, is ignored. - */ - static inline CCMatrix4 CCMatrix4RotateWithVector4(CCMatrix4 matrix, float radians, CCVector4 axisVector) - { - CCMatrix4 rm = CCMatrix4MakeRotation(radians, axisVector.v[0], axisVector.v[1], axisVector.v[2]); - return CCMatrix4Multiply(matrix, rm); - } - - static inline CCMatrix4 CCMatrix4RotateX(CCMatrix4 matrix, float radians) - { - CCMatrix4 rm = CCMatrix4MakeXRotation(radians); - return CCMatrix4Multiply(matrix, rm); - } - - static inline CCMatrix4 CCMatrix4RotateY(CCMatrix4 matrix, float radians) - { - CCMatrix4 rm = CCMatrix4MakeYRotation(radians); - return CCMatrix4Multiply(matrix, rm); - } - - static inline CCMatrix4 CCMatrix4RotateZ(CCMatrix4 matrix, float radians) - { - CCMatrix4 rm = CCMatrix4MakeZRotation(radians); - return CCMatrix4Multiply(matrix, rm); - } - - static inline CCVector4 CCMatrix4MultiplyVector4(CCMatrix4 matrixLeft, CCVector4 vectorRight) - { -#if defined(__ARM_NEON__) - float32x4x4_t iMatrix = *(float32x4x4_t *)&matrixLeft; - float32x4_t v; - - iMatrix.val[0] = vmulq_n_f32(iMatrix.val[0], (float32_t)vectorRight.v[0]); - iMatrix.val[1] = vmulq_n_f32(iMatrix.val[1], (float32_t)vectorRight.v[1]); - iMatrix.val[2] = vmulq_n_f32(iMatrix.val[2], (float32_t)vectorRight.v[2]); - iMatrix.val[3] = vmulq_n_f32(iMatrix.val[3], (float32_t)vectorRight.v[3]); - - iMatrix.val[0] = vaddq_f32(iMatrix.val[0], iMatrix.val[1]); - iMatrix.val[2] = vaddq_f32(iMatrix.val[2], iMatrix.val[3]); - - v = vaddq_f32(iMatrix.val[0], iMatrix.val[2]); - - return *(CCVector4 *)&v; -#else - CCVector4 v = { { matrixLeft.m[0] * vectorRight.v[0] + matrixLeft.m[4] * vectorRight.v[1] + matrixLeft.m[8] * vectorRight.v[2] + matrixLeft.m[12] * vectorRight.v[3], - matrixLeft.m[1] * vectorRight.v[0] + matrixLeft.m[5] * vectorRight.v[1] + matrixLeft.m[9] * vectorRight.v[2] + matrixLeft.m[13] * vectorRight.v[3], - matrixLeft.m[2] * vectorRight.v[0] + matrixLeft.m[6] * vectorRight.v[1] + matrixLeft.m[10] * vectorRight.v[2] + matrixLeft.m[14] * vectorRight.v[3], - matrixLeft.m[3] * vectorRight.v[0] + matrixLeft.m[7] * vectorRight.v[1] + matrixLeft.m[11] * vectorRight.v[2] + matrixLeft.m[15] * vectorRight.v[3] } }; - return v; -#endif - } - - /* - Assumes 0 in the w component. - */ - static inline CCVector3 CCMatrix4MultiplyVector3(CCMatrix4 matrixLeft, CCVector3 vectorRight) - { - CCVector4 v4 = CCMatrix4MultiplyVector4(matrixLeft, CCVector4Make(vectorRight.v[0], vectorRight.v[1], vectorRight.v[2], 0.0f)); - return CCVector3Make(v4.v[0], v4.v[1], v4.v[2]); - } - - /* - Assumes 1 in the w component. - */ - static inline CCVector3 CCMatrix4MultiplyVector3WithTranslation(CCMatrix4 matrixLeft, CCVector3 vectorRight) - { - CCVector4 v4 = CCMatrix4MultiplyVector4(matrixLeft, CCVector4Make(vectorRight.v[0], vectorRight.v[1], vectorRight.v[2], 1.0f)); - return CCVector3Make(v4.v[0], v4.v[1], v4.v[2]); - } - - /* - Assumes 1 in the w component and divides the resulting vector by w before returning. - */ - static inline CCVector3 CCMatrix4MultiplyAndProjectVector3(CCMatrix4 matrixLeft, CCVector3 vectorRight) - { - CCVector4 v4 = CCMatrix4MultiplyVector4(matrixLeft, CCVector4Make(vectorRight.v[0], vectorRight.v[1], vectorRight.v[2], 1.0f)); - return CCVector3MultiplyScalar(CCVector3Make(v4.v[0], v4.v[1], v4.v[2]), 1.0f / v4.v[3]); - } - - /* - Assumes 0 in the w component. - */ - static inline void CCMatrix4MultiplyVector3Array(CCMatrix4 matrix, CCVector3 *vectors, size_t vectorCount) - { - int i; - for (i=0; i < vectorCount; i++) - vectors[i] = CCMatrix4MultiplyVector3(matrix, vectors[i]); - } - - /* - Assumes 1 in the w component. - */ - static inline void CCMatrix4MultiplyVector3ArrayWithTranslation(CCMatrix4 matrix, CCVector3 *vectors, size_t vectorCount) - { - int i; - for (i=0; i < vectorCount; i++) - vectors[i] = CCMatrix4MultiplyVector3WithTranslation(matrix, vectors[i]); - } - - /* - Assumes 1 in the w component and divides the resulting vector by w before returning. - */ - static inline void CCMatrix4MultiplyAndProjectVector3Array(CCMatrix4 matrix, CCVector3 *vectors, size_t vectorCount) - { - int i; - for (i=0; i < vectorCount; i++) - vectors[i] = CCMatrix4MultiplyAndProjectVector3(matrix, vectors[i]); - } - - static inline void CCMatrix4MultiplyVector4Array(CCMatrix4 matrix, CCVector4 *vectors, size_t vectorCount) - { - int i; - for (i=0; i < vectorCount; i++) - vectors[i] = CCMatrix4MultiplyVector4(matrix, vectors[i]); - } - -#ifdef __cplusplus -} -#endif - -#define GLKMatrix4Make CCMatrix4Make -#define GLKMatrix4Identity CCMatrix4Identity -#define GLKMatrix4Invert CCMatrix4Invert -#define GLKMatrix4InvertAndTranspose CCMatrix4InvertAndTranspose -#define GLKMatrix4MakeAndTranspose CCMatrix4MakeAndTranspose -#define GLKMatrix4MakeWithArray CCMatrix4MakeWithArray -#define GLKMatrix4MakeWithArrayAndTranspose CCMatrix4MakeWithArrayAndTranspose -#define GLKMatrix4MakeWithRows CCMatrix4MakeWithRows -#define GLKMatrix4MakeWithColumns CCMatrix4MakeWithColumns -#define GLKMatrix4MakeWithQuaternion CCMatrix4MakeWithQuaternion -#define GLKMatrix4MakeScale CCMatrix4MakeScale -#define GLKMatrix4MakeRotation CCMatrix4MakeRotation -#define GLKMatrix4MakeXRotation CCMatrix4MakeXRotation -#define GLKMatrix4MakeYRotation CCMatrix4MakeYRotation -#define GLKMatrix4MakeZRotation CCMatrix4MakeZRotation -#define GLKMatrix4GetMatrix2 CCMatrix4GetMatrix2 -#define GLKMatrix4GetRow CCMatrix4GetRow -#define GLKMatrix4GetColumn CCMatrix4GetColumn -#define GLKMatrix4SetRow CCMatrix4SetRow -#define GLKMatrix4SetColumn CCMatrix4SetColumn -#define GLKMatrix4Transpose CCMatrix4Transpose -#define GLKMatrix4Multiply CCMatrix4Multiply -#define GLKMatrix4Add CCMatrix4Add -#define GLKMatrix4Subtract CCMatrix4Subtract -#define GLKMatrix4Scale CCMatrix4Scale -#define GLKMatrix4ScaleWithVector3 CCMatrix4ScaleWithVector3 -#define GLKMatrix4ScaleWithVector4 CCMatrix4ScaleWithVector4 -#define GLKMatrix4Rotate CCMatrix4Rotate -#define GLKMatrix4RotateWithVector3 CCMatrix4RotateWithVector3 -#define GLKMatrix4RotateWithVector4 CCMatrix4RotateWithVector4 -#define GLKMatrix4RotateX CCMatrix4RotateX -#define GLKMatrix4RotateY CCMatrix4RotateY -#define GLKMatrix4RotateZ CCMatrix4RotateZ -#define GLKMatrix4MultiplyVector3 CCMatrix4MultiplyVector3 -#define GLKMatrix4MultiplyVector3Array CCMatrix4MultiplyVector3Array -#define GLKMatrix4MultiplyAndProjectVector3 CCMatrix4MultiplyAndProjectVector3 -#define GLKMatrix4MultiplyAndProjectVector3Array CCMatrix4MultiplyAndProjectVector3Array -#define GLKMatrix4MakeTranslation CCMatrix4MakeTranslation -#define GLKMatrix4MakeOrtho CCMatrix4MakeOrtho -#define GLKMatrix4MakePerspective CCMatrix4MakePerspective -#define GLKMatrix4MultiplyVector4 CCMatrix4MultiplyVector4 - -#endif - -#endif /* __CC_MATRIX_4_H */ - diff --git a/cocos2d/Platforms/Android/CCMatrix4.m b/cocos2d/Platforms/Android/CCMatrix4.m deleted file mode 100644 index 1960d6e1cf8..00000000000 --- a/cocos2d/Platforms/Android/CCMatrix4.m +++ /dev/null @@ -1,117 +0,0 @@ -#import "CCMatrix4.h" - -#if __CC_PLATFORM_ANDROID - -#include - - - -static inline float get(const CCMatrix4 *pIn, int row, int col) -{ - return pIn->m[row + 4*col]; -} - -static inline void set(CCMatrix4 *pIn, int row, int col, float value) -{ - pIn->m[row + 4*col] = value; -} - -static inline void swap(CCMatrix4 *pIn, int r1, int c1, int r2, int c2) -{ - float tmp = get(pIn,r1,c1); - set(pIn,r1,c1,get(pIn,r2,c2)); - set(pIn,r2,c2, tmp); -} - -static inline bool gaussj(CCMatrix4 *a, CCMatrix4 *b) -{ - int i, icol = 0, irow = 0, j, k, l, ll, n = 4, m = 4; - float big, dum, pivinv; - int indxc[n]; - int indxr[n]; - int ipiv[n]; - - for (j = 0; j < n; j++) { - ipiv[j] = 0; - } - - for (i = 0; i < n; i++) { - big = 0.0f; - for (j = 0; j < n; j++) { - if (ipiv[j] != 1) { - for (k = 0; k < n; k++) { - if (ipiv[k] == 0) { - if (fabs(get(a,j, k)) >= big) { - big = fabs(get(a,j, k)); - irow = j; - icol = k; - } - } - } - } - } - ++(ipiv[icol]); - if (irow != icol) { - for (l = 0; l < n; l++) { - swap(a,irow, l, icol, l); - } - for (l = 0; l < m; l++) { - swap(b,irow, l, icol, l); - } - } - indxr[i] = irow; - indxc[i] = icol; - if (get(a,icol, icol) == 0.0) { - return false; - } - pivinv = 1.0f / get(a,icol, icol); - set(a,icol, icol, 1.0f); - for (l = 0; l < n; l++) { - set(a,icol, l, get(a,icol, l) * pivinv); - } - for (l = 0; l < m; l++) { - set(b,icol, l, get(b,icol, l) * pivinv); - } - - for (ll = 0; ll < n; ll++) { - if (ll != icol) { - dum = get(a,ll, icol); - set(a,ll, icol, 0.0f); - for (l = 0; l < n; l++) { - set(a,ll, l, get(a,ll, l) - get(a,icol, l) * dum); - } - for (l = 0; l < m; l++) { - set(b,ll, l, get(a,ll, l) - get(b,icol, l) * dum); - } - } - } - } - - for (l = n - 1; l >= 0; l--) { - if (indxr[l] != indxc[l]) { - for (k = 0; k < n; k++) { - swap(a,k, indxr[l], k, indxc[l]); - } - } - } - return true; -} - -CCMatrix4 CCMatrix4Invert(CCMatrix4 matrix, bool *isInvertible) { - CCMatrix4 inv; - CCMatrix4 tmp; - - memcpy(&inv, &matrix, sizeof(CCMatrix4)); - memcpy(&tmp, &CCMatrix4Identity, sizeof(CCMatrix4)); - - bool invertable = gaussj(&inv, &tmp); - if (isInvertible) - { - *isInvertible = invertable; - } - - return inv; -} - -#endif - diff --git a/cocos2d/Platforms/Android/CCQuaternion.h b/cocos2d/Platforms/Android/CCQuaternion.h deleted file mode 100644 index b5ac5c09eee..00000000000 --- a/cocos2d/Platforms/Android/CCQuaternion.h +++ /dev/null @@ -1,290 +0,0 @@ -// -// CCQuaternion.h -// cocos2d-ios -// -// Created by Oleg Osin on 6/10/14. -// -// - -#ifndef __CC_QUATERNION_H -#define __CC_QUATERNION_H - -#include -#include - -#import "CCMathTypesAndroid.h" - -#if __CC_PLATFORM_ANDROID - -#import "CCVector3.h" -#import "CCVector4.h" - -#ifdef __cplusplus -extern "C" { -#endif - - static const CCQuaternion CCQuaternionIdentity = { .x = 0, .y = 0, .z = 0, .w = 1 }; - - CCQuaternion CCQuaternionMakeWithMatrix3(CCMatrix3 matrix); - /* - Calculate and return the angle component of the angle and axis form. - */ - float CCQuaternionAngle(CCQuaternion quaternion); - - /* - Calculate and return the axis component of the angle and axis form. - */ - CCVector3 CCQuaternionAxis(CCQuaternion quaternion); - - CCQuaternion CCQuaternionSlerp(CCQuaternion quaternionStart, CCQuaternion quaternionEnd, float t); - - void CCQuaternionRotateVector3Array(CCQuaternion quaternion, CCVector3 *vectors, size_t vectorCount); - - CCQuaternion CCQuaternionMakeWithMatrix4(CCMatrix4 matrix); - - void CCQuaternionRotateVector4Array(CCQuaternion quaternion, CCVector4 *vectors, size_t vectorCount); - - /* - x, y, and z represent the imaginary values. - */ - static inline CCQuaternion CCQuaternionMake(float x, float y, float z, float w) - { - CCQuaternion q = { {{{x, y, z}}, w} }; - return q; - } - - /* - vector represents the imaginary values. - */ - static inline CCQuaternion CCQuaternionMakeWithVector3(CCVector3 vector, float scalar) - { - CCQuaternion q = { { {{vector.v[0], vector.v[1], vector.v[2]}}, scalar } }; - return q; - } - - /* - values[0], values[1], and values[2] represent the imaginary values. - */ - static inline CCQuaternion CCQuaternionMakeWithArray(float values[4]) - { - CCQuaternion q = { { {{values[0], values[1], values[2]}}, values[3] } }; - return q; - } - - /* - Assumes the axis is already normalized. - */ - static inline CCQuaternion CCQuaternionMakeWithAngleAndAxis(float radians, float x, float y, float z) - { - float halfAngle = radians * 0.5f; - float scale = sinf(halfAngle); - CCQuaternion q = { { {{scale * x, scale * y, scale * z}}, cosf(halfAngle) } }; - return q; - } - - /* - Assumes the axis is already normalized. - */ - static inline CCQuaternion CCQuaternionMakeWithAngleAndVector3Axis(float radians, CCVector3 axisVector) - { - return CCQuaternionMakeWithAngleAndAxis(radians, axisVector.v[0], axisVector.v[1], axisVector.v[2]); - } - - static inline CCQuaternion CCQuaternionAdd(CCQuaternion quaternionLeft, CCQuaternion quaternionRight) - { -#if defined(__ARM_NEON__) - float32x4_t v = vaddq_f32(*(float32x4_t *)&quaternionLeft, - *(float32x4_t *)&quaternionRight); - return *(CCQuaternion *)&v; -#else - CCQuaternion q = { - .x = quaternionLeft.q[0] + quaternionRight.q[0], - .y = quaternionLeft.q[1] + quaternionRight.q[1], - .z = quaternionLeft.q[2] + quaternionRight.q[2], - .w = quaternionLeft.q[3] + quaternionRight.q[3] - }; - return q; -#endif - } - - static inline CCQuaternion CCQuaternionSubtract(CCQuaternion quaternionLeft, CCQuaternion quaternionRight) - { -#if defined(__ARM_NEON__) - float32x4_t v = vsubq_f32(*(float32x4_t *)&quaternionLeft, - *(float32x4_t *)&quaternionRight); - return *(CCQuaternion *)&v; -#else - CCQuaternion q = { - .x = quaternionLeft.q[0] - quaternionRight.q[0], - .y = quaternionLeft.q[1] - quaternionRight.q[1], - .z = quaternionLeft.q[2] - quaternionRight.q[2], - .w = quaternionLeft.q[3] - quaternionRight.q[3] - }; - return q; -#endif - } - - static inline CCQuaternion CCQuaternionMultiply(CCQuaternion quaternionLeft, CCQuaternion quaternionRight) - { - CCQuaternion q = { - .x = quaternionLeft.q[3] * quaternionRight.q[0] + - quaternionLeft.q[0] * quaternionRight.q[3] + - quaternionLeft.q[1] * quaternionRight.q[2] - - quaternionLeft.q[2] * quaternionRight.q[1], - - .y = quaternionLeft.q[3] * quaternionRight.q[1] + - quaternionLeft.q[1] * quaternionRight.q[3] + - quaternionLeft.q[2] * quaternionRight.q[0] - - quaternionLeft.q[0] * quaternionRight.q[2], - - .z = quaternionLeft.q[3] * quaternionRight.q[2] + - quaternionLeft.q[2] * quaternionRight.q[3] + - quaternionLeft.q[0] * quaternionRight.q[1] - - quaternionLeft.q[1] * quaternionRight.q[0], - - .w = quaternionLeft.q[3] * quaternionRight.q[3] - - quaternionLeft.q[0] * quaternionRight.q[0] - - quaternionLeft.q[1] * quaternionRight.q[1] - - quaternionLeft.q[2] * quaternionRight.q[2] }; - return q; - } - - static inline float CCQuaternionLength(CCQuaternion quaternion) - { -#if defined(__ARM_NEON__) - float32x4_t v = vmulq_f32(*(float32x4_t *)&quaternion, - *(float32x4_t *)&quaternion); - float32x2_t v2 = vpadd_f32(vget_low_f32(v), vget_high_f32(v)); - v2 = vpadd_f32(v2, v2); - return sqrt(vget_lane_f32(v2, 0)); -#else - return sqrt(quaternion.q[0] * quaternion.q[0] + - quaternion.q[1] * quaternion.q[1] + - quaternion.q[2] * quaternion.q[2] + - quaternion.q[3] * quaternion.q[3]); -#endif - } - - static inline CCQuaternion CCQuaternionConjugate(CCQuaternion quaternion) - { -#if defined(__ARM_NEON__) - float32x4_t *q = (float32x4_t *)&quaternion; - - uint32_t signBit = 0x80000000; - uint32_t zeroBit = 0x0; - uint32x4_t mask = vdupq_n_u32(signBit); - mask = vsetq_lane_u32(zeroBit, mask, 3); - *q = vreinterpretq_f32_u32(veorq_u32(vreinterpretq_u32_f32(*q), mask)); - - return *(CCQuaternion *)q; -#else - CCQuaternion q = { - .x = -quaternion.q[0], - .y = -quaternion.q[1], - .z = -quaternion.q[2], - .w = quaternion.q[3] - }; - return q; -#endif - } - - static inline CCQuaternion CCQuaternionInvert(CCQuaternion quaternion) - { -#if defined(__ARM_NEON__) - float32x4_t *q = (float32x4_t *)&quaternion; - float32x4_t v = vmulq_f32(*q, *q); - float32x2_t v2 = vpadd_f32(vget_low_f32(v), vget_high_f32(v)); - v2 = vpadd_f32(v2, v2); - float32_t scale = 1.0f / vget_lane_f32(v2, 0); - v = vmulq_f32(*q, vdupq_n_f32(scale)); - - uint32_t signBit = 0x80000000; - uint32_t zeroBit = 0x0; - uint32x4_t mask = vdupq_n_u32(signBit); - mask = vsetq_lane_u32(zeroBit, mask, 3); - v = vreinterpretq_f32_u32(veorq_u32(vreinterpretq_u32_f32(v), mask)); - - return *(CCQuaternion *)&v; -#else - float scale = 1.0f / (quaternion.q[0] * quaternion.q[0] + - quaternion.q[1] * quaternion.q[1] + - quaternion.q[2] * quaternion.q[2] + - quaternion.q[3] * quaternion.q[3]); - CCQuaternion q = { - .x = -quaternion.q[0] * scale, - .y = -quaternion.q[1] * scale, - .z = -quaternion.q[2] * scale, - .w = quaternion.q[3] * scale - }; - return q; -#endif - } - - static inline CCQuaternion CCQuaternionNormalize(CCQuaternion quaternion) - { - float scale = 1.0f / CCQuaternionLength(quaternion); -#if defined(__ARM_NEON__) - float32x4_t v = vmulq_f32(*(float32x4_t *)&quaternion, - vdupq_n_f32((float32_t)scale)); - return *(CCQuaternion *)&v; -#else - CCQuaternion q = { - .x = quaternion.q[0] * scale, - .y = quaternion.q[1] * scale, - .z = quaternion.q[2] * scale, - .w = quaternion.q[3] * scale - }; - return q; -#endif - } - - static inline CCVector3 CCQuaternionRotateVector3(CCQuaternion quaternion, CCVector3 vector) - { - CCQuaternion rotatedQuaternion = CCQuaternionMake(vector.v[0], vector.v[1], vector.v[2], 0.0f); - rotatedQuaternion = CCQuaternionMultiply(CCQuaternionMultiply(quaternion, rotatedQuaternion), CCQuaternionInvert(quaternion)); - - return CCVector3Make(rotatedQuaternion.q[0], rotatedQuaternion.q[1], rotatedQuaternion.q[2]); - } - - /* - The fourth component of the vector is ignored when calculating the rotation. - */ - static inline CCVector4 CCQuaternionRotateVector4(CCQuaternion quaternion, CCVector4 vector) - { - CCQuaternion rotatedQuaternion = CCQuaternionMake(vector.v[0], vector.v[1], vector.v[2], 0.0f); - rotatedQuaternion = CCQuaternionMultiply(CCQuaternionMultiply(quaternion, rotatedQuaternion), CCQuaternionInvert(quaternion)); - - return CCVector4Make(rotatedQuaternion.q[0], rotatedQuaternion.q[1], rotatedQuaternion.q[2], vector.v[3]); - } - -#ifdef __cplusplus -} -#endif - -#define GLKQuaternionIdentity CCQuaternionIdentity -#define GLKQuaternionMakeWithMatrix3 CCQuaternionMakeWithMatrix3 -#define GLKQuaternionAngle CCQuaternionAngle -#define GLKQuaternionAxis CCQuaternionAxis -#define GLKQuaternionSlerp CCQuaternionSlerp -#define GLKQuaternionRotateVector3Array CCQuaternionRotateVector3Array -#define GLKQuaternionMakeWithMatrix4 CCQuaternionMakeWithMatrix4 -#define GLKQuaternionRotateVector4Array CCQuaternionRotateVector4Array -#define GLKQuaternionMake CCQuaternionMake -#define GLKQuaternionMakeWithVector3 CCQuaternionMakeWithVector3 -#define GLKQuaternionMakeWithArray CCQuaternionMakeWithArray -#define GLKQuaternionMakeWithAngleAndAxis CCQuaternionMakeWithAngleAndAxis -#define GLKQuaternionIdentity CCQuaternionIdentity -#define GLKQuaternionMakeWithAngleAndVector3Axis CCQuaternionMakeWithAngleAndVector3Axis -#define GLKQuaternionAdd CCQuaternionAdd -#define GLKQuaternionSubtract CCQuaternionSubtract -#define GLKQuaternionMultiply CCQuaternionMultiply -#define GLKQuaternionLength CCQuaternionLength -#define GLKQuaternionConjugate CCQuaternionConjugate -#define GLKQuaternionInvert CCQuaternionInvert -#define GLKQuaternionNormalize CCQuaternionNormalize -#define GLKQuaternionRotateVector3 CCQuaternionRotateVector3 -#define GLKQuaternionRotateVector4 CCQuaternionRotateVector4 - -#endif - -#endif /* __CC_QUATERNION_H */ diff --git a/cocos2d/Platforms/Android/CCQuaternion.m b/cocos2d/Platforms/Android/CCQuaternion.m deleted file mode 100644 index a4b92a49844..00000000000 --- a/cocos2d/Platforms/Android/CCQuaternion.m +++ /dev/null @@ -1,124 +0,0 @@ -#import "CCQuaternion.h" -#import "CCMatrix4.h" - -#if __CC_PLATFORM_ANDROID - -#define kCCEpsilon 0.0001f - -CCQuaternion CCQuaternionMakeWithMatrix3(CCMatrix3 matrix) -{ - CCQuaternion quat; - quat.y = sqrtf(((1.0f - matrix.m[0]) / 2.0f - (1.0f - matrix.m[4]) / 2.0f + (1.0f - matrix.m[8]) / 2.0f) / 2.0f); - quat.x = sqrtf((1.0f - matrix.m[8]) / 2.0f - quat.y * quat.y); - quat.z = sqrtf((1.0f - matrix.m[4]) / 2.0f - quat.x * quat.x); - quat.w = (quat.x * quat.y - matrix.m[1] / 2.0f) / quat.z; - return quat; -} - -float CCQuaternionAngle(CCQuaternion quaternion) -{ - float angle = acosf(quaternion.w); - float scale = sqrtf(quaternion.x * quaternion.x + quaternion.y * quaternion.y + quaternion.z * quaternion.z); - - if (((scale > -kCCEpsilon) && scale < kCCEpsilon) - || (scale < 2.0f * M_PI + kCCEpsilon && scale > 2.0f * M_PI - kCCEpsilon)) - { - return 0.0f; - } - else - { - return angle * 2.0f; - } -} - -CCVector3 CCQuaternionAxis(CCQuaternion quaternion) -{ - float angle = acosf(quaternion.w); - float scale = sqrtf(quaternion.x * quaternion.x + quaternion.y * quaternion.y + quaternion.z * quaternion.z); - - if (((scale > -kCCEpsilon) && scale < kCCEpsilon) - || (scale < 2.0f * M_PI + kCCEpsilon && scale > 2.0f * M_PI - kCCEpsilon)) - { - return CCVector3Make(0.0f, 0.0f, 1.0f); - } - else - { - return CCVector3Make(quaternion.x / scale, quaternion.y / scale, quaternion.z / scale); - } -} - - -static inline float CCQuaternionDot(CCQuaternion q1, CCQuaternion q2) { - return (q1.w * q2.w + - q1.x * q2.x + - q1.y * q2.y + - q1.z * q2.z); -} - -static inline CCQuaternion CCQuaternionScale(CCQuaternion q1, float s) -{ - CCQuaternion q; - q.x = q1.x * s; - q.y = q1.y * s; - q.z = q1.z * s; - q.w = q1.w * s; - return q; -} - -CCQuaternion CCQuaternionSlerp(CCQuaternion q1, CCQuaternion q2, float t) -{ - CCQuaternion q; - - if (q1.x == q2.x && - q1.y == q2.y && - q1.z == q2.z && - q1.w == q2.w) - { - - q.x = q.x; - q.y = q.y; - q.z = q.z; - q.w = q.w; - - return q; - } - - float ct = CCQuaternionDot(q1, q2); - float theta = acosf(ct); - float st = sqrtf(1.0 - (ct * ct)); - float stt = sinf(t * theta) / st; - float somt = sinf((1.0 - t) * theta) / st; - - CCQuaternion temp, temp2; - - temp = CCQuaternionScale(q1, somt); - temp2 = CCQuaternionScale(q2, stt); - q = CCQuaternionAdd(temp, temp2); - - return q; -} - -void CCQuaternionRotateVector3Array(CCQuaternion quaternion, CCVector3 *vectors, size_t vectorCount) -{ - for (int idx = 0; idx < vectorCount; idx++) - { - CCQuaternionRotateVector3(quaternion, vectors[idx]); - } -} - -CCQuaternion CCQuaternionMakeWithMatrix4(CCMatrix4 matrix) -{ - return CCQuaternionMakeWithMatrix3(CCMatrix4GetMatrix3(matrix)); -} - -void CCQuaternionRotateVector4Array(CCQuaternion quaternion, CCVector4 *vectors, size_t vectorCount) -{ - for (int idx = 0; idx < vectorCount; idx++) - { - CCQuaternionRotateVector4(quaternion, vectors[idx]); - } -} - -#endif - - diff --git a/cocos2d/Platforms/Android/CCTouchAndroid.h b/cocos2d/Platforms/Android/CCTouchAndroid.h deleted file mode 100644 index df1f41de876..00000000000 --- a/cocos2d/Platforms/Android/CCTouchAndroid.h +++ /dev/null @@ -1,27 +0,0 @@ -// -// CCTouchAndroid.h -// cocos2d-ios -// -// Created by Oleg Osin on 6/13/14. -// -// - -#import "CCTouch.h" - -#if __CC_PLATFORM_ANDROID - -@interface CCTouchAndroid : CCTouch - -@property (nonatomic, readonly) CCTouchPhase phase; -@property (nonatomic, readonly) NSUInteger tapCount; -@property (nonatomic, readonly) NSTimeInterval timestamp; - -- (void)update:(CGPoint)pt phase:(CCTouchPhase)phase timestamp:(NSTimeInterval)timestamp; - -- (CGPoint)locationInView:(CCGLView *)view; -- (CGPoint)previousLocationInView:(CCGLView *)view; - - -@end - -#endif diff --git a/cocos2d/Platforms/Android/CCTouchAndroid.m b/cocos2d/Platforms/Android/CCTouchAndroid.m deleted file mode 100644 index f109e8ebe28..00000000000 --- a/cocos2d/Platforms/Android/CCTouchAndroid.m +++ /dev/null @@ -1,54 +0,0 @@ -// -// CCTouchAndroid.m -// cocos2d-ios -// -// Created by Oleg Osin on 6/13/14. -// -// -#import "CCTouchAndroid.h" - -#if __CC_PLATFORM_ANDROID - -@implementation CCTouchAndroid { - CGPoint _location; - CGPoint _prevLoc; - CCTouchPhase _phase; - NSTimeInterval _timestamp; -} - -- (id)init -{ - self = [super initWithPlatformTouch:nil]; - return self; -} - -- (void)update:(CGPoint)pt phase:(CCTouchPhase)phase timestamp:(NSTimeInterval)timestamp -{ - _prevLoc = _location; - _location = pt; - _phase = phase; - _timestamp = timestamp; -} - -- (CCTouchPhase)phase -{ - return _phase; -} - -- (NSTimeInterval)timestamp -{ - return _timestamp; -} - -- (CGPoint)locationInView:(CCGLView *)view -{ - return _location; -} - -- (CGPoint)previousLocationInView:(CCGLView *)view -{ - return _prevLoc; -} -@end - -#endif \ No newline at end of file diff --git a/cocos2d/Platforms/Android/CCVector2.h b/cocos2d/Platforms/Android/CCVector2.h deleted file mode 100644 index 68fe4a69755..00000000000 --- a/cocos2d/Platforms/Android/CCVector2.h +++ /dev/null @@ -1,425 +0,0 @@ -// -// CCVector2.h -// cocos2d-ios -// -// Created by Oleg Osin on 6/10/14. -// -// - -#ifndef __CC_VECTOR_2_H -#define __CC_VECTOR_2_H - -#include -#include - -#if defined(__ARM_NEON__) -#include -#endif - -#import "CCMathTypesAndroid.h" - -#if __CC_PLATFORM_ANDROID - -#ifdef __cplusplus -extern "C" { -#endif - - static inline CCVector2 CCVector2Make(float x, float y) - { - CCVector2 v = { { x, y } }; - return v; - } - - static inline CCVector2 CCVector2MakeWithArray(float values[2]) - { -#if defined(__ARM_NEON__) - float32x2_t v = vld1_f32(values); - return *(CCVector2 *)&v; -#else - CCVector2 v = { { values[0], values[1] } }; - return v; -#endif - } - - static inline CCVector2 CCVector2Negate(CCVector2 vector) - { -#if defined(__ARM_NEON__) - float32x2_t v = vneg_f32(*(float32x2_t *)&vector); - return *(CCVector2 *)&v; -#else - CCVector2 v = { { -vector.v[0] , -vector.v[1] } }; - return v; -#endif - } - - static inline CCVector2 CCVector2Add(CCVector2 vectorLeft, CCVector2 vectorRight) - { -#if defined(__ARM_NEON__) - float32x2_t v = vadd_f32(*(float32x2_t *)&vectorLeft, - *(float32x2_t *)&vectorRight); - return *(CCVector2 *)&v; -#else - CCVector2 v = { { vectorLeft.v[0] + vectorRight.v[0], - vectorLeft.v[1] + vectorRight.v[1] } }; - return v; -#endif - } - - static inline CCVector2 CCVector2Subtract(CCVector2 vectorLeft, CCVector2 vectorRight) - { -#if defined(__ARM_NEON__) - float32x2_t v = vsub_f32(*(float32x2_t *)&vectorLeft, - *(float32x2_t *)&vectorRight); - return *(CCVector2 *)&v; -#else - CCVector2 v = { { vectorLeft.v[0] - vectorRight.v[0], - vectorLeft.v[1] - vectorRight.v[1] } }; - return v; -#endif - } - - static inline CCVector2 CCVector2Multiply(CCVector2 vectorLeft, CCVector2 vectorRight) - { -#if defined(__ARM_NEON__) - float32x2_t v = vmul_f32(*(float32x2_t *)&vectorLeft, - *(float32x2_t *)&vectorRight); - return *(CCVector2 *)&v; -#else - CCVector2 v = { { vectorLeft.v[0] * vectorRight.v[0], - vectorLeft.v[1] * vectorRight.v[1] } }; - return v; -#endif - } - - static inline CCVector2 CCVector2Divide(CCVector2 vectorLeft, CCVector2 vectorRight) - { -#if defined(__ARM_NEON__) - float32x2_t *vLeft = (float32x2_t *)&vectorLeft; - float32x2_t *vRight = (float32x2_t *)&vectorRight; - float32x2_t estimate = vrecpe_f32(*vRight); - estimate = vmul_f32(vrecps_f32(*vRight, estimate), estimate); - estimate = vmul_f32(vrecps_f32(*vRight, estimate), estimate); - float32x2_t v = vmul_f32(*vLeft, estimate); - return *(CCVector2 *)&v; -#else - CCVector2 v = { { vectorLeft.v[0] / vectorRight.v[0], - vectorLeft.v[1] / vectorRight.v[1] } }; - return v; -#endif - } - - static inline CCVector2 CCVector2AddScalar(CCVector2 vector, float value) - { -#if defined(__ARM_NEON__) - float32x2_t v = vadd_f32(*(float32x2_t *)&vector, - vdup_n_f32((float32_t)value)); - return *(CCVector2 *)&v; -#else - CCVector2 v = { { vector.v[0] + value, - vector.v[1] + value } }; - return v; -#endif - } - - static inline CCVector2 CCVector2SubtractScalar(CCVector2 vector, float value) - { -#if defined(__ARM_NEON__) - float32x2_t v = vsub_f32(*(float32x2_t *)&vector, - vdup_n_f32((float32_t)value)); - return *(CCVector2 *)&v; -#else - CCVector2 v = { { vector.v[0] - value, - vector.v[1] - value } }; - return v; -#endif - } - - static inline CCVector2 CCVector2MultiplyScalar(CCVector2 vector, float value) - { -#if defined(__ARM_NEON__) - float32x2_t v = vmul_f32(*(float32x2_t *)&vector, - vdup_n_f32((float32_t)value)); - return *(CCVector2 *)&v; -#else - CCVector2 v = { { vector.v[0] * value, - vector.v[1] * value } }; - return v; -#endif - } - - static inline CCVector2 CCVector2DivideScalar(CCVector2 vector, float value) - { -#if defined(__ARM_NEON__) - float32x2_t values = vdup_n_f32((float32_t)value); - float32x2_t estimate = vrecpe_f32(values); - estimate = vmul_f32(vrecps_f32(values, estimate), estimate); - estimate = vmul_f32(vrecps_f32(values, estimate), estimate); - float32x2_t v = vmul_f32(*(float32x2_t *)&vector, estimate); - return *(CCVector2 *)&v; -#else - CCVector2 v = { { vector.v[0] / value, - vector.v[1] / value } }; - return v; -#endif - } - - /* - Returns a vector whose elements are the larger of the corresponding elements of the vector arguments. - */ - static inline CCVector2 CCVector2Maximum(CCVector2 vectorLeft, CCVector2 vectorRight) - { -#if defined(__ARM_NEON__) - float32x2_t v = vmax_f32(*(float32x2_t *)&vectorLeft, - *(float32x2_t *)&vectorRight); - return *(CCVector2 *)&v; -#else - CCVector2 max = vectorLeft; - if (vectorRight.v[0] > vectorLeft.v[0]) - max.v[0] = vectorRight.v[0]; - if (vectorRight.v[1] > vectorLeft.v[1]) - max.v[1] = vectorRight.v[1]; - return max; -#endif - } - - /* - Returns a vector whose elements are the smaller of the corresponding elements of the vector arguments. - */ - static inline CCVector2 CCVector2Minimum(CCVector2 vectorLeft, CCVector2 vectorRight) - { -#if defined(__ARM_NEON__) - float32x2_t v = vmin_f32(*(float32x2_t *)&vectorLeft, - *(float32x2_t *)&vectorRight); - return *(CCVector2 *)&v; -#else - CCVector2 min = vectorLeft; - if (vectorRight.v[0] < vectorLeft.v[0]) - min.v[0] = vectorRight.v[0]; - if (vectorRight.v[1] < vectorLeft.v[1]) - min.v[1] = vectorRight.v[1]; - return min; -#endif - } - - /* - Returns true if all of the first vector's elements are equal to all of the second vector's arguments. - */ - static inline bool CCVector2AllEqualToVector2(CCVector2 vectorLeft, CCVector2 vectorRight) - { -#if defined(__ARM_NEON_) - float32x2_t v1 = *(float32x2_t *)&vectorLeft; - float32x2_t v2 = *(float32x2_t *)&vectorRight; - uint32x2_t vCmp = vceq_f32(v1, v2); - uint32x2_t vAnd = vand_u32(vCmp, vext_u32(vCmp, vCmp, 1)); - vAnd = vand_u32(vAnd, vdup_n_u32(1)); - return (bool)vget_lane_u32(vAnd, 0); -#else - bool compare = false; - if (vectorLeft.v[0] == vectorRight.v[0] && - vectorLeft.v[1] == vectorRight.v[1]) - compare = true; - return compare; -#endif - } - - /* - Returns true if all of the vector's elements are equal to the provided value. - */ - static inline bool CCVector2AllEqualToScalar(CCVector2 vector, float value) - { -#if defined(__ARM_NEON_) - float32x2_t v1 = *(float32x2_t *)&vector; - float32x2_t v2 = vdup_n_f32(value); - uint32x2_t vCmp = vceq_f32(v1, v2); - uint32x2_t vAnd = vand_u32(vCmp, vext_u32(vCmp, vCmp, 1)); - vAnd = vand_u32(vAnd, vdup_n_u32(1)); - return (bool)vget_lane_u32(vAnd, 0); -#else - bool compare = false; - if (vector.v[0] == value && - vector.v[1] == value) - compare = true; - return compare; -#endif - } - - /* - Returns true if all of the first vector's elements are greater than all of the second vector's arguments. - */ - static inline bool CCVector2AllGreaterThanVector2(CCVector2 vectorLeft, CCVector2 vectorRight) - { -#if defined(__ARM_NEON_) - float32x2_t v1 = *(float32x2_t *)&vectorLeft; - float32x2_t v2 = *(float32x2_t *)&vectorRight; - uint32x2_t vCmp = vcgt_f32(v1, v2); - uint32x2_t vAnd = vand_u32(vCmp, vext_u32(vCmp, vCmp, 1)); - vAnd = vand_u32(vAnd, vdup_n_u32(1)); - return (bool)vget_lane_u32(vAnd, 0); -#else - bool compare = false; - if (vectorLeft.v[0] > vectorRight.v[0] && - vectorLeft.v[1] > vectorRight.v[1]) - compare = true; - return compare; -#endif - } - - /* - Returns true if all of the vector's elements are greater than the provided value. - */ - static inline bool CCVector2AllGreaterThanScalar(CCVector2 vector, float value) - { -#if defined(__ARM_NEON_) - float32x2_t v1 = *(float32x2_t *)&vector; - float32x2_t v2 = vdup_n_f32(value); - uint32x2_t vCmp = vcgt_f32(v1, v2); - uint32x2_t vAnd = vand_u32(vCmp, vext_u32(vCmp, vCmp, 1)); - vAnd = vand_u32(vAnd, vdup_n_u32(1)); - return (bool)vget_lane_u32(vAnd, 0); -#else - bool compare = false; - if (vector.v[0] > value && - vector.v[1] > value) - compare = true; - return compare; -#endif - } - - /* - Returns true if all of the first vector's elements are greater than or equal to all of the second vector's arguments. - */ - static inline bool CCVector2AllGreaterThanOrEqualToVector2(CCVector2 vectorLeft, CCVector2 vectorRight) - { -#if defined(__ARM_NEON_) - float32x2_t v1 = *(float32x2_t *)&vectorLeft; - float32x2_t v2 = *(float32x2_t *)&vectorRight; - uint32x2_t vCmp = vcge_f32(v1, v2); - uint32x2_t vAnd = vand_u32(vCmp, vext_u32(vCmp, vCmp, 1)); - vAnd = vand_u32(vAnd, vdup_n_u32(1)); - return (bool)vget_lane_u32(vAnd, 0); -#else - bool compare = false; - if (vectorLeft.v[0] >= vectorRight.v[0] && - vectorLeft.v[1] >= vectorRight.v[1]) - compare = true; - return compare; -#endif - } - - /* - Returns true if all of the vector's elements are greater than or equal to the provided value. - */ - static inline bool CCVector2AllGreaterThanOrEqualToScalar(CCVector2 vector, float value) - { -#if defined(__ARM_NEON_) - float32x2_t v1 = *(float32x2_t *)&vector; - float32x2_t v2 = vdup_n_f32(value); - uint32x2_t vCmp = vcge_f32(v1, v2); - uint32x2_t vAnd = vand_u32(vCmp, vext_u32(vCmp, vCmp, 1)); - vAnd = vand_u32(vAnd, vdup_n_u32(1)); - return (bool)vget_lane_u32(vAnd, 0); -#else - bool compare = false; - if (vector.v[0] >= value && - vector.v[1] >= value) - compare = true; - return compare; -#endif - } - - static inline float CCVector2Length(CCVector2 vector) - { -#if defined(__ARM_NEON__) - float32x2_t v = vmul_f32(*(float32x2_t *)&vector, - *(float32x2_t *)&vector); - v = vpadd_f32(v, v); - return sqrt(vget_lane_f32(v, 0)); -#else - return sqrt(vector.v[0] * vector.v[0] + vector.v[1] * vector.v[1]); -#endif - } - - static inline CCVector2 CCVector2Normalize(CCVector2 vector) - { - float scale = 1.0f / CCVector2Length(vector); - CCVector2 v = CCVector2MultiplyScalar(vector, scale); - return v; - } - - static inline float CCVector2DotProduct(CCVector2 vectorLeft, CCVector2 vectorRight) - { -#if defined(__ARM_NEON__) - float32x2_t v = vmul_f32(*(float32x2_t *)&vectorLeft, - *(float32x2_t *)&vectorRight); - v = vpadd_f32(v, v); - return vget_lane_f32(v, 0); -#else - return vectorLeft.v[0] * vectorRight.v[0] + vectorLeft.v[1] * vectorRight.v[1]; -#endif - } - - static inline float CCVector2Distance(CCVector2 vectorStart, CCVector2 vectorEnd) - { - return CCVector2Length(CCVector2Subtract(vectorEnd, vectorStart)); - } - - static inline CCVector2 CCVector2Lerp(CCVector2 vectorStart, CCVector2 vectorEnd, float t) - { -#if defined(__ARM_NEON__) - float32x2_t vDiff = vsub_f32(*(float32x2_t *)&vectorEnd, - *(float32x2_t *)&vectorStart); - vDiff = vmul_f32(vDiff, vdup_n_f32((float32_t)t)); - float32x2_t v = vadd_f32(*(float32x2_t *)&vectorStart, vDiff); - return *(CCVector2 *)&v; -#else - CCVector2 v = { { vectorStart.v[0] + ((vectorEnd.v[0] - vectorStart.v[0]) * t), - vectorStart.v[1] + ((vectorEnd.v[1] - vectorStart.v[1]) * t) } }; - return v; -#endif - } - - /* - Project the vector, vectorToProject, onto the vector, projectionVector. - */ - static inline CCVector2 CCVector2Project(CCVector2 vectorToProject, CCVector2 projectionVector) - { - float scale = CCVector2DotProduct(projectionVector, vectorToProject) / CCVector2DotProduct(projectionVector, projectionVector); - CCVector2 v = CCVector2MultiplyScalar(projectionVector, scale); - return v; - } - -#ifdef __cplusplus -} -#endif - -#define GLKVector2Make CCVector2Make -#define GLKVector2MakeWithArray CCVector2MakeWithArray -#define GLKVector2Negate CCVector2Negate -#define GLKVector2Add CCVector2Add -#define GLKVector2Subtract CCVector2Subtract -#define GLKVector2Multiply CCVector2Multiply -#define GLKVector2Divide CCVector2Divide -#define GLKVector2AddScalar CCVector2AddScalar -#define GLKVector2SubtractScalar CCVector2SubtractScalar -#define GLKVector2MultiplyScalar CCVector2MultiplyScalar -#define GLKVector2DivideScalar CCVector2DivideScalar -#define GLKVector2Maximum CCVector2Maximum -#define GLKVector2Minimum CCVector2Minimum -#define GLKVector2AllEqualToVector2 CCVector2AllEqualToVector2 -#define GLKVector2AllEqualToScalar CCVector2AllEqualToScalar -#define GLKVector2AllGreaterThanVector2 CCVector2AllGreaterThanVector2 -#define GLKVector2AllGreaterThanScalar CCVector2AllGreaterThanScalar -#define GLKVector2AllGreaterThanOrEqualToVector2 CCVector2AllGreaterThanOrEqualToVector2 -#define GLKVector2AllGreaterThanOrEqualToScalar CCVector2AllGreaterThanOrEqualToScalar -#define GLKVector2Length CCVector2Length -#define GLKVector2Normalize CCVector2Normalize -#define GLKVector2DotProduct CCVector2DotProduct -#define GLKVector2Distance CCVector2Distance -#define GLKVector2Lerp CCVector2Lerp -#define GLKVector2Project CCVector2Project - -#endif - -#endif /* __CC_VECTOR_2_H */ - - diff --git a/cocos2d/Platforms/Android/CCVector3.h b/cocos2d/Platforms/Android/CCVector3.h deleted file mode 100644 index 036a9b67716..00000000000 --- a/cocos2d/Platforms/Android/CCVector3.h +++ /dev/null @@ -1,295 +0,0 @@ -// -// CCVector3.h -// cocos2d-ios -// -// Created by Oleg Osin on 6/10/14. -// -// - -#ifndef __CC_VECTOR_3_H -#define __CC_VECTOR_3_H - -#include -#include - -#import "CCMathTypesAndroid.h" - -#if __CC_PLATFORM_ANDROID - -#ifdef __cplusplus -extern "C" { -#endif - - static inline CCVector3 CCVector3Make(float x, float y, float z) - { - CCVector3 v = { { x, y, z } }; - return v; - } - - static inline CCVector3 CCVector3MakeWithArray(float values[3]) - { - CCVector3 v = { { values[0], values[1], values[2] } }; - return v; - } - - static inline CCVector3 CCVector3Negate(CCVector3 vector) - { - CCVector3 v = { { -vector.v[0], -vector.v[1], -vector.v[2] } }; - return v; - } - - static inline CCVector3 CCVector3Add(CCVector3 vectorLeft, CCVector3 vectorRight) - { - CCVector3 v = { { vectorLeft.v[0] + vectorRight.v[0], - vectorLeft.v[1] + vectorRight.v[1], - vectorLeft.v[2] + vectorRight.v[2] } }; - return v; - } - - static inline CCVector3 CCVector3Subtract(CCVector3 vectorLeft, CCVector3 vectorRight) - { - CCVector3 v = { { vectorLeft.v[0] - vectorRight.v[0], - vectorLeft.v[1] - vectorRight.v[1], - vectorLeft.v[2] - vectorRight.v[2] } }; - return v; - } - - static inline CCVector3 CCVector3Multiply(CCVector3 vectorLeft, CCVector3 vectorRight) - { - CCVector3 v = { { vectorLeft.v[0] * vectorRight.v[0], - vectorLeft.v[1] * vectorRight.v[1], - vectorLeft.v[2] * vectorRight.v[2] } }; - return v; - } - - static inline CCVector3 CCVector3Divide(CCVector3 vectorLeft, CCVector3 vectorRight) - { - CCVector3 v = { { vectorLeft.v[0] / vectorRight.v[0], - vectorLeft.v[1] / vectorRight.v[1], - vectorLeft.v[2] / vectorRight.v[2] } }; - return v; - } - - static inline CCVector3 CCVector3AddScalar(CCVector3 vector, float value) - { - CCVector3 v = { { vector.v[0] + value, - vector.v[1] + value, - vector.v[2] + value } }; - return v; - } - - static inline CCVector3 CCVector3SubtractScalar(CCVector3 vector, float value) - { - CCVector3 v = { { vector.v[0] - value, - vector.v[1] - value, - vector.v[2] - value } }; - return v; - } - - static inline CCVector3 CCVector3MultiplyScalar(CCVector3 vector, float value) - { - CCVector3 v = { { vector.v[0] * value, - vector.v[1] * value, - vector.v[2] * value } }; - return v; - } - - static inline CCVector3 CCVector3DivideScalar(CCVector3 vector, float value) - { - CCVector3 v = { { vector.v[0] / value, - vector.v[1] / value, - vector.v[2] / value } }; - return v; - } - - /* - Returns a vector whose elements are the larger of the corresponding elements of the vector arguments. - */ - static inline CCVector3 CCVector3Maximum(CCVector3 vectorLeft, CCVector3 vectorRight) - { - CCVector3 max = vectorLeft; - if (vectorRight.v[0] > vectorLeft.v[0]) - max.v[0] = vectorRight.v[0]; - if (vectorRight.v[1] > vectorLeft.v[1]) - max.v[1] = vectorRight.v[1]; - if (vectorRight.v[2] > vectorLeft.v[2]) - max.v[2] = vectorRight.v[2]; - return max; - } - - /* - Returns a vector whose elements are the smaller of the corresponding elements of the vector arguments. - */ - static inline CCVector3 CCVector3Minimum(CCVector3 vectorLeft, CCVector3 vectorRight) - { - CCVector3 min = vectorLeft; - if (vectorRight.v[0] < vectorLeft.v[0]) - min.v[0] = vectorRight.v[0]; - if (vectorRight.v[1] < vectorLeft.v[1]) - min.v[1] = vectorRight.v[1]; - if (vectorRight.v[2] < vectorLeft.v[2]) - min.v[2] = vectorRight.v[2]; - return min; - } - - /* - Returns true if all of the first vector's elements are equal to all of the second vector's arguments. - */ - static inline bool CCVector3AllEqualToVector3(CCVector3 vectorLeft, CCVector3 vectorRight) - { - bool compare = false; - if (vectorLeft.v[0] == vectorRight.v[0] && - vectorLeft.v[1] == vectorRight.v[1] && - vectorLeft.v[2] == vectorRight.v[2]) - compare = true; - return compare; - } - - /* - Returns true if all of the vector's elements are equal to the provided value. - */ - static inline bool CCVector3AllEqualToScalar(CCVector3 vector, float value) - { - bool compare = false; - if (vector.v[0] == value && - vector.v[1] == value && - vector.v[2] == value) - compare = true; - return compare; - } - - /* - Returns true if all of the first vector's elements are greater than all of the second vector's arguments. - */ - static inline bool CCVector3AllGreaterThanVector3(CCVector3 vectorLeft, CCVector3 vectorRight) - { - bool compare = false; - if (vectorLeft.v[0] > vectorRight.v[0] && - vectorLeft.v[1] > vectorRight.v[1] && - vectorLeft.v[2] > vectorRight.v[2]) - compare = true; - return compare; - } - - /* - Returns true if all of the vector's elements are greater than the provided value. - */ - static inline bool CCVector3AllGreaterThanScalar(CCVector3 vector, float value) - { - bool compare = false; - if (vector.v[0] > value && - vector.v[1] > value && - vector.v[2] > value) - compare = true; - return compare; - } - - /* - Returns true if all of the first vector's elements are greater than or equal to all of the second vector's arguments. - */ - static inline bool CCVector3AllGreaterThanOrEqualToVector3(CCVector3 vectorLeft, CCVector3 vectorRight) - { - bool compare = false; - if (vectorLeft.v[0] >= vectorRight.v[0] && - vectorLeft.v[1] >= vectorRight.v[1] && - vectorLeft.v[2] >= vectorRight.v[2]) - compare = true; - return compare; - } - - /* - Returns true if all of the vector's elements are greater than or equal to the provided value. - */ - static inline bool CCVector3AllGreaterThanOrEqualToScalar(CCVector3 vector, float value) - { - bool compare = false; - if (vector.v[0] >= value && - vector.v[1] >= value && - vector.v[2] >= value) - compare = true; - return compare; - } - - static inline float CCVector3Length(CCVector3 vector) - { - return sqrtf(vector.v[0] * vector.v[0] + vector.v[1] * vector.v[1] + vector.v[2] * vector.v[2]); - } - - static inline CCVector3 CCVector3Normalize(CCVector3 vector) - { - float scale = 1.0f / CCVector3Length(vector); - CCVector3 v = { { vector.v[0] * scale, vector.v[1] * scale, vector.v[2] * scale } }; - return v; - } - - static inline float CCVector3DotProduct(CCVector3 vectorLeft, CCVector3 vectorRight) - { - return vectorLeft.v[0] * vectorRight.v[0] + vectorLeft.v[1] * vectorRight.v[1] + vectorLeft.v[2] * vectorRight.v[2]; - } - - static inline float CCVector3Distance(CCVector3 vectorStart, CCVector3 vectorEnd) - { - return CCVector3Length(CCVector3Subtract(vectorEnd, vectorStart)); - } - - static inline CCVector3 CCVector3Lerp(CCVector3 vectorStart, CCVector3 vectorEnd, float t) - { - CCVector3 v = { { vectorStart.v[0] + ((vectorEnd.v[0] - vectorStart.v[0]) * t), - vectorStart.v[1] + ((vectorEnd.v[1] - vectorStart.v[1]) * t), - vectorStart.v[2] + ((vectorEnd.v[2] - vectorStart.v[2]) * t) } }; - return v; - } - - static inline CCVector3 CCVector3CrossProduct(CCVector3 vectorLeft, CCVector3 vectorRight) - { - CCVector3 v = { { vectorLeft.v[1] * vectorRight.v[2] - vectorLeft.v[2] * vectorRight.v[1], - vectorLeft.v[2] * vectorRight.v[0] - vectorLeft.v[0] * vectorRight.v[2], - vectorLeft.v[0] * vectorRight.v[1] - vectorLeft.v[1] * vectorRight.v[0] } }; - return v; - } - - /* - Project the vector, vectorToProject, onto the vector, projectionVector. - */ - static inline CCVector3 CCVector3Project(CCVector3 vectorToProject, CCVector3 projectionVector) - { - float scale = CCVector3DotProduct(projectionVector, vectorToProject) / CCVector3DotProduct(projectionVector, projectionVector); - CCVector3 v = CCVector3MultiplyScalar(projectionVector, scale); - return v; - } - -#ifdef __cplusplus -} -#endif - -#define GLKVector3Make CCVector3Make -#define GLKVector3MakeWithArray CCVector3MakeWithArray -#define GLKVector3Negate CCVector3Negate -#define GLKVector3Add CCVector3Add -#define GLKVector3Subtract CCVector3Subtract -#define GLKVector3Multiply CCVector3Multiply -#define GLKVector3Divide CCVector3Divide -#define GLKVector3AddScalar CCVector3AddScalar -#define GLKVector3SubtractScalar CCVector3SubtractScalar -#define GLKVector3MultiplyScalar CCVector3MultiplyScalar -#define GLKVector3DivideScalar CCVector3DivideScalar -#define GLKVector3Maximum CCVector3Maximum -#define GLKVector3Minimum CCVector3Minimum -#define GLKVector3AllEqualToVector2 CCVector3AllEqualToVector2 -#define GLKVector3AllEqualToScalar CCVector3AllEqualToScalar -#define GLKVector3AllGreaterThanVector2 CCVector3AllGreaterThanVector2 -#define GLKVector3AllGreaterThanScalar CCVector3AllGreaterThanScalar -#define GLKVector3AllGreaterThanOrEqualToVector2 CCVector3AllGreaterThanOrEqualToVector2 -#define GLKVector3AllGreaterThanOrEqualToScalar CCVector3AllGreaterThanOrEqualToScalar -#define GLKVector3Length CCVector3Length -#define GLKVector3Normalize CCVector3Normalize -#define GLKVector3DotProduct CCVector3DotProduct -#define GLKVector3Distance GLKVect -#define GLKVector3Lerp CCVector3Lerp -#define GLKVector3Project CCVector3Project - -#endif - -#endif /* __CC_VECTOR_3_H */ - - diff --git a/cocos2d/Platforms/Android/CCVector4.h b/cocos2d/Platforms/Android/CCVector4.h deleted file mode 100644 index e54b7c66d72..00000000000 --- a/cocos2d/Platforms/Android/CCVector4.h +++ /dev/null @@ -1,495 +0,0 @@ -// -// CCVector4.h -// cocos2d-ios -// -// Created by Oleg Osin on 6/10/14. -// -// - -#ifndef __CC_VECTOR_4_H -#define __CC_VECTOR_4_H - -#include -#include - -#if defined(__ARM_NEON__) -#include -#endif - -#import "CCMathTypesAndroid.h" - -#if __CC_PLATFORM_ANDROID - -#ifdef __cplusplus -extern "C" { -#endif - - static inline CCVector4 CCVector4Make(float x, float y, float z, float w) - { - CCVector4 v = { { x, y, z, w } }; - return v; - } - - static inline CCVector4 CCVector4MakeWithArray(float values[4]) - { -#if defined(__ARM_NEON__) - float32x4_t v = vld1q_f32(values); - return *(CCVector4 *)&v; -#else - CCVector4 v = { { values[0], values[1], values[2], values[3] } }; - return v; -#endif - } - - static inline CCVector4 CCVector4MakeWithVector3(CCVector3 vector, float w) - { - CCVector4 v = { { vector.v[0], vector.v[1], vector.v[2], w } }; - return v; - } - - static inline CCVector4 CCVector4Negate(CCVector4 vector) - { -#if defined(__ARM_NEON__) - float32x4_t v = vnegq_f32(*(float32x4_t *)&vector); - return *(CCVector4 *)&v; -#else - CCVector4 v = { { -vector.v[0], -vector.v[1], -vector.v[2], -vector.v[3] } }; - return v; -#endif - } - - static inline CCVector4 CCVector4Add(CCVector4 vectorLeft, CCVector4 vectorRight) - { -#if defined(__ARM_NEON__) - float32x4_t v = vaddq_f32(*(float32x4_t *)&vectorLeft, - *(float32x4_t *)&vectorRight); - return *(CCVector4 *)&v; -#else - CCVector4 v = { { vectorLeft.v[0] + vectorRight.v[0], - vectorLeft.v[1] + vectorRight.v[1], - vectorLeft.v[2] + vectorRight.v[2], - vectorLeft.v[3] + vectorRight.v[3] } }; - return v; -#endif - } - - static inline CCVector4 CCVector4Subtract(CCVector4 vectorLeft, CCVector4 vectorRight) - { -#if defined(__ARM_NEON__) - float32x4_t v = vsubq_f32(*(float32x4_t *)&vectorLeft, - *(float32x4_t *)&vectorRight); - return *(CCVector4 *)&v; -#else - CCVector4 v = { { vectorLeft.v[0] - vectorRight.v[0], - vectorLeft.v[1] - vectorRight.v[1], - vectorLeft.v[2] - vectorRight.v[2], - vectorLeft.v[3] - vectorRight.v[3] } }; - return v; -#endif - } - - static inline CCVector4 CCVector4Multiply(CCVector4 vectorLeft, CCVector4 vectorRight) - { -#if defined(__ARM_NEON__) - float32x4_t v = vmulq_f32(*(float32x4_t *)&vectorLeft, - *(float32x4_t *)&vectorRight); - return *(CCVector4 *)&v; -#else - CCVector4 v = { { vectorLeft.v[0] * vectorRight.v[0], - vectorLeft.v[1] * vectorRight.v[1], - vectorLeft.v[2] * vectorRight.v[2], - vectorLeft.v[3] * vectorRight.v[3] } }; - return v; -#endif - } - - static inline CCVector4 CCVector4Divide(CCVector4 vectorLeft, CCVector4 vectorRight) - { -#if defined(__ARM_NEON__) - float32x4_t *vLeft = (float32x4_t *)&vectorLeft; - float32x4_t *vRight = (float32x4_t *)&vectorRight; - float32x4_t estimate = vrecpeq_f32(*vRight); - estimate = vmulq_f32(vrecpsq_f32(*vRight, estimate), estimate); - estimate = vmulq_f32(vrecpsq_f32(*vRight, estimate), estimate); - float32x4_t v = vmulq_f32(*vLeft, estimate); - return *(CCVector4 *)&v; -#else - CCVector4 v = { { vectorLeft.v[0] / vectorRight.v[0], - vectorLeft.v[1] / vectorRight.v[1], - vectorLeft.v[2] / vectorRight.v[2], - vectorLeft.v[3] / vectorRight.v[3] } }; - return v; -#endif - } - - static inline CCVector4 CCVector4AddScalar(CCVector4 vector, float value) - { -#if defined(__ARM_NEON__) - float32x4_t v = vaddq_f32(*(float32x4_t *)&vector, - vdupq_n_f32((float32_t)value)); - return *(CCVector4 *)&v; -#else - CCVector4 v = { { vector.v[0] + value, - vector.v[1] + value, - vector.v[2] + value, - vector.v[3] + value } }; - return v; -#endif - } - - static inline CCVector4 CCVector4SubtractScalar(CCVector4 vector, float value) - { -#if defined(__ARM_NEON__) - float32x4_t v = vsubq_f32(*(float32x4_t *)&vector, - vdupq_n_f32((float32_t)value)); - return *(CCVector4 *)&v; -#else - CCVector4 v = { { vector.v[0] - value, - vector.v[1] - value, - vector.v[2] - value, - vector.v[3] - value } }; - return v; -#endif - } - - static inline CCVector4 CCVector4MultiplyScalar(CCVector4 vector, float value) - { -#if defined(__ARM_NEON__) - float32x4_t v = vmulq_f32(*(float32x4_t *)&vector, - vdupq_n_f32((float32_t)value)); - return *(CCVector4 *)&v; -#else - CCVector4 v = { { vector.v[0] * value, - vector.v[1] * value, - vector.v[2] * value, - vector.v[3] * value } }; - return v; -#endif - } - - static inline CCVector4 CCVector4DivideScalar(CCVector4 vector, float value) - { -#if defined(__ARM_NEON__) - float32x4_t values = vdupq_n_f32((float32_t)value); - float32x4_t estimate = vrecpeq_f32(values); - estimate = vmulq_f32(vrecpsq_f32(values, estimate), estimate); - estimate = vmulq_f32(vrecpsq_f32(values, estimate), estimate); - float32x4_t v = vmulq_f32(*(float32x4_t *)&vector, estimate); - return *(CCVector4 *)&v; -#else - CCVector4 v = { { vector.v[0] / value, - vector.v[1] / value, - vector.v[2] / value, - vector.v[3] / value } }; - return v; -#endif - } - - /* - Returns a vector whose elements are the larger of the corresponding elements of the vector arguments. - */ - static inline CCVector4 CCVector4Maximum(CCVector4 vectorLeft, CCVector4 vectorRight) - { -#if defined(__ARM_NEON__) - float32x4_t v = vmaxq_f32(*(float32x4_t *)&vectorLeft, - *(float32x4_t *)&vectorRight); - return *(CCVector4 *)&v; -#else - CCVector4 max = vectorLeft; - if (vectorRight.v[0] > vectorLeft.v[0]) - max.v[0] = vectorRight.v[0]; - if (vectorRight.v[1] > vectorLeft.v[1]) - max.v[1] = vectorRight.v[1]; - if (vectorRight.v[2] > vectorLeft.v[2]) - max.v[2] = vectorRight.v[2]; - if (vectorRight.v[3] > vectorLeft.v[3]) - max.v[3] = vectorRight.v[3]; - return max; -#endif - } - - /* - Returns a vector whose elements are the smaller of the corresponding elements of the vector arguments. - */ - static inline CCVector4 CCVector4Minimum(CCVector4 vectorLeft, CCVector4 vectorRight) - { -#if defined(__ARM_NEON__) - float32x4_t v = vminq_f32(*(float32x4_t *)&vectorLeft, - *(float32x4_t *)&vectorRight); - return *(CCVector4 *)&v; -#else - CCVector4 min = vectorLeft; - if (vectorRight.v[0] < vectorLeft.v[0]) - min.v[0] = vectorRight.v[0]; - if (vectorRight.v[1] < vectorLeft.v[1]) - min.v[1] = vectorRight.v[1]; - if (vectorRight.v[2] < vectorLeft.v[2]) - min.v[2] = vectorRight.v[2]; - if (vectorRight.v[3] < vectorLeft.v[3]) - min.v[3] = vectorRight.v[3]; - return min; -#endif - } - - /* - Returns true if all of the first vector's elements are equal to all of the second vector's arguments. - */ - static inline bool CCVector4AllEqualToVector4(CCVector4 vectorLeft, CCVector4 vectorRight) - { -#if defined(__ARM_NEON_) - float32x4_t v1 = *(float32x4_t *)&vectorLeft; - float32x4_t v2 = *(float32x4_t *)&vectorRight; - uint32x4_t vCmp = vceqq_f32(v1, v2); - uint32x2_t vAnd = vand_u32(vget_low_u32(vCmp), vget_high_u32(vCmp)); - vAnd = vand_u32(vAnd, vext_u32(vAnd, vAnd, 1)); - vAnd = vand_u32(vAnd, vdup_n_u32(1)); - return (bool)vget_lane_u32(vAnd, 0); -#else - bool compare = false; - if (vectorLeft.v[0] == vectorRight.v[0] && - vectorLeft.v[1] == vectorRight.v[1] && - vectorLeft.v[2] == vectorRight.v[2] && - vectorLeft.v[3] == vectorRight.v[3]) - compare = true; - return compare; -#endif - } - - /* - Returns true if all of the vector's elements are equal to the provided value. - */ - static inline bool CCVector4AllEqualToScalar(CCVector4 vector, float value) - { -#if defined(__ARM_NEON_) - float32x4_t v1 = *(float32x4_t *)&vector; - float32x4_t v2 = vdupq_n_f32(value); - uint32x4_t vCmp = vceqq_f32(v1, v2); - uint32x2_t vAnd = vand_u32(vget_low_u32(vCmp), vget_high_u32(vCmp)); - vAnd = vand_u32(vAnd, vext_u32(vAnd, vAnd, 1)); - vAnd = vand_u32(vAnd, vdup_n_u32(1)); - return (bool)vget_lane_u32(vAnd, 0); -#else - bool compare = false; - if (vector.v[0] == value && - vector.v[1] == value && - vector.v[2] == value && - vector.v[3] == value) - compare = true; - return compare; -#endif - } - - /* - Returns true if all of the first vector's elements are greater than all of the second vector's arguments. - */ - static inline bool CCVector4AllGreaterThanVector4(CCVector4 vectorLeft, CCVector4 vectorRight) - { -#if defined(__ARM_NEON_) - float32x4_t v1 = *(float32x4_t *)&vectorLeft; - float32x4_t v2 = *(float32x4_t *)&vectorRight; - uint32x4_t vCmp = vcgtq_f32(v1, v2); - uint32x2_t vAnd = vand_u32(vget_low_u32(vCmp), vget_high_u32(vCmp)); - vAnd = vand_u32(vAnd, vext_u32(vAnd, vAnd, 1)); - vAnd = vand_u32(vAnd, vdup_n_u32(1)); - return (bool)vget_lane_u32(vAnd, 0); -#else - bool compare = false; - if (vectorLeft.v[0] > vectorRight.v[0] && - vectorLeft.v[1] > vectorRight.v[1] && - vectorLeft.v[2] > vectorRight.v[2] && - vectorLeft.v[3] > vectorRight.v[3]) - compare = true; - return compare; -#endif - } - - /* - Returns true if all of the vector's elements are greater than the provided value. - */ - static inline bool CCVector4AllGreaterThanScalar(CCVector4 vector, float value) - { -#if defined(__ARM_NEON_) - float32x4_t v1 = *(float32x4_t *)&vector; - float32x4_t v2 = vdupq_n_f32(value); - uint32x4_t vCmp = vcgtq_f32(v1, v2); - uint32x2_t vAnd = vand_u32(vget_low_u32(vCmp), vget_high_u32(vCmp)); - vAnd = vand_u32(vAnd, vext_u32(vAnd, vAnd, 1)); - vAnd = vand_u32(vAnd, vdup_n_u32(1)); - return (bool)vget_lane_u32(vAnd, 0); -#else - bool compare = false; - if (vector.v[0] > value && - vector.v[1] > value && - vector.v[2] > value && - vector.v[3] > value) - compare = true; - return compare; -#endif - } - - /* - Returns true if all of the first vector's elements are greater than or equal to all of the second vector's arguments. - */ - static inline bool CCVector4AllGreaterThanOrEqualToVector4(CCVector4 vectorLeft, CCVector4 vectorRight) - { -#if defined(__ARM_NEON_) - float32x4_t v1 = *(float32x4_t *)&vectorLeft; - float32x4_t v2 = *(float32x4_t *)&vectorRight; - uint32x4_t vCmp = vcgeq_f32(v1, v2); - uint32x2_t vAnd = vand_u32(vget_low_u32(vCmp), vget_high_u32(vCmp)); - vAnd = vand_u32(vAnd, vext_u32(vAnd, vAnd, 1)); - vAnd = vand_u32(vAnd, vdup_n_u32(1)); - return (bool)vget_lane_u32(vAnd, 0); -#else - bool compare = false; - if (vectorLeft.v[0] >= vectorRight.v[0] && - vectorLeft.v[1] >= vectorRight.v[1] && - vectorLeft.v[2] >= vectorRight.v[2] && - vectorLeft.v[3] >= vectorRight.v[3]) - compare = true; - return compare; -#endif - } - - /* - Returns true if all of the vector's elements are greater than or equal to the provided value. - */ - static inline bool CCVector4AllGreaterThanOrEqualToScalar(CCVector4 vector, float value) - { -#if defined(__ARM_NEON_) - float32x4_t v1 = *(float32x4_t *)&vector; - float32x4_t v2 = vdupq_n_f32(value); - uint32x4_t vCmp = vcgeq_f32(v1, v2); - uint32x2_t vAnd = vand_u32(vget_low_u32(vCmp), vget_high_u32(vCmp)); - vAnd = vand_u32(vAnd, vext_u32(vAnd, vAnd, 1)); - vAnd = vand_u32(vAnd, vdup_n_u32(1)); - return (bool)vget_lane_u32(vAnd, 0); -#else - bool compare = false; - if (vector.v[0] >= value && - vector.v[1] >= value && - vector.v[2] >= value && - vector.v[3] >= value) - compare = true; - return compare; -#endif - } - - static inline float CCVector4Length(CCVector4 vector) - { -#if defined(__ARM_NEON__) - float32x4_t v = vmulq_f32(*(float32x4_t *)&vector, - *(float32x4_t *)&vector); - float32x2_t v2 = vpadd_f32(vget_low_f32(v), vget_high_f32(v)); - v2 = vpadd_f32(v2, v2); - return sqrt(vget_lane_f32(v2, 0)); -#else - return sqrt(vector.v[0] * vector.v[0] + - vector.v[1] * vector.v[1] + - vector.v[2] * vector.v[2] + - vector.v[3] * vector.v[3]); -#endif - } - - static inline CCVector4 CCVector4Normalize(CCVector4 vector) - { - float scale = 1.0f / CCVector4Length(vector); - CCVector4 v = CCVector4MultiplyScalar(vector, scale); - return v; - } - - static inline float CCVector4DotProduct(CCVector4 vectorLeft, CCVector4 vectorRight) - { -#if defined(__ARM_NEON__) - float32x4_t v = vmulq_f32(*(float32x4_t *)&vectorLeft, - *(float32x4_t *)&vectorRight); - float32x2_t v2 = vpadd_f32(vget_low_f32(v), vget_high_f32(v)); - v2 = vpadd_f32(v2, v2); - return vget_lane_f32(v2, 0); -#else - return vectorLeft.v[0] * vectorRight.v[0] + - vectorLeft.v[1] * vectorRight.v[1] + - vectorLeft.v[2] * vectorRight.v[2] + - vectorLeft.v[3] * vectorRight.v[3]; -#endif - } - - static inline float CCVector4Distance(CCVector4 vectorStart, CCVector4 vectorEnd) - { - return CCVector4Length(CCVector4Subtract(vectorEnd, vectorStart)); - } - - static inline CCVector4 CCVector4Lerp(CCVector4 vectorStart, CCVector4 vectorEnd, float t) - { -#if defined(__ARM_NEON__) - float32x4_t vDiff = vsubq_f32(*(float32x4_t *)&vectorEnd, - *(float32x4_t *)&vectorStart); - vDiff = vmulq_f32(vDiff, vdupq_n_f32((float32_t)t)); - float32x4_t v = vaddq_f32(*(float32x4_t *)&vectorStart, vDiff); - return *(CCVector4 *)&v; -#else - CCVector4 v = { { vectorStart.v[0] + ((vectorEnd.v[0] - vectorStart.v[0]) * t), - vectorStart.v[1] + ((vectorEnd.v[1] - vectorStart.v[1]) * t), - vectorStart.v[2] + ((vectorEnd.v[2] - vectorStart.v[2]) * t), - vectorStart.v[3] + ((vectorEnd.v[3] - vectorStart.v[3]) * t) } }; - return v; -#endif - } - - /* - Performs a 3D cross product. The last component of the resulting cross product will be zeroed out. - */ - static inline CCVector4 CCVector4CrossProduct(CCVector4 vectorLeft, CCVector4 vectorRight) - { - CCVector4 v = { { vectorLeft.v[1] * vectorRight.v[2] - vectorLeft.v[2] * vectorRight.v[1], - vectorLeft.v[2] * vectorRight.v[0] - vectorLeft.v[0] * vectorRight.v[2], - vectorLeft.v[0] * vectorRight.v[1] - vectorLeft.v[1] * vectorRight.v[0], - 0.0f } }; - return v; - } - - /* - Project the vector, vectorToProject, onto the vector, projectionVector. - */ - static inline CCVector4 CCVector4Project(CCVector4 vectorToProject, CCVector4 projectionVector) - { - float scale = CCVector4DotProduct(projectionVector, vectorToProject) / CCVector4DotProduct(projectionVector, projectionVector); - CCVector4 v = CCVector4MultiplyScalar(projectionVector, scale); - return v; - } - -#ifdef __cplusplus -} -#endif - -#define GLKVector4Make CCVector4Make -#define GLKVector4MakeWithArray CCVector4MakeWithArray -#define GLKVector4Negate CCVector4Negate -#define GLKVector4Add CCVector4Add -#define GLKVector4Subtract CCVector4Subtract -#define GLKVector4Multiply CCVector4Multiply -#define GLKVector4Divide CCVector4Divide -#define GLKVector4AddScalar CCVector4AddScalar -#define GLKVector4SubtractScalar CCVector4SubtractScalar -#define GLKVector4MultiplyScalar CCVector4MultiplyScalar -#define GLKVector4DivideScalar CCVector4DivideScalar -#define GLKVector4Maximum CCVector4Maximum -#define GLKVector4Minimum CCVector4Minimum -#define GLKVector4AllEqualToVector2 CCVector4AllEqualToVector2 -#define GLKVector4AllEqualToScalar CCVector4AllEqualToScalar -#define GLKVector4AllGreaterThanVector2 CCVector4AllGreaterThanVector2 -#define GLKVector4AllGreaterThanScalar CCVector4AllGreaterThanScalar -#define GLKVector4AllGreaterThanOrEqualToVector2 CCVector4AllGreaterThanOrEqualToVector2 -#define GLKVector4AllGreaterThanOrEqualToScalar CCVector4AllGreaterThanOrEqualToScalar -#define GLKVector4Length CCVector4Length -#define GLKVector4Normalize CCVector4Normalize -#define GLKVector4DotProduct CCVector4DotProduct -#define GLKVector4Distance GLKVect -#define GLKVector4Lerp CCVector4Lerp -#define GLKVector4Project CCVector4Project -#define GLKVector4CrossProduct CCVector4CrossProduct - -#endif /* __CC_VECTOR_4_H */ - -#endif - diff --git a/cocos2d/Platforms/Android/java/org/cocos2d/CCActivity.java b/cocos2d/Platforms/Android/java/org/cocos2d/CCActivity.java deleted file mode 100644 index 94ba002b62f..00000000000 --- a/cocos2d/Platforms/Android/java/org/cocos2d/CCActivity.java +++ /dev/null @@ -1,47 +0,0 @@ -package org.cocos2d; - -import android.app.Activity; - -import android.os.Bundle; -import com.apportable.RuntimeService; -import android.os.Handler; -import android.os.Looper; -import android.os.Message; -import android.os.MessageQueue; -import android.os.MessageQueue.IdleHandler; -import android.view.KeyEvent; -import android.view.SurfaceView; -import android.view.SurfaceHolder; -import android.view.WindowManager; -import java.util.TimerTask; - -import android.util.Log; - -public class CCActivity extends Activity implements SurfaceHolder.Callback, Runnable { - private Handler mHandler; - - @Override - protected void onCreate(final Bundle savedInstanceState) { - super.onCreate(savedInstanceState); - new RuntimeService(this).loadLibraries(); - getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); - run(); - } - - public native void runLoop(); - public native void run(); - - public native void onDestroy(); - public native void onResume(); - public native void onPause(); - - public native void onLowMemory(); - - public native void surfaceCreated(SurfaceHolder holder); - public native void surfaceChanged(SurfaceHolder holder, int format, int width, int height); - public native void surfaceDestroyed(SurfaceHolder holder); - - public native boolean onKeyDown(int keyCode, KeyEvent event); - public native boolean onKeyUp(int keyCode, KeyEvent event); -} - diff --git a/cocos2d/Platforms/Android/java/org/cocos2d/CCGestureListener.java b/cocos2d/Platforms/Android/java/org/cocos2d/CCGestureListener.java deleted file mode 100644 index 56220b0ed06..00000000000 --- a/cocos2d/Platforms/Android/java/org/cocos2d/CCGestureListener.java +++ /dev/null @@ -1,26 +0,0 @@ -package org.cocos2d; - -import android.view.GestureDetector; -import android.view.MotionEvent; - -public class CCGestureListener extends GestureDetector.SimpleOnGestureListener { - - public CCGestureListener() { - super(); - } - - @Override - public native boolean onDoubleTap(MotionEvent e); - - @Override - public native boolean onDown(MotionEvent e); - - @Override - public native boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX, float velocityY); - - @Override - public native void onLongPress(MotionEvent e); - - @Override - public native boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX, float distanceY); -} \ No newline at end of file diff --git a/cocos2d/Platforms/CCGL.h b/cocos2d/Platforms/CCGL.h index 81563d01496..c1b1555bd3a 100644 --- a/cocos2d/Platforms/CCGL.h +++ b/cocos2d/Platforms/CCGL.h @@ -41,12 +41,6 @@ #import // needed for NSOpenGLView #import "Mac/CCGLView.h" -#elif __CC_PLATFORM_ANDROID -#define GL_GLEXT_PROTOTYPES 1 -#include // requires ndk r5 or newer -#include -#include -#import "Android/CCGLView.h" #endif #if DEBUG @@ -98,7 +92,7 @@ __attribute__((deprecated)) static const GLenum CC_BLEND_DST = GL_ONE_MINUS_SRC_ // iOS -#if __CC_PLATFORM_IOS || __CC_PLATFORM_ANDROID +#if __CC_PLATFORM_IOS #define glClearDepth glClearDepthf #define glDeleteVertexArrays glDeleteVertexArraysOES #define glGenVertexArrays glGenVertexArraysOES diff --git a/cocos2d/Platforms/CCNS.h b/cocos2d/Platforms/CCNS.h index 16d591f2c88..0456e23dd0a 100644 --- a/cocos2d/Platforms/CCNS.h +++ b/cocos2d/Platforms/CCNS.h @@ -41,9 +41,8 @@ //#define CCNSRectToCGRect //#define CCNSPointToCGPoint -//#elif __CC_PLATFORM_ANDROID -#if __CC_PLATFORM_ANDROID || __CC_PLATFORM_IOS +#if __CC_PLATFORM_IOS #if 1 //#ifndef __CC_CG_STRING_UTILS diff --git a/cocos2d/Platforms/Mac/CCDirectorMac.m b/cocos2d/Platforms/Mac/CCDirectorMac.m index 22b6ec3dc67..448257d558e 100644 --- a/cocos2d/Platforms/Mac/CCDirectorMac.m +++ b/cocos2d/Platforms/Mac/CCDirectorMac.m @@ -41,8 +41,6 @@ #import "../../CCShader.h" #import "../../ccFPSImages.h" - -#import "CCDirector_Private.h" #import "CCRenderer_Private.h" #import "CCRenderDispatch.h" diff --git a/cocos2d/Platforms/Mac/CCGLView.m b/cocos2d/Platforms/Mac/CCGLView.m index 9bb6d3dff25..10776aa9295 100644 --- a/cocos2d/Platforms/Mac/CCGLView.m +++ b/cocos2d/Platforms/Mac/CCGLView.m @@ -39,9 +39,6 @@ #import "../../ccConfig.h" #import "../../ccMacros.h" -#import "CCDirector_Private.h" - - @interface CCGLViewFence : NSObject /// Is the fence ready to be inserted? diff --git a/cocos2d/Platforms/iOS/CCAppDelegate.h b/cocos2d/Platforms/iOS/CCAppDelegate.h index bb6d8e94f3c..a0cc24cf13f 100644 --- a/cocos2d/Platforms/iOS/CCAppDelegate.h +++ b/cocos2d/Platforms/iOS/CCAppDelegate.h @@ -72,17 +72,6 @@ */ @property (atomic, readonly) CCNavigationController *navController; -// ----------------------------------------------------------------------- -/** @name Creating the Start Scene */ -// ----------------------------------------------------------------------- - -/** - * Override this method to return the very first scene that Cocos2D should present. - * - * @return The first scene of your app. It will be presented automatically. - */ -- (CCScene*) startScene; - // ----------------------------------------------------------------------- /** @name Cocos2d Setup */ // ----------------------------------------------------------------------- @@ -101,7 +90,7 @@ * - `CCSetupFixedUpdateInterval`: NSNumber with double. Specifies the desired interval between fixed updates. Should be smaller than `CCSetupAnimationInterval`. Defaults to `1.0/60.0` (60 Hz). * - `CCSetupShowDebugStats`: NSNumber with bool. Specifies if the stats (FPS, frame time and draw call count) should be rendered. Defaults to NO. * - `CCSetupTabletScale2X`: NSNumber with bool. If true, the iPad will be setup to act like it has a 512x384 points "logical" screen size with a "Retina" pixel resolution of 1024x768. - * This makes it much easier to make universal iOS games. This is the default mode for SpriteBuilder projects. This value is ignored when using the fixed screen mode. + * This makes it much easier to make universal iOS games. This is the default mode for CocosBuilder projects. This value is ignored when using the fixed screen mode. * * - `CCSetupDepthFormat`: NSNumber with integer. Specifies the desired depth buffer format. Values are 0 (no depth buffering), `GL_DEPTH24_STENCIL8_OES` (8-Bit depth buffer) and `GL_DEPTH_COMPONENT24_OES` (24-bit depth buffer). * Depth buffering is only needed in rare cases and comes at the expense of performance and additional memory usage. diff --git a/cocos2d/Platforms/iOS/CCAppDelegate.m b/cocos2d/Platforms/iOS/CCAppDelegate.m index 1ecea621aab..fe5ae3e4718 100644 --- a/cocos2d/Platforms/iOS/CCAppDelegate.m +++ b/cocos2d/Platforms/iOS/CCAppDelegate.m @@ -29,12 +29,11 @@ #import "CCAppDelegate.h" #import "CCTexture.h" #import "CCFileUtils.h" -#import "CCDirector_Private.h" +#import "CCDirector.h" +#import "CCConfiguration.h" #import "CCScheduler.h" #import "CCGLView.h" -#import "OALSimpleAudio.h" - #if __CC_METAL_SUPPORTED_AND_ENABLED #import "CCMetalView.h" #endif @@ -110,11 +109,7 @@ -(GLKMatrix4)updateProjection // This is not needed on iOS6 and could be added to the application:didFinish... -(void) directorDidReshapeProjection:(CCDirector*)director { - if(director.runningScene == nil) { - // Add the first scene to the stack. The director will draw it immediately into the framebuffer. (Animation is started automatically when the view is displayed.) - // and add the scene to the stack. The director will run it when it automatically when the view is displayed. - [director runWithScene: [_appDelegate startScene]]; - } + [director drawScene]; } @end @@ -123,16 +118,12 @@ @implementation CCAppDelegate @synthesize window=window_, navController=navController_; +#if !defined(__TV_OS_VERSION_MAX_ALLOWED) - (UIInterfaceOrientationMask)application:(UIApplication *)application supportedInterfaceOrientationsForWindow:(UIWindow *)window { return UIInterfaceOrientationMaskAll; } - -- (CCScene*) startScene -{ - NSAssert(NO, @"Override CCAppDelegate and implement the startScene method"); - return NULL; -} +#endif static CGFloat FindPOTScale(CGFloat size, CGFloat fixedSize) @@ -187,8 +178,6 @@ - (void) setupCocos2dWithOptions:(NSDictionary*)config CCDirectorIOS* director = (CCDirectorIOS*) [CCDirector sharedDirector]; - director.wantsFullScreenLayout = YES; - // Display FSP and SPF [director setDisplayStats:[config[CCSetupShowDebugStats] boolValue]]; @@ -211,9 +200,6 @@ - (void) setupCocos2dWithOptions:(NSDictionary*)config // It can be RGBA8888, RGBA4444, RGB5_A1, RGB565 // You can change this setting at any time. [CCTexture setDefaultAlphaPixelFormat:CCTexturePixelFormat_RGBA8888]; - - // Initialise OpenAL - [OALSimpleAudio sharedInstance]; // Create a Navigation Controller with the Director navController_ = [[CCNavigationController alloc] initWithRootViewController:director]; @@ -276,7 +262,7 @@ - (void)setupFixedScreenMode:(NSDictionary *)config director:(CCDirectorIOS *)di // iOS8 hack around orientation bug -(void)forceOrientation { -#if __CC_PLATFORM_IOS && defined(__IPHONE_8_0) && __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_8_0 +#if __CC_PLATFORM_IOS && defined(__IPHONE_8_0) && __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_8_0 && !defined(__TV_OS_VERSION_MAX_ALLOWED) if([navController_.screenOrientation isEqual:CCScreenOrientationAll]) { [[UIApplication sharedApplication] setStatusBarOrientation:UIInterfaceOrientationUnknown]; diff --git a/cocos2d/Platforms/iOS/CCDirectorIOS.m b/cocos2d/Platforms/iOS/CCDirectorIOS.m index ff8302c715c..2d06ae3b20c 100644 --- a/cocos2d/Platforms/iOS/CCDirectorIOS.m +++ b/cocos2d/Platforms/iOS/CCDirectorIOS.m @@ -43,7 +43,6 @@ #import "../../ccFPSImages.h" #import "../../CCConfiguration.h" #import "CCRenderer_Private.h" -#import "CCTouch.h" #import "CCRenderDispatch_Private.h" // support imports @@ -54,8 +53,6 @@ #import "../../Support/CCProfiling.h" #endif -#import "CCDirector_Private.h" - #pragma mark - #pragma mark Director @@ -150,9 +147,6 @@ - (void)runWithScene:(CCScene*) scene NSAssert(_runningScene == nil, @"This command can only be used to start the CCDirector. There is already a scene present."); [self pushScene:scene]; - - NSThread *thread = [self runningThread]; - [self performSelector:@selector(drawScene) onThread:thread withObject:nil waitUntilDone:YES]; } -(void) reshapeProjection:(CGSize)newViewSize @@ -191,6 +185,7 @@ -(void) setView:(CC_VIEW *)view } } +#if !defined(__TV_OS_VERSION_MAX_ALLOWED) // Override to allow orientations other than the default portrait orientation. - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation { @@ -200,6 +195,7 @@ - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interface return ret; } +#endif // Commented. See issue #1453 for further info: http://code.google.com/p/cocos2d-iphone/issues/detail?id=1453 //-(void)willRotateToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation duration:(NSTimeInterval)duration diff --git a/cocos2d/Platforms/iOS/CCGLView.h b/cocos2d/Platforms/iOS/CCGLView.h index d912281b634..be72dae11f0 100644 --- a/cocos2d/Platforms/iOS/CCGLView.h +++ b/cocos2d/Platforms/iOS/CCGLView.h @@ -90,7 +90,7 @@ Copyright (C) 2008 Apple Inc. All Rights Reserved. underneath the CCGLView. @note Setting the view non-opaque will only work if the pixelFormat is also set to `kEAGLColorFormatRGBA8` upon initialization. - @note This documentation is for the iOS version of the class. OS X and Android use specific variants of CCGLView which + @note This documentation is for the iOS version of the class. OS X use specific variants of CCGLView which inherit from other base classes (ie NSOpenGLView on OS X). Parameters: diff --git a/cocos2d/Platforms/iOS/CCGLView.m b/cocos2d/Platforms/iOS/CCGLView.m index c768439f0c8..997b3349a95 100644 --- a/cocos2d/Platforms/iOS/CCGLView.m +++ b/cocos2d/Platforms/iOS/CCGLView.m @@ -77,10 +77,7 @@ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE #import "../../ccMacros.h" #import "../../CCConfiguration.h" #import "CCScene.h" -#import "CCTouch.h" -#import "CCTouchEvent.h" -#import "CCDirector_Private.h" #import "CCRenderDispatch.h" @@ -152,7 +149,6 @@ -(BOOL)isComplete @end @implementation CCGLView { - CCTouchEvent* _touchEvent; NSMutableArray *_fences; EAGLContext *_context; @@ -230,12 +226,11 @@ - (id) initWithFrame:(CGRect)frame pixelFormat:(NSString*)format depthFormat:(GL if( ! [self setupSurfaceWithSharegroup:sharegroup] ) { return nil; } - +#if !defined(__TV_OS_VERSION_MAX_ALLOWED) /** Multiple touch default enabled */ self.multipleTouchEnabled = YES; - - _touchEvent = [[CCTouchEvent alloc] init]; +#endif } return self; @@ -406,7 +401,9 @@ -(void)addFrameCompletionHandler:(dispatch_block_t)handler [fence.handlers addObject:handler]; } --(void)beginFrame {} +-(void)beginFrame { + [EAGLContext setCurrentContext:self.context]; +} -(void)presentFrame { @@ -483,31 +480,23 @@ -(GLenum)convertPixelFormat:(NSString*)pixelFormat - (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event { - _touchEvent.timestamp = event.timestamp; - [_touchEvent updateTouchesBegan:touches]; - [[CCDirector sharedDirector].responderManager touchesBegan:_touchEvent.currentTouches withEvent:_touchEvent]; + [[CCDirector sharedDirector].responderManager touchesBegan:touches withEvent:event]; } - (void)touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event { - _touchEvent.timestamp = event.timestamp; - [_touchEvent updateTouchesMoved:touches]; - [[CCDirector sharedDirector].responderManager touchesMoved:_touchEvent.currentTouches withEvent:_touchEvent]; + [[CCDirector sharedDirector].responderManager touchesMoved:touches withEvent:event]; } - (void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event { - _touchEvent.timestamp = event.timestamp; - [_touchEvent updateTouchesEnded:touches]; - [[CCDirector sharedDirector].responderManager touchesEnded:_touchEvent.currentTouches withEvent:_touchEvent]; + [[CCDirector sharedDirector].responderManager touchesEnded:touches withEvent:event]; } - (void)touchesCancelled:(NSSet *)touches withEvent:(UIEvent *)event { - _touchEvent.timestamp = event.timestamp; - [_touchEvent updateTouchesCancelled:touches]; - [[CCDirector sharedDirector].responderManager touchesCancelled:_touchEvent.currentTouches withEvent:_touchEvent]; + [[CCDirector sharedDirector].responderManager touchesCancelled:touches withEvent:event]; } @end diff --git a/cocos2d/Platforms/iOS/CCMetalSupport.m b/cocos2d/Platforms/iOS/CCMetalSupport.m index 28ffafa5a01..2fbaf44695e 100644 --- a/cocos2d/Platforms/iOS/CCMetalSupport.m +++ b/cocos2d/Platforms/iOS/CCMetalSupport.m @@ -27,8 +27,7 @@ #if __CC_METAL_SUPPORTED_AND_ENABLED #import "CCMetalView.h" -#import "CCTexture_Private.h" -#import "CCShader_Private.h" +#import "CCTexture.h" @implementation CCMetalContext { id _destinationTexture; diff --git a/cocos2d/Platforms/iOS/CCMetalView.m b/cocos2d/Platforms/iOS/CCMetalView.m index 53a5e5f06a5..44c82ac827e 100644 --- a/cocos2d/Platforms/iOS/CCMetalView.m +++ b/cocos2d/Platforms/iOS/CCMetalView.m @@ -11,7 +11,6 @@ #import "../../CCConfiguration.h" #import "CCScene.h" -#import "CCDirector_Private.h" #import "CCMetalSupport_Private.h" diff --git a/cocos2d/Platforms/iOS/CCTouchIOS.h b/cocos2d/Platforms/iOS/CCTouchIOS.h deleted file mode 100644 index 31ef12abaec..00000000000 --- a/cocos2d/Platforms/iOS/CCTouchIOS.h +++ /dev/null @@ -1,20 +0,0 @@ -// -// CCTouchIOS.h -// cocos2d-ios -// -// Created by Oleg Osin on 6/13/14. -// -// - -#import "CCTouch.h" - -#if __CC_PLATFORM_IOS - -@interface CCTouchIOS : CCTouch - -- (CGPoint)locationInView:(CCGLView *)view; -- (CGPoint)previousLocationInView:(CCGLView *)view; - -@end - -#endif diff --git a/cocos2d/Platforms/iOS/CCTouchIOS.m b/cocos2d/Platforms/iOS/CCTouchIOS.m deleted file mode 100644 index 26236b528da..00000000000 --- a/cocos2d/Platforms/iOS/CCTouchIOS.m +++ /dev/null @@ -1,30 +0,0 @@ -// -// CCTouchIOS.m -// cocos2d-ios -// -// Created by Oleg Osin on 6/13/14. -// -// - -#import "CCTouchIOS.h" -#import "cocos2d.h" -#import "CCTouch.h" -#import "CCDirector.h" - -#if __CC_PLATFORM_IOS - -@implementation CCTouchIOS - -- (CGPoint)locationInView:(CCGLView *)view -{ - return [self.uiTouch locationInView:view]; -} - -- (CGPoint)previousLocationInView:(CCGLView *)view -{ - return [self.uiTouch previousLocationInView:view]; -} - -@end - -#endif diff --git a/cocos2d/Platforms/iOS/UITouch+CC.h b/cocos2d/Platforms/iOS/UITouch+CC.h index 717789f5def..5e9eb78f258 100644 --- a/cocos2d/Platforms/iOS/UITouch+CC.h +++ b/cocos2d/Platforms/iOS/UITouch+CC.h @@ -31,7 +31,7 @@ #import "cocos2d.h" #import -@interface PlatformTouch (CC) +@interface UITouch (CC) - (CGPoint) locationInNode:(CCNode*) node; - (CGPoint) locationInWorld; diff --git a/cocos2d/Platforms/iOS/UITouch+CC.m b/cocos2d/Platforms/iOS/UITouch+CC.m index b5a7ca2d3c3..ec5e4c97183 100644 --- a/cocos2d/Platforms/iOS/UITouch+CC.m +++ b/cocos2d/Platforms/iOS/UITouch+CC.m @@ -29,7 +29,7 @@ #import "UITouch+CC.h" -@implementation PlatformTouch (CC) +@implementation UITouch (CC) - (CGPoint) locationInNode:(CCNode*) node { diff --git a/cocos2d/Support/CCFileUtils.h b/cocos2d/Support/CCFileUtils.h index 1d82620881f..e4e9eef7b95 100644 --- a/cocos2d/Support/CCFileUtils.h +++ b/cocos2d/Support/CCFileUtils.h @@ -181,7 +181,7 @@ typedef NS_ENUM(NSUInteger, CCFileUtilsSearchMode) { */ @property (nonatomic, readwrite, copy) NSMutableDictionary *filenameLookup; -#if __CC_PLATFORM_IOS || __CC_PLATFORM_ANDROID +#if __CC_PLATFORM_IOS /** The iPhone RetinaDisplay suffixes to load resources. By default it is "-hd" and "" in that order. @@ -343,7 +343,6 @@ typedef NS_ENUM(NSUInteger, CCFileUtilsSearchMode) { * you might need to load differerent resources for a given file in the different platforms. * Examples: * - In iPad mode: "image.png" -> "image.pvr" -> "/full/path/image-ipad.pvr" (in case the -ipad file exists) - * - In Android: "image.png" -> "image.png" -> "/full/path/image.png" * * @param filename Filename to get full path for. * @@ -366,7 +365,6 @@ typedef NS_ENUM(NSUInteger, CCFileUtilsSearchMode) { * you might need to load differerent resources for a given file in the different platforms. * Examples: * - In iPad mode: "image.png" -> "image.pvr" -> "/full/path/image-ipad.pvr" (in case the -ipad file exists) - * - In Android: "image.png" -> "image.png" -> "/full/path/image.png" * * @param filename Filename to get full path for. * @param contentScale scale factor @@ -389,7 +387,6 @@ typedef NS_ENUM(NSUInteger, CCFileUtilsSearchMode) { * you might need to load differerent resources for a given file in the different platforms. * Examples: * - On iOS: "sound.wav" -> "sound.caf" -> "/full/path/sound.caf" (in case the key dictionary says that "sound.wav" should be converted to "sound.caf") - * - On Android: "sound.wav" -> "sound.wav" -> "/full/path/sound.caf" (in case the key dictionary says that "sound.wav" should be converted to "sound.caf") * * @param key Key to get full path for. * diff --git a/cocos2d/Support/CCFileUtils.m b/cocos2d/Support/CCFileUtils.m index 626c323917d..73cf66dc868 100644 --- a/cocos2d/Support/CCFileUtils.m +++ b/cocos2d/Support/CCFileUtils.m @@ -155,7 +155,7 @@ -(id) init _filenameLookup = [[NSMutableDictionary alloc] initWithCapacity:10]; -#if __CC_PLATFORM_IOS || __CC_PLATFORM_ANDROID +#if __CC_PLATFORM_IOS _suffixesDict = [[NSMutableDictionary alloc] initWithObjectsAndKeys: @"-ipad", CCFileUtilsSuffixiPad, @"-ipadhd", CCFileUtilsSuffixiPadHD, @@ -217,7 +217,7 @@ - (void) buildSearchResolutionsOrder NSInteger device = [[CCConfiguration sharedConfiguration] runningDevice]; [_searchResolutionsOrder removeAllObjects]; -#if __CC_PLATFORM_IOS || __CC_PLATFORM_ANDROID +#if __CC_PLATFORM_IOS if (device == CCDeviceiPadRetinaDisplay) { [_searchResolutionsOrder addObject:CCFileUtilsSuffixiPadHD]; @@ -399,7 +399,7 @@ -(CGFloat) contentScaleForKey:(NSString*)k inDictionary:(NSDictionary *)dictiona NSString *value = [dictionary objectForKey:key]; if( [value isEqualToString:k] ) { -#if __CC_PLATFORM_IOS || __CC_PLATFORM_ANDROID +#if __CC_PLATFORM_IOS // XXX Add this in a Dictionary if( [key isEqualToString:CCFileUtilsSuffixiPad] ) return 1.0*_iPadContentScaleFactor; @@ -685,7 +685,7 @@ -(void) setEnableiPhoneResourcesOniPad:(BOOL)enable } } -#if __CC_PLATFORM_IOS || __CC_PLATFORM_ANDROID +#if __CC_PLATFORM_IOS -(void) setiPadRetinaDisplaySuffix:(NSString *)suffix { diff --git a/cocos2d/Support/CGPointExtension.h b/cocos2d/Support/CGPointExtension.h index 412bed8bc16..03a67707163 100644 --- a/cocos2d/Support/CGPointExtension.h +++ b/cocos2d/Support/CGPointExtension.h @@ -46,7 +46,7 @@ #import "ccMacros.h" -#if __CC_PLATFORM_IOS || __CC_PLATFORM_ANDROID +#if __CC_PLATFORM_IOS #import #elif __CC_PLATFORM_MAC #import @@ -330,6 +330,8 @@ BOOL ccpSegmentIntersect(CGPoint A, CGPoint B, CGPoint C, CGPoint D); */ CGPoint ccpIntersectPoint(CGPoint A, CGPoint B, CGPoint C, CGPoint D); + +#if !__CC_PLATFORM_IOS @interface NSValue (CCValue) + (NSValue *)valueWithCGPoint:(CGPoint)point; @@ -343,6 +345,7 @@ CGPoint ccpIntersectPoint(CGPoint A, CGPoint B, CGPoint C, CGPoint D); - (CGAffineTransform)CGAffineTransformValue; @end +#endif #ifdef __cplusplus } diff --git a/cocos2d/Support/CGPointExtension.m b/cocos2d/Support/CGPointExtension.m index 291459138a9..63f9a7350ae 100644 --- a/cocos2d/Support/CGPointExtension.m +++ b/cocos2d/Support/CGPointExtension.m @@ -160,6 +160,7 @@ float ccpAngle(CGPoint a, CGPoint b) return angle; } +#if !__CC_PLATFORM_IOS @implementation NSValue (CCValue) + (NSValue *)valueWithCGPoint:(CGPoint)point @@ -212,4 +213,5 @@ - (CGAffineTransform)CGAffineTransformValue @end +#endif diff --git a/cocos2d/Support/NSAttributedString+CCAdditions.m b/cocos2d/Support/NSAttributedString+CCAdditions.m index abf91743243..ece14f4be6e 100644 --- a/cocos2d/Support/NSAttributedString+CCAdditions.m +++ b/cocos2d/Support/NSAttributedString+CCAdditions.m @@ -77,7 +77,7 @@ BOOL NSAttributedStringHasAttribute(NSAttributedString *attrString, NSString*att CGFloat scale = [CCDirector sharedDirector].contentScaleFactor; -#if __CC_PLATFORM_IOS || __CC_PLATFORM_ANDROID +#if __CC_PLATFORM_IOS // Update font size [copy enumerateAttribute:(id)kCTFontAttributeName inRange:fullRange options:0 usingBlock:^(id value, NSRange range, BOOL* stop){ @@ -108,20 +108,6 @@ BOOL NSAttributedStringHasAttribute(NSAttributedString *attrString, NSString*att } }]; #endif -#if 0 /*__CC_PLATFORM_ANDROID_FIXME*/ - // Update shadows - [copy enumerateAttribute:NSShadowAttributeName inRange:fullRange options:0 usingBlock:^(id value, NSRange range, BOOL* stop){ - if (value) - { - NSShadow* shadow = value; - [copy removeAttribute:NSShadowAttributeName range:range]; - shadow.shadowBlurRadius = shadow.shadowBlurRadius * scale; - CGSize offset = shadow.shadowOffset; - shadow.shadowOffset = CGSizeMake(offset.width * scale, offset.height * scale); - [copy addAttribute:NSShadowAttributeName value:shadow range:range]; - } - }]; -#endif return copy; } @@ -130,7 +116,7 @@ float NSAttributedStringSingleFontSize(NSAttributedString *attrString){ __block BOOL foundValue = NO; __block BOOL singleValue = YES; __block float fontSize = 0; -#if __CC_PLATFORM_IOS || __CC_PLATFORM_ANDROID +#if __CC_PLATFORM_IOS [attrString enumerateAttribute:(id)kCTFontAttributeName inRange:fullRange options:0 usingBlock:^(id value, NSRange range, BOOL* stop){ if (value) { @@ -177,7 +163,7 @@ float NSAttributedStringSingleFontSize(NSAttributedString *attrString){ NSAttributedString *NSAttributedStringCopyWithNewFontSize(NSAttributedString *attrString, float size){ NSMutableAttributedString* copy = [attrString mutableCopy]; -#if __CC_PLATFORM_IOS || __CC_PLATFORM_ANDROID +#if __CC_PLATFORM_IOS CFTypeRef value = (__bridge CTFontRef)([attrString attribute:(id)kCTFontAttributeName atIndex:0 effectiveRange:NULL]); NSCAssert((CFGetTypeID(value)==CTFontGetTypeID()), @"CFTypeID does not match"); CTFontRef font = (CTFontRef)value; @@ -198,12 +184,6 @@ CGColorRef CGColorCreateWithPlatformSpecificColor(id platformColor) { return CGColorRetain(((UIColor *)platformColor).CGColor); #elif __CC_PLATFORM_MAC return CGColorRetain(((NSColor *)platformColor).CGColor); -#elif __CC_PLATFORM_ANDROID_ANDROID_COLOR - int32_t androidColor = (int32_t)[(NSNumber *)platformColor intValue]; - return CGColorCreateGenericRGB([AndroidColor redWithColor:androidColor]/255.0, - [AndroidColor greenWithColor:androidColor]/255.0, - [AndroidColor blueWithColor:androidColor]/255.0, - [AndroidColor alphaWithColor:androidColor]/255.0); #else return NULL; #endif @@ -219,7 +199,6 @@ CTFontRef CTFontCreateWithPlatformSpecificFont(id font) { #endif } -#if !__CC_PLATFORM_ANDROID static NSTextAlignment NSTextAlignmentFromCCTextAlignment(CCTextAlignment ccAligment) { #if __CC_PLATFORM_IOS switch (ccAligment) { @@ -247,15 +226,13 @@ static NSTextAlignment NSTextAlignmentFromCCTextAlignment(CCTextAlignment ccAlig return 0; #endif - } -#endif BOOL NSMutableAttributedStringFixPlatformSpecificAttributes(NSMutableAttributedString* string, CCColor* defaultColor, NSString* defaultFontName, CGFloat defaultFontSize, CCTextAlignment defaultHorizontalAlignment){ NSRange fullRange = NSMakeRange(0, string.length); BOOL useFullColor = NO; -#if !__CC_PLATFORM_ANDROID + if (NSAttributedStringHasAttribute(string, NSForegroundColorAttributeName)) { CGColorRef color = CGColorCreateWithPlatformSpecificColor([string attribute:NSForegroundColorAttributeName atIndex:0 effectiveRange:NULL]); [string addAttribute:(id)kCTForegroundColorFromContextAttributeName value:(__bridge id)color range:fullRange]; @@ -279,51 +256,10 @@ BOOL NSMutableAttributedStringFixPlatformSpecificAttributes(NSMutableAttributedS NSMutableParagraphStyle* style = [[NSMutableParagraphStyle alloc] init]; style.alignment = NSTextAlignmentFromCCTextAlignment(defaultHorizontalAlignment); NSMutableAttributedStringSetDefaultAttribute(string, NSParagraphStyleAttributeName, style); - - - -#else - // You betcha not to have those attributes on Android, they are not supported - assert(!NSAttributedStringHasAttribute(string, @"NSParagraphStyle")); - assert(!NSAttributedStringHasAttribute(string, @"NSFont")); - assert(!NSAttributedStringHasAttribute(string, @"NSForegroundColor")); - - // Shadow (No CT alternative) - if (NSAttributedStringHasAttribute(string, @"NSShadow")) - { - useFullColor = YES; - } - - - CTTextAlignment alignment; - if (defaultHorizontalAlignment == CCTextAlignmentLeft) alignment = kCTTextAlignmentLeft; - else if (defaultHorizontalAlignment == CCTextAlignmentCenter) alignment = kCTTextAlignmentCenter; - else if (defaultHorizontalAlignment == CCTextAlignmentRight) alignment = kCTTextAlignmentRight; - - - CTParagraphStyleSetting paragraphStyleSettings[] = { - { - .spec = kCTParagraphStyleSpecifierAlignment, - .valueSize = sizeof(typeof(alignment)), - .value = &alignment - }, - }; - - CTParagraphStyleRef style = CTParagraphStyleCreate(paragraphStyleSettings, sizeof(paragraphStyleSettings) / sizeof(CTParagraphStyleSetting)); - NSMutableAttributedStringSetDefaultAttribute(string, (NSString *)kCTParagraphStyleAttributeName, (__bridge id)style); - - CFRelease(style); - - -#endif - - - -#if !__CC_PLATFORM_ANDROID + + NSString *foregroundColorAttributeName = NSForegroundColorAttributeName; -#else - NSString *foregroundColorAttributeName = (__bridge id)kCTForegroundColorAttributeName; -#endif + BOOL colorChanged = NSMutableAttributedStringSetDefaultAttribute(string, foregroundColorAttributeName, (__bridge id)defaultColor.CGColor); useFullColor |= (![defaultColor isEqualToColor:[CCColor whiteColor]]) && colorChanged; diff --git a/cocos2d/Support/ZipUtils.h b/cocos2d/Support/ZipUtils.h index 2bcdfa3c953..01b28f3fbfa 100644 --- a/cocos2d/Support/ZipUtils.h +++ b/cocos2d/Support/ZipUtils.h @@ -10,8 +10,11 @@ * http://themanaworld.org/ * from the mapreader.cpp file * + * Some modifications were taken from: + * https://www.codeandweb.com/texturepacker/contentprotection + * */ - + #ifndef __CC_ZIP_UTILS_H #define __CC_ZIP_UTILS_H @@ -21,35 +24,56 @@ extern "C" { #endif - /* XXX: pragma pack ??? */ - /** @struct CCZHeader - */ - struct CCZHeader { - uint8_t sig[4]; // signature. Should be 'CCZ!' 4 bytes - uint16_t compression_type; // should 0 - uint16_t version; // should be 2 (although version type==1 is also supported) - uint32_t reserved; // Reserved for users. - uint32_t len; // size of the uncompressed file - }; +/** + * Set the TexturePacker encryption key + * + * If your key used to encrypt the pvr.ccz file is + * aaaaaaaabbbbbbbbccccccccdddddddd + * you have to call this function 4 times: + * caw_setkey_part(0, 0xaaaaaaaa); + * caw_setkey_part(1, 0xbbbbbbbb); + * caw_setkey_part(2, 0xcccccccc); + * caw_setkey_part(3, 0xdddddddd); + * + * Distribute the call accross some files but make sure + * to call all of the parts *before* loading the first + * spritesheet. + * + * @param index part of the key [0..3] + * @param value value of the key part + */ +void caw_setkey_part(int index, uint32_t value); + +/* XXX: pragma pack ??? */ +/** @struct CCZHeader + */ +struct CCZHeader { + uint8_t sig[4]; // signature. Should be 'CCZ!' 4 bytes + uint16_t compression_type; // should 0 + uint16_t version; // should be 2 (although version type==1 is also supported) + uint32_t reserved; // Reserverd for users. + uint32_t len; // size of the uncompressed file +}; - enum { - CCZ_COMPRESSION_ZLIB, // zlib format. - CCZ_COMPRESSION_BZIP2, // bzip2 format (not supported yet) - CCZ_COMPRESSION_GZIP, // gzip format (not supported yet) - CCZ_COMPRESSION_NONE, // plain (not supported yet) - }; +enum { + CCZ_COMPRESSION_ZLIB, // zlib format. + CCZ_COMPRESSION_BZIP2, // bzip2 format (not supported yet) + CCZ_COMPRESSION_GZIP, // gzip format (not supported yet) + CCZ_COMPRESSION_NONE, // plain (not supported yet) +}; /** @file * Zip helper functions */ - + /** * Inflates either zlib or gzip deflated memory. The inflated memory is * expected to be freed by the caller. * - * It will allocate 256k for the destination buffer. If it is not enough it will multiply the previous buffer size per 2, until there is enough memory. + * It will allocate 256k for the destination buffer. If it is not enought it will multiply the previous buffer size per 2, until there is enough memory. * @returns the length of the deflated buffer * + @since v0.8.1 */ int ccInflateMemory(unsigned char *in, unsigned int inLength, unsigned char **out); @@ -57,18 +81,20 @@ int ccInflateMemory(unsigned char *in, unsigned int inLength, unsigned char **ou * Inflates either zlib or gzip deflated memory. The inflated memory is * expected to be freed by the caller. * - * outlengthHint is assumed to be the needed room to allocate the inflated buffer. + * outLengthHint is assumed to be the needed room to allocate the inflated buffer. * * @returns the length of the deflated buffer * + @since v1.0.0 */ -int ccInflateMemoryWithHint(unsigned char *in, unsigned int inLength, unsigned char **out, unsigned int outlengthHint ); +int ccInflateMemoryWithHint(unsigned char *in, unsigned int inLength, unsigned char **out, unsigned int outLengthHint ); /** inflates a GZip file into memory * * @returns the length of the deflated buffer * + * @since v0.99.5 */ int ccInflateGZipFile(const char *filename, unsigned char **out); @@ -76,6 +102,7 @@ int ccInflateGZipFile(const char *filename, unsigned char **out); * * @returns the length of the deflated buffer * + * @since v0.99.5 */ int ccInflateCCZFile(const char *filename, unsigned char **out); diff --git a/cocos2d/Support/ZipUtils.m b/cocos2d/Support/ZipUtils.m index f481f8e6f79..aca01c8a29a 100644 --- a/cocos2d/Support/ZipUtils.m +++ b/cocos2d/Support/ZipUtils.m @@ -12,8 +12,12 @@ * Some ideas were taken from: * http://themanaworld.org/ * from the mapreader.cpp file + * + * Some modifications were taken from: + * https://www.codeandweb.com/texturepacker/contentprotection + * */ - + #import #import #import @@ -27,224 +31,396 @@ // Should buffer factor be 1.5 instead of 2 ? #define BUFFER_INC_FACTOR (2) -static int inflateMemoryWithHint(unsigned char *in, unsigned int inLength, unsigned char **out, unsigned int *outLength, unsigned int outlengthHint ) +static int inflateMemoryWithHint(unsigned char *in, unsigned int inLength, unsigned char **out, unsigned int *outLength, unsigned int outLengthHint ) { - /* ret value */ - int err = Z_OK; - - int bufferSize = outlengthHint; - *out = (unsigned char*) malloc(bufferSize); - + /* ret value */ + int err = Z_OK; + + int bufferSize = outLengthHint; + *out = (unsigned char*) malloc(bufferSize); + z_stream d_stream; /* decompression stream */ d_stream.zalloc = (alloc_func)0; d_stream.zfree = (free_func)0; d_stream.opaque = (voidpf)0; - + d_stream.next_in = in; d_stream.avail_in = inLength; - d_stream.next_out = *out; - d_stream.avail_out = bufferSize; - - /* window size to hold 256k */ - if( (err = inflateInit2(&d_stream, 15 + 32)) != Z_OK ) - return err; - - for (;;) { + d_stream.next_out = *out; + d_stream.avail_out = bufferSize; + + /* window size to hold 256k */ + if( (err = inflateInit2(&d_stream, 15 + 32)) != Z_OK ) + return err; + + for (;; ) { err = inflate(&d_stream, Z_NO_FLUSH); - - if (err == Z_STREAM_END) - break; - - switch (err) { - case Z_NEED_DICT: - err = Z_DATA_ERROR; - case Z_DATA_ERROR: - case Z_MEM_ERROR: - inflateEnd(&d_stream); - return err; - } - - // not enough memory ? - if (err != Z_STREAM_END) { - - unsigned char *tmp = realloc(*out, bufferSize * BUFFER_INC_FACTOR); - - /* not enough memory, ouch */ - if (! tmp ) { - CCLOG(@"cocos2d: ZipUtils: realloc failed"); - inflateEnd(&d_stream); - return Z_MEM_ERROR; - } - /* only assign to *out if tmp is valid. it's not guaranteed that realloc will reuse the memory */ - *out = tmp; - - d_stream.next_out = *out + bufferSize; - d_stream.avail_out = bufferSize; - bufferSize *= BUFFER_INC_FACTOR; - } + + if (err == Z_STREAM_END) + break; + + switch (err) { + case Z_NEED_DICT: + err = Z_DATA_ERROR; + case Z_DATA_ERROR: + case Z_MEM_ERROR: + inflateEnd(&d_stream); + return err; + } + + // not enough memory ? + if (err != Z_STREAM_END) { + + unsigned char *tmp = realloc(*out, bufferSize * BUFFER_INC_FACTOR); + + /* not enough memory, ouch */ + if (!tmp ) { + CCLOG(@"cocos2d: ZipUtils: realloc failed"); + inflateEnd(&d_stream); + return Z_MEM_ERROR; + } + /* only assign to *out if tmp is valid. it's not guaranteed that realloc will reuse the memory */ + *out = tmp; + + d_stream.next_out = *out + bufferSize; + d_stream.avail_out = bufferSize; + bufferSize *= BUFFER_INC_FACTOR; + } } - - - *outLength = bufferSize - d_stream.avail_out; + + + *outLength = bufferSize - d_stream.avail_out; err = inflateEnd(&d_stream); - return err; + return err; } int ccInflateMemoryWithHint(unsigned char *in, unsigned int inLength, unsigned char **out, unsigned int outLengthHint ) { - unsigned int outLength = 0; - int err = inflateMemoryWithHint(in, inLength, out, &outLength, outLengthHint ); - - if (err != Z_OK || *out == NULL) { - if (err == Z_MEM_ERROR) - CCLOG(@"cocos2d: ZipUtils: Out of memory while decompressing map data!"); - - else if (err == Z_VERSION_ERROR) - CCLOG(@"cocos2d: ZipUtils: Incompatible zlib version!"); - - else if (err == Z_DATA_ERROR) - CCLOG(@"cocos2d: ZipUtils: Incorrect zlib compressed data!"); - - else - CCLOG(@"cocos2d: ZipUtils: Unknown error while decompressing map data!"); - - free(*out); - *out = NULL; - outLength = 0; - } - - return outLength; + unsigned int outLength = 0; + int err = inflateMemoryWithHint(in, inLength, out, &outLength, outLengthHint ); + + if (err != Z_OK || *out == NULL) { + if (err == Z_MEM_ERROR) + CCLOG(@"cocos2d: ZipUtils: Out of memory while decompressing map data!"); + + else if (err == Z_VERSION_ERROR) + CCLOG(@"cocos2d: ZipUtils: Incompatible zlib version!"); + + else if (err == Z_DATA_ERROR) + CCLOG(@"cocos2d: ZipUtils: Incorrect zlib compressed data!"); + + else + CCLOG(@"cocos2d: ZipUtils: Unknown error while decompressing map data!"); + + free(*out); + *out = NULL; + outLength = 0; + } + + return outLength; } int ccInflateMemory(unsigned char *in, unsigned int inLength, unsigned char **out) { - // 256k for hint - return ccInflateMemoryWithHint(in, inLength, out, 256 * 1024 ); + // 256k for hint + return ccInflateMemoryWithHint(in, inLength, out, 256 * 1024 ); } int ccInflateGZipFile(const char *path, unsigned char **out) { - int len; - unsigned int offset = 0; - - NSCAssert( out, @"ccInflateGZipFile: invalid 'out' parameter"); - NSCAssert( &*out, @"ccInflateGZipFile: invalid 'out' parameter"); - - gzFile inFile = gzopen(path, "rb"); - if( inFile == NULL ) { - CCLOG(@"cocos2d: ZipUtils: error open gzip file: %s", path); - return -1; - } - - /* 512k initial decompress buffer */ - int bufferSize = 512 * 1024; - unsigned int totalBufferSize = bufferSize; - - *out = malloc( bufferSize ); - if( ! out ) { - CCLOG(@"cocos2d: ZipUtils: out of memory"); - return -1; - } - - for (;;) { - len = gzread(inFile, *out + offset, bufferSize); - if (len < 0) { - CCLOG(@"cocos2d: ZipUtils: error in gzread"); - free( *out ); - *out = NULL; - return -1; - } - if (len == 0) - break; - - offset += len; - - // finish reading the file - if( len < bufferSize ) - break; - - bufferSize *= BUFFER_INC_FACTOR; - totalBufferSize += bufferSize; - unsigned char *tmp = realloc(*out, totalBufferSize ); - - if( ! tmp ) { - CCLOG(@"cocos2d: ZipUtils: out of memory"); - free( *out ); - *out = NULL; - return -1; - } - - *out = tmp; - } - - if (gzclose(inFile) != Z_OK) - CCLOG(@"cocos2d: ZipUtils: gzclose failed"); - - return offset; + int len; + unsigned int offset = 0; + + NSCAssert( out, @"ccInflateGZipFile: invalid 'out' parameter"); + NSCAssert( &*out, @"ccInflateGZipFile: invalid 'out' parameter"); + + gzFile inFile = gzopen(path, "rb"); + if( inFile == NULL ) { + CCLOG(@"cocos2d: ZipUtils: error open gzip file: %s", path); + return -1; + } + + /* 512k initial decompress buffer */ + int bufferSize = 512 * 1024; + unsigned int totalBufferSize = bufferSize; + + *out = malloc( bufferSize ); + if( !out ) { + CCLOG(@"cocos2d: ZipUtils: out of memory"); + return -1; + } + + for (;; ) { + len = gzread(inFile, *out + offset, bufferSize); + if (len < 0) { + CCLOG(@"cocos2d: ZipUtils: error in gzread"); + free( *out ); + *out = NULL; + return -1; + } + if (len == 0) + break; + + offset += len; + + // finish reading the file + if( len < bufferSize ) + break; + + bufferSize *= BUFFER_INC_FACTOR; + totalBufferSize += bufferSize; + unsigned char *tmp = realloc(*out, totalBufferSize ); + + if( !tmp ) { + CCLOG(@"cocos2d: ZipUtils: out of memory"); + free( *out ); + *out = NULL; + return -1; + } + + *out = tmp; + } + + if (gzclose(inFile) != Z_OK) + CCLOG(@"cocos2d: ZipUtils: gzclose failed"); + + return offset; } -int ccInflateCCZFile(const char *path, unsigned char **out) +typedef struct { + uint8_t sig[4]; // signature. Should be 'CCZp' 4 bytes + uint16_t compression_type; // should 0 + uint16_t version; // should be 2 (although version type==1 is also supported) + uint32_t checksum; // Checksum + uint32_t len; // size of the uncompressed file +} CCPHeader; + +// TexturePacker Content Protection Part +static uint32_t caw_key[4] = {0,0,0,0}; +static uint32_t caw_longKey[1024]; +static bool caw_longKeyValid=false; + +/** + * TexturePacker Set Encryption Key (Partly) + * + * @param index + * @param value + */ +void caw_setkey_part(int index, uint32_t value) { - NSCAssert( out, @"ccInflateCCZFile: invalid 'out' parameter"); - NSCAssert( &*out, @"ccInflateCCZFile: invalid 'out' parameter"); - - // load file into memory - unsigned char *compressed = NULL; - NSInteger fileLen = ccLoadFileIntoMemory( path, &compressed ); - if( fileLen < 0 ) { - CCLOG(@"cocos2d: Error loading CCZ compressed file"); - return -1; - } - - struct CCZHeader *header = (struct CCZHeader*) compressed; - - // verify header - if( header->sig[0] != 'C' || header->sig[1] != 'C' || header->sig[2] != 'Z' || header->sig[3] != '!' ) { - CCLOG(@"cocos2d: Invalid CCZ file"); - free(compressed); - return -1; - } - - // verify header version - uint16_t version = CFSwapInt16BigToHost( header->version ); - if( version > 2 ) { - CCLOG(@"cocos2d: Unsupported CCZ header format"); - free(compressed); - return -1; - } - - // verify compression format - if( CFSwapInt16BigToHost(header->compression_type) != CCZ_COMPRESSION_ZLIB ) { - CCLOG(@"cocos2d: CCZ Unsupported compression method"); - free(compressed); - return -1; - } - - uint32_t len = CFSwapInt32BigToHost( header->len ); - - *out = malloc( len ); - if(! *out ) - { - CCLOG(@"cocos2d: CCZ: Failed to allocate memory for texture"); - free(compressed); - return -1; - } - - - uLongf destlen = len; - uLongf source = (uLongf) compressed + sizeof(*header); - int ret = uncompress(*out, &destlen, (Bytef*)source, fileLen - sizeof(*header) ); + assert(index >= 0); + assert(index < 4); + if(caw_key[index] != value) + { + caw_key[index] = value; + caw_longKeyValid = false; + } +} - free( compressed ); +/** + * TexturePacker Encoding Data + * + * @param data + * @param len + */ +static inline void caw_encdec (uint32_t *data, int len) +{ + const int enclen = 1024; + const int securelen = 512; + const int distance = 64; + + // check if key was set + // make sure to call caw_setkey_part() for all 4 key parts + assert(caw_key[0] != 0); + assert(caw_key[1] != 0); + assert(caw_key[2] != 0); + assert(caw_key[3] != 0); + + // create long key + if(!caw_longKeyValid) + { + uint32_t y; + unsigned int p, rounds=6, e; + + uint32_t sum = 0; + uint32_t z = caw_longKey[enclen-1]; + do + { + #define DELTA 0x9e3779b9 + #define MX (((z>>5^y<<2) + (y>>3^z<<4)) ^ ((sum^y) + (caw_key[(p&3)^e] ^ z))) + + sum += DELTA; + e = (sum >> 2) & 3; + for (p=0; p= enclen) + { + b=0; + } + } + + // encrypt second section partially + for(; i= enclen) + { + b=0; + } + } +} - if( ret != Z_OK ) - { - CCLOG(@"cocos2d: CCZ: Failed to uncompress data"); - free( *out ); - *out = NULL; - return -1; - } +/** + * TexturePacker Checksum For Data + * + * @param data + * @param len + * + * @return checksum + */ +static inline uint32_t caw_checksum(const uint32_t *data, int len) +{ + uint32_t cs=0; + const int cslen=128; + len = (len < cslen) ? len : cslen; + for(int i=0; iversion ); + if( version > 2 ) { + CCLOG(@"cocos2d: Unsupported CCZ header format"); + free(compressed); + return -1; + } + + // verify compression format + if( CFSwapInt16BigToHost(header->compression_type) != CCZ_COMPRESSION_ZLIB ) { + CCLOG(@"cocos2d: CCZ Unsupported compression method"); + free(compressed); + return -1; + } + + len = CFSwapInt32BigToHost( header->len ); + + headerSize = sizeof(struct CCZHeader); + } + else if(compressed[0] == 'C' && compressed[1] == 'C' && compressed[2] == 'Z' && compressed[3] == 'p' ) + { + // encrypted ccz file + CCPHeader *header = (CCPHeader*) compressed; + + // verify header version + uint16_t version = CFSwapInt16BigToHost( header->version ); + if( version > 0 ) { + CCLOG(@"cocos2d: Unsupported CCZ header format"); + free(compressed); + return -1; + } + + // verify compression format + if( CFSwapInt16BigToHost(header->compression_type) != 0 ) { + CCLOG(@"cocos2d: CCZ Unsupported compression method"); + free(compressed); + return -1; + } + + // decrypt + headerSize = sizeof(CCPHeader); + uint32_t* ints = (uint32_t*)(compressed+12); + int enclen = (fileLen-12)/4; + + caw_encdec(ints, enclen); + + len = CFSwapInt32BigToHost( header->len ); + +#ifndef NDEBUG + // verify checksum in debug mode + uint32_t calculated = caw_checksum(ints, enclen); + uint32_t required = CFSwapInt32BigToHost( header->checksum ); + if(calculated != required) + { + CCLOG(@"cocos2d: Can't decrypt image file: Invalid decryption key"); + free(compressed); + return -1; + } +#endif + } + else { + CCLOG(@"cocos2d: Invalid CCZ file"); + free(compressed); + return -1; + } + + + *out = malloc( len ); + if(!*out ) + { + CCLOG(@"cocos2d: CCZ: Failed to allocate memory for texture"); + free(compressed); + return -1; + } + + + uLongf destlen = len; + uLongf source = (uLongf) compressed + headerSize; + int ret = uncompress(*out, &destlen, (Bytef*)source, fileLen - headerSize ); + + free( compressed ); + + if( ret != Z_OK ) + { + CCLOG(@"cocos2d: CCZ: Failed to uncompress data"); + free( *out ); + *out = NULL; + return -1; + } + + + return len; } diff --git a/cocos2d/ccConfig.h b/cocos2d/ccConfig.h index 245794b3691..12d191bd464 100644 --- a/cocos2d/ccConfig.h +++ b/cocos2d/ccConfig.h @@ -166,6 +166,33 @@ #define CC_SHADER_DEFAULT_FRAGMENT_PRECISION mediump #endif +/** + If you disable one of this -ext you must remove corresponding files from your Xcode project + or your may get errors when building project + */ +#ifndef CC_LIGHTING +#define CC_LIGHTING 0 +#endif + +#ifndef CC_PHYSICS +#define CC_PHYSICS 0 +#endif + +#ifndef CC_CCBREADER +#define CC_CCBREADER 0 +#endif + +/** + For CCEffectLighting you need to enable both CC_EFFECTS and CC_LIGHTING + */ +#ifndef CC_EFFECTS +#define CC_EFFECTS 0 +#endif + +#ifndef CC_OBJECT_AL +#define CC_OBJECT_AL 0 +#endif + #ifndef CC_EFFECTS_EXPERIMENTAL #define CC_EFFECTS_EXPERIMENTAL 0 #endif diff --git a/cocos2d/ccMacros.h b/cocos2d/ccMacros.h index f1481d6a7bc..905c7c74ff9 100644 --- a/cocos2d/ccMacros.h +++ b/cocos2d/ccMacros.h @@ -39,22 +39,14 @@ cocos2d helper macros */ -#if defined(__IPHONE_OS_VERSION_MAX_ALLOWED) && !defined(COCOS2D_ANDROID) +#if defined(__IPHONE_OS_VERSION_MAX_ALLOWED) #define __CC_PLATFORM_IOS 1 #define __CC_PLATFORM_MAC 0 -#define __CC_PLATFORM_ANDROID_FIXME 1 -#elif defined(__MAC_OS_X_VERSION_MAX_ALLOWED) && !defined(COCOS2D_ANDROID) +#elif defined(__MAC_OS_X_VERSION_MAX_ALLOWED) #define __CC_PLATFORM_MAC 1 #define __CC_PLATFORM_IOS 0 #endif -#ifdef COCOS2D_ANDROID -#define __CC_PLATFORM_MAC 0 -#define __CC_PLATFORM_IOS 0 -#define __CC_PLATFORM_ANDROID 1 -#define __CC_PLATFORM_ANDROID_FIXME 1 -#endif - // Metal is only supported on iOS devices (currently does not include the simulator) and on iOS 8 and greater. #if __CC_PLATFORM_IOS && defined(__IPHONE_8_0) && __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_8_0 #define __CC_METAL_SUPPORTED_AND_ENABLED (CC_ENABLE_METAL_RENDERING && !TARGET_IPHONE_SIMULATOR) @@ -62,6 +54,12 @@ #define __CC_METAL_SUPPORTED_AND_ENABLED 0 #endif +// Android legacy +#if __CC_PLATFORM_IOS +#define CCTouch UITouch +#define CCTouchEvent UIEvent +#endif + /* * if COCOS2D_DEBUG is not defined, or if it is 0 then * all CCLOGXXX macros will be disabled diff --git a/cocos2d/ccTypes.h b/cocos2d/ccTypes.h index 6f08b955dee..db0db5fae7b 100644 --- a/cocos2d/ccTypes.h +++ b/cocos2d/ccTypes.h @@ -33,7 +33,7 @@ #import #import "ccMacros.h" -#if __CC_PLATFORM_IOS || __CC_PLATFORM_ANDROID +#if __CC_PLATFORM_IOS #import // CGPoint #endif @@ -41,18 +41,6 @@ #import #endif -#if __CC_PLATFORM_ANDROID -#import "CCMathTypesAndroid.h" - -#import "CCMatrix3.h" -#import "CCMatrix4.h" -#import "CCVector2.h" -#import "CCVector3.h" -#import "CCVector4.h" -#import "CCQuaternion.h" - -#import "CCMathUtilsAndroid.h" -#endif #import "Platforms/CCGL.h" diff --git a/cocos2d/cocos2d.h b/cocos2d/cocos2d.h index dd66dc707bf..613c1adc997 100644 --- a/cocos2d/cocos2d.h +++ b/cocos2d/cocos2d.h @@ -41,7 +41,7 @@ // 0x00 HI ME LO // 00 03 xx xx -#define COCOS2D_VERSION 0x00030409 +#define COCOS2D_VERSION 0x00030500 #define COCOS2D_BUILD @"release" // // all cocos2d include files @@ -55,39 +55,16 @@ #import "CCActionEase.h" #import "CCActionInstant.h" #import "CCActionInterval.h" -#import "CCActionProgressTimer.h" #import "CCActionTween.h" -#import "CCClippingNode.h" #import "CCColor.h" #import "CCConfiguration.h" #import "CCDirector.h" #import "CCDrawNode.h" -#import "CCEffect.h" -#import "CCEffectBloom.h" -#import "CCEffectBrightness.h" -#import "CCEffectColorChannelOffset.h" -#import "CCEffectContrast.h" -#import "CCEffectBlur.h" -#import "CCEffectGlass.h" -#import "CCEffectDropShadow.h" -#import "CCEffectHue.h" -#import "CCEffectLighting.h" -#import "CCEffectNode.h" -#import "CCEffectPixellate.h" -#import "CCEffectReflection.h" -#import "CCEffectRefraction.h" -#import "CCEffectSaturation.h" -#import "CCEffectStack.h" #import "CCLabelBMFont.h" #import "CCLabelTTF.h" -#import "CCLightNode.h" -#import "CCMotionStreak.h" #import "CCNode+Debug.h" #import "CCNode.h" #import "CCNodeColor.h" -#import "CCParallaxNode.h" -#import "CCParticleExamples.h" -#import "CCParticleSystem.h" #import "CCProtocols.h" #import "CCRenderTexture.h" #import "CCScene.h" @@ -96,21 +73,10 @@ #import "CCSpriteBatchNode.h" #import "CCSpriteFrame.h" #import "CCSpriteFrameCache.h" -#import "CCTMXXMLParser.h" +#import "CCTransition.h" #import "CCTexture.h" #import "CCTexturePVR.h" -#import "CCTiledMap.h" -#import "CCTiledMapLayer.h" -#import "CCTiledMapObjectGroup.h" -#import "CCTransition.h" - -#if CC_EFFECTS_EXPERIMENTAL -#import "CCEffectOutline.h" -#import "CCEffectDFOutline.h" -#import "CCEffectDistanceField.h" -#import "CCEffectDFInnerGlow.h" -#import "CCEffectStereo.h" -#endif +#import "UITouch+CC.h" // Layouts #import "CCLayout.h" @@ -119,15 +85,6 @@ // Shaders #import "CCShader.h" -// Physics -#import "CCPhysicsBody.h" -#import "CCPhysicsJoint.h" -#import "CCPhysicsNode.h" -#import "CCPhysicsShape.h" - -// Sound -#import "OALSimpleAudio.h" - // Retiring #import "CCAnimation.h" // put this back for v3.4 because it's still in use, and would otherwise be unavailable to Swift //#import "CCAnimationCache.h" @@ -161,14 +118,6 @@ #import "Platforms/Mac/CCDirectorMac.h" #import "Platforms/Mac/CCWindow.h" #import "Platforms/Mac/NSEvent+CC.h" - -#elif __CC_PLATFORM_ANDROID -#import "Platforms/Android/CCActivity.h" -#import "Platforms/Android/CCGLView.h" -#import "Platforms/Android/CCDirectorAndroid.h" - -#import -#import #endif // diff --git a/cocos2d/cocos2d.m b/cocos2d/cocos2d.m index 9731c6d7619..2efd26e6bc0 100644 --- a/cocos2d/cocos2d.m +++ b/cocos2d/cocos2d.m @@ -36,10 +36,10 @@ if ([COCOS2D_BUILD isEqualToString:@"release"]) { - return [NSString stringWithFormat:@"Cocos2D-Swift version %d.%d.%d", major, minor, rev]; + return [NSString stringWithFormat:@"Cocos2D-ObjC version %d.%d.%d", major, minor, rev]; } else { - return([[NSString stringWithFormat:@"Cocos2D-Swift version %d.%d.%d-", major, minor, rev] stringByAppendingString:COCOS2D_BUILD]); + return([[NSString stringWithFormat:@"Cocos2D-ObjC version %d.%d.%d-", major, minor, rev] stringByAppendingString:COCOS2D_BUILD]); } } diff --git a/install.sh b/install.sh deleted file mode 100755 index e5faff5d755..00000000000 --- a/install.sh +++ /dev/null @@ -1,337 +0,0 @@ -#!/bin/bash -# ---------------------------------------------------- -# Cocos2D Installer -# Author: Lars Birkemose (based on original script made by Dominik Hadl, Stuart Carnie and Ricardo Quesada) -# Date: June 2015 -# ---------------------------------------------------- - -VERSION="Cocos2D-ObjC v3.4.x" -TEMPLATE_NAME="cocos2d v3.4" -EXECUTION_FOLDER="$(dirname $0)" - -BASE_FOLDER="$HOME/Library/Developer/Xcode/Templates" -TEMPLATE_FOLDER="$HOME/Library/Developer/Xcode/Templates/$TEMPLATE_NAME" -LOG_FOLDER="/tmp/cocos2d-install" -LOG_FILE="${LOG_FOLDER}/error.log" - -# ---------------------------------------------------- - -log_error() -{ - echo "" - if [[ "$1" -eq "1" ]]; then - echo "Invoke the installer with the following options" - echo "./install.sh -i to install Cocos2D" - echo "./install.sh -u to update Cocos2D" - echo "./install.sh -d to delete Cocos2D" - elif [[ "$1" -eq "2" ]]; then - echo "Cocos2D is already installed" - echo "Invoke the installer with option -u, to update Cocos2D" - elif [[ "$1" -eq "3" ]]; then - echo "Installer was executes as root" - echo "To install Cocos2D, run './install.sh -i' from the folder where you downloaded Cocos2D" - else - echo "An unknown error occured" - fi - echo "" - echo "Cocos2d exited with an error" - echo "For details see: $LOG_FILE" - echo "" - - mv -f "${LOG_FILE}" "${HOME}/Desktop/cocos2d-install.log" - - exit "$1" -} - -# ---------------------------------------------------- - -check_status() -{ - if [[ "$?" != "0" ]]; then - log_error 99 - fi -} - -# ---------------------------------------------------- - -status_ok() -{ - printf " [Ok]\n" -} - -# ---------------------------------------------------- - -check_folders() -{ - if [[ ! -d "$BASE_FOLDER" ]]; then - mkdir -p "$BASE_FOLDER" 1>/dev/null 2>>"${LOG_FILE}" - check_status - else - perms=$(find "$HOME/Library/Developer/Xcode/Templates" -name "Templates" -perm 0755 -type d) - if [[ ! "$perms" =~ "$BASE_FOLDER" ]]; then - didPrint=true - echo "In order to install templates you need access to the Xcode templates folder. Please enter your password if prompted." - sudo chmod 755 "$BASE_FOLDER" 1>/dev/null 2>>"${LOG_FILE}" - check_status - echo "" - fi - fi - - if [[ ! -d "$HOME/Library/Developer/Xcode/Templates/File Templates" ]]; then - mkdir "$HOME/Library/Developer/Xcode/Templates/File Templates" 1>/dev/null 2>>"${LOG_FILE}" - check_status - fi -} - -# ---------------------------------------------------- - -copy_files() -{ - if [[ ! -d "$2" ]]; then - mkdir -p "$2" - fi - SOURCE_DIR="${EXECUTION_FOLDER}/${1}" - rsync -r --exclude=".*" "$SOURCE_DIR" "$2" 1>/dev/null 2>>"${LOG_FILE}" - check_status -} - -# ---------------------------------------------------- - -download_chipmunk() -{ - echo -n "Downloading Chipmunk" - DOWNLOAD_DIR="$EXECUTION_FOLDER/external" - mkdir -p "$DOWNLOAD_DIR" 1>/dev/null 2>>"${LOG_FILE}" - check_status - - curl -L -# "https://github.com/slembcke/Chipmunk2D/archive/Cocos2D-3.0.zip" -o "$DOWNLOAD_DIR/chipmunk.zip" 1>/dev/null 2>>"${LOG_FILE}" - check_status - - if [[ ! -d "${DOWNLOAD_DIR}/Chipmunk/" ]]; then - mkdir -p "${DOWNLOAD_DIR}/Chipmunk/" 1>/dev/null 2>>"${LOG_FILE}" - check_status - fi - - tar -xf "$DOWNLOAD_DIR/chipmunk.zip" -C "${DOWNLOAD_DIR}/Chipmunk/" --strip-components=1 1>>"${LOG_FILE}" 2>>"${LOG_FILE}" - check_status - rm "$DOWNLOAD_DIR/chipmunk.zip" - status_ok -} - -# ---------------------------------------------------- - -download_objectal() -{ - echo -n "Downloading ObjectAL" - DOWNLOAD_DIR="$EXECUTION_FOLDER/external" - mkdir -p "$DOWNLOAD_DIR" 1>/dev/null 2>>"${LOG_FILE}" - check_status - - curl -L -# "http://github.com/kstenerud/ObjectAL-for-iPhone/tarball/v2.2" -o "$DOWNLOAD_DIR/objectal.tar.gz" 1>/dev/null 2>>"${LOG_FILE}" - check_status - - if [[ ! -d "${DOWNLOAD_DIR}/ObjectAL/" ]]; then - mkdir -p "${DOWNLOAD_DIR}/ObjectAL/" 1>/dev/null 2>>"${LOG_FILE}" - check_status - fi - - tar -xf "$DOWNLOAD_DIR/objectal.tar.gz" -C "${DOWNLOAD_DIR}/ObjectAL/" --strip-components=1 1>>"${LOG_FILE}" 2>>"${LOG_FILE}" - check_status - rm "$DOWNLOAD_DIR/objectal.tar.gz" - status_ok -} - -# ---------------------------------------------------- - -install_cocos2d() -{ - echo -n "Installing Cocos2D Libraries" - - LIBS_DIR="$TEMPLATE_FOLDER/Support/Libraries/cocos2d-base.xctemplate/Libraries/" - copy_files "cocos2d" "$LIBS_DIR" - copy_files "LICENSE_cocos2d.txt" "$LIBS_DIR" - - LIBS_DIR="$TEMPLATE_FOLDER/Support/Libraries/cocos2d-effects.xctemplate/Libraries/" - copy_files "cocos2d" "$LIBS_DIR" - - LIBS_DIR="$TEMPLATE_FOLDER/Support/Libraries/cocos2d-platform.xctemplate/Libraries/" - copy_files "cocos2d" "$LIBS_DIR" - - LIBS_DIR="$TEMPLATE_FOLDER/Support/Libraries/cocos2d-support.xctemplate/Libraries/" - copy_files "cocos2d" "$LIBS_DIR" - - LIBS_DIR="$TEMPLATE_FOLDER/Support/Libraries/cocos2d-ui.xctemplate/Libraries/" - copy_files "cocos2d-ui" "$LIBS_DIR" - - LIBS_DIR="$TEMPLATE_FOLDER/Support/Libraries/cocos2d-ccb.xctemplate/Libraries/" - copy_files "cocos2d-ui/CCBReader" "$LIBS_DIR" - - check_status - status_ok -} - -# ---------------------------------------------------- - -install_chipmunk() -{ - echo -n "Installing Chipmunk Libraries" - - LIBS_DIR="$TEMPLATE_FOLDER/Support/Libraries/chipmunk.xctemplate/Libraries/" - copy_files "external/Chipmunk/objectivec/include" "$LIBS_DIR/Chipmunk/objectivec" - copy_files "external/Chipmunk/objectivec/src" "$LIBS_DIR/Chipmunk/objectivec" - copy_files "external/Chipmunk/include" "$LIBS_DIR/Chipmunk/chipmunk" - copy_files "external/Chipmunk/src" "$LIBS_DIR/Chipmunk/chipmunk" - - check_status - status_ok -} - -# ---------------------------------------------------- - -install_objectal() -{ - echo -n "Installing ObjectAL Libraries" - - LIBS_DIR="$TEMPLATE_FOLDER/Support/Libraries/objectal.xctemplate/Libraries/ObjectAL" - copy_files "external/ObjectAL/ObjectAL/ObjectAL (iOS)/" "$LIBS_DIR" - - check_status - status_ok -} - -# ---------------------------------------------------- - -install_templates() -{ - echo -n "Installing Xcode Templates" - - copy_files "templates/" "$TEMPLATE_FOLDER" - check_status - - if [[ ! -d "$HOME/Library/Developer/Xcode/Templates/File Templates/$TEMPLATE_NAME" ]]; then - mkdir "$HOME/Library/Developer/Xcode/Templates/File Templates/$TEMPLATE_NAME" 1>/dev/null 2>>"${LOG_FILE}" - check_status - fi - - TEMPLATE_FOLDER="$HOME/Library/Developer/Xcode/Templates/File Templates/$TEMPLATE_NAME" - OLD_DIR="$HOME/Library/Developer/Xcode/Templates/$TEMPLATE_NAME/" - - mv -f "$OLD_DIR/CCNode class.xctemplate" "$TEMPLATE_FOLDER/CCNode class.xctemplate" 1>/dev/null 2>>"${LOG_FILE}" - - check_status - status_ok -} - -# ---------------------------------------------------- - -delete_libraries() -{ - echo -n "Deleting Libraries" - rm -rf "$TEMPLATE_FOLDER" - - check_status - status_ok -} - -# ---------------------------------------------------- - -delete_templates() -{ - echo -n "Deleting Templates" - rm -rf "$HOME/Library/Developer/Xcode/Templates/File Templates/$TEMPLATE_NAME/" - - check_status - status_ok -} - -# ---------------------------------------------------- -# Script start -# ---------------------------------------------------- - -# Header -echo "" -echo "Cocos2D Installer (${VERSION})" -echo "--------------------------------------" -echo "" - -# Root exectuion -if [[ "$(id -u)" == "0" ]]; then - log_error 3 -fi - -mkdir -p "${LOG_FOLDER}" - -# Check for arguments -if [[ "${1}" = "-i" ]]; then - - # ---------------------------------------------------- - # Install - # ---------------------------------------------------- - if [[ -d $TEMPLATE_FOLDER ]]; then - log_error 2 - fi - - check_folders - - download_chipmunk - download_objectal - - install_cocos2d - install_chipmunk - install_objectal - - install_templates - - echo "" - echo "Cocos2D was successfully installed" - echo "" - -elif [[ "${1}" = "-u" ]]; then - - # ---------------------------------------------------- - # Update - # ---------------------------------------------------- - - delete_libraries - delete_templates - - check_folders - - download_chipmunk - download_objectal - - install_cocos2d - install_chipmunk - install_objectal - - install_templates - - echo "" - echo "Cocos2D was successfully updated" - echo "" - -elif [[ "${1}" = "-d" ]]; then - - # ---------------------------------------------------- - # Delete - # ---------------------------------------------------- - - delete_libraries - delete_templates - - echo "" - echo "Cocos2D was successfully deleted" - echo "" - -else - - # ---------------------------------------------------- - # Unknown - # ---------------------------------------------------- - log_error 1 - -fi - -rm -rf "${LOG_FOLDER}" 1>/dev/null 2>/dev/null - - diff --git a/migration/1-2-3.doc b/migration/1-2-3.doc deleted file mode 100644 index 0497f29bbbc..00000000000 Binary files a/migration/1-2-3.doc and /dev/null differ diff --git a/migration/demo project.doc b/migration/demo project.doc deleted file mode 100644 index 6ef7f360110..00000000000 Binary files a/migration/demo project.doc and /dev/null differ diff --git a/migration/step one.doc b/migration/step one.doc deleted file mode 100644 index 775a9c91d7c..00000000000 Binary files a/migration/step one.doc and /dev/null differ diff --git a/migration/step three.doc b/migration/step three.doc deleted file mode 100644 index 5721cf32529..00000000000 Binary files a/migration/step three.doc and /dev/null differ diff --git a/migration/step two.doc b/migration/step two.doc deleted file mode 100644 index f69e788c22f..00000000000 Binary files a/migration/step two.doc and /dev/null differ diff --git a/migration/template.doc b/migration/template.doc deleted file mode 100644 index 9dcddee3e6a..00000000000 Binary files a/migration/template.doc and /dev/null differ diff --git a/pong-objc/Images.xcassets/AppIcon.appiconset/Contents.json b/pong-objc/Images.xcassets/AppIcon.appiconset/Contents.json deleted file mode 100644 index 0d44aa0468a..00000000000 --- a/pong-objc/Images.xcassets/AppIcon.appiconset/Contents.json +++ /dev/null @@ -1,68 +0,0 @@ -{ - "images" : [ - { - "size" : "29x29", - "idiom" : "ipad", - "filename" : "Icon-29.png", - "scale" : "1x" - }, - { - "size" : "29x29", - "idiom" : "ipad", - "filename" : "Icon-29@2x.png", - "scale" : "2x" - }, - { - "size" : "40x40", - "idiom" : "ipad", - "filename" : "Icon-40.png", - "scale" : "1x" - }, - { - "size" : "40x40", - "idiom" : "ipad", - "filename" : "Icon-40@2x.png", - "scale" : "2x" - }, - { - "size" : "50x50", - "idiom" : "ipad", - "filename" : "Icon-50.png", - "scale" : "1x" - }, - { - "size" : "50x50", - "idiom" : "ipad", - "filename" : "Icon-50@2x.png", - "scale" : "2x" - }, - { - "size" : "72x72", - "idiom" : "ipad", - "filename" : "Icon-72.png", - "scale" : "1x" - }, - { - "size" : "72x72", - "idiom" : "ipad", - "filename" : "Icon-72@2x.png", - "scale" : "2x" - }, - { - "size" : "76x76", - "idiom" : "ipad", - "filename" : "Icon-76.png", - "scale" : "1x" - }, - { - "size" : "76x76", - "idiom" : "ipad", - "filename" : "Icon-76@2x.png", - "scale" : "2x" - } - ], - "info" : { - "version" : 1, - "author" : "xcode" - } -} \ No newline at end of file diff --git a/pong-objc/Images.xcassets/AppIcon.appiconset/Icon-29.png b/pong-objc/Images.xcassets/AppIcon.appiconset/Icon-29.png deleted file mode 100644 index a830703ead7..00000000000 Binary files a/pong-objc/Images.xcassets/AppIcon.appiconset/Icon-29.png and /dev/null differ diff --git a/pong-objc/Images.xcassets/AppIcon.appiconset/Icon-29@2x.png b/pong-objc/Images.xcassets/AppIcon.appiconset/Icon-29@2x.png deleted file mode 100644 index 95fb78d0874..00000000000 Binary files a/pong-objc/Images.xcassets/AppIcon.appiconset/Icon-29@2x.png and /dev/null differ diff --git a/pong-objc/Images.xcassets/AppIcon.appiconset/Icon-40.png b/pong-objc/Images.xcassets/AppIcon.appiconset/Icon-40.png deleted file mode 100644 index f4f4eacd2b9..00000000000 Binary files a/pong-objc/Images.xcassets/AppIcon.appiconset/Icon-40.png and /dev/null differ diff --git a/pong-objc/Images.xcassets/AppIcon.appiconset/Icon-40@2x.png b/pong-objc/Images.xcassets/AppIcon.appiconset/Icon-40@2x.png deleted file mode 100644 index 9ba72a822fd..00000000000 Binary files a/pong-objc/Images.xcassets/AppIcon.appiconset/Icon-40@2x.png and /dev/null differ diff --git a/pong-objc/Images.xcassets/AppIcon.appiconset/Icon-50.png b/pong-objc/Images.xcassets/AppIcon.appiconset/Icon-50.png deleted file mode 100644 index af462a62f7c..00000000000 Binary files a/pong-objc/Images.xcassets/AppIcon.appiconset/Icon-50.png and /dev/null differ diff --git a/pong-objc/Images.xcassets/AppIcon.appiconset/Icon-50@2x.png b/pong-objc/Images.xcassets/AppIcon.appiconset/Icon-50@2x.png deleted file mode 100644 index f56dafcebd7..00000000000 Binary files a/pong-objc/Images.xcassets/AppIcon.appiconset/Icon-50@2x.png and /dev/null differ diff --git a/pong-objc/Images.xcassets/AppIcon.appiconset/Icon-72.png b/pong-objc/Images.xcassets/AppIcon.appiconset/Icon-72.png deleted file mode 100644 index 7d3ccdb4bb3..00000000000 Binary files a/pong-objc/Images.xcassets/AppIcon.appiconset/Icon-72.png and /dev/null differ diff --git a/pong-objc/Images.xcassets/AppIcon.appiconset/Icon-72@2x.png b/pong-objc/Images.xcassets/AppIcon.appiconset/Icon-72@2x.png deleted file mode 100644 index 8cd38bd33d3..00000000000 Binary files a/pong-objc/Images.xcassets/AppIcon.appiconset/Icon-72@2x.png and /dev/null differ diff --git a/pong-objc/Images.xcassets/AppIcon.appiconset/Icon-76.png b/pong-objc/Images.xcassets/AppIcon.appiconset/Icon-76.png deleted file mode 100644 index ca7cefe0cd0..00000000000 Binary files a/pong-objc/Images.xcassets/AppIcon.appiconset/Icon-76.png and /dev/null differ diff --git a/pong-objc/Images.xcassets/AppIcon.appiconset/Icon-76@2x.png b/pong-objc/Images.xcassets/AppIcon.appiconset/Icon-76@2x.png deleted file mode 100644 index 9d87314cb1f..00000000000 Binary files a/pong-objc/Images.xcassets/AppIcon.appiconset/Icon-76@2x.png and /dev/null differ diff --git a/pong-objc/Images.xcassets/LaunchImage.launchimage/Contents.json b/pong-objc/Images.xcassets/LaunchImage.launchimage/Contents.json deleted file mode 100644 index a084c42c94c..00000000000 --- a/pong-objc/Images.xcassets/LaunchImage.launchimage/Contents.json +++ /dev/null @@ -1,61 +0,0 @@ -{ - "images" : [ - { - "orientation" : "portrait", - "idiom" : "ipad", - "extent" : "to-status-bar", - "scale" : "1x" - }, - { - "orientation" : "portrait", - "idiom" : "ipad", - "extent" : "to-status-bar", - "scale" : "2x" - }, - { - "orientation" : "landscape", - "idiom" : "ipad", - "filename" : "Default-Landscape.png", - "extent" : "full-screen", - "scale" : "1x" - }, - { - "orientation" : "landscape", - "idiom" : "ipad", - "extent" : "to-status-bar", - "scale" : "2x" - }, - { - "orientation" : "portrait", - "idiom" : "ipad", - "minimum-system-version" : "7.0", - "extent" : "full-screen", - "scale" : "1x" - }, - { - "orientation" : "portrait", - "idiom" : "ipad", - "minimum-system-version" : "7.0", - "extent" : "full-screen", - "scale" : "2x" - }, - { - "orientation" : "landscape", - "idiom" : "ipad", - "minimum-system-version" : "7.0", - "extent" : "full-screen", - "scale" : "1x" - }, - { - "orientation" : "landscape", - "idiom" : "ipad", - "minimum-system-version" : "7.0", - "extent" : "full-screen", - "scale" : "2x" - } - ], - "info" : { - "version" : 1, - "author" : "xcode" - } -} \ No newline at end of file diff --git a/pong-objc/Images.xcassets/LaunchImage.launchimage/Default-Landscape.png b/pong-objc/Images.xcassets/LaunchImage.launchimage/Default-Landscape.png deleted file mode 100644 index 294d41a3b95..00000000000 Binary files a/pong-objc/Images.xcassets/LaunchImage.launchimage/Default-Landscape.png and /dev/null differ diff --git a/templates/CCNode class.xctemplate/CCNode/___FILEBASENAME___.h b/templates/CCNode class.xctemplate/CCNode/___FILEBASENAME___.h deleted file mode 100755 index 583ac79f22c..00000000000 --- a/templates/CCNode class.xctemplate/CCNode/___FILEBASENAME___.h +++ /dev/null @@ -1,35 +0,0 @@ -// -// ___FILENAME___ -// -// Created by : ___FULLUSERNAME___ -// Project : ___PROJECTNAME___ -// Date : ___DATE___ -// -// Copyright (c) ___YEAR___ ___ORGANIZATIONNAME___. -// All rights reserved. -// -// ----------------------------------------------------------------- - -#import -#import "cocos2d.h" - -// ----------------------------------------------------------------- - -@interface ___FILEBASENAMEASIDENTIFIER___ : ___VARIABLE_cocos2DSubclass___ - -// ----------------------------------------------------------------- -// properties - -// ----------------------------------------------------------------- -// methods - -+ (instancetype)node; -- (instancetype)init; - -// ----------------------------------------------------------------- - -@end - - - - diff --git a/templates/CCNode class.xctemplate/CCNode/___FILEBASENAME___.m b/templates/CCNode class.xctemplate/CCNode/___FILEBASENAME___.m deleted file mode 100755 index 679316f36a3..00000000000 --- a/templates/CCNode class.xctemplate/CCNode/___FILEBASENAME___.m +++ /dev/null @@ -1,45 +0,0 @@ -// -// ___FILENAME___ -// -// Created by : ___FULLUSERNAME___ -// Project : ___PROJECTNAME___ -// Date : ___DATE___ -// -// Copyright (c) ___YEAR___ ___ORGANIZATIONNAME___. -// All rights reserved. -// -// ----------------------------------------------------------------- - -#import "___FILEBASENAME___.h" - -// ----------------------------------------------------------------- - -@implementation ___FILEBASENAMEASIDENTIFIER___ - -// ----------------------------------------------------------------- - -+ (instancetype)node -{ - return [[self alloc] init]; -} - -- (instancetype)init -{ - self = [super init]; - NSAssert(self, @"Unable to create class %@", [self class]); - // class initalization goes here - - - - - return self; -} - -// ----------------------------------------------------------------- - -@end - - - - - diff --git a/templates/CCNode class.xctemplate/TemplateIcon.icns b/templates/CCNode class.xctemplate/TemplateIcon.icns deleted file mode 100755 index 2dc0371c185..00000000000 Binary files a/templates/CCNode class.xctemplate/TemplateIcon.icns and /dev/null differ diff --git a/templates/CCNode class.xctemplate/TemplateInfo.plist b/templates/CCNode class.xctemplate/TemplateInfo.plist deleted file mode 100755 index 95f8c51d48a..00000000000 --- a/templates/CCNode class.xctemplate/TemplateInfo.plist +++ /dev/null @@ -1,48 +0,0 @@ - - - - - AllowedTypes - - public.objective-c-source - - DefaultCompletionName - MyCocos2DClass - Description - A CCNode descendant class, with a header that includes the <Foundation/Foundation.h> and "cocos2d.h" headers. - Kind - Xcode.IDEKit.TextSubstitutionFileTemplateKind - MainTemplateFile - ___FILEBASENAME___.m - Options - - - Default - CCNode - Description - What class to subclass in the new file - Identifier - cocos2DSubclass - Name - Subclass of - Required - YES - Type - combo - Values - - CCNode - - - - Platforms - - com.apple.platform.iphoneos - com.apple.platform.macosx - - SortOrder - 1 - Summary - A CCNode descendant class with a header - - diff --git a/templates/Support/Base/base.xctemplate/TemplateInfo.plist b/templates/Support/Base/base.xctemplate/TemplateInfo.plist deleted file mode 100755 index 595bd0fcc9e..00000000000 --- a/templates/Support/Base/base.xctemplate/TemplateInfo.plist +++ /dev/null @@ -1,200 +0,0 @@ - - - - - Identifier - com.cocos2d-v3.base - Kind - Xcode.Xcode3.ProjectTemplateUnitKind - Options - - - Identifier - productName - Required - - Name - Product Name - NotPersisted - - Description - Your new product's name - EmptyReplacement - ProductName - Type - text - - - Identifier - organizationName - Name - Organization Name - Description - Your company's name - Type - text - Default - ___FULLUSERNAME___ - - - Identifier - bundleIdentifierPrefix - Required - - Name - Company Identifier - Description - Your company's bundle identifier prefix - EmptyReplacement - com.yourcompany - Type - text - - - Identifier - bundleIdentifier - Name - Bundle Identifier - NotPersisted - - Description - Your new product's bundle identifier - Default - ___VARIABLE_bundleIdentifierPrefix:bundleIdentifier___.___VARIABLE_productName:RFC1034Identifier___ - Type - static - - - Project - - Configurations - - Debug - - GCC_OPTIMIZATION_LEVEL - 0 - GCC_PREPROCESSOR_DEFINITIONS - - DEBUG - COCOS2D_DEBUG=1 - - GCC_SYMBOLS_PRIVATE_EXTERN - NO - - Release - - GCC_PREPROCESSOR_DEFINITIONS - - NDEBUG - NS_BLOCK_ASSERTIONS=1 - - - - SharedSettings - - GCC_C_LANGUAGE_STANDARD - gnu99 - GCC_WARN_ABOUT_RETURN_TYPE - YES - GCC_WARN_UNUSED_VARIABLE - YES - GCC_VERSION - com.apple.compilers.llvm.clang.1_0 - CLANG_ENABLE_OBJC_ARC - YES - - - Targets - - - Name - ___PACKAGENAME___ - SharedSettings - - CLANG_ENABLE_MODULES - YES - ARCHS - $(ARCHS_STANDARD) - ALWAYS_SEARCH_USER_PATHS - NO - PRODUCT_NAME - $(TARGET_NAME) - WRAPPER_EXTENSION - app - OTHER_LDFLAGS - - -lz - -ObjC - - - BuildPhases - - - Class - Sources - - - Class - Frameworks - - - Class - Resources - - - Configurations - - Debug - - COPY_PHASE_STRIP - NO - GCC_DYNAMIC_NO_PIC - NO - - Release - - COPY_PHASE_STRIP - YES - - - ProductType - com.apple.product-type.application - - - Name - ObjectiveChipmunk - ProductType - com.apple.product-type.library.static - SharedSettings - - ARCHS - $(ARCHS_STANDARD) - ALWAYS_SEARCH_USER_PATHS - NO - PRODUCT_NAME - $(TARGET_NAME) - EXECUTABLE_PREFIX - lib - EXECUTABLE_EXTENSION - a - HEADER_SEARCH_PATHS - - "$(SRCROOT)/$(PROJECT_NAME)/Libraries/Chipmunk/chipmunk/include" - "$(SRCROOT)/$(PROJECT_NAME)/Libraries/Chipmunk/objectivec/include" - - CLANG_ENABLE_OBJC_ARC - NO - SKIP_INSTALL - YES - - BuildPhases - - - Class - Sources - - - - - - diff --git a/templates/Support/Base/base_ios.xctemplate/Resources/Default-568h@2x.png b/templates/Support/Base/base_ios.xctemplate/Resources/Default-568h@2x.png deleted file mode 100755 index 7059fa6b5ef..00000000000 Binary files a/templates/Support/Base/base_ios.xctemplate/Resources/Default-568h@2x.png and /dev/null differ diff --git a/templates/Support/Base/base_ios.xctemplate/Resources/Default-Landscape~ipad.png b/templates/Support/Base/base_ios.xctemplate/Resources/Default-Landscape~ipad.png deleted file mode 100755 index c6e06823019..00000000000 Binary files a/templates/Support/Base/base_ios.xctemplate/Resources/Default-Landscape~ipad.png and /dev/null differ diff --git a/templates/Support/Base/base_ios.xctemplate/Resources/Default.png b/templates/Support/Base/base_ios.xctemplate/Resources/Default.png deleted file mode 100755 index e52be68eef3..00000000000 Binary files a/templates/Support/Base/base_ios.xctemplate/Resources/Default.png and /dev/null differ diff --git a/templates/Support/Base/base_ios.xctemplate/Resources/Default@2x.png b/templates/Support/Base/base_ios.xctemplate/Resources/Default@2x.png deleted file mode 100755 index 20d457130bb..00000000000 Binary files a/templates/Support/Base/base_ios.xctemplate/Resources/Default@2x.png and /dev/null differ diff --git a/templates/Support/Base/base_ios.xctemplate/Resources/Icons/Icon-120.png b/templates/Support/Base/base_ios.xctemplate/Resources/Icons/Icon-120.png deleted file mode 100755 index b339374c126..00000000000 Binary files a/templates/Support/Base/base_ios.xctemplate/Resources/Icons/Icon-120.png and /dev/null differ diff --git a/templates/Support/Base/base_ios.xctemplate/Resources/Icons/Icon-72.png b/templates/Support/Base/base_ios.xctemplate/Resources/Icons/Icon-72.png deleted file mode 100755 index 3120bcbfc43..00000000000 Binary files a/templates/Support/Base/base_ios.xctemplate/Resources/Icons/Icon-72.png and /dev/null differ diff --git a/templates/Support/Base/base_ios.xctemplate/Resources/Icons/Icon-72@2x.png b/templates/Support/Base/base_ios.xctemplate/Resources/Icons/Icon-72@2x.png deleted file mode 100755 index 85a10076441..00000000000 Binary files a/templates/Support/Base/base_ios.xctemplate/Resources/Icons/Icon-72@2x.png and /dev/null differ diff --git a/templates/Support/Base/base_ios.xctemplate/Resources/Icons/Icon-76.png b/templates/Support/Base/base_ios.xctemplate/Resources/Icons/Icon-76.png deleted file mode 100755 index 89606d8f9b7..00000000000 Binary files a/templates/Support/Base/base_ios.xctemplate/Resources/Icons/Icon-76.png and /dev/null differ diff --git a/templates/Support/Base/base_ios.xctemplate/Resources/Icons/Icon-76@2x.png b/templates/Support/Base/base_ios.xctemplate/Resources/Icons/Icon-76@2x.png deleted file mode 100755 index e89233da665..00000000000 Binary files a/templates/Support/Base/base_ios.xctemplate/Resources/Icons/Icon-76@2x.png and /dev/null differ diff --git a/templates/Support/Base/base_ios.xctemplate/Resources/Icons/Icon-Small-50.png b/templates/Support/Base/base_ios.xctemplate/Resources/Icons/Icon-Small-50.png deleted file mode 100755 index b544f7703a3..00000000000 Binary files a/templates/Support/Base/base_ios.xctemplate/Resources/Icons/Icon-Small-50.png and /dev/null differ diff --git a/templates/Support/Base/base_ios.xctemplate/Resources/Icons/Icon-Small.png b/templates/Support/Base/base_ios.xctemplate/Resources/Icons/Icon-Small.png deleted file mode 100755 index 2529aae782d..00000000000 Binary files a/templates/Support/Base/base_ios.xctemplate/Resources/Icons/Icon-Small.png and /dev/null differ diff --git a/templates/Support/Base/base_ios.xctemplate/Resources/Icons/Icon-Small@2x.png b/templates/Support/Base/base_ios.xctemplate/Resources/Icons/Icon-Small@2x.png deleted file mode 100755 index 4a6c3ae5f25..00000000000 Binary files a/templates/Support/Base/base_ios.xctemplate/Resources/Icons/Icon-Small@2x.png and /dev/null differ diff --git a/templates/Support/Base/base_ios.xctemplate/Resources/Icons/Icon-Spotlight-iOS7.png b/templates/Support/Base/base_ios.xctemplate/Resources/Icons/Icon-Spotlight-iOS7.png deleted file mode 100755 index b03ab1404de..00000000000 Binary files a/templates/Support/Base/base_ios.xctemplate/Resources/Icons/Icon-Spotlight-iOS7.png and /dev/null differ diff --git a/templates/Support/Base/base_ios.xctemplate/Resources/Icons/Icon-Spotlight-iOS7@2x.png b/templates/Support/Base/base_ios.xctemplate/Resources/Icons/Icon-Spotlight-iOS7@2x.png deleted file mode 100755 index af3564c1f37..00000000000 Binary files a/templates/Support/Base/base_ios.xctemplate/Resources/Icons/Icon-Spotlight-iOS7@2x.png and /dev/null differ diff --git a/templates/Support/Base/base_ios.xctemplate/Resources/Icons/Icon-iPad-Spotlight-iOS7@2x.png b/templates/Support/Base/base_ios.xctemplate/Resources/Icons/Icon-iPad-Spotlight-iOS7@2x.png deleted file mode 100755 index 085b60d3d45..00000000000 Binary files a/templates/Support/Base/base_ios.xctemplate/Resources/Icons/Icon-iPad-Spotlight-iOS7@2x.png and /dev/null differ diff --git a/templates/Support/Base/base_ios.xctemplate/Resources/Icons/Icon.png b/templates/Support/Base/base_ios.xctemplate/Resources/Icons/Icon.png deleted file mode 100755 index ef1b347b1ea..00000000000 Binary files a/templates/Support/Base/base_ios.xctemplate/Resources/Icons/Icon.png and /dev/null differ diff --git a/templates/Support/Base/base_ios.xctemplate/Resources/Icons/Icon@2x.png b/templates/Support/Base/base_ios.xctemplate/Resources/Icons/Icon@2x.png deleted file mode 100755 index 0eec249a707..00000000000 Binary files a/templates/Support/Base/base_ios.xctemplate/Resources/Icons/Icon@2x.png and /dev/null differ diff --git a/templates/Support/Base/base_ios.xctemplate/Resources/angry.png b/templates/Support/Base/base_ios.xctemplate/Resources/angry.png deleted file mode 100755 index 4fb9d275a0c..00000000000 Binary files a/templates/Support/Base/base_ios.xctemplate/Resources/angry.png and /dev/null differ diff --git a/templates/Support/Base/base_ios.xctemplate/Resources/iTunesArtwork b/templates/Support/Base/base_ios.xctemplate/Resources/iTunesArtwork deleted file mode 100755 index a06be9e7887..00000000000 Binary files a/templates/Support/Base/base_ios.xctemplate/Resources/iTunesArtwork and /dev/null differ diff --git a/templates/Support/Base/base_ios.xctemplate/Resources/iTunesArtwork@2x b/templates/Support/Base/base_ios.xctemplate/Resources/iTunesArtwork@2x deleted file mode 100755 index 53fceda19a6..00000000000 Binary files a/templates/Support/Base/base_ios.xctemplate/Resources/iTunesArtwork@2x and /dev/null differ diff --git a/templates/Support/Base/base_ios.xctemplate/TemplateInfo.plist b/templates/Support/Base/base_ios.xctemplate/TemplateInfo.plist deleted file mode 100755 index 844bf709829..00000000000 --- a/templates/Support/Base/base_ios.xctemplate/TemplateInfo.plist +++ /dev/null @@ -1,319 +0,0 @@ - - - - - Identifier - com.cocos2d-v3.iosbase - Kind - Xcode.Xcode3.ProjectTemplateUnitKind - Platforms - - com.apple.platform.iphoneos - - Project - - SDK - iphoneos - SharedSettings - - ARCHS - $(ARCHS_STANDARD_32_BIT) - IPHONEOS_DEPLOYMENT_TARGET - 5.0 - CODE_SIGN_IDENTITY[sdk=iphoneos*] - iPhone Developer - - - Options - - - Default - Universal - Description - What device family to create a project for. - Identifier - universalDeviceFamily - Name - Device Family - SortOrder - 1 - Type - popup - Units - - Universal - - Project - - SharedSettings - - TARGETED_DEVICE_FAMILY - 1,2 - - - - iPad - - Project - - SharedSettings - - TARGETED_DEVICE_FAMILY - 2 - - - - iPhone - - Project - - SharedSettings - - TARGETED_DEVICE_FAMILY - 1 - - - - - - - Targets - - - Frameworks - - SharedSettings - - OTHER_LDFLAGS - - -lz - -ObjC - - - Configurations - - Release - - VALIDATE_PRODUCT - YES - - - - - Definitions - - Resources/Default.png - - Group - Resources - Path - Resources/Default.png - - Resources/Default@2x.png - - Group - Resources - Path - Resources/Default@2x.png - - Resources/Default-568h@2x.png - - Group - Resources - Path - Resources/Default-568h@2x.png - - Resources/Default-Landscape~ipad.png - - Group - Resources - Path - Resources/Default-Landscape~ipad.png - - Resources/Icons/Icon-72.png - - Group - - Resources - Icons - - Path - Resources/Icons/Icon-72.png - - Resources/Icons/Icon-72@2x.png - - Group - - Resources - Icons - - Path - Resources/Icons/Icon-72@2x.png - - Resources/Icons/Icon-76.png - - Group - - Resources - Icons - - Path - Resources/Icons/Icon-76.png - - Resources/Icons/Icon-76@2x.png - - Group - - Resources - Icons - - Path - Resources/Icons/Icon-76@2x.png - - Resources/Icons/Icon-120.png - - Group - - Resources - Icons - - Path - Resources/Icons/Icon-120.png - - Resources/Icons/Icon-iPad-Spotlight-iOS7@2x.png - - Group - - Resources - Icons - - Path - Resources/Icons/Icon-iPad-Spotlight-iOS7@2x.png - - Resources/Icons/Icon-Small-50.png - - Group - - Resources - Icons - - Path - Resources/Icons/Icon-Small-50.png - - Resources/Icons/Icon-Small.png - - Group - - Resources - Icons - - Path - Resources/Icons/Icon-Small.png - - Resources/Icons/Icon-Small@2x.png - - Group - - Resources - Icons - - Path - Resources/Icons/Icon-Small@2x.png - - Resources/Icons/Icon-Spotlight-iOS7.png - - Group - - Resources - Icons - - Path - Resources/Icons/Icon-Spotlight-iOS7.png - - Resources/Icons/Icon-Spotlight-iOS7@2x.png - - Group - - Resources - Icons - - Path - Resources/Icons/Icon-Spotlight-iOS7@2x.png - - Resources/Icons/Icon.png - - Group - - Resources - Icons - - Path - Resources/Icons/Icon.png - - Resources/Icons/Icon@2x.png - - Group - - Resources - Icons - - Path - Resources/Icons/Icon@2x.png - - Resources/Info.plist - - Group - Resources - Path - Resources/Info.plist - TargetIndices - - - ../iTunesArtwork - - Group - Resources - Path - Resources/iTunesArtwork - - ../iTunesArtwork@2x - - Group - Resources - Path - Resources/iTunesArtwork@2x - - libObjectiveChipmunk.a - - Group - Frameworks - Path - libObjectiveChipmunk.a - - - Nodes - - Resources/Default.png - Resources/Default@2x.png - Resources/Default-568h@2x.png - Resources/Default-Landscape~ipad.png - Resources/Icons/Icon.png - Resources/Icons/Icon@2x.png - Resources/Icons/Icon-72.png - Resources/Icons/Icon-72@2x.png - Resources/Icons/Icon-76.png - Resources/Icons/Icon-76@2x.png - Resources/Icons/Icon-120.png - Resources/Icons/Icon-iPad-Spotlight-iOS7@2x.png - Resources/Icons/Icon-Small-50.png - Resources/Icons/Icon-Small.png - Resources/Icons/Icon-Small@2x.png - Resources/Icons/Icon-Spotlight-iOS7.png - Resources/Icons/Icon-Spotlight-iOS7@2x.png - Resources/Info.plist - ../iTunesArtwork - ../iTunesArtwork@2x - libObjectiveChipmunk.a - - - diff --git a/templates/Support/Base/base_osx.xctemplate/Resources/English.lproj/InfoPlist.strings b/templates/Support/Base/base_osx.xctemplate/Resources/English.lproj/InfoPlist.strings deleted file mode 100755 index 477b28ff8f8..00000000000 --- a/templates/Support/Base/base_osx.xctemplate/Resources/English.lproj/InfoPlist.strings +++ /dev/null @@ -1,2 +0,0 @@ -/* Localized versions of Info.plist keys */ - diff --git a/templates/Support/Base/base_osx.xctemplate/Resources/English.lproj/MainMenu.xib b/templates/Support/Base/base_osx.xctemplate/Resources/English.lproj/MainMenu.xib deleted file mode 100755 index d30b2b9bee5..00000000000 --- a/templates/Support/Base/base_osx.xctemplate/Resources/English.lproj/MainMenu.xib +++ /dev/null @@ -1,896 +0,0 @@ - - - - 1060 - 10K549 - 1938 - 1038.36 - 461.00 - - com.apple.InterfaceBuilder.CocoaPlugin - 1938 - - - YES - NSOpenGLView - NSWindowTemplate - NSView - NSMenu - NSMenuItem - NSCustomObject - - - YES - com.apple.InterfaceBuilder.CocoaPlugin - - - PluginDependencyRecalculationVersion - - - - YES - - NSApplication - - - FirstResponder - - - NSApplication - - - AMainMenu - - YES - - - ___PROJECTNAME___ - - 1048576 - 2147483647 - - NSImage - NSMenuCheckmark - - - NSImage - NSMenuMixedState - - submenuAction: - - ___PROJECTNAME___ - - YES - - - About ___PROJECTNAME___ - - 2147483647 - - - - - - YES - YES - - - 1048576 - 2147483647 - - - - - - Preferences… - , - 1048576 - 2147483647 - - - - - - YES - YES - - - 1048576 - 2147483647 - - - - - - Services - - 1048576 - 2147483647 - - - submenuAction: - - Services - - YES - - _NSServicesMenu - - - - - YES - YES - - - 1048576 - 2147483647 - - - - - - Hide ___PROJECTNAME___ - h - 1048576 - 2147483647 - - - - - - Hide Others - h - 1572864 - 2147483647 - - - - - - Show All - - 1048576 - 2147483647 - - - - - - YES - YES - - - 1048576 - 2147483647 - - - - - - Quit ___PROJECTNAME___ - q - 1048576 - 2147483647 - - - - - _NSAppleMenu - - - - - View - - 1048576 - 2147483647 - - - submenuAction: - - View - - YES - - - Toggle Full Screen - f - 1048576 - 2147483647 - - - - - - - - - Window - - 1048576 - 2147483647 - - - submenuAction: - - Window - - YES - - - Minimize - m - 1048576 - 2147483647 - - - - - - Zoom - - 1048576 - 2147483647 - - - - - - YES - YES - - - 1048576 - 2147483647 - - - - - - Bring All to Front - - 1048576 - 2147483647 - - - - - _NSWindowsMenu - - - - - Help - - 2147483647 - - - submenuAction: - - Help - - YES - - - ___PROJECTNAME___ Help - ? - 1048576 - 2147483647 - - - - - _NSHelpMenu - - - - _NSMainMenu - - - 15 - 2 - {{335, 435}, {580, 416}} - 1685585920 - ___PROJECTNAME___ - NSWindow - - - - 256 - - YES - - - 1298 - - {{0, 20}, {580, 396}} - - - - 2 - - - AAAABQAAAGAAAAAIAAAADwAAAAsAAAAIAAAAAA - - - - - {580, 416} - - - - - {{0, 0}, {1680, 1028}} - {1e+13, 1e+13} - - - ___PROJECTNAMEASIDENTIFIER___AppDelegate - - - NSFontManager - - - Item - - 2147483647 - - - - - - - YES - - - terminate: - - - - 449 - - - - orderFrontStandardAboutPanel: - - - - 142 - - - - delegate - - - - 495 - - - - performMiniaturize: - - - - 37 - - - - arrangeInFront: - - - - 39 - - - - performZoom: - - - - 240 - - - - hide: - - - - 367 - - - - hideOtherApplications: - - - - 368 - - - - unhideAllApplications: - - - - 370 - - - - showHelp: - - - - 493 - - - - window - - - - 536 - - - - glView - - - - 537 - - - - toggleFullScreen: - - - - 541 - - - - - YES - - 0 - - YES - - - - - - -2 - - - File's Owner - - - -1 - - - First Responder - - - -3 - - - Application - - - 29 - - - YES - - - - - - - - - 19 - - - YES - - - - - - 56 - - - YES - - - - - - 57 - - - YES - - - - - - - - - - - - - - - - 58 - - - - - 134 - - - - - 150 - - - - - 136 - - - - - 144 - - - - - 129 - - - - - 143 - - - - - 236 - - - - - 131 - - - YES - - - - - - 149 - - - - - 145 - - - - - 130 - - - - - 24 - - - YES - - - - - - - - - 92 - - - - - 5 - - - - - 239 - - - - - 23 - - - - - 295 - - - YES - - - - - - 296 - - - YES - - - - - - 371 - - - YES - - - - - - 372 - - - YES - - - - - - 420 - - - - - 490 - - - YES - - - - - - 491 - - - YES - - - - - - 492 - - - - - 494 - - - - - 533 - - - - - 538 - - - - - 540 - - - - - - - YES - - YES - -1.IBPluginDependency - -2.IBPluginDependency - -3.IBPluginDependency - 129.IBPluginDependency - 130.IBPluginDependency - 131.IBPluginDependency - 134.IBPluginDependency - 136.IBPluginDependency - 143.IBPluginDependency - 144.IBPluginDependency - 145.IBPluginDependency - 149.IBPluginDependency - 150.IBPluginDependency - 19.IBPluginDependency - 23.IBPluginDependency - 236.IBPluginDependency - 239.IBPluginDependency - 24.IBPluginDependency - 29.IBPluginDependency - 295.IBPluginDependency - 296.IBPluginDependency - 371.IBPluginDependency - 371.IBWindowTemplateEditedContentRect - 371.NSWindowTemplate.visibleAtLaunch - 372.IBPluginDependency - 420.IBPluginDependency - 490.IBPluginDependency - 491.IBPluginDependency - 492.IBPluginDependency - 494.IBPluginDependency - 5.IBPluginDependency - 533.CustomClassName - 533.IBPluginDependency - 538.IBPluginDependency - 540.IBPluginDependency - 56.IBPluginDependency - 57.IBPluginDependency - 58.IBPluginDependency - 92.IBPluginDependency - - - YES - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - {{395, 107}, {580, 416}} - - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - CCGLView - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - - - YES - - - - - - YES - - - - - 541 - - - - YES - - MacGLView - NSOpenGLView - - IBProjectSource - ./Classes/MacGLView.h - - - - ___PROJECTNAMEASIDENTIFIER___AppDelegate - NSObject - - toggleFullScreen: - id - - - toggleFullScreen: - - toggleFullScreen: - id - - - - YES - - YES - glView - window - - - YES - MacGLView - NSWindow - - - - YES - - YES - glView - window - - - YES - - glView - MacGLView - - - window - NSWindow - - - - - IBProjectSource - ./Classes/___PROJECTNAMEASIDENTIFIER___AppDelegate.h - - - - - 0 - IBCocoaFramework - - com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 - - - YES - 3 - - YES - - YES - NSMenuCheckmark - NSMenuMixedState - - - YES - {9, 8} - {7, 2} - - - - diff --git a/templates/Support/Base/base_osx.xctemplate/Resources/Info.plist b/templates/Support/Base/base_osx.xctemplate/Resources/Info.plist deleted file mode 100755 index a633214c49f..00000000000 --- a/templates/Support/Base/base_osx.xctemplate/Resources/Info.plist +++ /dev/null @@ -1,32 +0,0 @@ - - - - - CFBundleDevelopmentRegion - English - CFBundleExecutable - ${EXECUTABLE_NAME} - CFBundleIconFile - icon - CFBundleIdentifier - ___VARIABLE_bundleIdentifierPrefix:bundleIdentifier___.${PRODUCT_NAME:rfc1034identifier} - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - ${PRODUCT_NAME} - CFBundlePackageType - APPL - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - 1 - LSMinimumSystemVersion - ${MACOSX_DEPLOYMENT_TARGET} - NSMainNibFile - MainMenu - NSPrincipalClass - NSApplication - - diff --git a/templates/Support/Base/base_osx.xctemplate/Resources/icon.icns b/templates/Support/Base/base_osx.xctemplate/Resources/icon.icns deleted file mode 100755 index 2dc0371c185..00000000000 Binary files a/templates/Support/Base/base_osx.xctemplate/Resources/icon.icns and /dev/null differ diff --git a/templates/Support/Base/base_osx.xctemplate/TemplateInfo.plist b/templates/Support/Base/base_osx.xctemplate/TemplateInfo.plist deleted file mode 100755 index ff4443dc661..00000000000 --- a/templates/Support/Base/base_osx.xctemplate/TemplateInfo.plist +++ /dev/null @@ -1,143 +0,0 @@ - - - - - Identifier - com.cocos2d-v3.macbase - Kind - Xcode.Xcode3.ProjectTemplateUnitKind - Project - - SharedSettings - - GCC_ENABLE_OBJC_EXCEPTIONS - YES - ARCHS - $(ARCHS_STANDARD_64_BIT) - MACOSX_DEPLOYMENT_TARGET - 10.8 - GCC_WARN_64_TO_32_BIT_CONVERSION - YES - - SDK - macosx - Configurations - - Debug - - ONLY_ACTIVE_ARCH - YES - - Release - - DEBUG_INFORMATION_FORMAT - dwarf-with-dsym - - - - Targets - - - SharedSettings - - OTHER_LDFLAGS - - -lz - -lsqlite3 - -ObjC - - - ProductDependencies - - 1 - - Frameworks - - QuartzCore - GLKit - OpenGL - OpenAL - AVFoundation - AudioToolbox - AppKit - Foundation - - Configurations - - Debug - - GCC_DYNAMIC_NO_PIC - NO - COPY_PHASE_STRIP - NO - - Release - - VALIDATE_PRODUCT - YES - COPY_PHASE_STRIP - YES - - - Dependencies - - 1 - - - - Platforms - - com.apple.platform.macosx - - Nodes - - Resources/English.lproj/InfoPlist.strings - Resources/English.lproj/MainMenu.xib - Resources/icon.icns - Resources/Info.plist - - Definitions - - Resources/English.lproj/InfoPlist.strings - - Group - - Resources - English.lproj - - Path - Resources/English.lproj/InfoPlist.strings - - Resources/icon.icns - - Group - - Resources - - Path - Resources/icon.icns - - Resources/English.lproj/MainMenu.xib - - Group - - Resources - English.lproj - - Path - Resources/English.lproj/MainMenu.xib - - Resources/Info.plist - - Group - - Resources - - TargetIndices - - Path - Resources/Info.plist - - - - diff --git a/templates/Support/Bundle/bundle.xctemplate/TemplateInfo.plist b/templates/Support/Bundle/bundle.xctemplate/TemplateInfo.plist deleted file mode 100755 index 3c9854676e5..00000000000 --- a/templates/Support/Bundle/bundle.xctemplate/TemplateInfo.plist +++ /dev/null @@ -1,28 +0,0 @@ - - - - - Ancestors - - com.cocos2d-v3.base - - Identifier - com.cocos2d-v3.bundlebase - Kind - Xcode.Xcode3.ProjectTemplateUnitKind - Targets - - - SharedSettings - - GCC_PRECOMPILE_PREFIX_HEADER - YES - GCC_PREFIX_HEADER - ___PACKAGENAME___/Supporting Files/Prefix.pch - INFOPLIST_FILE - ___PACKAGENAME___/Resources/Info.plist - - - - - diff --git a/templates/Support/Libraries/chipmunk.xctemplate/TemplateInfo.plist b/templates/Support/Libraries/chipmunk.xctemplate/TemplateInfo.plist deleted file mode 100755 index 7e9509a40fe..00000000000 --- a/templates/Support/Libraries/chipmunk.xctemplate/TemplateInfo.plist +++ /dev/null @@ -1,1129 +0,0 @@ - - - - - Description - This is a template description. - Identifier - com.cocos2d-v3.chipmunk - Kind - Xcode.Xcode3.ProjectTemplateUnitKind - Definitions - - Libraries/Chipmunk/chipmunk/include/chipmunk/chipmunk.h - - Group - - Libraries - Chipmunk - chipmunk - include - chipmunk - - Path - Libraries/Chipmunk/chipmunk/include/chipmunk/chipmunk.h - TargetIndices - - - Libraries/Chipmunk/chipmunk/include/chipmunk/chipmunk_ffi.h - - Group - - Libraries - Chipmunk - chipmunk - include - chipmunk - - Path - Libraries/Chipmunk/chipmunk/include/chipmunk/chipmunk_ffi.h - TargetIndices - - - Libraries/Chipmunk/chipmunk/include/chipmunk/chipmunk_private.h - - Group - - Libraries - Chipmunk - chipmunk - include - chipmunk - - Path - Libraries/Chipmunk/chipmunk/include/chipmunk/chipmunk_private.h - TargetIndices - - - Libraries/Chipmunk/chipmunk/include/chipmunk/chipmunk_types.h - - Group - - Libraries - Chipmunk - chipmunk - include - chipmunk - - Path - Libraries/Chipmunk/chipmunk/include/chipmunk/chipmunk_types.h - TargetIndices - - - Libraries/Chipmunk/chipmunk/include/chipmunk/chipmunk_unsafe.h - - Group - - Libraries - Chipmunk - chipmunk - include - chipmunk - - Path - Libraries/Chipmunk/chipmunk/include/chipmunk/chipmunk_unsafe.h - TargetIndices - - - Libraries/Chipmunk/chipmunk/include/chipmunk/cpArbiter.h - - Group - - Libraries - Chipmunk - chipmunk - include - chipmunk - - Path - Libraries/Chipmunk/chipmunk/include/chipmunk/cpArbiter.h - TargetIndices - - - Libraries/Chipmunk/chipmunk/include/chipmunk/cpBB.h - - Group - - Libraries - Chipmunk - chipmunk - include - chipmunk - - Path - Libraries/Chipmunk/chipmunk/include/chipmunk/cpBB.h - TargetIndices - - - Libraries/Chipmunk/chipmunk/include/chipmunk/cpBody.h - - Group - - Libraries - Chipmunk - chipmunk - include - chipmunk - - Path - Libraries/Chipmunk/chipmunk/include/chipmunk/cpBody.h - TargetIndices - - - Libraries/Chipmunk/chipmunk/include/chipmunk/cpConstraint.h - - Group - - Libraries - Chipmunk - chipmunk - include - chipmunk - - Path - Libraries/Chipmunk/chipmunk/include/chipmunk/cpConstraint.h - TargetIndices - - - Libraries/Chipmunk/chipmunk/include/chipmunk/cpDampedRotarySpring.h - - Group - - Libraries - Chipmunk - chipmunk - include - chipmunk - - Path - Libraries/Chipmunk/chipmunk/include/chipmunk/cpDampedRotarySpring.h - TargetIndices - - - Libraries/Chipmunk/chipmunk/include/chipmunk/cpDampedSpring.h - - Group - - Libraries - Chipmunk - chipmunk - include - chipmunk - - Path - Libraries/Chipmunk/chipmunk/include/chipmunk/cpDampedSpring.h - TargetIndices - - - Libraries/Chipmunk/chipmunk/include/chipmunk/cpGearJoint.h - - Group - - Libraries - Chipmunk - chipmunk - include - chipmunk - - Path - Libraries/Chipmunk/chipmunk/include/chipmunk/cpGearJoint.h - TargetIndices - - - Libraries/Chipmunk/chipmunk/include/chipmunk/cpGrooveJoint.h - - Group - - Libraries - Chipmunk - chipmunk - include - chipmunk - - Path - Libraries/Chipmunk/chipmunk/include/chipmunk/cpGrooveJoint.h - TargetIndices - - - Libraries/Chipmunk/chipmunk/include/chipmunk/cpPinJoint.h - - Group - - Libraries - Chipmunk - chipmunk - include - chipmunk - - Path - Libraries/Chipmunk/chipmunk/include/chipmunk/cpPinJoint.h - TargetIndices - - - Libraries/Chipmunk/chipmunk/include/chipmunk/cpPivotJoint.h - - Group - - Libraries - Chipmunk - chipmunk - include - chipmunk - - Path - Libraries/Chipmunk/chipmunk/include/chipmunk/cpPivotJoint.h - TargetIndices - - - Libraries/Chipmunk/chipmunk/include/chipmunk/cpPolyShape.h - - Group - - Libraries - Chipmunk - chipmunk - include - chipmunk - - Path - Libraries/Chipmunk/chipmunk/include/chipmunk/cpPolyShape.h - TargetIndices - - - Libraries/Chipmunk/chipmunk/include/chipmunk/cpRatchetJoint.h - - Group - - Libraries - Chipmunk - chipmunk - include - chipmunk - - Path - Libraries/Chipmunk/chipmunk/include/chipmunk/cpRatchetJoint.h - TargetIndices - - - Libraries/Chipmunk/chipmunk/include/chipmunk/cpRotaryLimitJoint.h - - Group - - Libraries - Chipmunk - chipmunk - include - chipmunk - - Path - Libraries/Chipmunk/chipmunk/include/chipmunk/cpRotaryLimitJoint.h - TargetIndices - - - Libraries/Chipmunk/chipmunk/include/chipmunk/cpShape.h - - Group - - Libraries - Chipmunk - chipmunk - include - chipmunk - - Path - Libraries/Chipmunk/chipmunk/include/chipmunk/cpShape.h - TargetIndices - - - Libraries/Chipmunk/chipmunk/include/chipmunk/cpSimpleMotor.h - - Group - - Libraries - Chipmunk - chipmunk - include - chipmunk - - Path - Libraries/Chipmunk/chipmunk/include/chipmunk/cpSimpleMotor.h - TargetIndices - - - Libraries/Chipmunk/chipmunk/include/chipmunk/cpSlideJoint.h - - Group - - Libraries - Chipmunk - chipmunk - include - chipmunk - - Path - Libraries/Chipmunk/chipmunk/include/chipmunk/cpSlideJoint.h - TargetIndices - - - Libraries/Chipmunk/chipmunk/include/chipmunk/cpSpace.h - - Group - - Libraries - Chipmunk - chipmunk - include - chipmunk - - Path - Libraries/Chipmunk/chipmunk/include/chipmunk/cpSpace.h - TargetIndices - - - Libraries/Chipmunk/chipmunk/include/chipmunk/cpSpatialIndex.h - - Group - - Libraries - Chipmunk - chipmunk - include - chipmunk - - Path - Libraries/Chipmunk/chipmunk/include/chipmunk/cpSpatialIndex.h - TargetIndices - - - Libraries/Chipmunk/chipmunk/include/chipmunk/cpTransform.h - - Group - - Libraries - Chipmunk - chipmunk - include - chipmunk - - Path - Libraries/Chipmunk/chipmunk/include/chipmunk/cpTransform.h - TargetIndices - - - Libraries/Chipmunk/chipmunk/include/chipmunk/cpVect.h - - Group - - Libraries - Chipmunk - chipmunk - include - chipmunk - - Path - Libraries/Chipmunk/chipmunk/include/chipmunk/cpVect.h - TargetIndices - - - Libraries/Chipmunk/chipmunk/src/chipmunk.c - - Group - - Libraries - Chipmunk - chipmunk - src - - Path - Libraries/Chipmunk/chipmunk/src/chipmunk.c - TargetIndices - - 1 - - - Libraries/Chipmunk/chipmunk/src/cpArbiter.c - - Group - - Libraries - Chipmunk - chipmunk - src - - Path - Libraries/Chipmunk/chipmunk/src/cpArbiter.c - TargetIndices - - 1 - - - Libraries/Chipmunk/chipmunk/src/cpArray.c - - Group - - Libraries - Chipmunk - chipmunk - src - - Path - Libraries/Chipmunk/chipmunk/src/cpArray.c - TargetIndices - - 1 - - - Libraries/Chipmunk/chipmunk/src/cpBBTree.c - - Group - - Libraries - Chipmunk - chipmunk - src - - Path - Libraries/Chipmunk/chipmunk/src/cpBBTree.c - TargetIndices - - 1 - - - Libraries/Chipmunk/chipmunk/src/cpBody.c - - Group - - Libraries - Chipmunk - chipmunk - src - - Path - Libraries/Chipmunk/chipmunk/src/cpBody.c - TargetIndices - - 1 - - - Libraries/Chipmunk/chipmunk/src/cpCollision.c - - Group - - Libraries - Chipmunk - chipmunk - src - - Path - Libraries/Chipmunk/chipmunk/src/cpCollision.c - TargetIndices - - 1 - - - Libraries/Chipmunk/chipmunk/src/cpConstraint.c - - Group - - Libraries - Chipmunk - chipmunk - src - - Path - Libraries/Chipmunk/chipmunk/src/cpConstraint.c - TargetIndices - - 1 - - - Libraries/Chipmunk/chipmunk/src/cpDampedRotarySpring.c - - Group - - Libraries - Chipmunk - chipmunk - src - - Path - Libraries/Chipmunk/chipmunk/src/cpDampedRotarySpring.c - TargetIndices - - 1 - - - Libraries/Chipmunk/chipmunk/src/cpDampedSpring.c - - Group - - Libraries - Chipmunk - chipmunk - src - - Path - Libraries/Chipmunk/chipmunk/src/cpDampedSpring.c - TargetIndices - - 1 - - - Libraries/Chipmunk/chipmunk/src/cpGearJoint.c - - Group - - Libraries - Chipmunk - chipmunk - src - - Path - Libraries/Chipmunk/chipmunk/src/cpGearJoint.c - TargetIndices - - 1 - - - Libraries/Chipmunk/chipmunk/src/cpGrooveJoint.c - - Group - - Libraries - Chipmunk - chipmunk - src - - Path - Libraries/Chipmunk/chipmunk/src/cpGrooveJoint.c - TargetIndices - - 1 - - - Libraries/Chipmunk/chipmunk/src/cpHashSet.c - - Group - - Libraries - Chipmunk - chipmunk - src - - Path - Libraries/Chipmunk/chipmunk/src/cpHashSet.c - TargetIndices - - 1 - - - Libraries/Chipmunk/chipmunk/src/cpPinJoint.c - - Group - - Libraries - Chipmunk - chipmunk - src - - Path - Libraries/Chipmunk/chipmunk/src/cpPinJoint.c - TargetIndices - - 1 - - - Libraries/Chipmunk/chipmunk/src/cpPivotJoint.c - - Group - - Libraries - Chipmunk - chipmunk - src - - Path - Libraries/Chipmunk/chipmunk/src/cpPivotJoint.c - TargetIndices - - 1 - - - Libraries/Chipmunk/chipmunk/src/cpPolyShape.c - - Group - - Libraries - Chipmunk - chipmunk - src - - Path - Libraries/Chipmunk/chipmunk/src/cpPolyShape.c - TargetIndices - - 1 - - - Libraries/Chipmunk/chipmunk/src/cpRatchetJoint.c - - Group - - Libraries - Chipmunk - chipmunk - src - - Path - Libraries/Chipmunk/chipmunk/src/cpRatchetJoint.c - TargetIndices - - 1 - - - Libraries/Chipmunk/chipmunk/src/cpRotaryLimitJoint.c - - Group - - Libraries - Chipmunk - chipmunk - src - - Path - Libraries/Chipmunk/chipmunk/src/cpRotaryLimitJoint.c - TargetIndices - - 1 - - - Libraries/Chipmunk/chipmunk/src/cpShape.c - - Group - - Libraries - Chipmunk - chipmunk - src - - Path - Libraries/Chipmunk/chipmunk/src/cpShape.c - TargetIndices - - 1 - - - Libraries/Chipmunk/chipmunk/src/cpSimpleMotor.c - - Group - - Libraries - Chipmunk - chipmunk - src - - Path - Libraries/Chipmunk/chipmunk/src/cpSimpleMotor.c - TargetIndices - - 1 - - - Libraries/Chipmunk/chipmunk/src/cpSlideJoint.c - - Group - - Libraries - Chipmunk - chipmunk - src - - Path - Libraries/Chipmunk/chipmunk/src/cpSlideJoint.c - TargetIndices - - 1 - - - Libraries/Chipmunk/chipmunk/src/cpSpace.c - - Group - - Libraries - Chipmunk - chipmunk - src - - Path - Libraries/Chipmunk/chipmunk/src/cpSpace.c - TargetIndices - - 1 - - - Libraries/Chipmunk/chipmunk/src/cpSpaceComponent.c - - Group - - Libraries - Chipmunk - chipmunk - src - - Path - Libraries/Chipmunk/chipmunk/src/cpSpaceComponent.c - TargetIndices - - 1 - - - Libraries/Chipmunk/chipmunk/src/cpSpaceDebug.c - - Group - - Libraries - Chipmunk - chipmunk - src - - Path - Libraries/Chipmunk/chipmunk/src/cpSpaceDebug.c - TargetIndices - - 1 - - - Libraries/Chipmunk/chipmunk/src/cpSpaceHash.c - - Group - - Libraries - Chipmunk - chipmunk - src - - Path - Libraries/Chipmunk/chipmunk/src/cpSpaceHash.c - TargetIndices - - 1 - - - Libraries/Chipmunk/chipmunk/src/cpSpaceQuery.c - - Group - - Libraries - Chipmunk - chipmunk - src - - Path - Libraries/Chipmunk/chipmunk/src/cpSpaceQuery.c - TargetIndices - - 1 - - - Libraries/Chipmunk/chipmunk/src/cpSpaceStep.c - - Group - - Libraries - Chipmunk - chipmunk - src - - Path - Libraries/Chipmunk/chipmunk/src/cpSpaceStep.c - TargetIndices - - 1 - - - Libraries/Chipmunk/chipmunk/src/cpSpatialIndex.c - - Group - - Libraries - Chipmunk - chipmunk - src - - Path - Libraries/Chipmunk/chipmunk/src/cpSpatialIndex.c - TargetIndices - - 1 - - - Libraries/Chipmunk/chipmunk/src/cpSweep1D.c - - Group - - Libraries - Chipmunk - chipmunk - src - - Path - Libraries/Chipmunk/chipmunk/src/cpSweep1D.c - TargetIndices - - 1 - - - Libraries/Chipmunk/chipmunk/src/prime.h - - Group - - Libraries - Chipmunk - chipmunk - src - - Path - Libraries/Chipmunk/chipmunk/src/prime.h - TargetIndices - - - Libraries/Chipmunk/objectivec/include/ObjectiveChipmunk/ChipmunkBody.h - - Group - - Libraries - Chipmunk - objectivec - include - ObjectiveChipmunk - - Path - Libraries/Chipmunk/objectivec/include/ObjectiveChipmunk/ChipmunkBody.h - TargetIndices - - - Libraries/Chipmunk/objectivec/include/ObjectiveChipmunk/ChipmunkConstraint.h - - Group - - Libraries - Chipmunk - objectivec - include - ObjectiveChipmunk - - Path - Libraries/Chipmunk/objectivec/include/ObjectiveChipmunk/ChipmunkConstraint.h - TargetIndices - - - Libraries/Chipmunk/objectivec/include/ObjectiveChipmunk/ChipmunkExtras.h - - Group - - Libraries - Chipmunk - objectivec - include - ObjectiveChipmunk - - Path - Libraries/Chipmunk/objectivec/include/ObjectiveChipmunk/ChipmunkExtras.h - TargetIndices - - - Libraries/Chipmunk/objectivec/include/ObjectiveChipmunk/ChipmunkMultiGrab.h - - Group - - Libraries - Chipmunk - objectivec - include - ObjectiveChipmunk - - Path - Libraries/Chipmunk/objectivec/include/ObjectiveChipmunk/ChipmunkMultiGrab.h - TargetIndices - - - Libraries/Chipmunk/objectivec/include/ObjectiveChipmunk/ChipmunkShape.h - - Group - - Libraries - Chipmunk - objectivec - include - ObjectiveChipmunk - - Path - Libraries/Chipmunk/objectivec/include/ObjectiveChipmunk/ChipmunkShape.h - TargetIndices - - - Libraries/Chipmunk/objectivec/include/ObjectiveChipmunk/ChipmunkSpace.h - - Group - - Libraries - Chipmunk - objectivec - include - ObjectiveChipmunk - - Path - Libraries/Chipmunk/objectivec/include/ObjectiveChipmunk/ChipmunkSpace.h - TargetIndices - - - Libraries/Chipmunk/objectivec/include/ObjectiveChipmunk/ObjectiveChipmunk.h - - Group - - Libraries - Chipmunk - objectivec - include - ObjectiveChipmunk - - Path - Libraries/Chipmunk/objectivec/include/ObjectiveChipmunk/ObjectiveChipmunk.h - TargetIndices - - - Libraries/Chipmunk/objectivec/src/ChipmunkBody.m - - Group - - Libraries - Chipmunk - objectivec - src - - Path - Libraries/Chipmunk/objectivec/src/ChipmunkBody.m - TargetIndices - - 1 - - - Libraries/Chipmunk/objectivec/src/ChipmunkConstraint.m - - Group - - Libraries - Chipmunk - objectivec - src - - Path - Libraries/Chipmunk/objectivec/src/ChipmunkConstraint.m - TargetIndices - - 1 - - - Libraries/Chipmunk/objectivec/src/ChipmunkMultiGrab.m - - Group - - Libraries - Chipmunk - objectivec - src - - Path - Libraries/Chipmunk/objectivec/src/ChipmunkMultiGrab.m - TargetIndices - - 1 - - - Libraries/Chipmunk/objectivec/src/ChipmunkShape.m - - Group - - Libraries - Chipmunk - objectivec - src - - Path - Libraries/Chipmunk/objectivec/src/ChipmunkShape.m - TargetIndices - - 1 - - - Libraries/Chipmunk/objectivec/src/ChipmunkSpace.m - - Group - - Libraries - Chipmunk - objectivec - src - - Path - Libraries/Chipmunk/objectivec/src/ChipmunkSpace.m - TargetIndices - - 1 - - - Libraries/LICENSE_Chipmunk.txt - - Group - - Libraries - - Path - Libraries/LICENSE_Chipmunk.txt - - - Nodes - - Libraries/Chipmunk/chipmunk/include/chipmunk/chipmunk.h - Libraries/Chipmunk/chipmunk/include/chipmunk/chipmunk_ffi.h - Libraries/Chipmunk/chipmunk/include/chipmunk/chipmunk_private.h - Libraries/Chipmunk/chipmunk/include/chipmunk/chipmunk_types.h - Libraries/Chipmunk/chipmunk/include/chipmunk/chipmunk_unsafe.h - Libraries/Chipmunk/chipmunk/include/chipmunk/cpArbiter.h - Libraries/Chipmunk/chipmunk/include/chipmunk/cpBB.h - Libraries/Chipmunk/chipmunk/include/chipmunk/cpBody.h - Libraries/Chipmunk/chipmunk/include/chipmunk/cpConstraint.h - Libraries/Chipmunk/chipmunk/include/chipmunk/cpDampedRotarySpring.h - Libraries/Chipmunk/chipmunk/include/chipmunk/cpDampedSpring.h - Libraries/Chipmunk/chipmunk/include/chipmunk/cpGearJoint.h - Libraries/Chipmunk/chipmunk/include/chipmunk/cpGrooveJoint.h - Libraries/Chipmunk/chipmunk/include/chipmunk/cpPinJoint.h - Libraries/Chipmunk/chipmunk/include/chipmunk/cpPivotJoint.h - Libraries/Chipmunk/chipmunk/include/chipmunk/cpPolyShape.h - Libraries/Chipmunk/chipmunk/include/chipmunk/cpRatchetJoint.h - Libraries/Chipmunk/chipmunk/include/chipmunk/cpRotaryLimitJoint.h - Libraries/Chipmunk/chipmunk/include/chipmunk/cpShape.h - Libraries/Chipmunk/chipmunk/include/chipmunk/cpSimpleMotor.h - Libraries/Chipmunk/chipmunk/include/chipmunk/cpSlideJoint.h - Libraries/Chipmunk/chipmunk/include/chipmunk/cpSpace.h - Libraries/Chipmunk/chipmunk/include/chipmunk/cpSpatialIndex.h - Libraries/Chipmunk/chipmunk/include/chipmunk/cpTransform.h - Libraries/Chipmunk/chipmunk/include/chipmunk/cpVect.h - Libraries/Chipmunk/chipmunk/src/chipmunk.c - Libraries/Chipmunk/chipmunk/src/cpArbiter.c - Libraries/Chipmunk/chipmunk/src/cpArray.c - Libraries/Chipmunk/chipmunk/src/cpBBTree.c - Libraries/Chipmunk/chipmunk/src/cpBody.c - Libraries/Chipmunk/chipmunk/src/cpCollision.c - Libraries/Chipmunk/chipmunk/src/cpConstraint.c - Libraries/Chipmunk/chipmunk/src/cpDampedRotarySpring.c - Libraries/Chipmunk/chipmunk/src/cpDampedSpring.c - Libraries/Chipmunk/chipmunk/src/cpGearJoint.c - Libraries/Chipmunk/chipmunk/src/cpGrooveJoint.c - Libraries/Chipmunk/chipmunk/src/cpHashSet.c - Libraries/Chipmunk/chipmunk/src/cpPinJoint.c - Libraries/Chipmunk/chipmunk/src/cpPivotJoint.c - Libraries/Chipmunk/chipmunk/src/cpPolyShape.c - Libraries/Chipmunk/chipmunk/src/cpRatchetJoint.c - Libraries/Chipmunk/chipmunk/src/cpRotaryLimitJoint.c - Libraries/Chipmunk/chipmunk/src/cpShape.c - Libraries/Chipmunk/chipmunk/src/cpSimpleMotor.c - Libraries/Chipmunk/chipmunk/src/cpSlideJoint.c - Libraries/Chipmunk/chipmunk/src/cpSpace.c - Libraries/Chipmunk/chipmunk/src/cpSpaceComponent.c - Libraries/Chipmunk/chipmunk/src/cpSpaceDebug.c - Libraries/Chipmunk/chipmunk/src/cpSpaceHash.c - Libraries/Chipmunk/chipmunk/src/cpSpaceQuery.c - Libraries/Chipmunk/chipmunk/src/cpSpaceStep.c - Libraries/Chipmunk/chipmunk/src/cpSpatialIndex.c - Libraries/Chipmunk/chipmunk/src/cpSweep1D.c - Libraries/Chipmunk/chipmunk/src/prime.h - Libraries/Chipmunk/objectivec/include/ObjectiveChipmunk/ChipmunkBody.h - Libraries/Chipmunk/objectivec/include/ObjectiveChipmunk/ChipmunkConstraint.h - Libraries/Chipmunk/objectivec/include/ObjectiveChipmunk/ChipmunkExtras.h - Libraries/Chipmunk/objectivec/include/ObjectiveChipmunk/ChipmunkMultiGrab.h - Libraries/Chipmunk/objectivec/include/ObjectiveChipmunk/ChipmunkShape.h - Libraries/Chipmunk/objectivec/include/ObjectiveChipmunk/ChipmunkSpace.h - Libraries/Chipmunk/objectivec/include/ObjectiveChipmunk/ObjectiveChipmunk.h - Libraries/Chipmunk/objectivec/src/ChipmunkBody.m - Libraries/Chipmunk/objectivec/src/ChipmunkConstraint.m - Libraries/Chipmunk/objectivec/src/ChipmunkMultiGrab.m - Libraries/Chipmunk/objectivec/src/ChipmunkShape.m - Libraries/Chipmunk/objectivec/src/ChipmunkSpace.m - Libraries/LICENSE_Chipmunk.txt - - Targets - - - SharedSettings - - HEADER_SEARCH_PATHS - - "$(SRCROOT)/$(PROJECT_NAME)/Libraries/Chipmunk/chipmunk/include" - "$(SRCROOT)/$(PROJECT_NAME)/Libraries/Chipmunk/objectivec/include" - - - - - - diff --git a/templates/Support/Libraries/cocos2d-base.xctemplate/TemplateInfo.plist b/templates/Support/Libraries/cocos2d-base.xctemplate/TemplateInfo.plist deleted file mode 100755 index 683c1297239..00000000000 --- a/templates/Support/Libraries/cocos2d-base.xctemplate/TemplateInfo.plist +++ /dev/null @@ -1,2124 +0,0 @@ - - - - - Description - This is a template description. - Identifier - com.cocos2d-v3.cocos2d-base - Kind - Xcode.Xcode3.ProjectTemplateUnitKind - Definitions - - Libraries/cocos2d/CCTouch.h - - Group - - Libraries - cocos2d - Touch & Mouse Handling - - Path - Libraries/cocos2d/CCTouch.h - TargetIndices - - - Libraries/cocos2d/CCTouch.m - - Group - - Libraries - cocos2d - Touch & Mouse Handling - - Path - Libraries/cocos2d/CCTouch.m - TargetIndices - - 0 - - - Libraries/cocos2d/CCTouchEvent.h - - Group - - Libraries - cocos2d - Touch & Mouse Handling - - Path - Libraries/cocos2d/CCTouchEvent.h - TargetIndices - - - Libraries/cocos2d/CCTouchEvent.m - - Group - - Libraries - cocos2d - Touch & Mouse Handling - - Path - Libraries/cocos2d/CCTouchEvent.m - TargetIndices - - 0 - - - Libraries/cocos2d/CCNoARC.m - - Group - - Libraries - cocos2d - Renderer - - Path - Libraries/cocos2d/CCNoARC.m - TargetIndices - - 0 - - - Libraries/cocos2d/CCRenderDispatch.h - - Group - - Libraries - cocos2d - Renderer - - Path - Libraries/cocos2d/CCRenderDispatch.h - TargetIndices - - - Libraries/cocos2d/CCRenderDispatch.m - - Group - - Libraries - cocos2d - Renderer - - Path - Libraries/cocos2d/CCRenderDispatch.m - TargetIndices - - 0 - - - Libraries/cocos2d/CCRendererBasicTypes_Private.h - - Group - - Libraries - cocos2d - Renderer - - Path - Libraries/cocos2d/CCRendererBasicTypes_Private.h - TargetIndices - - - Libraries/cocos2d/CCRendererBasicTypes.h - - Group - - Libraries - cocos2d - Renderer - - Path - Libraries/cocos2d/CCRendererBasicTypes.h - TargetIndices - - - Libraries/cocos2d/CCRendererBasicTypes.m - - Group - - Libraries - cocos2d - Renderer - - Path - Libraries/cocos2d/CCRendererBasicTypes.m - TargetIndices - - 0 - - - Libraries/cocos2d/CCRendererSharedTypes.h - - Group - - Libraries - cocos2d - Renderer - - Path - Libraries/cocos2d/CCRendererSharedTypes.h - TargetIndices - - - Libraries/cocos2d/NSValue+CCRenderer.h - - Group - - Libraries - cocos2d - Renderer - - Path - Libraries/cocos2d/NSValue+CCRenderer.h - TargetIndices - - - Libraries/cocos2d/NSValue+CCRenderer.m - - Group - - Libraries - cocos2d - Renderer - - Path - Libraries/cocos2d/NSValue+CCRenderer.m - TargetIndices - - 0 - - - Libraries/cocos2d/CCRenderer.h - - Group - - Libraries - cocos2d - Renderer - - Path - Libraries/cocos2d/CCRenderer.h - TargetIndices - - - Libraries/cocos2d/CCRenderer_Private.h - - Group - - Libraries - cocos2d - Renderer - - Path - Libraries/cocos2d/CCRenderer_Private.h - TargetIndices - - - Libraries/cocos2d/CCRenderer.m - - TargetIndices - - 0 - - Group - - Libraries - cocos2d - Renderer - - Path - Libraries/cocos2d/CCRenderer.m - - Libraries/cocos2d/CCShader.h - - Group - - Libraries - cocos2d - Renderer - - Path - Libraries/cocos2d/CCShader.h - TargetIndices - - - Libraries/cocos2d/CCShader_Private.h - - Group - - Libraries - cocos2d - Renderer - - Path - Libraries/cocos2d/CCShader_Private.h - TargetIndices - - - Libraries/cocos2d/CCShader.m - - TargetIndices - - 0 - - Group - - Libraries - cocos2d - Renderer - - Path - Libraries/cocos2d/CCShader.m - - Libraries/cocos2d/CCCache.h - - Group - - Libraries - cocos2d - Support - - Path - Libraries/cocos2d/CCCache.h - TargetIndices - - - Libraries/cocos2d/CCCache.m - - TargetIndices - - 0 - - Group - - Libraries - cocos2d - Support - - Path - Libraries/cocos2d/CCCache.m - - Libraries/cocos2d/CCAction.h - - Group - - Libraries - cocos2d - Actions - - Path - Libraries/cocos2d/CCAction.h - TargetIndices - - - Libraries/cocos2d/CCAction.m - - Group - - Libraries - cocos2d - Actions - - Path - Libraries/cocos2d/CCAction.m - TargetIndices - - 0 - - - Libraries/cocos2d/CCActionCatmullRom.h - - Group - - Libraries - cocos2d - Actions - - Path - Libraries/cocos2d/CCActionCatmullRom.h - TargetIndices - - - Libraries/cocos2d/CCActionCatmullRom.m - - Group - - Libraries - cocos2d - Actions - - Path - Libraries/cocos2d/CCActionCatmullRom.m - TargetIndices - - 0 - - - Libraries/cocos2d/CCActionEase.h - - Group - - Libraries - cocos2d - Actions - - Path - Libraries/cocos2d/CCActionEase.h - TargetIndices - - - Libraries/cocos2d/CCActionEase.m - - Group - - Libraries - cocos2d - Actions - - Path - Libraries/cocos2d/CCActionEase.m - TargetIndices - - 0 - - - Libraries/cocos2d/CCActionInstant.h - - Group - - Libraries - cocos2d - Actions - - Path - Libraries/cocos2d/CCActionInstant.h - TargetIndices - - - Libraries/cocos2d/CCActionInstant.m - - Group - - Libraries - cocos2d - Actions - - Path - Libraries/cocos2d/CCActionInstant.m - TargetIndices - - 0 - - - Libraries/cocos2d/CCActionInterval.h - - Group - - Libraries - cocos2d - Actions - - Path - Libraries/cocos2d/CCActionInterval.h - TargetIndices - - - Libraries/cocos2d/CCActionInterval.m - - Group - - Libraries - cocos2d - Actions - - Path - Libraries/cocos2d/CCActionInterval.m - TargetIndices - - 0 - - - Libraries/cocos2d/CCActionManager.h - - Group - - Libraries - cocos2d - Actions - - Path - Libraries/cocos2d/CCActionManager.h - TargetIndices - - - Libraries/cocos2d/CCActionManager_Private.h - - Group - - Libraries - cocos2d - Actions - - Path - Libraries/cocos2d/CCActionManager_Private.h - TargetIndices - - - Libraries/cocos2d/CCActionManager.m - - Group - - Libraries - cocos2d - Actions - - Path - Libraries/cocos2d/CCActionManager.m - TargetIndices - - 0 - - - Libraries/cocos2d/CCActionProgressTimer.h - - Group - - Libraries - cocos2d - Actions - - Path - Libraries/cocos2d/CCActionProgressTimer.h - TargetIndices - - - Libraries/cocos2d/CCActionProgressTimer.m - - Group - - Libraries - cocos2d - Actions - - Path - Libraries/cocos2d/CCActionProgressTimer.m - TargetIndices - - 0 - - - Libraries/cocos2d/CCActionTween.h - - Group - - Libraries - cocos2d - Actions - - Path - Libraries/cocos2d/CCActionTween.h - TargetIndices - - - Libraries/cocos2d/CCActionTween.m - - Group - - Libraries - cocos2d - Actions - - Path - Libraries/cocos2d/CCActionTween.m - TargetIndices - - 0 - - - Libraries/cocos2d/CCAnimation.h - - Group - - Libraries - cocos2d - Sprite & Animation Nodes - - Path - Libraries/cocos2d/CCAnimation.h - TargetIndices - - - Libraries/cocos2d/CCAnimation.m - - Group - - Libraries - cocos2d - Sprite & Animation Nodes - - Path - Libraries/cocos2d/CCAnimation.m - TargetIndices - - 0 - - - Libraries/cocos2d/CCAnimationCache.h - - Group - - Libraries - cocos2d - Sprite & Animation Nodes - - Path - Libraries/cocos2d/CCAnimationCache.h - TargetIndices - - - Libraries/cocos2d/CCAnimationCache.m - - Group - - Libraries - cocos2d - Sprite & Animation Nodes - - Path - Libraries/cocos2d/CCAnimationCache.m - TargetIndices - - 0 - - - Libraries/cocos2d/CCClippingNode.h - - Group - - Libraries - cocos2d - Misc Nodes - - Path - Libraries/cocos2d/CCClippingNode.h - TargetIndices - - - Libraries/cocos2d/CCClippingNode.m - - Group - - Libraries - cocos2d - Misc Nodes - - Path - Libraries/cocos2d/CCClippingNode.m - TargetIndices - - 0 - - - Libraries/cocos2d/ccConfig.h - - Group - - Libraries - cocos2d - - Path - Libraries/cocos2d/ccConfig.h - TargetIndices - - - Libraries/cocos2d/CCConfiguration.h - - Group - - Libraries - cocos2d - - Path - Libraries/cocos2d/CCConfiguration.h - TargetIndices - - - Libraries/cocos2d/CCConfiguration.m - - Group - - Libraries - cocos2d - - Path - Libraries/cocos2d/CCConfiguration.m - TargetIndices - - 0 - - - Libraries/cocos2d/CCDirector_Private.h - - Group - - Libraries - cocos2d - - Path - Libraries/cocos2d/CCDirector_Private.h - TargetIndices - - - Libraries/cocos2d/CCDirector.h - - Group - - Libraries - cocos2d - - Path - Libraries/cocos2d/CCDirector.h - TargetIndices - - - Libraries/cocos2d/CCDirector.m - - Group - - Libraries - cocos2d - - Path - Libraries/cocos2d/CCDirector.m - TargetIndices - - 0 - - - Libraries/cocos2d/CCDrawNode.h - - Group - - Libraries - cocos2d - Draw Nodes - - Path - Libraries/cocos2d/CCDrawNode.h - TargetIndices - - - Libraries/cocos2d/CCDrawNode.m - - Group - - Libraries - cocos2d - Draw Nodes - - Path - Libraries/cocos2d/CCDrawNode.m - TargetIndices - - 0 - - - Libraries/cocos2d/ccFPSImages.h - - Group - - Libraries - cocos2d - - Path - Libraries/cocos2d/ccFPSImages.h - TargetIndices - - - Libraries/cocos2d/ccFPSImages.m - - Group - - Libraries - cocos2d - - Path - Libraries/cocos2d/ccFPSImages.m - TargetIndices - - 0 - - - Libraries/cocos2d/CCLabelBMFont_Private.h - - Group - - Libraries - cocos2d - Label Nodes - - Path - Libraries/cocos2d/CCLabelBMFont_Private.h - TargetIndices - - - Libraries/cocos2d/CCLabelBMFont.h - - Group - - Libraries - cocos2d - Label Nodes - - Path - Libraries/cocos2d/CCLabelBMFont.h - TargetIndices - - - Libraries/cocos2d/CCLabelBMFont.m - - Group - - Libraries - cocos2d - Label Nodes - - Path - Libraries/cocos2d/CCLabelBMFont.m - TargetIndices - - 0 - - - Libraries/cocos2d/CCLabelTTF.h - - Group - - Libraries - cocos2d - Label Nodes - - Path - Libraries/cocos2d/CCLabelTTF.h - TargetIndices - - - Libraries/cocos2d/CCLabelTTF.m - - Group - - Libraries - cocos2d - Label Nodes - - Path - Libraries/cocos2d/CCLabelTTF.m - TargetIndices - - 0 - - - Libraries/cocos2d/CCNodeColor.h - - Group - - Libraries - cocos2d - Misc Nodes - - Path - Libraries/cocos2d/CCNodeColor.h - TargetIndices - - - Libraries/cocos2d/CCNodeColor.m - - Group - - Libraries - cocos2d - Misc Nodes - - Path - Libraries/cocos2d/CCNodeColor.m - TargetIndices - - 0 - - - Libraries/cocos2d/CCLayout.h - - Group - - Libraries - cocos2d - Layouts - - Path - Libraries/cocos2d/CCLayout.h - TargetIndices - - - Libraries/cocos2d/CCLayout.m - - Group - - Libraries - cocos2d - Layouts - - Path - Libraries/cocos2d/CCLayout.m - TargetIndices - - 0 - - - Libraries/cocos2d/CCLayoutBox.h - - Group - - Libraries - cocos2d - Layouts - - Path - Libraries/cocos2d/CCLayoutBox.h - TargetIndices - - - Libraries/cocos2d/CCLayoutBox.m - - Group - - Libraries - cocos2d - Layouts - - Path - Libraries/cocos2d/CCLayoutBox.m - TargetIndices - - 0 - - - Libraries/cocos2d/ccMacros.h - - Group - - Libraries - cocos2d - - Path - Libraries/cocos2d/ccMacros.h - TargetIndices - - - Libraries/cocos2d/CCMotionStreak.h - - Group - - Libraries - cocos2d - Misc Nodes - - Path - Libraries/cocos2d/CCMotionStreak.h - TargetIndices - - - Libraries/cocos2d/CCMotionStreak.m - - Group - - Libraries - cocos2d - Misc Nodes - - Path - Libraries/cocos2d/CCMotionStreak.m - TargetIndices - - 0 - - - Libraries/cocos2d/CCNode_Private.h - - Group - - Libraries - cocos2d - Base Nodes - - Path - Libraries/cocos2d/CCNode_Private.h - TargetIndices - - - Libraries/cocos2d/CCNode.h - - Group - - Libraries - cocos2d - Base Nodes - - Path - Libraries/cocos2d/CCNode.h - TargetIndices - - - Libraries/cocos2d/CCNode.m - - Group - - Libraries - cocos2d - Base Nodes - - Path - Libraries/cocos2d/CCNode.m - TargetIndices - - 0 - - - Libraries/cocos2d/CCNode+Debug.h - - Group - - Libraries - cocos2d - Base Nodes - - Path - Libraries/cocos2d/CCNode+Debug.h - TargetIndices - - - Libraries/cocos2d/CCNode+Debug.m - - Group - - Libraries - cocos2d - Base Nodes - - Path - Libraries/cocos2d/CCNode+Debug.m - TargetIndices - - 0 - - - Libraries/cocos2d/CCParallaxNode.h - - Group - - Libraries - cocos2d - Tile Map & Parallax Nodes - - Path - Libraries/cocos2d/CCParallaxNode.h - TargetIndices - - - Libraries/cocos2d/CCParallaxNode.m - - Group - - Libraries - cocos2d - Tile Map & Parallax Nodes - - Path - Libraries/cocos2d/CCParallaxNode.m - TargetIndices - - 0 - - - Libraries/cocos2d/CCParticleBatchNode.h - - Group - - Libraries - cocos2d - Particle Nodes - - Path - Libraries/cocos2d/CCParticleBatchNode.h - TargetIndices - - - Libraries/cocos2d/CCParticleBatchNode.m - - Group - - Libraries - cocos2d - Particle Nodes - - Path - Libraries/cocos2d/CCParticleBatchNode.m - TargetIndices - - 0 - - - Libraries/cocos2d/CCParticleExamples.h - - Group - - Libraries - cocos2d - Particle Nodes - - Path - Libraries/cocos2d/CCParticleExamples.h - TargetIndices - - - Libraries/cocos2d/CCParticleExamples.m - - Group - - Libraries - cocos2d - Particle Nodes - - Path - Libraries/cocos2d/CCParticleExamples.m - TargetIndices - - 0 - - - Libraries/cocos2d/CCParticleSystem_Private.h - - Group - - Libraries - cocos2d - Particle Nodes - - Path - Libraries/cocos2d/CCParticleSystem_Private.h - TargetIndices - - - Libraries/cocos2d/CCParticleSystem.h - - Group - - Libraries - cocos2d - Particle Nodes - - Path - Libraries/cocos2d/CCParticleSystem.h - TargetIndices - - - Libraries/cocos2d/CCParticleSystem.m - - Group - - Libraries - cocos2d - Particle Nodes - - Path - Libraries/cocos2d/CCParticleSystem.m - TargetIndices - - 0 - - - Libraries/cocos2d/CCParticleSystemBase_Private.h - - Group - - Libraries - cocos2d - Particle Nodes - - Path - Libraries/cocos2d/CCParticleSystemBase_Private.h - TargetIndices - - - Libraries/cocos2d/CCParticleSystemBase.h - - Group - - Libraries - cocos2d - Particle Nodes - - Path - Libraries/cocos2d/CCParticleSystemBase.h - TargetIndices - - - Libraries/cocos2d/CCParticleSystemBase.m - - Group - - Libraries - cocos2d - Particle Nodes - - Path - Libraries/cocos2d/CCParticleSystemBase.m - TargetIndices - - 0 - - - Libraries/cocos2d/CCPhysics+ObjectiveChipmunk.h - - Group - - Libraries - cocos2d - Physics - - Path - Libraries/cocos2d/CCPhysics+ObjectiveChipmunk.h - TargetIndices - - - Libraries/cocos2d/CCPhysicsBody.h - - Group - - Libraries - cocos2d - Physics - - Path - Libraries/cocos2d/CCPhysicsBody.h - TargetIndices - - - Libraries/cocos2d/CCPhysicsBody.m - - Group - - Libraries - cocos2d - Physics - - Path - Libraries/cocos2d/CCPhysicsBody.m - TargetIndices - - 0 - - - Libraries/cocos2d/CCPhysicsJoint.h - - Group - - Libraries - cocos2d - Physics - - Path - Libraries/cocos2d/CCPhysicsJoint.h - TargetIndices - - - Libraries/cocos2d/CCPhysicsJoint.m - - Group - - Libraries - cocos2d - Physics - - Path - Libraries/cocos2d/CCPhysicsJoint.m - TargetIndices - - 0 - - - Libraries/cocos2d/CCPhysicsNode.h - - Group - - Libraries - cocos2d - Physics - - Path - Libraries/cocos2d/CCPhysicsNode.h - TargetIndices - - - Libraries/cocos2d/CCPhysicsNode.m - - Group - - Libraries - cocos2d - Physics - - Path - Libraries/cocos2d/CCPhysicsNode.m - TargetIndices - - 0 - - - Libraries/cocos2d/CCPhysicsShape.h - - Group - - Libraries - cocos2d - Physics - - Path - Libraries/cocos2d/CCPhysicsShape.h - TargetIndices - - - Libraries/cocos2d/CCPhysicsShape.m - - Group - - Libraries - cocos2d - Physics - - Path - Libraries/cocos2d/CCPhysicsShape.m - TargetIndices - - 0 - - - Libraries/cocos2d/CCProgressNode_Private.h - - Group - - Libraries - cocos2d - Misc Nodes - - Path - Libraries/cocos2d/CCProgressNode_Private.h - TargetIndices - - - Libraries/cocos2d/CCProgressNode.h - - Group - - Libraries - cocos2d - Misc Nodes - - Path - Libraries/cocos2d/CCProgressNode.h - TargetIndices - - - Libraries/cocos2d/CCProgressNode.m - - Group - - Libraries - cocos2d - Misc Nodes - - Path - Libraries/cocos2d/CCProgressNode.m - TargetIndices - - 0 - - - Libraries/cocos2d/CCProtocols.h - - Group - - Libraries - cocos2d - - Path - Libraries/cocos2d/CCProtocols.h - TargetIndices - - - Libraries/cocos2d/CCRenderTexture.h - - Group - - Libraries - cocos2d - Misc Nodes - - Path - Libraries/cocos2d/CCRenderTexture.h - TargetIndices - - - Libraries/cocos2d/CCRenderTexture_Private.h - - Group - - Libraries - cocos2d - Misc Nodes - - Path - Libraries/cocos2d/CCRenderTexture_Private.h - TargetIndices - - - Libraries/cocos2d/CCRenderTexture.m - - Group - - Libraries - cocos2d - Misc Nodes - - Path - Libraries/cocos2d/CCRenderTexture.m - TargetIndices - - 0 - - - Libraries/cocos2d/CCResponder.h - - Group - - Libraries - cocos2d - Touch & Mouse Handling - - Path - Libraries/cocos2d/CCResponder.h - TargetIndices - - - Libraries/cocos2d/CCResponder.m - - Group - - Libraries - cocos2d - Touch & Mouse Handling - - Path - Libraries/cocos2d/CCResponder.m - TargetIndices - - 0 - - - Libraries/cocos2d/CCResponderManager.h - - Group - - Libraries - cocos2d - Touch & Mouse Handling - - Path - Libraries/cocos2d/CCResponderManager.h - TargetIndices - - - Libraries/cocos2d/CCResponderManager.m - - Group - - Libraries - cocos2d - Touch & Mouse Handling - - Path - Libraries/cocos2d/CCResponderManager.m - TargetIndices - - 0 - - - Libraries/cocos2d/CCScene.h - - Group - - Libraries - cocos2d - Layers, Scenes, Transition Nodes - - Path - Libraries/cocos2d/CCScene.h - TargetIndices - - - Libraries/cocos2d/CCScene.m - - Group - - Libraries - cocos2d - Layers, Scenes, Transition Nodes - - Path - Libraries/cocos2d/CCScene.m - TargetIndices - - 0 - - - Libraries/cocos2d/CCScheduler.h - - Group - - Libraries - cocos2d - - Path - Libraries/cocos2d/CCScheduler.h - TargetIndices - - - Libraries/cocos2d/CCScheduler.m - - Group - - Libraries - cocos2d - - Path - Libraries/cocos2d/CCScheduler.m - TargetIndices - - 0 - - - Libraries/cocos2d/CCSprite_Private.h - - Group - - Libraries - cocos2d - Sprite & Animation Nodes - - Path - Libraries/cocos2d/CCSprite_Private.h - TargetIndices - - - Libraries/cocos2d/CCSprite.h - - Group - - Libraries - cocos2d - Sprite & Animation Nodes - - Path - Libraries/cocos2d/CCSprite.h - TargetIndices - - - Libraries/cocos2d/CCSprite.m - - Group - - Libraries - cocos2d - Sprite & Animation Nodes - - Path - Libraries/cocos2d/CCSprite.m - TargetIndices - - 0 - - - Libraries/cocos2d/CCSprite9Slice.h - - Group - - Libraries - cocos2d - Sprite & Animation Nodes - - Path - Libraries/cocos2d/CCSprite9Slice.h - TargetIndices - - - Libraries/cocos2d/CCSprite9Slice.m - - Group - - Libraries - cocos2d - Sprite & Animation Nodes - - Path - Libraries/cocos2d/CCSprite9Slice.m - TargetIndices - - 0 - - - Libraries/cocos2d/CCSpriteBatchNode.h - - Group - - Libraries - cocos2d - Sprite & Animation Nodes - - Path - Libraries/cocos2d/CCSpriteBatchNode.h - TargetIndices - - - Libraries/cocos2d/CCSpriteBatchNode.m - - Group - - Libraries - cocos2d - Sprite & Animation Nodes - - Path - Libraries/cocos2d/CCSpriteBatchNode.m - TargetIndices - - 0 - - - Libraries/cocos2d/CCSpriteFrame.h - - Group - - Libraries - cocos2d - Sprite & Animation Nodes - - Path - Libraries/cocos2d/CCSpriteFrame.h - TargetIndices - - - Libraries/cocos2d/CCSpriteFrame.m - - Group - - Libraries - cocos2d - Sprite & Animation Nodes - - Path - Libraries/cocos2d/CCSpriteFrame.m - TargetIndices - - 0 - - - Libraries/cocos2d/CCSpriteFrameCache.h - - Group - - Libraries - cocos2d - Sprite & Animation Nodes - - Path - Libraries/cocos2d/CCSpriteFrameCache.h - TargetIndices - - - Libraries/cocos2d/CCSpriteFrameCache.m - - Group - - Libraries - cocos2d - Sprite & Animation Nodes - - Path - Libraries/cocos2d/CCSpriteFrameCache.m - TargetIndices - - 0 - - - Libraries/cocos2d/CCTexture_Private.h - - Group - - Libraries - cocos2d - Textures - - Path - Libraries/cocos2d/CCTexture_Private.h - TargetIndices - - - Libraries/cocos2d/CCTexture.h - - Group - - Libraries - cocos2d - Textures - - Path - Libraries/cocos2d/CCTexture.h - TargetIndices - - - Libraries/cocos2d/CCTexture.m - - Group - - Libraries - cocos2d - Textures - - Path - Libraries/cocos2d/CCTexture.m - TargetIndices - - 0 - - - Libraries/cocos2d/CCTextureCache.h - - Group - - Libraries - cocos2d - Textures - - Path - Libraries/cocos2d/CCTextureCache.h - TargetIndices - - - Libraries/cocos2d/CCTextureCache.m - - Group - - Libraries - cocos2d - Textures - - Path - Libraries/cocos2d/CCTextureCache.m - TargetIndices - - 0 - - - Libraries/cocos2d/CCTexturePVR.h - - Group - - Libraries - cocos2d - Textures - - Path - Libraries/cocos2d/CCTexturePVR.h - TargetIndices - - - Libraries/cocos2d/CCTexturePVR.m - - Group - - Libraries - cocos2d - Textures - - Path - Libraries/cocos2d/CCTexturePVR.m - TargetIndices - - 0 - - - Libraries/cocos2d/CCTiledMap.h - - Group - - Libraries - cocos2d - Tile Map & Parallax Nodes - - Path - Libraries/cocos2d/CCTiledMap.h - TargetIndices - - - Libraries/cocos2d/CCTiledMap.m - - Group - - Libraries - cocos2d - Tile Map & Parallax Nodes - - Path - Libraries/cocos2d/CCTiledMap.m - TargetIndices - - 0 - - - Libraries/cocos2d/CCTiledMapLayer_Private.h - - Group - - Libraries - cocos2d - Tile Map & Parallax Nodes - - Path - Libraries/cocos2d/CCTiledMapLayer_Private.h - TargetIndices - - - Libraries/cocos2d/CCTiledMapLayer.h - - Group - - Libraries - cocos2d - Tile Map & Parallax Nodes - - Path - Libraries/cocos2d/CCTiledMapLayer.h - TargetIndices - - - Libraries/cocos2d/CCTiledMapLayer.m - - Group - - Libraries - cocos2d - Tile Map & Parallax Nodes - - Path - Libraries/cocos2d/CCTiledMapLayer.m - TargetIndices - - 0 - - - Libraries/cocos2d/CCTiledMapObjectGroup.h - - Group - - Libraries - cocos2d - Tile Map & Parallax Nodes - - Path - Libraries/cocos2d/CCTiledMapObjectGroup.h - TargetIndices - - - Libraries/cocos2d/CCTiledMapObjectGroup.m - - Group - - Libraries - cocos2d - Tile Map & Parallax Nodes - - Path - Libraries/cocos2d/CCTiledMapObjectGroup.m - TargetIndices - - 0 - - - Libraries/cocos2d/CCTMXXMLParser.h - - Group - - Libraries - cocos2d - Tile Map & Parallax Nodes - - Path - Libraries/cocos2d/CCTMXXMLParser.h - TargetIndices - - - Libraries/cocos2d/CCTMXXMLParser.m - - Group - - Libraries - cocos2d - Tile Map & Parallax Nodes - - Path - Libraries/cocos2d/CCTMXXMLParser.m - TargetIndices - - 0 - - - Libraries/cocos2d/CCTransition.h - - Group - - Libraries - cocos2d - Layers, Scenes, Transition Nodes - - Path - Libraries/cocos2d/CCTransition.h - TargetIndices - - - Libraries/cocos2d/CCTransition.m - - Group - - Libraries - cocos2d - Layers, Scenes, Transition Nodes - - Path - Libraries/cocos2d/CCTransition.m - TargetIndices - - 0 - - - Libraries/cocos2d/ccTypes.h - - Group - - Libraries - cocos2d - - Path - Libraries/cocos2d/ccTypes.h - TargetIndices - - - Libraries/cocos2d/cocos2d.h - - Group - - Libraries - cocos2d - - Path - Libraries/cocos2d/cocos2d.h - TargetIndices - - - Libraries/cocos2d/cocos2d.m - - Group - - Libraries - cocos2d - - Path - Libraries/cocos2d/cocos2d.m - TargetIndices - - 0 - - - Libraries/cocos2d/CCRendererGLSupport.m - - Group - - Libraries - cocos2d - - Path - Libraries/cocos2d/CCRendererGLSupport.m - TargetIndices - - 0 - - - Libraries/LICENSE_cocos2d.txt - - Group - - Libraries - - Path - Libraries/LICENSE_cocos2d.txt - - - Nodes - - Libraries/cocos2d/CCRendererGLSupport.m - Libraries/cocos2d/CCNoARC.m - Libraries/cocos2d/CCRenderDispatch.h - Libraries/cocos2d/CCRenderDispatch.m - Libraries/cocos2d/CCRendererBasicTypes_Private.h - Libraries/cocos2d/CCRendererBasicTypes.h - Libraries/cocos2d/CCRendererBasicTypes.m - Libraries/cocos2d/CCRendererSharedTypes.h - Libraries/cocos2d/NSValue+CCRenderer.h - Libraries/cocos2d/NSValue+CCRenderer.m - Libraries/cocos2d/CCTouch.h - Libraries/cocos2d/CCTouch.m - Libraries/cocos2d/CCTouchEvent.h - Libraries/cocos2d/CCTouchEvent.m - Libraries/cocos2d/CCRenderer.h - Libraries/cocos2d/CCRenderer_Private.h - Libraries/cocos2d/CCRenderer.m - Libraries/cocos2d/CCShader.h - Libraries/cocos2d/CCShader_Private.h - Libraries/cocos2d/CCShader.m - Libraries/cocos2d/CCCache.h - Libraries/cocos2d/CCCache.m - Libraries/cocos2d/CCAction.h - Libraries/cocos2d/CCAction.m - Libraries/cocos2d/CCActionCatmullRom.h - Libraries/cocos2d/CCActionCatmullRom.m - Libraries/cocos2d/CCActionEase.h - Libraries/cocos2d/CCActionEase.m - Libraries/cocos2d/CCActionInstant.h - Libraries/cocos2d/CCActionInstant.m - Libraries/cocos2d/CCActionInterval.h - Libraries/cocos2d/CCActionInterval.m - Libraries/cocos2d/CCActionManager.h - Libraries/cocos2d/CCActionManager_Private.h - Libraries/cocos2d/CCActionManager.m - Libraries/cocos2d/CCActionProgressTimer.h - Libraries/cocos2d/CCActionProgressTimer.m - Libraries/cocos2d/CCActionTween.h - Libraries/cocos2d/CCActionTween.m - Libraries/cocos2d/CCAnimation.h - Libraries/cocos2d/CCAnimation.m - Libraries/cocos2d/CCAnimationCache.h - Libraries/cocos2d/CCAnimationCache.m - Libraries/cocos2d/CCClippingNode.h - Libraries/cocos2d/CCClippingNode.m - Libraries/cocos2d/ccConfig.h - Libraries/cocos2d/CCConfiguration.h - Libraries/cocos2d/CCConfiguration.m - Libraries/cocos2d/CCDirector_Private.h - Libraries/cocos2d/CCDirector.h - Libraries/cocos2d/CCDirector.m - Libraries/cocos2d/CCDrawNode.h - Libraries/cocos2d/CCDrawNode.m - Libraries/cocos2d/ccFPSImages.h - Libraries/cocos2d/ccFPSImages.m - Libraries/cocos2d/CCLabelBMFont_Private.h - Libraries/cocos2d/CCLabelBMFont.h - Libraries/cocos2d/CCLabelBMFont.m - Libraries/cocos2d/CCLabelTTF.h - Libraries/cocos2d/CCLabelTTF.m - Libraries/cocos2d/CCNodeColor.h - Libraries/cocos2d/CCNodeColor.m - Libraries/cocos2d/CCLayout.h - Libraries/cocos2d/CCLayout.m - Libraries/cocos2d/CCLayoutBox.h - Libraries/cocos2d/CCLayoutBox.m - Libraries/cocos2d/ccMacros.h - Libraries/cocos2d/CCMotionStreak.h - Libraries/cocos2d/CCMotionStreak.m - Libraries/cocos2d/CCNode_Private.h - Libraries/cocos2d/CCNode.h - Libraries/cocos2d/CCNode.m - Libraries/cocos2d/CCNode+Debug.h - Libraries/cocos2d/CCNode+Debug.m - Libraries/cocos2d/CCParallaxNode.h - Libraries/cocos2d/CCParallaxNode.m - Libraries/cocos2d/CCParticleBatchNode.h - Libraries/cocos2d/CCParticleBatchNode.m - Libraries/cocos2d/CCParticleExamples.h - Libraries/cocos2d/CCParticleExamples.m - Libraries/cocos2d/CCParticleSystem_Private.h - Libraries/cocos2d/CCParticleSystem.h - Libraries/cocos2d/CCParticleSystem.m - Libraries/cocos2d/CCParticleSystemBase_Private.h - Libraries/cocos2d/CCParticleSystemBase.h - Libraries/cocos2d/CCParticleSystemBase.m - Libraries/cocos2d/CCPhysics+ObjectiveChipmunk.h - Libraries/cocos2d/CCPhysicsBody.h - Libraries/cocos2d/CCPhysicsBody.m - Libraries/cocos2d/CCPhysicsJoint.h - Libraries/cocos2d/CCPhysicsJoint.m - Libraries/cocos2d/CCPhysicsNode.h - Libraries/cocos2d/CCPhysicsNode.m - Libraries/cocos2d/CCPhysicsShape.h - Libraries/cocos2d/CCPhysicsShape.m - Libraries/cocos2d/CCProgressNode_Private.h - Libraries/cocos2d/CCProgressNode.h - Libraries/cocos2d/CCProgressNode.m - Libraries/cocos2d/CCProtocols.h - Libraries/cocos2d/CCRenderTexture.h - Libraries/cocos2d/CCRenderTexture_Private.h - Libraries/cocos2d/CCRenderTexture.m - Libraries/cocos2d/CCResponder.h - Libraries/cocos2d/CCResponder.m - Libraries/cocos2d/CCResponderManager.h - Libraries/cocos2d/CCResponderManager.m - Libraries/cocos2d/CCScene.h - Libraries/cocos2d/CCScene.m - Libraries/cocos2d/CCScheduler.h - Libraries/cocos2d/CCScheduler.m - Libraries/cocos2d/CCSprite_Private.h - Libraries/cocos2d/CCSprite.h - Libraries/cocos2d/CCSprite.m - Libraries/cocos2d/CCSprite9Slice.h - Libraries/cocos2d/CCSprite9Slice.m - Libraries/cocos2d/CCSpriteBatchNode.h - Libraries/cocos2d/CCSpriteBatchNode.m - Libraries/cocos2d/CCSpriteFrame.h - Libraries/cocos2d/CCSpriteFrame.m - Libraries/cocos2d/CCSpriteFrameCache.h - Libraries/cocos2d/CCSpriteFrameCache.m - Libraries/cocos2d/CCTexture_Private.h - Libraries/cocos2d/CCTexture.h - Libraries/cocos2d/CCTexture.m - Libraries/cocos2d/CCTextureCache.h - Libraries/cocos2d/CCTextureCache.m - Libraries/cocos2d/CCTexturePVR.h - Libraries/cocos2d/CCTexturePVR.m - Libraries/cocos2d/CCTiledMap.h - Libraries/cocos2d/CCTiledMap.m - Libraries/cocos2d/CCTiledMapLayer_Private.h - Libraries/cocos2d/CCTiledMapLayer.h - Libraries/cocos2d/CCTiledMapLayer.m - Libraries/cocos2d/CCTiledMapObjectGroup.h - Libraries/cocos2d/CCTiledMapObjectGroup.m - Libraries/cocos2d/CCTMXXMLParser.h - Libraries/cocos2d/CCTMXXMLParser.m - Libraries/cocos2d/CCTransition.h - Libraries/cocos2d/CCTransition.m - Libraries/cocos2d/ccTypes.h - Libraries/cocos2d/cocos2d.h - Libraries/cocos2d/cocos2d.m - Libraries/LICENSE_cocos2d.txt - - - diff --git a/templates/Support/Libraries/cocos2d-ccb.xctemplate/TemplateInfo.plist b/templates/Support/Libraries/cocos2d-ccb.xctemplate/TemplateInfo.plist deleted file mode 100755 index 97fb2a7e0cd..00000000000 --- a/templates/Support/Libraries/cocos2d-ccb.xctemplate/TemplateInfo.plist +++ /dev/null @@ -1,280 +0,0 @@ - - - - - Description - This is a template description. - Identifier - com.cocos2d-v3.cocos2d-ccb - Kind - Xcode.Xcode3.ProjectTemplateUnitKind - Definitions - - Libraries/CCBReader/CCAnimationManager.h - - Group - - Libraries - cocos2d-ui - CCBReader - - Path - Libraries/CCBReader/CCAnimationManager.h - TargetIndices - - - Libraries/CCBReader/CCAnimationManager_Private.h - - Group - - Libraries - cocos2d-ui - CCBReader - - Path - Libraries/CCBReader/CCAnimationManager_Private.h - TargetIndices - - - Libraries/CCBReader/CCAnimationManager.m - - Group - - Libraries - cocos2d-ui - CCBReader - - Path - Libraries/CCBReader/CCAnimationManager.m - TargetIndices - - 0 - - - Libraries/CCBReader/CCBAnimationManager.h - - Group - - Libraries - cocos2d-ui - CCBReader - - Path - Libraries/CCBReader/CCBAnimationManager.h - TargetIndices - - - Libraries/CCBReader/CCBAnimationManager.m - - Group - - Libraries - cocos2d-ui - CCBReader - - Path - Libraries/CCBReader/CCBAnimationManager.m - TargetIndices - - 0 - - - Libraries/CCBReader/CCBKeyframe.h - - Group - - Libraries - cocos2d-ui - CCBReader - - Path - Libraries/CCBReader/CCBKeyframe.h - TargetIndices - - - Libraries/CCBReader/CCBKeyframe.m - - Group - - Libraries - cocos2d-ui - CCBReader - - Path - Libraries/CCBReader/CCBKeyframe.m - TargetIndices - - 0 - - - Libraries/CCBReader/CCBReader.h - - Group - - Libraries - cocos2d-ui - CCBReader - - Path - Libraries/CCBReader/CCBReader.h - TargetIndices - - - Libraries/CCBReader/CCBReader.m - - Group - - Libraries - cocos2d-ui - CCBReader - - Path - Libraries/CCBReader/CCBReader.m - TargetIndices - - 0 - - - Libraries/CCBReader/CCBSequence.h - - Group - - Libraries - cocos2d-ui - CCBReader - - Path - Libraries/CCBReader/CCBSequence.h - TargetIndices - - - Libraries/CCBReader/CCBsequence.m - - Group - - Libraries - cocos2d-ui - CCBReader - - Path - Libraries/CCBReader/CCBsequence.m - TargetIndices - - 0 - - - Libraries/CCBReader/CCBSequenceProperty.h - - Group - - Libraries - cocos2d-ui - CCBReader - - Path - Libraries/CCBReader/CCBSequenceProperty.h - TargetIndices - - - Libraries/CCBReader/CCBSequenceProperty.m - - Group - - Libraries - cocos2d-ui - CCBReader - - Path - Libraries/CCBReader/CCBSequenceProperty.m - TargetIndices - - 0 - - - Libraries/CCBReader/CCBLocalizationManager.h - - Group - - Libraries - cocos2d-ui - CCBReader - - Path - Libraries/CCBReader/CCBLocalizationManager.h - TargetIndices - - - Libraries/CCBReader/CCBLocalizationManager.m - - Group - - Libraries - cocos2d-ui - CCBReader - - Path - Libraries/CCBReader/CCBLocalizationManager.m - TargetIndices - - 0 - - - Libraries/CCBReader/CCBuilderReader.h - - Group - - Libraries - cocos2d-ui - CCBReader - - Path - Libraries/CCBReader/CCBuilderReader.h - TargetIndices - - - Libraries/CCBReader/CCBReader_Private.h - - Group - - Libraries - cocos2d-ui - CCBReader - - Path - Libraries/CCBReader/CCBReader_Private.h - TargetIndices - - - Libraries/LICENSE_CCBReader.txt - - Group - - Libraries - - Path - Libraries/LICENSE_CCBReader.txt - - - Nodes - - Libraries/CCBReader/CCAnimationManager.h - Libraries/CCBReader/CCAnimationManager_Private.h - Libraries/CCBReader/CCAnimationManager.m - Libraries/CCBReader/CCBAnimationManager.h - Libraries/CCBReader/CCBAnimationManager.m - Libraries/CCBReader/CCBKeyframe.h - Libraries/CCBReader/CCBKeyframe.m - Libraries/CCBReader/CCBReader.h - Libraries/CCBReader/CCBReader.m - Libraries/CCBReader/CCBSequence.h - Libraries/CCBReader/CCBsequence.m - Libraries/CCBReader/CCBSequenceProperty.h - Libraries/CCBReader/CCBSequenceProperty.m - Libraries/CCBReader/CCBLocalizationManager.h - Libraries/CCBReader/CCBLocalizationManager.m - Libraries/CCBReader/CCBuilderReader.h - Libraries/CCBReader/CCBReader_Private.h - Libraries/LICENSE_CCBReader.txt - - - diff --git a/templates/Support/Libraries/cocos2d-effects.xctemplate/TemplateInfo.plist b/templates/Support/Libraries/cocos2d-effects.xctemplate/TemplateInfo.plist deleted file mode 100755 index fb7e96889c7..00000000000 --- a/templates/Support/Libraries/cocos2d-effects.xctemplate/TemplateInfo.plist +++ /dev/null @@ -1,954 +0,0 @@ - - - - - Description - This is a template description. - Identifier - com.cocos2d-v3.cocos2d-effects - Kind - Xcode.Xcode3.ProjectTemplateUnitKind - Definitions - - Libraries/cocos2d/CCLightCollection.h - - Group - - Libraries - cocos2d - Effects - - Path - Libraries/cocos2d/CCLightCollection.h - TargetIndices - - - Libraries/cocos2d/CCLightCollection.m - - Group - - Libraries - cocos2d - Effects - - Path - Libraries/cocos2d/CCLightCollection.m - TargetIndices - - 0 - - - Libraries/cocos2d/CCLightGroups.h - - Group - - Libraries - cocos2d - Effects - - Path - Libraries/cocos2d/CCLightGroups.h - TargetIndices - - - Libraries/cocos2d/CCLightNode_Private.h - - Group - - Libraries - cocos2d - Effects - - Path - Libraries/cocos2d/CCLightNode_Private.h - TargetIndices - - - Libraries/cocos2d/CCLightNode.h - - Group - - Libraries - cocos2d - Effects - - Path - Libraries/cocos2d/CCLightNode.h - TargetIndices - - - Libraries/cocos2d/CCLightNode.m - - Group - - Libraries - cocos2d - Effects - - Path - Libraries/cocos2d/CCLightNode.m - TargetIndices - - 0 - - - Libraries/cocos2d/CCEffectBloom.h - - Group - - Libraries - cocos2d - Effects - - Path - Libraries/cocos2d/CCEffectBloom.h - TargetIndices - - - Libraries/cocos2d/CCEffectBloom.m - - Group - - Libraries - cocos2d - Effects - - Path - Libraries/cocos2d/CCEffectBloom.m - TargetIndices - - - Libraries/cocos2d/CCEffectBlur.h - - Group - - Libraries - cocos2d - Effects - - Path - Libraries/cocos2d/CCEffectBlur.h - TargetIndices - - - Libraries/cocos2d/CCEffectBlur.m - - Group - - Libraries - cocos2d - Effects - - Path - Libraries/cocos2d/CCEffectBlur.m - TargetIndices - - - Libraries/cocos2d/CCEffectSaturation.h - - Group - - Libraries - cocos2d - Effects - - Path - Libraries/cocos2d/CCEffectSaturation.h - TargetIndices - - - Libraries/cocos2d/CCEffectSaturation.m - - Group - - Libraries - cocos2d - Effects - - Path - Libraries/cocos2d/CCEffectSaturation.m - TargetIndices - - - Libraries/cocos2d/CCEffectColorChannelOffset.h - - Group - - Libraries - cocos2d - Effects - - Path - Libraries/cocos2d/CCEffectColorChannelOffset.h - TargetIndices - - - Libraries/cocos2d/CCEffectColorChannelOffset.m - - Group - - Libraries - cocos2d - Effects - - Path - Libraries/cocos2d/CCEffectColorChannelOffset.m - TargetIndices - - - Libraries/cocos2d/CCEffectDFInnerGlow.h - - Group - - Libraries - cocos2d - Effects - - Path - Libraries/cocos2d/CCEffectDFInnerGlow.h - TargetIndices - - - Libraries/cocos2d/CCEffectDFInnerGlow.m - - Group - - Libraries - cocos2d - Effects - - Path - Libraries/cocos2d/CCEffectDFInnerGlow.m - TargetIndices - - - Libraries/cocos2d/CCEffectDFOutline.h - - Group - - Libraries - cocos2d - Effects - - Path - Libraries/cocos2d/CCEffectDFOutline.h - TargetIndices - - - Libraries/cocos2d/CCEffectDFOutline.m - - Group - - Libraries - cocos2d - Effects - - Path - Libraries/cocos2d/CCEffectDFOutline.m - TargetIndices - - - Libraries/cocos2d/CCEffectDistanceField.h - - Group - - Libraries - cocos2d - Effects - - Path - Libraries/cocos2d/CCEffectDistanceField.h - TargetIndices - - - Libraries/cocos2d/CCEffectDistanceField.m - - Group - - Libraries - cocos2d - Effects - - Path - Libraries/cocos2d/CCEffectDistanceField.m - TargetIndices - - - Libraries/cocos2d/CCEffectDropShadow_dist.h - - Group - - Libraries - cocos2d - Effects - - Path - Libraries/cocos2d/CCEffectDropShadow_dist.h - TargetIndices - - - Libraries/cocos2d/CCEffectDropShadow_dist.m - - Group - - Libraries - cocos2d - Effects - - Path - Libraries/cocos2d/CCEffectDropShadow_dist.m - TargetIndices - - - Libraries/cocos2d/CCEffectDropShadow.h - - Group - - Libraries - cocos2d - Effects - - Path - Libraries/cocos2d/CCEffectDropShadow.h - TargetIndices - - - Libraries/cocos2d/CCEffectDropShadow.m - - Group - - Libraries - cocos2d - Effects - - Path - Libraries/cocos2d/CCEffectDropShadow.m - TargetIndices - - - Libraries/cocos2d/CCEffectGlass.h - - Group - - Libraries - cocos2d - Effects - - Path - Libraries/cocos2d/CCEffectGlass.h - TargetIndices - - - Libraries/cocos2d/CCEffectGlass.m - - Group - - Libraries - cocos2d - Effects - - Path - Libraries/cocos2d/CCEffectGlass.m - TargetIndices - - - Libraries/cocos2d/CCEffectHue.h - - Group - - Libraries - cocos2d - Effects - - Path - Libraries/cocos2d/CCEffectHue.h - TargetIndices - - - Libraries/cocos2d/CCEffectHue.m - - Group - - Libraries - cocos2d - Effects - - Path - Libraries/cocos2d/CCEffectHue.m - TargetIndices - - - Libraries/cocos2d/CCEffectInvert.h - - Group - - Libraries - cocos2d - Effects - - Path - Libraries/cocos2d/CCEffectInvert.h - TargetIndices - - - Libraries/cocos2d/CCEffectInvert.m - - Group - - Libraries - cocos2d - Effects - - Path - Libraries/cocos2d/CCEffectInvert.m - TargetIndices - - - Libraries/cocos2d/CCEffectLighting.h - - Group - - Libraries - cocos2d - Effects - - Path - Libraries/cocos2d/CCEffectLighting.h - TargetIndices - - - Libraries/cocos2d/CCEffectLighting.m - - Group - - Libraries - cocos2d - Effects - - Path - Libraries/cocos2d/CCEffectLighting.m - TargetIndices - - - Libraries/cocos2d/CCEffectOutline.h - - Group - - Libraries - cocos2d - Effects - - Path - Libraries/cocos2d/CCEffectOutline.h - TargetIndices - - - Libraries/cocos2d/CCEffectOutline.m - - Group - - Libraries - cocos2d - Effects - - Path - Libraries/cocos2d/CCEffectOutline.m - TargetIndices - - - Libraries/cocos2d/CCEffectReflection.h - - Group - - Libraries - cocos2d - Effects - - Path - Libraries/cocos2d/CCEffectReflection.h - TargetIndices - - - Libraries/cocos2d/CCEffectReflection.m - - Group - - Libraries - cocos2d - Effects - - Path - Libraries/cocos2d/CCEffectReflection.m - TargetIndices - - - Libraries/cocos2d/CCEffectRefraction.h - - Group - - Libraries - cocos2d - Effects - - Path - Libraries/cocos2d/CCEffectRefraction.h - TargetIndices - - - Libraries/cocos2d/CCEffectRefraction.m - - Group - - Libraries - cocos2d - Effects - - Path - Libraries/cocos2d/CCEffectRefraction.m - TargetIndices - - - Libraries/cocos2d/CCEffectStackProtocol.h - - Group - - Libraries - cocos2d - Effects - - Path - Libraries/cocos2d/CCEffectStackProtocol.h - TargetIndices - - - Libraries/cocos2d/CCEffectStereo.h - - Group - - Libraries - cocos2d - Effects - - Path - Libraries/cocos2d/CCEffectStereo.h - TargetIndices - - - Libraries/cocos2d/CCEffectStereo.m - - Group - - Libraries - cocos2d - Effects - - Path - Libraries/cocos2d/CCEffectStereo.m - TargetIndices - - - Libraries/cocos2d/CCEffectUtils.h - - Group - - Libraries - cocos2d - Effects - - Path - Libraries/cocos2d/CCEffectUtils.h - TargetIndices - - - Libraries/cocos2d/CCEffectUtils.m - - Group - - Libraries - cocos2d - Effects - - Path - Libraries/cocos2d/CCEffectUtils.m - TargetIndices - - - Libraries/cocos2d/CCEffect.h - - Group - - Libraries - cocos2d - Effects - - Path - Libraries/cocos2d/CCEffect.h - TargetIndices - - - Libraries/cocos2d/CCEffectBrightness.h - - Group - - Libraries - cocos2d - Effects - - Path - Libraries/cocos2d/CCEffectBrightness.h - TargetIndices - - - Libraries/cocos2d/CCEffectContrast.h - - Group - - Libraries - cocos2d - Effects - - Path - Libraries/cocos2d/CCEffectContrast.h - TargetIndices - - - Libraries/cocos2d/CCEffectColor.h - - Group - - Libraries - cocos2d - Effects - - Path - Libraries/cocos2d/CCEffectColor.h - TargetIndices - - - Libraries/cocos2d/CCEffectColorPulse.h - - Group - - Libraries - cocos2d - Effects - - Path - Libraries/cocos2d/CCEffectColorPulse.h - TargetIndices - - - Libraries/cocos2d/CCEffectPixellate.h - - Group - - Libraries - cocos2d - Effects - - Path - Libraries/cocos2d/CCEffectPixellate.h - TargetIndices - - - Libraries/cocos2d/CCEffectNode.h - - Group - - Libraries - cocos2d - Misc Nodes - - Path - Libraries/cocos2d/CCEffectNode.h - TargetIndices - - - Libraries/cocos2d/CCEffectStack.h - - Group - - Libraries - cocos2d - Effects - - Path - Libraries/cocos2d/CCEffectStack.h - TargetIndices - - - Libraries/cocos2d/CCEffectTexture.h - - Group - - Libraries - cocos2d - Effects - - Path - Libraries/cocos2d/CCEffectTexture.h - TargetIndices - - - Libraries/cocos2d/CCEffect_Private.h - - Group - - Libraries - cocos2d - Effects - - Path - Libraries/cocos2d/CCEffect_Private.h - TargetIndices - - - Libraries/cocos2d/CCEffectStack_Private.h - - Group - - Libraries - cocos2d - Effects - - Path - Libraries/cocos2d/CCEffectStack_Private.h - TargetIndices - - - Libraries/cocos2d/CCEffect.m - - Group - - Libraries - cocos2d - Effects - - Path - Libraries/cocos2d/CCEffect.m - TargetIndices - - 0 - - - Libraries/cocos2d/CCEffectBrightness.m - - Group - - Libraries - cocos2d - Effects - - Path - Libraries/cocos2d/CCEffectBrightness.m - TargetIndices - - 0 - - - Libraries/cocos2d/CCEffectContrast.m - - Group - - Libraries - cocos2d - Effects - - Path - Libraries/cocos2d/CCEffectContrast.m - TargetIndices - - 0 - - - Libraries/cocos2d/CCEffectColor.m - - Group - - Libraries - cocos2d - Effects - - Path - Libraries/cocos2d/CCEffectColor.m - TargetIndices - - 0 - - - Libraries/cocos2d/CCEffectColorPulse.m - - Group - - Libraries - cocos2d - Effects - - Path - Libraries/cocos2d/CCEffectColorPulse.m - TargetIndices - - 0 - - - Libraries/cocos2d/CCEffectPixellate.m - - Group - - Libraries - cocos2d - Effects - - Path - Libraries/cocos2d/CCEffectPixellate.m - TargetIndices - - 0 - - - Libraries/cocos2d/CCEffectNode.m - - Group - - Libraries - cocos2d - Misc Nodes - - Path - Libraries/cocos2d/CCEffectNode.m - TargetIndices - - 0 - - - Libraries/cocos2d/CCEffectStack.m - - Group - - Libraries - cocos2d - Effects - - Path - Libraries/cocos2d/CCEffectStack.m - TargetIndices - - 0 - - - Libraries/cocos2d/CCEffectTexture.m - - Group - - Libraries - cocos2d - Effects - - Path - Libraries/cocos2d/CCEffectTexture.m - TargetIndices - - 0 - - - Libraries/cocos2d/CCEffectRenderer.h - - Group - - Libraries - cocos2d - Effects - - Path - Libraries/cocos2d/CCEffectRenderer.h - TargetIndices - - 0 - - - Libraries/cocos2d/CCEffectRenderer.m - - Group - - Libraries - cocos2d - Effects - - Path - Libraries/cocos2d/CCEffectRenderer.m - TargetIndices - - 0 - - - - Nodes - - Libraries/cocos2d/CCEffectRenderer.h - Libraries/cocos2d/CCEffectRenderer.m - Libraries/cocos2d/CCLightCollection.h - Libraries/cocos2d/CCLightCollection.m - Libraries/cocos2d/CCLightGroups.h - Libraries/cocos2d/CCLightNode_Private.h - Libraries/cocos2d/CCLightNode.h - Libraries/cocos2d/CCLightNode.m - Libraries/cocos2d/CCEffectBloom.h - Libraries/cocos2d/CCEffectBloom.m - Libraries/cocos2d/CCEffectBlur.h - Libraries/cocos2d/CCEffectBlur.m - Libraries/cocos2d/CCEffectSaturation.h - Libraries/cocos2d/CCEffectSaturation.m - Libraries/cocos2d/CCEffectColorChannelOffset.h - Libraries/cocos2d/CCEffectColorChannelOffset.m - Libraries/cocos2d/CCEffectDFInnerGlow.h - Libraries/cocos2d/CCEffectDFInnerGlow.m - Libraries/cocos2d/CCEffectDFOutline.h - Libraries/cocos2d/CCEffectDFOutline.m - Libraries/cocos2d/CCEffectDistanceField.h - Libraries/cocos2d/CCEffectDistanceField.m - Libraries/cocos2d/CCEffectDropShadow_dist.h - Libraries/cocos2d/CCEffectDropShadow_dist.m - Libraries/cocos2d/CCEffectDropShadow.h - Libraries/cocos2d/CCEffectDropShadow.m - Libraries/cocos2d/CCEffectGlass.h - Libraries/cocos2d/CCEffectGlass.m - Libraries/cocos2d/CCEffectHue.h - Libraries/cocos2d/CCEffectHue.m - Libraries/cocos2d/CCEffectInvert.h - Libraries/cocos2d/CCEffectInvert.m - Libraries/cocos2d/CCEffectLighting.h - Libraries/cocos2d/CCEffectLighting.m - Libraries/cocos2d/CCEffectOutline.h - Libraries/cocos2d/CCEffectOutline.m - Libraries/cocos2d/CCEffectReflection.h - Libraries/cocos2d/CCEffectReflection.m - Libraries/cocos2d/CCEffectRefraction.h - Libraries/cocos2d/CCEffectRefraction.m - Libraries/cocos2d/CCEffectStackProtocol.h - Libraries/cocos2d/CCEffectStereo.h - Libraries/cocos2d/CCEffectStereo.m - Libraries/cocos2d/CCEffectUtils.h - Libraries/cocos2d/CCEffectUtils.m - Libraries/cocos2d/CCEffect.h - Libraries/cocos2d/CCEffect.m - Libraries/cocos2d/CCEffectBrightness.h - Libraries/cocos2d/CCEffectBrightness.m - Libraries/cocos2d/CCEffectContrast.h - Libraries/cocos2d/CCEffectContrast.m - Libraries/cocos2d/CCEffectColor.h - Libraries/cocos2d/CCEffectColor.m - Libraries/cocos2d/CCEffectColorPulse.h - Libraries/cocos2d/CCEffectColorPulse.m - Libraries/cocos2d/CCEffectPixellate.h - Libraries/cocos2d/CCEffectPixellate.m - Libraries/cocos2d/CCEffectNode.h - Libraries/cocos2d/CCEffectNode.m - Libraries/cocos2d/CCEffectStack.h - Libraries/cocos2d/CCEffectStack.m - Libraries/cocos2d/CCEffectTexture.h - Libraries/cocos2d/CCEffectTexture.m - Libraries/cocos2d/CCEffect_Private.h - Libraries/cocos2d/CCEffectStack_Private.h - - - diff --git a/templates/Support/Libraries/cocos2d-platform.xctemplate/TemplateInfo.plist b/templates/Support/Libraries/cocos2d-platform.xctemplate/TemplateInfo.plist deleted file mode 100755 index 2a3ae6c9970..00000000000 --- a/templates/Support/Libraries/cocos2d-platform.xctemplate/TemplateInfo.plist +++ /dev/null @@ -1,437 +0,0 @@ - - - - - Description - This is a template description. - Identifier - com.cocos2d-v3.cocos2d-platform - Kind - Xcode.Xcode3.ProjectTemplateUnitKind - Definitions - - Libraries/cocos2d/Platforms/CCDirectorView.h - - Group - - Libraries - cocos2d - Platforms - - Path - Libraries/cocos2d/Platforms/CCDirectorView.h - TargetIndices - - - Libraries/cocos2d/Platforms/CCRenderDispatch_Private.h - - Group - - Libraries - cocos2d - Platforms - - Path - Libraries/cocos2d/Platforms/CCRenderDispatch_Private.h - TargetIndices - - - Libraries/cocos2d/Platforms/CCGL.h - - Group - - Libraries - cocos2d - Platforms - - Path - Libraries/cocos2d/Platforms/CCGL.h - TargetIndices - - - Libraries/cocos2d/Platforms/CCNS.h - - Group - - Libraries - cocos2d - Platforms - - Path - Libraries/cocos2d/Platforms/CCNS.h - TargetIndices - - - Libraries/cocos2d/Platforms/iOS/CCMetalSupport_Private.h - - Group - - Libraries - cocos2d - Platforms - iOS - - Path - Libraries/cocos2d/Platforms/iOS/CCMetalSupport_Private.h - TargetIndices - - - Libraries/cocos2d/Platforms/iOS/CCMetalSupport.m - - Group - - Libraries - cocos2d - Platforms - iOS - - Path - Libraries/cocos2d/Platforms/iOS/CCMetalSupport.m - TargetIndices - - - Libraries/cocos2d/Platforms/iOS/CCMetalView.h - - Group - - Libraries - cocos2d - Platforms - iOS - - Path - Libraries/cocos2d/Platforms/iOS/CCMetalView.h - TargetIndices - - - Libraries/cocos2d/Platforms/iOS/CCMetalView.m - - Group - - Libraries - cocos2d - Platforms - iOS - - Path - Libraries/cocos2d/Platforms/iOS/CCMetalView.m - TargetIndices - - - Libraries/cocos2d/Platforms/iOS/CCShaders.metal - - Group - - Libraries - cocos2d - Platforms - iOS - - Path - Libraries/cocos2d/Platforms/iOS/CCShaders.metal - TargetIndices - - - Libraries/cocos2d/Platforms/iOS/CCTouchIOS.h - - Group - - Libraries - cocos2d - Platforms - iOS - - Path - Libraries/cocos2d/Platforms/iOS/CCTouchIOS.h - TargetIndices - - - Libraries/cocos2d/Platforms/iOS/CCTouchIOS.m - - Group - - Libraries - cocos2d - Platforms - iOS - - Path - Libraries/cocos2d/Platforms/iOS/CCTouchIOS.m - TargetIndices - - 0 - - - Libraries/cocos2d/Platforms/iOS/CCDirectorIOS.h - - Group - - Libraries - cocos2d - Platforms - iOS - - Path - Libraries/cocos2d/Platforms/iOS/CCDirectorIOS.h - TargetIndices - - - Libraries/cocos2d/Platforms/iOS/CCDirectorIOS.m - - Group - - Libraries - cocos2d - Platforms - iOS - - Path - Libraries/cocos2d/Platforms/iOS/CCDirectorIOS.m - TargetIndices - - 0 - - - Libraries/cocos2d/Platforms/iOS/CCGLView.h - - Group - - Libraries - cocos2d - Platforms - iOS - - Path - Libraries/cocos2d/Platforms/iOS/CCGLView.h - TargetIndices - - - Libraries/cocos2d/Platforms/iOS/CCGLView.m - - Group - - Libraries - cocos2d - Platforms - iOS - - Path - Libraries/cocos2d/Platforms/iOS/CCGLView.m - TargetIndices - - 0 - - - Libraries/cocos2d/Platforms/iOS/UITouch+CC.h - - Group - - Libraries - cocos2d - Platforms - iOS - - Path - Libraries/cocos2d/Platforms/iOS/UITouch+CC.h - TargetIndices - - - Libraries/cocos2d/Platforms/iOS/UITouch+CC.m - - Group - - Libraries - cocos2d - Platforms - iOS - - Path - Libraries/cocos2d/Platforms/iOS/UITouch+CC.m - TargetIndices - - 0 - - - Libraries/cocos2d/Platforms/iOS/CCAppDelegate.h - - Group - - Libraries - cocos2d - Platforms - iOS - - Path - Libraries/cocos2d/Platforms/iOS/CCAppDelegate.h - TargetIndices - - - Libraries/cocos2d/Platforms/iOS/CCAppDelegate.m - - Group - - Libraries - cocos2d - Platforms - iOS - - Path - Libraries/cocos2d/Platforms/iOS/CCAppDelegate.m - TargetIndices - - 0 - - - Libraries/cocos2d/Platforms/Mac/CCDirectorMac.h - - Group - - Libraries - cocos2d - Platforms - Mac - - Path - Libraries/cocos2d/Platforms/Mac/CCDirectorMac.h - TargetIndices - - - Libraries/cocos2d/Platforms/Mac/CCDirectorMac.m - - Group - - Libraries - cocos2d - Platforms - Mac - - Path - Libraries/cocos2d/Platforms/Mac/CCDirectorMac.m - TargetIndices - - 0 - - - Libraries/cocos2d/Platforms/Mac/CCGLView.h - - Group - - Libraries - cocos2d - Platforms - Mac - - Path - Libraries/cocos2d/Platforms/Mac/CCGLView.h - TargetIndices - - - Libraries/cocos2d/Platforms/Mac/CCGLView.m - - Group - - Libraries - cocos2d - Platforms - Mac - - Path - Libraries/cocos2d/Platforms/Mac/CCGLView.m - TargetIndices - - 0 - - - Libraries/cocos2d/Platforms/Mac/CCWindow.h - - Group - - Libraries - cocos2d - Platforms - Mac - - Path - Libraries/cocos2d/Platforms/Mac/CCWindow.h - TargetIndices - - - Libraries/cocos2d/Platforms/Mac/CCWindow.m - - Group - - Libraries - cocos2d - Platforms - Mac - - Path - Libraries/cocos2d/Platforms/Mac/CCWindow.m - TargetIndices - - 0 - - - Libraries/cocos2d/Platforms/Mac/NSEvent+CC.h - - Group - - Libraries - cocos2d - Platforms - Mac - - Path - Libraries/cocos2d/Platforms/Mac/NSEvent+CC.h - TargetIndices - - - Libraries/cocos2d/Platforms/Mac/NSEvent+CC.m - - Group - - Libraries - cocos2d - Platforms - Mac - - Path - Libraries/cocos2d/Platforms/Mac/NSEvent+CC.m - TargetIndices - - 0 - - - - Nodes - - Libraries/cocos2d/Platforms/CCDirectorView.h - Libraries/cocos2d/Platforms/CCRenderDispatch_Private.h - Libraries/cocos2d/Platforms/iOS/CCMetalSupport_Private.h - Libraries/cocos2d/Platforms/iOS/CCMetalSupport.m - Libraries/cocos2d/Platforms/iOS/CCMetalView.h - Libraries/cocos2d/Platforms/iOS/CCMetalView.m - Libraries/cocos2d/Platforms/iOS/CCShaders.metal - Libraries/cocos2d/Platforms/iOS/CCTouchIOS.h - Libraries/cocos2d/Platforms/iOS/CCTouchIOS.m - Libraries/cocos2d/Platforms/CCGL.h - Libraries/cocos2d/Platforms/CCNS.h - Libraries/cocos2d/Platforms/iOS/CCDirectorIOS.h - Libraries/cocos2d/Platforms/iOS/CCDirectorIOS.m - Libraries/cocos2d/Platforms/iOS/CCGLView.h - Libraries/cocos2d/Platforms/iOS/CCGLView.m - Libraries/cocos2d/Platforms/iOS/UITouch+CC.h - Libraries/cocos2d/Platforms/iOS/UITouch+CC.m - Libraries/cocos2d/Platforms/iOS/CCAppDelegate.h - Libraries/cocos2d/Platforms/iOS/CCAppDelegate.m - Libraries/cocos2d/Platforms/Mac/CCDirectorMac.h - Libraries/cocos2d/Platforms/Mac/CCDirectorMac.m - Libraries/cocos2d/Platforms/Mac/CCGLView.h - Libraries/cocos2d/Platforms/Mac/CCGLView.m - Libraries/cocos2d/Platforms/Mac/CCWindow.h - Libraries/cocos2d/Platforms/Mac/CCWindow.m - Libraries/cocos2d/Platforms/Mac/NSEvent+CC.h - Libraries/cocos2d/Platforms/Mac/NSEvent+CC.m - - - diff --git a/templates/Support/Libraries/cocos2d-support.xctemplate/TemplateInfo.plist b/templates/Support/Libraries/cocos2d-support.xctemplate/TemplateInfo.plist deleted file mode 100755 index d9439226ea6..00000000000 --- a/templates/Support/Libraries/cocos2d-support.xctemplate/TemplateInfo.plist +++ /dev/null @@ -1,402 +0,0 @@ - - - - - Description - This is a template description. - Identifier - com.cocos2d-v3.cocos2d-support - Kind - Xcode.Xcode3.ProjectTemplateUnitKind - Definitions - - Libraries/cocos2d/Support/CCRendererGLSupport.m - - Group - - Libraries - cocos2d - Support - - Path - Libraries/cocos2d/Support/CCRendererGLSupport.m - TargetIndices - - 0 - - - Libraries/cocos2d/Support/base64.c - - Group - - Libraries - cocos2d - Support - - Path - Libraries/cocos2d/Support/base64.c - TargetIndices - - 0 - - - Libraries/cocos2d/Support/base64.h - - Group - - Libraries - cocos2d - Support - - Path - Libraries/cocos2d/Support/base64.h - TargetIndices - - - Libraries/cocos2d/Support/CCColor.m - - Group - - Libraries - cocos2d - Support - - Path - Libraries/cocos2d/Support/CCColor.m - TargetIndices - - 0 - - - Libraries/cocos2d/Support/CCColor.h - - Group - - Libraries - cocos2d - Support - - Path - Libraries/cocos2d/Support/CCColor.h - TargetIndices - - - Libraries/cocos2d/Support/CCFileUtils.h - - Group - - Libraries - cocos2d - Support - - Path - Libraries/cocos2d/Support/CCFileUtils.h - TargetIndices - - - Libraries/cocos2d/Support/CCFileUtils.m - - Group - - Libraries - cocos2d - Support - - Path - Libraries/cocos2d/Support/CCFileUtils.m - TargetIndices - - 0 - - - Libraries/cocos2d/Support/CCProfiling.h - - Group - - Libraries - cocos2d - Support - Profiling - - Path - Libraries/cocos2d/Support/CCProfiling.h - TargetIndices - - - Libraries/cocos2d/Support/CCProfiling.m - - Group - - Libraries - cocos2d - Support - Profiling - - Path - Libraries/cocos2d/Support/CCProfiling.m - TargetIndices - - 0 - - - Libraries/cocos2d/Support/ccUtils.c - - Group - - Libraries - cocos2d - Support - - Path - Libraries/cocos2d/Support/ccUtils.c - TargetIndices - - 0 - - - Libraries/cocos2d/Support/ccUtils.h - - Group - - Libraries - cocos2d - Support - - Path - Libraries/cocos2d/Support/ccUtils.h - TargetIndices - - - Libraries/cocos2d/Support/CCVertex.h - - Group - - Libraries - cocos2d - Support - Math - - Path - Libraries/cocos2d/Support/CCVertex.h - TargetIndices - - - Libraries/cocos2d/Support/CCVertex.m - - Group - - Libraries - cocos2d - Support - Math - - Path - Libraries/cocos2d/Support/CCVertex.m - TargetIndices - - 0 - - - Libraries/cocos2d/Support/CGPointExtension.h - - Group - - Libraries - cocos2d - Support - Math - - Path - Libraries/cocos2d/Support/CGPointExtension.h - TargetIndices - - - Libraries/cocos2d/Support/CGPointExtension.m - - Group - - Libraries - cocos2d - Support - Math - - Path - Libraries/cocos2d/Support/CGPointExtension.m - TargetIndices - - 0 - - - Libraries/cocos2d/Support/NSAttributedString+CCAdditions.h - - Group - - Libraries - cocos2d - Support - - Path - Libraries/cocos2d/Support/NSAttributedString+CCAdditions.h - TargetIndices - - - Libraries/cocos2d/Support/NSAttributedString+CCAdditions.m - - Group - - Libraries - cocos2d - Support - - Path - Libraries/cocos2d/Support/NSAttributedString+CCAdditions.m - TargetIndices - - 0 - - - Libraries/cocos2d/Support/NSThread+performBlock.h - - Group - - Libraries - cocos2d - Support - - Path - Libraries/cocos2d/Support/NSThread+performBlock.h - TargetIndices - - - Libraries/cocos2d/Support/NSThread+performBlock.m - - Group - - Libraries - cocos2d - Support - - Path - Libraries/cocos2d/Support/NSThread+performBlock.m - TargetIndices - - 0 - - - Libraries/cocos2d/Support/TGAlib.h - - Group - - Libraries - cocos2d - Support - Image Support - - Path - Libraries/cocos2d/Support/TGAlib.h - TargetIndices - - - Libraries/cocos2d/Support/TGAlib.m - - Group - - Libraries - cocos2d - Support - Image Support - - Path - Libraries/cocos2d/Support/TGAlib.m - TargetIndices - - 0 - - - Libraries/cocos2d/Support/uthash.h - - Group - - Libraries - cocos2d - Support - Data Structures - - Path - Libraries/cocos2d/Support/uthash.h - TargetIndices - - - Libraries/cocos2d/Support/utlist.h - - Group - - Libraries - cocos2d - Support - Data Structures - - Path - Libraries/cocos2d/Support/utlist.h - TargetIndices - - - Libraries/cocos2d/Support/ZipUtils.h - - Group - - Libraries - cocos2d - Support - - Path - Libraries/cocos2d/Support/ZipUtils.h - TargetIndices - - - Libraries/cocos2d/Support/ZipUtils.m - - Group - - Libraries - cocos2d - Support - - Path - Libraries/cocos2d/Support/ZipUtils.m - TargetIndices - - 0 - - - - Nodes - - Libraries/cocos2d/Support/CCRendererGLSupport.m - Libraries/cocos2d/Support/base64.h - Libraries/cocos2d/Support/base64.c - Libraries/cocos2d/Support/CCFileUtils.h - Libraries/cocos2d/Support/CCFileUtils.m - Libraries/cocos2d/Support/CCColor.h - Libraries/cocos2d/Support/CCColor.m - Libraries/cocos2d/Support/CCProfiling.h - Libraries/cocos2d/Support/CCProfiling.m - Libraries/cocos2d/Support/ccUtils.c - Libraries/cocos2d/Support/ccUtils.h - Libraries/cocos2d/Support/CCVertex.h - Libraries/cocos2d/Support/CCVertex.m - Libraries/cocos2d/Support/CGPointExtension.h - Libraries/cocos2d/Support/CGPointExtension.m - Libraries/cocos2d/Support/NSAttributedString+CCAdditions.h - Libraries/cocos2d/Support/NSAttributedString+CCAdditions.m - Libraries/cocos2d/Support/NSThread+performBlock.h - Libraries/cocos2d/Support/NSThread+performBlock.m - Libraries/cocos2d/Support/TGAlib.h - Libraries/cocos2d/Support/TGAlib.m - Libraries/cocos2d/Support/uthash.h - Libraries/cocos2d/Support/utlist.h - Libraries/cocos2d/Support/ZipUtils.h - Libraries/cocos2d/Support/ZipUtils.m - - - diff --git a/templates/Support/Libraries/cocos2d-ui.xctemplate/TemplateInfo.plist b/templates/Support/Libraries/cocos2d-ui.xctemplate/TemplateInfo.plist deleted file mode 100755 index 25861ae2bd1..00000000000 --- a/templates/Support/Libraries/cocos2d-ui.xctemplate/TemplateInfo.plist +++ /dev/null @@ -1,302 +0,0 @@ - - - - - Description - This is a template description. - Identifier - com.cocos2d-v3.cocos2d-ui - Kind - Xcode.Xcode3.ProjectTemplateUnitKind - Definitions - - Libraries/cocos2d-ui/CCButton.h - - Group - - Libraries - cocos2d-ui - - Path - Libraries/cocos2d-ui/CCButton.h - TargetIndices - - - Libraries/cocos2d-ui/CCButton.m - - Group - - Libraries - cocos2d-ui - - Path - Libraries/cocos2d-ui/CCButton.m - TargetIndices - - 0 - - - Libraries/cocos2d-ui/CCControl.h - - Group - - Libraries - cocos2d-ui - - Path - Libraries/cocos2d-ui/CCControl.h - TargetIndices - - - Libraries/cocos2d-ui/CCControl.m - - Group - - Libraries - cocos2d-ui - - Path - Libraries/cocos2d-ui/CCControl.m - TargetIndices - - 0 - - - Libraries/cocos2d-ui/CCControlSubclass.h - - Group - - Libraries - cocos2d-ui - - Path - Libraries/cocos2d-ui/CCControlSubclass.h - TargetIndices - - - Libraries/cocos2d-ui/CCControlTextureFactory.h - - Group - - Libraries - cocos2d-ui - - Path - Libraries/cocos2d-ui/CCControlTextureFactory.h - TargetIndices - - - Libraries/cocos2d-ui/CCControlTextureFactory.m - - Group - - Libraries - cocos2d-ui - - Path - Libraries/cocos2d-ui/CCControlTextureFactory.m - TargetIndices - - 0 - - - Libraries/cocos2d-ui/CCScrollView.h - - Group - - Libraries - cocos2d-ui - - Path - Libraries/cocos2d-ui/CCScrollView.h - TargetIndices - - - Libraries/cocos2d-ui/CCScrollView.m - - Group - - Libraries - cocos2d-ui - - Path - Libraries/cocos2d-ui/CCScrollView.m - TargetIndices - - 0 - - - Libraries/cocos2d-ui/CCSlider.h - - Group - - Libraries - cocos2d-ui - - Path - Libraries/cocos2d-ui/CCSlider.h - TargetIndices - - - Libraries/cocos2d-ui/CCSlider.m - - Group - - Libraries - cocos2d-ui - - Path - Libraries/cocos2d-ui/CCSlider.m - TargetIndices - - 0 - - - Libraries/cocos2d-ui/CCTableView.h - - Group - - Libraries - cocos2d-ui - - Path - Libraries/cocos2d-ui/CCTableView.h - TargetIndices - - - Libraries/cocos2d-ui/CCTableView.m - - Group - - Libraries - cocos2d-ui - - Path - Libraries/cocos2d-ui/CCTableView.m - TargetIndices - - 0 - - - Libraries/cocos2d-ui/CCTextField.h - - Group - - Libraries - cocos2d-ui - - Path - Libraries/cocos2d-ui/CCTextField.h - TargetIndices - - - Libraries/cocos2d-ui/CCTextField.m - - Group - - Libraries - cocos2d-ui - - Path - Libraries/cocos2d-ui/CCTextField.m - TargetIndices - - 0 - - - Libraries/cocos2d-ui/cocos2d-ui.h - - Group - - Libraries - cocos2d-ui - - Path - Libraries/cocos2d-ui/cocos2d-ui.h - TargetIndices - - - Libraries/cocos2d-ui/Platform/CCPlatformTextField.h - - Group - - Libraries - cocos2d-ui - Platform - - Path - Libraries/cocos2d-ui/Platform/CCPlatformTextField.h - TargetIndices - - - Libraries/cocos2d-ui/Platform/CCPlatformTextField.m - - Group - - Libraries - cocos2d-ui - Platform - - Path - Libraries/cocos2d-ui/Platform/CCPlatformTextField.m - TargetIndices - - 0 - - - Libraries/cocos2d-ui/Platform/iOS/CCPlatformTextFieldIOS.h - - Group - - Libraries - cocos2d-ui - Platform - iOS - - Path - Libraries/cocos2d-ui/Platform/iOS/CCPlatformTextFieldIOS.h - TargetIndices - - - Libraries/cocos2d-ui/Platform/iOS/CCPlatformTextFieldIOS.m - - Group - - Libraries - cocos2d-ui - Platform - iOS - - Path - Libraries/cocos2d-ui/Platform/iOS/CCPlatformTextFieldIOS.m - TargetIndices - - 0 - - - - Nodes - - Libraries/cocos2d-ui/CCButton.h - Libraries/cocos2d-ui/CCButton.m - Libraries/cocos2d-ui/CCControl.h - Libraries/cocos2d-ui/CCControl.m - Libraries/cocos2d-ui/CCControlSubclass.h - Libraries/cocos2d-ui/CCControlTextureFactory.h - Libraries/cocos2d-ui/CCControlTextureFactory.m - Libraries/cocos2d-ui/CCScrollView.h - Libraries/cocos2d-ui/CCScrollView.m - Libraries/cocos2d-ui/CCSlider.h - Libraries/cocos2d-ui/CCSlider.m - Libraries/cocos2d-ui/CCTableView.h - Libraries/cocos2d-ui/CCTableView.m - Libraries/cocos2d-ui/CCTextField.h - Libraries/cocos2d-ui/CCTextField.m - Libraries/cocos2d-ui/cocos2d-ui.h - Libraries/cocos2d-ui/Platform/CCPlatformTextField.h - Libraries/cocos2d-ui/Platform/CCPlatformTextField.m - Libraries/cocos2d-ui/Platform/iOS/CCPlatformTextFieldIOS.h - Libraries/cocos2d-ui/Platform/iOS/CCPlatformTextFieldIOS.m - - - diff --git a/templates/Support/Libraries/objectal.xctemplate/TemplateInfo.plist b/templates/Support/Libraries/objectal.xctemplate/TemplateInfo.plist deleted file mode 100755 index 9a32e97db53..00000000000 --- a/templates/Support/Libraries/objectal.xctemplate/TemplateInfo.plist +++ /dev/null @@ -1,920 +0,0 @@ - - - - - Description - This is a template description. - Identifier - com.cocos2d-v3.objectal - Kind - Xcode.Xcode3.ProjectTemplateUnitKind - Definitions - - Libraries/ObjectAL/Actions/OALAction+Private.h - - Group - - Libraries - ObjectAL - Actions - - Path - Libraries/ObjectAL/Actions/OALAction+Private.h - TargetIndices - - - Libraries/ObjectAL/Actions/OALAction.h - - Group - - Libraries - ObjectAL - Actions - - Path - Libraries/ObjectAL/Actions/OALAction.h - TargetIndices - - - Libraries/ObjectAL/Actions/OALAction.m - - Group - - Libraries - ObjectAL - Actions - - Path - Libraries/ObjectAL/Actions/OALAction.m - TargetIndices - - 0 - - - Libraries/ObjectAL/Actions/OALActionManager.h - - Group - - Libraries - ObjectAL - Actions - - Path - Libraries/ObjectAL/Actions/OALActionManager.h - TargetIndices - - - Libraries/ObjectAL/Actions/OALActionManager.m - - Group - - Libraries - ObjectAL - Actions - - Path - Libraries/ObjectAL/Actions/OALActionManager.m - TargetIndices - - 0 - - - Libraries/ObjectAL/Actions/OALAudioActions.h - - Group - - Libraries - ObjectAL - Actions - - Path - Libraries/ObjectAL/Actions/OALAudioActions.h - TargetIndices - - - Libraries/ObjectAL/Actions/OALAudioActions.m - - Group - - Libraries - ObjectAL - Actions - - Path - Libraries/ObjectAL/Actions/OALAudioActions.m - TargetIndices - - 0 - - - Libraries/ObjectAL/Actions/OALUtilityActions.h - - Group - - Libraries - ObjectAL - Actions - - Path - Libraries/ObjectAL/Actions/OALUtilityActions.h - TargetIndices - - - Libraries/ObjectAL/Actions/OALUtilityActions.m - - Group - - Libraries - ObjectAL - Actions - - Path - Libraries/ObjectAL/Actions/OALUtilityActions.m - TargetIndices - - 0 - - - Libraries/ObjectAL/AudioTrack/OALAudioTrack.h - - Group - - Libraries - ObjectAL - AudioTrack - - Path - Libraries/ObjectAL/AudioTrack/OALAudioTrack.h - TargetIndices - - - Libraries/ObjectAL/AudioTrack/OALAudioTrack.m - - Group - - Libraries - ObjectAL - AudioTrack - - Path - Libraries/ObjectAL/AudioTrack/OALAudioTrack.m - TargetIndices - - 0 - - - Libraries/ObjectAL/AudioTrack/OALAudioTrackNotifications.h - - Group - - Libraries - ObjectAL - AudioTrack - - Path - Libraries/ObjectAL/AudioTrack/OALAudioTrackNotifications.h - TargetIndices - - - Libraries/ObjectAL/AudioTrack/OALAudioTrackNotifications.m - - Group - - Libraries - ObjectAL - AudioTrack - - Path - Libraries/ObjectAL/AudioTrack/OALAudioTrackNotifications.m - TargetIndices - - 0 - - - Libraries/ObjectAL/AudioTrack/OALAudioTracks.h - - Group - - Libraries - ObjectAL - AudioTrack - - Path - Libraries/ObjectAL/AudioTrack/OALAudioTracks.h - TargetIndices - - - Libraries/ObjectAL/AudioTrack/OALAudioTracks.m - - Group - - Libraries - ObjectAL - AudioTrack - - Path - Libraries/ObjectAL/AudioTrack/OALAudioTracks.m - TargetIndices - - 0 - - - Libraries/ObjectAL/OALSimpleAudio.h - - Group - - Libraries - ObjectAL - - Path - Libraries/ObjectAL/OALSimpleAudio.h - TargetIndices - - - Libraries/ObjectAL/OALSimpleAudio.m - - Group - - Libraries - ObjectAL - - Path - Libraries/ObjectAL/OALSimpleAudio.m - TargetIndices - - 0 - - - Libraries/ObjectAL/ObjectAL.h - - Group - - Libraries - ObjectAL - - Path - Libraries/ObjectAL/ObjectAL.h - TargetIndices - - - Libraries/ObjectAL/ObjectALConfig.h - - Group - - Libraries - ObjectAL - - Path - Libraries/ObjectAL/ObjectALConfig.h - TargetIndices - - - Libraries/ObjectAL/OpenAL/ALBuffer.h - - Group - - Libraries - ObjectAL - OpenAL - - Path - Libraries/ObjectAL/OpenAL/ALBuffer.h - TargetIndices - - - Libraries/ObjectAL/OpenAL/ALBuffer.m - - Group - - Libraries - ObjectAL - OpenAL - - Path - Libraries/ObjectAL/OpenAL/ALBuffer.m - TargetIndices - - 0 - - - Libraries/ObjectAL/OpenAL/ALCaptureDevice.h - - Group - - Libraries - ObjectAL - OpenAL - - Path - Libraries/ObjectAL/OpenAL/ALCaptureDevice.h - TargetIndices - - - Libraries/ObjectAL/OpenAL/ALCaptureDevice.m - - Group - - Libraries - ObjectAL - OpenAL - - Path - Libraries/ObjectAL/OpenAL/ALCaptureDevice.m - TargetIndices - - 0 - - - Libraries/ObjectAL/OpenAL/ALChannelSource.h - - Group - - Libraries - ObjectAL - OpenAL - - Path - Libraries/ObjectAL/OpenAL/ALChannelSource.h - TargetIndices - - - Libraries/ObjectAL/OpenAL/ALChannelSource.m - - Group - - Libraries - ObjectAL - OpenAL - - Path - Libraries/ObjectAL/OpenAL/ALChannelSource.m - TargetIndices - - 0 - - - Libraries/ObjectAL/OpenAL/ALContext.h - - Group - - Libraries - ObjectAL - OpenAL - - Path - Libraries/ObjectAL/OpenAL/ALContext.h - TargetIndices - - - Libraries/ObjectAL/OpenAL/ALContext.m - - Group - - Libraries - ObjectAL - OpenAL - - Path - Libraries/ObjectAL/OpenAL/ALContext.m - TargetIndices - - 0 - - - Libraries/ObjectAL/OpenAL/ALDevice.h - - Group - - Libraries - ObjectAL - OpenAL - - Path - Libraries/ObjectAL/OpenAL/ALDevice.h - TargetIndices - - - Libraries/ObjectAL/OpenAL/ALDevice.m - - Group - - Libraries - ObjectAL - OpenAL - - Path - Libraries/ObjectAL/OpenAL/ALDevice.m - TargetIndices - - 0 - - - Libraries/ObjectAL/OpenAL/ALListener.h - - Group - - Libraries - ObjectAL - OpenAL - - Path - Libraries/ObjectAL/OpenAL/ALListener.h - TargetIndices - - - Libraries/ObjectAL/OpenAL/ALListener.m - - Group - - Libraries - ObjectAL - OpenAL - - Path - Libraries/ObjectAL/OpenAL/ALListener.m - TargetIndices - - 0 - - - Libraries/ObjectAL/OpenAL/ALSoundSource.h - - Group - - Libraries - ObjectAL - OpenAL - - Path - Libraries/ObjectAL/OpenAL/ALSoundSource.h - TargetIndices - - - Libraries/ObjectAL/OpenAL/ALSoundSourcePool.h - - Group - - Libraries - ObjectAL - OpenAL - - Path - Libraries/ObjectAL/OpenAL/ALSoundSourcePool.h - TargetIndices - - - Libraries/ObjectAL/OpenAL/ALSoundSourcePool.m - - Group - - Libraries - ObjectAL - OpenAL - - Path - Libraries/ObjectAL/OpenAL/ALSoundSourcePool.m - TargetIndices - - 0 - - - Libraries/ObjectAL/OpenAL/ALSource.h - - Group - - Libraries - ObjectAL - OpenAL - - Path - Libraries/ObjectAL/OpenAL/ALSource.h - TargetIndices - - - Libraries/ObjectAL/OpenAL/ALSource.m - - Group - - Libraries - ObjectAL - OpenAL - - Path - Libraries/ObjectAL/OpenAL/ALSource.m - TargetIndices - - 0 - - - Libraries/ObjectAL/OpenAL/ALTypes.h - - Group - - Libraries - ObjectAL - OpenAL - - Path - Libraries/ObjectAL/OpenAL/ALTypes.h - TargetIndices - - - Libraries/ObjectAL/OpenAL/ALWrapper.h - - Group - - Libraries - ObjectAL - OpenAL - - Path - Libraries/ObjectAL/OpenAL/ALWrapper.h - TargetIndices - - - Libraries/ObjectAL/OpenAL/ALWrapper.m - - Group - - Libraries - ObjectAL - OpenAL - - Path - Libraries/ObjectAL/OpenAL/ALWrapper.m - TargetIndices - - 0 - - - Libraries/ObjectAL/OpenAL/OpenALManager.h - - Group - - Libraries - ObjectAL - OpenAL - - Path - Libraries/ObjectAL/OpenAL/OpenALManager.h - TargetIndices - - - Libraries/ObjectAL/OpenAL/OpenALManager.m - - Group - - Libraries - ObjectAL - OpenAL - - Path - Libraries/ObjectAL/OpenAL/OpenALManager.m - TargetIndices - - 0 - - - Libraries/ObjectAL/Session/OALAudioSession.h - - Group - - Libraries - ObjectAL - Session - - Path - Libraries/ObjectAL/Session/OALAudioSession.h - TargetIndices - - - Libraries/ObjectAL/Session/OALAudioSession.m - - Group - - Libraries - ObjectAL - Session - - Path - Libraries/ObjectAL/Session/OALAudioSession.m - TargetIndices - - 0 - - - Libraries/ObjectAL/Session/OALSuspendHandler.h - - Group - - Libraries - ObjectAL - Session - - Path - Libraries/ObjectAL/Session/OALSuspendHandler.h - TargetIndices - - - Libraries/ObjectAL/Session/OALSuspendHandler.m - - Group - - Libraries - ObjectAL - Session - - Path - Libraries/ObjectAL/Session/OALSuspendHandler.m - TargetIndices - - 0 - - - Libraries/ObjectAL/Support/ARCSafe_MemMgmt.h - - Group - - Libraries - ObjectAL - Support - - Path - Libraries/ObjectAL/Support/ARCSafe_MemMgmt.h - TargetIndices - - - Libraries/ObjectAL/Support/IOSVersion.h - - Group - - Libraries - ObjectAL - Support - - Path - Libraries/ObjectAL/Support/IOSVersion.h - TargetIndices - - - Libraries/ObjectAL/Support/IOSVersion.m - - Group - - Libraries - ObjectAL - Support - - Path - Libraries/ObjectAL/Support/IOSVersion.m - TargetIndices - - 0 - - - Libraries/ObjectAL/Support/mach_timing.c - - Group - - Libraries - ObjectAL - Support - - Path - Libraries/ObjectAL/Support/mach_timing.c - TargetIndices - - 0 - - - Libraries/ObjectAL/Support/mach_timing.h - - Group - - Libraries - ObjectAL - Support - - Path - Libraries/ObjectAL/Support/mach_timing.h - TargetIndices - - - Libraries/ObjectAL/Support/NSMutableArray+WeakReferences.h - - Group - - Libraries - ObjectAL - Support - - Path - Libraries/ObjectAL/Support/NSMutableArray+WeakReferences.h - TargetIndices - - - Libraries/ObjectAL/Support/NSMutableArray+WeakReferences.m - - Group - - Libraries - ObjectAL - Support - - Path - Libraries/ObjectAL/Support/NSMutableArray+WeakReferences.m - TargetIndices - - 0 - - - Libraries/ObjectAL/Support/NSMutableDictionary+WeakReferences.h - - Group - - Libraries - ObjectAL - Support - - Path - Libraries/ObjectAL/Support/NSMutableDictionary+WeakReferences.h - TargetIndices - - - Libraries/ObjectAL/Support/NSMutableDictionary+WeakReferences.m - - Group - - Libraries - ObjectAL - Support - - Path - Libraries/ObjectAL/Support/NSMutableDictionary+WeakReferences.m - TargetIndices - - 0 - - - Libraries/ObjectAL/Support/OALAudioFile.h - - Group - - Libraries - ObjectAL - Support - - Path - Libraries/ObjectAL/Support/OALAudioFile.h - TargetIndices - - - Libraries/ObjectAL/Support/OALAudioFile.m - - Group - - Libraries - ObjectAL - Support - - Path - Libraries/ObjectAL/Support/OALAudioFile.m - TargetIndices - - 0 - - - Libraries/ObjectAL/Support/OALNotifications.h - - Group - - Libraries - ObjectAL - Support - - Path - Libraries/ObjectAL/Support/OALNotifications.h - TargetIndices - - - Libraries/ObjectAL/Support/OALTools.h - - Group - - Libraries - ObjectAL - Support - - Path - Libraries/ObjectAL/Support/OALTools.h - TargetIndices - - - Libraries/ObjectAL/Support/OALTools.m - - Group - - Libraries - ObjectAL - Support - - Path - Libraries/ObjectAL/Support/OALTools.m - TargetIndices - - 0 - - - Libraries/ObjectAL/Support/ObjectALMacros.h - - Group - - Libraries - ObjectAL - Support - - Path - Libraries/ObjectAL/Support/ObjectALMacros.h - TargetIndices - - - Libraries/ObjectAL/Support/SynthesizeSingleton.h - - Group - - Libraries - ObjectAL - Support - - Path - Libraries/ObjectAL/Support/SynthesizeSingleton.h - TargetIndices - - - - Nodes - - Libraries/ObjectAL/Actions/OALAction+Private.h - Libraries/ObjectAL/Actions/OALAction.h - Libraries/ObjectAL/Actions/OALAction.m - Libraries/ObjectAL/Actions/OALActionManager.h - Libraries/ObjectAL/Actions/OALActionManager.m - Libraries/ObjectAL/Actions/OALAudioActions.h - Libraries/ObjectAL/Actions/OALAudioActions.m - Libraries/ObjectAL/Actions/OALUtilityActions.h - Libraries/ObjectAL/Actions/OALUtilityActions.m - Libraries/ObjectAL/AudioTrack/OALAudioTrack.h - Libraries/ObjectAL/AudioTrack/OALAudioTrack.m - Libraries/ObjectAL/AudioTrack/OALAudioTrackNotifications.h - Libraries/ObjectAL/AudioTrack/OALAudioTrackNotifications.m - Libraries/ObjectAL/AudioTrack/OALAudioTracks.h - Libraries/ObjectAL/AudioTrack/OALAudioTracks.m - Libraries/ObjectAL/OALSimpleAudio.h - Libraries/ObjectAL/OALSimpleAudio.m - Libraries/ObjectAL/ObjectAL.h - Libraries/ObjectAL/ObjectALConfig.h - Libraries/ObjectAL/OpenAL/ALBuffer.h - Libraries/ObjectAL/OpenAL/ALBuffer.m - Libraries/ObjectAL/OpenAL/ALCaptureDevice.h - Libraries/ObjectAL/OpenAL/ALCaptureDevice.m - Libraries/ObjectAL/OpenAL/ALChannelSource.h - Libraries/ObjectAL/OpenAL/ALChannelSource.m - Libraries/ObjectAL/OpenAL/ALContext.h - Libraries/ObjectAL/OpenAL/ALContext.m - Libraries/ObjectAL/OpenAL/ALDevice.h - Libraries/ObjectAL/OpenAL/ALDevice.m - Libraries/ObjectAL/OpenAL/ALListener.h - Libraries/ObjectAL/OpenAL/ALListener.m - Libraries/ObjectAL/OpenAL/ALSoundSource.h - Libraries/ObjectAL/OpenAL/ALSoundSourcePool.h - Libraries/ObjectAL/OpenAL/ALSoundSourcePool.m - Libraries/ObjectAL/OpenAL/ALSource.h - Libraries/ObjectAL/OpenAL/ALSource.m - Libraries/ObjectAL/OpenAL/ALTypes.h - Libraries/ObjectAL/OpenAL/ALWrapper.h - Libraries/ObjectAL/OpenAL/ALWrapper.m - Libraries/ObjectAL/OpenAL/OpenALManager.h - Libraries/ObjectAL/OpenAL/OpenALManager.m - Libraries/ObjectAL/Session/OALAudioSession.h - Libraries/ObjectAL/Session/OALAudioSession.m - Libraries/ObjectAL/Session/OALSuspendHandler.h - Libraries/ObjectAL/Session/OALSuspendHandler.m - Libraries/ObjectAL/Support/ARCSafe_MemMgmt.h - Libraries/ObjectAL/Support/IOSVersion.h - Libraries/ObjectAL/Support/IOSVersion.m - Libraries/ObjectAL/Support/mach_timing.c - Libraries/ObjectAL/Support/mach_timing.h - Libraries/ObjectAL/Support/NSMutableArray+WeakReferences.h - Libraries/ObjectAL/Support/NSMutableArray+WeakReferences.m - Libraries/ObjectAL/Support/NSMutableDictionary+WeakReferences.h - Libraries/ObjectAL/Support/NSMutableDictionary+WeakReferences.m - Libraries/ObjectAL/Support/OALAudioFile.h - Libraries/ObjectAL/Support/OALAudioFile.m - Libraries/ObjectAL/Support/OALNotifications.h - Libraries/ObjectAL/Support/OALTools.h - Libraries/ObjectAL/Support/OALTools.m - Libraries/ObjectAL/Support/ObjectALMacros.h - Libraries/ObjectAL/Support/SynthesizeSingleton.h - - - diff --git a/templates/cocos2d iOS.xctemplate/Classes/AppDelegate.h b/templates/cocos2d iOS.xctemplate/Classes/AppDelegate.h deleted file mode 100755 index 4f0fb13cd55..00000000000 --- a/templates/cocos2d iOS.xctemplate/Classes/AppDelegate.h +++ /dev/null @@ -1,55 +0,0 @@ -// -// ___FILENAME___ -// -// Created by : ___FULLUSERNAME___ -// Project : ___PROJECTNAME___ -// Date : ___DATE___ -// -// Copyright (c) ___YEAR___ ___ORGANIZATIONNAME___. -// All rights reserved. -// -// ----------------------------------------------------------------- - -#import -#import "cocos2d.h" - -// ----------------------------------------------------------------------- - -@interface AppDelegate : CCAppDelegate - -// ----------------------------------------------------------------------- - -@end - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/templates/cocos2d iOS.xctemplate/Classes/AppDelegate.m b/templates/cocos2d iOS.xctemplate/Classes/AppDelegate.m deleted file mode 100755 index 61aeb98ac22..00000000000 --- a/templates/cocos2d iOS.xctemplate/Classes/AppDelegate.m +++ /dev/null @@ -1,108 +0,0 @@ -// -// ___FILENAME___ -// -// Created by : ___FULLUSERNAME___ -// Project : ___PROJECTNAME___ -// Date : ___DATE___ -// -// Copyright (c) ___YEAR___ ___ORGANIZATIONNAME___. -// All rights reserved. -// -// ----------------------------------------------------------------- - -#import "AppDelegate.h" -#import "HelloWorldScene.h" - -// ----------------------------------------------------------------------- - -@implementation AppDelegate - -// ----------------------------------------------------------------------- -// This is where your app starts. It takes two steps -// 1) Setting up Cocos2D, which is done with setupCocos2dWithOptions -// 2) Call your first scene, which is done by overriding startScene - -- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions -{ - // Cocos2D takes a dictionary to start ... yeah I know ... but it does, and it is kind of neat - NSMutableDictionary *startUpOptions = [NSMutableDictionary dictionary]; - - // Let's add some setup stuff - - // File extensions - // You can use anything you want, and completely dropping extensions will in most cases automatically scale the artwork correct - // To make it easy to understand what resolutions I am using, I have changed this for this demo to -4x -2x and -1x - // Notice that I deliberately added some of the artwork without extensions - [CCFileUtils sharedFileUtils].suffixesDict = [[NSMutableDictionary alloc] initWithObjectsAndKeys: - @"-2x", CCFileUtilsSuffixiPad, - @"-4x", CCFileUtilsSuffixiPadHD, - @"-1x", CCFileUtilsSuffixiPhone, - @"-1x", CCFileUtilsSuffixiPhoneHD, - @"-1x", CCFileUtilsSuffixiPhone5, - @"-2x", CCFileUtilsSuffixiPhone5HD, - @"", CCFileUtilsSuffixDefault, - nil]; - - // Show FPS - // We really want this when developing an app - [startUpOptions setObject:@(YES) forKey:CCSetupShowDebugStats]; - - // A acouple of other examples - - // Use a 16 bit color buffer - // This will lower the color depth from 32 bits to 16 bits for that extra performance - // Most will want 32, so we disbaled it - // --- - // [startUpOptions setObject:kEAGLColorFormatRGB565 forKey:CCSetupPixelFormat]; - - // Use a simplified coordinate system that is shared across devices - // Normally you work in the coordinate of the device (an iPad is 1024x768, an iPhone 4 480x320 and so on) - // This feature makes it easier to use the same setup for all devices (easier is a relative term) - // Most will want to handle iPad and iPhone exclusively, so it is disabled by default - // --- - // [startUpOptions setObject:CCScreenModeFixed forKey:CCSetupScreenMode]; - - // All the supported keys can be found in CCConfiguration.h - - // We are done ... - // Lets get this thing on the road! - [self setupCocos2dWithOptions:startUpOptions]; - - // Stay positive. Always return a YES :) - return YES; -} - -// ----------------------------------------------------------------------- -// This method should return the very first scene to be run when your app starts. - -- (CCScene *)startScene -{ - return [HelloWorldScene new]; -} - -// ----------------------------------------------------------------------- - -@end - - - - - - - - - - - - - - - - - - - - - - - diff --git a/templates/cocos2d iOS.xctemplate/Classes/HelloWorldScene.h b/templates/cocos2d iOS.xctemplate/Classes/HelloWorldScene.h deleted file mode 100755 index cec996b1c72..00000000000 --- a/templates/cocos2d iOS.xctemplate/Classes/HelloWorldScene.h +++ /dev/null @@ -1,61 +0,0 @@ -// -// ___FILENAME___ -// -// Created by : ___FULLUSERNAME___ -// Project : ___PROJECTNAME___ -// Date : ___DATE___ -// -// Copyright (c) ___YEAR___ ___ORGANIZATIONNAME___. -// All rights reserved. -// -// ----------------------------------------------------------------- - -#import -#import "cocos2d.h" -#import "cocos2d-ui.h" - -// ----------------------------------------------------------------------- - -@interface HelloWorldScene : CCScene - -// ----------------------------------------------------------------------- - -- (instancetype)init; - -// ----------------------------------------------------------------------- - -@end - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/templates/cocos2d iOS.xctemplate/Classes/HelloWorldScene.m b/templates/cocos2d iOS.xctemplate/Classes/HelloWorldScene.m deleted file mode 100755 index 6719c73eaa0..00000000000 --- a/templates/cocos2d iOS.xctemplate/Classes/HelloWorldScene.m +++ /dev/null @@ -1,73 +0,0 @@ -// -// ___FILENAME___ -// -// Created by : ___FULLUSERNAME___ -// Project : ___PROJECTNAME___ -// Date : ___DATE___ -// -// Copyright (c) ___YEAR___ ___ORGANIZATIONNAME___. -// All rights reserved. -// -// ----------------------------------------------------------------- - -#import "HelloWorldScene.h" - -// ----------------------------------------------------------------------- - -@implementation HelloWorldScene - -// ----------------------------------------------------------------------- - -- (id)init -{ - // Apple recommend assigning self with supers return value - self = [super init]; - - // The thing is, that if this fails, your app will 99.99% crash anyways, so why bother - // Just make an assert, so that you can catch it in debug - NSAssert(self, @"Whoops"); - - // Background - CCSprite9Slice *background = [CCSprite9Slice spriteWithImageNamed:@"white_square.png"]; - background.anchorPoint = CGPointZero; - background.contentSize = [CCDirector sharedDirector].viewSize; - background.color = [CCColor grayColor]; - [self addChild:background]; - - // The standard Hello World text - CCLabelTTF *label = [CCLabelTTF labelWithString:@"Hello World" fontName:@"ArialMT" fontSize:64]; - label.positionType = CCPositionTypeNormalized; - label.position = (CGPoint){0.5, 0.5}; - [self addChild:label]; - - // done - return self; -} - -// ----------------------------------------------------------------------- - -@end - - - - - - - - - - - - - - - - - - - - - - - -// why not add a few extra lines, so we dont have to sit and edit at the bottom of the screen ... diff --git a/templates/cocos2d iOS.xctemplate/Resources/base-4x.png b/templates/cocos2d iOS.xctemplate/Resources/base-4x.png deleted file mode 100644 index 7721d3d7c5f..00000000000 Binary files a/templates/cocos2d iOS.xctemplate/Resources/base-4x.png and /dev/null differ diff --git a/templates/cocos2d iOS.xctemplate/Resources/white_square.png b/templates/cocos2d iOS.xctemplate/Resources/white_square.png deleted file mode 100644 index 9499ed93945..00000000000 Binary files a/templates/cocos2d iOS.xctemplate/Resources/white_square.png and /dev/null differ diff --git a/templates/cocos2d iOS.xctemplate/Supporting Files/Prefix.pch b/templates/cocos2d iOS.xctemplate/Supporting Files/Prefix.pch deleted file mode 100755 index f2861ffe94d..00000000000 --- a/templates/cocos2d iOS.xctemplate/Supporting Files/Prefix.pch +++ /dev/null @@ -1,14 +0,0 @@ -// -// Prefix header for all source files of the 'Test' target in the 'Test' project -// - -#import - -#ifndef __IPHONE_3_0 -#warning "This project uses features only available in iPhone SDK 3.0 and later." -#endif - -#ifdef __OBJC__ -#import -#import -#endif diff --git a/templates/cocos2d iOS.xctemplate/Supporting Files/main.m b/templates/cocos2d iOS.xctemplate/Supporting Files/main.m deleted file mode 100755 index cee33bd86b9..00000000000 --- a/templates/cocos2d iOS.xctemplate/Supporting Files/main.m +++ /dev/null @@ -1,17 +0,0 @@ -// -// main.m -// cocos2d-template -// -// Created by Lars Birkemose on 24/06/15. -// Copyright cocos2d.org 2015. All rights reserved. -// - -#import - -int main(int argc, char *argv[]) { - - @autoreleasepool { - int retVal = UIApplicationMain(argc, argv, nil, @"AppDelegate"); - return retVal; - } -} diff --git a/templates/cocos2d iOS.xctemplate/TemplateIcon.icns b/templates/cocos2d iOS.xctemplate/TemplateIcon.icns deleted file mode 100755 index 2dc0371c185..00000000000 Binary files a/templates/cocos2d iOS.xctemplate/TemplateIcon.icns and /dev/null differ diff --git a/templates/cocos2d iOS.xctemplate/TemplateInfo.plist b/templates/cocos2d iOS.xctemplate/TemplateInfo.plist deleted file mode 100755 index 58387aa53c4..00000000000 --- a/templates/cocos2d iOS.xctemplate/TemplateInfo.plist +++ /dev/null @@ -1,111 +0,0 @@ - - - - - Identifier - com.cocos2d-v3.4.Cocos2D-iOS-Template - Kind - Xcode.Xcode3.ProjectTemplateUnitKind - Ancestors - - com.cocos2d-v3.bundlebase - com.cocos2d-v3.iosbase - com.cocos2d-v3.cocos2d-base - com.cocos2d-v3.cocos2d-effects - com.cocos2d-v3.cocos2d-ui - com.cocos2d-v3.cocos2d-platform - com.cocos2d-v3.cocos2d-support - com.cocos2d-v3.cocos2d-ccb - com.cocos2d-v3.objectal - com.cocos2d-v3.chipmunk - - Concrete - - Definitions - - Supporting Files/Prefix.pch - - Group - Supporting Files - Path - Supporting Files/Prefix.pch - TargetIndices - - - Supporting Files/main.m - - Group - Supporting Files - Path - Supporting Files/main.m - TargetIndices - - 0 - - - Classes/HelloWorldScene.h - - Group - Classes - Path - Classes/HelloWorldScene.h - TargetIndices - - - Classes/HelloWorldScene.m - - Group - Classes - Path - Classes/HelloWorldScene.m - TargetIndices - - 0 - - - Classes/AppDelegate.h - - Group - Classes - Path - Classes/AppDelegate.h - TargetIndices - - - Classes/AppDelegate.m - - Group - Classes - Path - Classes/AppDelegate.m - TargetIndices - - 0 - - - Resources/white_square.png - - Group - Resources - Path - Resources/white_square.png - TargetIndices - - 0 - - - - Description - This template provides the minimum setup for any application. - Nodes - - Supporting Files/Prefix.pch - Supporting Files/main.m - Classes/AppDelegate.h - Classes/AppDelegate.m - Classes/HelloWorldScene.h - Classes/HelloWorldScene.m - Resources/white_square.png - - -