mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-04-20 16:15:43 +00:00
Add missing expressions for openSound and closeSound for menus
This commit is contained in:
parent
80a0fba606
commit
bfe488acad
@ -338,6 +338,14 @@ void MenuScopeSequences::AddSequences(FeatureLevel featureLevel, bool permissive
|
||||
{
|
||||
state->m_current_menu->m_rect_h_exp = std::move(value);
|
||||
}));
|
||||
AddSequence(GenericExpressionPropertySequence::WithKeywords({"exp", "openSound"}, [](const MenuFileParserState* state, const TokenPos&, std::unique_ptr<ISimpleExpression> value)
|
||||
{
|
||||
state->m_current_menu->m_open_sound_exp = std::move(value);
|
||||
}));
|
||||
AddSequence(GenericExpressionPropertySequence::WithKeywords({"exp", "closeSound"}, [](const MenuFileParserState* state, const TokenPos&, std::unique_ptr<ISimpleExpression> value)
|
||||
{
|
||||
state->m_current_menu->m_close_sound_exp = std::move(value);
|
||||
}));
|
||||
AddSequence(std::make_unique<GenericKeywordPropertySequence>("popup", [](const MenuFileParserState* state, const TokenPos&)
|
||||
{
|
||||
state->m_current_menu->m_popup = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user