Skip to content

Commit 1be2fc5

Browse files
committed
Add osu.iOS project
1 parent 08c8d7a commit 1be2fc5

33 files changed

+777
-7
lines changed

osu.Game/osu.Game.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@
1818
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="2.1.4" />
1919
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite.Core" Version="2.1.4" />
2020
<PackageReference Include="Newtonsoft.Json" Version="11.0.2" />
21-
<PackageReference Include="ppy.osu.Framework" Version="2018.1120.0" />
2221
<PackageReference Include="SharpCompress" Version="0.22.0" />
2322
<PackageReference Include="NUnit" Version="3.11.0" />
2423
<PackageReference Include="SharpRaven" Version="2.4.0" />
2524
<PackageReference Include="System.ComponentModel.Annotations" Version="4.5.0" />
25+
<PackageReference Include="ppy.osu.Framework" Version="0.0.7620" />
2626
</ItemGroup>
2727
</Project>

osu.iOS/AppDelegate.cs

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
using Foundation;
2+
using UIKit;
3+
4+
namespace osu.iOS
5+
{
6+
// The UIApplicationDelegate for the application. This class is responsible for launching the
7+
// User Interface of the application, as well as listening (and optionally responding) to application events from iOS.
8+
[Register("AppDelegate")]
9+
public class AppDelegate : UIApplicationDelegate
10+
{
11+
// class-level declarations
12+
13+
public override UIWindow Window
14+
{
15+
get;
16+
set;
17+
}
18+
19+
public override bool FinishedLaunching(UIApplication application, NSDictionary launchOptions)
20+
{
21+
// Override point for customization after application launch.
22+
// If not required for your application you can safely delete this method
23+
24+
return true;
25+
}
26+
27+
public override void OnResignActivation(UIApplication application)
28+
{
29+
// Invoked when the application is about to move from active to inactive state.
30+
// This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message)
31+
// or when the user quits the application and it begins the transition to the background state.
32+
// Games should use this method to pause the game.
33+
}
34+
35+
public override void DidEnterBackground(UIApplication application)
36+
{
37+
// Use this method to release shared resources, save user data, invalidate timers and store the application state.
38+
// If your application supports background exection this method is called instead of WillTerminate when the user quits.
39+
}
40+
41+
public override void WillEnterForeground(UIApplication application)
42+
{
43+
// Called as part of the transiton from background to active state.
44+
// Here you can undo many of the changes made on entering the background.
45+
}
46+
47+
public override void OnActivated(UIApplication application)
48+
{
49+
// Restart any tasks that were paused (or not yet started) while the application was inactive.
50+
// If the application was previously in the background, optionally refresh the user interface.
51+
}
52+
53+
public override void WillTerminate(UIApplication application)
54+
{
55+
// Called when the application is about to terminate. Save data, if needed. See also DidEnterBackground.
56+
}
57+
}
58+
}
59+

