move to swift

This commit is contained in:
Robert 2017-01-17 16:55:29 +05:00
parent be02f8c899
commit b469d07092
27 changed files with 645 additions and 400 deletions

View File

@ -1,19 +0,0 @@
//
// AppDelegate.h
// doublehitballs
//
// Created by vvv ооо on 13.07.12.
// Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//
#import <UIKit/UIKit.h>
@class ViewController;
@interface AppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@property (strong, nonatomic) ViewController *viewController;
@end

View File

@ -1,62 +0,0 @@
//
// AppDelegate.m
// doublehitballs
//
// Created by vvv ооо on 13.07.12.
// Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//
#import "AppDelegate.h"
#import "ViewController.h"
@implementation AppDelegate
@synthesize window = _window;
@synthesize viewController = _viewController;
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
// Override point for customization after application launch.
if ([[UIDevice currentDevice] userInterfaceIdiom] == UIUserInterfaceIdiomPhone) {
self.viewController = [[ViewController alloc] initWithNibName:@"ViewController_iPhone" bundle:nil];
} else {
self.viewController = [[ViewController alloc] initWithNibName:@"ViewController_iPad" bundle:nil];
}
self.window.rootViewController = self.viewController;
[self.window makeKeyAndVisible];
return YES;
}
- (void)applicationWillResignActive:(UIApplication *)application
{
// Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
// Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game.
}
- (void)applicationDidEnterBackground:(UIApplication *)application
{
// Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.
// If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
}
- (void)applicationWillEnterForeground:(UIApplication *)application
{
// Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background.
}
- (void)applicationDidBecomeActive:(UIApplication *)application
{
// Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
}
- (void)applicationWillTerminate:(UIApplication *)application
{
// Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
}
@end

View File

@ -1,13 +0,0 @@
//
// CustomGLKView.m
// doublehitballs
//
// Created by vvv ооо on 15.07.12.
// Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//
#import "CustomGLKView.h"
@implementation CustomGLKView
@end

View File

@ -1,14 +0,0 @@
//
// ViewController.h
// doublehitballs
//
// Created by vvv ооо on 13.07.12.
// Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//
#import "include/Utils/IosApi/ObjC/ViewControllerTemplate.h"
@interface ViewController : ViewControllerTemplate
@end

View File

@ -1,31 +0,0 @@
//
// ViewController.m
// doublehitballs
//
// Created by vvv ооо on 13.07.12.
// Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//
#import "ViewController.h"
#import "ios_api.h"
@interface ViewController () {
}
@end
@implementation ViewController
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
return UIInterfaceOrientationIsPortrait(interfaceOrientation);
}
- (void) appInitCaller
{
CustomAppInit();
}
@end

View File

@ -1,9 +0,0 @@
#include "include/Engine.h"
#include "main_code.h"
void CustomAppInit()
{
AppInit<TMyApplication>(320, 480);
}

View File

@ -1,3 +0,0 @@
#include "include/Utils/IosApi/IosWrapper.h"
void CustomAppInit();

View File

@ -1,18 +0,0 @@
//
// main.m
// doublehitballs
//
// Created by vvv ооо on 13.07.12.
// Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "AppDelegate.h"
int main(int argc, char *argv[])
{
@autoreleasepool {
return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
}
}

View File

@ -0,0 +1,31 @@
//
// AppDelegate.swift
// salmontemplate
//
// Created by Роберт Хайреев on 16/01/2017.
//
//
import Foundation
import UIKit
@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {
var window: UIWindow?
var viewController: UIViewController?
func applicationDidFinishLaunching(_ application: UIApplication) {
window = UIWindow(frame: UIScreen.main.bounds)
if UIDevice.current.userInterfaceIdiom == .phone {
viewController = ViewController(nibName: "ViewController_iPhone", bundle: nil)
} else {
viewController = ViewController(nibName: "ViewController_iPad", bundle: nil)
}
window?.rootViewController = viewController
window?.makeKeyAndVisible()
}
}

0
iOS/CustomGLKView.h → proj.ios/CustomGLKView.h Normal file → Executable file
View File

5
proj.ios/CustomGLKView.mm Executable file
View File

@ -0,0 +1,5 @@
#import "CustomGLKView.h"
@implementation CustomGLKView
@end

View File

@ -0,0 +1,95 @@
//
// CustomGLKView.swift
// salmontemplate
//
// Created by Роберт Хайреев on 16/01/2017.
//
//
import Foundation
import GLKit
struct TTouchHashData {
var first: CGPoint!
var second: Bool!
var number: Int!
}
class GLKViewTemplate: GLKView {
var touchDict: [UITouch: TTouchHashData] = [:]
override init(frame: CGRect) {
super.init(frame: frame)
isMultipleTouchEnabled = true
}
required init?(coder aDecoder: NSCoder) {
fatalError("init(coder:) has not been implemented")
}
func addTouchToHash(touch: UITouch) {
let data = TTouchHashData()
touchDict[touch] = data
touchDict[touch]?.first = touch.location(in: self)
touchDict[touch]?.second = false
for n in 0...255 {
var nExists = false
for i in touchDict.values {
if i.number == n {
nExists = true
}
}
if !nExists {
touchDict[touch]?.number = n
}
}
}
func removeTouchFromHash(touch: UITouch) {
}
override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
for touch in touches {
let location = touch.location(in: self)
let prevLocation = touch.previousLocation(in: self)
if abs(touchDict[touch]!.first!.x - location.x) > 10 || abs(touchDict[touch]!.first!.y - location.y) > 10 {
touchDict[touch]?.second = true
}
let number = Int32(touchDict[touch]!.number)
SE_AppOnScroll(Int32(Float(prevLocation.x) - Float(location.x)), -Int32(Float(prevLocation.y) - Float(location.y)), number)
}
}
override func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent?) {
for touch in touches {
let location = touch.location(in: self)
let number = Int32(touchDict[touch]!.number)
if touchDict[touch]!.second == true {
SE_AppOnTapUpAfterMove(Int32(location.x), Int32(bounds.size.height - location.y), number)
} else {
SE_AppOnTapUp(Int32(location.x), Int32(bounds.size.height - location.y), number)
}
touchDict.removeValue(forKey: touch)
}
}
override func touchesCancelled(_ touches: Set<UITouch>, with event: UIEvent?) {
for touch in touches {
touchDict.removeValue(forKey: touch)
}
}
}

View File

@ -0,0 +1,60 @@
//
// SENamespaceWrapper.hpp
// salmontemplate
//
// Created by Роберт Хайреев on 16/01/2017.
//
//
#include "include/Utils/Utils.h"
//#import "include/Utils/IosApi/ObjC/ViewControllerTemplate.h"
#include "include/Utils/IosApi/IosWrapper.h"
#include "SENamespaceWrapper.h"
namespace SE {
void SetKeyboardText(const char* newText);
void OnKeyboardHide();
}
//TApplication *app = NULL;
void SE_AppDeinit() {
SE::AppDeinit();
}
void SE_AppUpdate(int dt) {
SE::AppUpdate(dt);
}
void SE_AppDraw() {
SE::AppDraw();
}
void SE_AppOnTapDown(int posx, int posy, int touchNumber) {
SE::AppOnTapDown(posx, posy, touchNumber);
}
void SE_AppOnTapUp(int posx, int posy, int touchNumber) {
SE::AppOnTapUp(posx, posy, touchNumber);
}
void SE_AppOnTapUpAfterMove(int posx, int posy, int touchNumber) {
SE::AppOnTapUpAfterMove(posx, posy, touchNumber);
}
void SE_AppOnScroll(int shiftx, int shifty, int touchNumber) {
SE::AppOnScroll(shiftx, shifty, touchNumber);
}
void SE_AppOnScale(float scale) {
SE::AppOnScale(scale);
}
void SE_SetKeyboardText(const char* newText) {
SE::SetKeyboardText(newText);
}
void SE_OnKeyboardHide() {
SE::OnKeyboardHide();
}

