mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2026-04-30 07:29:35 +00:00
Add basic parsing for menu lists with only loadMenus instructions
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
|
||||
class CommonFunctionDef
|
||||
{
|
||||
public:
|
||||
std::string m_name;
|
||||
};
|
||||
@@ -0,0 +1,9 @@
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
|
||||
class CommonItemDef
|
||||
{
|
||||
public:
|
||||
std::string m_name;
|
||||
};
|
||||
@@ -0,0 +1,13 @@
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "CommonItemDef.h"
|
||||
|
||||
class CommonMenuDef
|
||||
{
|
||||
public:
|
||||
std::string m_name;
|
||||
std::vector<std::unique_ptr<CommonItemDef>> m_items;
|
||||
};
|
||||
@@ -0,0 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
enum class MenuFeatureLevel
|
||||
{
|
||||
IW4,
|
||||
IW5
|
||||
};
|
||||
Reference in New Issue
Block a user