diff --git a/source/intro.cpp b/source/intro.cpp index a7878a74..4ce3ff1f 100644 --- a/source/intro.cpp +++ b/source/intro.cpp @@ -242,6 +242,11 @@ void Intro::run() JA_SetVolume(64); JA_PlayMusic(loadingSound1); + // Limpia la pantalla + screen->start(); + screen->clean(); + screen->blit(); + while (section->name == SECTION_PROG_INTRO) { update(); diff --git a/source/main.cpp b/source/main.cpp index 0f7fc179..0b067dd2 100644 --- a/source/main.cpp +++ b/source/main.cpp @@ -8,9 +8,11 @@ Empezado en Castalla el 01/07/2022. #include "director.h" #include +using namespace std; + int main(int argc, char *argv[]) { - std::cout << "Starting the game...\n\n"; + cout << "Starting the game..." << endl; // Crea el objeto Director Director *director = new Director(argc, argv); @@ -22,7 +24,7 @@ int main(int argc, char *argv[]) delete director; director = nullptr; - std::cout << "\nShutting down the game..." << std::endl; + cout << "\nShutting down the game..." << endl; return 0; }