forked from jaildesigner-jailgames/jaildoctors_dilemma
Ya rueda por los diferentes estados del juego: logo, titulo, creditos, demo
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
Director::Director(std::string path)
|
||||
{
|
||||
section.name = SECTION_PROG_LOGO;
|
||||
section.subsection = 0;
|
||||
section.subsection = SUBSECTION_LOGO_TO_INTRO;
|
||||
|
||||
section.name = SECTION_PROG_CREDITS;
|
||||
|
||||
@@ -609,7 +609,7 @@ void Director::setSection(section_t section)
|
||||
// Ejecuta la seccion de juego con el logo
|
||||
void Director::runLogo()
|
||||
{
|
||||
logo = new Logo(renderer, screen, asset);
|
||||
logo = new Logo(renderer, screen, asset, section.subsection);
|
||||
setSection(logo->run());
|
||||
delete logo;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user