Añadidas nuevas funciones al botón de servicio

El botón de servicio se puede usar en cualquier sección del juego
This commit is contained in:
2024-09-15 13:03:53 +02:00
parent a435e3ed8c
commit 04935c652d
14 changed files with 171 additions and 40 deletions

View File

@@ -23,7 +23,8 @@ int main(int argc, char *argv[])
// Destruye el objeto Director
delete director;
std::cout << "\nGame end" << std::endl;
const std::string endType = exit == SECTION_OPTIONS_QUIT_NORMAL ? "to terminal" : "shutdown";
std::cout << "\nGame end -> " << endType << std::endl;
return exit;
}