View File

@ -0,0 +1,33 @@
//
// SENamespaceWrapper.hpp
// salmontemplate
//
// Created by Роберт Хайреев on 16/01/2017.
//
//
#ifndef SENamespace_h
#define SENamespace_h
#ifdef __cplusplus
extern "C" {
#endif
//void SE_CreateEngine();
//void SE_DestroyEngine();
//TApplication *app = NULL;
void SE_AppDeinit();
void SE_AppUpdate(int dt);
void SE_AppDraw();
void SE_AppOnTapDown(int posx, int posy, int touchNumber);
void SE_AppOnTapUp(int posx, int posy, int touchNumber);
void SE_AppOnTapUpAfterMove(int posx, int posy, int touchNumber);
void SE_AppOnScroll(int shiftx, int shifty, int touchNumber);
void SE_AppOnScale(float scale);
void SE_SetKeyboardText(const char* newText);
void SE_OnKeyboardHide();
#ifdef __cplusplus
} //end extern "C"
#endif
#endif /* SENamespace_h */

View File

@ -0,0 +1,113 @@
//
// ViewController.swift
// salmontemplate
//
// Created by Роберт Хайреев on 16/01/2017.
//
//
import UIKit
import GLKit
class ViewControllerTemplate: GLKViewController, UITextFieldDelegate {
public var hiddenTextField: UITextField?
private var context: EAGLContext?
private var effect: GLKBaseEffect?
override func viewDidLoad() {
super.viewDidLoad()
guard let context = EAGLContext(api: .openGLES2) else {
print("Failed to create ES context")
return
}
self.context = context
let view: GLKView = self.view as! GLKView
view.context = self.context!
view.drawableDepthFormat = .format24
//defaultView = view
setupGL()
let recognizer = UIPinchGestureRecognizer(target: self, action: #selector(respondToPinch(gestureRecognizer:)))
recognizer.delaysTouchesEnded = false
view.addGestureRecognizer(recognizer)
view.isMultipleTouchEnabled = true
hiddenTextField = UITextField(frame: CGRect(x: -200, y: -200, width: 0, height: 0))
hiddenTextField?.autocorrectionType = .no
view.addSubview(hiddenTextField!)
hiddenTextField?.delegate = self
NotificationCenter.default.addObserver(self, selector: #selector(onReceiveKeyboardNotification(notification:)), name: .UITextFieldTextDidChange, object: nil)
}
deinit {
tearDownGL()
}
func setupGL() {
EAGLContext.setCurrent(context)
appInitCaller()
}
func tearDownGL() {
EAGLContext.setCurrent(context)
SE_AppDeinit()
}
func appInitCaller() {
// CustomAppInit()
}
func respondToPinch(gestureRecognizer: UIPinchGestureRecognizer) {
SE_AppOnScale(Float(gestureRecognizer.scale))
}
func onReceiveKeyboardNotification(notification: NSNotification) {
if notification.name == .UITextFieldTextDidChange {
let textField = notification.object as! UITextField
let text = textField.text
SE_SetKeyboardText(text)
}
}
func textFieldDidBeginEditing(_ textField: UITextField) {
print("Begin")
}
func textFieldDidEndEditing(_ textField: UITextField) {
print("End")
}
func textField(_ textField: UITextField, shouldChangeCharactersIn range: NSRange, replacementString string: String) -> Bool {
if string == "\n" {
textField.resignFirstResponder()
SE_OnKeyboardHide()
}
return true
}
func update() {
SE_AppUpdate(Int32(self.timeSinceLastUpdate * 1000))
}
override func glkView(_ view: GLKView, drawIn rect: CGRect) {
SE_AppDraw()
}
}
class ViewController: ViewControllerTemplate {
override func appInitCaller() {
CustomAppInit()
}
override var supportedInterfaceOrientations: UIInterfaceOrientationMask {
return [.landscapeLeft, .landscapeRight]
}
}

View File

View File

@ -1,14 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="8.00"> <archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="8.00">
<data> <data>
<int key="IBDocument.SystemTarget">1536</int> <int key="IBDocument.SystemTarget">1296</int>
<string key="IBDocument.SystemVersion">11E53</string> <string key="IBDocument.SystemVersion">11E53</string>
<string key="IBDocument.InterfaceBuilderVersion">2844</string> <string key="IBDocument.InterfaceBuilderVersion">2182</string>
<string key="IBDocument.AppKitVersion">1138.47</string> <string key="IBDocument.AppKitVersion">1138.47</string>
<string key="IBDocument.HIToolboxVersion">569.00</string> <string key="IBDocument.HIToolboxVersion">569.00</string>
<object class="NSMutableDictionary" key="IBDocument.PluginVersions"> <object class="NSMutableDictionary" key="IBDocument.PluginVersions">
<string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> <string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
<string key="NS.object.0">1930</string> <string key="NS.object.0">1181</string>
</object> </object>
<array key="IBDocument.IntegratedClassDependencies"> <array key="IBDocument.IntegratedClassDependencies">
<string>IBProxyObject</string> <string>IBProxyObject</string>
@ -33,10 +33,8 @@
<object class="IBUIView" id="184854543"> <object class="IBUIView" id="184854543">
<reference key="NSNextResponder"/> <reference key="NSNextResponder"/>
<int key="NSvFlags">274</int> <int key="NSvFlags">274</int>
<string key="NSFrameSize">{320, 480}</string> <string key="NSFrameSize">{320, 460}</string>
<reference key="NSSuperview"/> <reference key="NSSuperview"/>
<reference key="NSWindow"/>
<reference key="NSNextKeyView"/>
<object class="NSColor" key="IBUIBackgroundColor"> <object class="NSColor" key="IBUIBackgroundColor">
<int key="NSColorSpace">3</int> <int key="NSColorSpace">3</int>
<bytes key="NSWhite">MQA</bytes> <bytes key="NSWhite">MQA</bytes>
@ -99,34 +97,15 @@
<nil key="sourceID"/> <nil key="sourceID"/>
<int key="maxID">4</int> <int key="maxID">4</int>
</object> </object>
<object class="IBClassDescriber" key="IBDocument.Classes"> <object class="IBClassDescriber" key="IBDocument.Classes"/>
<array class="NSMutableArray" key="referencedPartialClassDescriptions">
<object class="IBPartialClassDescription">
<string key="className">CustomGLKView</string>
<string key="superclassName">GLKView</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBProjectSource</string>
<string key="minorKey">./Classes/CustomGLKView.h</string>
</object>
</object>
<object class="IBPartialClassDescription">
<string key="className">ViewController</string>
<string key="superclassName">GLKViewController</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBProjectSource</string>
<string key="minorKey">./Classes/ViewController.h</string>
</object>
</object>
</array>
</object>
<int key="IBDocument.localizationMode">0</int> <int key="IBDocument.localizationMode">0</int>
<string key="IBDocument.TargetRuntimeIdentifier">IBCocoaTouchFramework</string> <string key="IBDocument.TargetRuntimeIdentifier">IBCocoaTouchFramework</string>
<object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDependencyDefaults"> <object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDependencyDefaults">
<string key="NS.key.0">com.apple.InterfaceBuilder.CocoaTouchPlugin.iPhoneOS</string> <string key="NS.key.0">com.apple.InterfaceBuilder.CocoaTouchPlugin.iPhoneOS</string>
<real value="1536" key="NS.object.0"/> <real value="1296" key="NS.object.0"/>
</object> </object>
<bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool> <bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>
<int key="IBDocument.defaultPropertyAccessControl">3</int> <int key="IBDocument.defaultPropertyAccessControl">3</int>
<string key="IBCocoaTouchPluginVersion">1930</string> <string key="IBCocoaTouchPluginVersion">1181</string>
</data> </data>
</archive> </archive>

8
proj.ios/ios_api.cpp Executable file
View File

@ -0,0 +1,8 @@
#include "include/Engine.h"
#include "main_code.h"
extern "C" void CustomAppInit()
{
AppInit<TMyApplication>(480, 320);
}

6
proj.ios/ios_api.h Executable file
View File

@ -0,0 +1,6 @@
#ifdef __cplusplus
extern "C" void CustomAppInit();
#else
void CustomAppInit();
#endif

0
iOS/res/Icon.png → proj.ios/res/Icon.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 7.8 KiB

After

Width:  |  Height:  |  Size: 7.8 KiB

View File

Before

Width:  |  Height:  |  Size: 6.7 KiB

After

Width:  |  Height:  |  Size: 6.7 KiB

0
iOS/res/iTunesArtwork → proj.ios/res/iTunesArtwork Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 354 KiB

After

Width:  |  Height:  |  Size: 354 KiB

View File

@ -0,0 +1,8 @@
//
// Use this file to import your target's public headers that you would like to expose to Swift.
//
//#include "include/Utils/IosApi
#import "SENamespaceWrapper.h"
#import "ios_api.h"

View File

@ -13,26 +13,23 @@
4C49B2C415B0991B003512CD /* GLKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4C49B2C315B0991B003512CD /* GLKit.framework */; }; 4C49B2C415B0991B003512CD /* GLKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4C49B2C315B0991B003512CD /* GLKit.framework */; };
4C49B2C615B0991B003512CD /* OpenGLES.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4C49B2C515B0991B003512CD /* OpenGLES.framework */; }; 4C49B2C615B0991B003512CD /* OpenGLES.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4C49B2C515B0991B003512CD /* OpenGLES.framework */; };
4C49B2CC15B0991B003512CD /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 4C49B2CA15B0991B003512CD /* InfoPlist.strings */; }; 4C49B2CC15B0991B003512CD /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 4C49B2CA15B0991B003512CD /* InfoPlist.strings */; };
4C49B2CE15B0991B003512CD /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C49B2CD15B0991B003512CD /* main.m */; };
4C49B2D215B0991B003512CD /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C49B2D115B0991B003512CD /* AppDelegate.m */; };
4C49B2D915B0991B003512CD /* ViewController.mm in Sources */ = {isa = PBXBuildFile; fileRef = 4C49B2D815B0991B003512CD /* ViewController.mm */; };
4C49B2DC15B0991B003512CD /* ViewController_iPhone.xib in Resources */ = {isa = PBXBuildFile; fileRef = 4C49B2DA15B0991B003512CD /* ViewController_iPhone.xib */; }; 4C49B2DC15B0991B003512CD /* ViewController_iPhone.xib in Resources */ = {isa = PBXBuildFile; fileRef = 4C49B2DA15B0991B003512CD /* ViewController_iPhone.xib */; };
4C49B2DF15B0991B003512CD /* ViewController_iPad.xib in Resources */ = {isa = PBXBuildFile; fileRef = 4C49B2DD15B0991B003512CD /* ViewController_iPad.xib */; }; 4C49B2DF15B0991B003512CD /* ViewController_iPad.xib in Resources */ = {isa = PBXBuildFile; fileRef = 4C49B2DD15B0991B003512CD /* ViewController_iPad.xib */; };
4C4C807515BA8F460037C6CE /* libsquirrel.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 4C4C807415BA8F460037C6CE /* libsquirrel.a */; };
4C4C807715BA8F5B0037C6CE /* libz.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 4C4C807615BA8F5B0037C6CE /* libz.a */; };
4C6EB44515C3CFD300316CB6 /* libpng.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 4C6EB44415C3CFD300316CB6 /* libpng.a */; };
4C74848615C5AD6E0056EC44 /* Icon.png in Resources */ = {isa = PBXBuildFile; fileRef = 4C74848315C5AD6E0056EC44 /* Icon.png */; }; 4C74848615C5AD6E0056EC44 /* Icon.png in Resources */ = {isa = PBXBuildFile; fileRef = 4C74848315C5AD6E0056EC44 /* Icon.png */; };
4C74848715C5AD6E0056EC44 /* iTunesArtwork in Resources */ = {isa = PBXBuildFile; fileRef = 4C74848415C5AD6E0056EC44 /* iTunesArtwork */; }; 4C74848715C5AD6E0056EC44 /* iTunesArtwork in Resources */ = {isa = PBXBuildFile; fileRef = 4C74848415C5AD6E0056EC44 /* iTunesArtwork */; };
4C74848815C5AD6E0056EC44 /* Splash-landscape.png in Resources */ = {isa = PBXBuildFile; fileRef = 4C74848515C5AD6E0056EC44 /* Splash-landscape.png */; }; 4C74848815C5AD6E0056EC44 /* Splash-landscape.png in Resources */ = {isa = PBXBuildFile; fileRef = 4C74848515C5AD6E0056EC44 /* Splash-landscape.png */; };
4C74849815C5AF7C0056EC44 /* main_code.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 4C74849615C5AF7C0056EC44 /* main_code.cpp */; };
4C77831315BABD68003D5142 /* libvorbis-tremor-ios.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 4C77831215BABD68003D5142 /* libvorbis-tremor-ios.a */; };
4C77831815BABE26003D5142 /* AudioToolbox.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4C77831415BABD8B003D5142 /* AudioToolbox.framework */; }; 4C77831815BABE26003D5142 /* AudioToolbox.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4C77831415BABD8B003D5142 /* AudioToolbox.framework */; };
4C77831915BABE26003D5142 /* OpenAL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4C77831515BABD8B003D5142 /* OpenAL.framework */; }; 4C77831915BABE26003D5142 /* OpenAL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4C77831515BABD8B003D5142 /* OpenAL.framework */; };
4C7AD44C15B1D77700A599F6 /* ios_api.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 4C7AD44B15B1D77700A599F6 /* ios_api.cpp */; }; 4C7AD44C15B1D77700A599F6 /* ios_api.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 4C7AD44B15B1D77700A599F6 /* ios_api.cpp */; };
4C7C584B15C31E6500CAE4F4 /* libboost.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 4C7C584A15C31E6500CAE4F4 /* libboost.a */; };
4CC971AC15C57DCE00359A2B /* libSalmon Engine.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 4C902A7815C5735700FBC901 /* libSalmon Engine.a */; };
4CCC0ECC15B30D6B005432FB /* CustomGLKView.mm in Sources */ = {isa = PBXBuildFile; fileRef = 4CCC0ECB15B30D6B005432FB /* CustomGLKView.mm */; }; 4CCC0ECC15B30D6B005432FB /* CustomGLKView.mm in Sources */ = {isa = PBXBuildFile; fileRef = 4CCC0ECB15B30D6B005432FB /* CustomGLKView.mm */; };
4CE6A9D215B2F979006A3965 /* assets in Resources */ = {isa = PBXBuildFile; fileRef = 4CE6A9D115B2F979006A3965 /* assets */; }; 4CE6A9D215B2F979006A3965 /* assets in Resources */ = {isa = PBXBuildFile; fileRef = 4CE6A9D115B2F979006A3965 /* assets */; };
74AC9EBD1E2CE407003C9749 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74AC9EBC1E2CE407003C9749 /* ViewController.swift */; };
74AC9EC11E2CF533003C9749 /* SENamespaceWrapper.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 74AC9EBF1E2CF533003C9749 /* SENamespaceWrapper.cpp */; };
74EEBAEF1E2D13A6004C6C65 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74EEBAEE1E2D13A6004C6C65 /* AppDelegate.swift */; };
74EEBAF11E2D1C7C004C6C65 /* CustomGLKView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74EEBAF01E2D1C7C004C6C65 /* CustomGLKView.swift */; };
84D0FEBE1E274DDD00EC3FE5 /* libSalmon Engine.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 4C902A7815C5735700FBC901 /* libSalmon Engine.a */; };
84D0FEC91E274E4A00EC3FE5 /* libvorbis-tremor-ios.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 84D0FEC61E274E3700EC3FE5 /* libvorbis-tremor-ios.a */; };
84D0FECC1E274EBC00EC3FE5 /* main_code.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 84D0FECA1E274EBC00EC3FE5 /* main_code.cpp */; };
/* End PBXBuildFile section */ /* End PBXBuildFile section */
/* Begin PBXContainerItemProxy section */ /* Begin PBXContainerItemProxy section */
@ -43,6 +40,27 @@
remoteGlobalIDString = 4C8CE90215B0A0F400078175; remoteGlobalIDString = 4C8CE90215B0A0F400078175;
remoteInfo = "Salmon Engine"; remoteInfo = "Salmon Engine";
}; };
84D0FEBF1E274DF700EC3FE5 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 4C902A7015C5735500FBC901 /* Salmon Engine.xcodeproj */;
proxyType = 1;
remoteGlobalIDString = 4C8CE90115B0A0F400078175;
remoteInfo = "Salmon Engine";
};
84D0FEC51E274E3700EC3FE5 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 84D0FEC11E274E3700EC3FE5 /* vorbis-tremor-ios.xcodeproj */;
proxyType = 2;
remoteGlobalIDString = 4C77827D15BAB67E003D5142;
remoteInfo = "vorbis-tremor-ios";
};
84D0FEC71E274E3F00EC3FE5 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 84D0FEC11E274E3700EC3FE5 /* vorbis-tremor-ios.xcodeproj */;
proxyType = 1;
remoteGlobalIDString = 4C77827C15BAB67E003D5142;
remoteInfo = "vorbis-tremor-ios";
};
/* End PBXContainerItemProxy section */ /* End PBXContainerItemProxy section */
/* Begin PBXFileReference section */ /* Begin PBXFileReference section */
@ -54,32 +72,29 @@
4C49B2C515B0991B003512CD /* OpenGLES.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = OpenGLES.framework; path = System/Library/Frameworks/OpenGLES.framework; sourceTree = SDKROOT; }; 4C49B2C515B0991B003512CD /* OpenGLES.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = OpenGLES.framework; path = System/Library/Frameworks/OpenGLES.framework; sourceTree = SDKROOT; };
4C49B2C915B0991B003512CD /* template-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist; path = "template-Info.plist"; sourceTree = "<group>"; }; 4C49B2C915B0991B003512CD /* template-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist; path = "template-Info.plist"; sourceTree = "<group>"; };
4C49B2CB15B0991B003512CD /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; }; 4C49B2CB15B0991B003512CD /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
4C49B2CD15B0991B003512CD /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
4C49B2CF15B0991B003512CD /* template-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "template-Prefix.pch"; sourceTree = "<group>"; }; 4C49B2CF15B0991B003512CD /* template-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "template-Prefix.pch"; sourceTree = "<group>"; };
4C49B2D015B0991B003512CD /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
4C49B2D115B0991B003512CD /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; };
4C49B2D715B0991B003512CD /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = "<group>"; };
4C49B2D815B0991B003512CD /* ViewController.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = ViewController.mm; sourceTree = "<group>"; };
4C49B2DB15B0991B003512CD /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = en.lproj/ViewController_iPhone.xib; sourceTree = "<group>"; }; 4C49B2DB15B0991B003512CD /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = en.lproj/ViewController_iPhone.xib; sourceTree = "<group>"; };
4C49B2DE15B0991B003512CD /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = en.lproj/ViewController_iPad.xib; sourceTree = "<group>"; }; 4C49B2DE15B0991B003512CD /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = en.lproj/ViewController_iPad.xib; sourceTree = "<group>"; };
4C4C807415BA8F460037C6CE /* libsquirrel.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libsquirrel.a; path = "../../libs/SQUIRREL2_1_1_sqplus/build-ios/ios-device/libsquirrel.a"; sourceTree = "<group>"; };
4C4C807615BA8F5B0037C6CE /* libz.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libz.a; path = "../../libs/zlib-1.2.7/build-ios/ios-device/libz.a"; sourceTree = "<group>"; };
4C6EB44415C3CFD300316CB6 /* libpng.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libpng.a; path = "../../libs/libpng-1.5.12/build-ios/ios-simulator/libpng.a"; sourceTree = "<group>"; };
4C74848315C5AD6E0056EC44 /* Icon.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = Icon.png; path = res/Icon.png; sourceTree = "<group>"; }; 4C74848315C5AD6E0056EC44 /* Icon.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = Icon.png; path = res/Icon.png; sourceTree = "<group>"; };
4C74848415C5AD6E0056EC44 /* iTunesArtwork */ = {isa = PBXFileReference; lastKnownFileType = file; name = iTunesArtwork; path = res/iTunesArtwork; sourceTree = "<group>"; }; 4C74848415C5AD6E0056EC44 /* iTunesArtwork */ = {isa = PBXFileReference; lastKnownFileType = file; name = iTunesArtwork; path = res/iTunesArtwork; sourceTree = "<group>"; };
4C74848515C5AD6E0056EC44 /* Splash-landscape.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = "Splash-landscape.png"; path = "res/Splash-landscape.png"; sourceTree = "<group>"; }; 4C74848515C5AD6E0056EC44 /* Splash-landscape.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = "Splash-landscape.png"; path = "res/Splash-landscape.png"; sourceTree = "<group>"; };
4C74849615C5AF7C0056EC44 /* main_code.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = main_code.cpp; path = ../jni/main_code.cpp; sourceTree = "<group>"; };
4C74849715C5AF7C0056EC44 /* main_code.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = main_code.h; path = ../jni/main_code.h; sourceTree = "<group>"; };
4C77831215BABD68003D5142 /* libvorbis-tremor-ios.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = "libvorbis-tremor-ios.a"; path = "../../libs/vorbis-tremor-ios/build-ios/ios-device/libvorbis-tremor-ios.a"; sourceTree = "<group>"; };
4C77831415BABD8B003D5142 /* AudioToolbox.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AudioToolbox.framework; path = System/Library/Frameworks/AudioToolbox.framework; sourceTree = SDKROOT; }; 4C77831415BABD8B003D5142 /* AudioToolbox.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AudioToolbox.framework; path = System/Library/Frameworks/AudioToolbox.framework; sourceTree = SDKROOT; };
4C77831515BABD8B003D5142 /* OpenAL.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = OpenAL.framework; path = System/Library/Frameworks/OpenAL.framework; sourceTree = SDKROOT; }; 4C77831515BABD8B003D5142 /* OpenAL.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = OpenAL.framework; path = System/Library/Frameworks/OpenAL.framework; sourceTree = SDKROOT; };
4C7AD44B15B1D77700A599F6 /* ios_api.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ios_api.cpp; sourceTree = "<group>"; }; 4C7AD44B15B1D77700A599F6 /* ios_api.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ios_api.cpp; sourceTree = "<group>"; };
4C7C584A15C31E6500CAE4F4 /* libboost.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libboost.a; path = "../../libs/boost_1_47_0/build-ios/ios-simulator/libboost.a"; sourceTree = "<group>"; };
4C902A7015C5735500FBC901 /* Salmon Engine.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = "Salmon Engine.xcodeproj"; path = "../../Engine/iOS/Salmon Engine/Salmon Engine.xcodeproj"; sourceTree = "<group>"; }; 4C902A7015C5735500FBC901 /* Salmon Engine.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = "Salmon Engine.xcodeproj"; path = "../../Engine/iOS/Salmon Engine/Salmon Engine.xcodeproj"; sourceTree = "<group>"; };
4CCC0ECA15B30D6A005432FB /* CustomGLKView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CustomGLKView.h; sourceTree = "<group>"; }; 4CCC0ECA15B30D6A005432FB /* CustomGLKView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CustomGLKView.h; sourceTree = "<group>"; };
4CCC0ECB15B30D6B005432FB /* CustomGLKView.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = CustomGLKView.mm; sourceTree = "<group>"; }; 4CCC0ECB15B30D6B005432FB /* CustomGLKView.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = CustomGLKView.mm; sourceTree = "<group>"; };
4CCC0ECD15B310FB005432FB /* ios_api.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ios_api.h; sourceTree = "<group>"; }; 4CCC0ECD15B310FB005432FB /* ios_api.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ios_api.h; sourceTree = "<group>"; };
4CE6A9D115B2F979006A3965 /* assets */ = {isa = PBXFileReference; lastKnownFileType = folder; name = assets; path = ../assets; sourceTree = "<group>"; }; 4CE6A9D115B2F979006A3965 /* assets */ = {isa = PBXFileReference; lastKnownFileType = folder; name = assets; path = ../assets; sourceTree = "<group>"; };
74AC9EBB1E2CE407003C9749 /* salmontemplate-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "salmontemplate-Bridging-Header.h"; sourceTree = "<group>"; };
74AC9EBC1E2CE407003C9749 /* ViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = "<group>"; };
74AC9EBF1E2CF533003C9749 /* SENamespaceWrapper.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = SENamespaceWrapper.cpp; sourceTree = "<group>"; };
74AC9EC01E2CF533003C9749 /* SENamespaceWrapper.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SENamespaceWrapper.h; sourceTree = "<group>"; };
74EEBAEE1E2D13A6004C6C65 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
74EEBAF01E2D1C7C004C6C65 /* CustomGLKView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CustomGLKView.swift; sourceTree = "<group>"; };
84D0FEC11E274E3700EC3FE5 /* vorbis-tremor-ios.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = "vorbis-tremor-ios.xcodeproj"; path = "../../libs/vorbis-tremor-ios/vorbis-tremor-ios.xcodeproj"; sourceTree = "<group>"; };
84D0FECA1E274EBC00EC3FE5 /* main_code.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = main_code.cpp; path = ../game/main_code.cpp; sourceTree = "<group>"; };
84D0FECB1E274EBC00EC3FE5 /* main_code.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = main_code.h; path = ../game/main_code.h; sourceTree = "<group>"; };
/* End PBXFileReference section */ /* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */ /* Begin PBXFrameworksBuildPhase section */
@ -87,7 +102,8 @@
isa = PBXFrameworksBuildPhase; isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647; buildActionMask = 2147483647;
files = ( files = (
4CC971AC15C57DCE00359A2B /* libSalmon Engine.a in Frameworks */, 84D0FEC91E274E4A00EC3FE5 /* libvorbis-tremor-ios.a in Frameworks */,
84D0FEBE1E274DDD00EC3FE5 /* libSalmon Engine.a in Frameworks */,
4C77831815BABE26003D5142 /* AudioToolbox.framework in Frameworks */, 4C77831815BABE26003D5142 /* AudioToolbox.framework in Frameworks */,
4C77831915BABE26003D5142 /* OpenAL.framework in Frameworks */, 4C77831915BABE26003D5142 /* OpenAL.framework in Frameworks */,
4C49B2BE15B0991B003512CD /* UIKit.framework in Frameworks */, 4C49B2BE15B0991B003512CD /* UIKit.framework in Frameworks */,
@ -95,11 +111,6 @@
4C49B2C215B0991B003512CD /* CoreGraphics.framework in Frameworks */, 4C49B2C215B0991B003512CD /* CoreGraphics.framework in Frameworks */,
4C49B2C415B0991B003512CD /* GLKit.framework in Frameworks */, 4C49B2C415B0991B003512CD /* GLKit.framework in Frameworks */,
4C49B2C615B0991B003512CD /* OpenGLES.framework in Frameworks */, 4C49B2C615B0991B003512CD /* OpenGLES.framework in Frameworks */,
4C4C807515BA8F460037C6CE /* libsquirrel.a in Frameworks */,
4C4C807715BA8F5B0037C6CE /* libz.a in Frameworks */,
4C77831315BABD68003D5142 /* libvorbis-tremor-ios.a in Frameworks */,
4C7C584B15C31E6500CAE4F4 /* libboost.a in Frameworks */,
4C6EB44515C3CFD300316CB6 /* libpng.a in Frameworks */,
); );
runOnlyForDeploymentPostprocessing = 0; runOnlyForDeploymentPostprocessing = 0;
}; };
@ -109,6 +120,7 @@
4C49B2AE15B0991B003512CD = { 4C49B2AE15B0991B003512CD = {
isa = PBXGroup; isa = PBXGroup;
children = ( children = (
84D0FEC11E274E3700EC3FE5 /* vorbis-tremor-ios.xcodeproj */,
4C902A7015C5735500FBC901 /* Salmon Engine.xcodeproj */, 4C902A7015C5735500FBC901 /* Salmon Engine.xcodeproj */,
4C7B819515C40F770024D61A /* Libs */, 4C7B819515C40F770024D61A /* Libs */,
4CC1FC3415B200130025C6F7 /* Resources */, 4CC1FC3415B200130025C6F7 /* Resources */,
@ -146,10 +158,9 @@
4CE6A9E315B2F9A4006A3965 /* Game */, 4CE6A9E315B2F9A4006A3965 /* Game */,
4CCC0ECD15B310FB005432FB /* ios_api.h */, 4CCC0ECD15B310FB005432FB /* ios_api.h */,
4C7AD44B15B1D77700A599F6 /* ios_api.cpp */, 4C7AD44B15B1D77700A599F6 /* ios_api.cpp */,
4C49B2D015B0991B003512CD /* AppDelegate.h */, 74AC9EBC1E2CE407003C9749 /* ViewController.swift */,
4C49B2D115B0991B003512CD /* AppDelegate.m */, 74EEBAEE1E2D13A6004C6C65 /* AppDelegate.swift */,
4C49B2D715B0991B003512CD /* ViewController.h */, 74EEBAF01E2D1C7C004C6C65 /* CustomGLKView.swift */,
4C49B2D815B0991B003512CD /* ViewController.mm */,
4C49B2DA15B0991B003512CD /* ViewController_iPhone.xib */, 4C49B2DA15B0991B003512CD /* ViewController_iPhone.xib */,
4C49B2DD15B0991B003512CD /* ViewController_iPad.xib */, 4C49B2DD15B0991B003512CD /* ViewController_iPad.xib */,
4C49B2C815B0991B003512CD /* Supporting Files */, 4C49B2C815B0991B003512CD /* Supporting Files */,
@ -164,8 +175,10 @@
children = ( children = (
4C49B2C915B0991B003512CD /* template-Info.plist */, 4C49B2C915B0991B003512CD /* template-Info.plist */,
4C49B2CA15B0991B003512CD /* InfoPlist.strings */, 4C49B2CA15B0991B003512CD /* InfoPlist.strings */,
4C49B2CD15B0991B003512CD /* main.m */,
4C49B2CF15B0991B003512CD /* template-Prefix.pch */, 4C49B2CF15B0991B003512CD /* template-Prefix.pch */,
74AC9EBB1E2CE407003C9749 /* salmontemplate-Bridging-Header.h */,
74AC9EC01E2CF533003C9749 /* SENamespaceWrapper.h */,
74AC9EBF1E2CF533003C9749 /* SENamespaceWrapper.cpp */,
); );
name = "Supporting Files"; name = "Supporting Files";
sourceTree = "<group>"; sourceTree = "<group>";
@ -173,11 +186,6 @@
4C7B819515C40F770024D61A /* Libs */ = { 4C7B819515C40F770024D61A /* Libs */ = {
isa = PBXGroup; isa = PBXGroup;
children = ( children = (
4C6EB44415C3CFD300316CB6 /* libpng.a */,
4C7C584A15C31E6500CAE4F4 /* libboost.a */,
4C77831215BABD68003D5142 /* libvorbis-tremor-ios.a */,
4C4C807615BA8F5B0037C6CE /* libz.a */,
4C4C807415BA8F460037C6CE /* libsquirrel.a */,
); );
name = Libs; name = Libs;
sourceTree = "<group>"; sourceTree = "<group>";
@ -204,12 +212,20 @@
4CE6A9E315B2F9A4006A3965 /* Game */ = { 4CE6A9E315B2F9A4006A3965 /* Game */ = {
isa = PBXGroup; isa = PBXGroup;
children = ( children = (
4C74849615C5AF7C0056EC44 /* main_code.cpp */, 84D0FECA1E274EBC00EC3FE5 /* main_code.cpp */,
4C74849715C5AF7C0056EC44 /* main_code.h */, 84D0FECB1E274EBC00EC3FE5 /* main_code.h */,
); );
name = Game; name = Game;
sourceTree = "<group>"; sourceTree = "<group>";
}; };
84D0FEC21E274E3700EC3FE5 /* Products */ = {
isa = PBXGroup;
children = (
84D0FEC61E274E3700EC3FE5 /* libvorbis-tremor-ios.a */,
);
name = Products;
sourceTree = "<group>";
};
/* End PBXGroup section */ /* End PBXGroup section */
/* Begin PBXNativeTarget section */ /* Begin PBXNativeTarget section */
@ -218,12 +234,14 @@
buildConfigurationList = 4C49B2E215B0991B003512CD /* Build configuration list for PBXNativeTarget "salmontemplate" */; buildConfigurationList = 4C49B2E215B0991B003512CD /* Build configuration list for PBXNativeTarget "salmontemplate" */;
buildPhases = ( buildPhases = (
4C49B2B515B0991B003512CD /* Sources */, 4C49B2B515B0991B003512CD /* Sources */,
4C49B2B615B0991B003512CD /* Frameworks */,
4C49B2B715B0991B003512CD /* Resources */, 4C49B2B715B0991B003512CD /* Resources */,
4C49B2B615B0991B003512CD /* Frameworks */,
); );
buildRules = ( buildRules = (
); );
dependencies = ( dependencies = (
84D0FEC81E274E3F00EC3FE5 /* PBXTargetDependency */,
84D0FEC01E274DF700EC3FE5 /* PBXTargetDependency */,
); );
name = salmontemplate; name = salmontemplate;
productName = doublehitballs; productName = doublehitballs;
@ -236,7 +254,13 @@
4C49B2B015B0991B003512CD /* Project object */ = { 4C49B2B015B0991B003512CD /* Project object */ = {
isa = PBXProject; isa = PBXProject;
attributes = { attributes = {
LastUpgradeCheck = 0430; LastUpgradeCheck = 0800;
TargetAttributes = {
4C49B2B815B0991B003512CD = {
DevelopmentTeam = R89DR83966;
LastSwiftMigration = 0820;
};
};
}; };
buildConfigurationList = 4C49B2B315B0991B003512CD /* Build configuration list for PBXProject "salmontemplate" */; buildConfigurationList = 4C49B2B315B0991B003512CD /* Build configuration list for PBXProject "salmontemplate" */;
compatibilityVersion = "Xcode 3.2"; compatibilityVersion = "Xcode 3.2";
@ -253,6 +277,10 @@
ProductGroup = 4C902A7115C5735500FBC901 /* Products */; ProductGroup = 4C902A7115C5735500FBC901 /* Products */;
ProjectRef = 4C902A7015C5735500FBC901 /* Salmon Engine.xcodeproj */; ProjectRef = 4C902A7015C5735500FBC901 /* Salmon Engine.xcodeproj */;
}, },
{
ProductGroup = 84D0FEC21E274E3700EC3FE5 /* Products */;
ProjectRef = 84D0FEC11E274E3700EC3FE5 /* vorbis-tremor-ios.xcodeproj */;
},
); );
projectRoot = ""; projectRoot = "";
targets = ( targets = (
@ -269,6 +297,13 @@
remoteRef = 4C902A7715C5735700FBC901 /* PBXContainerItemProxy */; remoteRef = 4C902A7715C5735700FBC901 /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR; sourceTree = BUILT_PRODUCTS_DIR;
}; };
84D0FEC61E274E3700EC3FE5 /* libvorbis-tremor-ios.a */ = {
isa = PBXReferenceProxy;
fileType = archive.ar;
path = "libvorbis-tremor-ios.a";
remoteRef = 84D0FEC51E274E3700EC3FE5 /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR;
};
/* End PBXReferenceProxy section */ /* End PBXReferenceProxy section */
/* Begin PBXResourcesBuildPhase section */ /* Begin PBXResourcesBuildPhase section */
@ -293,17 +328,31 @@
isa = PBXSourcesBuildPhase; isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647; buildActionMask = 2147483647;
files = ( files = (
4C49B2CE15B0991B003512CD /* main.m in Sources */, 74EEBAEF1E2D13A6004C6C65 /* AppDelegate.swift in Sources */,
4C49B2D215B0991B003512CD /* AppDelegate.m in Sources */, 74EEBAF11E2D1C7C004C6C65 /* CustomGLKView.swift in Sources */,
4C49B2D915B0991B003512CD /* ViewController.mm in Sources */, 84D0FECC1E274EBC00EC3FE5 /* main_code.cpp in Sources */,
74AC9EBD1E2CE407003C9749 /* ViewController.swift in Sources */,
74AC9EC11E2CF533003C9749 /* SENamespaceWrapper.cpp in Sources */,
4C7AD44C15B1D77700A599F6 /* ios_api.cpp in Sources */, 4C7AD44C15B1D77700A599F6 /* ios_api.cpp in Sources */,
4CCC0ECC15B30D6B005432FB /* CustomGLKView.mm in Sources */, 4CCC0ECC15B30D6B005432FB /* CustomGLKView.mm in Sources */,
4C74849815C5AF7C0056EC44 /* main_code.cpp in Sources */,
); );
runOnlyForDeploymentPostprocessing = 0; runOnlyForDeploymentPostprocessing = 0;
}; };
/* End PBXSourcesBuildPhase section */ /* End PBXSourcesBuildPhase section */
/* Begin PBXTargetDependency section */
84D0FEC01E274DF700EC3FE5 /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
name = "Salmon Engine";
targetProxy = 84D0FEBF1E274DF700EC3FE5 /* PBXContainerItemProxy */;
};
84D0FEC81E274E3F00EC3FE5 /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
name = "vorbis-tremor-ios";
targetProxy = 84D0FEC71E274E3F00EC3FE5 /* PBXContainerItemProxy */;
};
/* End PBXTargetDependency section */
/* Begin PBXVariantGroup section */ /* Begin PBXVariantGroup section */
4C49B2CA15B0991B003512CD /* InfoPlist.strings */ = { 4C49B2CA15B0991B003512CD /* InfoPlist.strings */ = {
isa = PBXVariantGroup; isa = PBXVariantGroup;
@ -336,12 +385,27 @@
isa = XCBuildConfiguration; isa = XCBuildConfiguration;
buildSettings = { buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO; ALWAYS_SEARCH_USER_PATHS = NO;
ARCHS = "$(ARCHS_STANDARD_32_BIT)"; ARCHS = (
"$(ARCHS_STANDARD)",
x86_64,
);
CLANG_ENABLE_OBJC_ARC = YES; CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
COPY_PHASE_STRIP = NO; COPY_PHASE_STRIP = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
GCC_C_LANGUAGE_STANDARD = gnu99; GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_DYNAMIC_NO_PIC = NO; GCC_DYNAMIC_NO_PIC = NO;
GCC_NO_COMMON_BLOCKS = YES;
GCC_OPTIMIZATION_LEVEL = 0; GCC_OPTIMIZATION_LEVEL = 0;
GCC_PREPROCESSOR_DEFINITIONS = ( GCC_PREPROCESSOR_DEFINITIONS = (
"DEBUG=1", "DEBUG=1",
@ -349,12 +413,17 @@
); );
GCC_SYMBOLS_PRIVATE_EXTERN = NO; GCC_SYMBOLS_PRIVATE_EXTERN = NO;
GCC_VERSION = com.apple.compilers.llvm.clang.1_0; GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES; GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNINITIALIZED_AUTOS = YES;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES; GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 5.1; IPHONEOS_DEPLOYMENT_TARGET = 8.0;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos; SDKROOT = iphoneos;
TARGETED_DEVICE_FAMILY = "1,2"; TARGETED_DEVICE_FAMILY = "1,2";
VALID_ARCHS = "arm64 armv7 armv7s i386 x86_64";
}; };
name = Debug; name = Debug;
}; };
@ -362,20 +431,38 @@
isa = XCBuildConfiguration; isa = XCBuildConfiguration;
buildSettings = { buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO; ALWAYS_SEARCH_USER_PATHS = NO;
ARCHS = "$(ARCHS_STANDARD_32_BIT)"; ARCHS = (
"$(ARCHS_STANDARD)",
x86_64,
);
CLANG_ENABLE_OBJC_ARC = YES; CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
COPY_PHASE_STRIP = YES; COPY_PHASE_STRIP = YES;
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_C_LANGUAGE_STANDARD = gnu99; GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_NO_COMMON_BLOCKS = YES;
GCC_VERSION = com.apple.compilers.llvm.clang.1_0; GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES; GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNINITIALIZED_AUTOS = YES;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES; GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 5.1; IPHONEOS_DEPLOYMENT_TARGET = 8.0;
OTHER_CFLAGS = "-DNS_BLOCK_ASSERTIONS=1"; OTHER_CFLAGS = "-DNS_BLOCK_ASSERTIONS=1";
SDKROOT = iphoneos; SDKROOT = iphoneos;
TARGETED_DEVICE_FAMILY = "1,2"; TARGETED_DEVICE_FAMILY = "1,2";
VALIDATE_PRODUCT = YES; VALIDATE_PRODUCT = YES;
VALID_ARCHS = "arm64 armv7 armv7s i386 x86_64";
}; };
name = Release; name = Release;
}; };
@ -384,6 +471,8 @@
buildSettings = { buildSettings = {
CLANG_CXX_LANGUAGE_STANDARD = "c++0x"; CLANG_CXX_LANGUAGE_STANDARD = "c++0x";
CLANG_CXX_LIBRARY = "libc++"; CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
DEVELOPMENT_TEAM = R89DR83966;
GCC_INLINES_ARE_PRIVATE_EXTERN = NO; GCC_INLINES_ARE_PRIVATE_EXTERN = NO;
GCC_PRECOMPILE_PREFIX_HEADER = YES; GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "template-Prefix.pch"; GCC_PREFIX_HEADER = "template-Prefix.pch";
@ -396,33 +485,26 @@
GCC_PREPROCESSOR_DEFINITIONS_NOT_USED_IN_PRECOMPS = ""; GCC_PREPROCESSOR_DEFINITIONS_NOT_USED_IN_PRECOMPS = "";
"GCC_THUMB_SUPPORT[arch=armv6]" = ""; "GCC_THUMB_SUPPORT[arch=armv6]" = "";
HEADER_SEARCH_PATHS = ( HEADER_SEARCH_PATHS = (
"$(SalmonEnginePath)", ../../engine,
"$(LibsPath)/lpng1510", ../../libs/lpng1510,
"$(LibsPath)/sqplus/sqplus", ../../libs/sqplus/sqplus,
"$(LibsPath)/sqplus/include", ../../libs/sqplus/include,
"$(LibsPath)/boost_1_52_0", ../../boost_1_63_0,
../jni, ../game,
"$(LibsPath)/vorbis-tremor-ios/vorbis", "../../libs/vorbis-tremor-ios/vorbis",
"../../libs/jpeg-9",
"../../libs/jpeg-9/vc10",
); );
INFOPLIST_FILE = "template-Info.plist"; INFOPLIST_FILE = "template-Info.plist";
LIBRARY_SEARCH_PATHS = ""; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
"LIBRARY_SEARCH_PATHS[sdk=iphoneos*]" = ( PRODUCT_BUNDLE_IDENTIFIER = fishrungames.template;
"$(LibsPath)/lpng1510/build-ios/ios-device",
"$(LibsPath)/boost_1_52_0/build-ios/ios-device",
"$(LibsPath)/sqplus/build-ios/ios-device",
"$(LibsPath)/zlib-1.2.6/build-ios/ios-device",
"$(LibsPath)/vorbis-tremor-ios/build-ios/ios-device",
);
"LIBRARY_SEARCH_PATHS[sdk=iphonesimulator*]" = (
"$(LibsPath)/lpng1510/build-ios/ios-simulator",
"$(LibsPath)/sqplus/build-ios/ios-simulator",
"$(LibsPath)/boost_1_52_0/build-ios/ios-simulator",
"$(LibsPath)/zlib-1.2.6/build-ios/ios-simulator",
"$(LibsPath)/vorbis-tremor-ios/build-ios/ios-simulator",
);
PRODUCT_NAME = "$(TARGET_NAME)"; PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "salmontemplate-Bridging-Header.h";
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 3.0;
SYMROOT = build; SYMROOT = build;
TARGETED_DEVICE_FAMILY = 1; TARGETED_DEVICE_FAMILY = 1;
VALID_ARCHS = "arm64 armv7 armv7s i386 x86_64";
WRAPPER_EXTENSION = app; WRAPPER_EXTENSION = app;
}; };
name = Debug; name = Debug;
@ -432,6 +514,8 @@
buildSettings = { buildSettings = {
CLANG_CXX_LANGUAGE_STANDARD = "c++0x"; CLANG_CXX_LANGUAGE_STANDARD = "c++0x";
CLANG_CXX_LIBRARY = "libc++"; CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
DEVELOPMENT_TEAM = R89DR83966;
GCC_INLINES_ARE_PRIVATE_EXTERN = NO; GCC_INLINES_ARE_PRIVATE_EXTERN = NO;
GCC_PRECOMPILE_PREFIX_HEADER = YES; GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "template-Prefix.pch"; GCC_PREFIX_HEADER = "template-Prefix.pch";
@ -443,32 +527,24 @@
GCC_SYMBOLS_PRIVATE_EXTERN = NO; GCC_SYMBOLS_PRIVATE_EXTERN = NO;
"GCC_THUMB_SUPPORT[arch=armv6]" = ""; "GCC_THUMB_SUPPORT[arch=armv6]" = "";
HEADER_SEARCH_PATHS = ( HEADER_SEARCH_PATHS = (
"$(SalmonEnginePath)", ../../engine,
"$(LibsPath)/lpng1510", ../../libs/lpng1510,
"$(LibsPath)/sqplus/sqplus", ../../libs/sqplus/sqplus,
"$(LibsPath)/sqplus/include", ../../libs/sqplus/include,
"$(LibsPath)/boost_1_52_0", ../../boost_1_63_0,
../jni, ../game,
"$(LibsPath)/vorbis-tremor-ios/vorbis", "../../libs/vorbis-tremor-ios/vorbis",
"../../libs/jpeg-9",
"../../libs/jpeg-9/vc10",
); );
INFOPLIST_FILE = "template-Info.plist"; INFOPLIST_FILE = "template-Info.plist";
LIBRARY_SEARCH_PATHS = ""; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
"LIBRARY_SEARCH_PATHS[sdk=iphoneos*]" = ( PRODUCT_BUNDLE_IDENTIFIER = fishrungames.template;
"$(LibsPath)/lpng1510/build-ios/ios-device",
"$(LibsPath)/boost_1_52_0/build-ios/ios-device",
"$(LibsPath)/sqplus/build-ios/ios-device",
"$(LibsPath)/zlib-1.2.6/build-ios/ios-device",
"$(LibsPath)/vorbis-tremor-ios/build-ios/ios-device",
);
"LIBRARY_SEARCH_PATHS[sdk=iphonesimulator*]" = (
"$(LibsPath)/lpng1510/build-ios/ios-simulator",
"$(LibsPath)/sqplus/build-ios/ios-simulator",
"$(LibsPath)/boost_1_52_0/build-ios/ios-simulator",
"$(LibsPath)/zlib-1.2.6/build-ios/ios-simulator",
"$(LibsPath)/vorbis-tremor-ios/build-ios/ios-simulator",
);
PRODUCT_NAME = "$(TARGET_NAME)"; PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "salmontemplate-Bridging-Header.h";
SWIFT_VERSION = 3.0;
TARGETED_DEVICE_FAMILY = 1; TARGETED_DEVICE_FAMILY = 1;
VALID_ARCHS = "arm64 armv7 armv7s i386 x86_64";
WRAPPER_EXTENSION = app; WRAPPER_EXTENSION = app;
}; };
name = Release; name = Release;

View File

@ -11,7 +11,7 @@
<key>CFBundleIconFile</key> <key>CFBundleIconFile</key>
<string>Icon.png</string> <string>Icon.png</string>
<key>CFBundleIdentifier</key> <key>CFBundleIdentifier</key>
<string>fishrungames.template</string> <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key> <key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string> <string>6.0</string>
<key>CFBundleName</key> <key>CFBundleName</key>
@ -38,13 +38,13 @@
<true/> <true/>
<key>UISupportedInterfaceOrientations</key> <key>UISupportedInterfaceOrientations</key>
<array> <array>
<string>UIInterfaceOrientationPortrait</string> <string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationPortraitUpsideDown</string> <string>UIInterfaceOrientationLandscapeRight</string>
</array> </array>
<key>UISupportedInterfaceOrientations~ipad</key> <key>UISupportedInterfaceOrientations~ipad</key>
<array> <array>
<string>UIInterfaceOrientationPortrait</string> <string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationPortraitUpsideDown</string> <string>UIInterfaceOrientationLandscapeRight</string>
</array> </array>
</dict> </dict>
</plist> </plist>

View File