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

@@ -12,6 +12,7 @@
#include "lang.h"
#include "tiledbg.h"
#include "fade.h"
#include "section.h"
/*
Esta clase gestiona un estado del programa. Se encarga de poner en pantalla
@@ -44,7 +45,6 @@ private:
Tiledbg *tiledbg; // Objeto para dibujar el mosaico animado de fondo
Fade *fade; // Objeto para renderizar fades
JA_Music_t *music; // Musica de fondo
section_t *section; // Estado del bucle principal para saber si continua o se sale
// Variables
int counter; // Contador
@@ -83,11 +83,11 @@ private:
void reloadTextures();
// Termina
void quit(int code);
void quit(section::options_e code);
public:
// Constructor
Instructions(Screen *screen, Asset *asset, Input *input, section_t *section, JA_Music_t *music);
Instructions(Screen *screen, Asset *asset, Input *input, JA_Music_t *music);
// Destructor
~Instructions();