mirror of
https://github.com/neoStudiosLCE/neoLegacy.git
synced 2026-08-20 09:57:09 +00:00
feat: change achievement description bind
went from TAB to RIGHT CLICK
This commit is contained in:
parent
41adc39b28
commit
e776c55a2b
|
|
@ -125,17 +125,35 @@ void UIScene_AchievementsMenu::handleInput(int iPad, int key, bool repeat, bool
|
||||||
break;
|
break;
|
||||||
case ACTION_MENU_Y:
|
case ACTION_MENU_Y:
|
||||||
if (pressed) {
|
if (pressed) {
|
||||||
showDescription = !showDescription;
|
if (!g_KBMInput.IsKBMActive()) {
|
||||||
|
showDescription = !showDescription;
|
||||||
|
|
||||||
if (showDescription) {
|
if (showDescription) {
|
||||||
SetAchievementDescription(app.GetString(Achievements::achievements->at(m_achievementsList.m_iCurrentSelection - 1)->descID));
|
SetAchievementDescription(app.GetString(Achievements::achievements->at(m_achievementsList.m_iCurrentSelection - 1)->descID));
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
SetAchievementDescription(L"");
|
SetAchievementDescription(L"");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
sendInputToMovie(key, repeat, pressed, released);
|
||||||
|
handled = true;
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
case ACTION_MENU_X:
|
||||||
|
if (pressed) {
|
||||||
|
if (g_KBMInput.IsKBMActive()) {
|
||||||
|
showDescription = !showDescription;
|
||||||
|
|
||||||
|
if (showDescription) {
|
||||||
|
SetAchievementDescription(app.GetString(Achievements::achievements->at(m_achievementsList.m_iCurrentSelection - 1)->descID));
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
SetAchievementDescription(L"");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
sendInputToMovie(key, repeat, pressed, released);
|
||||||
|
handled = true;
|
||||||
}
|
}
|
||||||
sendInputToMovie(key, repeat, pressed, released);
|
|
||||||
handled = true;
|
|
||||||
break;
|
break;
|
||||||
case ACTION_MENU_UP:
|
case ACTION_MENU_UP:
|
||||||
if (pressed) {
|
if (pressed) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue