From 95998e0f529d58b71f75044280c5685f58a15344 Mon Sep 17 00:00:00 2001 From: Chris Bell Date: Sat, 15 Feb 2025 10:54:05 -0600 Subject: [PATCH] Some clean up --- .../Core/Scripts/Cogwheel/GodotCogwheelConsole.cs | 2 +- ADEPT-Godot/Core/Scripts/Main.cs | 10 ++++++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/ADEPT-Godot/Core/Scripts/Cogwheel/GodotCogwheelConsole.cs b/ADEPT-Godot/Core/Scripts/Cogwheel/GodotCogwheelConsole.cs index 42ed279..566f94e 100644 --- a/ADEPT-Godot/Core/Scripts/Cogwheel/GodotCogwheelConsole.cs +++ b/ADEPT-Godot/Core/Scripts/Cogwheel/GodotCogwheelConsole.cs @@ -19,7 +19,7 @@ public partial class GodotCogwheelConsole : Control, ICogwheelConsole {"error", new Color(1, 0, 0)}, {"warning", new Color(1, 1, 0)}, {"log", new Color(1, 1, 1)}, - {"info", new Color(0, 0, 1)}, + {"info", new Color(0, 0.3f, 1)}, {"commandHighlight", new Color(0, 0.8f, 0.4f)}, }; diff --git a/ADEPT-Godot/Core/Scripts/Main.cs b/ADEPT-Godot/Core/Scripts/Main.cs index 40477ee..3b6a857 100644 --- a/ADEPT-Godot/Core/Scripts/Main.cs +++ b/ADEPT-Godot/Core/Scripts/Main.cs @@ -10,7 +10,7 @@ namespace ADEPT.Core; public partial class Main : Node { private static CommandsManager _commandsManager; - private static ICogwheelConsole _cogwheelConsole; + private static GodotCogwheelConsole _cogwheelConsole; public CanvasLayer MainCanvas { get; private set; } @@ -28,10 +28,12 @@ public partial class Main : Node _commandsManager.AddAssembly(Assembly.GetAssembly(typeof(CommandsManager))); COGWHEEL.Initialize(_commandsManager, _cogwheelConsole); - - GD.Print("ADEPT initialized."); - COGWHEEL.RegisterObject(this); + + _cogwheelConsole.LogInfo("COGWHEEL " + " initialized."); + _cogwheelConsole.LogInfo("ADEPT " + ADEPT.Constants.Version + " initialized."); + _cogwheelConsole.LogInfo("Type 'list' for a list of commands."); + } [Command(Name = "test", Description = "Test command.")]