Cambiada la tipografía del menu

This commit is contained in:
2023-10-08 22:16:56 +02:00
parent 1a095d292f
commit 031e4b99f4
2 changed files with 3 additions and 1 deletions

View File

@@ -500,6 +500,7 @@ void Director::loadResources(section_t *section)
textureList.push_back("loading_screen_color.png"); textureList.push_back("loading_screen_color.png");
textureList.push_back("loading_screen_color_zxarne.png"); textureList.push_back("loading_screen_color_zxarne.png");
textureList.push_back("gauntlet.png"); textureList.push_back("gauntlet.png");
textureList.push_back("smb2.png");
textureList.push_back("debug.png"); textureList.push_back("debug.png");
textureList.push_back("notify.png"); textureList.push_back("notify.png");
@@ -508,6 +509,7 @@ void Director::loadResources(section_t *section)
// Offsets // Offsets
std::vector<std::string> offsetsList; std::vector<std::string> offsetsList;
offsetsList.push_back("gauntlet.txt"); offsetsList.push_back("gauntlet.txt");
offsetsList.push_back("smb2.txt");
offsetsList.push_back("debug.txt"); offsetsList.push_back("debug.txt");
resource->loadOffsets(offsetsList); resource->loadOffsets(offsetsList);

View File

@@ -24,7 +24,7 @@ Title::Title(SDL_Renderer *renderer, Screen *screen, Resource *resource, Asset *
texture = resource->getTexture("loading_screen_color_zxarne.png"); texture = resource->getTexture("loading_screen_color_zxarne.png");
} }
sprite = new Sprite(0, 0, texture->getWidth(), texture->getHeight(), texture, renderer); sprite = new Sprite(0, 0, texture->getWidth(), texture->getHeight(), texture, renderer);
text = new Text(resource->getOffset("gauntlet.txt"), resource->getTexture("gauntlet.png"), renderer); text = new Text(resource->getOffset("smb2.txt"), resource->getTexture("smb2.png"), renderer);
infoText = new Text(resource->getOffset("debug.txt"), resource->getTexture("debug.png"), renderer); infoText = new Text(resource->getOffset("debug.txt"), resource->getTexture("debug.png"), renderer);
// Crea la textura para los graficos que aparecen en el fondo de la pantalla de titulo // Crea la textura para los graficos que aparecen en el fondo de la pantalla de titulo