From 6ed2a7cb4a2de7bc1e48f94bf68f196124756920 Mon Sep 17 00:00:00 2001 From: Alee Date: Sun, 19 May 2019 10:53:35 -0400 Subject: Add project files. --- QuantumNet.Backend/Class1.cs | 12 +++ QuantumNet.Backend/Properties/AssemblyInfo.cs | 36 +++++++ QuantumNet.Backend/QuantumNet.Backend.csproj | 54 +++++++++++ QuantumNet.Backend/packages.config | 4 + QuantumNet.sln | 31 ++++++ QuantumNet/Content/Content.mgcb | 15 +++ QuantumNet/GameInitalization.cs | 83 ++++++++++++++++ QuantumNet/Icon.bmp | Bin 0 -> 262282 bytes QuantumNet/Icon.ico | Bin 0 -> 147541 bytes QuantumNet/Program.cs | 20 ++++ QuantumNet/Properties/AssemblyInfo.cs | 36 +++++++ QuantumNet/QuantumNet.csproj | 130 ++++++++++++++++++++++++++ QuantumNet/app.config | 3 + QuantumNet/app.manifest | 42 +++++++++ QuantumNet/packages.config | 6 ++ 15 files changed, 472 insertions(+) create mode 100644 QuantumNet.Backend/Class1.cs create mode 100644 QuantumNet.Backend/Properties/AssemblyInfo.cs create mode 100644 QuantumNet.Backend/QuantumNet.Backend.csproj create mode 100644 QuantumNet.Backend/packages.config create mode 100644 QuantumNet.sln create mode 100644 QuantumNet/Content/Content.mgcb create mode 100644 QuantumNet/GameInitalization.cs create mode 100644 QuantumNet/Icon.bmp create mode 100644 QuantumNet/Icon.ico create mode 100644 QuantumNet/Program.cs create mode 100644 QuantumNet/Properties/AssemblyInfo.cs create mode 100644 QuantumNet/QuantumNet.csproj create mode 100644 QuantumNet/app.config create mode 100644 QuantumNet/app.manifest create mode 100644 QuantumNet/packages.config diff --git a/QuantumNet.Backend/Class1.cs b/QuantumNet.Backend/Class1.cs new file mode 100644 index 0000000..24aa841 --- /dev/null +++ b/QuantumNet.Backend/Class1.cs @@ -0,0 +1,12 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace QuantumNet.Backend +{ + public class Class1 + { + } +} diff --git a/QuantumNet.Backend/Properties/AssemblyInfo.cs b/QuantumNet.Backend/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..20f888d --- /dev/null +++ b/QuantumNet.Backend/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("QuantumNet.Backend")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("QuantumNet.Backend")] +[assembly: AssemblyCopyright("Copyright © 2019")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("08805581-b972-4e6f-97bb-b3bf3130cd08")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/QuantumNet.Backend/QuantumNet.Backend.csproj b/QuantumNet.Backend/QuantumNet.Backend.csproj new file mode 100644 index 0000000..4c903f9 --- /dev/null +++ b/QuantumNet.Backend/QuantumNet.Backend.csproj @@ -0,0 +1,54 @@ + + + + + Debug + AnyCPU + {08805581-B972-4E6F-97BB-B3BF3130CD08} + Library + Properties + QuantumNet.Backend + QuantumNet.Backend + v4.7.2 + 512 + true + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + ..\packages\MonoGame.Framework.Portable.3.7.1.189\lib\portable-net45+win8+wpa81\MonoGame.Framework.dll + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/QuantumNet.Backend/packages.config b/QuantumNet.Backend/packages.config new file mode 100644 index 0000000..bda8346 --- /dev/null +++ b/QuantumNet.Backend/packages.config @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/QuantumNet.sln b/QuantumNet.sln new file mode 100644 index 0000000..9fec9be --- /dev/null +++ b/QuantumNet.sln @@ -0,0 +1,31 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.28803.352 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "QuantumNet", "QuantumNet\QuantumNet.csproj", "{6C46A895-CE97-44D1-9932-D9238A70E205}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "QuantumNet.Backend", "QuantumNet.Backend\QuantumNet.Backend.csproj", "{08805581-B972-4E6F-97BB-B3BF3130CD08}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {6C46A895-CE97-44D1-9932-D9238A70E205}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {6C46A895-CE97-44D1-9932-D9238A70E205}.Debug|Any CPU.Build.0 = Debug|Any CPU + {6C46A895-CE97-44D1-9932-D9238A70E205}.Release|Any CPU.ActiveCfg = Release|Any CPU + {6C46A895-CE97-44D1-9932-D9238A70E205}.Release|Any CPU.Build.0 = Release|Any CPU + {08805581-B972-4E6F-97BB-B3BF3130CD08}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {08805581-B972-4E6F-97BB-B3BF3130CD08}.Debug|Any CPU.Build.0 = Debug|Any CPU + {08805581-B972-4E6F-97BB-B3BF3130CD08}.Release|Any CPU.ActiveCfg = Release|Any CPU + {08805581-B972-4E6F-97BB-B3BF3130CD08}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {52394308-F49E-4876-8042-2FC09C78950E} + EndGlobalSection +EndGlobal diff --git a/QuantumNet/Content/Content.mgcb b/QuantumNet/Content/Content.mgcb new file mode 100644 index 0000000..1872101 --- /dev/null +++ b/QuantumNet/Content/Content.mgcb @@ -0,0 +1,15 @@ + +#----------------------------- Global Properties ----------------------------# + +/outputDir:bin/$(Platform) +/intermediateDir:obj/$(Platform) +/platform:DesktopGL +/config: +/profile:Reach +/compress:False + +#-------------------------------- References --------------------------------# +/reference:..\..\packages\MonoGame.Extended.Content.Pipeline.0.6.372\tools\MonoGame.Extended.Content.Pipeline.dll + +#---------------------------------- Content ---------------------------------# + diff --git a/QuantumNet/GameInitalization.cs b/QuantumNet/GameInitalization.cs new file mode 100644 index 0000000..aa7f027 --- /dev/null +++ b/QuantumNet/GameInitalization.cs @@ -0,0 +1,83 @@ +using Microsoft.Xna.Framework; +using Microsoft.Xna.Framework.Graphics; +using Microsoft.Xna.Framework.Input; + +namespace QuantumNet +{ + /// + /// This is the main type for your game. + /// + public class GameInitalization : Game + { + GraphicsDeviceManager graphics; + SpriteBatch spriteBatch; + + public GameInitalization() + { + graphics = new GraphicsDeviceManager(this); + Content.RootDirectory = "Content"; + } + + /// + /// Allows the game to perform any initialization it needs to before starting to run. + /// This is where it can query for any required services and load any non-graphic + /// related content. Calling base.Initialize will enumerate through any components + /// and initialize them as well. + /// + protected override void Initialize() + { + // TODO: Add your initialization logic here + + base.Initialize(); + } + + /// + /// LoadContent will be called once per game and is the place to load + /// all of your content. + /// + protected override void LoadContent() + { + // Create a new SpriteBatch, which can be used to draw textures. + spriteBatch = new SpriteBatch(GraphicsDevice); + + // TODO: use this.Content to load your game content here + } + + /// + /// UnloadContent will be called once per game and is the place to unload + /// game-specific content. + /// + protected override void UnloadContent() + { + // TODO: Unload any non ContentManager content here + } + + /// + /// Allows the game to run logic such as updating the world, + /// checking for collisions, gathering input, and playing audio. + /// + /// Provides a snapshot of timing values. + 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); + } + + /// + /// This is called when the game should draw itself. + /// + /// Provides a snapshot of timing values. + protected override void Draw(GameTime gameTime) + { + GraphicsDevice.Clear(Color.Black); + + // TODO: Add your drawing code here + + base.Draw(gameTime); + } + } +} diff --git a/QuantumNet/Icon.bmp b/QuantumNet/Icon.bmp new file mode 100644 index 0000000..2b48165 Binary files /dev/null and b/QuantumNet/Icon.bmp differ diff --git a/QuantumNet/Icon.ico b/QuantumNet/Icon.ico new file mode 100644 index 0000000..7d9dec1 Binary files /dev/null and b/QuantumNet/Icon.ico differ diff --git a/QuantumNet/Program.cs b/QuantumNet/Program.cs new file mode 100644 index 0000000..e0b279a --- /dev/null +++ b/QuantumNet/Program.cs @@ -0,0 +1,20 @@ +using System; + +namespace QuantumNet +{ + /// + /// The main class. + /// + public static class Program + { + /// + /// The main entry point for the application. + /// + [STAThread] + static void Main() + { + using (var game = new GameInitalization()) + game.Run(); + } + } +} diff --git a/QuantumNet/Properties/AssemblyInfo.cs b/QuantumNet/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..ba05e4f --- /dev/null +++ b/QuantumNet/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("QuantumNet")] +[assembly: AssemblyProduct("QuantumNet")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyCopyright("Copyright © 2019")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("2105976a-60ac-4c4a-881d-daf8b3256998")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/QuantumNet/QuantumNet.csproj b/QuantumNet/QuantumNet.csproj new file mode 100644 index 0000000..b0517aa --- /dev/null +++ b/QuantumNet/QuantumNet.csproj @@ -0,0 +1,130 @@ + + + + + Debug + AnyCPU + 8.0.30703 + 2.0 + {6C46A895-CE97-44D1-9932-D9238A70E205} + WinExe + Properties + QuantumNet + QuantumNet + 512 + DesktopGL + v4.7.2 + + + + true + bin\$(MonoGamePlatform)\$(Platform)\$(Configuration)\ + DEBUG;TRACE;LINUX + full + AnyCPU + prompt + false + 4 + + + bin\$(MonoGamePlatform)\$(Platform)\$(Configuration)\ + TRACE;LINUX + true + pdbonly + AnyCPU + prompt + false + 4 + + + Icon.ico + + + app.manifest + + + + + + + + + ..\packages\MonoGame.Extended.1.1.0\lib\portable-net45+win8+wpa81\MonoGame.Extended.dll + + + ..\packages\MonoGame.Extended.Content.Pipeline.1.1.0\tools\MonoGame.Extended.Content.Pipeline.dll + + + $(MonoGameInstallDirectory)\MonoGame\v3.0\Assemblies\DesktopGL\MonoGame.Framework.dll + + + ..\packages\Newtonsoft.Json.9.0.1\lib\net45\Newtonsoft.Json.dll + + + + + + + + + + + + + x86\SDL2.dll + PreserveNewest + + + x64\SDL2.dll + PreserveNewest + + + x86\soft_oal.dll + PreserveNewest + + + x64\soft_oal.dll + PreserveNewest + + + x86\libSDL2-2.0.so.0 + PreserveNewest + + + x64\libSDL2-2.0.so.0 + PreserveNewest + + + x86\libopenal.so.1 + PreserveNewest + + + x64\libopenal.so.1 + PreserveNewest + + + libSDL2-2.0.0.dylib + PreserveNewest + + + libopenal.1.dylib + PreserveNewest + + + MonoGame.Framework.dll.config + PreserveNewest + + + + + + + + + \ No newline at end of file diff --git a/QuantumNet/app.config b/QuantumNet/app.config new file mode 100644 index 0000000..312bb3f --- /dev/null +++ b/QuantumNet/app.config @@ -0,0 +1,3 @@ + + + diff --git a/QuantumNet/app.manifest b/QuantumNet/app.manifest new file mode 100644 index 0000000..e5ddaaf --- /dev/null +++ b/QuantumNet/app.manifest @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + true/pm + + + + diff --git a/QuantumNet/packages.config b/QuantumNet/packages.config new file mode 100644 index 0000000..7da17a2 --- /dev/null +++ b/QuantumNet/packages.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file -- cgit v1.2.3