Añadida función para pasar cadenas a mayúsculas

This commit is contained in:
2023-10-09 09:02:44 +02:00
parent a68ffa8e21
commit 20c63c7ef5
3 changed files with 22 additions and 3 deletions

View File

@@ -440,7 +440,7 @@ void Title::createCheevosTexture()
SDL_RenderClear(renderer);
// Escribe la lista de logros en la textura
const std::string cheevosOwner = options->online.jailerID == "" ? "LOCAL ACHIEVEMENTS" : "ACHIEVEMENTS FOR " + options->online.jailerID;
const std::string cheevosOwner = options->online.jailerID == "" ? "LOCAL ACHIEVEMENTS" : "ACHIEVEMENTS FOR " + toUpper(options->online.jailerID);
const std::string cheevosListCaption = cheevosOwner + " (" + std::to_string(cheevos->unlocked()) + " / " + std::to_string(cheevos->count()) + ")";
infoText->writeDX(TXT_CENTER | TXT_COLOR, cheevosTexture->getWidth() / 2, 2, cheevosListCaption, 1, stringToColor(options->palette, "bright_green"));
int pos = 11;