new battle gui

This commit is contained in:
cthangover committed 2026-09-28 10:48:06 +03:00
1 parent 7521959cc0
commit 86b3bf97a7
8 files changed
+39 -10

No files matched your search

+28
View File
@@ -0,0 +1,28 @@
{
"id": "dev_tools",
"name": "Developer Tools",
"author": "ct",
"version": "1.0.0",
"description": "Mod authoring toolset: the scenario graph editor, content validators and the mod manager.",
"mechanics": [
{
"id": "editor",
"name": "Scenario Editor",
"description": "Graph-based scenario and scene authoring tools.",
"mods": ["tools>=1"]
},
{
"id": "validation",
"name": "Validation",
"description": "Optional content validation suite.",
"mods": ["validator>=0.1"],
"optional": true
},
{
"id": "manager",
"name": "Mod Manager",
"description": "Catalog browser and installer.",
"mods": ["mod_manager>=1"]
}
]
}
-5
View File
@@ -1,11 +1,6 @@
mod_tools_name = Tools mod_tools_name = Tools
mod_tools_desc = Development tools mod_tools_desc = Development tools
tools/title = Tools
tools/select_tool = Select a tool:
tools/launch = Launch
tools/close = Close
tools/light_editor/title = Light Editor tools/light_editor/title = Light Editor
tools/light_editor/background = Background tools/light_editor/background = Background
tools/light_editor/static_lights = Static lights (max. 10) tools/light_editor/static_lights = Static lights (max. 10)
-5
View File
@@ -2,11 +2,6 @@
mod_tools_name = Инструменты mod_tools_name = Инструменты
mod_tools_desc = Инструменты разработчика mod_tools_desc = Инструменты разработчика
tools/title = Инструменты
tools/select_tool = Выберите инструмент:
tools/launch = Запустить
tools/close = Закрыть
tools/light_editor/title = Редактор освещения tools/light_editor/title = Редактор освещения
tools/light_editor/background = Фон tools/light_editor/background = Фон
tools/light_editor/static_lights = Статичные источники (макс. 10) tools/light_editor/static_lights = Статичные источники (макс. 10)
@@ -19,5 +19,8 @@ namespace Cthangover.Core.UI.Tool.CatalogExport
/// <summary>Creates the export window instance.</summary> /// <summary>Creates the export window instance.</summary>
public Window CreateWindow() => new CatalogExportWindow(); public Window CreateWindow() => new CatalogExportWindow();
/// <summary>Adds the catalog export launcher button to the main menu tool block.</summary>
public void AddMenuButton(Container container) => ToolMenuButton.Attach(container, this);
} }
} }
@@ -16,6 +16,8 @@ namespace Cthangover.Tools.InteractiveEditor
public string LocaleKey => "tools/interactive_editor/title"; public string LocaleKey => "tools/interactive_editor/title";
/// <summary>Creates the editor window instance.</summary> /// <summary>Creates the editor window instance.</summary>
public Window CreateWindow() => new InteractiveEditorWindow(); public Window CreateWindow() => new InteractiveEditorWindow();
/// <summary>Adds the interactive editor's launcher button to the main menu tool block.</summary>
public void AddMenuButton(Container container) => ToolMenuButton.Attach(container, this);
} }
/// <summary> /// <summary>
@@ -12,6 +12,8 @@ namespace Cthangover.Core.UI.Tool.LightEditor
public string LocaleKey => "tools/light_editor/title"; public string LocaleKey => "tools/light_editor/title";
/// <summary>Creates the editor window instance.</summary> /// <summary>Creates the editor window instance.</summary>
public Window CreateWindow() => new LightEditorWindow(); public Window CreateWindow() => new LightEditorWindow();
/// <summary>Adds the light editor's launcher button to the main menu tool block.</summary>
public void AddMenuButton(Container container) => ToolMenuButton.Attach(container, this);
} }
/// <summary>Toolbox button that opens the light editor. Always visible.</summary> /// <summary>Toolbox button that opens the light editor. Always visible.</summary>
@@ -12,5 +12,7 @@ namespace Cthangover.Core.UI.Tool.ScenarioEditor
public string LocaleKey => "tools/scenario_editor/title"; public string LocaleKey => "tools/scenario_editor/title";
/// <summary>Creates the editor window instance.</summary> /// <summary>Creates the editor window instance.</summary>
public Window CreateWindow() => new ScenarioEditorWindow(); public Window CreateWindow() => new ScenarioEditorWindow();
/// <summary>Adds the scenario editor's launcher button to the main menu tool block.</summary>
public void AddMenuButton(Container container) => ToolMenuButton.Attach(container, this);
} }
} }
@@ -12,5 +12,7 @@ namespace Cthangover.Core.UI.Tool.SceneBuilder
public string LocaleKey => "tools/scene_builder/title"; public string LocaleKey => "tools/scene_builder/title";
/// <summary>Creates the editor window instance.</summary> /// <summary>Creates the editor window instance.</summary>
public Window CreateWindow() => new SceneBuilderWindow(); public Window CreateWindow() => new SceneBuilderWindow();
/// <summary>Adds the scene builder's launcher button to the main menu tool block.</summary>
public void AddMenuButton(Container container) => ToolMenuButton.Attach(container, this);
} }
} }