mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-04-20 16:15:43 +00:00
22 lines
545 B
C++
22 lines
545 B
C++
#pragma once
|
|
|
|
#include "Asset/IAssetCreator.h"
|
|
#include "Game/IW3/IW3.h"
|
|
#include "SearchPath/ISearchPath.h"
|
|
#include "Utils/MemoryManager.h"
|
|
|
|
namespace IW3
|
|
{
|
|
class AssetLoaderRawFile final : public AssetCreator<AssetRawFile>
|
|
{
|
|
public:
|
|
AssetLoaderRawFile(MemoryManager& memory, ISearchPath& searchPath);
|
|
|
|
AssetCreationResult CreateAsset(const std::string& assetName, AssetCreationContext& context) override;
|
|
|
|
private:
|
|
MemoryManager& m_memory;
|
|
ISearchPath& m_search_path;
|
|
};
|
|
} // namespace IW3
|