Forráskód Böngészése

Added CatapultsNetWars, Ported Deans Input and Orientation samples. Renamed VideoPlayer and Primitives folders.

Dominique Louis 13 éve
szülő
commit
7626759cc9

+ 42 - 14
Samples/MonoGame.Samples.iOS.sln

@@ -45,10 +45,14 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MonoGame.Samples.Waypoint",
 EndProject
 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MonoGame.Samples.VideoPlayer", "iOS\VideoPlayer\MonoGame.Samples.VideoPlayer.csproj", "{D6A6EF59-928C-4DDB-AD8D-D85DD914BF82}"
 EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MonoGame.Samples.Primitives", "iOS\MonoGame.Samples.Primitives\MonoGame.Samples.Primitives.csproj", "{C212EEE3-E38E-4F0A-9B98-779694A886DB}"
-EndProject
 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MonoGame.Samples.CatapultWars", "iOS\Catapults\MonoGame.Samples.CatapultWars.csproj", "{0FC9E0AB-3FC0-4593-970A-16FA6646CD6C}"
 EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MonoGame.Samples.Orientation", "iOS\Orientation\MonoGame.Samples.Orientation.csproj", "{DCE047E9-894F-4C5C-B972-835B62CDEB48}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MonoGame.Samples.Input", "iOS\Input\MonoGame.Samples.Input.csproj", "{5FFC1EED-2AD5-4C3C-9824-84D9991A1F30}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MonoGame.Samples.CatapultNetWars", "iOS\Catapults\CatapultNetWars\MonoGame.Samples.CatapultNetWars.csproj", "{65DE6FC7-CB94-4E4F-8FBE-E3EA9A34967C}"
+EndProject
 Global
 	GlobalSection(SolutionConfigurationPlatforms) = preSolution
 		Debug|iPhoneSimulator = Debug|iPhoneSimulator
@@ -167,6 +171,30 @@ Global
 		{58763B1D-A43F-4D2B-9279-DBA505C18B32}.Release|iPhone.Build.0 = Release|iPhone
 		{58763B1D-A43F-4D2B-9279-DBA505C18B32}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator
 		{58763B1D-A43F-4D2B-9279-DBA505C18B32}.Release|iPhoneSimulator.Build.0 = Release|iPhoneSimulator
+		{5FFC1EED-2AD5-4C3C-9824-84D9991A1F30}.Debug|iPhone.ActiveCfg = Debug|iPhone
+		{5FFC1EED-2AD5-4C3C-9824-84D9991A1F30}.Debug|iPhone.Build.0 = Debug|iPhone
+		{5FFC1EED-2AD5-4C3C-9824-84D9991A1F30}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator
+		{5FFC1EED-2AD5-4C3C-9824-84D9991A1F30}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator
+		{5FFC1EED-2AD5-4C3C-9824-84D9991A1F30}.Distribution|iPhone.ActiveCfg = Debug|iPhone
+		{5FFC1EED-2AD5-4C3C-9824-84D9991A1F30}.Distribution|iPhone.Build.0 = Debug|iPhone
+		{5FFC1EED-2AD5-4C3C-9824-84D9991A1F30}.Distribution|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator
+		{5FFC1EED-2AD5-4C3C-9824-84D9991A1F30}.Distribution|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator
+		{5FFC1EED-2AD5-4C3C-9824-84D9991A1F30}.Release|iPhone.ActiveCfg = Release|iPhone
+		{5FFC1EED-2AD5-4C3C-9824-84D9991A1F30}.Release|iPhone.Build.0 = Release|iPhone
+		{5FFC1EED-2AD5-4C3C-9824-84D9991A1F30}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator
+		{5FFC1EED-2AD5-4C3C-9824-84D9991A1F30}.Release|iPhoneSimulator.Build.0 = Release|iPhoneSimulator
+		{65DE6FC7-CB94-4E4F-8FBE-E3EA9A34967C}.Debug|iPhone.ActiveCfg = Debug|iPhone
+		{65DE6FC7-CB94-4E4F-8FBE-E3EA9A34967C}.Debug|iPhone.Build.0 = Debug|iPhone
+		{65DE6FC7-CB94-4E4F-8FBE-E3EA9A34967C}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator
+		{65DE6FC7-CB94-4E4F-8FBE-E3EA9A34967C}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator
+		{65DE6FC7-CB94-4E4F-8FBE-E3EA9A34967C}.Distribution|iPhone.ActiveCfg = Debug|iPhone
+		{65DE6FC7-CB94-4E4F-8FBE-E3EA9A34967C}.Distribution|iPhone.Build.0 = Debug|iPhone
+		{65DE6FC7-CB94-4E4F-8FBE-E3EA9A34967C}.Distribution|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator
+		{65DE6FC7-CB94-4E4F-8FBE-E3EA9A34967C}.Distribution|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator
+		{65DE6FC7-CB94-4E4F-8FBE-E3EA9A34967C}.Release|iPhone.ActiveCfg = Release|iPhone
+		{65DE6FC7-CB94-4E4F-8FBE-E3EA9A34967C}.Release|iPhone.Build.0 = Release|iPhone
+		{65DE6FC7-CB94-4E4F-8FBE-E3EA9A34967C}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator
+		{65DE6FC7-CB94-4E4F-8FBE-E3EA9A34967C}.Release|iPhoneSimulator.Build.0 = Release|iPhoneSimulator
 		{6AD0E621-8D0C-42B1-A42C-B36F8537B234}.Debug|iPhone.ActiveCfg = Debug|iPhone
 		{6AD0E621-8D0C-42B1-A42C-B36F8537B234}.Debug|iPhone.Build.0 = Debug|iPhone
 		{6AD0E621-8D0C-42B1-A42C-B36F8537B234}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator
