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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user