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

@@ -373,22 +373,22 @@ void Screen::update()
// Comprueba las entradas
void Screen::checkInput()
{
if (input->checkInput(input_window_fullscreen, REPEAT_FALSE))
if (input->checkInput(input_window_fullscreen, DO_NOT_ALLOW_REPEAT))
{
switchVideoMode();
}
else if (input->checkInput(input_window_dec_size, REPEAT_FALSE))
else if (input->checkInput(input_window_dec_size, DO_NOT_ALLOW_REPEAT))
{
decWindowSize();
}
else if (input->checkInput(input_window_inc_size, REPEAT_FALSE))
else if (input->checkInput(input_window_inc_size, DO_NOT_ALLOW_REPEAT))
{
incWindowSize();
}
else if (input->checkInput(input_video_shaders, REPEAT_FALSE))
else if (input->checkInput(input_video_shaders, DO_NOT_ALLOW_REPEAT))
{
switchShaders();
}