mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2026-10-24 12:38:10 +00:00
Updated custom map objloading code to match new structure.
This commit is contained in:
1 parent
ce2aec3ab7
commit
249e6426ff
4 files changed
+9
-6
No files matched your search
@@ -53,10 +53,10 @@ namespace
|
||||
};
|
||||
} // namespace
|
||||
|
||||
namespace T6
|
||||
namespace custom_map
|
||||
{
|
||||
std::unique_ptr<AssetCreator<AssetGfxWorld>> CreateCustomMapLoader(MemoryManager& memory, ISearchPath& searchPath, Zone& zone)
|
||||
std::unique_ptr<AssetCreator<AssetGfxWorld>> CreateLoaderT6(MemoryManager& memory, ISearchPath& searchPath, Zone& zone)
|
||||
{
|
||||
return std::make_unique<CustomMapLoader>(memory, searchPath, zone);
|
||||
}
|
||||
} // namespace T6
|
||||
} // namespace custom_map
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
#include <memory>
|
||||
|
||||
namespace T6
|
||||
namespace custom_map
|
||||
{
|
||||
std::unique_ptr<AssetCreator<AssetGfxWorld>> CreateCustomMapLoader(MemoryManager& memory, ISearchPath& searchPath, Zone& zone);
|
||||
} // namespace T6
|
||||
std::unique_ptr<AssetCreator<T6::AssetGfxWorld>> CreateLoaderT6(MemoryManager& memory, ISearchPath& searchPath, Zone& zone);
|
||||
} // namespace custom_map
|
||||
File renamed without changes.
@@ -42,6 +42,7 @@
|
||||
#include "Weapon/WeaponRawLoaderT6.h"
|
||||
#include "ZBarrier/GdtLoaderZBarrierT6.h"
|
||||
#include "ZBarrier/RawLoaderZBarrierT6.h"
|
||||
#include "CustomMap/LoaderCustomMapT6.h"
|
||||
|
||||
#include <format>
|
||||
#include <memory>
|
||||
@@ -439,6 +440,8 @@ namespace T6
|
||||
// collection.AddAssetCreator(std::make_unique<AssetLoaderFootstepFxTable>(memory));
|
||||
collection.AddAssetCreator(z_barrier::CreateRawLoaderT6(memory, searchPath, zone));
|
||||
collection.AddAssetCreator(z_barrier::CreateGdtLoaderT6(memory, searchPath, gdt, zone));
|
||||
|
||||
collection.AddAssetCreator(custom_map::CreateLoaderT6(memory, searchPath, zone));
|
||||
}
|
||||
} // namespace
|
||||
|
||||
|
||||
Reference in new issue
Block a user