#include "ObjCompilerIW3.h" #include "Game/IW3/IW3.h" #include "Image/ImageIwdPostProcessor.h" #include using namespace IW3; namespace fs = std::filesystem; namespace { void ConfigureCompilers(AssetCreatorCollection& collection, Zone& zone, ISearchPath& searchPath) { auto& memory = *zone.GetMemory(); // No compilers yet } void ConfigurePostProcessors(AssetCreatorCollection& collection, Zone& zone, ISearchPath& searchPath, const fs::path& outDir) { auto& memory = *zone.GetMemory(); collection.AddAssetPostProcessor(std::make_unique>(searchPath, outDir)); } } // namespace void ObjCompiler::ConfigureCreatorCollection(AssetCreatorCollection& collection, Zone& zone, const ZoneDefinition& zoneDefinition, ISearchPath& searchPath, IGdtQueryable& gdt, const fs::path& outDir, const fs::path& cacheDir) const { ConfigurePostProcessors(collection, zone, searchPath, outDir); }