From 6fceaa7b34f4d6efc497cda51679b37e530a61aa Mon Sep 17 00:00:00 2001 From: Ben Beltran Date: Mon, 10 Feb 2014 22:34:27 -0800 Subject: Adds linux project. --- SuperPolarity/SuperPolarity.cs | 10 +++++----- SuperPolarity/SuperPolarity.csproj | 12 ++++-------- 2 files changed, 9 insertions(+), 13 deletions(-) (limited to 'SuperPolarity') diff --git a/SuperPolarity/SuperPolarity.cs b/SuperPolarity/SuperPolarity.cs index f5ff48e..6b2b9d5 100644 --- a/SuperPolarity/SuperPolarity.cs +++ b/SuperPolarity/SuperPolarity.cs @@ -39,11 +39,6 @@ namespace SuperPolarity graphics = new GraphicsDeviceManager(this); Components.Add(new GamerServicesComponent(this)); - graphics.PreferMultiSampling = true; - graphics.PreferredBackBufferWidth = 1280; - graphics.PreferredBackBufferHeight = 720; - //graphics.ToggleFullScreen(); - Content.RootDirectory = "Content"; ActorFactory.SetGame(this); ParticleEffectFactory.SetGame(this); @@ -63,6 +58,11 @@ namespace SuperPolarity { base.Initialize(); + graphics.PreferMultiSampling = true; + graphics.PreferredBackBufferHeight = 720; + graphics.PreferredBackBufferWidth = 1280; + //graphics.ToggleFullScreen(); + InputController.RegisterEventForKey("fullScreenToggle", Keys.F11); InputController.Bind("fullScreenToggle", HandleFullScreenToggle); diff --git a/SuperPolarity/SuperPolarity.csproj b/SuperPolarity/SuperPolarity.csproj index aa96e8a..b998b92 100644 --- a/SuperPolarity/SuperPolarity.csproj +++ b/SuperPolarity/SuperPolarity.csproj @@ -49,10 +49,6 @@ Icon.ico - - - - @@ -98,10 +94,6 @@ - - SDL.dll - Always - Always @@ -109,6 +101,10 @@ Always + + SDL.dll + Always + -- cgit