refactor: generate combined asset loader/writer/marker headers per variant

This commit is contained in:
Jan Laupetin committed 2026-10-22 20:01:05 +02:00
1 parent 884fefd1db
commit 8490c09fad
49 files changed
+408 -368

No files matched your search

+2 -2
View File
@@ -1,6 +1,6 @@
#include "ContentLoaderT6.h"
#include "Game/T6/AssetLoaderT6.h"
#include "Game/T6/AssetLoaderT6_pc.h"
#include "Game/T6/T6.h"
#include "Loading/Exception/UnsupportedAssetTypeException.h"
@@ -44,7 +44,7 @@ void ContentLoader::LoadXAsset(const bool atStreamStart) const
#define LOAD_ASSET(type_index, typeName, headerEntry) \
case type_index: \
{ \
Loader_##typeName loader(m_zone, m_stream); \
Loader_##typeName##_pc loader(m_zone, m_stream); \
loader.Load(&varXAsset->header.headerEntry); \
break; \
}