Browse Source

rename Game1

Nick Kastellanos 2 years ago
parent
commit
75765579a1
36 changed files with 42 additions and 42 deletions
  1. 1 1
      Samples/Animation/Program.cs
  2. 2 2
      Samples/Animation/SampleGame.cs
  3. 1 1
      Samples/Animation/Samples.Animation.DESKTOPGL.NET6.csproj
  4. 1 1
      Samples/Animation/Samples.Animation.WINDOWS.NET6.csproj
  5. 1 1
      Samples/Animation/Samples.Animation.WINDOWS.csproj
  6. 1 1
      Samples/Animation/Samples.Animation.XNA.csproj
  7. 1 1
      Samples/Atlas/Program.cs
  8. 2 2
      Samples/Atlas/SampleGame.cs
  9. 1 1
      Samples/Atlas/Samples.Atlas.DESKTOPGL.NET6.csproj
  10. 1 1
      Samples/Atlas/Samples.Atlas.WINDOWS.NET6.csproj
  11. 1 1
      Samples/Atlas/Samples.Atlas.WINDOWS.csproj
  12. 1 1
      Samples/Atlas/Samples.Atlas.XNA.csproj
  13. 1 1
      Samples/Deferred/Program.cs
  14. 2 2
      Samples/Deferred/SampleGame.cs
  15. 1 1
      Samples/Deferred/Samples.Deferred.DESKTOPGL.NET6.csproj
  16. 1 1
      Samples/Deferred/Samples.Deferred.WINDOWS.NET6.csproj
  17. 1 1
      Samples/Deferred/Samples.Deferred.WINDOWS.csproj
  18. 1 1
      Samples/Deferred/Samples.Deferred.XNA.csproj
  19. 1 1
      Samples/FXAA/Program.cs
  20. 2 2
      Samples/FXAA/SampleGame.cs
  21. 1 1
      Samples/FXAA/Samples.FXAA.DESKTOPGL.NET6.csproj
  22. 1 1
      Samples/FXAA/Samples.FXAA.WINDOWS.NET6.csproj
  23. 1 1
      Samples/FXAA/Samples.FXAA.WINDOWS.csproj
  24. 1 1
      Samples/FXAA/Samples.FXAA.XNA.csproj
  25. 1 1
      Samples/SLMC/Program.cs
  26. 2 2
      Samples/SLMC/SampleGame.cs
  27. 1 1
      Samples/SLMC/Samples.SLMC.DESKTOPGL.NET6.csproj
  28. 1 1
      Samples/SLMC/Samples.SLMC.WINDOWS.NET6.csproj
  29. 1 1
      Samples/SLMC/Samples.SLMC.WINDOWS.csproj
  30. 1 1
      Samples/SLMC/Samples.SLMC.XNA.csproj
  31. 1 1
      Samples/Tilemap/Program.cs
  32. 2 2
      Samples/Tilemap/SampleGame.cs
  33. 1 1
      Samples/Tilemap/Samples.Tilemap.DESKTOPGL.NET6.csproj
  34. 1 1
      Samples/Tilemap/Samples.Tilemap.WINDOWS.NET6.csproj
  35. 1 1
      Samples/Tilemap/Samples.Tilemap.WINDOWS.csproj
  36. 1 1
      Samples/Tilemap/Samples.Tilemap.XNA.csproj

+ 1 - 1
Samples/Animation/Program.cs

@@ -7,7 +7,7 @@ namespace Samples.Animation
         [STAThread]
         static void Main(string[] args)
         {
-            using (Game1 game = new Game1())
+            using (SampleGame game = new SampleGame())
             {
                 game.Run();
             }

+ 2 - 2
Samples/Animation/Game1.cs → Samples/Animation/SampleGame.cs

@@ -15,7 +15,7 @@ namespace Samples.Animation
         CPU,
     }
 
