2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2026-06-06 08:42:35 +00:00

Merge pull request #753 from pagingred/iw5_physpreset_dumper

feat: phys presets dumping and loading for IW3, IW5, T5
This commit is contained in:
Paging Red
2026-05-02 06:01:59 -04:00
committed by GitHub
parent 704b191b97
commit 759a3ccf0e
41 changed files with 1698 additions and 12 deletions
+4 -1
View File
@@ -14,6 +14,8 @@
#include "Material/LoaderMaterialIW5.h"
#include "Menu/LoaderMenuListIW5.h"
#include "ObjLoading.h"
#include "PhysPreset/GdtLoaderPhysPresetIW5.h"
#include "PhysPreset/RawLoaderPhysPresetIW5.h"
#include "RawFile/LoaderRawFileIW5.h"
#include "Script/LoaderScriptFileIW5.h"
#include "StringTable/LoaderStringTableIW5.h"
@@ -125,7 +127,8 @@ namespace
{
auto& memory = zone.Memory();
// collection.AddAssetCreator(std::make_unique<AssetLoaderPhysPreset>(memory));
collection.AddAssetCreator(phys_preset::CreateRawLoaderIW5(memory, searchPath, zone));
collection.AddAssetCreator(phys_preset::CreateGdtLoaderIW5(memory, gdt, zone));
// collection.AddAssetCreator(std::make_unique<AssetLoaderPhysCollMap>(memory));
// collection.AddAssetCreator(std::make_unique<AssetLoaderXAnim>(memory));
// collection.AddAssetCreator(std::make_unique<AssetLoaderXModelSurfs>(memory));