From 14ac3d08ca37bb0600f31bb57bac75131bb5a1fa Mon Sep 17 00:00:00 2001 From: chrisbell Date: Wed, 25 Feb 2026 10:26:08 -0600 Subject: [PATCH] Adding Godot project --- SessionZero.sln | 6 ++++++ SzApp/.editorconfig | 4 ++++ SzApp/.gitattributes | 2 ++ SzApp/.gitignore | 3 +++ SzApp/Main.cs | 17 ++++++++++++++++ SzApp/Main.cs.uid | 1 + SzApp/SessionZero.csproj | 10 ++++++++++ SzApp/SessionZero.sln | 19 ++++++++++++++++++ SzApp/icon.svg | 1 + SzApp/icon.svg.import | 43 ++++++++++++++++++++++++++++++++++++++++ SzApp/project.godot | 29 +++++++++++++++++++++++++++ SzApp/scenes/main.tscn | 3 +++ flake.nix | 2 ++ 13 files changed, 140 insertions(+) create mode 100644 SzApp/.editorconfig create mode 100644 SzApp/.gitattributes create mode 100644 SzApp/.gitignore create mode 100644 SzApp/Main.cs create mode 100644 SzApp/Main.cs.uid create mode 100644 SzApp/SessionZero.csproj create mode 100644 SzApp/SessionZero.sln create mode 100644 SzApp/icon.svg create mode 100644 SzApp/icon.svg.import create mode 100644 SzApp/project.godot create mode 100644 SzApp/scenes/main.tscn diff --git a/SessionZero.sln b/SessionZero.sln index 1d52211..fcf0ca9 100644 --- a/SessionZero.sln +++ b/SessionZero.sln @@ -9,6 +9,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SzCli", "SzCli\SzCli.csproj EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SzGui", "SzGui\SzGui.csproj", "{3347AFA3-823F-4F40-9B9A-7C277164622E}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SessionZero", "SzApp\SessionZero.csproj", "{816DA179-D985-4B29-9350-7B500739AF51}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -30,5 +32,9 @@ Global {3347AFA3-823F-4F40-9B9A-7C277164622E}.Debug|Any CPU.Build.0 = Debug|Any CPU {3347AFA3-823F-4F40-9B9A-7C277164622E}.Release|Any CPU.ActiveCfg = Release|Any CPU {3347AFA3-823F-4F40-9B9A-7C277164622E}.Release|Any CPU.Build.0 = Release|Any CPU + {816DA179-D985-4B29-9350-7B500739AF51}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {816DA179-D985-4B29-9350-7B500739AF51}.Debug|Any CPU.Build.0 = Debug|Any CPU + {816DA179-D985-4B29-9350-7B500739AF51}.Release|Any CPU.ActiveCfg = Debug|Any CPU + {816DA179-D985-4B29-9350-7B500739AF51}.Release|Any CPU.Build.0 = Debug|Any CPU EndGlobalSection EndGlobal diff --git a/SzApp/.editorconfig b/SzApp/.editorconfig new file mode 100644 index 0000000..f28239b --- /dev/null +++ b/SzApp/.editorconfig @@ -0,0 +1,4 @@ +root = true + +[*] +charset = utf-8 diff --git a/SzApp/.gitattributes b/SzApp/.gitattributes new file mode 100644 index 0000000..8ad74f7 --- /dev/null +++ b/SzApp/.gitattributes @@ -0,0 +1,2 @@ +# Normalize EOL for all files that Git considers text files. +* text=auto eol=lf diff --git a/SzApp/.gitignore b/SzApp/.gitignore new file mode 100644 index 0000000..0af181c --- /dev/null +++ b/SzApp/.gitignore @@ -0,0 +1,3 @@ +# Godot 4+ specific ignores +.godot/ +/android/ diff --git a/SzApp/Main.cs b/SzApp/Main.cs new file mode 100644 index 0000000..1427998 --- /dev/null +++ b/SzApp/Main.cs @@ -0,0 +1,17 @@ +using Godot; +using System; +using SzCore; + +public partial class Main : Node +{ + // Called when the node enters the scene tree for the first time. + public override void _Ready() + { + + } + + // Called every frame. 'delta' is the elapsed time since the previous frame. + public override void _Process(double delta) + { + } +} diff --git a/SzApp/Main.cs.uid b/SzApp/Main.cs.uid new file mode 100644 index 0000000..4434123 --- /dev/null +++ b/SzApp/Main.cs.uid @@ -0,0 +1 @@ +uid://c3guyi3q3n4rk diff --git a/SzApp/SessionZero.csproj b/SzApp/SessionZero.csproj new file mode 100644 index 0000000..80b5b76 --- /dev/null +++ b/SzApp/SessionZero.csproj @@ -0,0 +1,10 @@ + + + net8.0 + net9.0 + true + + + + + \ No newline at end of file diff --git a/SzApp/SessionZero.sln b/SzApp/SessionZero.sln new file mode 100644 index 0000000..b99126d --- /dev/null +++ b/SzApp/SessionZero.sln @@ -0,0 +1,19 @@ +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 2012 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SessionZero", "SessionZero.csproj", "{67326BDA-D4A7-4CBB-A8A3-45ADA67FB008}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + ExportDebug|Any CPU = ExportDebug|Any CPU + ExportRelease|Any CPU = ExportRelease|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {67326BDA-D4A7-4CBB-A8A3-45ADA67FB008}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {67326BDA-D4A7-4CBB-A8A3-45ADA67FB008}.Debug|Any CPU.Build.0 = Debug|Any CPU + {67326BDA-D4A7-4CBB-A8A3-45ADA67FB008}.ExportDebug|Any CPU.ActiveCfg = ExportDebug|Any CPU + {67326BDA-D4A7-4CBB-A8A3-45ADA67FB008}.ExportDebug|Any CPU.Build.0 = ExportDebug|Any CPU + {67326BDA-D4A7-4CBB-A8A3-45ADA67FB008}.ExportRelease|Any CPU.ActiveCfg = ExportRelease|Any CPU + {67326BDA-D4A7-4CBB-A8A3-45ADA67FB008}.ExportRelease|Any CPU.Build.0 = ExportRelease|Any CPU + EndGlobalSection +EndGlobal diff --git a/SzApp/icon.svg b/SzApp/icon.svg new file mode 100644 index 0000000..c6bbb7d --- /dev/null +++ b/SzApp/icon.svg @@ -0,0 +1 @@ + diff --git a/SzApp/icon.svg.import b/SzApp/icon.svg.import new file mode 100644 index 0000000..f0dcd1c --- /dev/null +++ b/SzApp/icon.svg.import @@ -0,0 +1,43 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bpdl1bfqvoemt" +path="res://.godot/imported/icon.svg-218a8f2b3041327d8a5756f3a245f83b.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://icon.svg" +dest_files=["res://.godot/imported/icon.svg-218a8f2b3041327d8a5756f3a245f83b.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 +svg/scale=1.0 +editor/scale_with_editor_scale=false +editor/convert_colors_with_editor_theme=false diff --git a/SzApp/project.godot b/SzApp/project.godot new file mode 100644 index 0000000..78e0d4e --- /dev/null +++ b/SzApp/project.godot @@ -0,0 +1,29 @@ +; Engine configuration file. +; It's best edited using the editor UI and not directly, +; since the parameters that go here are not all obvious. +; +; Format: +; [section] ; section goes between [] +; param=value ; assign values to parameters + +config_version=5 + +[application] + +config/name="SessionZero" +config/features=PackedStringArray("4.6", "C#", "GL Compatibility") +config/icon="res://icon.svg" + +[dotnet] + +project/assembly_name="SessionZero" + +[physics] + +3d/physics_engine="Jolt Physics" + +[rendering] + +rendering_device/driver.windows="d3d12" +renderer/rendering_method="gl_compatibility" +renderer/rendering_method.mobile="gl_compatibility" diff --git a/SzApp/scenes/main.tscn b/SzApp/scenes/main.tscn new file mode 100644 index 0000000..44047f1 --- /dev/null +++ b/SzApp/scenes/main.tscn @@ -0,0 +1,3 @@ +[gd_scene format=3 uid="uid://cwcif3u0lo4pr"] + +[node name="Main" type="Node" unique_id=1827845716] diff --git a/flake.nix b/flake.nix index b3a393a..b898f77 100644 --- a/flake.nix +++ b/flake.nix @@ -19,6 +19,8 @@ dotnet-sdk omnisharp-roslyn pkg-config + + godot-mono ]; buildInputs = with pkgs; [