mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-04-20 00:02:55 +00:00
chore: make material json loader use anonymous namespace
This commit is contained in:
parent
fc9f265f0c
commit
af37476e23
@ -4,13 +4,13 @@
|
||||
#include "Game/T6/Json/JsonMaterial.h"
|
||||
|
||||
#include <format>
|
||||
#include <iomanip>
|
||||
#include <iostream>
|
||||
#include <nlohmann/json.hpp>
|
||||
|
||||
using namespace nlohmann;
|
||||
using namespace T6;
|
||||
|
||||
namespace T6
|
||||
namespace
|
||||
{
|
||||
class JsonLoader
|
||||
{
|
||||
@ -362,7 +362,10 @@ namespace T6
|
||||
IAssetLoadingManager& m_manager;
|
||||
std::vector<XAssetInfoGeneric*>& m_dependencies;
|
||||
};
|
||||
} // namespace
|
||||
|
||||
namespace T6
|
||||
{
|
||||
bool LoadMaterialAsJson(
|
||||
std::istream& stream, Material& material, MemoryManager* memory, IAssetLoadingManager* manager, std::vector<XAssetInfoGeneric*>& dependencies)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user