Browse Source

rename OpenGL -> DesktopGL

main
Colin McMillen 1 year ago
parent
commit
c82bce200e
  1. 0
      DesktopGL/DesktopGL.csproj
  2. 8
      DesktopGL/DesktopGLProgram.cs
  3. 0
      DesktopGL/Icon.bmp
  4. 0
      DesktopGL/Icon.ico
  5. 0
      DesktopGL/app.manifest
  6. 0
      DesktopGL/packages.config
  7. 2
      Sneak.sln

0
OpenGL/OpenGL.csproj → DesktopGL/DesktopGL.csproj

8
OpenGL/OpenGLProgram.cs → 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();
}
}

0
OpenGL/Icon.bmp → DesktopGL/Icon.bmp

0
OpenGL/Icon.ico → DesktopGL/Icon.ico

0
OpenGL/app.manifest → DesktopGL/app.manifest

0
OpenGL/packages.config → DesktopGL/packages.config

2
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

Loading…
Cancel
Save