osu.iOS/Application.cs

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
using UIKit;
2+
3+
namespace osu.iOS
4+
{
5+
public class Application
6+
{
7+
// This is the main entry point of the application.
8+
public static void Main(string[] args)
9+
{
10+
// if you want to use a different Application Delegate class from "AppDelegate"
11+
// you can specify it here.
12+
UIApplication.Main(args, null, "AppDelegate");
13+
}
14+
}
15+
}
16+
Lines changed: 202 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,202 @@
1+
{
2+
"images" : [
3+
{
4+
"idiom" : "iphone",
5+
"size" : "20x20",
6+
"scale" : "2x"
7+
},
8+
{
9+
"idiom" : "iphone",
10+
"size" : "20x20",
11+
"scale" : "3x"
12+
},
13+
{
14+
"idiom" : "iphone",
15+
"size" : "29x29",
16+
"scale" : "2x"
17+
},
18+
{
19+
"idiom" : "iphone",
20+
"size" : "29x29",
21+
"scale" : "3x"
22+
},
23+
{
24+
"idiom" : "iphone",
25+
"size" : "40x40",
26+
"scale" : "2x"
27+
},
28+
{
29+
"idiom" : "iphone",
30+
"size" : "40x40",
31+
"scale" : "3x"
32+
},
33+
{
34+
"idiom" : "iphone",
35+
"size" : "60x60",
36+
"scale" : "2x"
37+
},
38+
{
39+
"idiom" : "iphone",
40+
"size" : "60x60",
41+
"scale" : "3x"
42+
},
43+
{
44+
"idiom" : "ipad",
45+
"size" : "20x20",
46+
"scale" : "1x"
47+
},
48+
{
49+
"idiom" : "ipad",
50+
"size" : "20x20",
51+
"scale" : "2x"
52+
},
53+
{
54+
"idiom" : "ipad",
55+
"size" : "29x29",
56+
"scale" : "1x"
57+
},
58+
{
59+
"idiom" : "ipad",
60+
"size" : "29x29",
61+
"scale" : "2x"
62+
},
63+
{
64+
"idiom" : "ipad",
65+
"size" : "40x40",
66+
"scale" : "1x"
67+
},
68+
{
69+
"idiom" : "ipad",
70+
"size" : "40x40",
71+
"scale" : "2x"
72+
},
73+
{
74+
"idiom" : "ipad",
75+
"size" : "76x76",
76+
"scale" : "1x"
77+
},
78+
{
79+
"idiom" : "ipad",
80+
"size" : "76x76",
81+
"scale" : "2x"
82+
},
83+
{
84+
"idiom" : "ipad",
85+
"size" : "83.5x83.5",
86+
"scale" : "2x"
87+
},
88+
{
89+
"idiom" : "ios-marketing",
90+
"size" : "1024x1024",
91+
"scale" : "1x"
92+
},
93+
{
94+
"size" : "24x24",
95+
"idiom" : "watch",
96+
"scale" : "2x",
97+
"role" : "notificationCenter",
98+
"subtype" : "38mm"
99+
},
100+
{
101+
"size" : "27.5x27.5",
102+
"idiom" : "watch",
103+
"scale" : "2x",
104+
"role" : "notificationCenter",
105+
"subtype" : "42mm"
106+
},
107+
{
108+
"size" : "29x29",
109+
"idiom" : "watch",
110+
"role" : "companionSettings",
111+
"scale" : "2x"
112+
},
113+
{
114+
"size" : "29x29",
115+
"idiom" : "watch",
116+
"role" : "companionSettings",
117+
"scale" : "3x"
118+
},
119+
{
120+
"size" : "40x40",
121+
"idiom" : "watch",
122+
"scale" : "2x",
123+
"role" : "appLauncher",
124+
"subtype" : "38mm"
125+
},
126+
{
127+
"size" : "44x44",
128+
"idiom" : "watch",
129+
"scale" : "2x",
130+
"role" : "longLook",
131+
"subtype" : "42mm"
132+
},
133+
{
134+
"size" : "86x86",
135+
"idiom" : "watch",
136+
"scale" : "2x",
137+
"role" : "quickLook",
138+
"subtype" : "38mm"
139+
},
140+
{
141+
"size" : "98x98",
142+
"idiom" : "watch",
143+
"scale" : "2x",
144+
"role" : "quickLook",
145+
"subtype" : "42mm"
146+
},
147+
{
148+
"idiom" : "mac",
149+
"size" : "16x16",
150+
"scale" : "1x"
151+
},
152+
{
153+
"idiom" : "mac",
154+
"size" : "16x16",
155+
"scale" : "2x"
156+
},
157+
{
158+
"idiom" : "mac",
159+
"size" : "32x32",
160+
"scale" : "1x"
161+
},
162+
{
163+
"idiom" : "mac",
164+
"size" : "32x32",
165+
"scale" : "2x"
166+
},
167+
{
168+
"idiom" : "mac",
169+
"size" : "128x128",
170+
"scale" : "1x"
171+
},
172+
{
173+
"idiom" : "mac",
174+
"size" : "128x128",
175+
"scale" : "2x"
176+
},
177+
{
178+
"idiom" : "mac",
179+
"size" : "256x256",
180+
"scale" : "1x"
181+
},
182+
{
183+
"idiom" : "mac",
184+
"size" : "256x256",
185+
"scale" : "2x"
186+
},
187+
{
188+
"idiom" : "mac",
189+
"size" : "512x512",
190+
"scale" : "1x"
191+
},
192+
{
193+
"idiom" : "mac",
194+
"size" : "512x512",
195+
"scale" : "2x"
196+
}
197+
],
198+
"info" : {
199+
"version" : 1,
200+
"author" : "xcode"
201+
}
202+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"info" : {
3+
"version" : 1,
4+
"author" : "xcode"
5+
}
6+
}

