mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2026-05-12 21:31:43 +00:00
Add dumper and loader call to parents.
This commit is contained in:
@@ -15,6 +15,7 @@
|
||||
#include "PhysPreset/GdtLoaderPhysPresetIW3.h"
|
||||
#include "PhysPreset/RawLoaderPhysPresetIW3.h"
|
||||
#include "RawFile/AssetLoaderRawFileIW3.h"
|
||||
#include "Sound/LoaderSoundCurveIW3.h"
|
||||
#include "StringTable/AssetLoaderStringTableIW3.h"
|
||||
|
||||
#include <memory>
|
||||
@@ -104,7 +105,7 @@ namespace
|
||||
collection.AddAssetCreator(image::CreateLoaderEmbeddedIW3(memory, searchPath));
|
||||
collection.AddAssetCreator(image::CreateLoaderExternalIW3(memory, searchPath));
|
||||
// collection.AddAssetCreator(std::make_unique<AssetLoaderSound>(memory));
|
||||
// collection.AddAssetCreator(std::make_unique<AssetLoaderSoundCurve>(memory));
|
||||
collection.AddAssetCreator(sound_curve::CreateLoaderIW3(memory, searchPath));
|
||||
// collection.AddAssetCreator(std::make_unique<AssetLoaderLoadedSound>(memory));
|
||||
// collection.AddAssetCreator(std::make_unique<AssetLoaderClipMapPvs>(memory));
|
||||
// collection.AddAssetCreator(std::make_unique<AssetLoaderComWorld>(memory));
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
#include "PhysPreset/PhysPresetInfoStringDumperIW3.h"
|
||||
#include "RawFile/RawFileDumperIW3.h"
|
||||
#include "Sound/LoadedSoundDumperIW3.h"
|
||||
#include "Sound/SndCurveDumperIW3.h"
|
||||
#include "StringTable/StringTableDumperIW3.h"
|
||||
|
||||
using namespace IW3;
|
||||
@@ -28,7 +29,7 @@ void ObjWriter::RegisterAssetDumpers(AssetDumpingContext& context)
|
||||
));
|
||||
RegisterAssetDumper(std::make_unique<image::DumperIW3>());
|
||||
// REGISTER_DUMPER(AssetDumpersnd_alias_list_t)
|
||||
// REGISTER_DUMPER(AssetDumperSndCurve)
|
||||
RegisterAssetDumper(std::make_unique<sound_curve::DumperIW3>());
|
||||
RegisterAssetDumper(std::make_unique<sound::LoadedSoundDumperIW3>());
|
||||
// REGISTER_DUMPER(AssetDumperClipMap)
|
||||
// REGISTER_DUMPER(AssetDumperComWorld)
|
||||
|
||||
Reference in New Issue
Block a user