guardar partida pq ja estic fent canvis a cegues a vore si trac açò

This commit is contained in:
2024-07-07 14:38:46 +02:00
parent 3ee04f7e1c
commit ceafe931f1
14 changed files with 201 additions and 111 deletions

View File

@@ -901,7 +901,7 @@ void Menu::setDefaultActionWhenCancel(int item)
// Gestiona la entrada de teclado y mando durante el menu
void Menu::checkInput()
{
if (input->checkInput(input_up, REPEAT_FALSE))
if (input->checkInput(input_up, DO_NOT_ALLOW_REPEAT))
{
if (decreaseSelectorIndex())
{
@@ -912,7 +912,7 @@ void Menu::checkInput()
}
}
if (input->checkInput(input_down, REPEAT_FALSE))
if (input->checkInput(input_down, DO_NOT_ALLOW_REPEAT))
{
if (increaseSelectorIndex())
{
@@ -923,7 +923,7 @@ void Menu::checkInput()
}
}
if (input->checkInput(input_accept, REPEAT_FALSE))
if (input->checkInput(input_accept, DO_NOT_ALLOW_REPEAT))
{
itemSelected = selector.index;
if (soundAccept)
@@ -932,7 +932,7 @@ void Menu::checkInput()
}
}
if (input->checkInput(input_cancel, REPEAT_FALSE))
if (input->checkInput(input_cancel, DO_NOT_ALLOW_REPEAT))
{
itemSelected = defaultActionWhenCancel;
if (soundCancel)