mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-09 22:38:06 -05:00
22 lines
664 B
C++
22 lines
664 B
C++
#pragma once
|
|
|
|
#include "Asset/AssetCreationContext.h"
|
|
#include "Game/IW5/IW5.h"
|
|
#include "Parsing/Menu/Domain/CommonMenuDef.h"
|
|
#include "SearchPath/ISearchPath.h"
|
|
#include "Utils/MemoryManager.h"
|
|
|
|
namespace IW5
|
|
{
|
|
class IMenuConverter
|
|
{
|
|
public:
|
|
IMenuConverter() = default;
|
|
virtual ~IMenuConverter() = default;
|
|
|
|
virtual void ConvertMenu(const menu::CommonMenuDef& commonMenu, menuDef_t& menu, AssetRegistration<AssetMenu>& registration) = 0;
|
|
|
|
static std::unique_ptr<IMenuConverter> Create(bool disableOptimizations, ISearchPath& searchPath, MemoryManager& memory, AssetCreationContext& context);
|
|
};
|
|
} // namespace IW5
|