Eliminat el punter a "section"

This commit is contained in:
2024-09-28 09:28:22 +02:00
parent 0a8d0479a0
commit 8d263931b2
19 changed files with 191 additions and 172 deletions

View File

@@ -20,6 +20,7 @@
#include "tiledbg.h"
#include "game_logo.h"
#include "define_buttons.h"
#include "section.h"
// Textos
#define TEXT_COPYRIGHT "@2020,2024 JailDesigner"
@@ -51,7 +52,6 @@ private:
Asset *asset; // Objeto que gestiona todos los ficheros de recursos
Input *input; // Objeto para leer las entradas de teclado o mando
SDL_Event *eventHandler; // Manejador de eventos
section_t *section; // Indicador para el bucle del titulo
Tiledbg *tiledbg; // Objeto para dibujar el mosaico animado de fondo
GameLogo *gameLogo; // Objeto para dibujar el logo con el título del juego
DefineButtons *defineButtons; // Objeto para definir los botones del joystic
@@ -98,11 +98,11 @@ private:
void swapControllers();
// Termina
void quit(int code);
void quit(section::options_e code);
public:
// Constructor
Title(Screen *screen, Asset *asset, Input *input, section_t *section, JA_Music_t *music);
Title(Screen *screen, Asset *asset, Input *input, JA_Music_t *music);
// Destructor
~Title();