neteja tidy a source/core/system i audio amb fixes d'arrel

This commit is contained in:
2026-05-14 21:02:43 +02:00
parent dc622c7bae
commit 0ee117135c
11 changed files with 145 additions and 115 deletions
+3 -3
View File
@@ -46,7 +46,7 @@ class Instructions {
~Instructions();
Instructions(const Instructions &) = delete;
Instructions &operator=(const Instructions &) = delete;
auto operator=(const Instructions &) -> Instructions & = delete;
// Bucle principal
void run(mode_e mode);
@@ -64,8 +64,8 @@ class Instructions {
void checkEvents();
// Indica si las instrucciones han terminado
bool hasFinished() const;
[[nodiscard]] auto hasFinished() const -> bool;
// Indica si se ha solicitado salir de la aplicación
bool isQuitRequested() const;
[[nodiscard]] auto isQuitRequested() const -> bool;
};
+1 -1
View File
@@ -48,7 +48,7 @@ class Intro {
~Intro();
Intro(const Intro &) = delete;
Intro &operator=(const Intro &) = delete;
auto operator=(const Intro &) -> Intro & = delete;
// Bucle principal
void run();
+1 -1
View File
@@ -43,7 +43,7 @@ class Logo {
~Logo();
Logo(const Logo &) = delete;
Logo &operator=(const Logo &) = delete;
auto operator=(const Logo &) -> Logo & = delete;
// Bucle principal
void run();
+2 -2
View File
@@ -129,7 +129,7 @@ class Title {
void runDemoGame();
// Modifica las opciones para los controles de los jugadores
bool updatePlayerInputs(int numPlayer);
auto updatePlayerInputs(int numPlayer) -> bool;
// Crea el mosaico de fondo del titulo
void createTiledBackground();
@@ -148,7 +148,7 @@ class Title {
~Title();
Title(const Title &) = delete;
Title &operator=(const Title &) = delete;
auto operator=(const Title &) -> Title & = delete;
// Bucle para el titulo del juego
void run();