Add support to resolve variables on action queue add

This commit is contained in:
WarmUpTill
2024-03-01 23:42:12 +01:00
committed by WarmUpTill
parent f8dadd38b4
commit 03e71e9183
82 changed files with 835 additions and 248 deletions

View File

@@ -66,6 +66,21 @@ MacroRef MacroActionSequence::GetNextMacro(bool advance)
return res;
}
std::shared_ptr<MacroAction> MacroActionSequence::Create(Macro *m)
{
return std::make_shared<MacroActionSequence>(m);
}
std::shared_ptr<MacroAction> MacroActionSequence::Copy() const
{
return std::make_shared<MacroActionSequence>(*this);
}
void MacroActionSequence::ResolveVariablesToFixedValues()
{
_resetIndex.ResolveVariables();
}
bool MacroActionSequence::RunSequence()
{
if (_macros.size() == 0) {