@@ -247,18 +275,6 @@ Global
 		{BF785698-D6BF-465C-9089-B48B49D0377A}.Release|iPhone.Build.0 = Release|iPhone
 		{BF785698-D6BF-465C-9089-B48B49D0377A}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator
 		{BF785698-D6BF-465C-9089-B48B49D0377A}.Release|iPhoneSimulator.Build.0 = Release|iPhoneSimulator
-		{C212EEE3-E38E-4F0A-9B98-779694A886DB}.Debug|iPhone.ActiveCfg = Debug|iPhone
-		{C212EEE3-E38E-4F0A-9B98-779694A886DB}.Debug|iPhone.Build.0 = Debug|iPhone
-		{C212EEE3-E38E-4F0A-9B98-779694A886DB}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator
-		{C212EEE3-E38E-4F0A-9B98-779694A886DB}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator
-		{C212EEE3-E38E-4F0A-9B98-779694A886DB}.Distribution|iPhone.ActiveCfg = Debug|iPhone
-		{C212EEE3-E38E-4F0A-9B98-779694A886DB}.Distribution|iPhone.Build.0 = Debug|iPhone
-		{C212EEE3-E38E-4F0A-9B98-779694A886DB}.Distribution|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator
-		{C212EEE3-E38E-4F0A-9B98-779694A886DB}.Distribution|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator
-		{C212EEE3-E38E-4F0A-9B98-779694A886DB}.Release|iPhone.ActiveCfg = Release|iPhone
-		{C212EEE3-E38E-4F0A-9B98-779694A886DB}.Release|iPhone.Build.0 = Release|iPhone
-		{C212EEE3-E38E-4F0A-9B98-779694A886DB}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator
-		{C212EEE3-E38E-4F0A-9B98-779694A886DB}.Release|iPhoneSimulator.Build.0 = Release|iPhoneSimulator
 		{CE342066-BCCD-4989-A401-0D36287276EF}.Debug|iPhone.ActiveCfg = Debug|iPhone
 		{CE342066-BCCD-4989-A401-0D36287276EF}.Debug|iPhone.Build.0 = Debug|iPhone
 		{CE342066-BCCD-4989-A401-0D36287276EF}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator
@@ -291,6 +307,18 @@ Global
 		{DB8508BB-9849-4CC2-BC0F-8EB5DACB3C47}.Release|iPhone.Build.0 = Release|iPhone
 		{DB8508BB-9849-4CC2-BC0F-8EB5DACB3C47}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator
 		{DB8508BB-9849-4CC2-BC0F-8EB5DACB3C47}.Release|iPhoneSimulator.Build.0 = Release|iPhoneSimulator
+		{DCE047E9-894F-4C5C-B972-835B62CDEB48}.Debug|iPhone.ActiveCfg = Debug|iPhone
+		{DCE047E9-894F-4C5C-B972-835B62CDEB48}.Debug|iPhone.Build.0 = Debug|iPhone
+		{DCE047E9-894F-4C5C-B972-835B62CDEB48}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator
+		{DCE047E9-894F-4C5C-B972-835B62CDEB48}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator
+		{DCE047E9-894F-4C5C-B972-835B62CDEB48}.Distribution|iPhone.ActiveCfg = Debug|iPhone
+		{DCE047E9-894F-4C5C-B972-835B62CDEB48}.Distribution|iPhone.Build.0 = Debug|iPhone
+		{DCE047E9-894F-4C5C-B972-835B62CDEB48}.Distribution|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator
+		{DCE047E9-894F-4C5C-B972-835B62CDEB48}.Distribution|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator
+		{DCE047E9-894F-4C5C-B972-835B62CDEB48}.Release|iPhone.ActiveCfg = Release|iPhone
+		{DCE047E9-894F-4C5C-B972-835B62CDEB48}.Release|iPhone.Build.0 = Release|iPhone
+		{DCE047E9-894F-4C5C-B972-835B62CDEB48}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator
+		{DCE047E9-894F-4C5C-B972-835B62CDEB48}.Release|iPhoneSimulator.Build.0 = Release|iPhoneSimulator
 		{DEC435F4-9E84-490B-9890-72E5F514B8D0}.Debug|iPhone.ActiveCfg = Debug|iPhone
 		{DEC435F4-9E84-490B-9890-72E5F514B8D0}.Debug|iPhone.Build.0 = Debug|iPhone
 		{DEC435F4-9E84-490B-9890-72E5F514B8D0}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator

