Separate projects for mac and ios.
20
spine-cocos2d-iphone/Resources-ios/AppDelegate.h
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
|
||||||
|
#import <UIKit/UIKit.h>
|
||||||
|
#import "cocos2d.h"
|
||||||
|
|
||||||
|
// Added only for iOS 6 support
|
||||||
|
@interface MyNavigationController : UINavigationController <CCDirectorDelegate>
|
||||||
|
@end
|
||||||
|
|
||||||
|
@interface AppController : NSObject <UIApplicationDelegate> {
|
||||||
|
UIWindow *window_;
|
||||||
|
MyNavigationController *navController_;
|
||||||
|
|
||||||
|
CCDirectorIOS *director_; // weak ref
|
||||||
|
}
|
||||||
|
|
||||||
|
@property (nonatomic, retain) UIWindow *window;
|
||||||
|
@property (readonly) MyNavigationController *navController;
|
||||||
|
@property (readonly) CCDirectorIOS *director;
|
||||||
|
|
||||||
|
@end
|
||||||
162
spine-cocos2d-iphone/Resources-ios/AppDelegate.m
Normal file
@ -0,0 +1,162 @@
|
|||||||
|
|
||||||
|
#import "cocos2d.h"
|
||||||
|
#import "AppDelegate.h"
|
||||||
|
#import "ExampleLayer.h"
|
||||||
|
|
||||||
|
@implementation MyNavigationController
|
||||||
|
|
||||||
|
// The available orientations should be defined in the Info.plist file.
|
||||||
|
// And in iOS 6+ only, you can override it in the Root View controller in the "supportedInterfaceOrientations" method.
|
||||||
|
// Only valid for iOS 6+. NOT VALID for iOS 4 / 5.
|
||||||
|
-(NSUInteger)supportedInterfaceOrientations {
|
||||||
|
// iPhone only
|
||||||
|
if( [[UIDevice currentDevice] userInterfaceIdiom] == UIUserInterfaceIdiomPhone )
|
||||||
|
return UIInterfaceOrientationMaskLandscape;
|
||||||
|
|
||||||
|
// iPad only
|
||||||
|
return UIInterfaceOrientationMaskLandscape;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Supported orientations. Customize it for your own needs
|
||||||
|
// Only valid on iOS 4 / 5. NOT VALID for iOS 6.
|
||||||
|
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
|
||||||
|
// iPhone only
|
||||||
|
if( [[UIDevice currentDevice] userInterfaceIdiom] == UIUserInterfaceIdiomPhone )
|
||||||
|
return UIInterfaceOrientationIsLandscape(interfaceOrientation);
|
||||||
|
|
||||||
|
// iPad only
|
||||||
|
// iPhone only
|
||||||
|
return UIInterfaceOrientationIsLandscape(interfaceOrientation);
|
||||||
|
}
|
||||||
|
|
||||||
|
// This is needed for iOS4 and iOS5 in order to ensure
|
||||||
|
// that the 1st scene has the correct dimensions
|
||||||
|
// 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: [ExampleLayer scene]];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@end
|
||||||
|
|
||||||
|
|
||||||
|
@implementation AppController
|
||||||
|
|
||||||
|
@synthesize window=window_, navController=navController_, director=director_;
|
||||||
|
|
||||||
|
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
|
||||||
|
// Create the main window
|
||||||
|
window_ = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
|
||||||
|
|
||||||
|
// Create an CCGLView with a RGB565 color buffer, and a depth buffer of 0-bits
|
||||||
|
CCGLView *glView = [CCGLView viewWithFrame:[window_ bounds]
|
||||||
|
pixelFormat:kEAGLColorFormatRGB565 //kEAGLColorFormatRGBA8
|
||||||
|
depthFormat:0 //GL_DEPTH_COMPONENT24_OES
|
||||||
|
preserveBackbuffer:NO
|
||||||
|
sharegroup:nil
|
||||||
|
multiSampling:NO
|
||||||
|
numberOfSamples:0];
|
||||||
|
|
||||||
|
director_ = (CCDirectorIOS*) [CCDirector sharedDirector];
|
||||||
|
|
||||||
|
director_.wantsFullScreenLayout = YES;
|
||||||
|
|
||||||
|
// Display FSP and SPF
|
||||||
|
[director_ setDisplayStats:YES];
|
||||||
|
|
||||||
|
// set FPS at 60
|
||||||
|
[director_ setAnimationInterval:1.0/60];
|
||||||
|
|
||||||
|
// attach the openglView to the director
|
||||||
|
[director_ setView:glView];
|
||||||
|
|
||||||
|
// 2D projection
|
||||||
|
[director_ setProjection:kCCDirectorProjection2D];
|
||||||
|
// [director setProjection:kCCDirectorProjection3D];
|
||||||
|
|
||||||
|
// Enables High Res mode (Retina Display) on iPhone 4 and maintains low res on all other devices
|
||||||
|
if( ! [director_ enableRetinaDisplay:YES] )
|
||||||
|
CCLOG(@"Retina Display Not supported");
|
||||||
|
|
||||||
|
// Default texture format for PNG/BMP/TIFF/JPEG/GIF images
|
||||||
|
// It can be RGBA8888, RGBA4444, RGB5_A1, RGB565
|
||||||
|
// You can change this setting at any time.
|
||||||
|
[CCTexture2D setDefaultAlphaPixelFormat:kCCTexture2DPixelFormat_RGBA8888];
|
||||||
|
|
||||||
|
// If the 1st suffix is not found and if fallback is enabled then fallback suffixes are going to searched. If none is found, it will try with the name without suffix.
|
||||||
|
// On iPad HD : "-ipadhd", "-ipad", "-hd"
|
||||||
|
// On iPad : "-ipad", "-hd"
|
||||||
|
// On iPhone HD: "-hd"
|
||||||
|
CCFileUtils *sharedFileUtils = [CCFileUtils sharedFileUtils];
|
||||||
|
[sharedFileUtils setEnableFallbackSuffixes:NO]; // Default: NO. No fallback suffixes are going to be used
|
||||||
|
[sharedFileUtils setiPhoneRetinaDisplaySuffix:@"-hd"]; // Default on iPhone RetinaDisplay is "-hd"
|
||||||
|
[sharedFileUtils setiPadSuffix:@"-ipad"]; // Default on iPad is "ipad"
|
||||||
|
[sharedFileUtils setiPadRetinaDisplaySuffix:@"-ipadhd"]; // Default on iPad RetinaDisplay is "-ipadhd"
|
||||||
|
|
||||||
|
// Assume that PVR images have premultiplied alpha
|
||||||
|
[CCTexture2D PVRImagesHavePremultipliedAlpha:YES];
|
||||||
|
|
||||||
|
// Create a Navigation Controller with the Director
|
||||||
|
navController_ = [[MyNavigationController alloc] initWithRootViewController:director_];
|
||||||
|
navController_.navigationBarHidden = YES;
|
||||||
|
|
||||||
|
// for rotation and other messages
|
||||||
|
[director_ setDelegate:navController_];
|
||||||
|
|
||||||
|
// set the Navigation Controller as the root view controller
|
||||||
|
[window_ setRootViewController:navController_];
|
||||||
|
|
||||||
|
// make main window visible
|
||||||
|
[window_ makeKeyAndVisible];
|
||||||
|
|
||||||
|
return YES;
|
||||||
|
}
|
||||||
|
|
||||||
|
// getting a call, pause the game
|
||||||
|
-(void) applicationWillResignActive:(UIApplication *)application {
|
||||||
|
if( [navController_ visibleViewController] == director_ )
|
||||||
|
[director_ pause];
|
||||||
|
}
|
||||||
|
|
||||||
|
// call got rejected
|
||||||
|
-(void) applicationDidBecomeActive:(UIApplication *)application {
|
||||||
|
[[CCDirector sharedDirector] setNextDeltaTimeZero:YES];
|
||||||
|
if( [navController_ visibleViewController] == director_ )
|
||||||
|
[director_ resume];
|
||||||
|
}
|
||||||
|
|
||||||
|
-(void) applicationDidEnterBackground:(UIApplication*)application {
|
||||||
|
if( [navController_ visibleViewController] == director_ )
|
||||||
|
[director_ stopAnimation];
|
||||||
|
}
|
||||||
|
|
||||||
|
-(void) applicationWillEnterForeground:(UIApplication*)application {
|
||||||
|
if( [navController_ visibleViewController] == director_ )
|
||||||
|
[director_ startAnimation];
|
||||||
|
}
|
||||||
|
|
||||||
|
// application will be killed
|
||||||
|
- (void)applicationWillTerminate:(UIApplication *)application {
|
||||||
|
CC_DIRECTOR_END();
|
||||||
|
}
|
||||||
|
|
||||||
|
// purge memory
|
||||||
|
- (void)applicationDidReceiveMemoryWarning:(UIApplication *)application
|
||||||
|
{
|
||||||
|
[[CCDirector sharedDirector] purgeCachedData];
|
||||||
|
}
|
||||||
|
|
||||||
|
// next delta time will be zero
|
||||||
|
-(void) applicationSignificantTimeChange:(UIApplication *)application {
|
||||||
|
[[CCDirector sharedDirector] setNextDeltaTimeZero:YES];
|
||||||
|
}
|
||||||
|
|
||||||
|
- (void) dealloc {
|
||||||
|
[window_ release];
|
||||||
|
[navController_ release];
|
||||||
|
|
||||||
|
[super dealloc];
|
||||||
|
}
|
||||||
|
@end
|
||||||
BIN
spine-cocos2d-iphone/Resources-ios/Default-568h@2x.png
Normal file
|
After Width: | Height: | Size: 256 KiB |
BIN
spine-cocos2d-iphone/Resources-ios/Default-Landscape~ipad.png
Normal file
|
After Width: | Height: | Size: 464 KiB |
BIN
spine-cocos2d-iphone/Resources-ios/Default.png
Normal file
|
After Width: | Height: | Size: 27 KiB |
BIN
spine-cocos2d-iphone/Resources-ios/Default@2x.png
Normal file
|
After Width: | Height: | Size: 357 KiB |
BIN
spine-cocos2d-iphone/Resources-ios/Icon-72.png
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
spine-cocos2d-iphone/Resources-ios/Icon-Small-50.png
Normal file
|
After Width: | Height: | Size: 7.8 KiB |
BIN
spine-cocos2d-iphone/Resources-ios/Icon-Small.png
Normal file
|
After Width: | Height: | Size: 4.8 KiB |
BIN
spine-cocos2d-iphone/Resources-ios/Icon-Small@2x.png
Normal file
|
After Width: | Height: | Size: 9.2 KiB |
BIN
spine-cocos2d-iphone/Resources-ios/Icon.png
Normal file
|
After Width: | Height: | Size: 9.1 KiB |
BIN
spine-cocos2d-iphone/Resources-ios/Icon@2x.png
Normal file
|
After Width: | Height: | Size: 21 KiB |
58
spine-cocos2d-iphone/Resources-ios/Info.plist
Normal file
@ -0,0 +1,58 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||||
|
<plist version="1.0">
|
||||||
|
<dict>
|
||||||
|
<key>CFBundleDevelopmentRegion</key>
|
||||||
|
<string>English</string>
|
||||||
|
<key>CFBundleDisplayName</key>
|
||||||
|
<string>${PRODUCT_NAME}</string>
|
||||||
|
<key>CFBundleExecutable</key>
|
||||||
|
<string>${EXECUTABLE_NAME}</string>
|
||||||
|
<key>CFBundleIconFile</key>
|
||||||
|
<string></string>
|
||||||
|
<key>CFBundleIconFiles</key>
|
||||||
|
<array>
|
||||||
|
<string>Icon.png</string>
|
||||||
|
<string>Icon@2x.png</string>
|
||||||
|
<string>Icon-72.png</string>
|
||||||
|
<string>Icon-Small-50.png</string>
|
||||||
|
<string>Icon-Small.png</string>
|
||||||
|
<string>Icon-Small@2x.png</string>
|
||||||
|
</array>
|
||||||
|
<key>CFBundleIdentifier</key>
|
||||||
|
<string>com.yourcompany.${PRODUCT_NAME:rfc1034identifier}</string>
|
||||||
|
<key>CFBundleInfoDictionaryVersion</key>
|
||||||
|
<string>6.0</string>
|
||||||
|
<key>CFBundleName</key>
|
||||||
|
<string>${PRODUCT_NAME}</string>
|
||||||
|
<key>CFBundlePackageType</key>
|
||||||
|
<string>APPL</string>
|
||||||
|
<key>CFBundleSignature</key>
|
||||||
|
<string>????</string>
|
||||||
|
<key>CFBundleVersion</key>
|
||||||
|
<string>1.0</string>
|
||||||
|
<key>LSRequiresIPhoneOS</key>
|
||||||
|
<true/>
|
||||||
|
<key>UIPrerenderedIcon</key>
|
||||||
|
<true/>
|
||||||
|
<key>UIStatusBarHidden</key>
|
||||||
|
<true/>
|
||||||
|
<key>UIRequiredDeviceCapabilities</key>
|
||||||
|
<dict>
|
||||||
|
<key>accelerometer</key>
|
||||||
|
<true/>
|
||||||
|
<key>opengles-2</key>
|
||||||
|
<true/>
|
||||||
|
</dict>
|
||||||
|
<key>UISupportedInterfaceOrientations</key>
|
||||||
|
<array>
|
||||||
|
<string>UIInterfaceOrientationLandscapeLeft</string>
|
||||||
|
<string>UIInterfaceOrientationLandscapeRight</string>
|
||||||
|
</array>
|
||||||
|
<key>UISupportedInterfaceOrientations~ipad</key>
|
||||||
|
<array>
|
||||||
|
<string>UIInterfaceOrientationLandscapeLeft</string>
|
||||||
|
<string>UIInterfaceOrientationLandscapeRight</string>
|
||||||
|
</array>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
||||||
11
spine-cocos2d-iphone/Resources-ios/Prefix.pch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
|
||||||
|
#import <Availability.h>
|
||||||
|
|
||||||
|
#ifndef __IPHONE_3_0
|
||||||
|
#warning "This project uses features only available in iPhone SDK 3.0 and later."
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef __OBJC__
|
||||||
|
#import <UIKit/UIKit.h>
|
||||||
|
#import <Foundation/Foundation.h>
|
||||||
|
#endif
|
||||||
BIN
spine-cocos2d-iphone/Resources-ios/iTunesArtwork
Normal file
|
After Width: | Height: | Size: 60 KiB |
9
spine-cocos2d-iphone/Resources-ios/main.m
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
|
||||||
|
#import <UIKit/UIKit.h>
|
||||||
|
|
||||||
|
int main(int argc, char *argv[]) {
|
||||||
|
NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
|
||||||
|
int retVal = UIApplicationMain(argc, argv, nil, @"AppController");
|
||||||
|
[pool release];
|
||||||
|
return retVal;
|
||||||
|
}
|
||||||
4
spine-cocos2d-iphone/Resources-mac/Prefix.pch
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
|
||||||
|
#ifdef __OBJC__
|
||||||
|
#import <Cocoa/Cocoa.h>
|
||||||
|
#endif
|
||||||
@ -1,7 +0,0 @@
|
|||||||
//
|
|
||||||
// Prefix header for all source files of the 'cocos2d-mac' target in the 'cocos2d-mac' project
|
|
||||||
//
|
|
||||||
|
|
||||||
#ifdef __OBJC__
|
|
||||||
#import <Cocoa/Cocoa.h>
|
|
||||||
#endif
|
|
||||||
@ -2,6 +2,6 @@
|
|||||||
<Workspace
|
<Workspace
|
||||||
version = "1.0">
|
version = "1.0">
|
||||||
<FileRef
|
<FileRef
|
||||||
location = "self:spine-cocos2d-iphone.xcodeproj">
|
location = "self:spine-cocos2d-iphone-ios.xcodeproj">
|
||||||
</FileRef>
|
</FileRef>
|
||||||
</Workspace>
|
</Workspace>
|
||||||
@ -13,9 +13,7 @@
|
|||||||
4319B51E16FF9B2600C1D7A9 /* AudioToolbox.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4319B51D16FF9B2600C1D7A9 /* AudioToolbox.framework */; };
|
4319B51E16FF9B2600C1D7A9 /* AudioToolbox.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4319B51D16FF9B2600C1D7A9 /* AudioToolbox.framework */; };
|
||||||
4319B52016FF9B2600C1D7A9 /* AppKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4319B51F16FF9B2600C1D7A9 /* AppKit.framework */; };
|
4319B52016FF9B2600C1D7A9 /* AppKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4319B51F16FF9B2600C1D7A9 /* AppKit.framework */; };
|
||||||
4319B52216FF9B2600C1D7A9 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4319B52116FF9B2600C1D7A9 /* Foundation.framework */; };
|
4319B52216FF9B2600C1D7A9 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4319B52116FF9B2600C1D7A9 /* Foundation.framework */; };
|
||||||
4319B6C316FF9D1700C1D7A9 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 4319B6BE16FF9D1700C1D7A9 /* AppDelegate.m */; };
|
|
||||||
4319B6C416FF9D1700C1D7A9 /* ExampleLayer.m in Sources */ = {isa = PBXBuildFile; fileRef = 4319B6C016FF9D1700C1D7A9 /* ExampleLayer.m */; };
|
4319B6C416FF9D1700C1D7A9 /* ExampleLayer.m in Sources */ = {isa = PBXBuildFile; fileRef = 4319B6C016FF9D1700C1D7A9 /* ExampleLayer.m */; };
|
||||||
4319B6C516FF9D1700C1D7A9 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 4319B6C116FF9D1700C1D7A9 /* main.m */; };
|
|
||||||
4319B7D616FF9D3A00C1D7A9 /* CCAction.m in Sources */ = {isa = PBXBuildFile; fileRef = 4319B6C916FF9D3900C1D7A9 /* CCAction.m */; };
|
4319B7D616FF9D3A00C1D7A9 /* CCAction.m in Sources */ = {isa = PBXBuildFile; fileRef = 4319B6C916FF9D3900C1D7A9 /* CCAction.m */; };
|
||||||
4319B7D716FF9D3A00C1D7A9 /* CCActionCamera.m in Sources */ = {isa = PBXBuildFile; fileRef = 4319B6CB16FF9D3900C1D7A9 /* CCActionCamera.m */; };
|
4319B7D716FF9D3A00C1D7A9 /* CCActionCamera.m in Sources */ = {isa = PBXBuildFile; fileRef = 4319B6CB16FF9D3900C1D7A9 /* CCActionCamera.m */; };
|
||||||
4319B7D816FF9D3A00C1D7A9 /* CCActionCatmullRom.m in Sources */ = {isa = PBXBuildFile; fileRef = 4319B6CD16FF9D3900C1D7A9 /* CCActionCatmullRom.m */; };
|
4319B7D816FF9D3A00C1D7A9 /* CCActionCatmullRom.m in Sources */ = {isa = PBXBuildFile; fileRef = 4319B6CD16FF9D3900C1D7A9 /* CCActionCatmullRom.m */; };
|
||||||
@ -129,9 +127,6 @@
|
|||||||
4319B84416FF9D3A00C1D7A9 /* LICENSE_cocos2d.txt in Resources */ = {isa = PBXBuildFile; fileRef = 4319B7C816FF9D3900C1D7A9 /* LICENSE_cocos2d.txt */; };
|
4319B84416FF9D3A00C1D7A9 /* LICENSE_cocos2d.txt in Resources */ = {isa = PBXBuildFile; fileRef = 4319B7C816FF9D3900C1D7A9 /* LICENSE_cocos2d.txt */; };
|
||||||
4319B84516FF9D3A00C1D7A9 /* LICENSE_CocosDenshion.txt in Resources */ = {isa = PBXBuildFile; fileRef = 4319B7C916FF9D3900C1D7A9 /* LICENSE_CocosDenshion.txt */; };
|
4319B84516FF9D3A00C1D7A9 /* LICENSE_CocosDenshion.txt in Resources */ = {isa = PBXBuildFile; fileRef = 4319B7C916FF9D3900C1D7A9 /* LICENSE_CocosDenshion.txt */; };
|
||||||
4319B84616FF9D3A00C1D7A9 /* LICENSE_Kazmath.txt in Resources */ = {isa = PBXBuildFile; fileRef = 4319B7CA16FF9D3900C1D7A9 /* LICENSE_Kazmath.txt */; };
|
4319B84616FF9D3A00C1D7A9 /* LICENSE_Kazmath.txt in Resources */ = {isa = PBXBuildFile; fileRef = 4319B7CA16FF9D3900C1D7A9 /* LICENSE_Kazmath.txt */; };
|
||||||
4319B84716FF9D3A00C1D7A9 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 4319B7CC16FF9D3900C1D7A9 /* InfoPlist.strings */; };
|
|
||||||
4319B84816FF9D3A00C1D7A9 /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = 4319B7CE16FF9D3900C1D7A9 /* MainMenu.xib */; };
|
|
||||||
4319B84916FF9D3A00C1D7A9 /* icon.icns in Resources */ = {isa = PBXBuildFile; fileRef = 4319B7D016FF9D3900C1D7A9 /* icon.icns */; };
|
|
||||||
4319B84B16FF9D3A00C1D7A9 /* spineboy-skeleton.json in Resources */ = {isa = PBXBuildFile; fileRef = 4319B7D216FF9D3900C1D7A9 /* spineboy-skeleton.json */; };
|
4319B84B16FF9D3A00C1D7A9 /* spineboy-skeleton.json in Resources */ = {isa = PBXBuildFile; fileRef = 4319B7D216FF9D3900C1D7A9 /* spineboy-skeleton.json */; };
|
||||||
4319B84C16FF9D3A00C1D7A9 /* spineboy-walk.json in Resources */ = {isa = PBXBuildFile; fileRef = 4319B7D316FF9D3900C1D7A9 /* spineboy-walk.json */; };
|
4319B84C16FF9D3A00C1D7A9 /* spineboy-walk.json in Resources */ = {isa = PBXBuildFile; fileRef = 4319B7D316FF9D3900C1D7A9 /* spineboy-walk.json */; };
|
||||||
4319B84D16FF9D3A00C1D7A9 /* spineboy.atlas in Resources */ = {isa = PBXBuildFile; fileRef = 4319B7D416FF9D3900C1D7A9 /* spineboy.atlas */; };
|
4319B84D16FF9D3A00C1D7A9 /* spineboy.atlas in Resources */ = {isa = PBXBuildFile; fileRef = 4319B7D416FF9D3900C1D7A9 /* spineboy.atlas */; };
|
||||||
@ -155,6 +150,11 @@
|
|||||||
43BFBE1F170A804700ECBACB /* Skin.c in Sources */ = {isa = PBXBuildFile; fileRef = 43BFBDC3170A705100ECBACB /* Skin.c */; };
|
43BFBE1F170A804700ECBACB /* Skin.c in Sources */ = {isa = PBXBuildFile; fileRef = 43BFBDC3170A705100ECBACB /* Skin.c */; };
|
||||||
43BFBE20170A804700ECBACB /* Slot.c in Sources */ = {isa = PBXBuildFile; fileRef = 43BFBDC4170A705100ECBACB /* Slot.c */; };
|
43BFBE20170A804700ECBACB /* Slot.c in Sources */ = {isa = PBXBuildFile; fileRef = 43BFBDC4170A705100ECBACB /* Slot.c */; };
|
||||||
43BFBE21170A804700ECBACB /* SlotData.c in Sources */ = {isa = PBXBuildFile; fileRef = 43BFBDC5170A705100ECBACB /* SlotData.c */; };
|
43BFBE21170A804700ECBACB /* SlotData.c in Sources */ = {isa = PBXBuildFile; fileRef = 43BFBDC5170A705100ECBACB /* SlotData.c */; };
|
||||||
|
43C32A1B170B1295004A9460 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 43C32A11170B1295004A9460 /* AppDelegate.m */; };
|
||||||
|
43C32A1C170B1295004A9460 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 43C32A13170B1295004A9460 /* InfoPlist.strings */; };
|
||||||
|
43C32A1D170B1295004A9460 /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = 43C32A15170B1295004A9460 /* MainMenu.xib */; };
|
||||||
|
43C32A1E170B1295004A9460 /* icon.icns in Resources */ = {isa = PBXBuildFile; fileRef = 43C32A17170B1295004A9460 /* icon.icns */; };
|
||||||
|
43C32A20170B1295004A9460 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 43C32A19170B1295004A9460 /* main.m */; };
|
||||||
/* End PBXBuildFile section */
|
/* End PBXBuildFile section */
|
||||||
|
|
||||||
/* Begin PBXFileReference section */
|
/* Begin PBXFileReference section */
|
||||||
@ -165,12 +165,8 @@
|
|||||||
4319B51D16FF9B2600C1D7A9 /* AudioToolbox.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AudioToolbox.framework; path = System/Library/Frameworks/AudioToolbox.framework; sourceTree = SDKROOT; };
|
4319B51D16FF9B2600C1D7A9 /* AudioToolbox.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AudioToolbox.framework; path = System/Library/Frameworks/AudioToolbox.framework; sourceTree = SDKROOT; };
|
||||||
4319B51F16FF9B2600C1D7A9 /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = System/Library/Frameworks/AppKit.framework; sourceTree = SDKROOT; };
|
4319B51F16FF9B2600C1D7A9 /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = System/Library/Frameworks/AppKit.framework; sourceTree = SDKROOT; };
|
||||||
4319B52116FF9B2600C1D7A9 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
|
4319B52116FF9B2600C1D7A9 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
|
||||||
4319B6BD16FF9D1700C1D7A9 /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
|
|
||||||
4319B6BE16FF9D1700C1D7A9 /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; };
|
|
||||||
4319B6BF16FF9D1700C1D7A9 /* ExampleLayer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ExampleLayer.h; sourceTree = "<group>"; };
|
4319B6BF16FF9D1700C1D7A9 /* ExampleLayer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ExampleLayer.h; sourceTree = "<group>"; };
|
||||||
4319B6C016FF9D1700C1D7A9 /* ExampleLayer.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ExampleLayer.m; sourceTree = "<group>"; };
|
4319B6C016FF9D1700C1D7A9 /* ExampleLayer.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ExampleLayer.m; sourceTree = "<group>"; };
|
||||||
4319B6C116FF9D1700C1D7A9 /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
|
|
||||||
4319B6C216FF9D1700C1D7A9 /* Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Prefix.pch; sourceTree = "<group>"; };
|
|
||||||
4319B6C816FF9D3900C1D7A9 /* CCAction.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCAction.h; sourceTree = "<group>"; };
|
4319B6C816FF9D3900C1D7A9 /* CCAction.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCAction.h; sourceTree = "<group>"; };
|
||||||
4319B6C916FF9D3900C1D7A9 /* CCAction.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCAction.m; sourceTree = "<group>"; };
|
4319B6C916FF9D3900C1D7A9 /* CCAction.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CCAction.m; sourceTree = "<group>"; };
|
||||||
4319B6CA16FF9D3900C1D7A9 /* CCActionCamera.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCActionCamera.h; sourceTree = "<group>"; };
|
4319B6CA16FF9D3900C1D7A9 /* CCActionCamera.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCActionCamera.h; sourceTree = "<group>"; };
|
||||||
@ -419,10 +415,6 @@
|
|||||||
4319B7C816FF9D3900C1D7A9 /* LICENSE_cocos2d.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = LICENSE_cocos2d.txt; sourceTree = "<group>"; };
|
4319B7C816FF9D3900C1D7A9 /* LICENSE_cocos2d.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = LICENSE_cocos2d.txt; sourceTree = "<group>"; };
|
||||||
4319B7C916FF9D3900C1D7A9 /* LICENSE_CocosDenshion.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = LICENSE_CocosDenshion.txt; sourceTree = "<group>"; };
|
4319B7C916FF9D3900C1D7A9 /* LICENSE_CocosDenshion.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = LICENSE_CocosDenshion.txt; sourceTree = "<group>"; };
|
||||||
4319B7CA16FF9D3900C1D7A9 /* LICENSE_Kazmath.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = LICENSE_Kazmath.txt; sourceTree = "<group>"; };
|
4319B7CA16FF9D3900C1D7A9 /* LICENSE_Kazmath.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = LICENSE_Kazmath.txt; sourceTree = "<group>"; };
|
||||||
4319B7CD16FF9D3900C1D7A9 /* English */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = English; path = English.lproj/InfoPlist.strings; sourceTree = "<group>"; };
|
|
||||||
4319B7CF16FF9D3900C1D7A9 /* English */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = English; path = English.lproj/MainMenu.xib; sourceTree = "<group>"; };
|
|
||||||
4319B7D016FF9D3900C1D7A9 /* icon.icns */ = {isa = PBXFileReference; lastKnownFileType = image.icns; path = icon.icns; sourceTree = "<group>"; };
|
|
||||||
4319B7D116FF9D3900C1D7A9 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
|
|
||||||
4319B7D216FF9D3900C1D7A9 /* spineboy-skeleton.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = "spineboy-skeleton.json"; sourceTree = "<group>"; };
|
4319B7D216FF9D3900C1D7A9 /* spineboy-skeleton.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = "spineboy-skeleton.json"; sourceTree = "<group>"; };
|
||||||
4319B7D316FF9D3900C1D7A9 /* spineboy-walk.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = "spineboy-walk.json"; sourceTree = "<group>"; };
|
4319B7D316FF9D3900C1D7A9 /* spineboy-walk.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = "spineboy-walk.json"; sourceTree = "<group>"; };
|
||||||
4319B7D416FF9D3900C1D7A9 /* spineboy.atlas */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = spineboy.atlas; sourceTree = "<group>"; };
|
4319B7D416FF9D3900C1D7A9 /* spineboy.atlas */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = spineboy.atlas; sourceTree = "<group>"; };
|
||||||
@ -466,6 +458,14 @@
|
|||||||
43BFBDC5170A705100ECBACB /* SlotData.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = SlotData.c; path = "../spine-c/src/spine/SlotData.c"; sourceTree = "<group>"; };
|
43BFBDC5170A705100ECBACB /* SlotData.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = SlotData.c; path = "../spine-c/src/spine/SlotData.c"; sourceTree = "<group>"; };
|
||||||
43BFBE0D170A778A00ECBACB /* spine-cocos2d-iphone.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = "spine-cocos2d-iphone.m"; path = "src/spine/spine-cocos2d-iphone.m"; sourceTree = "<group>"; };
|
43BFBE0D170A778A00ECBACB /* spine-cocos2d-iphone.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = "spine-cocos2d-iphone.m"; path = "src/spine/spine-cocos2d-iphone.m"; sourceTree = "<group>"; };
|
||||||
43BFBE0E170A778A00ECBACB /* spine-cocos2d-iphone.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "spine-cocos2d-iphone.h"; path = "src/spine/spine-cocos2d-iphone.h"; sourceTree = "<group>"; };
|
43BFBE0E170A778A00ECBACB /* spine-cocos2d-iphone.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "spine-cocos2d-iphone.h"; path = "src/spine/spine-cocos2d-iphone.h"; sourceTree = "<group>"; };
|
||||||
|
43C32A10170B1295004A9460 /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = "../Resources-mac/AppDelegate.h"; sourceTree = "<group>"; };
|
||||||
|
43C32A11170B1295004A9460 /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = "../Resources-mac/AppDelegate.m"; sourceTree = "<group>"; };
|
||||||
|
43C32A14170B1295004A9460 /* English */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = English; path = InfoPlist.strings; sourceTree = "<group>"; };
|
||||||
|
43C32A16170B1295004A9460 /* English */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = English; path = MainMenu.xib; sourceTree = "<group>"; };
|
||||||
|
43C32A17170B1295004A9460 /* icon.icns */ = {isa = PBXFileReference; lastKnownFileType = image.icns; name = icon.icns; path = "Resources-mac/icon.icns"; sourceTree = "<group>"; };
|
||||||
|
43C32A18170B1295004A9460 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = "Resources-mac/Info.plist"; sourceTree = "<group>"; };
|
||||||
|
43C32A19170B1295004A9460 /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = "../Resources-mac/main.m"; sourceTree = "<group>"; };
|
||||||
|
43C32A1A170B1295004A9460 /* Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Prefix.pch; path = "../Resources-mac/Prefix.pch"; sourceTree = "<group>"; };
|
||||||
/* End PBXFileReference section */
|
/* End PBXFileReference section */
|
||||||
|
|
||||||
/* Begin PBXFrameworksBuildPhase section */
|
/* Begin PBXFrameworksBuildPhase section */
|
||||||
@ -490,6 +490,7 @@
|
|||||||
children = (
|
children = (
|
||||||
4319B6BC16FF9D1700C1D7A9 /* Classes */,
|
4319B6BC16FF9D1700C1D7A9 /* Classes */,
|
||||||
4319B7CB16FF9D3900C1D7A9 /* Resources */,
|
4319B7CB16FF9D3900C1D7A9 /* Resources */,
|
||||||
|
43C32A0F170B1282004A9460 /* Resources-mac */,
|
||||||
4319B6C616FF9D3900C1D7A9 /* libs */,
|
4319B6C616FF9D3900C1D7A9 /* libs */,
|
||||||
4319B51616FF9B2600C1D7A9 /* Frameworks */,
|
4319B51616FF9B2600C1D7A9 /* Frameworks */,
|
||||||
4319B51416FF9B2600C1D7A9 /* Products */,
|
4319B51416FF9B2600C1D7A9 /* Products */,
|
||||||
@ -522,12 +523,12 @@
|
|||||||
children = (
|
children = (
|
||||||
4319B8921701168A00C1D7A9 /* spine-c */,
|
4319B8921701168A00C1D7A9 /* spine-c */,
|
||||||
4319B8931701168F00C1D7A9 /* spine-cocos2d-iphone */,
|
4319B8931701168F00C1D7A9 /* spine-cocos2d-iphone */,
|
||||||
4319B6BD16FF9D1700C1D7A9 /* AppDelegate.h */,
|
|
||||||
4319B6BE16FF9D1700C1D7A9 /* AppDelegate.m */,
|
|
||||||
4319B6BF16FF9D1700C1D7A9 /* ExampleLayer.h */,
|
4319B6BF16FF9D1700C1D7A9 /* ExampleLayer.h */,
|
||||||
4319B6C016FF9D1700C1D7A9 /* ExampleLayer.m */,
|
4319B6C016FF9D1700C1D7A9 /* ExampleLayer.m */,
|
||||||
4319B6C116FF9D1700C1D7A9 /* main.m */,
|
43C32A10170B1295004A9460 /* AppDelegate.h */,
|
||||||
4319B6C216FF9D1700C1D7A9 /* Prefix.pch */,
|
43C32A11170B1295004A9460 /* AppDelegate.m */,
|
||||||
|
43C32A19170B1295004A9460 /* main.m */,
|
||||||
|
43C32A1A170B1295004A9460 /* Prefix.pch */,
|
||||||
);
|
);
|
||||||
name = Classes;
|
name = Classes;
|
||||||
path = example;
|
path = example;
|
||||||
@ -887,10 +888,6 @@
|
|||||||
4319B7CB16FF9D3900C1D7A9 /* Resources */ = {
|
4319B7CB16FF9D3900C1D7A9 /* Resources */ = {
|
||||||
isa = PBXGroup;
|
isa = PBXGroup;
|
||||||
children = (
|
children = (
|
||||||
4319B7CC16FF9D3900C1D7A9 /* InfoPlist.strings */,
|
|
||||||
4319B7CE16FF9D3900C1D7A9 /* MainMenu.xib */,
|
|
||||||
4319B7D016FF9D3900C1D7A9 /* icon.icns */,
|
|
||||||
4319B7D116FF9D3900C1D7A9 /* Info.plist */,
|
|
||||||
4319B7D216FF9D3900C1D7A9 /* spineboy-skeleton.json */,
|
4319B7D216FF9D3900C1D7A9 /* spineboy-skeleton.json */,
|
||||||
4319B7D316FF9D3900C1D7A9 /* spineboy-walk.json */,
|
4319B7D316FF9D3900C1D7A9 /* spineboy-walk.json */,
|
||||||
4319B7D416FF9D3900C1D7A9 /* spineboy.atlas */,
|
4319B7D416FF9D3900C1D7A9 /* spineboy.atlas */,
|
||||||
@ -954,6 +951,26 @@
|
|||||||
path = ..;
|
path = ..;
|
||||||
sourceTree = "<group>";
|
sourceTree = "<group>";
|
||||||
};
|
};
|
||||||
|
43C32A0F170B1282004A9460 /* Resources-mac */ = {
|
||||||
|
isa = PBXGroup;
|
||||||
|
children = (
|
||||||
|
43C32A12170B1295004A9460 /* English.lproj */,
|
||||||
|
43C32A17170B1295004A9460 /* icon.icns */,
|
||||||
|
43C32A18170B1295004A9460 /* Info.plist */,
|
||||||
|
);
|
||||||
|
name = "Resources-mac";
|
||||||
|
sourceTree = "<group>";
|
||||||
|
};
|
||||||
|
43C32A12170B1295004A9460 /* English.lproj */ = {
|
||||||
|
isa = PBXGroup;
|
||||||
|
children = (
|
||||||
|
43C32A13170B1295004A9460 /* InfoPlist.strings */,
|
||||||
|
43C32A15170B1295004A9460 /* MainMenu.xib */,
|
||||||
|
);
|
||||||
|
name = English.lproj;
|
||||||
|
path = "Resources-mac/English.lproj";
|
||||||
|
sourceTree = "<group>";
|
||||||
|
};
|
||||||
/* End PBXGroup section */
|
/* End PBXGroup section */
|
||||||
|
|
||||||
/* Begin PBXNativeTarget section */
|
/* Begin PBXNativeTarget section */
|
||||||
@ -970,7 +987,7 @@
|
|||||||
dependencies = (
|
dependencies = (
|
||||||
);
|
);
|
||||||
name = SpineExample;
|
name = SpineExample;
|
||||||
productName = "spine-cocos2d-iphone";
|
productName = "spine-cocos2d-iphone-mac";
|
||||||
productReference = 4319B51316FF9B2600C1D7A9 /* SpineExample.app */;
|
productReference = 4319B51316FF9B2600C1D7A9 /* SpineExample.app */;
|
||||||
productType = "com.apple.product-type.application";
|
productType = "com.apple.product-type.application";
|
||||||
};
|
};
|
||||||
@ -983,7 +1000,7 @@
|
|||||||
LastUpgradeCheck = 0450;
|
LastUpgradeCheck = 0450;
|
||||||
ORGANIZATIONNAME = "Esoteric Software";
|
ORGANIZATIONNAME = "Esoteric Software";
|
||||||
};
|
};
|
||||||
buildConfigurationList = 4319B50D16FF9B2600C1D7A9 /* Build configuration list for PBXProject "spine-cocos2d-iphone" */;
|
buildConfigurationList = 4319B50D16FF9B2600C1D7A9 /* Build configuration list for PBXProject "spine-cocos2d-iphone-mac" */;
|
||||||
compatibilityVersion = "Xcode 3.2";
|
compatibilityVersion = "Xcode 3.2";
|
||||||
developmentRegion = English;
|
developmentRegion = English;
|
||||||
hasScannedForEncodings = 0;
|
hasScannedForEncodings = 0;
|
||||||
@ -1012,13 +1029,13 @@
|
|||||||
4319B84416FF9D3A00C1D7A9 /* LICENSE_cocos2d.txt in Resources */,
|
4319B84416FF9D3A00C1D7A9 /* LICENSE_cocos2d.txt in Resources */,
|
||||||
4319B84516FF9D3A00C1D7A9 /* LICENSE_CocosDenshion.txt in Resources */,
|
4319B84516FF9D3A00C1D7A9 /* LICENSE_CocosDenshion.txt in Resources */,
|
||||||
4319B84616FF9D3A00C1D7A9 /* LICENSE_Kazmath.txt in Resources */,
|
4319B84616FF9D3A00C1D7A9 /* LICENSE_Kazmath.txt in Resources */,
|
||||||
4319B84716FF9D3A00C1D7A9 /* InfoPlist.strings in Resources */,
|
|
||||||
4319B84816FF9D3A00C1D7A9 /* MainMenu.xib in Resources */,
|
|
||||||
4319B84916FF9D3A00C1D7A9 /* icon.icns in Resources */,
|
|
||||||
4319B84B16FF9D3A00C1D7A9 /* spineboy-skeleton.json in Resources */,
|
4319B84B16FF9D3A00C1D7A9 /* spineboy-skeleton.json in Resources */,
|
||||||
4319B84C16FF9D3A00C1D7A9 /* spineboy-walk.json in Resources */,
|
4319B84C16FF9D3A00C1D7A9 /* spineboy-walk.json in Resources */,
|
||||||
4319B84D16FF9D3A00C1D7A9 /* spineboy.atlas in Resources */,
|
4319B84D16FF9D3A00C1D7A9 /* spineboy.atlas in Resources */,
|
||||||
4319B84E16FF9D3A00C1D7A9 /* spineboy.png in Resources */,
|
4319B84E16FF9D3A00C1D7A9 /* spineboy.png in Resources */,
|
||||||
|
43C32A1C170B1295004A9460 /* InfoPlist.strings in Resources */,
|
||||||
|
43C32A1D170B1295004A9460 /* MainMenu.xib in Resources */,
|
||||||
|
43C32A1E170B1295004A9460 /* icon.icns in Resources */,
|
||||||
);
|
);
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
runOnlyForDeploymentPostprocessing = 0;
|
||||||
};
|
};
|
||||||
@ -1047,9 +1064,7 @@
|
|||||||
43BFBE1F170A804700ECBACB /* Skin.c in Sources */,
|
43BFBE1F170A804700ECBACB /* Skin.c in Sources */,
|
||||||
43BFBE20170A804700ECBACB /* Slot.c in Sources */,
|
43BFBE20170A804700ECBACB /* Slot.c in Sources */,
|
||||||
43BFBE21170A804700ECBACB /* SlotData.c in Sources */,
|
43BFBE21170A804700ECBACB /* SlotData.c in Sources */,
|
||||||
4319B6C316FF9D1700C1D7A9 /* AppDelegate.m in Sources */,
|
|
||||||
4319B6C416FF9D1700C1D7A9 /* ExampleLayer.m in Sources */,
|
4319B6C416FF9D1700C1D7A9 /* ExampleLayer.m in Sources */,
|
||||||
4319B6C516FF9D1700C1D7A9 /* main.m in Sources */,
|
|
||||||
4319B7D616FF9D3A00C1D7A9 /* CCAction.m in Sources */,
|
4319B7D616FF9D3A00C1D7A9 /* CCAction.m in Sources */,
|
||||||
4319B7D716FF9D3A00C1D7A9 /* CCActionCamera.m in Sources */,
|
4319B7D716FF9D3A00C1D7A9 /* CCActionCamera.m in Sources */,
|
||||||
4319B7D816FF9D3A00C1D7A9 /* CCActionCatmullRom.m in Sources */,
|
4319B7D816FF9D3A00C1D7A9 /* CCActionCatmullRom.m in Sources */,
|
||||||
@ -1158,24 +1173,26 @@
|
|||||||
4319B84216FF9D3A00C1D7A9 /* vec3.c in Sources */,
|
4319B84216FF9D3A00C1D7A9 /* vec3.c in Sources */,
|
||||||
4319B84316FF9D3A00C1D7A9 /* vec4.c in Sources */,
|
4319B84316FF9D3A00C1D7A9 /* vec4.c in Sources */,
|
||||||
43BFBE0F170A778A00ECBACB /* spine-cocos2d-iphone.m in Sources */,
|
43BFBE0F170A778A00ECBACB /* spine-cocos2d-iphone.m in Sources */,
|
||||||
|
43C32A1B170B1295004A9460 /* AppDelegate.m in Sources */,
|
||||||
|
43C32A20170B1295004A9460 /* main.m in Sources */,
|
||||||
);
|
);
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
runOnlyForDeploymentPostprocessing = 0;
|
||||||
};
|
};
|
||||||
/* End PBXSourcesBuildPhase section */
|
/* End PBXSourcesBuildPhase section */
|
||||||
|
|
||||||
/* Begin PBXVariantGroup section */
|
/* Begin PBXVariantGroup section */
|
||||||
4319B7CC16FF9D3900C1D7A9 /* InfoPlist.strings */ = {
|
43C32A13170B1295004A9460 /* InfoPlist.strings */ = {
|
||||||
isa = PBXVariantGroup;
|
isa = PBXVariantGroup;
|
||||||
children = (
|
children = (
|
||||||
4319B7CD16FF9D3900C1D7A9 /* English */,
|
43C32A14170B1295004A9460 /* English */,
|
||||||
);
|
);
|
||||||
name = InfoPlist.strings;
|
name = InfoPlist.strings;
|
||||||
sourceTree = "<group>";
|
sourceTree = "<group>";
|
||||||
};
|
};
|
||||||
4319B7CE16FF9D3900C1D7A9 /* MainMenu.xib */ = {
|
43C32A15170B1295004A9460 /* MainMenu.xib */ = {
|
||||||
isa = PBXVariantGroup;
|
isa = PBXVariantGroup;
|
||||||
children = (
|
children = (
|
||||||
4319B7CF16FF9D3900C1D7A9 /* English */,
|
43C32A16170B1295004A9460 /* English */,
|
||||||
);
|
);
|
||||||
name = MainMenu.xib;
|
name = MainMenu.xib;
|
||||||
sourceTree = "<group>";
|
sourceTree = "<group>";
|
||||||
@ -1232,14 +1249,14 @@
|
|||||||
COPY_PHASE_STRIP = NO;
|
COPY_PHASE_STRIP = NO;
|
||||||
GCC_DYNAMIC_NO_PIC = NO;
|
GCC_DYNAMIC_NO_PIC = NO;
|
||||||
GCC_PRECOMPILE_PREFIX_HEADER = YES;
|
GCC_PRECOMPILE_PREFIX_HEADER = YES;
|
||||||
GCC_PREFIX_HEADER = example/Prefix.pch;
|
GCC_PREFIX_HEADER = "Resources-mac/Prefix.pch";
|
||||||
GCC_WARN_64_TO_32_BIT_CONVERSION = NO;
|
GCC_WARN_64_TO_32_BIT_CONVERSION = NO;
|
||||||
HEADER_SEARCH_PATHS = (
|
HEADER_SEARCH_PATHS = (
|
||||||
"\"libs/kazmath/include\"",
|
"\"libs/kazmath/include\"",
|
||||||
"\"src\"",
|
"\"src\"",
|
||||||
"\"../spine-c/include\"",
|
"\"../spine-c/include\"",
|
||||||
);
|
);
|
||||||
INFOPLIST_FILE = Resources/Info.plist;
|
INFOPLIST_FILE = "Resources-mac/Info.plist";
|
||||||
OTHER_LDFLAGS = (
|
OTHER_LDFLAGS = (
|
||||||
"-lz",
|
"-lz",
|
||||||
"-lsqlite3",
|
"-lsqlite3",
|
||||||
@ -1256,14 +1273,14 @@
|
|||||||
ALWAYS_SEARCH_USER_PATHS = NO;
|
ALWAYS_SEARCH_USER_PATHS = NO;
|
||||||
COPY_PHASE_STRIP = YES;
|
COPY_PHASE_STRIP = YES;
|
||||||
GCC_PRECOMPILE_PREFIX_HEADER = YES;
|
GCC_PRECOMPILE_PREFIX_HEADER = YES;
|
||||||
GCC_PREFIX_HEADER = example/Prefix.pch;
|
GCC_PREFIX_HEADER = "Resources-mac/Prefix.pch";
|
||||||
GCC_WARN_64_TO_32_BIT_CONVERSION = NO;
|
GCC_WARN_64_TO_32_BIT_CONVERSION = NO;
|
||||||
HEADER_SEARCH_PATHS = (
|
HEADER_SEARCH_PATHS = (
|
||||||
"\"libs/kazmath/include\"",
|
"\"libs/kazmath/include\"",
|
||||||
"\"src\"",
|
"\"src\"",
|
||||||
"\"../spine-c/include\"",
|
"\"../spine-c/include\"",
|
||||||
);
|
);
|
||||||
INFOPLIST_FILE = Resources/Info.plist;
|
INFOPLIST_FILE = "Resources-mac/Info.plist";
|
||||||
OTHER_LDFLAGS = (
|
OTHER_LDFLAGS = (
|
||||||
"-lz",
|
"-lz",
|
||||||
"-lsqlite3",
|
"-lsqlite3",
|
||||||
@ -1277,7 +1294,7 @@
|
|||||||
/* End XCBuildConfiguration section */
|
/* End XCBuildConfiguration section */
|
||||||
|
|
||||||
/* Begin XCConfigurationList section */
|
/* Begin XCConfigurationList section */
|
||||||
4319B50D16FF9B2600C1D7A9 /* Build configuration list for PBXProject "spine-cocos2d-iphone" */ = {
|
4319B50D16FF9B2600C1D7A9 /* Build configuration list for PBXProject "spine-cocos2d-iphone-mac" */ = {
|
||||||
isa = XCConfigurationList;
|
isa = XCConfigurationList;
|
||||||
buildConfigurations = (
|
buildConfigurations = (
|
||||||
4319B6AA16FF9B2B00C1D7A9 /* Debug */,
|
4319B6AA16FF9B2B00C1D7A9 /* Debug */,
|
||||||
@ -0,0 +1,7 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<Workspace
|
||||||
|
version = "1.0">
|
||||||
|
<FileRef
|
||||||
|
location = "self:spine-cocos2d-iphone-mac.xcodeproj">
|
||||||
|
</FileRef>
|
||||||
|
</Workspace>
|
||||||
@ -158,8 +158,8 @@ Skeleton* _Cocos2dSkeleton_create (SkeletonData* data, CCSkeleton* node) {
|
|||||||
|
|
||||||
// CCBlendProtocol
|
// CCBlendProtocol
|
||||||
|
|
||||||
- (void) setBlendFunc:(ccBlendFunc)blendFunc {
|
- (void) setBlendFunc:(ccBlendFunc)func {
|
||||||
self.blendFunc = blendFunc;
|
self.blendFunc = func;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (ccBlendFunc) blendFunc {
|
- (ccBlendFunc) blendFunc {
|
||||||
|
|||||||