chore: rename generated loader/writer/marker aggregated headers

This commit is contained in:
Jan Laupetin committed 2026-10-22 20:01:05 +02:00
1 parent 8490c09fad
commit c24d1f0cd8
25 files changed
+46 -28

No files matched your search

+1 -1
View File
@@ -1,7 +1,7 @@
#include "ObjLoaderIW3.h"
#include "Asset/GlobalAssetPoolsLoader.h"
#include "Game/IW3/AssetMarkerIW3_pc.h"
#include "Game/IW3/AssetMarker_iw3_pc.h"
#include "Game/IW3/Font/FontLoaderIW3.h"
#include "Game/IW3/GameIW3.h"
#include "Game/IW3/IW3.h"
+1 -1
View File
@@ -1,7 +1,7 @@
#include "ObjLoaderIW4.h"
#include "Asset/GlobalAssetPoolsLoader.h"
#include "Game/IW4/AssetMarkerIW4_pc32.h"
#include "Game/IW4/AssetMarker_iw4_pc32.h"
#include "Game/IW4/Font/FontLoaderIW4.h"
#include "Game/IW4/GameIW4.h"
#include "Game/IW4/IW4.h"
+1 -1
View File
@@ -1,7 +1,7 @@
#include "ObjLoaderIW5.h"
#include "Asset/GlobalAssetPoolsLoader.h"
#include "Game/IW5/AssetMarkerIW5_pc32.h"
#include "Game/IW5/AssetMarker_iw5_pc32.h"
#include "Game/IW5/Font/FontLoaderIW5.h"
#include "Game/IW5/GameIW5.h"
#include "Game/IW5/IW5.h"
+1 -1
View File
@@ -1,7 +1,7 @@
#include "ObjLoaderQOS.h"
#include "Asset/GlobalAssetPoolsLoader.h"
#include "Game/QOS/AssetMarkerQOS_pc.h"
#include "Game/QOS/AssetMarker_qos_pc.h"
#include "Game/QOS/QOS.h"
#include "Localize/AssetLoaderLocalizeQOS.h"
#include "RawFile/AssetLoaderRawFileQOS.h"
+1 -1
View File
@@ -1,7 +1,7 @@
#include "ObjLoaderT4.h"
#include "Asset/GlobalAssetPoolsLoader.h"
#include "Game/T4/AssetMarkerT4_pc.h"
#include "Game/T4/AssetMarker_t4_pc.h"
#include "Game/T4/Font/FontLoaderT4.h"
#include "Game/T4/Image/ImageLoaderEmbeddedT4.h"
#include "Game/T4/Image/ImageLoaderExternalT4.h"
+1 -1
View File
@@ -1,7 +1,7 @@
#include "ObjLoaderT5.h"
#include "Asset/GlobalAssetPoolsLoader.h"
#include "Game/T5/AssetMarkerT5_pc.h"
#include "Game/T5/AssetMarker_t5_pc.h"
#include "Game/T5/Font/FontLoaderT5.h"
#include "Game/T5/GameT5.h"
#include "Game/T5/Image/ImageLoaderEmbeddedT5.h"
+1 -1
View File
@@ -3,7 +3,7 @@
#include "Asset/GlobalAssetPoolsLoader.h"
#include "FontIcon/CsvLoaderFontIconT6.h"
#include "FontIcon/JsonLoaderFontIconT6.h"
#include "Game/T6/AssetMarkerT6_pc.h"
#include "Game/T6/AssetMarker_t6_pc.h"
#include "Game/T6/CommonT6.h"
#include "Game/T6/Font/FontLoaderT6.h"
#include "Game/T6/GameT6.h"
+3 -3
View File
@@ -335,7 +335,7 @@ function ZoneCode:allMarkFiles()
end
-- Per variant
table.insert(result, "%{wks.location}/src/ZoneCode/Game/" .. game .. "/AssetMarker" .. game .. "_" .. variantLower .. ".h")
table.insert(result, "%{wks.location}/src/ZoneCode/Game/" .. game .. "/AssetMarker_" .. gameLower .. "_" .. variantLower .. ".h")
end
end
@@ -359,7 +359,7 @@ function ZoneCode:allLoadFiles()
end
-- Per variant
table.insert(result, "%{wks.location}/src/ZoneCode/Game/" .. game .. "/AssetLoader" .. game .. "_" .. variantLower .. ".h")
table.insert(result, "%{wks.location}/src/ZoneCode/Game/" .. game .. "/AssetLoader_" .. gameLower .. "_" .. variantLower .. ".h")
end
end
@@ -383,7 +383,7 @@ function ZoneCode:allWriteFiles()
end
-- Per variant
table.insert(result, "%{wks.location}/src/ZoneCode/Game/" .. game .. "/AssetWriter" .. game .. "_" .. variantLower .. ".h")
table.insert(result, "%{wks.location}/src/ZoneCode/Game/" .. game .. "/AssetWriter_" .. gameLower .. "_" .. variantLower .. ".h")
end
end
@@ -169,7 +169,7 @@ namespace
LINEF("#include \"{0}_{1}_{2}_load_db.h\"", Lower(m_env.m_asset->m_definition->m_name), Lower(m_env.m_game), Lower(m_env.m_variant->m_name))
LINE("")
LINEF("#include \"Game/{0}/AssetMarker{0}_{1}.h\"", m_env.m_game, Lower(m_env.m_variant->m_name))
LINEF("#include \"Game/{0}/AssetMarker_{0}_{1}.h\"", Lower(m_env.m_game), Lower(m_env.m_variant->m_name))
LINE("")
LINE("#include \"Loading/AssetInfoCollector.h\"")
@@ -2166,7 +2166,13 @@ std::vector<CodeTemplateFile> ZoneLoadTemplate::GetFilesToRenderOncePerVariant(c
{
std::vector<CodeTemplateFile> files;
files.emplace_back(std::format("AssetLoader{0}_{1}.h", context.m_game, context.m_variant->m_name), TAG_ALL_LOADERS);
auto gameName = context.m_game;
utils::MakeStringLowerCase(gameName);
auto variantName = context.m_variant->m_name;
utils::MakeStringLowerCase(variantName);
files.emplace_back(std::format("AssetLoader_{0}_{1}.h", gameName, variantName), TAG_ALL_LOADERS);
return files;
}
@@ -795,7 +795,13 @@ std::vector<CodeTemplateFile> ZoneMarkTemplate::GetFilesToRenderOncePerVariant(c
{
std::vector<CodeTemplateFile> files;
files.emplace_back(std::format("AssetMarker{0}_{1}.h", context.m_game, context.m_variant->m_name), TAG_ALL_MARKERS);
auto gameName = context.m_game;
utils::MakeStringLowerCase(gameName);
auto variantName = context.m_variant->m_name;
utils::MakeStringLowerCase(variantName);
files.emplace_back(std::format("AssetMarker_{0}_{1}.h", gameName, variantName), TAG_ALL_MARKERS);
return files;
}
@@ -1648,7 +1648,13 @@ std::vector<CodeTemplateFile> ZoneWriteTemplate::GetFilesToRenderOncePerVariant(
{
std::vector<CodeTemplateFile> files;
files.emplace_back(std::format("AssetWriter{0}_{1}.h", context.m_game, context.m_variant->m_name), TAG_ALL_WRITERS);
auto gameName = context.m_game;
utils::MakeStringLowerCase(gameName);
auto variantName = context.m_variant->m_name;
utils::MakeStringLowerCase(variantName);
files.emplace_back(std::format("AssetWriter_{0}_{1}.h", gameName, variantName), TAG_ALL_WRITERS);
return files;
}
@@ -1,6 +1,6 @@
#include "ContentLoaderIW3.h"
#include "Game/IW3/AssetLoaderIW3_pc.h"
#include "Game/IW3/AssetLoader_iw3_pc.h"
#include "Game/IW3/IW3.h"
#include "Loading/Exception/UnsupportedAssetTypeException.h"
@@ -1,6 +1,6 @@
#include "ContentLoaderIW4.h"
#include "Game/IW4/AssetLoaderIW4_pc32.h"
#include "Game/IW4/AssetLoader_iw4_pc32.h"
#include "Game/IW4/IW4.h"
#include "Loading/Exception/UnsupportedAssetTypeException.h"
@@ -1,6 +1,6 @@
#include "ContentLoaderIW5.h"
#include "Game/IW5/AssetLoaderIW5_pc32.h"
#include "Game/IW5/AssetLoader_iw5_pc32.h"
#include "Game/IW5/IW5.h"
#include "Loading/Exception/UnsupportedAssetTypeException.h"
@@ -1,6 +1,6 @@
#include "ContentLoaderQOS.h"
#include "Game/QOS/AssetLoaderQOS_pc.h"
#include "Game/QOS/AssetLoader_qos_pc.h"
#include "Loading/Exception/UnsupportedAssetTypeException.h"
#include <cassert>
+1 -1
View File
@@ -1,6 +1,6 @@
#include "ContentLoaderT4.h"
#include "Game/T4/AssetLoaderT4_pc.h"
#include "Game/T4/AssetLoader_t4_pc.h"
#include "Game/T4/T4.h"
#include "Loading/Exception/UnsupportedAssetTypeException.h"
+1 -1
View File
@@ -1,6 +1,6 @@
#include "ContentLoaderT5.h"
#include "Game/T5/AssetLoaderT5_pc.h"
#include "Game/T5/AssetLoader_t5_pc.h"
#include "Game/T5/T5.h"
#include "Loading/Exception/UnsupportedAssetTypeException.h"
+1 -1
View File
@@ -1,6 +1,6 @@
#include "ContentLoaderT6.h"
#include "Game/T6/AssetLoaderT6_pc.h"
#include "Game/T6/AssetLoader_t6_pc.h"
#include "Game/T6/T6.h"
#include "Loading/Exception/UnsupportedAssetTypeException.h"
@@ -1,6 +1,6 @@
#include "ContentWriterIW3.h"
#include "Game/IW3/AssetWriterIW3_pc.h"
#include "Game/IW3/AssetWriter_iw3_pc.h"
#include "Writing/WritingException.h"
#include <cassert>
@@ -1,6 +1,6 @@
#include "ContentWriterIW4.h"
#include "Game/IW4/AssetWriterIW4_pc32.h"
#include "Game/IW4/AssetWriter_iw4_pc32.h"
#include "Writing/WritingException.h"
#include <cassert>
@@ -1,6 +1,6 @@
#include "ContentWriterIW5.h"
#include "Game/IW5/AssetWriterIW5_pc32.h"
#include "Game/IW5/AssetWriter_iw5_pc32.h"
#include "Writing/WritingException.h"
#include <cassert>
@@ -1,6 +1,6 @@
#include "ContentWriterQOS.h"
#include "Game/QOS/AssetWriterQOS_pc.h"
#include "Game/QOS/AssetWriter_qos_pc.h"
#include "Writing/WritingException.h"
#include <cassert>
+1 -1
View File
@@ -1,6 +1,6 @@
#include "ContentWriterT4.h"
#include "Game/T4/AssetWriterT4_pc.h"
#include "Game/T4/AssetWriter_t4_pc.h"
#include "Writing/WritingException.h"
#include <cassert>
+1 -1
View File
@@ -1,6 +1,6 @@
#include "ContentWriterT5.h"
#include "Game/T5/AssetWriterT5_pc.h"
#include "Game/T5/AssetWriter_t5_pc.h"
#include "Writing/WritingException.h"
#include <cassert>
+1 -1
View File
@@ -1,6 +1,6 @@
#include "ContentWriterT6.h"
#include "Game/T6/AssetWriterT6_pc.h"
#include "Game/T6/AssetWriter_t6_pc.h"
#include "Writing/WritingException.h"
#include <cassert>