Skip to content

Commit 23b7805

Browse files
New restart btn, script changes and bug fixes (#185)
1 parent 166486c commit 23b7805

File tree

5 files changed

+7
-77
lines changed

5 files changed

+7
-77
lines changed

.editorconfig

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,24 +6,16 @@ root = true
66
generated_code = true
77
dotnet_analyzer_diagnostic.severity = none
88

9-
# C# files
10-
[*.cs]
11-
129
# Godot Documentation says to use LF line endings
13-
[*]
10+
[*.cs]
1411
end_of_line = lf
15-
16-
#### Core EditorConfig Options ####
12+
insert_final_newline = true
1713

1814
# Indentation and spacing
1915
indent_size = 4
2016
indent_style = space
2117
tab_width = 4
2218

23-
# New line preferences
24-
end_of_line = crlf
25-
insert_final_newline = true
26-
2719
# Allow implicit casting in foreach loop (Explicit casting is too verbose)
2820
dotnet_diagnostic.IDE0220.severity = none
2921

Framework/Commands.cs

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
1-
using Godot;
2-
using GodotUtils;
31
using GodotUtils.UI.Console;
42
using System.Collections.Generic;
53
using System.Linq;
64

7-
namespace __TEMPLATE__.UI;
5+
namespace GodotUtils.UI;
86

9-
public partial class Commands : Node
7+
public class Commands
108
{
11-
public override void _Ready()
9+
public static void RegisterAll()
1210
{
1311
GameConsole.RegisterCommand("help", CommandHelp);
1412
GameConsole.RegisterCommand("quit", CommandQuit).WithAliases("exit");

Localisation/text.csv

Lines changed: 0 additions & 59 deletions
This file was deleted.

project.godot

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ config/icon="res://Framework/Icon.svg"
2020

2121
Autoloads="*res://Framework/GodotUtils/Scenes/Autoloads.tscn"
2222
ImGuiRoot="*res://addons/imgui-godot/data/ImGuiRoot.tscn"
23-
Commands="*res://Framework/Commands.cs"
2423

2524
[display]
2625

@@ -105,7 +104,7 @@ toggle_console={
105104

106105
[internationalization]
107106

108-
locale/translations=PackedStringArray("res://Localisation/text.en.translation", "res://Localisation/text.fr.translation", "res://Localisation/text.ja.translation")
107+
locale/translations=PackedStringArray("res://Framework/GodotUtils/Localisation/text.en.translation", "res://Framework/GodotUtils/Localisation/text.fr.translation", "res://Framework/GodotUtils/Localisation/text.ja.translation")
109108

110109
[rendering]
111110

0 commit comments

Comments
 (0)