diff --git a/game/iphone/Images.xcassets/AppIcon.appiconset/Contents.json b/game/iphone/Images.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..c008f0a --- /dev/null +++ b/game/iphone/Images.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1,40 @@ +{ + "images" : [ + { + "size" : "29x29", + "idiom" : "iphone", + "filename" : "icon.png", + "scale" : "2x" + }, + { + "idiom" : "iphone", + "size" : "29x29", + "scale" : "3x" + }, + { + "idiom" : "iphone", + "size" : "40x40", + "scale" : "2x" + }, + { + "idiom" : "iphone", + "size" : "40x40", + "scale" : "3x" + }, + { + "size" : "60x60", + "idiom" : "iphone", + "filename" : "icon120.png", + "scale" : "2x" + }, + { + "idiom" : "iphone", + "size" : "60x60", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/game/iphone/icon.png b/game/iphone/Images.xcassets/AppIcon.appiconset/icon.png similarity index 100% rename from game/iphone/icon.png rename to game/iphone/Images.xcassets/AppIcon.appiconset/icon.png diff --git a/game/iphone/Images.xcassets/AppIcon.appiconset/icon120.png b/game/iphone/Images.xcassets/AppIcon.appiconset/icon120.png new file mode 100644 index 0000000..e47afec Binary files /dev/null and b/game/iphone/Images.xcassets/AppIcon.appiconset/icon120.png differ diff --git a/game/iphone/Images.xcassets/Brand Assets.launchimage/Contents.json b/game/iphone/Images.xcassets/Brand Assets.launchimage/Contents.json new file mode 100644 index 0000000..00c97ee --- /dev/null +++ b/game/iphone/Images.xcassets/Brand Assets.launchimage/Contents.json @@ -0,0 +1,22 @@ +{ + "images" : [ + { + "orientation" : "portrait", + "idiom" : "iphone", + "filename" : "Default-568h@2x.png", + "minimum-system-version" : "7.0", + "subtype" : "retina4", + "scale" : "2x" + }, + { + "orientation" : "portrait", + "idiom" : "iphone", + "minimum-system-version" : "7.0", + "scale" : "2x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/game/iphone/Default-568h@2x.png b/game/iphone/Images.xcassets/Brand Assets.launchimage/Default-568h@2x.png similarity index 100% rename from game/iphone/Default-568h@2x.png rename to game/iphone/Images.xcassets/Brand Assets.launchimage/Default-568h@2x.png diff --git a/game/iphone/Info.plist b/game/iphone/Info.plist index b70e2ba..c4f7723 100644 --- a/game/iphone/Info.plist +++ b/game/iphone/Info.plist @@ -8,8 +8,8 @@ Hostile Takeover CFBundleExecutable wi - CFBundleIconFile - icon + CFBundleIcons~ipad + CFBundleIdentifier $(PRODUCT_BUNDLE_IDENTIFIER) CFBundleInfoDictionaryVersion @@ -37,6 +37,10 @@ UIPrerenderedIcon + UIRequiredDeviceCapabilities + + armv7 + UIRequiresPersistentWiFi UIStatusBarHidden diff --git a/game/wi.xcodeproj/project.pbxproj b/game/wi.xcodeproj/project.pbxproj index b740118..a16dc69 100755 --- a/game/wi.xcodeproj/project.pbxproj +++ b/game/wi.xcodeproj/project.pbxproj @@ -13,6 +13,7 @@ 5500324318B9936800466FDF /* xtransport.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 5500324118B9936800466FDF /* xtransport.cpp */; }; 5569EAD31C11252300B0622D /* Default-568h@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 5569EAD11C11252300B0622D /* Default-568h@2x.png */; }; 5569EAD41C11252300B0622D /* Entitlements.plist in Resources */ = {isa = PBXBuildFile; fileRef = 5569EAD21C11252300B0622D /* Entitlements.plist */; }; + 5569EAD81C11632900B0622D /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 5569EAD71C11632900B0622D /* Images.xcassets */; }; C10777AD0E1D9FE5003DA7D6 /* messages.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C10777AB0E1D9FE5003DA7D6 /* messages.cpp */; }; C1077A1C0E31C4B5003DA7D6 /* decompress.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C1077A130E31C4B5003DA7D6 /* decompress.cpp */; }; C1077A1D0E31C4B5003DA7D6 /* ini.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C1077A160E31C4B5003DA7D6 /* ini.cpp */; }; @@ -196,6 +197,7 @@ 5500324218B9936800466FDF /* xtransport.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = xtransport.h; sourceTree = SOURCE_ROOT; }; 5569EAD11C11252300B0622D /* Default-568h@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = "Default-568h@2x.png"; path = "iphone/Default-568h@2x.png"; sourceTree = ""; }; 5569EAD21C11252300B0622D /* Entitlements.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Entitlements.plist; path = iphone/Entitlements.plist; sourceTree = ""; }; + 5569EAD71C11632900B0622D /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = iphone/Images.xcassets; sourceTree = ""; }; 636035590F19AA7C00ABF8EB /* multiplayer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = multiplayer.h; sourceTree = SOURCE_ROOT; }; C10777AB0E1D9FE5003DA7D6 /* messages.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = messages.cpp; path = ../mpshared/messages.cpp; sourceTree = SOURCE_ROOT; }; C10777AC0E1D9FE5003DA7D6 /* messages.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = messages.h; path = ../mpshared/messages.h; sourceTree = SOURCE_ROOT; }; @@ -724,6 +726,7 @@ 29B97317FDCFA39411CA2CEA /* Resources */ = { isa = PBXGroup; children = ( + 5569EAD71C11632900B0622D /* Images.xcassets */, C178D3F80EABD5AF0015E32D /* icon.png */, C1EC87C20DDE4A7E00B595FD /* htdata832.pdb */, C17D66CC0D9E162500CB9F01 /* htsfx.pdb */, @@ -1010,6 +1013,7 @@ buildActionMask = 2147483647; files = ( 5569EAD41C11252300B0622D /* Entitlements.plist in Resources */, + 5569EAD81C11632900B0622D /* Images.xcassets in Resources */, C17D66D00D9E162500CB9F01 /* htsfx.pdb in Resources */, C1EC87C30DDE4A7E00B595FD /* htdata832.pdb in Resources */, C1D143980E45881F0025FA74 /* dist.plist in Resources */, @@ -1199,6 +1203,8 @@ 1D6058940D05DD3E006BFB54 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = "Brand Assets"; CLANG_LINK_OBJC_RUNTIME = NO; CODE_SIGN_ENTITLEMENTS = iphone/Entitlements.plist; CODE_SIGN_IDENTITY = ""; @@ -1238,6 +1244,8 @@ 1D6058950D05DD3E006BFB54 /* Release */ = { isa = XCBuildConfiguration; buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = "Brand Assets"; CLANG_LINK_OBJC_RUNTIME = NO; CODE_SIGN_ENTITLEMENTS = iphone/Entitlements.plist; CODE_SIGN_IDENTITY = ""; @@ -1339,6 +1347,8 @@ C13CB9060E456DB300820077 /* Distribution */ = { isa = XCBuildConfiguration; buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = "Brand Assets"; CLANG_LINK_OBJC_RUNTIME = NO; CODE_SIGN_ENTITLEMENTS = iphone/Entitlements.plist; CODE_SIGN_IDENTITY = ""; @@ -1395,6 +1405,8 @@ C19C0D550EE0724B00963860 /* Distribution-store */ = { isa = XCBuildConfiguration; buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = "Brand Assets"; CLANG_LINK_OBJC_RUNTIME = NO; CODE_SIGN_ENTITLEMENTS = iphone/Entitlements.plist; CODE_SIGN_IDENTITY = ""; @@ -1449,6 +1461,8 @@ C1C108130E4554AF00D8DCA0 /* AdHoc */ = { isa = XCBuildConfiguration; buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = "Brand Assets"; CLANG_LINK_OBJC_RUNTIME = NO; CODE_SIGN_ENTITLEMENTS = iphone/Entitlements.plist; CODE_SIGN_IDENTITY = "";