2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2025-09-01 22:47:26 +00:00

refactor: streamline material dumping

This commit is contained in:
Jan Laupetin
2025-07-29 23:37:41 +01:00
parent 9885a4ce93
commit 0dfa57446c
26 changed files with 111 additions and 310 deletions

View File

@@ -1,4 +1,4 @@
#include "Game/IW4/Material/DumperMaterialIW4.h"
#include "Game/IW4/Material/MaterialJsonDumperIW4.h"
#include "Asset/AssetRegistration.h"
#include "Game/IW4/CommonIW4.h"
@@ -543,7 +543,7 @@ namespace
GivenMaterial("mc/ch_rubble01", materialPool, memory);
AssetDumperMaterial dumper;
material::JsonDumper dumper;
dumper.DumpPool(context, &materialPool);
const auto* file = mockOutput.GetMockedFile("materials/mc/ch_rubble01.json");