From 9afdb3e0ad5bfbdafe307212f5d4ebcc7c3ac852 Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Sat, 15 Feb 2014 02:01:39 -0300 Subject: -fixed bug in Button now exporting font property -made GUI Theme editor usable -editor does not allow to export or create .pck in the same path as a project -changed .pck format (lacked support for versioning so couldn't change it), previous was causing crashes and is now incompatible, just re-export. -will not look for .pck files recursively, was causing unexpected behaviors -fixed execution of Godot in paths with non unicode characters in Windows, OSX and Linux. --- .../godot_ios/en.lproj/InfoPlist.strings | 2 + .../godot_ios/godot_ios-Info.plist | 47 ++++++++++++++++++++++ .../godot_ios/godot_ios-Prefix.pch | 16 ++++++++ tools/ios_xcode_template/godot_ios/main.m | 18 +++++++++ 4 files changed, 83 insertions(+) create mode 100644 tools/ios_xcode_template/godot_ios/en.lproj/InfoPlist.strings create mode 100644 tools/ios_xcode_template/godot_ios/godot_ios-Info.plist create mode 100644 tools/ios_xcode_template/godot_ios/godot_ios-Prefix.pch create mode 100644 tools/ios_xcode_template/godot_ios/main.m (limited to 'tools/ios_xcode_template/godot_ios') diff --git a/tools/ios_xcode_template/godot_ios/en.lproj/InfoPlist.strings b/tools/ios_xcode_template/godot_ios/en.lproj/InfoPlist.strings new file mode 100644 index 0000000000..477b28ff8f --- /dev/null +++ b/tools/ios_xcode_template/godot_ios/en.lproj/InfoPlist.strings @@ -0,0 +1,2 @@ +/* Localized versions of Info.plist keys */ + diff --git a/tools/ios_xcode_template/godot_ios/godot_ios-Info.plist b/tools/ios_xcode_template/godot_ios/godot_ios-Info.plist new file mode 100644 index 0000000000..f34ebb97f0 --- /dev/null +++ b/tools/ios_xcode_template/godot_ios/godot_ios-Info.plist @@ -0,0 +1,47 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleDisplayName + ${PRODUCT_NAME} + CFBundleExecutable + godot_opt.iphone + CFBundleIdentifier + com.okamstudios.${PRODUCT_NAME:rfc1034identifier} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + APPL + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + 1.0 + LSRequiresIPhoneOS + + UIRequiredDeviceCapabilities + + armv7 + + UIStatusBarHidden + + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + UISupportedInterfaceOrientations~ipad + + UIInterfaceOrientationPortrait + UIInterfaceOrientationPortraitUpsideDown + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + + diff --git a/tools/ios_xcode_template/godot_ios/godot_ios-Prefix.pch b/tools/ios_xcode_template/godot_ios/godot_ios-Prefix.pch new file mode 100644 index 0000000000..82a2bb4507 --- /dev/null +++ b/tools/ios_xcode_template/godot_ios/godot_ios-Prefix.pch @@ -0,0 +1,16 @@ +// +// Prefix header +// +// The contents of this file are implicitly included at the beginning of every source file. +// + +#import + +#ifndef __IPHONE_5_0 +#warning "This project uses features only available in iOS SDK 5.0 and later." +#endif + +#ifdef __OBJC__ + #import + #import +#endif diff --git a/tools/ios_xcode_template/godot_ios/main.m b/tools/ios_xcode_template/godot_ios/main.m new file mode 100644 index 0000000000..dca55f40ce --- /dev/null +++ b/tools/ios_xcode_template/godot_ios/main.m @@ -0,0 +1,18 @@ +// +// main.m +// godot_ios +// +// Created by Ariel m on 2/14/14. +// Copyright (c) 2014 Okam. All rights reserved. +// + +#import + +#import "AppDelegate.h" + +int main(int argc, char * argv[]) +{ + @autoreleasepool { + return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); + } +} -- cgit v1.2.3