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/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 ++ 10 files changed, 335 insertions(+) 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 (limited to 'QuantumNet') 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