From 39016a39126dba68486c17f8a08285cf0b083953 Mon Sep 17 00:00:00 2001 From: Sergio Valor Martinez Date: Wed, 7 Feb 2024 13:46:50 +0100 Subject: [PATCH] =?UTF-8?q?Modificado=20el=20menu=20para=20que=20sea=20mas?= =?UTF-8?q?=20claro=20qu=C3=A9=20modo=20online=20est=C3=A1=20seleccionado?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/gamestate_title.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/source/gamestate_title.cpp b/source/gamestate_title.cpp index 0775bec9..c8723525 100644 --- a/source/gamestate_title.cpp +++ b/source/gamestate_title.cpp @@ -419,11 +419,12 @@ void Title::fillTexture() // Escribe el texto en la textura const color_t textColor = stringToColor(options->palette, "green"); const int textSize = text->getCharacterSize(); - const std::string onlineText = options->online.jailerID == "" ? "3.ONLINE MODE" : "3." + options->online.jailerID; + const std::string onlineText = options->online.jailerID == "" ? "(OFF)" : "(" + options->online.jailerID + ")"; text->writeDX(TXT_CENTER | TXT_COLOR, PLAY_AREA_CENTER_X, 11 * textSize, "1.PLAY", 1, textColor); text->writeDX(TXT_CENTER | TXT_COLOR, PLAY_AREA_CENTER_X, 13 * textSize, "2.ACHIEVEMENTS", 1, textColor); - text->writeDX(TXT_CENTER | TXT_COLOR, PLAY_AREA_CENTER_X, 15 * textSize, onlineText, 1, textColor); - text->writeDX(TXT_CENTER | TXT_COLOR, PLAY_AREA_CENTER_X, 18 * textSize, "ESC.EXIT GAME", 1, textColor); + text->writeDX(TXT_CENTER | TXT_COLOR, PLAY_AREA_CENTER_X, 15 * textSize, "3.ONLINE MODE", 1, textColor); + text->writeDX(TXT_CENTER | TXT_COLOR, PLAY_AREA_CENTER_X, 16 * textSize + 1, onlineText, 1, textColor); + text->writeDX(TXT_CENTER | TXT_COLOR, PLAY_AREA_CENTER_X, 20 * textSize, "ESC.EXIT GAME", 1, textColor); // Devuelve el puntero del renderizador a su sitio SDL_SetRenderTarget(renderer, nullptr);