El responsable de comprobar si se ha pulsado alguna tecla para cambiar el tamaño de la venta, el modo de pantalla completa o la activación de los shaders pasa a ser la clase screen

This commit is contained in:
2024-07-05 14:09:38 +02:00
parent 5e7212dfaa
commit 62f3c42e7b
14 changed files with 209 additions and 187 deletions

View File

@@ -16,17 +16,17 @@ Director::Director(int argc, char *argv[])
{
// Inicializa variables
section = new section_t();
section->name = SECTION_PROG_HI_SCORE_TABLE;
section->name = SECTION_PROG_LOGO;
// Comprueba los parametros del programa
checkProgramArguments(argc, argv);
// Crea la carpeta del sistema donde guardar datos
createSystemFolder("jailgames");
#ifndef DEBUG
createSystemFolder("jailgames/coffee_crisis_arcade_edition");
#else
#ifdef DEBUG
createSystemFolder("jailgames/coffee_crisis_arcade_edition_debug");
#else
createSystemFolder("jailgames/coffee_crisis_arcade_edition");
#endif
// Inicializa las opciones del programa
@@ -61,7 +61,7 @@ Director::Director(int argc, char *argv[])
input = new Input(asset->get("gamecontrollerdb.txt"));
initInput();
screen = new Screen(window, renderer, asset, options);
screen = new Screen(window, renderer, asset, input, options);
// Carga los sonidos del juego
loadSounds();