Implementats els shaders

This commit is contained in:
2025-02-20 08:48:55 +01:00
parent cc0f050c50
commit 9cb57e2ff2
20 changed files with 957 additions and 104 deletions

View File

@@ -101,12 +101,12 @@ void LoadingScreen::checkInput()
else if (input->checkInput(input_toggle_border, REPEAT_FALSE))
{
screen->switchBorder();
screen->toggleBorder();
}
else if (input->checkInput(input_window_fullscreen, REPEAT_FALSE))
else if (input->checkInput(input_toggle_videomode, REPEAT_FALSE))
{
screen->switchVideoMode();
screen->toggleVideoMode();
}
else if (input->checkInput(input_window_dec_size, REPEAT_FALSE))
@@ -119,7 +119,7 @@ void LoadingScreen::checkInput()
screen->incWindowSize();
}
else if (input->checkInput(input_swap_palette, REPEAT_FALSE))
else if (input->checkInput(input_toggle_palette, REPEAT_FALSE))
{
switchPalette();
}
@@ -274,7 +274,7 @@ void LoadingScreen::render()
renderLoad();
// Vuelca el contenido del renderizador en pantalla
screen->blit();
screen->render();
}
// Bucle para el logo del juego
@@ -287,7 +287,7 @@ void LoadingScreen::run()
// Limpia la pantalla
screen->start();
screen->clean();
screen->blit();
screen->render();
while (section->name == SECTION_LOADING_SCREEN)
{
@@ -354,5 +354,5 @@ void LoadingScreen::recreateLoadingScreen()
}
// Vuelca el contenido del renderizador en pantalla
screen->blit();
screen->render();
}