mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2026-04-27 12:51:42 +00:00
Change some sounds used in options menu.
This commit is contained in:
parent
67478ca9f5
commit
28416f651e
1 changed files with 6 additions and 3 deletions
|
|
@ -324,7 +324,7 @@ static void DrawCategories()
|
||||||
if (moveLeft || moveRight)
|
if (moveLeft || moveRight)
|
||||||
{
|
{
|
||||||
ResetSelection();
|
ResetSelection();
|
||||||
PlaySound("sys_worldmap_cursor");
|
PlaySound("sys_actstg_score");
|
||||||
}
|
}
|
||||||
|
|
||||||
auto drawList = ImGui::GetForegroundDrawList();
|
auto drawList = ImGui::GetForegroundDrawList();
|
||||||
|
|
@ -448,7 +448,10 @@ static void DrawConfigOption(int32_t rowIndex, float yOffset, ConfigDef<T>* conf
|
||||||
|
|
||||||
VideoConfigValueChangedCallback(config);
|
VideoConfigValueChangedCallback(config);
|
||||||
|
|
||||||
PlaySound("sys_worldmap_cursor");
|
if (config->Value)
|
||||||
|
PlaySound("sys_actstg_pausedecide");
|
||||||
|
else
|
||||||
|
PlaySound("sys_actstg_pausecansel");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
@ -632,7 +635,7 @@ static void DrawConfigOption(int32_t rowIndex, float yOffset, ConfigDef<T>* conf
|
||||||
config->Value = it->first;
|
config->Value = it->first;
|
||||||
|
|
||||||
if (increment || decrement)
|
if (increment || decrement)
|
||||||
PlaySound("sys_worldmap_cursor");
|
PlaySound("sys_actstg_pausecursor");
|
||||||
}
|
}
|
||||||
else if constexpr (std::is_same_v<T, float>)
|
else if constexpr (std::is_same_v<T, float>)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue