feat: T4 and T5 physconstraints dumping (#879)

* feat: T4 and T5 physconstraints dumping

* chore: small style adjustments

---------

Co-authored-by: Jan Laupetin <[email protected]>
This commit is contained in:
Ash
2026-07-12 14:17:11 +02:00
committed by GitHub
co-authored by Jan Laupetin
parent 28e27409f5
commit e45272137f
15 changed files with 417 additions and 5 deletions
+2 -1
View File
@@ -9,6 +9,7 @@
#include "LightDef/LightDefDumperT5.h"
#include "Localize/LocalizeDumperT5.h"
#include "Maps/MapEntsDumperT5.h"
#include "PhysConstraints/PhysConstraintsInfoStringDumperT5.h"
#include "PhysPreset/PhysPresetInfoStringDumperT5.h"
#include "RawFile/RawFileDumperT5.h"
#include "StringTable/StringTableDumperT5.h"
@@ -19,7 +20,7 @@ using namespace T5;
void ObjWriter::RegisterAssetDumpers(AssetDumpingContext& context)
{
RegisterAssetDumper(std::make_unique<phys_preset::InfoStringDumperT5>());
// REGISTER_DUMPER(AssetDumperPhysConstraints, m_phys_constraints)
RegisterAssetDumper(std::make_unique<phys_constraints::InfoStringDumperT5>());
// REGISTER_DUMPER(AssetDumperDestructibleDef, m_destructible_def)
RegisterAssetDumper(std::make_unique<xanim::DumperT5>());
RegisterAssetDumper(std::make_unique<xmodel::DumperT5>());