From 031e4b99f4900271b046dc07f69b4fb259cf3576 Mon Sep 17 00:00:00 2001 From: Sergio Date: Sun, 8 Oct 2023 22:16:56 +0200 Subject: [PATCH] =?UTF-8?q?Cambiada=20la=20tipograf=C3=ADa=20del=20menu?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/director.cpp | 2 ++ source/title.cpp | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/source/director.cpp b/source/director.cpp index f22d5ab..82d8cb6 100644 --- a/source/director.cpp +++ b/source/director.cpp @@ -500,6 +500,7 @@ void Director::loadResources(section_t *section) textureList.push_back("loading_screen_color.png"); textureList.push_back("loading_screen_color_zxarne.png"); textureList.push_back("gauntlet.png"); + textureList.push_back("smb2.png"); textureList.push_back("debug.png"); textureList.push_back("notify.png"); @@ -508,6 +509,7 @@ void Director::loadResources(section_t *section) // Offsets std::vector offsetsList; offsetsList.push_back("gauntlet.txt"); + offsetsList.push_back("smb2.txt"); offsetsList.push_back("debug.txt"); resource->loadOffsets(offsetsList); diff --git a/source/title.cpp b/source/title.cpp index 5e53b48..31f4c4b 100644 --- a/source/title.cpp +++ b/source/title.cpp @@ -24,7 +24,7 @@ Title::Title(SDL_Renderer *renderer, Screen *screen, Resource *resource, Asset * texture = resource->getTexture("loading_screen_color_zxarne.png"); } 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); // Crea la textura para los graficos que aparecen en el fondo de la pantalla de titulo