From 343f75433e5a3aa6d51a0d63daabb6b4529c9b50 Mon Sep 17 00:00:00 2001 From: Dominic Masters Date: Tue, 31 Oct 2023 21:15:03 -0500 Subject: [PATCH] Moved C++ tools out --- .gitignore | 1 - CMakeLists.txt | 5 ++++- {src => archive}/dawntools/prefabtool/CMakeLists.txt | 0 {src => archive}/dawntools/prefabtool/PrefabGen.cpp | 0 {src => archive}/dawntools/prefabtool/PrefabGen.hpp | 0 .../dawntools/prefabtool/PrefabParser.cpp | 0 .../dawntools/prefabtool/PrefabParser.hpp | 0 {src => archive}/dawntools/prefabtool/PrefabTool.cpp | 0 {src => archive}/dawntools/prefabtool/PrefabTool.hpp | 0 {src => archive}/dawntools/scenetool/CMakeLists.txt | 0 {src => archive}/dawntools/scenetool/SceneGen.cpp | 0 {src => archive}/dawntools/scenetool/SceneGen.hpp | 0 {src => archive}/dawntools/scenetool/SceneTool.cpp | 0 {src => archive}/dawntools/scenetool/SceneTool.hpp | 0 .../dawntools/truetypetool/CMakeLists.txt | 0 .../dawntools/truetypetool/TrueTypeTool.cpp | 0 .../dawntools/truetypetool/TrueTypeTool.hpp | 0 {src => archive}/dawntools/util/CMakeLists.txt | 0 {src => archive}/dawntools/util/CodeGen.cpp | 0 {src => archive}/dawntools/util/CodeGen.hpp | 0 {src => archive}/dawntools/util/DawnTool.cpp | 0 {src => archive}/dawntools/util/DawnTool.hpp | 0 {src => archive}/dawntools/util/Directory.cpp | 0 {src => archive}/dawntools/util/Directory.hpp | 0 {src => archive}/dawntools/util/File.cpp | 0 {src => archive}/dawntools/util/File.hpp | 0 {src => archive}/dawntools/util/Image.cpp | 0 {src => archive}/dawntools/util/Image.hpp | 0 {src => archive}/dawntools/util/Language.cpp | 0 {src => archive}/dawntools/util/Language.hpp | 0 {src => archive}/dawntools/util/XmlParser.hpp | 0 .../dawntools/util/generator/CMakeLists.txt | 0 .../dawntools/util/generator/SceneAssetGenerator.cpp | 0 .../dawntools/util/generator/SceneAssetGenerator.hpp | 0 .../dawntools/util/generator/SceneCodeGenerator.cpp | 0 .../dawntools/util/generator/SceneCodeGenerator.hpp | 0 .../dawntools/util/generator/SceneGenerator.cpp | 0 .../dawntools/util/generator/SceneGenerator.hpp | 0 .../util/generator/SceneItemComponentGenerator.cpp | 0 .../util/generator/SceneItemComponentGenerator.hpp | 0 .../dawntools/util/generator/SceneItemGenerator.cpp | 0 .../dawntools/util/generator/SceneItemGenerator.hpp | 0 .../dawntools/util/parser/CMakeLists.txt | 0 .../dawntools/util/parser/SceneAssetParser.cpp | 0 .../dawntools/util/parser/SceneAssetParser.hpp | 0 .../dawntools/util/parser/SceneCodeParser.cpp | 0 .../dawntools/util/parser/SceneCodeParser.hpp | 0 .../util/parser/SceneItemComponentParser.cpp | 0 .../util/parser/SceneItemComponentParser.hpp | 0 .../util/parser/SceneItemComponentRegistry.cpp | 0 .../util/parser/SceneItemComponentRegistry.hpp | 0 .../dawntools/util/parser/SceneItemParser.cpp | 0 .../dawntools/util/parser/SceneItemParser.hpp | 0 .../dawntools/util/parser/SceneParser.cpp | 0 .../dawntools/util/parser/SceneParser.hpp | 0 {src => archive}/dawntools/util/string.hpp | 0 .../dawntools/vnscenetool/CMakeLists.txt | 0 .../dawntools/vnscenetool/VNSceneGen.cpp | 0 .../dawntools/vnscenetool/VNSceneGen.hpp | 0 .../dawntools/vnscenetool/VNSceneItemParser.cpp | 0 .../dawntools/vnscenetool/VNSceneItemParser.hpp | 0 .../dawntools/vnscenetool/VNSceneParser.cpp | 0 .../dawntools/vnscenetool/VNSceneParser.hpp | 0 .../dawntools/vnscenetool/VNSceneTool.cpp | 0 .../dawntools/vnscenetool/VNSceneTool.hpp | 0 .../dawntools/vnscenetool/events/CMakeLists.txt | 0 .../vnscenetool/events/VNChoiceEventParser.cpp | 0 .../vnscenetool/events/VNChoiceEventParser.hpp | 0 .../vnscenetool/events/VNChoiceSetEventParser.cpp | 0 .../vnscenetool/events/VNChoiceSetEventParser.hpp | 0 .../vnscenetool/events/VNGoToMarkerEventParser.cpp | 0 .../vnscenetool/events/VNGoToMarkerEventParser.hpp | 0 .../dawntools/vnscenetool/events/VNIfEventParser.cpp | 0 .../dawntools/vnscenetool/events/VNIfEventParser.hpp | 0 .../dawntools/vnscenetool/events/VNMarkerParser.cpp | 0 .../dawntools/vnscenetool/events/VNMarkerParser.hpp | 0 .../vnscenetool/events/VNParallelEventParser.cpp | 0 .../vnscenetool/events/VNParallelEventParser.hpp | 0 .../vnscenetool/events/VNPositionEventParser.cpp | 0 .../vnscenetool/events/VNPositionEventParser.hpp | 0 .../vnscenetool/events/VNSceneChangeEventParser.cpp | 0 .../vnscenetool/events/VNSceneChangeEventParser.hpp | 0 .../vnscenetool/events/VNSceneEventsParser.cpp | 0 .../vnscenetool/events/VNSceneEventsParser.hpp | 0 .../events/VNSetDefaultFontEventParser.cpp | 0 .../events/VNSetDefaultFontEventParser.hpp | 0 .../vnscenetool/events/VNSetEventParser.cpp | 0 .../vnscenetool/events/VNSetEventParser.hpp | 0 .../vnscenetool/events/VNTextEventParser.cpp | 0 .../vnscenetool/events/VNTextEventParser.hpp | 0 .../vnscenetool/events/VNWaitEventParser.cpp | 0 .../vnscenetool/events/VNWaitEventParser.hpp | 0 src/CMakeLists.txt | 3 --- {src/dawntools => tools}/CMakeLists.txt | 12 +----------- {src/dawntools => tools}/assetstool/CMakeLists.txt | 0 {src/dawntools => tools}/assetstool/assetstool.py | 0 {src/dawntools => tools}/texturetool/CMakeLists.txt | 0 {src/dawntools => tools}/texturetool/texturetool.py | 0 98 files changed, 5 insertions(+), 16 deletions(-) rename {src => archive}/dawntools/prefabtool/CMakeLists.txt (100%) rename {src => archive}/dawntools/prefabtool/PrefabGen.cpp (100%) rename {src => archive}/dawntools/prefabtool/PrefabGen.hpp (100%) rename {src => archive}/dawntools/prefabtool/PrefabParser.cpp (100%) rename {src => archive}/dawntools/prefabtool/PrefabParser.hpp (100%) rename {src => archive}/dawntools/prefabtool/PrefabTool.cpp (100%) rename {src => archive}/dawntools/prefabtool/PrefabTool.hpp (100%) rename {src => archive}/dawntools/scenetool/CMakeLists.txt (100%) rename {src => archive}/dawntools/scenetool/SceneGen.cpp (100%) rename {src => archive}/dawntools/scenetool/SceneGen.hpp (100%) rename {src => archive}/dawntools/scenetool/SceneTool.cpp (100%) rename {src => archive}/dawntools/scenetool/SceneTool.hpp (100%) rename {src => archive}/dawntools/truetypetool/CMakeLists.txt (100%) rename {src => archive}/dawntools/truetypetool/TrueTypeTool.cpp (100%) rename {src => archive}/dawntools/truetypetool/TrueTypeTool.hpp (100%) rename {src => archive}/dawntools/util/CMakeLists.txt (100%) rename {src => archive}/dawntools/util/CodeGen.cpp (100%) rename {src => archive}/dawntools/util/CodeGen.hpp (100%) rename {src => archive}/dawntools/util/DawnTool.cpp (100%) rename {src => archive}/dawntools/util/DawnTool.hpp (100%) rename {src => archive}/dawntools/util/Directory.cpp (100%) rename {src => archive}/dawntools/util/Directory.hpp (100%) rename {src => archive}/dawntools/util/File.cpp (100%) rename {src => archive}/dawntools/util/File.hpp (100%) rename {src => archive}/dawntools/util/Image.cpp (100%) rename {src => archive}/dawntools/util/Image.hpp (100%) rename {src => archive}/dawntools/util/Language.cpp (100%) rename {src => archive}/dawntools/util/Language.hpp (100%) rename {src => archive}/dawntools/util/XmlParser.hpp (100%) rename {src => archive}/dawntools/util/generator/CMakeLists.txt (100%) rename {src => archive}/dawntools/util/generator/SceneAssetGenerator.cpp (100%) rename {src => archive}/dawntools/util/generator/SceneAssetGenerator.hpp (100%) rename {src => archive}/dawntools/util/generator/SceneCodeGenerator.cpp (100%) rename {src => archive}/dawntools/util/generator/SceneCodeGenerator.hpp (100%) rename {src => archive}/dawntools/util/generator/SceneGenerator.cpp (100%) rename {src => archive}/dawntools/util/generator/SceneGenerator.hpp (100%) rename {src => archive}/dawntools/util/generator/SceneItemComponentGenerator.cpp (100%) rename {src => archive}/dawntools/util/generator/SceneItemComponentGenerator.hpp (100%) rename {src => archive}/dawntools/util/generator/SceneItemGenerator.cpp (100%) rename {src => archive}/dawntools/util/generator/SceneItemGenerator.hpp (100%) rename {src => archive}/dawntools/util/parser/CMakeLists.txt (100%) rename {src => archive}/dawntools/util/parser/SceneAssetParser.cpp (100%) rename {src => archive}/dawntools/util/parser/SceneAssetParser.hpp (100%) rename {src => archive}/dawntools/util/parser/SceneCodeParser.cpp (100%) rename {src => archive}/dawntools/util/parser/SceneCodeParser.hpp (100%) rename {src => archive}/dawntools/util/parser/SceneItemComponentParser.cpp (100%) rename {src => archive}/dawntools/util/parser/SceneItemComponentParser.hpp (100%) rename {src => archive}/dawntools/util/parser/SceneItemComponentRegistry.cpp (100%) rename {src => archive}/dawntools/util/parser/SceneItemComponentRegistry.hpp (100%) rename {src => archive}/dawntools/util/parser/SceneItemParser.cpp (100%) rename {src => archive}/dawntools/util/parser/SceneItemParser.hpp (100%) rename {src => archive}/dawntools/util/parser/SceneParser.cpp (100%) rename {src => archive}/dawntools/util/parser/SceneParser.hpp (100%) rename {src => archive}/dawntools/util/string.hpp (100%) rename {src => archive}/dawntools/vnscenetool/CMakeLists.txt (100%) rename {src => archive}/dawntools/vnscenetool/VNSceneGen.cpp (100%) rename {src => archive}/dawntools/vnscenetool/VNSceneGen.hpp (100%) rename {src => archive}/dawntools/vnscenetool/VNSceneItemParser.cpp (100%) rename {src => archive}/dawntools/vnscenetool/VNSceneItemParser.hpp (100%) rename {src => archive}/dawntools/vnscenetool/VNSceneParser.cpp (100%) rename {src => archive}/dawntools/vnscenetool/VNSceneParser.hpp (100%) rename {src => archive}/dawntools/vnscenetool/VNSceneTool.cpp (100%) rename {src => archive}/dawntools/vnscenetool/VNSceneTool.hpp (100%) rename {src => archive}/dawntools/vnscenetool/events/CMakeLists.txt (100%) rename {src => archive}/dawntools/vnscenetool/events/VNChoiceEventParser.cpp (100%) rename {src => archive}/dawntools/vnscenetool/events/VNChoiceEventParser.hpp (100%) rename {src => archive}/dawntools/vnscenetool/events/VNChoiceSetEventParser.cpp (100%) rename {src => archive}/dawntools/vnscenetool/events/VNChoiceSetEventParser.hpp (100%) rename {src => archive}/dawntools/vnscenetool/events/VNGoToMarkerEventParser.cpp (100%) rename {src => archive}/dawntools/vnscenetool/events/VNGoToMarkerEventParser.hpp (100%) rename {src => archive}/dawntools/vnscenetool/events/VNIfEventParser.cpp (100%) rename {src => archive}/dawntools/vnscenetool/events/VNIfEventParser.hpp (100%) rename {src => archive}/dawntools/vnscenetool/events/VNMarkerParser.cpp (100%) rename {src => archive}/dawntools/vnscenetool/events/VNMarkerParser.hpp (100%) rename {src => archive}/dawntools/vnscenetool/events/VNParallelEventParser.cpp (100%) rename {src => archive}/dawntools/vnscenetool/events/VNParallelEventParser.hpp (100%) rename {src => archive}/dawntools/vnscenetool/events/VNPositionEventParser.cpp (100%) rename {src => archive}/dawntools/vnscenetool/events/VNPositionEventParser.hpp (100%) rename {src => archive}/dawntools/vnscenetool/events/VNSceneChangeEventParser.cpp (100%) rename {src => archive}/dawntools/vnscenetool/events/VNSceneChangeEventParser.hpp (100%) rename {src => archive}/dawntools/vnscenetool/events/VNSceneEventsParser.cpp (100%) rename {src => archive}/dawntools/vnscenetool/events/VNSceneEventsParser.hpp (100%) rename {src => archive}/dawntools/vnscenetool/events/VNSetDefaultFontEventParser.cpp (100%) rename {src => archive}/dawntools/vnscenetool/events/VNSetDefaultFontEventParser.hpp (100%) rename {src => archive}/dawntools/vnscenetool/events/VNSetEventParser.cpp (100%) rename {src => archive}/dawntools/vnscenetool/events/VNSetEventParser.hpp (100%) rename {src => archive}/dawntools/vnscenetool/events/VNTextEventParser.cpp (100%) rename {src => archive}/dawntools/vnscenetool/events/VNTextEventParser.hpp (100%) rename {src => archive}/dawntools/vnscenetool/events/VNWaitEventParser.cpp (100%) rename {src => archive}/dawntools/vnscenetool/events/VNWaitEventParser.hpp (100%) rename {src/dawntools => tools}/CMakeLists.txt (53%) rename {src/dawntools => tools}/assetstool/CMakeLists.txt (100%) rename {src/dawntools => tools}/assetstool/assetstool.py (100%) rename {src/dawntools => tools}/texturetool/CMakeLists.txt (100%) rename {src/dawntools => tools}/texturetool/texturetool.py (100%) diff --git a/.gitignore b/.gitignore index d7c3cd4c..e13527be 100644 --- a/.gitignore +++ b/.gitignore @@ -83,7 +83,6 @@ assets/borrowed .VSCode* /vita -/tools ._* diff --git a/CMakeLists.txt b/CMakeLists.txt index d72d5a0a..a25a21f7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -17,7 +17,7 @@ set(DAWN_CACHE_TARGET "dawn-target") set(DAWN_ROOT_DIR "${CMAKE_SOURCE_DIR}") set(DAWN_BUILD_DIR "${CMAKE_BINARY_DIR}") set(DAWN_SOURCES_DIR "${DAWN_ROOT_DIR}/src") -set(DAWN_TOOLS_DIR "${DAWN_SOURCES_DIR}/dawntools") +set(DAWN_TOOLS_DIR "${DAWN_ROOT_DIR}/tools") set(DAWN_ASSETS_SOURCE_DIR "${DAWN_ROOT_DIR}/assets") set(DAWN_ASSETS_BUILD_DIR "${DAWN_BUILD_DIR}/assets") set(DAWN_GENERATED_DIR "${DAWN_BUILD_DIR}/generated") @@ -34,6 +34,9 @@ project(Dawn LANGUAGES C CXX ) +# Add tools +add_subdirectory(tools) + # Add Libraries add_subdirectory(lib) diff --git a/src/dawntools/prefabtool/CMakeLists.txt b/archive/dawntools/prefabtool/CMakeLists.txt similarity index 100% rename from src/dawntools/prefabtool/CMakeLists.txt rename to archive/dawntools/prefabtool/CMakeLists.txt diff --git a/src/dawntools/prefabtool/PrefabGen.cpp b/archive/dawntools/prefabtool/PrefabGen.cpp similarity index 100% rename from src/dawntools/prefabtool/PrefabGen.cpp rename to archive/dawntools/prefabtool/PrefabGen.cpp diff --git a/src/dawntools/prefabtool/PrefabGen.hpp b/archive/dawntools/prefabtool/PrefabGen.hpp similarity index 100% rename from src/dawntools/prefabtool/PrefabGen.hpp rename to archive/dawntools/prefabtool/PrefabGen.hpp diff --git a/src/dawntools/prefabtool/PrefabParser.cpp b/archive/dawntools/prefabtool/PrefabParser.cpp similarity index 100% rename from src/dawntools/prefabtool/PrefabParser.cpp rename to archive/dawntools/prefabtool/PrefabParser.cpp diff --git a/src/dawntools/prefabtool/PrefabParser.hpp b/archive/dawntools/prefabtool/PrefabParser.hpp similarity index 100% rename from src/dawntools/prefabtool/PrefabParser.hpp rename to archive/dawntools/prefabtool/PrefabParser.hpp diff --git a/src/dawntools/prefabtool/PrefabTool.cpp b/archive/dawntools/prefabtool/PrefabTool.cpp similarity index 100% rename from src/dawntools/prefabtool/PrefabTool.cpp rename to archive/dawntools/prefabtool/PrefabTool.cpp diff --git a/src/dawntools/prefabtool/PrefabTool.hpp b/archive/dawntools/prefabtool/PrefabTool.hpp similarity index 100% rename from src/dawntools/prefabtool/PrefabTool.hpp rename to archive/dawntools/prefabtool/PrefabTool.hpp diff --git a/src/dawntools/scenetool/CMakeLists.txt b/archive/dawntools/scenetool/CMakeLists.txt similarity index 100% rename from src/dawntools/scenetool/CMakeLists.txt rename to archive/dawntools/scenetool/CMakeLists.txt diff --git a/src/dawntools/scenetool/SceneGen.cpp b/archive/dawntools/scenetool/SceneGen.cpp similarity index 100% rename from src/dawntools/scenetool/SceneGen.cpp rename to archive/dawntools/scenetool/SceneGen.cpp diff --git a/src/dawntools/scenetool/SceneGen.hpp b/archive/dawntools/scenetool/SceneGen.hpp similarity index 100% rename from src/dawntools/scenetool/SceneGen.hpp rename to archive/dawntools/scenetool/SceneGen.hpp diff --git a/src/dawntools/scenetool/SceneTool.cpp b/archive/dawntools/scenetool/SceneTool.cpp similarity index 100% rename from src/dawntools/scenetool/SceneTool.cpp rename to archive/dawntools/scenetool/SceneTool.cpp diff --git a/src/dawntools/scenetool/SceneTool.hpp b/archive/dawntools/scenetool/SceneTool.hpp similarity index 100% rename from src/dawntools/scenetool/SceneTool.hpp rename to archive/dawntools/scenetool/SceneTool.hpp diff --git a/src/dawntools/truetypetool/CMakeLists.txt b/archive/dawntools/truetypetool/CMakeLists.txt similarity index 100% rename from src/dawntools/truetypetool/CMakeLists.txt rename to archive/dawntools/truetypetool/CMakeLists.txt diff --git a/src/dawntools/truetypetool/TrueTypeTool.cpp b/archive/dawntools/truetypetool/TrueTypeTool.cpp similarity index 100% rename from src/dawntools/truetypetool/TrueTypeTool.cpp rename to archive/dawntools/truetypetool/TrueTypeTool.cpp diff --git a/src/dawntools/truetypetool/TrueTypeTool.hpp b/archive/dawntools/truetypetool/TrueTypeTool.hpp similarity index 100% rename from src/dawntools/truetypetool/TrueTypeTool.hpp rename to archive/dawntools/truetypetool/TrueTypeTool.hpp diff --git a/src/dawntools/util/CMakeLists.txt b/archive/dawntools/util/CMakeLists.txt similarity index 100% rename from src/dawntools/util/CMakeLists.txt rename to archive/dawntools/util/CMakeLists.txt diff --git a/src/dawntools/util/CodeGen.cpp b/archive/dawntools/util/CodeGen.cpp similarity index 100% rename from src/dawntools/util/CodeGen.cpp rename to archive/dawntools/util/CodeGen.cpp diff --git a/src/dawntools/util/CodeGen.hpp b/archive/dawntools/util/CodeGen.hpp similarity index 100% rename from src/dawntools/util/CodeGen.hpp rename to archive/dawntools/util/CodeGen.hpp diff --git a/src/dawntools/util/DawnTool.cpp b/archive/dawntools/util/DawnTool.cpp similarity index 100% rename from src/dawntools/util/DawnTool.cpp rename to archive/dawntools/util/DawnTool.cpp diff --git a/src/dawntools/util/DawnTool.hpp b/archive/dawntools/util/DawnTool.hpp similarity index 100% rename from src/dawntools/util/DawnTool.hpp rename to archive/dawntools/util/DawnTool.hpp diff --git a/src/dawntools/util/Directory.cpp b/archive/dawntools/util/Directory.cpp similarity index 100% rename from src/dawntools/util/Directory.cpp rename to archive/dawntools/util/Directory.cpp diff --git a/src/dawntools/util/Directory.hpp b/archive/dawntools/util/Directory.hpp similarity index 100% rename from src/dawntools/util/Directory.hpp rename to archive/dawntools/util/Directory.hpp diff --git a/src/dawntools/util/File.cpp b/archive/dawntools/util/File.cpp similarity index 100% rename from src/dawntools/util/File.cpp rename to archive/dawntools/util/File.cpp diff --git a/src/dawntools/util/File.hpp b/archive/dawntools/util/File.hpp similarity index 100% rename from src/dawntools/util/File.hpp rename to archive/dawntools/util/File.hpp diff --git a/src/dawntools/util/Image.cpp b/archive/dawntools/util/Image.cpp similarity index 100% rename from src/dawntools/util/Image.cpp rename to archive/dawntools/util/Image.cpp diff --git a/src/dawntools/util/Image.hpp b/archive/dawntools/util/Image.hpp similarity index 100% rename from src/dawntools/util/Image.hpp rename to archive/dawntools/util/Image.hpp diff --git a/src/dawntools/util/Language.cpp b/archive/dawntools/util/Language.cpp similarity index 100% rename from src/dawntools/util/Language.cpp rename to archive/dawntools/util/Language.cpp diff --git a/src/dawntools/util/Language.hpp b/archive/dawntools/util/Language.hpp similarity index 100% rename from src/dawntools/util/Language.hpp rename to archive/dawntools/util/Language.hpp diff --git a/src/dawntools/util/XmlParser.hpp b/archive/dawntools/util/XmlParser.hpp similarity index 100% rename from src/dawntools/util/XmlParser.hpp rename to archive/dawntools/util/XmlParser.hpp diff --git a/src/dawntools/util/generator/CMakeLists.txt b/archive/dawntools/util/generator/CMakeLists.txt similarity index 100% rename from src/dawntools/util/generator/CMakeLists.txt rename to archive/dawntools/util/generator/CMakeLists.txt diff --git a/src/dawntools/util/generator/SceneAssetGenerator.cpp b/archive/dawntools/util/generator/SceneAssetGenerator.cpp similarity index 100% rename from src/dawntools/util/generator/SceneAssetGenerator.cpp rename to archive/dawntools/util/generator/SceneAssetGenerator.cpp diff --git a/src/dawntools/util/generator/SceneAssetGenerator.hpp b/archive/dawntools/util/generator/SceneAssetGenerator.hpp similarity index 100% rename from src/dawntools/util/generator/SceneAssetGenerator.hpp rename to archive/dawntools/util/generator/SceneAssetGenerator.hpp diff --git a/src/dawntools/util/generator/SceneCodeGenerator.cpp b/archive/dawntools/util/generator/SceneCodeGenerator.cpp similarity index 100% rename from src/dawntools/util/generator/SceneCodeGenerator.cpp rename to archive/dawntools/util/generator/SceneCodeGenerator.cpp diff --git a/src/dawntools/util/generator/SceneCodeGenerator.hpp b/archive/dawntools/util/generator/SceneCodeGenerator.hpp similarity index 100% rename from src/dawntools/util/generator/SceneCodeGenerator.hpp rename to archive/dawntools/util/generator/SceneCodeGenerator.hpp diff --git a/src/dawntools/util/generator/SceneGenerator.cpp b/archive/dawntools/util/generator/SceneGenerator.cpp similarity index 100% rename from src/dawntools/util/generator/SceneGenerator.cpp rename to archive/dawntools/util/generator/SceneGenerator.cpp diff --git a/src/dawntools/util/generator/SceneGenerator.hpp b/archive/dawntools/util/generator/SceneGenerator.hpp similarity index 100% rename from src/dawntools/util/generator/SceneGenerator.hpp rename to archive/dawntools/util/generator/SceneGenerator.hpp diff --git a/src/dawntools/util/generator/SceneItemComponentGenerator.cpp b/archive/dawntools/util/generator/SceneItemComponentGenerator.cpp similarity index 100% rename from src/dawntools/util/generator/SceneItemComponentGenerator.cpp rename to archive/dawntools/util/generator/SceneItemComponentGenerator.cpp diff --git a/src/dawntools/util/generator/SceneItemComponentGenerator.hpp b/archive/dawntools/util/generator/SceneItemComponentGenerator.hpp similarity index 100% rename from src/dawntools/util/generator/SceneItemComponentGenerator.hpp rename to archive/dawntools/util/generator/SceneItemComponentGenerator.hpp diff --git a/src/dawntools/util/generator/SceneItemGenerator.cpp b/archive/dawntools/util/generator/SceneItemGenerator.cpp similarity index 100% rename from src/dawntools/util/generator/SceneItemGenerator.cpp rename to archive/dawntools/util/generator/SceneItemGenerator.cpp diff --git a/src/dawntools/util/generator/SceneItemGenerator.hpp b/archive/dawntools/util/generator/SceneItemGenerator.hpp similarity index 100% rename from src/dawntools/util/generator/SceneItemGenerator.hpp rename to archive/dawntools/util/generator/SceneItemGenerator.hpp diff --git a/src/dawntools/util/parser/CMakeLists.txt b/archive/dawntools/util/parser/CMakeLists.txt similarity index 100% rename from src/dawntools/util/parser/CMakeLists.txt rename to archive/dawntools/util/parser/CMakeLists.txt diff --git a/src/dawntools/util/parser/SceneAssetParser.cpp b/archive/dawntools/util/parser/SceneAssetParser.cpp similarity index 100% rename from src/dawntools/util/parser/SceneAssetParser.cpp rename to archive/dawntools/util/parser/SceneAssetParser.cpp diff --git a/src/dawntools/util/parser/SceneAssetParser.hpp b/archive/dawntools/util/parser/SceneAssetParser.hpp similarity index 100% rename from src/dawntools/util/parser/SceneAssetParser.hpp rename to archive/dawntools/util/parser/SceneAssetParser.hpp diff --git a/src/dawntools/util/parser/SceneCodeParser.cpp b/archive/dawntools/util/parser/SceneCodeParser.cpp similarity index 100% rename from src/dawntools/util/parser/SceneCodeParser.cpp rename to archive/dawntools/util/parser/SceneCodeParser.cpp diff --git a/src/dawntools/util/parser/SceneCodeParser.hpp b/archive/dawntools/util/parser/SceneCodeParser.hpp similarity index 100% rename from src/dawntools/util/parser/SceneCodeParser.hpp rename to archive/dawntools/util/parser/SceneCodeParser.hpp diff --git a/src/dawntools/util/parser/SceneItemComponentParser.cpp b/archive/dawntools/util/parser/SceneItemComponentParser.cpp similarity index 100% rename from src/dawntools/util/parser/SceneItemComponentParser.cpp rename to archive/dawntools/util/parser/SceneItemComponentParser.cpp diff --git a/src/dawntools/util/parser/SceneItemComponentParser.hpp b/archive/dawntools/util/parser/SceneItemComponentParser.hpp similarity index 100% rename from src/dawntools/util/parser/SceneItemComponentParser.hpp rename to archive/dawntools/util/parser/SceneItemComponentParser.hpp diff --git a/src/dawntools/util/parser/SceneItemComponentRegistry.cpp b/archive/dawntools/util/parser/SceneItemComponentRegistry.cpp similarity index 100% rename from src/dawntools/util/parser/SceneItemComponentRegistry.cpp rename to archive/dawntools/util/parser/SceneItemComponentRegistry.cpp diff --git a/src/dawntools/util/parser/SceneItemComponentRegistry.hpp b/archive/dawntools/util/parser/SceneItemComponentRegistry.hpp similarity index 100% rename from src/dawntools/util/parser/SceneItemComponentRegistry.hpp rename to archive/dawntools/util/parser/SceneItemComponentRegistry.hpp diff --git a/src/dawntools/util/parser/SceneItemParser.cpp b/archive/dawntools/util/parser/SceneItemParser.cpp similarity index 100% rename from src/dawntools/util/parser/SceneItemParser.cpp rename to archive/dawntools/util/parser/SceneItemParser.cpp diff --git a/src/dawntools/util/parser/SceneItemParser.hpp b/archive/dawntools/util/parser/SceneItemParser.hpp similarity index 100% rename from src/dawntools/util/parser/SceneItemParser.hpp rename to archive/dawntools/util/parser/SceneItemParser.hpp diff --git a/src/dawntools/util/parser/SceneParser.cpp b/archive/dawntools/util/parser/SceneParser.cpp similarity index 100% rename from src/dawntools/util/parser/SceneParser.cpp rename to archive/dawntools/util/parser/SceneParser.cpp diff --git a/src/dawntools/util/parser/SceneParser.hpp b/archive/dawntools/util/parser/SceneParser.hpp similarity index 100% rename from src/dawntools/util/parser/SceneParser.hpp rename to archive/dawntools/util/parser/SceneParser.hpp diff --git a/src/dawntools/util/string.hpp b/archive/dawntools/util/string.hpp similarity index 100% rename from src/dawntools/util/string.hpp rename to archive/dawntools/util/string.hpp diff --git a/src/dawntools/vnscenetool/CMakeLists.txt b/archive/dawntools/vnscenetool/CMakeLists.txt similarity index 100% rename from src/dawntools/vnscenetool/CMakeLists.txt rename to archive/dawntools/vnscenetool/CMakeLists.txt diff --git a/src/dawntools/vnscenetool/VNSceneGen.cpp b/archive/dawntools/vnscenetool/VNSceneGen.cpp similarity index 100% rename from src/dawntools/vnscenetool/VNSceneGen.cpp rename to archive/dawntools/vnscenetool/VNSceneGen.cpp diff --git a/src/dawntools/vnscenetool/VNSceneGen.hpp b/archive/dawntools/vnscenetool/VNSceneGen.hpp similarity index 100% rename from src/dawntools/vnscenetool/VNSceneGen.hpp rename to archive/dawntools/vnscenetool/VNSceneGen.hpp diff --git a/src/dawntools/vnscenetool/VNSceneItemParser.cpp b/archive/dawntools/vnscenetool/VNSceneItemParser.cpp similarity index 100% rename from src/dawntools/vnscenetool/VNSceneItemParser.cpp rename to archive/dawntools/vnscenetool/VNSceneItemParser.cpp diff --git a/src/dawntools/vnscenetool/VNSceneItemParser.hpp b/archive/dawntools/vnscenetool/VNSceneItemParser.hpp similarity index 100% rename from src/dawntools/vnscenetool/VNSceneItemParser.hpp rename to archive/dawntools/vnscenetool/VNSceneItemParser.hpp diff --git a/src/dawntools/vnscenetool/VNSceneParser.cpp b/archive/dawntools/vnscenetool/VNSceneParser.cpp similarity index 100% rename from src/dawntools/vnscenetool/VNSceneParser.cpp rename to archive/dawntools/vnscenetool/VNSceneParser.cpp diff --git a/src/dawntools/vnscenetool/VNSceneParser.hpp b/archive/dawntools/vnscenetool/VNSceneParser.hpp similarity index 100% rename from src/dawntools/vnscenetool/VNSceneParser.hpp rename to archive/dawntools/vnscenetool/VNSceneParser.hpp diff --git a/src/dawntools/vnscenetool/VNSceneTool.cpp b/archive/dawntools/vnscenetool/VNSceneTool.cpp similarity index 100% rename from src/dawntools/vnscenetool/VNSceneTool.cpp rename to archive/dawntools/vnscenetool/VNSceneTool.cpp diff --git a/src/dawntools/vnscenetool/VNSceneTool.hpp b/archive/dawntools/vnscenetool/VNSceneTool.hpp similarity index 100% rename from src/dawntools/vnscenetool/VNSceneTool.hpp rename to archive/dawntools/vnscenetool/VNSceneTool.hpp diff --git a/src/dawntools/vnscenetool/events/CMakeLists.txt b/archive/dawntools/vnscenetool/events/CMakeLists.txt similarity index 100% rename from src/dawntools/vnscenetool/events/CMakeLists.txt rename to archive/dawntools/vnscenetool/events/CMakeLists.txt diff --git a/src/dawntools/vnscenetool/events/VNChoiceEventParser.cpp b/archive/dawntools/vnscenetool/events/VNChoiceEventParser.cpp similarity index 100% rename from src/dawntools/vnscenetool/events/VNChoiceEventParser.cpp rename to archive/dawntools/vnscenetool/events/VNChoiceEventParser.cpp diff --git a/src/dawntools/vnscenetool/events/VNChoiceEventParser.hpp b/archive/dawntools/vnscenetool/events/VNChoiceEventParser.hpp similarity index 100% rename from src/dawntools/vnscenetool/events/VNChoiceEventParser.hpp rename to archive/dawntools/vnscenetool/events/VNChoiceEventParser.hpp diff --git a/src/dawntools/vnscenetool/events/VNChoiceSetEventParser.cpp b/archive/dawntools/vnscenetool/events/VNChoiceSetEventParser.cpp similarity index 100% rename from src/dawntools/vnscenetool/events/VNChoiceSetEventParser.cpp rename to archive/dawntools/vnscenetool/events/VNChoiceSetEventParser.cpp diff --git a/src/dawntools/vnscenetool/events/VNChoiceSetEventParser.hpp b/archive/dawntools/vnscenetool/events/VNChoiceSetEventParser.hpp similarity index 100% rename from src/dawntools/vnscenetool/events/VNChoiceSetEventParser.hpp rename to archive/dawntools/vnscenetool/events/VNChoiceSetEventParser.hpp diff --git a/src/dawntools/vnscenetool/events/VNGoToMarkerEventParser.cpp b/archive/dawntools/vnscenetool/events/VNGoToMarkerEventParser.cpp similarity index 100% rename from src/dawntools/vnscenetool/events/VNGoToMarkerEventParser.cpp rename to archive/dawntools/vnscenetool/events/VNGoToMarkerEventParser.cpp diff --git a/src/dawntools/vnscenetool/events/VNGoToMarkerEventParser.hpp b/archive/dawntools/vnscenetool/events/VNGoToMarkerEventParser.hpp similarity index 100% rename from src/dawntools/vnscenetool/events/VNGoToMarkerEventParser.hpp rename to archive/dawntools/vnscenetool/events/VNGoToMarkerEventParser.hpp diff --git a/src/dawntools/vnscenetool/events/VNIfEventParser.cpp b/archive/dawntools/vnscenetool/events/VNIfEventParser.cpp similarity index 100% rename from src/dawntools/vnscenetool/events/VNIfEventParser.cpp rename to archive/dawntools/vnscenetool/events/VNIfEventParser.cpp diff --git a/src/dawntools/vnscenetool/events/VNIfEventParser.hpp b/archive/dawntools/vnscenetool/events/VNIfEventParser.hpp similarity index 100% rename from src/dawntools/vnscenetool/events/VNIfEventParser.hpp rename to archive/dawntools/vnscenetool/events/VNIfEventParser.hpp diff --git a/src/dawntools/vnscenetool/events/VNMarkerParser.cpp b/archive/dawntools/vnscenetool/events/VNMarkerParser.cpp similarity index 100% rename from src/dawntools/vnscenetool/events/VNMarkerParser.cpp rename to archive/dawntools/vnscenetool/events/VNMarkerParser.cpp diff --git a/src/dawntools/vnscenetool/events/VNMarkerParser.hpp b/archive/dawntools/vnscenetool/events/VNMarkerParser.hpp similarity index 100% rename from src/dawntools/vnscenetool/events/VNMarkerParser.hpp rename to archive/dawntools/vnscenetool/events/VNMarkerParser.hpp diff --git a/src/dawntools/vnscenetool/events/VNParallelEventParser.cpp b/archive/dawntools/vnscenetool/events/VNParallelEventParser.cpp similarity index 100% rename from src/dawntools/vnscenetool/events/VNParallelEventParser.cpp rename to archive/dawntools/vnscenetool/events/VNParallelEventParser.cpp diff --git a/src/dawntools/vnscenetool/events/VNParallelEventParser.hpp b/archive/dawntools/vnscenetool/events/VNParallelEventParser.hpp similarity index 100% rename from src/dawntools/vnscenetool/events/VNParallelEventParser.hpp rename to archive/dawntools/vnscenetool/events/VNParallelEventParser.hpp diff --git a/src/dawntools/vnscenetool/events/VNPositionEventParser.cpp b/archive/dawntools/vnscenetool/events/VNPositionEventParser.cpp similarity index 100% rename from src/dawntools/vnscenetool/events/VNPositionEventParser.cpp rename to archive/dawntools/vnscenetool/events/VNPositionEventParser.cpp diff --git a/src/dawntools/vnscenetool/events/VNPositionEventParser.hpp b/archive/dawntools/vnscenetool/events/VNPositionEventParser.hpp similarity index 100% rename from src/dawntools/vnscenetool/events/VNPositionEventParser.hpp rename to archive/dawntools/vnscenetool/events/VNPositionEventParser.hpp diff --git a/src/dawntools/vnscenetool/events/VNSceneChangeEventParser.cpp b/archive/dawntools/vnscenetool/events/VNSceneChangeEventParser.cpp similarity index 100% rename from src/dawntools/vnscenetool/events/VNSceneChangeEventParser.cpp rename to archive/dawntools/vnscenetool/events/VNSceneChangeEventParser.cpp diff --git a/src/dawntools/vnscenetool/events/VNSceneChangeEventParser.hpp b/archive/dawntools/vnscenetool/events/VNSceneChangeEventParser.hpp similarity index 100% rename from src/dawntools/vnscenetool/events/VNSceneChangeEventParser.hpp rename to archive/dawntools/vnscenetool/events/VNSceneChangeEventParser.hpp diff --git a/src/dawntools/vnscenetool/events/VNSceneEventsParser.cpp b/archive/dawntools/vnscenetool/events/VNSceneEventsParser.cpp similarity index 100% rename from src/dawntools/vnscenetool/events/VNSceneEventsParser.cpp rename to archive/dawntools/vnscenetool/events/VNSceneEventsParser.cpp diff --git a/src/dawntools/vnscenetool/events/VNSceneEventsParser.hpp b/archive/dawntools/vnscenetool/events/VNSceneEventsParser.hpp similarity index 100% rename from src/dawntools/vnscenetool/events/VNSceneEventsParser.hpp rename to archive/dawntools/vnscenetool/events/VNSceneEventsParser.hpp diff --git a/src/dawntools/vnscenetool/events/VNSetDefaultFontEventParser.cpp b/archive/dawntools/vnscenetool/events/VNSetDefaultFontEventParser.cpp similarity index 100% rename from src/dawntools/vnscenetool/events/VNSetDefaultFontEventParser.cpp rename to archive/dawntools/vnscenetool/events/VNSetDefaultFontEventParser.cpp diff --git a/src/dawntools/vnscenetool/events/VNSetDefaultFontEventParser.hpp b/archive/dawntools/vnscenetool/events/VNSetDefaultFontEventParser.hpp similarity index 100% rename from src/dawntools/vnscenetool/events/VNSetDefaultFontEventParser.hpp rename to archive/dawntools/vnscenetool/events/VNSetDefaultFontEventParser.hpp diff --git a/src/dawntools/vnscenetool/events/VNSetEventParser.cpp b/archive/dawntools/vnscenetool/events/VNSetEventParser.cpp similarity index 100% rename from src/dawntools/vnscenetool/events/VNSetEventParser.cpp rename to archive/dawntools/vnscenetool/events/VNSetEventParser.cpp diff --git a/src/dawntools/vnscenetool/events/VNSetEventParser.hpp b/archive/dawntools/vnscenetool/events/VNSetEventParser.hpp similarity index 100% rename from src/dawntools/vnscenetool/events/VNSetEventParser.hpp rename to archive/dawntools/vnscenetool/events/VNSetEventParser.hpp diff --git a/src/dawntools/vnscenetool/events/VNTextEventParser.cpp b/archive/dawntools/vnscenetool/events/VNTextEventParser.cpp similarity index 100% rename from src/dawntools/vnscenetool/events/VNTextEventParser.cpp rename to archive/dawntools/vnscenetool/events/VNTextEventParser.cpp diff --git a/src/dawntools/vnscenetool/events/VNTextEventParser.hpp b/archive/dawntools/vnscenetool/events/VNTextEventParser.hpp similarity index 100% rename from src/dawntools/vnscenetool/events/VNTextEventParser.hpp rename to archive/dawntools/vnscenetool/events/VNTextEventParser.hpp diff --git a/src/dawntools/vnscenetool/events/VNWaitEventParser.cpp b/archive/dawntools/vnscenetool/events/VNWaitEventParser.cpp similarity index 100% rename from src/dawntools/vnscenetool/events/VNWaitEventParser.cpp rename to archive/dawntools/vnscenetool/events/VNWaitEventParser.cpp diff --git a/src/dawntools/vnscenetool/events/VNWaitEventParser.hpp b/archive/dawntools/vnscenetool/events/VNWaitEventParser.hpp similarity index 100% rename from src/dawntools/vnscenetool/events/VNWaitEventParser.hpp rename to archive/dawntools/vnscenetool/events/VNWaitEventParser.hpp diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index a42e7d0a..25adbccc 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -12,9 +12,6 @@ set( # Include shared libs add_subdirectory(dawnshared) -# Include tools -add_subdirectory(dawntools) - # Change what we are building. Pulled from the cmake/targets dir. if(DEFINED DAWN_BUILDING) add_subdirectory(${DAWN_BUILDING}) diff --git a/src/dawntools/CMakeLists.txt b/tools/CMakeLists.txt similarity index 53% rename from src/dawntools/CMakeLists.txt rename to tools/CMakeLists.txt index 7c5af684..1138d244 100644 --- a/src/dawntools/CMakeLists.txt +++ b/tools/CMakeLists.txt @@ -15,16 +15,6 @@ set( CACHE INTERNAL ${DAWN_CACHE_TARGET} ) -# Tool-Utils -set(DAWN_TOOL_SOURCES "") -include(util/CMakeLists.txt) -include(util/parser/CMakeLists.txt) -include(util/generator/CMakeLists.txt) - # Tools add_subdirectory(assetstool) -add_subdirectory(prefabtool) -add_subdirectory(scenetool) -add_subdirectory(texturetool) -add_subdirectory(truetypetool) -add_subdirectory(vnscenetool) \ No newline at end of file +add_subdirectory(texturetool) \ No newline at end of file diff --git a/src/dawntools/assetstool/CMakeLists.txt b/tools/assetstool/CMakeLists.txt similarity index 100% rename from src/dawntools/assetstool/CMakeLists.txt rename to tools/assetstool/CMakeLists.txt diff --git a/src/dawntools/assetstool/assetstool.py b/tools/assetstool/assetstool.py similarity index 100% rename from src/dawntools/assetstool/assetstool.py rename to tools/assetstool/assetstool.py diff --git a/src/dawntools/texturetool/CMakeLists.txt b/tools/texturetool/CMakeLists.txt similarity index 100% rename from src/dawntools/texturetool/CMakeLists.txt rename to tools/texturetool/CMakeLists.txt diff --git a/src/dawntools/texturetool/texturetool.py b/tools/texturetool/texturetool.py similarity index 100% rename from src/dawntools/texturetool/texturetool.py rename to tools/texturetool/texturetool.py