2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2026-02-14 19:33:02 +00:00

refactor: do not nest asset namespaces in game namespaces

* Duplicated namespace names are kind of annoying
This commit is contained in:
Jan Laupetin
2025-08-06 00:50:35 +02:00
parent 33c09dfe61
commit 46fb919a52
336 changed files with 1430 additions and 1480 deletions

View File

@@ -11,7 +11,6 @@
#include <type_traits>
using namespace T6;
using namespace ::phys_preset;
namespace
{
@@ -81,14 +80,14 @@ namespace
}
} // namespace
namespace T6::phys_preset
namespace phys_preset
{
bool InfoStringDumper::ShouldDump(XAssetInfo<PhysPreset>* asset)
bool InfoStringDumperT6::ShouldDump(XAssetInfo<PhysPreset>* asset)
{
return true;
}
void InfoStringDumper::DumpAsset(AssetDumpingContext& context, XAssetInfo<PhysPreset>* asset)
void InfoStringDumperT6::DumpAsset(AssetDumpingContext& context, XAssetInfo<PhysPreset>* asset)
{
// Only dump raw when no gdt available
if (context.m_gdt)
@@ -111,4 +110,4 @@ namespace T6::phys_preset
stream.write(stringValue.c_str(), stringValue.size());
}
}
} // namespace T6::phys_preset
} // namespace phys_preset