+ 21 - 0
Samples/iOS/Catapults/CatapultNetWars/Info.plist

@@ -0,0 +1,21 @@
+<?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>UIDeviceFamily</key>
+	<array>
+		<integer>1</integer>
+		<integer>2</integer>
+	</array>
+	<key>UISupportedInterfaceOrientations</key>
+	<array>
+		<string>UIInterfaceOrientationLandscapeLeft</string>
+		<string>UIInterfaceOrientationLandscapeRight</string>
+	</array>
+	<key>UISupportedInterfaceOrientations~ipad</key>
+	<array>
+		<string>UIInterfaceOrientationLandscapeLeft</string>
+		<string>UIInterfaceOrientationLandscapeRight</string>
+	</array>
+</dict>
+</plist>

+ 29 - 0
Samples/iOS/Catapults/CatapultNetWars/Main.cs

@@ -0,0 +1,29 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using MonoTouch.Foundation;
+using MonoTouch.UIKit;
+
+namespace CatapultGame
+{
+	[Register ("AppDelegate")]
+	class Program : UIApplicationDelegate 
+	{
+		private CatapultGame game;
+
+		public override void FinishedLaunching (UIApplication app)
+		{
+			// Fun begins..
+			game = new CatapultGame();
+			game.Run();
+		}
+		
+		// This is the main entry point of the application.
+		static void Main (string[] args)
+		{
+			// if you want to use a different Application Delegate class from "AppDelegate"
+			// you can specify it here.
+			UIApplication.Main (args, null, "AppDelegate");
+		}
+	}
+}

+ 313 - 0
Samples/iOS/Catapults/CatapultNetWars/MonoGame.Samples.CatapultNetWars.csproj

