diff --git a/data/lang/ba_BA.txt b/data/lang/ba_BA.txt index 52835d0..1a1963c 100644 --- a/data/lang/ba_BA.txt +++ b/data/lang/ba_BA.txt @@ -272,7 +272,7 @@ CONFIGURACIO EN LINEA INTRODUEIX UN JAILER_ID ## 91 - ENTER ID -O DEIXA BUIT PER A +DEIXA BUIT PER A ## 92 - ENTER ID MODE FORA DE LINEA \ No newline at end of file diff --git a/data/lang/en_UK.txt b/data/lang/en_UK.txt index de4f865..9c1dd07 100644 --- a/data/lang/en_UK.txt +++ b/data/lang/en_UK.txt @@ -272,7 +272,7 @@ ONLINE CONFIGURATION PLEASE ENTER AN ID ## 91 - ENTER ID -OR LEAVE BLANK FOR +LEAVE BLANK FOR ## 92 - ENTER ID OFFLINE MODE \ No newline at end of file diff --git a/data/lang/es_ES.txt b/data/lang/es_ES.txt index 0cf8e32..464dc95 100644 --- a/data/lang/es_ES.txt +++ b/data/lang/es_ES.txt @@ -272,7 +272,7 @@ CONFIGURACION ONLNE INTRODUCE UN JAILER_ID ## 91 - ENTER ID -O DEJA EN BLANCO PARA +DEJA EN BLANCO PARA ## 92 - ENTER ID -MODO OFFLINE \ No newline at end of file +MODO SIN CONEXION \ No newline at end of file diff --git a/data/menu/options.men b/data/menu/options.men index c49156c..8c728aa 100644 --- a/data/menu/options.men +++ b/data/menu/options.men @@ -21,6 +21,9 @@ centerY=96 selector_color=229,28,35,255 selector_text_color=255,241,118 +selector_color=255,122,0,255 +selector_text_color=127,61,0,255 + defaultActionWhenCancel=14 [item] diff --git a/data/menu/player_select.men b/data/menu/player_select.men index cf5dae0..e7eb603 100644 --- a/data/menu/player_select.men +++ b/data/menu/player_select.men @@ -17,6 +17,9 @@ centerX=128 selector_color=229,28,35,0 selector_text_color=255,180,0 +selector_color=255,122,0,255 +selector_text_color=127,61,0,255 + defaultActionWhenCancel=3 [item] diff --git a/data/menu/title.men b/data/menu/title.men index b82f2f9..7beb729 100644 --- a/data/menu/title.men +++ b/data/menu/title.men @@ -17,6 +17,9 @@ centerX=128 selector_color=229,28,35,0 selector_text_color=255,180,0 +selector_color=255,122,0,255 +selector_text_color=127,61,0,255 + defaultActionWhenCancel=3 [item] diff --git a/source/enter_id.cpp b/source/enter_id.cpp index 5fd27f4..136e206 100644 --- a/source/enter_id.cpp +++ b/source/enter_id.cpp @@ -220,11 +220,17 @@ void EnterID::fillTexture() // Inicializa los textos iniTexts(); - // Rellena la textura de texto + // Rellena la textura con un color de fondo SDL_SetRenderTarget(renderer, textTexture); SDL_SetRenderDrawColor(renderer, bgColor.r, bgColor.g, bgColor.b, 0xFF); SDL_RenderClear(renderer); + // AƱade el efecto de degradado en el fondo + Texture *gradient = new Texture(renderer, asset->get("title_gradient.png")); + SDL_Rect rect = {0, 0, GAMECANVAS_WIDTH, GAMECANVAS_HEIGHT}; + gradient->render(renderer, 0, 0, &rect); + delete gradient; + // Escribe el texto en la textura const int desp = 40; const int size = text->getCharacterSize() + 2;