forked from libgdx/libgdx
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added gdx-tests-iosmonotouch, not fully working yet, but it's a start
- Loading branch information
Showing
21 changed files
with
731 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
demos/vector-pinball/gdx-vectorpinball-ios/gdx-vectorpinball-ios.userprefs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 11.00 | ||
# Visual Studio 2010 | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "gdx-tests-iosmonotouch", "gdx-tests-iosmonotouch\gdx-tests-iosmonotouch.csproj", "{D4C6163A-37F9-48B5-9A04-6362E83D4F67}" | ||
EndProject | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "superjumper-ios", "..\..\demos\superjumper\superjumper-ios\superjumper-ios\superjumper-ios.csproj", "{E9434FE8-789E-4EF9-AD1E-40F73DBA497B}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|iPhoneSimulator = Debug|iPhoneSimulator | ||
Release|iPhoneSimulator = Release|iPhoneSimulator | ||
Debug|iPhone = Debug|iPhone | ||
Release|iPhone = Release|iPhone | ||
Ad-Hoc|iPhone = Ad-Hoc|iPhone | ||
AppStore|iPhone = AppStore|iPhone | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{D4C6163A-37F9-48B5-9A04-6362E83D4F67}.Ad-Hoc|iPhone.ActiveCfg = Ad-Hoc|iPhone | ||
{D4C6163A-37F9-48B5-9A04-6362E83D4F67}.Ad-Hoc|iPhone.Build.0 = Ad-Hoc|iPhone | ||
{D4C6163A-37F9-48B5-9A04-6362E83D4F67}.AppStore|iPhone.ActiveCfg = AppStore|iPhone | ||
{D4C6163A-37F9-48B5-9A04-6362E83D4F67}.AppStore|iPhone.Build.0 = AppStore|iPhone | ||
{D4C6163A-37F9-48B5-9A04-6362E83D4F67}.Debug|iPhone.ActiveCfg = Debug|iPhone | ||
{D4C6163A-37F9-48B5-9A04-6362E83D4F67}.Debug|iPhone.Build.0 = Debug|iPhone | ||
{D4C6163A-37F9-48B5-9A04-6362E83D4F67}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator | ||
{D4C6163A-37F9-48B5-9A04-6362E83D4F67}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator | ||
{D4C6163A-37F9-48B5-9A04-6362E83D4F67}.Release|iPhone.ActiveCfg = Release|iPhone | ||
{D4C6163A-37F9-48B5-9A04-6362E83D4F67}.Release|iPhone.Build.0 = Release|iPhone | ||
{D4C6163A-37F9-48B5-9A04-6362E83D4F67}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator | ||
{D4C6163A-37F9-48B5-9A04-6362E83D4F67}.Release|iPhoneSimulator.Build.0 = Release|iPhoneSimulator | ||
{E9434FE8-789E-4EF9-AD1E-40F73DBA497B}.Ad-Hoc|iPhone.ActiveCfg = Ad-Hoc|iPhone | ||
{E9434FE8-789E-4EF9-AD1E-40F73DBA497B}.Ad-Hoc|iPhone.Build.0 = Ad-Hoc|iPhone | ||
{E9434FE8-789E-4EF9-AD1E-40F73DBA497B}.AppStore|iPhone.ActiveCfg = AppStore|iPhone | ||
{E9434FE8-789E-4EF9-AD1E-40F73DBA497B}.AppStore|iPhone.Build.0 = AppStore|iPhone | ||
{E9434FE8-789E-4EF9-AD1E-40F73DBA497B}.Debug|iPhone.ActiveCfg = Debug|iPhone | ||
{E9434FE8-789E-4EF9-AD1E-40F73DBA497B}.Debug|iPhone.Build.0 = Debug|iPhone | ||
{E9434FE8-789E-4EF9-AD1E-40F73DBA497B}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator | ||
{E9434FE8-789E-4EF9-AD1E-40F73DBA497B}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator | ||
{E9434FE8-789E-4EF9-AD1E-40F73DBA497B}.Release|iPhone.ActiveCfg = Release|iPhone | ||
{E9434FE8-789E-4EF9-AD1E-40F73DBA497B}.Release|iPhone.Build.0 = Release|iPhone | ||
{E9434FE8-789E-4EF9-AD1E-40F73DBA497B}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator | ||
{E9434FE8-789E-4EF9-AD1E-40F73DBA497B}.Release|iPhoneSimulator.Build.0 = Release|iPhoneSimulator | ||
EndGlobalSection | ||
GlobalSection(MonoDevelopProperties) = preSolution | ||
StartupItem = gdx-tests-iosmonotouch\gdx-tests-iosmonotouch.csproj | ||
EndGlobalSection | ||
EndGlobal |
16 changes: 16 additions & 0 deletions
16
tests/gdx-tests-iosmonotouch/gdx-tests-iosmonotouch.userprefs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<Properties> | ||
<MonoDevelop.Ide.Workspace ActiveConfiguration="Debug|iPhoneSimulator" /> | ||
<MonoDevelop.Ide.Workbench ActiveDocument="gdx-tests-iosmonotouch/convert.xml"> | ||
<Files> | ||
<File FileName="gdx-tests-iosmonotouch/AppDelegate.cs" Line="1" Column="1" /> | ||
<File FileName="../../demos/superjumper/superjumper-ios/superjumper-ios/Main.cs" Line="27" Column="1" /> | ||
<File FileName="gdx-tests-iosmonotouch/Main.cs" Line="8" Column="11" /> | ||
<File FileName="gdx-tests-iosmonotouch/Info.plist" /> | ||
<File FileName="gdx-tests-iosmonotouch/convert.xml" Line="15" Column="32" /> | ||
</Files> | ||
</MonoDevelop.Ide.Workbench> | ||
<MonoDevelop.Ide.DebuggingService.Breakpoints> | ||
<BreakpointStore /> | ||
</MonoDevelop.Ide.DebuggingService.Breakpoints> | ||
<MonoDevelop.Ide.DebuggingService.PinnedWatches /> | ||
</Properties> |
28 changes: 28 additions & 0 deletions
28
tests/gdx-tests-iosmonotouch/gdx-tests-iosmonotouch/Info.plist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<?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>MinimumOSVersion</key> | ||
<string>3.2</string> | ||
<key>UIDeviceFamily</key> | ||
<array> | ||
<integer>1</integer> | ||
<integer>2</integer> | ||
</array> | ||
<key>UIStatusBarHidden</key> | ||
<true/> | ||
<key>UISupportedInterfaceOrientations</key> | ||
<array> | ||
<string>UIInterfaceOrientationPortrait</string> | ||
<string>UIInterfaceOrientationLandscapeLeft</string> | ||
<string>UIInterfaceOrientationLandscapeRight</string> | ||
</array> | ||
<key>UISupportedInterfaceOrientations~ipad</key> | ||
<array> | ||
<string>UIInterfaceOrientationPortrait</string> | ||
<string>UIInterfaceOrientationPortraitUpsideDown</string> | ||
<string>UIInterfaceOrientationLandscapeLeft</string> | ||
<string>UIInterfaceOrientationLandscapeRight</string> | ||
</array> | ||
</dict> | ||
</plist> |
27 changes: 27 additions & 0 deletions
27
tests/gdx-tests-iosmonotouch/gdx-tests-iosmonotouch/Main.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
|
||
using MonoTouch.Foundation; | ||
using MonoTouch.UIKit; | ||
using com.badlogic.gdx.backends.ios; | ||
using com.badlogic.gdx.tests.gwt; | ||
using com.badlogic.gdx.tests; | ||
|
||
namespace superjumperios | ||
{ | ||
public class Application | ||
{ | ||
[Register ("AppDelegate")] | ||
public partial class AppDelegate : IOSApplication { | ||
public AppDelegate(): base(new SpriteBatchShaderTest(), new IOSApplicationConfiguration()) { | ||
|
||
} | ||
} | ||
|
||
static void Main (string[] args) | ||
{ | ||
UIApplication.Main (args, null, "AppDelegate"); | ||
} | ||
} | ||
} |
36 changes: 36 additions & 0 deletions
36
tests/gdx-tests-iosmonotouch/gdx-tests-iosmonotouch/convert.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<project name="gdx" default="convert" basedir="."> | ||
<property name="IKVM_HOME" value="${user.home}/ikvm-monotouch"/> | ||
<property name="MONO_HOME" value="/Developer/MonoTouch/usr/lib/mono/2.1"/> | ||
<property name="IN" value="-recurse:target/core/*.class"/> | ||
<property name="OUT" value="gdx.dll"/> | ||
<property name="SRC" value="src/"/> | ||
<property name="CLASSPATH" value=""/> | ||
<property name="EXCLUDE" value=""/> | ||
|
||
<target name="compile"> | ||
<delete dir="target"/> | ||
<mkdir dir="target"/> | ||
<javac srcdir="${SRC}" destdir="target" classpath="${CLASSPATH}"> | ||
<include name="**/*.java"/> | ||
<exclude name="${EXCLUDE}"/> | ||
</javac> | ||
</target> | ||
|
||
<target name="convert"> | ||
<exec executable="mono"> | ||
<arg value="${IKVM_HOME}/bin/ikvmc.exe"/> | ||
<arg value="-nostdlib"/> | ||
<arg value="-target:library"/> | ||
<arg value="-debug"/> | ||
<arg value="-out:${OUT}"/> | ||
<arg value="-r:${MONO_HOME}/mscorlib.dll"/> | ||
<arg value="-r:${MONO_HOME}/System.dll"/> | ||
<arg value="-r:${MONO_HOME}/System.Core.dll"/> | ||
<arg value="-r:${MONO_HOME}/System.Data.dll"/> | ||
<arg value="-r:${MONO_HOME}/OpenTK.dll"/> | ||
<arg value="-r:${MONO_HOME}/monotouch.dll"/> | ||
<arg value="-r:${MONO_HOME}/Mono.Data.Sqlite.dll"/> | ||
<arg line="${IN}"/> | ||
</exec> | ||
</target> | ||
</project> |
Oops, something went wrong.