treball en curs: correccions de tidy

This commit is contained in:
2026-05-16 14:04:59 +02:00
parent 48af959814
commit be18f51735
31 changed files with 1741 additions and 1966 deletions
+5 -5
View File
@@ -457,7 +457,7 @@ void Title::update() {
break;
case 11: // HOW TO PLAY
runInstructions(m_manual);
runInstructions(Instructions::Mode::MANUAL);
break;
case 12: // ACCEPT
@@ -495,7 +495,7 @@ void Title::update() {
// Sección Instrucciones
if (section->subsection == SUBSECTION_TITLE_INSTRUCTIONS) {
runInstructions(m_auto);
runInstructions(Instructions::Mode::AUTO);
}
}
@@ -845,7 +845,7 @@ void Title::iterate() {
if (wasQuit) {
section->name = SECTION_PROG_QUIT;
} else if (instructionsMode == m_auto) {
} else if (instructionsMode == Instructions::Mode::AUTO) {
section->name = SECTION_PROG_TITLE;
init();
demo = true;
@@ -877,7 +877,7 @@ void Title::iterate() {
section->name = SECTION_PROG_TITLE;
section->subsection = SUBSECTION_TITLE_3;
demoThenInstructions = false;
runInstructions(m_auto);
runInstructions(Instructions::Mode::AUTO);
} else {
section->name = SECTION_PROG_TITLE;
section->subsection = SUBSECTION_TITLE_1;
@@ -929,7 +929,7 @@ void Title::run() {
}
// Inicia la parte donde se muestran las instrucciones
void Title::runInstructions(InstructionsMode mode) {
void Title::runInstructions(Instructions::Mode mode) {
instructions = new Instructions(renderer, section);
instructions->start(mode);
instructionsActive = true;