forked from jaildesigner-jailgames/jaildoctors_dilemma
Fix: No se limpiaba la pantalla tras entrar el JailerID
This commit is contained in:
@@ -242,6 +242,11 @@ void Intro::run()
|
|||||||
JA_SetVolume(64);
|
JA_SetVolume(64);
|
||||||
JA_PlayMusic(loadingSound1);
|
JA_PlayMusic(loadingSound1);
|
||||||
|
|
||||||
|
// Limpia la pantalla
|
||||||
|
screen->start();
|
||||||
|
screen->clean();
|
||||||
|
screen->blit();
|
||||||
|
|
||||||
while (section->name == SECTION_PROG_INTRO)
|
while (section->name == SECTION_PROG_INTRO)
|
||||||
{
|
{
|
||||||
update();
|
update();
|
||||||
|
|||||||
@@ -8,9 +8,11 @@ Empezado en Castalla el 01/07/2022.
|
|||||||
#include "director.h"
|
#include "director.h"
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|
||||||
|
using namespace std;
|
||||||
|
|
||||||
int main(int argc, char *argv[])
|
int main(int argc, char *argv[])
|
||||||
{
|
{
|
||||||
std::cout << "Starting the game...\n\n";
|
cout << "Starting the game..." << endl;
|
||||||
|
|
||||||
// Crea el objeto Director
|
// Crea el objeto Director
|
||||||
Director *director = new Director(argc, argv);
|
Director *director = new Director(argc, argv);
|
||||||
@@ -22,7 +24,7 @@ int main(int argc, char *argv[])
|
|||||||
delete director;
|
delete director;
|
||||||
director = nullptr;
|
director = nullptr;
|
||||||
|
|
||||||
std::cout << "\nShutting down the game..." << std::endl;
|
cout << "\nShutting down the game..." << endl;
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user