mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-23 05:07:53 -05:00
Add AssetLoader basis
This commit is contained in:
@ -1,12 +1,14 @@
|
||||
#include "ZoneCreationContext.h"
|
||||
|
||||
ZoneCreationContext::ZoneCreationContext()
|
||||
: m_asset_search_path(nullptr)
|
||||
: m_asset_search_path(nullptr),
|
||||
m_definition(nullptr)
|
||||
{
|
||||
}
|
||||
|
||||
ZoneCreationContext::ZoneCreationContext(std::string zoneName, ISearchPath* assetSearchPath)
|
||||
: m_asset_search_path(assetSearchPath),
|
||||
m_zone_name(std::move(zoneName))
|
||||
ZoneCreationContext::ZoneCreationContext(std::string zoneName, ISearchPath* assetSearchPath, ZoneDefinition* definition)
|
||||
: m_zone_name(std::move(zoneName)),
|
||||
m_asset_search_path(assetSearchPath),
|
||||
m_definition(definition)
|
||||
{
|
||||
}
|
||||
|
@ -5,15 +5,17 @@
|
||||
|
||||
#include "SearchPath/ISearchPath.h"
|
||||
#include "Obj/Gdt/Gdt.h"
|
||||
#include "Zone/Definition/ZoneDefinition.h"
|
||||
|
||||
class ZoneCreationContext
|
||||
{
|
||||
public:
|
||||
ISearchPath* m_asset_search_path;
|
||||
std::string m_zone_name;
|
||||
std::string m_game_name;
|
||||
ISearchPath* m_asset_search_path;
|
||||
ZoneDefinition* m_definition;
|
||||
std::vector<std::unique_ptr<Gdt>> m_gdt_files;
|
||||
|
||||
ZoneCreationContext();
|
||||
ZoneCreationContext(std::string zoneName, ISearchPath* assetSearchPath);
|
||||
ZoneCreationContext(std::string zoneName, ISearchPath* assetSearchPath, ZoneDefinition* definition);
|
||||
};
|
||||
|
Reference in New Issue
Block a user