osu.iOS/Entitlements.plist

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?xml version="1.0" encoding="UTF-8" ?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
</dict>
6+
</plist>

osu.iOS/Info.plist

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>CFBundleIdentifier</key>
6+
<string>ppy.osu.lazer</string>
7+
<key>CFBundleShortVersionString</key>
8+
<string>1.0</string>
9+
<key>CFBundleVersion</key>
10+
<string>1.0</string>
11+
<key>LSRequiresIPhoneOS</key>
12+
<true/>
13+
<key>MinimumOSVersion</key>
14+
<string>11.0</string>
15+
<key>UIDeviceFamily</key>
16+
<array>
17+
<integer>1</integer>
18+
<integer>2</integer>
19+
</array>
20+
<key>UILaunchStoryboardName</key>
21+
<string>LaunchScreen</string>
22+
<key>UIRequiredDeviceCapabilities</key>
23+
<array>
24+
<string>armv7</string>
25+
</array>
26+
<key>UISupportedInterfaceOrientations</key>
27+
<array>
28+
<string>UIInterfaceOrientationPortrait</string>
29+
<string>UIInterfaceOrientationPortraitUpsideDown</string>
30+
<string>UIInterfaceOrientationLandscapeLeft</string>
31+
<string>UIInterfaceOrientationLandscapeRight</string>
32+
</array>
33+
<key>XSAppIconAssets</key>
34+
<string>Assets.xcassets/AppIcon.appiconset</string>
35+
<key>CFBundleName</key>
36+
<string>osu!lazer</string>
37+
<key>UIStatusBarHidden</key>
38+
<true/>
39+
<key>UIRequiresFullScreen</key>
40+
<true/>
41+
</dict>
42+
</plist>

osu.iOS/LaunchScreen.storyboard

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2+
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="9532" systemVersion="15D21" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" initialViewController="01J-lp-oVM">
3+
<dependencies>
4+
<deployment identifier="iOS" />
5+
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="9530" />
6+
</dependencies>
7+
<scenes>
8+
<!--View Controller-->
9+
<scene sceneID="EHf-IW-A2E">
10+
<objects>
11+
<viewController id="01J-lp-oVM" sceneMemberID="viewController">
12+
<layoutGuides>
13+
<viewControllerLayoutGuide type="top" id="Llm-lL-Icb" />
14+
<viewControllerLayoutGuide type="bottom" id="xb3-aO-Qok" />
15+
</layoutGuides>
16+
<view key="view" contentMode="scaleToFill" id="Ze5-6b-2t3">
17+
<rect key="frame" x="0.0" y="0.0" width="600" height="600" />
18+
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES" />
19+
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite" />
20+
</view>
21+
</viewController>
22+
<placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder" />
23+
</objects>
24+
<point key="canvasLocation" x="53" y="375" />
25+
</scene>
26+
</scenes>
27+
</document>

osu.iOS/libbass.a

1.64 MB
Binary file not shown.

osu.iOS/libbass.dylib

788 KB
Binary file not shown.

0 commit comments

Comments
 (0)