commit 6d97f07faadca399f0a7c27554a3c78843417143 Author: RedStealthDev Date: Wed Dec 7 13:33:12 2022 +0100 First commit diff --git a/.config/dotnet-tools.json b/.config/dotnet-tools.json new file mode 100644 index 0000000..efabe22 --- /dev/null +++ b/.config/dotnet-tools.json @@ -0,0 +1,36 @@ +{ + "version": 1, + "isRoot": true, + "tools": { + "dotnet-mgcb": { + "version": "3.8.1.303", + "commands": [ + "mgcb" + ] + }, + "dotnet-mgcb-editor": { + "version": "3.8.1.303", + "commands": [ + "mgcb-editor" + ] + }, + "dotnet-mgcb-editor-linux": { + "version": "3.8.1.303", + "commands": [ + "mgcb-editor-linux" + ] + }, + "dotnet-mgcb-editor-windows": { + "version": "3.8.1.303", + "commands": [ + "mgcb-editor-windows" + ] + }, + "dotnet-mgcb-editor-mac": { + "version": "3.8.1.303", + "commands": [ + "mgcb-editor-mac" + ] + } + } +} \ No newline at end of file diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c701a47 --- /dev/null +++ b/.gitignore @@ -0,0 +1,9 @@ +.vscode/ + +# Local History for Visual Studio Code +.history/ + +# Built Visual Studio Code Extensions +*.vsix + +/bin/ \ No newline at end of file diff --git a/Content/Content.mgcb b/Content/Content.mgcb new file mode 100644 index 0000000..ddc4c36 --- /dev/null +++ b/Content/Content.mgcb @@ -0,0 +1,15 @@ + +#----------------------------- Global Properties ----------------------------# + +/outputDir:bin/$(Platform) +/intermediateDir:obj/$(Platform) +/platform:DesktopGL +/config: +/profile:Reach +/compress:False + +#-------------------------------- References --------------------------------# + + +#---------------------------------- Content ---------------------------------# + diff --git a/Default Framework.csproj b/Default Framework.csproj new file mode 100644 index 0000000..a7fb71d --- /dev/null +++ b/Default Framework.csproj @@ -0,0 +1,29 @@ + + + WinExe + net6.0 + Major + false + false + + + app.manifest + Icon.ico + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Game1.cs b/Game1.cs new file mode 100644 index 0000000..eec03a4 --- /dev/null +++ b/Game1.cs @@ -0,0 +1,51 @@ +using Microsoft.Xna.Framework; +using Microsoft.Xna.Framework.Graphics; +using Microsoft.Xna.Framework.Input; + +namespace Default_Framework; + +public class Game1 : Game +{ + private GraphicsDeviceManager _graphics; + private SpriteBatch _spriteBatch; + + public Game1() + { + _graphics = new GraphicsDeviceManager(this); + Content.RootDirectory = "Content"; + IsMouseVisible = true; + } + + protected override void Initialize() + { + // TODO: Add your initialization logic here + + base.Initialize(); + } + + protected override void LoadContent() + { + _spriteBatch = new SpriteBatch(GraphicsDevice); + + // TODO: use this.Content to load your game content here + } + + protected override void Update(GameTime gameTime) + { + if (GamePad.GetState(PlayerIndex.One).Buttons.Back == ButtonState.Pressed || Keyboard.GetState().IsKeyDown(Keys.Escape)) + Exit(); + + // TODO: Add your update logic here + + base.Update(gameTime); + } + + protected override void Draw(GameTime gameTime) + { + GraphicsDevice.Clear(Color.CornflowerBlue); + + // TODO: Add your drawing code here + + base.Draw(gameTime); + } +} diff --git a/Icon.bmp b/Icon.bmp new file mode 100644 index 0000000..2b48165 Binary files /dev/null and b/Icon.bmp differ diff --git a/Icon.ico b/Icon.ico new file mode 100644 index 0000000..7d9dec1 Binary files /dev/null and b/Icon.ico differ diff --git a/Program.cs b/Program.cs new file mode 100644 index 0000000..41ee125 --- /dev/null +++ b/Program.cs @@ -0,0 +1,3 @@ + +using var game = new Default_Framework.Game1(); +game.Run(); diff --git a/app.manifest b/app.manifest new file mode 100644 index 0000000..c90bf6f --- /dev/null +++ b/app.manifest @@ -0,0 +1,43 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + true/pm + permonitorv2,permonitor + + + + diff --git a/obj/Debug/net6.0/.NETCoreApp,Version=v6.0.AssemblyAttributes.cs b/obj/Debug/net6.0/.NETCoreApp,Version=v6.0.AssemblyAttributes.cs new file mode 100644 index 0000000..36203c7 --- /dev/null +++ b/obj/Debug/net6.0/.NETCoreApp,Version=v6.0.AssemblyAttributes.cs @@ -0,0 +1,4 @@ +// +using System; +using System.Reflection; +[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v6.0", FrameworkDisplayName = "")] diff --git a/obj/Debug/net6.0/Default Framework.AssemblyInfo.cs b/obj/Debug/net6.0/Default Framework.AssemblyInfo.cs new file mode 100644 index 0000000..50e5ddd --- /dev/null +++ b/obj/Debug/net6.0/Default Framework.AssemblyInfo.cs @@ -0,0 +1,22 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using System; +using System.Reflection; + +[assembly: System.Reflection.AssemblyCompanyAttribute("Default Framework")] +[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] +[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] +[assembly: System.Reflection.AssemblyProductAttribute("Default Framework")] +[assembly: System.Reflection.AssemblyTitleAttribute("Default Framework")] +[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] + +// Generated by the MSBuild WriteCodeFragment class. + diff --git a/obj/Debug/net6.0/Default Framework.GeneratedMSBuildEditorConfig.editorconfig b/obj/Debug/net6.0/Default Framework.GeneratedMSBuildEditorConfig.editorconfig new file mode 100644 index 0000000..b804543 --- /dev/null +++ b/obj/Debug/net6.0/Default Framework.GeneratedMSBuildEditorConfig.editorconfig @@ -0,0 +1,10 @@ +is_global = true +build_property.TargetFramework = net6.0 +build_property.TargetPlatformMinVersion = +build_property.UsingMicrosoftNETSdkWeb = +build_property.ProjectTypeGuids = +build_property.InvariantGlobalization = +build_property.PlatformNeutralAssembly = +build_property._SupportedPlatformList = Linux,macOS,Windows +build_property.RootNamespace = Default_Framework +build_property.ProjectDir = e:\Repos\Default Framework\ diff --git a/obj/Default Framework.csproj.nuget.dgspec.json b/obj/Default Framework.csproj.nuget.dgspec.json new file mode 100644 index 0000000..ee51ed7 --- /dev/null +++ b/obj/Default Framework.csproj.nuget.dgspec.json @@ -0,0 +1,77 @@ +{ + "format": 1, + "restore": { + "e:\\Repos\\Default Framework\\Default Framework.csproj": {} + }, + "projects": { + "e:\\Repos\\Default Framework\\Default Framework.csproj": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "e:\\Repos\\Default Framework\\Default Framework.csproj", + "projectName": "Default Framework", + "projectPath": "e:\\Repos\\Default Framework\\Default Framework.csproj", + "packagesPath": "C:\\Users\\alexander.ahlanders\\.nuget\\packages\\", + "outputPath": "e:\\Repos\\Default Framework\\obj\\", + "projectStyle": "PackageReference", + "fallbackFolders": [ + "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages" + ], + "configFilePaths": [ + "C:\\Users\\alexander.ahlanders\\AppData\\Roaming\\NuGet\\NuGet.Config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" + ], + "originalTargetFrameworks": [ + "net6.0" + ], + "sources": { + "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "net6.0": { + "targetAlias": "net6.0", + "projectReferences": {} + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + } + }, + "frameworks": { + "net6.0": { + "targetAlias": "net6.0", + "dependencies": { + "MonoGame.Content.Builder.Task": { + "target": "Package", + "version": "[3.8.1.303, )" + }, + "MonoGame.Framework.DesktopGL": { + "target": "Package", + "version": "[3.8.1.303, )" + } + }, + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48", + "net481" + ], + "assetTargetFallback": true, + "warn": true, + "frameworkReferences": { + "Microsoft.NETCore.App": { + "privateAssets": "all" + } + }, + "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\6.0.403\\RuntimeIdentifierGraph.json" + } + } + } + } +} \ No newline at end of file diff --git a/obj/Default Framework.csproj.nuget.g.props b/obj/Default Framework.csproj.nuget.g.props new file mode 100644 index 0000000..914ca87 --- /dev/null +++ b/obj/Default Framework.csproj.nuget.g.props @@ -0,0 +1,19 @@ + + + + True + NuGet + $(MSBuildThisFileDirectory)project.assets.json + $(UserProfile)\.nuget\packages\ + C:\Users\alexander.ahlanders\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages + PackageReference + 6.3.1 + + + + + + + + + \ No newline at end of file diff --git a/obj/Default Framework.csproj.nuget.g.targets b/obj/Default Framework.csproj.nuget.g.targets new file mode 100644 index 0000000..7de22ed --- /dev/null +++ b/obj/Default Framework.csproj.nuget.g.targets @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/obj/project.assets.json b/obj/project.assets.json new file mode 100644 index 0000000..cdeb2cb --- /dev/null +++ b/obj/project.assets.json @@ -0,0 +1,177 @@ +{ + "version": 3, + "targets": { + "net6.0": { + "MonoGame.Content.Builder.Task/3.8.1.303": { + "type": "package", + "build": { + "build/MonoGame.Content.Builder.Task.props": {}, + "build/MonoGame.Content.Builder.Task.targets": {} + } + }, + "MonoGame.Framework.DesktopGL/3.8.1.303": { + "type": "package", + "compile": { + "lib/net6.0/MonoGame.Framework.dll": {} + }, + "runtime": { + "lib/net6.0/MonoGame.Framework.dll": {} + }, + "build": { + "build/MonoGame.Framework.DesktopGL.targets": {} + }, + "runtimeTargets": { + "runtimes/linux-x64/native/libSDL2-2.0.so.0": { + "assetType": "native", + "rid": "linux-x64" + }, + "runtimes/linux-x64/native/libopenal.so.1": { + "assetType": "native", + "rid": "linux-x64" + }, + "runtimes/osx/native/libSDL2.dylib": { + "assetType": "native", + "rid": "osx" + }, + "runtimes/osx/native/libopenal.1.dylib": { + "assetType": "native", + "rid": "osx" + }, + "runtimes/win-x64/native/SDL2.dll": { + "assetType": "native", + "rid": "win-x64" + }, + "runtimes/win-x64/native/soft_oal.dll": { + "assetType": "native", + "rid": "win-x64" + }, + "runtimes/win-x86/native/SDL2.dll": { + "assetType": "native", + "rid": "win-x86" + }, + "runtimes/win-x86/native/soft_oal.dll": { + "assetType": "native", + "rid": "win-x86" + } + } + } + } + }, + "libraries": { + "MonoGame.Content.Builder.Task/3.8.1.303": { + "sha512": "9Ilzzje62LhWElbPNEl7vh7XsRSbze+lvCJdZtTZUGu48FRgvYN6THURwIB9PN98EI33/Wnf6iuShNUtD7hL4Q==", + "type": "package", + "path": "monogame.content.builder.task/3.8.1.303", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "build/MonoGame.Content.Builder.Task.props", + "build/MonoGame.Content.Builder.Task.targets", + "monogame.content.builder.task.3.8.1.303.nupkg.sha512", + "monogame.content.builder.task.nuspec" + ] + }, + "MonoGame.Framework.DesktopGL/3.8.1.303": { + "sha512": "eGYhqn0n1olk8MNYeE9EuBmoNNECN1T18rPMaQpkzsEQ0H3nVyFPXC+uCo78v5pi5juQpJ3PSFnSkjzZJ1U58A==", + "type": "package", + "path": "monogame.framework.desktopgl/3.8.1.303", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "build/MonoGame.Framework.DesktopGL.targets", + "lib/net6.0/MonoGame.Framework.dll", + "monogame.framework.desktopgl.3.8.1.303.nupkg.sha512", + "monogame.framework.desktopgl.nuspec", + "runtimes/linux-x64/native/libSDL2-2.0.so.0", + "runtimes/linux-x64/native/libopenal.so.1", + "runtimes/osx/native/libSDL2.dylib", + "runtimes/osx/native/libopenal.1.dylib", + "runtimes/win-x64/native/SDL2.dll", + "runtimes/win-x64/native/soft_oal.dll", + "runtimes/win-x86/native/SDL2.dll", + "runtimes/win-x86/native/soft_oal.dll" + ] + } + }, + "projectFileDependencyGroups": { + "net6.0": [ + "MonoGame.Content.Builder.Task >= 3.8.1.303", + "MonoGame.Framework.DesktopGL >= 3.8.1.303" + ] + }, + "packageFolders": { + "C:\\Users\\alexander.ahlanders\\.nuget\\packages\\": {}, + "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages": {} + }, + "project": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "e:\\Repos\\Default Framework\\Default Framework.csproj", + "projectName": "Default Framework", + "projectPath": "e:\\Repos\\Default Framework\\Default Framework.csproj", + "packagesPath": "C:\\Users\\alexander.ahlanders\\.nuget\\packages\\", + "outputPath": "e:\\Repos\\Default Framework\\obj\\", + "projectStyle": "PackageReference", + "fallbackFolders": [ + "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages" + ], + "configFilePaths": [ + "C:\\Users\\alexander.ahlanders\\AppData\\Roaming\\NuGet\\NuGet.Config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" + ], + "originalTargetFrameworks": [ + "net6.0" + ], + "sources": { + "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "net6.0": { + "targetAlias": "net6.0", + "projectReferences": {} + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + } + }, + "frameworks": { + "net6.0": { + "targetAlias": "net6.0", + "dependencies": { + "MonoGame.Content.Builder.Task": { + "target": "Package", + "version": "[3.8.1.303, )" + }, + "MonoGame.Framework.DesktopGL": { + "target": "Package", + "version": "[3.8.1.303, )" + } + }, + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48", + "net481" + ], + "assetTargetFallback": true, + "warn": true, + "frameworkReferences": { + "Microsoft.NETCore.App": { + "privateAssets": "all" + } + }, + "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\6.0.403\\RuntimeIdentifierGraph.json" + } + } + } +} \ No newline at end of file