- 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

@@ -208,33 +208,21 @@ void Game::checkInput()
reLoadTextures();
}
else if (input->checkInput(input_video_mode, REPEAT_FALSE))
else if (input->checkInput(input_window_fullscreen, REPEAT_FALSE))
{
screen->switchVideoMode();
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();
reLoadTextures();
}
else if (input->checkInput(input_window_size_2, REPEAT_FALSE))
else if (input->checkInput(input_window_inc_size, REPEAT_FALSE))
{
screen->setWindowSize(2);
reLoadTextures();
}
else if (input->checkInput(input_window_size_3, REPEAT_FALSE))
{
screen->setWindowSize(3);
reLoadTextures();
}
else if (input->checkInput(input_window_size_4, REPEAT_FALSE))
{
screen->setWindowSize(4);
screen->incWindowSize();
reLoadTextures();
}