move to new git server

This commit is contained in:
h z
2025-01-19 13:54:30 +00:00
parent 7ae3c9d374
commit 532a8a795b
20 changed files with 34 additions and 33 deletions

View File

@@ -1,13 +1,14 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Godot.NET.Sdk/4.4.0-beta.1">
<PropertyGroup> <PropertyGroup>
<TargetFramework>net8.0</TargetFramework> <EnableDynamicLoading>true</EnableDynamicLoading>
<TargetFramework>net9.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings> <ImplicitUsings>enable</ImplicitUsings>
<Nullable>disable</Nullable> <Nullable>disable</Nullable>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="GodotSharp" Version="4.4.0-dev.2" /> <PackageReference Include="GodotSharp" Version="4.4.0-beta.1" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>

View File

@@ -1,6 +1,6 @@
using Godot; using Godot;
namespace Nocturnis.Hermeteus.BracketSystem; namespace Nocturnis.BracketSystem;
public static class EInstructionArrowEnd public static class EInstructionArrowEnd
{ {

View File

@@ -1,6 +1,6 @@
using Godot; using Godot;
namespace Nocturnis.Hermeteus.BracketSystem; namespace Nocturnis.BracketSystem;
public static class EInstructionArrowStart public static class EInstructionArrowStart
{ {

View File

@@ -1,4 +1,4 @@
namespace Nocturnis.Hermeteus.BracketSystem; namespace Nocturnis.BracketSystem;
public interface IBracketLine public interface IBracketLine
{ {

View File

@@ -1,4 +1,4 @@
namespace Nocturnis.Hermeteus.BracketSystem; namespace Nocturnis.BracketSystem;
public interface IBracketTopic public interface IBracketTopic
{ {

View File

@@ -1,8 +1,7 @@
using Godot;
using Nocturnis.Godot; using Nocturnis.Godot;
using Nocturnis.UIElements.Layers; using Nocturnis.UIElements.Layers;
namespace Nocturnis.Hermeteus.BracketSystem; namespace Nocturnis.BracketSystem;
public interface IInstructionAgent : INode public interface IInstructionAgent : INode
{ {

View File

@@ -1,6 +1,6 @@
using Godot; using Godot;
namespace Nocturnis.Hermeteus.BracketSystem; namespace Nocturnis.BracketSystem;
public interface IInstructionArrowEnd public interface IInstructionArrowEnd
{ {

View File

@@ -1,6 +1,6 @@
using Nocturnis.UIElements.Layers; using Nocturnis.UIElements.Layers;
namespace Nocturnis.Hermeteus.BracketSystem; namespace Nocturnis.BracketSystem;
public interface IInstructionArrowManager : IInstructionArrowStart public interface IInstructionArrowManager : IInstructionArrowStart
{ {

View File

@@ -1,6 +1,6 @@
using Godot; using Godot;
namespace Nocturnis.Hermeteus.BracketSystem; namespace Nocturnis.BracketSystem;
public interface IInstructionArrowStart public interface IInstructionArrowStart
{ {

View File

@@ -1,4 +1,4 @@
namespace Nocturnis.Hermeteus.BracketSystem.Processors; namespace Nocturnis.BracketSystem.Processors;
public interface IBracketProcessor public interface IBracketProcessor
{ {

View File

@@ -1,6 +1,6 @@
using Godot; using Godot;
namespace Alchegos.DataStructure; namespace Nocturnis.DataStructures;
public partial class VariantWithType : Resource public partial class VariantWithType : Resource
{ {

View File

@@ -1,4 +1,5 @@
using Godot; using Godot;
using Nocturnis.DataStructures.States;
using Nocturnis.Enigmos.Modules; using Nocturnis.Enigmos.Modules;
using Nocturnis.GlobalManagement.Providers; using Nocturnis.GlobalManagement.Providers;
@@ -8,6 +9,9 @@ public class EnigmosControl
{ {
private static EnigmosControl _instance { get; set; } private static EnigmosControl _instance { get; set; }
private static object _lock = new(); private static object _lock = new();
public const string StateOff = "Off";
public const string StateOn = "On";
public const string StateEngine = "Engine";
public static EnigmosControl Instance public static EnigmosControl Instance
{ {
get get
@@ -19,15 +23,20 @@ public class EnigmosControl
private EnigmosControl() private EnigmosControl()
{ {
StateControl.Instance.AddRule(
(path, fromState, toState) =>
path.Equals(StateEngine) && (
toState.Equals(StateOff) || toState.Equals(StateOn)
)
);
} }
public IRootModule RootModule { get; set; } public IRootModule RootModule { get; set; }
public void ShutDownEngine() public void ShutDownEngine()
{ {
((GlobalProvider.SceneProvider.RootScene.EngineSwitch as TextureButton)!).TextureNormal = ((GlobalProvider.SceneProvider.RootScene.EngineSwitch as TextureButton)!).TextureNormal =
GlobalProvider.TextureProvider.EngineSwitchOff; GlobalProvider.TextureProvider.EngineSwitchOff;
EngineUp = false; EngineUp = false;
StateControl.Instance[StateEngine] = StateOff;
} }
public void PowerUpEngine() public void PowerUpEngine()
@@ -36,6 +45,7 @@ public class EnigmosControl
(GlobalProvider.SceneProvider.RootScene.EngineSwitch as TextureButton)!.TextureNormal = (GlobalProvider.SceneProvider.RootScene.EngineSwitch as TextureButton)!.TextureNormal =
GlobalProvider.TextureProvider.EngineSwitchOn; GlobalProvider.TextureProvider.EngineSwitchOn;
EngineUp = true; EngineUp = true;
StateControl.Instance[StateEngine] = StateOn;
} }
public double Energy { get; set; } = 1d; public double Energy { get; set; } = 1d;

View File

@@ -1,6 +1,6 @@
using System.Text.Json; using System.Text.Json;
using Nocturnis.BracketSystem;
using Nocturnis.GlobalManagement.Providers; using Nocturnis.GlobalManagement.Providers;
using Nocturnis.Hermeteus.BracketSystem;
namespace Nocturnis.GlobalManagement.Controls; namespace Nocturnis.GlobalManagement.Controls;

View File

@@ -1,4 +1,4 @@
using Nocturnis.Hermeteus.BracketSystem; using Nocturnis.BracketSystem;
namespace Nocturnis.GlobalManagement.Providers; namespace Nocturnis.GlobalManagement.Providers;

View File

@@ -1,5 +1,5 @@
using Godot; using Godot;
using Nocturnis.Hermeteus.BracketSystem; using Nocturnis.BracketSystem;
namespace Nocturnis.GlobalManagement.Providers; namespace Nocturnis.GlobalManagement.Providers;

View File

@@ -1,8 +0,0 @@
using Godot;
namespace Nocturnis.Hermeteus.QuerySystem;
public interface IQueryEngine
{
bool Check(string query);
}

View File

@@ -1,6 +1,5 @@
using Godot; using Godot;
using Nocturnis.Godot; using Nocturnis.Godot;
using Nocturnis.Hermeteus;
using Nocturnis.UIElements; using Nocturnis.UIElements;
using Nocturnis.UIElements.Layers; using Nocturnis.UIElements.Layers;

View File

@@ -1,5 +1,5 @@
using Nocturnis.BracketSystem;
using Nocturnis.Godot; using Nocturnis.Godot;
using Nocturnis.Hermeteus.BracketSystem;
namespace Nocturnis.UIElements; namespace Nocturnis.UIElements;

View File

@@ -1,5 +1,5 @@
using Nocturnis.BracketSystem;
using Nocturnis.Godot; using Nocturnis.Godot;
using Nocturnis.Hermeteus.BracketSystem;
namespace Nocturnis.UIElements; namespace Nocturnis.UIElements;

View File

@@ -1,7 +1,7 @@
using Nocturnis.BracketSystem;
using Nocturnis.BracketSystem.Processors;
using Nocturnis.Godot; using Nocturnis.Godot;
using Nocturnis.Hermeteus;
using Nocturnis.Hermeteus.BracketSystem;
using Nocturnis.Hermeteus.BracketSystem.Processors;
namespace Nocturnis.UIElements.Layers; namespace Nocturnis.UIElements.Layers;