Arreglado el modo 2P

This commit is contained in:
2022-10-09 11:46:11 +02:00
parent f880bb7d74
commit ca7ae7418e
5 changed files with 99 additions and 37 deletions

View File

@@ -11,6 +11,9 @@ Director::Director(std::string path)
section.name = PROG_SECTION_GAME;
section.subsection = GAME_SECTION_PLAY_1P;
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("\\/")) + "/../");
@@ -213,6 +216,7 @@ bool Director::setFileList()
asset->add("data/gfx/intro.png", t_bitmap);
asset->add("data/gfx/logo.png", t_bitmap);
asset->add("data/gfx/menu_game_over.png", t_bitmap);
asset->add("data/gfx/menu_game_over_end.png", t_bitmap);
asset->add("data/gfx/item_points1_disk.png", t_bitmap);
asset->add("data/gfx/item_points1_disk.ani", t_data);