From c82bce200e03a34c16b3f9fcb35051cc75bf377c Mon Sep 17 00:00:00 2001 From: Colin McMillen Date: Fri, 20 Nov 2020 17:52:40 -0500 Subject: [PATCH] rename OpenGL -> DesktopGL --- OpenGL/OpenGL.csproj => DesktopGL/DesktopGL.csproj | 0 .../DesktopGLProgram.cs | 8 ++++---- {OpenGL => DesktopGL}/Icon.bmp | Bin {OpenGL => DesktopGL}/Icon.ico | Bin {OpenGL => DesktopGL}/app.manifest | 0 {OpenGL => DesktopGL}/packages.config | 0 Sneak.sln | 2 +- 7 files changed, 5 insertions(+), 5 deletions(-) rename OpenGL/OpenGL.csproj => DesktopGL/DesktopGL.csproj (100%) rename OpenGL/OpenGLProgram.cs => DesktopGL/DesktopGLProgram.cs (82%) rename {OpenGL => DesktopGL}/Icon.bmp (100%) rename {OpenGL => DesktopGL}/Icon.ico (100%) rename {OpenGL => DesktopGL}/app.manifest (100%) rename {OpenGL => DesktopGL}/packages.config (100%) diff --git a/OpenGL/OpenGL.csproj b/DesktopGL/DesktopGL.csproj similarity index 100% rename from OpenGL/OpenGL.csproj rename to DesktopGL/DesktopGL.csproj diff --git a/OpenGL/OpenGLProgram.cs b/DesktopGL/DesktopGLProgram.cs similarity index 82% rename from OpenGL/OpenGLProgram.cs rename to DesktopGL/DesktopGLProgram.cs index b781e1d..0ff426e 100644 --- a/OpenGL/OpenGLProgram.cs +++ b/DesktopGL/DesktopGLProgram.cs @@ -3,7 +3,7 @@ using System; namespace SemiColinGames { - public class OpenGLDisplay : IDisplay { + public class DesktopGLDisplay : IDisplay { private GameWindow window; private GraphicsDeviceManager graphics; @@ -15,7 +15,7 @@ namespace SemiColinGames { public void SetFullScreen(bool fullScreen) { if (fullScreen) { - // In OpenGL, we misappropriate "fullscreen" to be "the settings good for recording + // In DesktopGL, we misappropriate "fullscreen" to be "the settings good for recording // gameplay GIFs". window.IsBorderless = true; // graphics.PreferredBackBufferWidth = 720; @@ -35,11 +35,11 @@ namespace SemiColinGames { } } - public static class OpenGLProgram { + public static class DesktopGLProgram { [STAThread] static void Main() { using (var game = new SneakGame()) { - game.Services.AddService(typeof(IDisplay), new OpenGLDisplay()); + game.Services.AddService(typeof(IDisplay), new DesktopGLDisplay()); game.Run(); } } diff --git a/OpenGL/Icon.bmp b/DesktopGL/Icon.bmp similarity index 100% rename from OpenGL/Icon.bmp rename to DesktopGL/Icon.bmp diff --git a/OpenGL/Icon.ico b/DesktopGL/Icon.ico similarity index 100% rename from OpenGL/Icon.ico rename to DesktopGL/Icon.ico diff --git a/OpenGL/app.manifest b/DesktopGL/app.manifest similarity index 100% rename from OpenGL/app.manifest rename to DesktopGL/app.manifest diff --git a/OpenGL/packages.config b/DesktopGL/packages.config similarity index 100% rename from OpenGL/packages.config rename to DesktopGL/packages.config diff --git a/Sneak.sln b/Sneak.sln index cdc187a..aaa8289 100644 --- a/Sneak.sln +++ b/Sneak.sln @@ -5,7 +5,7 @@ VisualStudioVersion = 16.0.29613.14 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "UWP", "UWP\UWP.csproj", "{21570905-5FFD-49FC-B523-1E7E6F191142}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "OpenGL", "OpenGL\OpenGL.csproj", "{E25E2743-F2FD-437B-9411-E55C104451FF}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DesktopGL", "DesktopGL\DesktopGL.csproj", "{E25E2743-F2FD-437B-9411-E55C104451FF}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Content", "Content\Content.csproj", "{304FB3E1-0AC3-4331-BA87-0CA35F335203}" EndProject