From 6adb4d7a11a522fab159562f2dda6ced30885fb4 Mon Sep 17 00:00:00 2001
From: chai <215380520@qq.com>
Date: Mon, 3 Jun 2024 00:27:28 +0800
Subject: +UGEditor project
---
Projects/Tools/UGEditor/.config/dotnet-tools.json | 36 +++++++++++++++
Projects/Tools/UGEditor/Content/Content.mgcb | 15 +++++++
Projects/Tools/UGEditor/Game1.cs | 52 ++++++++++++++++++++++
Projects/Tools/UGEditor/Icon.bmp | Bin 0 -> 262282 bytes
Projects/Tools/UGEditor/Icon.ico | Bin 0 -> 147541 bytes
Projects/Tools/UGEditor/Program.cs | 3 ++
Projects/Tools/UGEditor/UGEditor.csproj | 29 ++++++++++++
Projects/Tools/UGEditor/app.manifest | 43 ++++++++++++++++++
Projects/ULTRAGUNFU.sln | 13 +++++-
9 files changed, 190 insertions(+), 1 deletion(-)
create mode 100644 Projects/Tools/UGEditor/.config/dotnet-tools.json
create mode 100644 Projects/Tools/UGEditor/Content/Content.mgcb
create mode 100644 Projects/Tools/UGEditor/Game1.cs
create mode 100644 Projects/Tools/UGEditor/Icon.bmp
create mode 100644 Projects/Tools/UGEditor/Icon.ico
create mode 100644 Projects/Tools/UGEditor/Program.cs
create mode 100644 Projects/Tools/UGEditor/UGEditor.csproj
create mode 100644 Projects/Tools/UGEditor/app.manifest
(limited to 'Projects')
diff --git a/Projects/Tools/UGEditor/.config/dotnet-tools.json b/Projects/Tools/UGEditor/.config/dotnet-tools.json
new file mode 100644
index 0000000..efabe22
--- /dev/null
+++ b/Projects/Tools/UGEditor/.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/Projects/Tools/UGEditor/Content/Content.mgcb b/Projects/Tools/UGEditor/Content/Content.mgcb
new file mode 100644
index 0000000..ddc4c36
--- /dev/null
+++ b/Projects/Tools/UGEditor/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/Projects/Tools/UGEditor/Game1.cs b/Projects/Tools/UGEditor/Game1.cs
new file mode 100644
index 0000000..2c87347
--- /dev/null
+++ b/Projects/Tools/UGEditor/Game1.cs
@@ -0,0 +1,52 @@
+using Microsoft.Xna.Framework;
+using Microsoft.Xna.Framework.Graphics;
+using Microsoft.Xna.Framework.Input;
+
+namespace UGEditor
+{
+ 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/Projects/Tools/UGEditor/Icon.bmp b/Projects/Tools/UGEditor/Icon.bmp
new file mode 100644
index 0000000..2b48165
Binary files /dev/null and b/Projects/Tools/UGEditor/Icon.bmp differ
diff --git a/Projects/Tools/UGEditor/Icon.ico b/Projects/Tools/UGEditor/Icon.ico
new file mode 100644
index 0000000..7d9dec1
Binary files /dev/null and b/Projects/Tools/UGEditor/Icon.ico differ
diff --git a/Projects/Tools/UGEditor/Program.cs b/Projects/Tools/UGEditor/Program.cs
new file mode 100644
index 0000000..17a046b
--- /dev/null
+++ b/Projects/Tools/UGEditor/Program.cs
@@ -0,0 +1,3 @@
+
+using var game = new UGEditor.Game1();
+game.Run();
diff --git a/Projects/Tools/UGEditor/UGEditor.csproj b/Projects/Tools/UGEditor/UGEditor.csproj
new file mode 100644
index 0000000..a7fb71d
--- /dev/null
+++ b/Projects/Tools/UGEditor/UGEditor.csproj
@@ -0,0 +1,29 @@
+
+
+ WinExe
+ net6.0
+ Major
+ false
+ false
+
+
+ app.manifest
+ Icon.ico
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Projects/Tools/UGEditor/app.manifest b/Projects/Tools/UGEditor/app.manifest
new file mode 100644
index 0000000..991f61c
--- /dev/null
+++ b/Projects/Tools/UGEditor/app.manifest
@@ -0,0 +1,43 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ true/pm
+ permonitorv2,permonitor
+
+
+
+
diff --git a/Projects/ULTRAGUNFU.sln b/Projects/ULTRAGUNFU.sln
index 3558051..bf799e7 100644
--- a/Projects/ULTRAGUNFU.sln
+++ b/Projects/ULTRAGUNFU.sln
@@ -3,7 +3,11 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.10.34916.146
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ULTRAGUNFU", "./ULTRAGUNFU/ULTRAGUNFU.csproj", "{C87D9D21-A205-4E54-B4D4-793CA6B3092F}"
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ULTRAGUNFU", "ULTRAGUNFU\ULTRAGUNFU.csproj", "{C87D9D21-A205-4E54-B4D4-793CA6B3092F}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "UGEditor", "Tools\UGEditor\UGEditor.csproj", "{EC33DBA6-E734-449E-841C-D0578FDA5F08}"
+EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Tools", "Tools", "{DF3F1C06-0493-497B-9A51-FFD7DC1BF87E}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -15,10 +19,17 @@ Global
{C87D9D21-A205-4E54-B4D4-793CA6B3092F}.Debug|Any CPU.Build.0 = Debug|Any CPU
{C87D9D21-A205-4E54-B4D4-793CA6B3092F}.Release|Any CPU.ActiveCfg = Release|Any CPU
{C87D9D21-A205-4E54-B4D4-793CA6B3092F}.Release|Any CPU.Build.0 = Release|Any CPU
+ {EC33DBA6-E734-449E-841C-D0578FDA5F08}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {EC33DBA6-E734-449E-841C-D0578FDA5F08}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {EC33DBA6-E734-449E-841C-D0578FDA5F08}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {EC33DBA6-E734-449E-841C-D0578FDA5F08}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
+ GlobalSection(NestedProjects) = preSolution
+ {EC33DBA6-E734-449E-841C-D0578FDA5F08} = {DF3F1C06-0493-497B-9A51-FFD7DC1BF87E}
+ EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {87A7D18A-A218-4959-BDAB-065DB5DA20FC}
EndGlobalSection
--
cgit v1.1-26-g67d0