From: Ben Beltran Date: Tue, 26 Jun 2018 22:05:22 +0000 (-0500) Subject: Update project to work on VS Code mac X-Git-Url: https://git.r.bdr.sh/rbdr/super-polarity/commitdiff_plain/8ae8ea0d77ec654dd693b3912562b07a2b539b0f?hp=9ad526c0233134a928cb5889dccb94458fc6dfd0 Update project to work on VS Code mac --- diff --git a/SuperPolarity.userprefs b/SuperPolarity.userprefs deleted file mode 100644 index 4fdd746..0000000 --- a/SuperPolarity.userprefs +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/SuperPolarityContent/SuperPolarityContentContent/Sound/polaritytheme.wav b/SuperPolarityContent/SuperPolarityContentContent/Sound/polaritytheme.wav deleted file mode 100644 index 28a6bce..0000000 Binary files a/SuperPolarityContent/SuperPolarityContentContent/Sound/polaritytheme.wav and /dev/null differ diff --git a/SuperPolarityMac/Info.plist b/SuperPolarityMac/Info.plist index 07a58c3..54844a3 100644 --- a/SuperPolarityMac/Info.plist +++ b/SuperPolarityMac/Info.plist @@ -2,16 +2,17 @@ - CFBundleIdentifier - com.yourcompany.MonoGame.Samples.Draw2D.MacOS CFBundleName - MonoGame.Samples.Draw2D.MacOS + PetitCochon.SuperPolarity.MacOS CFBundleVersion 1 LSMinimumSystemVersion - 10.6 + 10.13 NSPrincipalClass NSApplication + CFBundleIdentifier + co.petitcochon.super-polarity + CFBundleShortVersionString + 0.0.1 - diff --git a/SuperPolarityMac/Program.cs b/SuperPolarityMac/Program.cs index e6ab5cf..5c7bbbc 100644 --- a/SuperPolarityMac/Program.cs +++ b/SuperPolarityMac/Program.cs @@ -1,11 +1,9 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using MonoMac.AppKit; -using MonoMac.Foundation; +using AppKit; +using Foundation; namespace SuperPolarity { + [Register ("AppDelegate")] static class Program { /// @@ -28,15 +26,18 @@ namespace SuperPolarity { SuperPolarity superPolarity; - public override void FinishedLaunching (MonoMac.Foundation.NSObject notification) + public AppDelegate () + { + } + + public override void DidFinishLaunching (NSNotification notification) { superPolarity = new SuperPolarity(); superPolarity.Run (); } - public override bool ApplicationShouldTerminateAfterLastWindowClosed (NSApplication sender) + public override void WillTerminate (NSNotification notification) { - return true; } } } diff --git a/SuperPolarityMac/SuperPolarityMac.csproj b/SuperPolarityMac/SuperPolarityMac.csproj index 740745a..689b1a7 100644 --- a/SuperPolarityMac/SuperPolarityMac.csproj +++ b/SuperPolarityMac/SuperPolarityMac.csproj @@ -6,12 +6,13 @@ 10.0.0 2.0 {EE77A85A-089B-4055-90D0-6E08DF409410} - {948B3504-5B70-4649-8FE4-BDE1FB46EC69};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + {A3F8F2AB-B479-4A4A-A458-A89E7DC349F1};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} Exe SuperPolarityMac Resources SuperPolarityMac - True + v2.0 + Xamarin.Mac true @@ -27,6 +28,8 @@ Mac Developer false false + None + 3rd Party Mac Developer Installer full @@ -34,13 +37,14 @@ bin\Release 4 false - Full + None false true false Developer ID Application true true + None full @@ -48,7 +52,7 @@ bin\AppStore 4 false - Full + None false true 3rd Party Mac Developer Installer @@ -56,28 +60,24 @@ 3rd Party Mac Developer Application true true + None - - - ..\SuperPolarity\Vendor\osx\Lidgren.Network.dll - - ..\SuperPolarity\Vendor\osx\MonoGame.Framework.dll + ..\..\..\..\..\..\Library\Frameworks\MonoGame.framework\v3.7.0.1508\Assemblies\MacOSX\MonoGame.Framework.dll - - ..\SuperPolarity\Vendor\osx\MonoMac.dll + + ..\..\..\..\..\..\Library\Frameworks\MonoGame.framework\v3.7.0.1508\Assemblies\MacOSX\MonoGame.Framework.Net.dll - - ..\SuperPolarity\Vendor\osx\Tao.Sdl.dll + + + ..\..\..\..\..\..\Library\Frameworks\MonoGame.framework\v3.7.0.1508\Assemblies\MacOSX\Lidgren.Network.dll - - ActorFactory.cs @@ -190,21 +190,7 @@ scores.txt - - Vendor\Lidgren.Network.dll - - - Vendor\MonoGame.Framework.dll - - - Vendor\MonoMac.dll - - - Vendor\Tao.Sdl.dll - - - Vendor\Tao.Sdl.dll.config - + @@ -290,7 +276,6 @@ Content\Fonts\smallfont.xnb - Content\Sound\bomb.xnb PreserveNewest @@ -320,4 +305,15 @@ PreserveNewest - \ No newline at end of file + + + Dynamic + False + + + Dynamic + False + + + + diff --git a/SuperPolarityMac/SuperPolarityMac.userprefs b/SuperPolarityMac/SuperPolarityMac.userprefs index e2d5d0c..73cd641 100644 --- a/SuperPolarityMac/SuperPolarityMac.userprefs +++ b/SuperPolarityMac/SuperPolarityMac.userprefs @@ -1,4 +1,4 @@ - + @@ -7,9 +7,14 @@ - + - + + + + + +