Añadida la opción para ver la tabla de records desde el menu de opciones

This commit is contained in:
2023-09-28 17:57:00 +02:00
parent c1c88032de
commit 3ac9157fbf
9 changed files with 33 additions and 20 deletions

View File

@@ -478,18 +478,22 @@ void Title::update()
runInstructions(m_manual);
break;
case 12: // JAILERID:
case 12: // HISCORE TABLE
runHiScoreTable(mhst_manual);
break;
case 13: // JAILERID:
runEnterID();
updateMenuLabels();
break;
case 13: // ACCEPT
case 14: // ACCEPT
applyOptions();
menu.active->reset();
menu.active = menu.title;
break;
case 14: // CANCEL
case 15: // CANCEL
options = &optionsPrevious;
updateMenuLabels();
menu.active->reset();
@@ -926,6 +930,10 @@ void Title::updateMenuLabels()
// HOW TO PLAY
menu.options->setItemCaption(i, lang->getText(2));
i++;
// HISCORE TABLE
menu.options->setItemCaption(i, lang->getText(93));
i++;
// JAILERID;
const std::string jailerID = options->online.jailerID == "" ? lang->getText(64) : options->online.jailerID;