(ded4a3e0a) v0.9.0.7
This commit is contained in:
+88
@@ -0,0 +1,88 @@
|
||||
<?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)' == '' ">AnyCPU</Platform>
|
||||
<ProductVersion>8.0.30703</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{08E68315-4124-4199-BBD9-E57282458A31}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<RootNamespace>MonoDevelop.MonoGame.Mac</RootNamespace>
|
||||
<AssemblyName>MonoDevelop.MonoGame.Mac</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>..\bin\Debug</OutputPath>
|
||||
<DefineConstants>DEBUG;</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<ConsolePause>false</ConsolePause>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>..\bin\Release</OutputPath>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<ConsolePause>false</ConsolePause>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="MonoDevelop.Ide">
|
||||
<HintPath>/Applications/Xamarin Studio.app/Contents/Resources/lib/monodevelop/bin/MonoDevelop.Ide.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="MonoDevelop.Core">
|
||||
<HintPath>/Applications/Xamarin Studio.app/Contents/Resources/lib/monodevelop/bin/MonoDevelop.Core.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="MonoDevelop.DesignerSupport">
|
||||
<HintPath>/Applications/Xamarin Studio.app/Contents/Resources/lib/monodevelop/AddIns/MonoDevelop.DesignerSupport/MonoDevelop.DesignerSupport.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\MonoDevelop.MonoGame.Core\MonoDevelop.MonoGame.Core.csproj">
|
||||
<Project>{3FE5AAE8-BE24-4FC3-AF86-2AA3C3CD8DB4}</Project>
|
||||
<Name>MonoDevelop.MonoGame.Core</Name>
|
||||
<Private>False</Private>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Folder Include="templates\" />
|
||||
<Folder Include="templates\Mac\" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="templates\MonoGameMacProject.xpt.xml">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="templates\Mac\MacInfo.plist">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="templates\Mac\Program.cs">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="templates\MonoGameOSXProject.xpt.xml">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="templates\Mac\MainMenu.xib">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="templates\MonoGameXamMacProject.xpt.xml">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="templates\Mac\XamMac2Program.cs">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="templates\Mac\XamMacProgram.cs">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
+22
@@ -0,0 +1,22 @@
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
// Information about this assembly is defined by the following attributes.
|
||||
// Change them to the values specific to your project.
|
||||
[assembly: AssemblyTitle ("MonoDevelop.MonoGame.Mac")]
|
||||
[assembly: AssemblyDescription ("")]
|
||||
[assembly: AssemblyConfiguration ("")]
|
||||
[assembly: AssemblyCompany ("")]
|
||||
[assembly: AssemblyProduct ("")]
|
||||
[assembly: AssemblyCopyright ("MonoGame Team")]
|
||||
[assembly: AssemblyTrademark ("")]
|
||||
[assembly: AssemblyCulture ("")]
|
||||
// The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}".
|
||||
// The form "{Major}.{Minor}.*" will automatically update the build and revision,
|
||||
// and "{Major}.{Minor}.{Build}.*" will update just the revision.
|
||||
[assembly: AssemblyVersion ("1.0.*")]
|
||||
// The following attributes are used to specify the signing key for the assembly,
|
||||
// if desired. See the Mono documentation for more information about signing.
|
||||
//[assembly: AssemblyDelaySign(false)]
|
||||
//[assembly: AssemblyKeyFile("")]
|
||||
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
<?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>CFBundleIdentifier</key>
|
||||
<string>project.MonoGame.${Namespace}</string>
|
||||
<key>CFBundleName</key>
|
||||
<string>${Namespace}</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>1</string>
|
||||
<key>LSMinimumSystemVersion</key>
|
||||
<string>10.6</string>
|
||||
<key>NSPrincipalClass</key>
|
||||
<string>NSApplication</string>
|
||||
<key>NSMainNibFile</key>
|
||||
<string>MainMenu</string>
|
||||
</dict>
|
||||
</plist>
|
||||
+28
@@ -0,0 +1,28 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="9532" systemVersion="15D21" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
|
||||
<dependencies>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="9532"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
<customObject id="-2" userLabel="File's Owner" customClass="NSApplication"/>
|
||||
<customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
|
||||
<customObject id="-3" userLabel="Application"/>
|
||||
<customObject id="371" customClass="NSFontManager"/>
|
||||
<menu title="Main Menu" systemMenu="main" id="29">
|
||||
<items>
|
||||
<menuItem title="NewApplication" id="56">
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<menu key="submenu" title="NewApplication" systemMenu="apple" id="57">
|
||||
<items>
|
||||
<menuItem title="Quit NewApplication" keyEquivalent="q" id="136">
|
||||
<connections>
|
||||
<action selector="terminate:" target="-1" id="369"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
</items>
|
||||
</menu>
|
||||
</menuItem>
|
||||
</items>
|
||||
</menu>
|
||||
</objects>
|
||||
</document>
|
||||
+45
@@ -0,0 +1,45 @@
|
||||
#region Using Statements
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
|
||||
using MonoMac.AppKit;
|
||||
using MonoMac.Foundation;
|
||||
#endregion
|
||||
|
||||
namespace ${Namespace}
|
||||
{
|
||||
static class Program
|
||||
{
|
||||
/// <summary>
|
||||
/// The main entry point for the application.
|
||||
/// </summary>
|
||||
static void Main(string[] args)
|
||||
{
|
||||
NSApplication.Init ();
|
||||
|
||||
using (var p = new NSAutoreleasePool ()) {
|
||||
NSApplication.SharedApplication.Delegate = new AppDelegate();
|
||||
NSApplication.Main(args);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class AppDelegate : NSApplicationDelegate
|
||||
{
|
||||
private static Game1 game;
|
||||
|
||||
public override void FinishedLaunching (NSObject notification)
|
||||
{
|
||||
game = new Game1();
|
||||
game.Run();
|
||||
}
|
||||
|
||||
public override bool ApplicationShouldTerminateAfterLastWindowClosed (NSApplication sender)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
#region Using Statements
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
|
||||
using AppKit;
|
||||
using Foundation;
|
||||
#endregion
|
||||
|
||||
namespace ${Namespace}
|
||||
{
|
||||
static class Program
|
||||
{
|
||||
/// <summary>
|
||||
/// The main entry point for the application.
|
||||
/// </summary>
|
||||
static void Main(string[] args)
|
||||
{
|
||||
NSApplication.Init ();
|
||||
|
||||
using (var game = new Game1 ()) {
|
||||
game.Run ();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
+27
@@ -0,0 +1,27 @@
|
||||
#region Using Statements
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
|
||||
using MonoMac.AppKit;
|
||||
using MonoMac.Foundation;
|
||||
#endregion
|
||||
|
||||
namespace ${Namespace}
|
||||
{
|
||||
static class Program
|
||||
{
|
||||
/// <summary>
|
||||
/// The main entry point for the application.
|
||||
/// </summary>
|
||||
static void Main(string[] args)
|
||||
{
|
||||
NSApplication.Init ();
|
||||
|
||||
using (var game = new Game1 ()) {
|
||||
game.Run ();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+49
@@ -0,0 +1,49 @@
|
||||
<?xml version="1.0"?>
|
||||
<Template>
|
||||
<TemplateConfiguration>
|
||||
<_Name>MonoGame Mac Application (MonoMac)</_Name>
|
||||
<Category>monogame/app/games</Category>
|
||||
<Icon>monogame-project</Icon>
|
||||
<LanguageName>C#</LanguageName>
|
||||
<_Description>Creates a MonoGame Application for Mac OS. This application uses MonoMac as a result you will need to have mono installed on your users machine.</_Description>
|
||||
</TemplateConfiguration>
|
||||
|
||||
<Actions>
|
||||
<Open filename = "Game1.cs"/>
|
||||
</Actions>
|
||||
|
||||
<Combine name = "${ProjectName}" directory = ".">
|
||||
<Options>
|
||||
<StartupProject>${ProjectName}</StartupProject>
|
||||
</Options>
|
||||
|
||||
<Project name = "${ProjectName}" directory = "." type = "MonoMac">
|
||||
<Options
|
||||
DefineConstants="MONOMAC"
|
||||
/>
|
||||
<References>
|
||||
<Reference type="Gac" refto="System" />
|
||||
<Reference type="Gac" refto="System.Xml" />
|
||||
<Reference type="Gac" refto="System.Core" />
|
||||
<Reference type="Gac" refto="System.Xml.Linq" />
|
||||
<Reference type="Gac" refto="System.Drawing" />
|
||||
<Reference type="Gac" refto="MonoMac" SpecificVersion="false" />
|
||||
<Reference type="Package" refto="MonoGame.Framework" />
|
||||
<Reference type="Package" refto="OpenTK" />
|
||||
<Reference type="Package" refto="Tao.Sdl" />
|
||||
</References>
|
||||
<Files>
|
||||
<File name="Game1.cs" AddStandardHeader="True" src="Common/Game1.cs" />
|
||||
<File name="Main.cs" AddStandardHeader="True" src="Mac/Program.cs" />
|
||||
<File name="Info.plist" AddStandardHeader="False" src="Mac/MacInfo.plist" />
|
||||
<File name="MainMenu.xib" AddStandardHeader="False" src="Mac/MainMenu.xib" />
|
||||
<Directory name="Content">
|
||||
<File name="Content.mgcb" src="Common/Content.mgcb" BuildAction="MonoGameContentReference"/>
|
||||
</Directory>
|
||||
<Directory name="Properties">
|
||||
<File name="AssemblyInfo.cs" AddStandardHeader="True" src="Common/AssemblyInfo.cs" />
|
||||
</Directory>
|
||||
</Files>
|
||||
</Project>
|
||||
</Combine>
|
||||
</Template>
|
||||
+50
@@ -0,0 +1,50 @@
|
||||
<?xml version="1.0"?>
|
||||
<Template>
|
||||
<TemplateConfiguration>
|
||||
<_Name>MonoGame Mac Application (Xamarin.Mac)</_Name>
|
||||
<Category>monogame/app/games</Category>
|
||||
<Icon>monogame-project</Icon>
|
||||
<LanguageName>C#</LanguageName>
|
||||
<_Description>Creates a MonoGame Application for Mac OS. This application uses Xamarin.Mac and is suitable for the Apple Store.</_Description>
|
||||
</TemplateConfiguration>
|
||||
|
||||
<Actions>
|
||||
<Open filename = "Game1.cs"/>
|
||||
</Actions>
|
||||
|
||||
<Combine name = "${ProjectName}" directory = ".">
|
||||
<Options>
|
||||
<StartupProject>${ProjectName}</StartupProject>
|
||||
</Options>
|
||||
|
||||
<Project name = "${ProjectName}" directory = "." type = "XamMac2">
|
||||
<Options TargetFrameworkVersion="v4.5" />
|
||||
<References>
|
||||
<Reference type="Gac" refto="System" />
|
||||
<Reference type="Gac" refto="System.Xml" />
|
||||
<Reference type="Gac" refto="System.Core" />
|
||||
<Reference type="Gac" refto="System.Xml.Linq" />
|
||||
<Reference type="Gac" refto="System.Drawing" />
|
||||
<Reference type="Gac" refto="Xamarin.Mac"/>
|
||||
<Reference type="Package" refto="MonoGame.Framework" />
|
||||
</References>
|
||||
<Files>
|
||||
<File name="Game1.cs" AddStandardHeader="True" src="Common/Game1.cs" />
|
||||
<File name="Main.cs" AddStandardHeader="True" src="Mac/XamMac2Program.cs" />
|
||||
<File name="Info.plist" AddStandardHeader="False" src="Mac/MacInfo.plist" />
|
||||
<RawFile name="Icon.ico" src="Common/Icon.ico" BuildAction="EmbeddedResource"/>
|
||||
<Directory name="Content">
|
||||
<File name="Content.mgcb" src="Common/Content.mgcb" BuildAction="MonoGameContentReference"/>
|
||||
</Directory>
|
||||
<Directory name="Properties">
|
||||
<File name="AssemblyInfo.cs" AddStandardHeader="True" src="Common/AssemblyInfo.cs" />
|
||||
</Directory>
|
||||
<ContentFile>
|
||||
<File name="MonoGame.Framework.dll.config" src="Common/MonoGame.Framework.dll.config" CopyToOutputDirectory="PreserveNewest" />
|
||||
</ContentFile>
|
||||
<RawFile name="libopenal.1.dylib" src="libs/libopenal.1.dylib" BuildAction="NativeReference" />
|
||||
<RawFile name="libSDL2-2.0.0.dylib" src="libs/libSDL2-2.0.0.dylib" BuildAction="NativeReference" />
|
||||
</Files>
|
||||
</Project>
|
||||
</Combine>
|
||||
</Template>
|
||||
+56
@@ -0,0 +1,56 @@
|
||||
<?xml version="1.0"?>
|
||||
<Template>
|
||||
<TemplateConfiguration>
|
||||
<_Name>MonoGame Mac Application (Xamarin.Mac Classic)</_Name>
|
||||
<Category>monogame/app/games</Category>
|
||||
<Icon>monogame-project</Icon>
|
||||
<LanguageName>C#</LanguageName>
|
||||
<_Description>Creates a MonoGame Application for Mac OS. This application uses Xamarin.Mac Classic API</_Description>
|
||||
</TemplateConfiguration>
|
||||
|
||||
<Actions>
|
||||
<Open filename = "Game1.cs"/>
|
||||
</Actions>
|
||||
|
||||
<Combine name = "${ProjectName}" directory = ".">
|
||||
<Options>
|
||||
<StartupProject>${ProjectName}</StartupProject>
|
||||
</Options>
|
||||
|
||||
<Project name = "${ProjectName}" directory = "." type = "XamMac">
|
||||
<Options />
|
||||
<References>
|
||||
<Reference type="Gac" refto="System" />
|
||||
<Reference type="Gac" refto="System.Xml" />
|
||||
<Reference type="Gac" refto="System.Core" />
|
||||
<Reference type="Gac" refto="System.Xml.Linq" />
|
||||
<Reference type="Gac" refto="System.Drawing" />
|
||||
<Reference type="Gac" refto="XamMac" SpecificVersion="false"/>
|
||||
<Reference type="Package" refto="MonoGame.Framework" />
|
||||
</References>
|
||||
<Files>
|
||||
<File name="Game1.cs" AddStandardHeader="True" src="Common/Game1.cs" />
|
||||
<File name="Main.cs" AddStandardHeader="True" src="Mac/XamMacProgram.cs" />
|
||||
<File name="MainMenu.xib" AddStandardHeader="False" src="Mac/MainMenu.xib" />
|
||||
<RawFile name="Icon.ico" src="Common/Icon.ico" BuildAction="EmbeddedResource"/>
|
||||
<File name="Info.plist" AddStandardHeader="False" src="Mac/MacInfo.plist" />
|
||||
<Directory name="Content">
|
||||
<File name="Content.mgcb" src="Common/Content.mgcb" BuildAction="MonoGameContentReference"/>
|
||||
</Directory>
|
||||
<Directory name="Properties">
|
||||
<File name="AssemblyInfo.cs" AddStandardHeader="True" src="Common/AssemblyInfo.cs" />
|
||||
</Directory>
|
||||
<ContentFile>
|
||||
<File name="MonoGame.Framework.dll.config" src="Common/MonoGame.Framework.dll.config" CopyToOutputDirectory="PreserveNewest" />
|
||||
</ContentFile>
|
||||
<ContentFile>
|
||||
<RawFile name="libopenal.1.dylib" src="libs/libopenal.1.dylib" CopyToOutputDirectory="PreserveNewest" />
|
||||
</ContentFile>
|
||||
<ContentFile>
|
||||
<RawFile name="libSDL2-2.0.0.dylib" src="libs/libSDL2-2.0.0.dylib" CopyToOutputDirectory="PreserveNewest" />
|
||||
</ContentFile>
|
||||
</Files>
|
||||
</Project>
|
||||
</Combine>
|
||||
</Template>
|
||||
|
||||
Reference in New Issue
Block a user