mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-10 23:08:05 -05:00
Add basic parsing for menu lists with only loadMenus instructions
This commit is contained in:
9
src/ObjLoading/Parsing/Menu/Domain/CommonFunctionDef.h
Normal file
9
src/ObjLoading/Parsing/Menu/Domain/CommonFunctionDef.h
Normal file
@ -0,0 +1,9 @@
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
|
||||
class CommonFunctionDef
|
||||
{
|
||||
public:
|
||||
std::string m_name;
|
||||
};
|
9
src/ObjLoading/Parsing/Menu/Domain/CommonItemDef.h
Normal file
9
src/ObjLoading/Parsing/Menu/Domain/CommonItemDef.h
Normal file
@ -0,0 +1,9 @@
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
|
||||
class CommonItemDef
|
||||
{
|
||||
public:
|
||||
std::string m_name;
|
||||
};
|
13
src/ObjLoading/Parsing/Menu/Domain/CommonMenuDef.h
Normal file
13
src/ObjLoading/Parsing/Menu/Domain/CommonMenuDef.h
Normal 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;
|
||||
};
|
7
src/ObjLoading/Parsing/Menu/Domain/MenuFeatureLevel.h
Normal file
7
src/ObjLoading/Parsing/Menu/Domain/MenuFeatureLevel.h
Normal file
@ -0,0 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
enum class MenuFeatureLevel
|
||||
{
|
||||
IW4,
|
||||
IW5
|
||||
};
|
Reference in New Issue
Block a user