@@ -0,0 +1,313 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <PropertyGroup>
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+    <Platform Condition=" '$(Platform)' == '' ">iPhoneSimulator</Platform>
+    <ProductVersion>10.0.0</ProductVersion>
+    <SchemaVersion>2.0</SchemaVersion>
+    <ProjectGuid>{65DE6FC7-CB94-4E4F-8FBE-E3EA9A34967C}</ProjectGuid>
+    <ProjectTypeGuids>{6BC8ED88-2882-458C-8E55-DFD12B67127B};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
+    <OutputType>Exe</OutputType>
+    <RootNamespace>MonoGame.Samples.CatapultNetWars</RootNamespace>
+    <AssemblyName>MonoGameSamplesCatapultNetWars</AssemblyName>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|iPhoneSimulator' ">
+    <DebugSymbols>true</DebugSymbols>
+    <DebugType>full</DebugType>
+    <Optimize>false</Optimize>
+    <OutputPath>bin\iPhoneSimulator\Debug</OutputPath>
+    <DefineConstants>DEBUG;IOS</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+    <ConsolePause>false</ConsolePause>
+    <MtouchDebug>true</MtouchDebug>
+    <MtouchProfiling>true</MtouchProfiling>
+    <MtouchLink>None</MtouchLink>
+    <MtouchI18n />
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|iPhoneSimulator' ">
+    <DebugType>none</DebugType>
+    <Optimize>false</Optimize>
+    <OutputPath>bin\iPhoneSimulator\Release</OutputPath>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+    <ConsolePause>false</ConsolePause>
+    <MtouchLink>None</MtouchLink>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|iPhone' ">
+    <DebugSymbols>true</DebugSymbols>
+    <DebugType>full</DebugType>
+    <Optimize>false</Optimize>
+    <OutputPath>bin\iPhone\Debug</OutputPath>
+    <DefineConstants>DEBUG;</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+    <ConsolePause>false</ConsolePause>
+    <CodesignKey>iPhone Developer</CodesignKey>
+    <MtouchDebug>true</MtouchDebug>
+    <MtouchProfiling>true</MtouchProfiling>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|iPhone' ">
+    <DebugType>none</DebugType>
+    <Optimize>false</Optimize>
+    <OutputPath>bin\iPhone\Release</OutputPath>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+    <ConsolePause>false</ConsolePause>
+    <CodesignKey>iPhone Developer</CodesignKey>
+  </PropertyGroup>
+  <ItemGroup>
+    <Reference Include="System" />
+    <Reference Include="System.Xml" />
+    <Reference Include="System.Core" />
+    <Reference Include="monotouch" />
+    <Reference Include="OpenTK" />
+    <Reference Include="System.Xml.Linq" />
+  </ItemGroup>
+  <ItemGroup>
+    <None Include="Info.plist" />
+    <None Include="..\..\..\MacOS\CatapultNetWars\Resources.resources">
+      <Link>Resources.resources</Link>
+    </None>
+    <None Include="..\..\..\MacOS\CatapultNetWars\Resources.resx">
+      <Link>Resources.resx</Link>
+    </None>
+  </ItemGroup>
+  <ItemGroup>
+    <Compile Include="Main.cs" />
+    <Compile Include="..\..\..\MacOS\CatapultNetWars\CatapultGame.cs">
+      <Link>CatapultGame.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\MacOS\CatapultNetWars\IMessageDisplay.cs">
+      <Link>IMessageDisplay.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\MacOS\CatapultNetWars\MessageDisplayComponent.cs">
+      <Link>MessageDisplayComponent.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\MacOS\CatapultNetWars\Catapult\Catapult.cs">
+      <Link>Catapult\Catapult.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\MacOS\CatapultNetWars\Catapult\Projectile.cs">
+      <Link>Catapult\Projectile.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\MacOS\CatapultNetWars\Networking\AvailableSessionMenuEntry.cs">
+      <Link>Networking\AvailableSessionMenuEntry.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\MacOS\CatapultNetWars\Networking\CreateOrFindSessionScreen.cs">
+      <Link>Networking\CreateOrFindSessionScreen.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\MacOS\CatapultNetWars\Networking\JoinSessionScreen.cs">
+      <Link>Networking\JoinSessionScreen.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\MacOS\CatapultNetWars\Networking\LobbyScreen.cs">
+      <Link>Networking\LobbyScreen.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\MacOS\CatapultNetWars\Networking\NetworkBusyScreen.cs">
+      <Link>Networking\NetworkBusyScreen.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\MacOS\CatapultNetWars\Networking\NetworkErrorScreen.cs">
+      <Link>Networking\NetworkErrorScreen.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\MacOS\CatapultNetWars\Networking\NetworkSessionComponent.cs">
+      <Link>Networking\NetworkSessionComponent.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\MacOS\CatapultNetWars\Networking\OperationCompletedEventArgs.cs">
+      <Link>Networking\OperationCompletedEventArgs.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\MacOS\CatapultNetWars\Networking\ProfileSignInScreen.cs">
+      <Link>Networking\ProfileSignInScreen.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\MacOS\CatapultNetWars\Players\AI.cs">
+      <Link>Players\AI.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\MacOS\CatapultNetWars\Players\Human.cs">
+      <Link>Players\Human.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\MacOS\CatapultNetWars\Players\Player.cs">
+      <Link>Players\Player.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\MacOS\CatapultNetWars\ScreenManager\GameScreen.cs">
+      <Link>ScreenManager\GameScreen.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\MacOS\CatapultNetWars\ScreenManager\InputState.cs">
+      <Link>ScreenManager\InputState.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\MacOS\CatapultNetWars\ScreenManager\MenuEntry.cs">
+      <Link>ScreenManager\MenuEntry.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\MacOS\CatapultNetWars\ScreenManager\MenuScreen.cs">
+      <Link>ScreenManager\MenuScreen.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\MacOS\CatapultNetWars\ScreenManager\MouseGestureType.cs">
+      <Link>ScreenManager\MouseGestureType.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\MacOS\CatapultNetWars\ScreenManager\PlayerIndexEventArgs.cs">
+      <Link>ScreenManager\PlayerIndexEventArgs.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\MacOS\CatapultNetWars\ScreenManager\ScreenManager.cs">
+      <Link>ScreenManager\ScreenManager.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\MacOS\CatapultNetWars\Screens\BackgroundScreen.cs">
+      <Link>Screens\BackgroundScreen.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\MacOS\CatapultNetWars\Screens\GameplayScreen.cs">
+      <Link>Screens\GameplayScreen.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\MacOS\CatapultNetWars\Screens\InstructionsScreen.cs">
+      <Link>Screens\InstructionsScreen.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\MacOS\CatapultNetWars\Screens\LoadingScreen.cs">
+      <Link>Screens\LoadingScreen.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\MacOS\CatapultNetWars\Screens\MainMenuScreen.cs">
+      <Link>Screens\MainMenuScreen.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\MacOS\CatapultNetWars\Screens\MessageBoxScreen.cs">
+      <Link>Screens\MessageBoxScreen.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\MacOS\CatapultNetWars\Screens\PauseScreen.cs">
+      <Link>Screens\PauseScreen.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\MacOS\CatapultNetWars\Utility\Animation.cs">
+      <Link>Utility\Animation.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\MacOS\CatapultNetWars\Utility\AudioManager.cs">
+      <Link>Utility\AudioManager.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\MacOS\CatapultNetWars\Resources.Designer.cs">
+      <Link>Resources.Designer.cs</Link>
+    </Compile>
+  </ItemGroup>
+  <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
+  <ItemGroup>
+    <Content Include="..\..\..\MacOS\CatapultNetWars\Background.png">
+      <Link>Background.png</Link>
+    </Content>
+    <Content Include="..\..\..\MacOS\CatapultNetWars\Content\cat.xnb">
+      <Link>Content\cat.xnb</Link>
+    </Content>
+    <Content Include="..\..\..\MacOS\CatapultNetWars\Content\chat_able.xnb">
+      <Link>Content\chat_able.xnb</Link>
+    </Content>
+    <Content Include="..\..\..\MacOS\CatapultNetWars\Content\chat_mute.xnb">
+      <Link>Content\chat_mute.xnb</Link>
+    </Content>
+    <Content Include="..\..\..\MacOS\CatapultNetWars\Content\chat_ready.xnb">
+      <Link>Content\chat_ready.xnb</Link>
+    </Content>
+    <Content Include="..\..\..\MacOS\CatapultNetWars\Content\chat_talking.xnb">
+      <Link>Content\chat_talking.xnb</Link>
+    </Content>
+    <Content Include="..\..\..\MacOS\CatapultNetWars\Content\gradient.xnb">
+      <Link>Content\gradient.xnb</Link>
+    </Content>
+    <Content Include="..\..\..\MacOS\CatapultNetWars\Content\Textures\HUD\ammoType.xnb">
+      <Link>Content\Textures\HUD\ammoType.xnb</Link>
+    </Content>
+    <Content Include="..\..\..\MacOS\CatapultNetWars\Content\Textures\HUD\Arrow.xnb">
+      <Link>Content\Textures\HUD\Arrow.xnb</Link>
+    </Content>
+    <Content Include="..\..\..\MacOS\CatapultNetWars\Content\Textures\HUD\hudBackground.xnb">
+      <Link>Content\Textures\HUD\hudBackground.xnb</Link>
+    </Content>
+    <Content Include="..\..\..\MacOS\CatapultNetWars\Content\Textures\HUD\windArrow.xnb">
+      <Link>Content\Textures\HUD\windArrow.xnb</Link>
+    </Content>
+    <Content Include="..\..\..\MacOS\CatapultNetWars\Content\Textures\Catapults\AnimationsDef.xml">
+      <Link>Content\Textures\Catapults\AnimationsDef.xml</Link>
+    </Content>
+    <Content Include="..\..\..\MacOS\CatapultNetWars\Content\Textures\Catapults\Red\redPullback\redCatapult_Pullback.xnb">
+      <Link>Content\Textures\Catapults\Red\redPullback\redCatapult_Pullback.xnb</Link>
+    </Content>
+    <Content Include="..\..\..\MacOS\CatapultNetWars\Content\Textures\Catapults\Red\redIdle\redIdle.xnb">
+      <Link>Content\Textures\Catapults\Red\redIdle\redIdle.xnb</Link>
+    </Content>
+    <Content Include="..\..\..\MacOS\CatapultNetWars\Content\Textures\Catapults\Red\redFire\redCatapult_fire.xnb">
+      <Link>Content\Textures\Catapults\Red\redFire\redCatapult_fire.xnb</Link>
+    </Content>
+    <Content Include="..\..\..\MacOS\CatapultNetWars\Content\Textures\Catapults\Red\redDestroyed\redCatapult_destroyed.xnb">
+      <Link>Content\Textures\Catapults\Red\redDestroyed\redCatapult_destroyed.xnb</Link>
+    </Content>
+    <Content Include="..\..\..\MacOS\CatapultNetWars\Content\Textures\Catapults\Hit_Smoke\smoke.xnb">
+      <Link>Content\Textures\Catapults\Hit_Smoke\smoke.xnb</Link>
+    </Content>
+    <Content Include="..\..\..\MacOS\CatapultNetWars\Content\Textures\Catapults\Fire_Miss\fire_miss.xnb">
+      <Link>Content\Textures\Catapults\Fire_Miss\fire_miss.xnb</Link>
+    </Content>
+    <Content Include="..\..\..\MacOS\CatapultNetWars\Content\Textures\Catapults\Blue\bluePullback\blueCatapult_Pullback.xnb">
+      <Link>Content\Textures\Catapults\Blue\bluePullback\blueCatapult_Pullback.xnb</Link>
+    </Content>
+    <Content Include="..\..\..\MacOS\CatapultNetWars\Content\Textures\Catapults\Blue\blueIdle\blueIdle.xnb">
+      <Link>Content\Textures\Catapults\Blue\blueIdle\blueIdle.xnb</Link>
+    </Content>
+    <Content Include="..\..\..\MacOS\CatapultNetWars\Content\Textures\Catapults\Blue\blueFire\blueCatapult_fire.xnb">
+      <Link>Content\Textures\Catapults\Blue\blueFire\blueCatapult_fire.xnb</Link>
+    </Content>
+    <Content Include="..\..\..\MacOS\CatapultNetWars\Content\Textures\Catapults\Blue\blueDestroyed\blueCatapult_destroyed.xnb">
+      <Link>Content\Textures\Catapults\Blue\blueDestroyed\blueCatapult_destroyed.xnb</Link>
+    </Content>
+    <Content Include="..\..\..\MacOS\CatapultNetWars\Content\Textures\Backgrounds\blank.xnb">
+      <Link>Content\Textures\Backgrounds\blank.xnb</Link>
+    </Content>
+    <Content Include="..\..\..\MacOS\CatapultNetWars\Content\Textures\Backgrounds\cloud1.xnb">
+      <Link>Content\Textures\Backgrounds\cloud1.xnb</Link>
+    </Content>
+    <Content Include="..\..\..\MacOS\CatapultNetWars\Content\Textures\Backgrounds\cloud2.xnb">
+      <Link>Content\Textures\Backgrounds\cloud2.xnb</Link>
+    </Content>
+    <Content Include="..\..\..\MacOS\CatapultNetWars\Content\Textures\Backgrounds\defeat.xnb">
+      <Link>Content\Textures\Backgrounds\defeat.xnb</Link>
+    </Content>
+    <Content Include="..\..\..\MacOS\CatapultNetWars\Content\Textures\Backgrounds\gameplay_screen.xnb">
+      <Link>Content\Textures\Backgrounds\gameplay_screen.xnb</Link>
+    </Content>
+    <Content Include="..\..\..\MacOS\CatapultNetWars\Content\Textures\Backgrounds\instructions.xnb">
+      <Link>Content\Textures\Backgrounds\instructions.xnb</Link>
+    </Content>
+    <Content Include="..\..\..\MacOS\CatapultNetWars\Content\Textures\Backgrounds\mountain.xnb">
+      <Link>Content\Textures\Backgrounds\mountain.xnb</Link>
+    </Content>
+    <Content Include="..\..\..\MacOS\CatapultNetWars\Content\Textures\Backgrounds\sky.xnb">
+      <Link>Content\Textures\Backgrounds\sky.xnb</Link>
+    </Content>
+    <Content Include="..\..\..\MacOS\CatapultNetWars\Content\Textures\Backgrounds\title_screen.xnb">
+      <Link>Content\Textures\Backgrounds\title_screen.xnb</Link>
+    </Content>
+    <Content Include="..\..\..\MacOS\CatapultNetWars\Content\Textures\Backgrounds\victory.xnb">
+      <Link>Content\Textures\Backgrounds\victory.xnb</Link>
+    </Content>
+    <Content Include="..\..\..\MacOS\CatapultNetWars\Content\Textures\Ammo\rock_ammo.xnb">
+      <Link>Content\Textures\Ammo\rock_ammo.xnb</Link>
+    </Content>
+    <Content Include="..\..\..\MacOS\CatapultNetWars\Content\Sounds\Win.xnb">
+      <Link>Content\Sounds\Win.xnb</Link>
+    </Content>
+    <Content Include="..\..\..\MacOS\CatapultNetWars\Content\Sounds\Lose.xnb">
+      <Link>Content\Sounds\Lose.xnb</Link>
+    </Content>
+    <Content Include="..\..\..\MacOS\CatapultNetWars\Content\Sounds\RopeStretch.xnb">
+      <Link>Content\Sounds\RopeStretch.xnb</Link>
+    </Content>
+    <Content Include="..\..\..\MacOS\CatapultNetWars\Content\Sounds\CatapultFire.xnb">
+      <Link>Content\Sounds\CatapultFire.xnb</Link>
+    </Content>
+    <Content Include="..\..\..\MacOS\CatapultNetWars\Content\Sounds\CatapultExplosion.xnb">
+      <Link>Content\Sounds\CatapultExplosion.xnb</Link>
+    </Content>
+    <Content Include="..\..\..\MacOS\CatapultNetWars\Content\Sounds\BoulderHit.xnb">
+      <Link>Content\Sounds\BoulderHit.xnb</Link>
+    </Content>
+    <Content Include="..\..\..\MacOS\CatapultNetWars\Content\Fonts\HUDFont.xnb">
+      <Link>Content\Fonts\HUDFont.xnb</Link>
+    </Content>
+    <Content Include="..\..\..\MacOS\CatapultNetWars\Content\Fonts\MenuFont.xnb">
+      <Link>Content\Fonts\MenuFont.xnb</Link>
+    </Content>
+  </ItemGroup>
+  <ItemGroup>
+    <ProjectReference Include="..\..\..\..\..\MonoGame\MonoGame.Framework\MonoGame.Framework.iOS.csproj">
+      <Project>{DB8508BB-9849-4CC2-BC0F-8EB5DACB3C47}</Project>
+      <Name>MonoGame.Framework.iOS</Name>
+    </ProjectReference>
+  </ItemGroup>
+</Project>

