mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-04-20 16:15:43 +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 "Game/T6/Json/JsonMaterial.h"
|
||||||
|
|
||||||
#include <format>
|
#include <format>
|
||||||
#include <iomanip>
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <nlohmann/json.hpp>
|
#include <nlohmann/json.hpp>
|
||||||
|
|
||||||
using namespace nlohmann;
|
using namespace nlohmann;
|
||||||
|
using namespace T6;
|
||||||
|
|
||||||
namespace T6
|
namespace
|
||||||
{
|
{
|
||||||
class JsonLoader
|
class JsonLoader
|
||||||
{
|
{
|
||||||
@ -362,7 +362,10 @@ namespace T6
|
|||||||
IAssetLoadingManager& m_manager;
|
IAssetLoadingManager& m_manager;
|
||||||
std::vector<XAssetInfoGeneric*>& m_dependencies;
|
std::vector<XAssetInfoGeneric*>& m_dependencies;
|
||||||
};
|
};
|
||||||
|
} // namespace
|
||||||
|
|
||||||
|
namespace T6
|
||||||
|
{
|
||||||
bool LoadMaterialAsJson(
|
bool LoadMaterialAsJson(
|
||||||
std::istream& stream, Material& material, MemoryManager* memory, IAssetLoadingManager* manager, std::vector<XAssetInfoGeneric*>& dependencies)
|
std::istream& stream, Material& material, MemoryManager* memory, IAssetLoadingManager* manager, std::vector<XAssetInfoGeneric*>& dependencies)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user