(ded4a3e0a) v0.9.0.7
This commit is contained in:
+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