mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2026-01-13 12:11:50 +00:00
Parse techset files for IW4
This commit is contained in:
18
src/ObjLoading/Techset/TechsetDefinition.h
Normal file
18
src/ObjLoading/Techset/TechsetDefinition.h
Normal file
@@ -0,0 +1,18 @@
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
namespace techset
|
||||
{
|
||||
class TechsetDefinition
|
||||
{
|
||||
std::vector<bool> m_has_technique;
|
||||
std::vector<std::string> m_technique_names;
|
||||
|
||||
public:
|
||||
explicit TechsetDefinition(size_t techniqueTypeCount);
|
||||
bool GetTechniqueByIndex(size_t index, std::string& techniqueName) const;
|
||||
void SetTechniqueByIndex(size_t index, std::string techniqueName);
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user