mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-10-26 08:15:54 +00:00
refactor: do not nest asset namespaces in game namespaces
* Duplicated namespace names are kind of annoying
This commit is contained in:
@@ -1108,14 +1108,14 @@ namespace
|
||||
};
|
||||
} // namespace
|
||||
|
||||
namespace IW4::material
|
||||
namespace material
|
||||
{
|
||||
bool DecompilingGdtDumper::ShouldDump(XAssetInfo<Material>* asset)
|
||||
bool DecompilingGdtDumperIW4::ShouldDump(XAssetInfo<Material>* asset)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
void DecompilingGdtDumper::DumpAsset(AssetDumpingContext& context, XAssetInfo<Material>* asset)
|
||||
void DecompilingGdtDumperIW4::DumpAsset(AssetDumpingContext& context, XAssetInfo<Material>* asset)
|
||||
{
|
||||
if (!context.m_gdt)
|
||||
return;
|
||||
@@ -1123,4 +1123,4 @@ namespace IW4::material
|
||||
MaterialGdtDumper dumper(*asset->Asset());
|
||||
context.m_gdt->WriteEntry(dumper.CreateGdtEntry());
|
||||
}
|
||||
} // namespace IW4::material
|
||||
} // namespace material
|
||||
|
||||
Reference in New Issue
Block a user