+ 0 - 0
Samples/iOS/MonoGame.Samples.VideoPlayer/Info.plist → Samples/iOS/Input/Info.plist


+ 27 - 0
Samples/iOS/Input/Main.cs

@@ -0,0 +1,27 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+
+using MonoTouch.Foundation;
+using MonoTouch.UIKit;
+
+namespace MonoGame.Samples.Input
+{
+	[Register ("AppDelegate")]
+	class Program : UIApplicationDelegate 
+	{
+		private Game1 game;
+
+		public override void FinishedLaunching (UIApplication app)
+		{
+			// Fun begins..
+			game = new Game1();
+			game.Run();
+		}
+
+		static void Main (string [] args)
+		{
+			UIApplication.Main (args,null,"AppDelegate");
+		}
+	}
+}

+ 75 - 0
Samples/iOS/Input/MonoGame.Samples.Input.csproj

@@ -0,0 +1,75 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <PropertyGroup>
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+    <Platform Condition=" '$(Platform)' == '' ">iPhoneSimulator</Platform>
+    <ProductVersion>10.0.0</ProductVersion>
+    <SchemaVersion>2.0</SchemaVersion>
+    <ProjectGuid>{5FFC1EED-2AD5-4C3C-9824-84D9991A1F30}</ProjectGuid>
+    <ProjectTypeGuids>{6BC8ED88-2882-458C-8E55-DFD12B67127B};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
+    <OutputType>Exe</OutputType>
+    <RootNamespace>MonoGame.Samples.Input</RootNamespace>
+    <AssemblyName>MonoGameSamplesInput</AssemblyName>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|iPhoneSimulator' ">
+    <DebugSymbols>true</DebugSymbols>
+    <DebugType>full</DebugType>
+    <Optimize>false</Optimize>
+    <OutputPath>bin\iPhoneSimulator\Debug</OutputPath>
+    <DefineConstants>DEBUG;</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+    <ConsolePause>false</ConsolePause>
+    <MtouchDebug>true</MtouchDebug>
+    <MtouchProfiling>true</MtouchProfiling>
+    <MtouchLink>None</MtouchLink>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|iPhoneSimulator' ">
+    <DebugType>none</DebugType>
+    <Optimize>false</Optimize>
+    <OutputPath>bin\iPhoneSimulator\Release</OutputPath>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+    <ConsolePause>false</ConsolePause>
+    <MtouchLink>None</MtouchLink>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|iPhone' ">
+    <DebugSymbols>true</DebugSymbols>
+    <DebugType>full</DebugType>
+    <Optimize>false</Optimize>
+    <OutputPath>bin\iPhone\Debug</OutputPath>
+    <DefineConstants>DEBUG;</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+    <ConsolePause>false</ConsolePause>
+    <CodesignKey>iPhone Developer</CodesignKey>
+    <MtouchDebug>true</MtouchDebug>
+    <MtouchProfiling>true</MtouchProfiling>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|iPhone' ">
+    <DebugType>none</DebugType>
+    <Optimize>false</Optimize>
+    <OutputPath>bin\iPhone\Release</OutputPath>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+    <ConsolePause>false</ConsolePause>
+    <CodesignKey>iPhone Developer</CodesignKey>
+  </PropertyGroup>
+  <ItemGroup>
+    <Reference Include="System" />
+    <Reference Include="System.Xml" />
+    <Reference Include="System.Core" />
+    <Reference Include="monotouch" />
+    <Reference Include="OpenTK" />
+  </ItemGroup>
+  <ItemGroup>
+    <None Include="Info.plist" />
+  </ItemGroup>
+  <ItemGroup>
+    <Compile Include="Main.cs" />
+    <Compile Include="..\..\Android\MonoGame.Samples.Input\Game1.cs">
+      <Link>Game1.cs</Link>
+    </Compile>
+  </ItemGroup>
+  <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
+</Project>

