- Cambiadas las teclas de cambiar el tamaño de ventana para adecuarse al estandar de jailgames

This commit is contained in:
2023-02-12 17:28:48 +01:00
parent 8b3d257baf
commit 31e657d138
14 changed files with 80 additions and 177 deletions

View File

@@ -106,33 +106,21 @@ void Title::checkInput()
resource->reLoadTextures();
}
else if (input->checkInput(input_video_mode, REPEAT_FALSE))
else if (input->checkInput(input_window_fullscreen, REPEAT_FALSE))
{
screen->switchVideoMode();
resource->reLoadTextures();
}
else if (input->checkInput(input_window_size_1, REPEAT_FALSE))
else if (input->checkInput(input_window_dec_size, REPEAT_FALSE))
{
screen->setWindowSize(1);
screen->decWindowSize();
resource->reLoadTextures();
}
else if (input->checkInput(input_window_size_2, REPEAT_FALSE))
else if (input->checkInput(input_window_inc_size, REPEAT_FALSE))
{
screen->setWindowSize(2);
resource->reLoadTextures();
}
else if (input->checkInput(input_window_size_3, REPEAT_FALSE))
{
screen->setWindowSize(3);
resource->reLoadTextures();
}
else if (input->checkInput(input_window_size_4, REPEAT_FALSE))
{
screen->setWindowSize(4);
screen->incWindowSize();
resource->reLoadTextures();
}