-    public class Game1 : Microsoft.Xna.Framework.Game
+    public class SampleGame : Game
     {
         GraphicsDeviceManager graphics;
         SpriteBatch spriteBatch;
@@ -29,7 +29,7 @@ namespace Samples.Animation
 
         KeyboardState prevKeyboardState;
 
-        public Game1()
+        public SampleGame()
         {
             graphics = new GraphicsDeviceManager(this);
             Content.RootDirectory = "Content";

+ 1 - 1
Samples/Animation/Samples.Animation.DESKTOPGL.NET6.csproj

@@ -24,7 +24,7 @@
     <DefineConstants>TRACE;WINDOWS MG</DefineConstants>
   </PropertyGroup>
   <ItemGroup>
-    <Compile Include="Game1.cs" />
+    <Compile Include="SampleGame.cs" />
     <Compile Include="Program.cs" />
   </ItemGroup>
   <ItemGroup>

+ 1 - 1
Samples/Animation/Samples.Animation.WINDOWS.NET6.csproj

@@ -25,7 +25,7 @@
     <DefineConstants>TRACE;WINDOWS MG</DefineConstants>
   </PropertyGroup>
   <ItemGroup>
-    <Compile Include="Game1.cs" />
+    <Compile Include="SampleGame.cs" />
     <Compile Include="Program.cs" />
   </ItemGroup>
   <ItemGroup>

+ 1 - 1
Samples/Animation/Samples.Animation.WINDOWS.csproj

@@ -43,7 +43,7 @@
     <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
   </PropertyGroup>
   <ItemGroup>
-    <Compile Include="Game1.cs" />
+    <Compile Include="SampleGame.cs" />
     <Compile Include="Program.cs" />
   </ItemGroup>
   <ItemGroup>

+ 1 - 1
Samples/Animation/Samples.Animation.XNA.csproj

@@ -68,7 +68,7 @@
   </ItemGroup>
   <ItemGroup>
     <Compile Include="Program.cs" />
-    <Compile Include="Game1.cs" />
+    <Compile Include="SampleGame.cs" />
   </ItemGroup>
   <ItemGroup>
     <Compile Include="Properties\AssemblyInfo.cs" />

+ 1 - 1
Samples/Atlas/Program.cs

@@ -7,7 +7,7 @@ namespace Samples.Atlas
         [STAThread]
         static void Main(string[] args)
         {
-            using (Game1 game = new Game1())
+            using (SampleGame game = new SampleGame())
             {
                 game.Run();
             }

+ 2 - 2
Samples/Atlas/Game1.cs → Samples/Atlas/SampleGame.cs

@@ -6,7 +6,7 @@ using nkast.Aether.Graphics;
 
 namespace Samples.Atlas
 {
-    public class Game1 : Microsoft.Xna.Framework.Game
+    public class SampleGame : Game
     {
         GraphicsDeviceManager graphics;
         SpriteBatch spriteBatch;
@@ -26,7 +26,7 @@ namespace Samples.Atlas
         TextureAtlas atlasMipmap;
         TextureAtlas atlasNoMipmap;
         
-        public Game1()
+        public SampleGame()
         {
             graphics = new GraphicsDeviceManager(this);
             Content.RootDirectory = "Content";

+ 1 - 1
Samples/Atlas/Samples.Atlas.DESKTOPGL.NET6.csproj

@@ -24,7 +24,7 @@
     <DefineConstants>TRACE;WINDOWS MG</DefineConstants>
   </PropertyGroup>
   <ItemGroup>
-    <Compile Include="Game1.cs" />
+    <Compile Include="SampleGame.cs" />
     <Compile Include="Program.cs" />
   </ItemGroup>
   <ItemGroup>

+ 1 - 1
Samples/Atlas/Samples.Atlas.WINDOWS.NET6.csproj

@@ -25,7 +25,7 @@
     <DefineConstants>TRACE;WINDOWS MG</DefineConstants>
   </PropertyGroup>
   <ItemGroup>
-    <Compile Include="Game1.cs" />
+    <Compile Include="SampleGame.cs" />
     <Compile Include="Program.cs" />
   </ItemGroup>
   <ItemGroup>

+ 1 - 1
Samples/Atlas/Samples.Atlas.WINDOWS.csproj

@@ -43,7 +43,7 @@
     <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
   </PropertyGroup>
   <ItemGroup>
-    <Compile Include="Game1.cs" />
+    <Compile Include="SampleGame.cs" />
     <Compile Include="Program.cs" />
   </ItemGroup>
   <ItemGroup>

+ 1 - 1
Samples/Atlas/Samples.Atlas.XNA.csproj

@@ -68,7 +68,7 @@
   </ItemGroup>
   <ItemGroup>
     <Compile Include="Program.cs" />
-    <Compile Include="Game1.cs" />
+    <Compile Include="SampleGame.cs" />
   </ItemGroup>
   <ItemGroup>
     <Compile Include="Properties\AssemblyInfo.cs" />

+ 1 - 1
Samples/Deferred/Program.cs

@@ -7,7 +7,7 @@ namespace Samples.Deferred
         [STAThread]
         static void Main(string[] args)
         {
-            using (Game1 game = new Game1())
+            using (SampleGame game = new SampleGame())
             {
                 game.Run();
             }

+ 2 - 2
Samples/Deferred/Game1.cs → Samples/Deferred/SampleGame.cs

@@ -16,7 +16,7 @@ using Microsoft.Xna.Framework.Input;
 
 namespace Samples.Deferred
 {
-    public class Game1 : Microsoft.Xna.Framework.Game
+    public class SampleGame : Game
     {
         GraphicsDeviceManager graphics;
         SpriteBatch spriteBatch;
@@ -49,7 +49,7 @@ namespace Samples.Deferred
         float lightBcurrentIntensity = LightBIntensity;
         float lightCcurrentIntensity = LightCIntensity;
 
-        public Game1()
+        public SampleGame()
         {
             graphics = new GraphicsDeviceManager(this);
             Content.RootDirectory = "Content";

+ 1 - 1
Samples/Deferred/Samples.Deferred.DESKTOPGL.NET6.csproj

@@ -25,7 +25,7 @@
   </PropertyGroup>
   <ItemGroup>
     <Compile Include="DeferredRendering.cs" />
-    <Compile Include="Game1.cs" />
+    <Compile Include="SampleGame.cs" />
     <Compile Include="Program.cs" />
     <Compile Include="QuadRenderer.cs" />
     <Compile Include="Spaceship.cs" />

+ 1 - 1
Samples/Deferred/Samples.Deferred.WINDOWS.NET6.csproj

@@ -26,7 +26,7 @@
   </PropertyGroup>
   <ItemGroup>
     <Compile Include="DeferredRendering.cs" />
-    <Compile Include="Game1.cs" />
+    <Compile Include="SampleGame.cs" />
     <Compile Include="Program.cs" />
     <Compile Include="QuadRenderer.cs" />
     <Compile Include="Spaceship.cs" />

+ 1 - 1
Samples/Deferred/Samples.Deferred.WINDOWS.csproj

@@ -44,7 +44,7 @@
   </PropertyGroup>
   <ItemGroup>
     <Compile Include="DeferredRendering.cs" />
-    <Compile Include="Game1.cs" />
+    <Compile Include="SampleGame.cs" />
     <Compile Include="Program.cs" />
     <Compile Include="QuadRenderer.cs" />
     <Compile Include="Spaceship.cs" />

+ 1 - 1
Samples/Deferred/Samples.Deferred.XNA.csproj

@@ -69,7 +69,7 @@
   <ItemGroup>
     <Compile Include="DeferredRendering.cs" />
     <Compile Include="Program.cs" />
-    <Compile Include="Game1.cs" />
+    <Compile Include="SampleGame.cs" />
     <Compile Include="QuadRenderer.cs" />
     <Compile Include="Spaceship.cs" />
   </ItemGroup>

+ 1 - 1
Samples/FXAA/Program.cs

@@ -7,7 +7,7 @@ namespace Samples.FXAA
         [STAThread]
         static void Main(string[] args)
         {
-            using (Game1 game = new Game1())
+            using (SampleGame game = new SampleGame())
             {
                 game.Run();
             }

+ 2 - 2
Samples/FXAA/Game1.cs → Samples/FXAA/SampleGame.cs

@@ -16,7 +16,7 @@ using Microsoft.Xna.Framework.Input;
 
 namespace Samples.FXAA
 {
-    public class Game1 : Microsoft.Xna.Framework.Game
+    public class SampleGame : Game
     {
         GraphicsDeviceManager graphics;
         SpriteBatch spriteBatch;
@@ -39,7 +39,7 @@ namespace Samples.FXAA
         
         AntiAliasing _antiAliasing;
 
-        public Game1()
+        public SampleGame()
         {
             graphics = new GraphicsDeviceManager(this);
             Content.RootDirectory = "Content";

+ 1 - 1
Samples/FXAA/Samples.FXAA.DESKTOPGL.NET6.csproj

@@ -25,7 +25,7 @@
   </PropertyGroup>
   <ItemGroup>
     <Compile Include="AntiAliasing.cs" />
-    <Compile Include="Game1.cs" />
+    <Compile Include="SampleGame.cs" />
     <Compile Include="Program.cs" />
     <Compile Include="Spaceship.cs" />
   </ItemGroup>

+ 1 - 1
Samples/FXAA/Samples.FXAA.WINDOWS.NET6.csproj

@@ -26,7 +26,7 @@
   </PropertyGroup>
   <ItemGroup>
     <Compile Include="AntiAliasing.cs" />
-    <Compile Include="Game1.cs" />
+    <Compile Include="SampleGame.cs" />
     <Compile Include="Program.cs" />
     <Compile Include="Spaceship.cs" />
   </ItemGroup>

+ 1 - 1
Samples/FXAA/Samples.FXAA.WINDOWS.csproj

@@ -44,7 +44,7 @@
   </PropertyGroup>
   <ItemGroup>
     <Compile Include="AntiAliasing.cs" />
-    <Compile Include="Game1.cs" />
+    <Compile Include="SampleGame.cs" />
     <Compile Include="Program.cs" />
     <Compile Include="Spaceship.cs" />
   </ItemGroup>

+ 1 - 1
Samples/FXAA/Samples.FXAA.XNA.csproj

@@ -69,7 +69,7 @@
   <ItemGroup>
     <Compile Include="AntiAliasing.cs" />
     <Compile Include="Program.cs" />
-    <Compile Include="Game1.cs" />
+    <Compile Include="SampleGame.cs" />
     <Compile Include="Spaceship.cs" />
   </ItemGroup>
   <ItemGroup>

+ 1 - 1
Samples/SLMC/Program.cs

@@ -7,7 +7,7 @@ namespace Samples.SLMC
         [STAThread]
         static void Main(string[] args)
         {
-            using (Game1 game = new Game1())
+            using (SampleGame game = new SampleGame())
             {
                 game.Run();
             }

+ 2 - 2
Samples/SLMC/Game1.cs → Samples/SLMC/SampleGame.cs

@@ -5,7 +5,7 @@ using Microsoft.Xna.Framework.Input;
 
 namespace Samples.SLMC
 {
-    public class Game1 : Microsoft.Xna.Framework.Game
+    public class SampleGame : Game
     {
         GraphicsDeviceManager graphics;
         SpriteBatch spriteBatch;
@@ -19,7 +19,7 @@ namespace Samples.SLMC
 
         Texture2D tx;
         
-        public Game1()
+        public SampleGame()
         {
             graphics = new GraphicsDeviceManager(this);
             Content.RootDirectory = "Content";

+ 1 - 1
Samples/SLMC/Samples.SLMC.DESKTOPGL.NET6.csproj

@@ -24,7 +24,7 @@
     <DefineConstants>TRACE;WINDOWS MG</DefineConstants>
   </PropertyGroup>
   <ItemGroup>
-    <Compile Include="Game1.cs" />
+    <Compile Include="SampleGame.cs" />
     <Compile Include="Program.cs" />
   </ItemGroup>
   <ItemGroup>

+ 1 - 1
Samples/SLMC/Samples.SLMC.WINDOWS.NET6.csproj

@@ -25,7 +25,7 @@
     <DefineConstants>TRACE;WINDOWS MG</DefineConstants>
   </PropertyGroup>
   <ItemGroup>
-    <Compile Include="Game1.cs" />
+    <Compile Include="SampleGame.cs" />
     <Compile Include="Program.cs" />
   </ItemGroup>
   <ItemGroup>

+ 1 - 1
Samples/SLMC/Samples.SLMC.WINDOWS.csproj

@@ -43,7 +43,7 @@
     <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
   </PropertyGroup>
   <ItemGroup>
-    <Compile Include="Game1.cs" />
+    <Compile Include="SampleGame.cs" />
     <Compile Include="Program.cs" />
   </ItemGroup>
   <ItemGroup>

+ 1 - 1
Samples/SLMC/Samples.SLMC.XNA.csproj

@@ -68,7 +68,7 @@
   </ItemGroup>
   <ItemGroup>
     <Compile Include="Program.cs" />
-    <Compile Include="Game1.cs" />
+    <Compile Include="SampleGame.cs" />
   </ItemGroup>
   <ItemGroup>
     <Compile Include="Properties\AssemblyInfo.cs" />

+ 1 - 1
Samples/Tilemap/Program.cs

@@ -7,7 +7,7 @@ namespace Samples.Atlas
         [STAThread]
         static void Main(string[] args)
         {
-            using (Game1 game = new Game1())
+            using (SampleGame game = new SampleGame())
             {
                 game.Run();
             }

+ 2 - 2
Samples/Tilemap/Game1.cs → Samples/Tilemap/SampleGame.cs

@@ -8,7 +8,7 @@ using nkast.Aether.Shaders;
 
 namespace Samples.Atlas
 {
-    public class Game1 : Microsoft.Xna.Framework.Game
+    public class SampleGame : Game
     {
         GraphicsDeviceManager graphics;
         SpriteBatch spriteBatch;
@@ -28,7 +28,7 @@ namespace Samples.Atlas
         Tilemap tilemapMipmap;
         Tilemap tilemapNoMipmap;
         
-        public Game1()
+        public SampleGame()
         {
             graphics = new GraphicsDeviceManager(this);
             Content.RootDirectory = "Content";

+ 1 - 1
Samples/Tilemap/Samples.Tilemap.DESKTOPGL.NET6.csproj

@@ -24,7 +24,7 @@
     <DefineConstants>TRACE;WINDOWS MG</DefineConstants>
   </PropertyGroup>
   <ItemGroup>
-    <Compile Include="Game1.cs" />
+    <Compile Include="SampleGame.cs" />
     <Compile Include="Program.cs" />
   </ItemGroup>
   <ItemGroup>

+ 1 - 1
Samples/Tilemap/Samples.Tilemap.WINDOWS.NET6.csproj

@@ -25,7 +25,7 @@
     <DefineConstants>TRACE;WINDOWS MG</DefineConstants>
   </PropertyGroup>
   <ItemGroup>
-    <Compile Include="Game1.cs" />
+    <Compile Include="SampleGame.cs" />
     <Compile Include="Program.cs" />
   </ItemGroup>
   <ItemGroup>

+ 1 - 1
Samples/Tilemap/Samples.Tilemap.WINDOWS.csproj

@@ -43,7 +43,7 @@
     <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
   </PropertyGroup>
   <ItemGroup>
-    <Compile Include="Game1.cs" />
+    <Compile Include="SampleGame.cs" />
     <Compile Include="Program.cs" />
   </ItemGroup>
   <ItemGroup>

+ 1 - 1
Samples/Tilemap/Samples.Tilemap.XNA.csproj

@@ -68,7 +68,7 @@
   </ItemGroup>
   <ItemGroup>
     <Compile Include="Program.cs" />
-    <Compile Include="Game1.cs" />
+    <Compile Include="SampleGame.cs" />
   </ItemGroup>
   <ItemGroup>
     <Compile Include="Properties\AssemblyInfo.cs" />