+ 13 - 0
Samples/iOS/Orientation/Info.plist

@@ -0,0 +1,13 @@
+<?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>UISupportedInterfaceOrientations</key>
+	<array>
+		<string>UIInterfaceOrientationPortrait</string>
+		<string>UIInterfaceOrientationPortraitUpsideDown</string>
+		<string>UIInterfaceOrientationLandscapeLeft</string>
+		<string>UIInterfaceOrientationLandscapeRight</string>
+	</array>
+</dict>
+</plist>

+ 27 - 0
Samples/iOS/Orientation/Main.cs

@@ -0,0 +1,27 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+
+using MonoTouch.Foundation;
+using MonoTouch.UIKit;
+
+namespace OrientationSample
+{
+	[Register ("AppDelegate")]
+	class Program : UIApplicationDelegate 
+	{
+		private OrientationSample game;
+
+		public override void FinishedLaunching (UIApplication app)
+		{
+			// Fun begins..
+			game = new OrientationSample();
+			game.Run();
+		}
+
+		static void Main (string [] args)
+		{
+			UIApplication.Main (args,null,"AppDelegate");
+		}
+	}
+}

+ 92 - 0
Samples/iOS/Orientation/MonoGame.Samples.Orientation.csproj

@@ -0,0 +1,92 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <PropertyGroup>
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+    <Platform Condition=" '$(Platform)' == '' ">iPhoneSimulator</Platform>
+    <ProductVersion>10.0.0</ProductVersion>
+    <SchemaVersion>2.0</SchemaVersion>
+    <ProjectGuid>{DCE047E9-894F-4C5C-B972-835B62CDEB48}</ProjectGuid>
+    <ProjectTypeGuids>{6BC8ED88-2882-458C-8E55-DFD12B67127B};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
+    <OutputType>Exe</OutputType>
+    <RootNamespace>MonoGame.Samples.Orientation</RootNamespace>
+    <AssemblyName>MonoGameSamplesOrientation</AssemblyName>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|iPhoneSimulator' ">
+    <DebugSymbols>true</DebugSymbols>
+    <DebugType>full</DebugType>
+    <Optimize>false</Optimize>
+    <OutputPath>bin\iPhoneSimulator\Debug</OutputPath>
+    <DefineConstants>DEBUG;</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+    <ConsolePause>false</ConsolePause>
+    <MtouchDebug>true</MtouchDebug>
+    <MtouchProfiling>true</MtouchProfiling>
+    <MtouchLink>None</MtouchLink>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|iPhoneSimulator' ">
+    <DebugType>none</DebugType>
+    <Optimize>false</Optimize>
+    <OutputPath>bin\iPhoneSimulator\Release</OutputPath>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+    <ConsolePause>false</ConsolePause>
+    <MtouchLink>None</MtouchLink>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|iPhone' ">
+    <DebugSymbols>true</DebugSymbols>
+    <DebugType>full</DebugType>
+    <Optimize>false</Optimize>
+    <OutputPath>bin\iPhone\Debug</OutputPath>
+    <DefineConstants>DEBUG;</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+    <ConsolePause>false</ConsolePause>
+    <CodesignKey>iPhone Developer</CodesignKey>
+    <MtouchDebug>true</MtouchDebug>
+    <MtouchProfiling>true</MtouchProfiling>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|iPhone' ">
+    <DebugType>none</DebugType>
+    <Optimize>false</Optimize>
+    <OutputPath>bin\iPhone\Release</OutputPath>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+    <ConsolePause>false</ConsolePause>
+    <CodesignKey>iPhone Developer</CodesignKey>
+  </PropertyGroup>
+  <ItemGroup>
+    <Reference Include="System" />
+    <Reference Include="System.Xml" />
+    <Reference Include="System.Core" />
+    <Reference Include="monotouch" />
+    <Reference Include="OpenTK" />
+  </ItemGroup>
+  <ItemGroup>
+    <None Include="Info.plist" />
+  </ItemGroup>
+  <ItemGroup>
+    <Compile Include="Main.cs" />
+    <Compile Include="..\..\Android\Orientation\LayoutSample.cs">
+      <Link>LayoutSample.cs</Link>
+    </Compile>
+    <Compile Include="..\..\Android\Orientation\OrientationSample.cs">
+      <Link>OrientationSample.cs</Link>
+    </Compile>
+  </ItemGroup>
+  <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
+  <ItemGroup>
+    <ProjectReference Include="..\..\..\..\MonoGame\MonoGame.Framework\MonoGame.Framework.iOS.csproj">
+      <Project>{DB8508BB-9849-4CC2-BC0F-8EB5DACB3C47}</Project>
+      <Name>MonoGame.Framework.iOS</Name>
+    </ProjectReference>
+  </ItemGroup>
+  <ItemGroup>
+    <Content Include="..\..\Android\Orientation\Assets\Content\directions.xnb">
+      <Link>Content\directions.xnb</Link>
+    </Content>
+    <Content Include="..\..\Android\Orientation\Assets\Content\Font.xnb">
+      <Link>Content\Font.xnb</Link>
+    </Content>
+  </ItemGroup>
+</Project>

