mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-11-24 21:52:06 +00:00
WIP: Converted custom map linker into different asset files
This commit is contained in:
24
src/ObjLoading/Game/T6/BSP/Linker/BSPLinker.h
Normal file
24
src/ObjLoading/Game/T6/BSP/Linker/BSPLinker.h
Normal file
@@ -0,0 +1,24 @@
|
||||
#pragma once
|
||||
|
||||
#include "../BSP.h"
|
||||
#include "Asset/IAssetCreator.h"
|
||||
#include "SearchPath/ISearchPath.h"
|
||||
#include "Utils/MemoryManager.h"
|
||||
|
||||
namespace BSP
|
||||
{
|
||||
class BSPLinker
|
||||
{
|
||||
public:
|
||||
BSPLinker(MemoryManager& memory, ISearchPath& searchPath, AssetCreationContext& context);
|
||||
AssetCreationResult linkBSP(BSPData* bsp);
|
||||
|
||||
private:
|
||||
FootstepTableDef* addEmptyFootstepTableAsset(std::string assetName);
|
||||
bool addDefaultRequiredAssets(BSPData* bsp);
|
||||
|
||||
MemoryManager& m_memory;
|
||||
ISearchPath& m_search_path;
|
||||
AssetCreationContext& m_context;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user