2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 09:07:43 +00:00

Various bug fixes and CAnimTree implementations

This commit is contained in:
Jack Andersen
2018-01-03 18:17:44 -10:00
parent 53bb9f1ba0
commit 99fc9e3598
38 changed files with 339 additions and 140 deletions

View File

@@ -80,7 +80,7 @@ void COptionsScreen::OnSliderChanged(CGuiSliderGroup* caller, float val)
CGameOptions::SetOption(opt, caller->GetGurVal());
}
void COptionsScreen::OnEnumChanged(CGuiTableGroup* caller, int sel)
void COptionsScreen::OnEnumChanged(CGuiTableGroup* caller, int oldSel)
{
if (x10_mode != EMode::RightTable)
return;
@@ -225,7 +225,7 @@ void COptionsScreen::VActivate()
std::bind(&COptionsScreen::OnEnumChanged, this, std::placeholders::_1, std::placeholders::_2));
}
void COptionsScreen::RightTableSelectionChanged(int selBegin, int selEnd)
void COptionsScreen::RightTableSelectionChanged(int oldSel, int newSel)
{
UpdateOptionView();
}