Se me ha ocurrido y lo he hecho antes que nadie: poner prefijo a los .cpp i .h que definen cada uno de los estados del juego

This commit is contained in:
2023-10-10 17:46:02 +02:00
parent f602b5ff7a
commit 6de3050255
23 changed files with 148 additions and 147 deletions

View File

@@ -72,7 +72,7 @@ void EnterID::checkEvents()
// Evento de salida de la aplicación
if (eventHandler->type == SDL_QUIT)
{
section->name = SECTION_PROG_QUIT;
section->name = SECTION_QUIT;
loopRunning = false;
break;
}
@@ -124,7 +124,7 @@ void EnterID::checkEvents()
else if (eventHandler->key.keysym.scancode == SDL_SCANCODE_ESCAPE)
{
section->name = SECTION_PROG_QUIT;
section->name = SECTION_QUIT;
loopRunning = false;
break;
}