mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-11-30 16:27:47 +00:00
refactor: do not nest asset namespaces in game namespaces
* Duplicated namespace names are kind of annoying
This commit is contained in:
@@ -4,14 +4,14 @@
|
||||
|
||||
using namespace IW3;
|
||||
|
||||
namespace IW3::string_table
|
||||
namespace string_table
|
||||
{
|
||||
bool Dumper::ShouldDump(XAssetInfo<StringTable>* asset)
|
||||
bool DumperIW3::ShouldDump(XAssetInfo<StringTable>* asset)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
void Dumper::DumpAsset(AssetDumpingContext& context, XAssetInfo<StringTable>* asset)
|
||||
void DumperIW3::DumpAsset(AssetDumpingContext& context, XAssetInfo<StringTable>* asset)
|
||||
{
|
||||
const auto* stringTable = asset->Asset();
|
||||
const auto assetFile = context.OpenAssetFile(asset->m_name);
|
||||
@@ -31,4 +31,4 @@ namespace IW3::string_table
|
||||
csv.NextRow();
|
||||
}
|
||||
}
|
||||
} // namespace IW3::string_table
|
||||
} // namespace string_table
|
||||
|
||||
Reference in New Issue
Block a user