Trabajando en el TITULO
This commit is contained in:
@@ -9,8 +9,8 @@ Director::Director(std::string path)
|
||||
{
|
||||
|
||||
// Inicializa variables
|
||||
section.name = PROG_SECTION_INTRO;
|
||||
section.subsection = 0;
|
||||
section.name = PROG_SECTION_TITLE;
|
||||
section.subsection = TITLE_SECTION_1;
|
||||
|
||||
// Crea el objeto que controla los ficheros de recursos
|
||||
asset = new Asset(path.substr(0, path.find_last_of("\\/")) + "/../");
|
||||
@@ -391,8 +391,8 @@ void Director::runIntro()
|
||||
|
||||
void Director::runTitle()
|
||||
{
|
||||
title = new Title(window, renderer, screen, input, asset, options, lang);
|
||||
setSection(title->run(section.subsection));
|
||||
title = new Title(renderer, screen, input, asset, options, lang, section);
|
||||
setSection(title->run());
|
||||
delete title;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user