aboutsummaryrefslogtreecommitdiff
path: root/SuperPolarity
diff options
context:
space:
mode:
authorBen Beltran <ben@nsovocal.com>2014-02-10 22:34:27 -0800
committerBen Beltran <ben@nsovocal.com>2014-02-10 22:34:27 -0800
commit6fceaa7b34f4d6efc497cda51679b37e530a61aa (patch)
treee8fa1c1865c072ac592d7118bd88d763035e249b /SuperPolarity
parent63419029fbda7d3f2f3d5984c3d2c77f341dbd79 (diff)
Adds linux project.
Diffstat (limited to 'SuperPolarity')
-rw-r--r--SuperPolarity/SuperPolarity.cs10
-rw-r--r--SuperPolarity/SuperPolarity.csproj12
2 files changed, 9 insertions, 13 deletions
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 @@
<PropertyGroup>
<ApplicationIcon>Icon.ico</ApplicationIcon>
</PropertyGroup>
- <PropertyGroup>
- <StartupObject>
- </StartupObject>
- </PropertyGroup>
<ItemGroup>
<Compile Include="ActorFactory.cs" />
<Compile Include="ActorManager.cs" />
@@ -98,10 +94,6 @@
<Reference Include="Tao.Sdl, Version=1.2.13.0, Culture=neutral, PublicKeyToken=9c7a200e36c0094e, processorArchitecture=MSIL" />
</ItemGroup>
<ItemGroup>
- <Content Include="..\..\..\..\..\..\..\Program Files (x86)\MonoGame\v3.0\Assemblies\WindowsGL\SDL.dll">
- <Link>SDL.dll</Link>
- <CopyToOutputDirectory>Always</CopyToOutputDirectory>
- </Content>
<Content Include="Content\Sound\polaritytheme.wav">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
@@ -109,6 +101,10 @@
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="Icon.ico" />
+ <Content Include="..\..\..\..\..\..\..\..\..\..\Program Files %28x86%29\MonoGame\v3.0\Assemblies\WindowsGL\SDL.dll">
+ <Link>SDL.dll</Link>
+ <CopyToOutputDirectory>Always</CopyToOutputDirectory>
+ </Content>
</ItemGroup>
<ItemGroup>
<BootstrapperPackage Include=".NETFramework,Version=v4.0">