mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-11-24 05:32:06 +00:00
26 lines
657 B
C++
26 lines
657 B
C++
#pragma once
|
|
|
|
#include "Asset/IAssetCreator.h"
|
|
#include "Game/T6/BSP/BSP.h"
|
|
#include "SearchPath/ISearchPath.h"
|
|
#include "Utils/MemoryManager.h"
|
|
|
|
namespace BSP
|
|
{
|
|
class BSPLinker
|
|
{
|
|
public:
|
|
BSPLinker(MemoryManager& memory, ISearchPath& searchPath, AssetCreationContext& context);
|
|
|
|
bool linkBSP(const BSPData& bsp) const;
|
|
|
|
private:
|
|
T6::FootstepTableDef* addEmptyFootstepTableAsset(const std::string& assetName) const;
|
|
bool addDefaultRequiredAssets(const BSPData& bsp) const;
|
|
|
|
MemoryManager& m_memory;
|
|
ISearchPath& m_search_path;
|
|
AssetCreationContext& m_context;
|
|
};
|
|
} // namespace BSP
|