mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2026-06-06 08:42:35 +00:00
refactor: do not nest asset namespaces in game namespaces
* Duplicated namespace names are kind of annoying
This commit is contained in:
@@ -393,17 +393,17 @@ namespace T6
|
||||
{
|
||||
auto& memory = zone.Memory();
|
||||
|
||||
collection.AddAssetCreator(phys_preset::CreateRawLoader(memory, searchPath, zone));
|
||||
collection.AddAssetCreator(phys_preset::CreateGdtLoader(memory, gdt, zone));
|
||||
collection.AddAssetCreator(phys_constraints::CreateRawLoader(memory, searchPath, zone));
|
||||
collection.AddAssetCreator(phys_constraints::CreateGdtLoader(memory, searchPath, gdt, zone));
|
||||
collection.AddAssetCreator(phys_preset::CreateRawLoaderT6(memory, searchPath, zone));
|
||||
collection.AddAssetCreator(phys_preset::CreateGdtLoaderT6(memory, gdt, zone));
|
||||
collection.AddAssetCreator(phys_constraints::CreateRawLoaderT6(memory, searchPath, zone));
|
||||
collection.AddAssetCreator(phys_constraints::CreateGdtLoaderT6(memory, searchPath, gdt, zone));
|
||||
// collection.AddAssetCreator(std::make_unique<AssetLoaderDestructibleDef>(memory));
|
||||
// collection.AddAssetCreator(std::make_unique<AssetLoaderXAnim>(memory));
|
||||
collection.AddAssetCreator(xmodel::CreateXModelLoader(memory, searchPath, zone));
|
||||
collection.AddAssetCreator(material::CreateLoader(memory, searchPath));
|
||||
collection.AddAssetCreator(xmodel::CreateLoaderT6(memory, searchPath, zone));
|
||||
collection.AddAssetCreator(material::CreateLoaderT6(memory, searchPath));
|
||||
// collection.AddAssetCreator(std::make_unique<AssetLoaderTechniqueSet>(memory));
|
||||
collection.AddAssetCreator(image::CreateLoader(memory, searchPath));
|
||||
collection.AddAssetCreator(sound::CreateSoundBankLoader(memory, searchPath));
|
||||
collection.AddAssetCreator(image::CreateLoaderT6(memory, searchPath));
|
||||
collection.AddAssetCreator(sound::CreateSoundBankLoaderT6(memory, searchPath));
|
||||
// collection.AddAssetCreator(std::make_unique<AssetLoaderSoundPatch>(memory));
|
||||
// collection.AddAssetCreator(std::make_unique<AssetLoaderClipMapPvs>(memory));
|
||||
// collection.AddAssetCreator(std::make_unique<AssetLoaderComWorld>(memory));
|
||||
@@ -413,41 +413,41 @@ namespace T6
|
||||
// collection.AddAssetCreator(std::make_unique<AssetLoaderGfxWorld>(memory));
|
||||
// collection.AddAssetCreator(std::make_unique<AssetLoaderLightDef>(memory));
|
||||
// collection.AddAssetCreator(std::make_unique<AssetLoaderFont>(memory));
|
||||
collection.AddAssetCreator(font_icon::CreateCsvLoader(memory, searchPath));
|
||||
collection.AddAssetCreator(font_icon::CreateJsonLoader(memory, searchPath));
|
||||
collection.AddAssetCreator(font_icon::CreateCsvLoaderT6(memory, searchPath));
|
||||
collection.AddAssetCreator(font_icon::CreateJsonLoaderT6(memory, searchPath));
|
||||
// collection.AddAssetCreator(std::make_unique<AssetLoaderMenuList>(memory));
|
||||
// collection.AddAssetCreator(std::make_unique<AssetLoaderMenu>(memory));
|
||||
collection.AddAssetCreator(localize::CreateLoader(memory, searchPath, zone));
|
||||
collection.AddAssetCreator(weapon::CreateRawLoader(memory, searchPath, zone));
|
||||
collection.AddAssetCreator(weapon::CreateGdtLoader(memory, searchPath, gdt, zone));
|
||||
collection.AddAssetCreator(attachment::CreateRawLoader(memory, searchPath, zone));
|
||||
collection.AddAssetCreator(attachment::CreateGdtLoader(memory, searchPath, gdt, zone));
|
||||
collection.AddAssetCreator(attachment_unique::CreateRawLoader(memory, searchPath, zone));
|
||||
collection.AddAssetCreator(attachment_unique::CreateGdtLoader(memory, searchPath, gdt, zone));
|
||||
collection.AddAssetCreator(camo::CreateJsonLoader(memory, searchPath));
|
||||
collection.AddAssetCreator(localize::CreateLoaderT6(memory, searchPath, zone));
|
||||
collection.AddAssetCreator(weapon::CreateRawLoaderT6(memory, searchPath, zone));
|
||||
collection.AddAssetCreator(weapon::CreateGdtLoaderT6(memory, searchPath, gdt, zone));
|
||||
collection.AddAssetCreator(attachment::CreateRawLoaderT6(memory, searchPath, zone));
|
||||
collection.AddAssetCreator(attachment::CreateGdtLoaderT6(memory, searchPath, gdt, zone));
|
||||
collection.AddAssetCreator(attachment_unique::CreateRawLoaderT6(memory, searchPath, zone));
|
||||
collection.AddAssetCreator(attachment_unique::CreateGdtLoaderT6(memory, searchPath, gdt, zone));
|
||||
collection.AddAssetCreator(camo::CreateJsonLoaderT6(memory, searchPath));
|
||||
// collection.AddAssetCreator(std::make_unique<AssetLoaderSoundDriverGlobals>(memory));
|
||||
// collection.AddAssetCreator(std::make_unique<AssetLoaderFx>(memory));
|
||||
// collection.AddAssetCreator(std::make_unique<AssetLoaderImpactFx>(memory));
|
||||
collection.AddAssetCreator(raw_file::CreateLoader(memory, searchPath));
|
||||
collection.AddAssetCreator(string_table::CreateLoader(memory, searchPath));
|
||||
collection.AddAssetCreator(leaderboard::CreateLoader(memory, searchPath));
|
||||
collection.AddAssetCreator(raw_file::CreateLoaderT6(memory, searchPath));
|
||||
collection.AddAssetCreator(string_table::CreateLoaderT6(memory, searchPath));
|
||||
collection.AddAssetCreator(leaderboard::CreateLoaderT6(memory, searchPath));
|
||||
// collection.AddAssetCreator(std::make_unique<AssetLoaderXGlobals>(memory));
|
||||
// collection.AddAssetCreator(std::make_unique<AssetLoaderDDL>(memory));
|
||||
// collection.AddAssetCreator(std::make_unique<AssetLoaderGlasses>(memory));
|
||||
// collection.AddAssetCreator(std::make_unique<AssetLoaderEmblemSet>(memory));
|
||||
collection.AddAssetCreator(script::CreateLoader(memory, searchPath));
|
||||
collection.AddAssetCreator(vehicle::CreateRawLoader(memory, searchPath, zone));
|
||||
collection.AddAssetCreator(vehicle::CreateGdtLoader(memory, searchPath, gdt, zone));
|
||||
collection.AddAssetCreator(script::CreateLoaderT6(memory, searchPath));
|
||||
collection.AddAssetCreator(vehicle::CreateRawLoaderT6(memory, searchPath, zone));
|
||||
collection.AddAssetCreator(vehicle::CreateGdtLoaderT6(memory, searchPath, gdt, zone));
|
||||
// collection.AddAssetCreator(std::make_unique<AssetLoaderMemoryBlock>(memory));
|
||||
// collection.AddAssetCreator(std::make_unique<AssetLoaderAddonMapEnts>(memory));
|
||||
// collection.AddAssetCreator(std::make_unique<AssetLoaderTracer>(memory));
|
||||
// collection.AddAssetCreator(std::make_unique<AssetLoaderSkinnedVerts>(memory));
|
||||
collection.AddAssetCreator(qdb::CreateLoader(memory, searchPath));
|
||||
collection.AddAssetCreator(slug::CreateLoader(memory, searchPath));
|
||||
collection.AddAssetCreator(qdb::CreateLoaderT6(memory, searchPath));
|
||||
collection.AddAssetCreator(slug::CreateLoaderT6(memory, searchPath));
|
||||
// collection.AddAssetCreator(std::make_unique<AssetLoaderFootstepTable>(memory));
|
||||
// collection.AddAssetCreator(std::make_unique<AssetLoaderFootstepFxTable>(memory));
|
||||
collection.AddAssetCreator(z_barrier::CreateRawLoader(memory, searchPath, zone));
|
||||
collection.AddAssetCreator(z_barrier::CreateGdtLoader(memory, searchPath, gdt, zone));
|
||||
collection.AddAssetCreator(z_barrier::CreateRawLoaderT6(memory, searchPath, zone));
|
||||
collection.AddAssetCreator(z_barrier::CreateGdtLoaderT6(memory, searchPath, gdt, zone));
|
||||
}
|
||||
} // namespace
|
||||
|
||||
|
||||
Reference in New Issue
Block a user