+ 0 - 0
Samples/iOS/MonoGame.Samples.Primitives/AppDelegate.cs → Samples/iOS/Primitives/AppDelegate.cs


+ 0 - 0
Samples/iOS/MonoGame.Samples.Primitives/Info.plist → Samples/iOS/Primitives/Info.plist


+ 0 - 0
Samples/iOS/MonoGame.Samples.Primitives/Main.cs → Samples/iOS/Primitives/Main.cs


+ 0 - 0
Samples/iOS/MonoGame.Samples.Primitives/MonoGame.Samples.Primitives.csproj → Samples/iOS/Primitives/MonoGame.Samples.Primitives.csproj


+ 0 - 0
Samples/iOS/MonoGame.Samples.Primitives/Program.cs → Samples/iOS/Primitives/Program.cs


+ 13 - 0
Samples/iOS/VideoPlayer/MonoGame.Samples.VideoPlayer/Info.plist

@@ -0,0 +1,13 @@
+<?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>UISupportedInterfaceOrientations</key>
+	<array>
+		<string>UIInterfaceOrientationPortrait</string>
+		<string>UIInterfaceOrientationPortraitUpsideDown</string>
+		<string>UIInterfaceOrientationLandscapeLeft</string>
+		<string>UIInterfaceOrientationLandscapeRight</string>
+	</array>
+</dict>
+</plist>

+ 0 - 0
Samples/iOS/MonoGame.Samples.VideoPlayer/Main.cs → Samples/iOS/VideoPlayer/MonoGame.Samples.VideoPlayer/Main.cs


+ 0 - 0
Samples/iOS/MonoGame.Samples.VideoPlayer/MonoGame.Samples.VideoPlayer.csproj → Samples/iOS/VideoPlayer/MonoGame.Samples.VideoPlayer/MonoGame.Samples.VideoPlayer.csproj