2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2026-02-14 03:13:03 +00:00

fix: compilation with CommonTechset

This commit is contained in:
Jan Laupetin
2026-02-04 21:05:39 +00:00
parent 226e638fe3
commit e9fb5dc4dd
28 changed files with 15 additions and 19 deletions

View File

@@ -0,0 +1,29 @@
#pragma once
#include "Techset/StateMap/StateMapDefinition.h"
#include "Techset/StateMap/StateMapLayout.h"
#include <memory>
#include <set>
#include <string>
#include <unordered_map>
namespace state_map
{
class StateMapParserState
{
public:
const StateMapLayout& m_layout;
std::unordered_map<std::string, size_t> m_valid_state_map_entry_names;
std::unordered_map<std::string, size_t> m_valid_vars;
std::set<std::string> m_valid_values;
std::unique_ptr<StateMapDefinition> m_definition;
bool m_in_entry;
bool m_entry_has_default;
size_t m_current_entry_index;
StateMapRule* m_current_rule;
StateMapParserState(std::string stateMapName, const StateMapLayout& layout);
};
} // namespace state_map