Ya se puede cambiar el JailerID desde la pantalla de titulo

This commit is contained in:
2023-09-24 08:53:11 +02:00
parent 6f1eee21b9
commit 458be05547
3 changed files with 29 additions and 13 deletions

View File

@@ -14,6 +14,7 @@
#include "const.h"
#include "fade.h"
#include "game.h"
#include "enter_id.h"
#include "hiscore_table.h"
#include "instructions.h"
#include "item.h"
@@ -51,6 +52,7 @@ private:
Instructions *instructions; // Objeto para la sección de las instrucciones
HiScoreTable *hiScoreTable; // Objeto para mostrar las mejores puntuaciones online
Game *demoGame; // Objeto para lanzar la demo del juego
EnterID *enterID; // Objeto para introducir o modificar el JailerID
SDL_Event *eventHandler; // Manejador de eventos
section_t *section; // Indicador para el bucle del titulo
@@ -129,6 +131,9 @@ private:
// Ejecuta el juego en modo demo
void runDemoGame();
// Introduce el JailerID
void runEnterID();
// Modifica las opciones para los controles de los jugadores
bool updatePlayerInputs(int numPlayer);