Add basic parsing for menu lists with only loadMenus instructions

This commit is contained in:
Jan
2021-10-31 15:37:46 +01:00
parent 037e13b874
commit bba55706bf
27 changed files with 602 additions and 1 deletions

View File

@ -0,0 +1,9 @@
#pragma once
#include <string>
class CommonFunctionDef
{
public:
std::string m_name;
};

View File

@ -0,0 +1,9 @@
#pragma once
#include <string>
class CommonItemDef
{
public:
std::string m_name;
};

View File

@ -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;
};

View File

@ -0,0 +1,7 @@
#pragma once
enum class MenuFeatureLevel
{
IW4,
IW5
};