arreglos d'estil

This commit is contained in:
2025-03-21 08:42:54 +01:00
parent 2ee2d5c45d
commit 0f8de0d8b5
2 changed files with 3 additions and 11 deletions

View File

@@ -146,10 +146,10 @@ void LoadingScreen::renderBorder()
auto border = Screen::get()->getBorderSurface();
// Pinta el borde de color azul
border->clear(stringToColor("blue"));
border->clear(static_cast<Uint8>(PaletteColor::BLUE));
// Añade lineas amarillas
const Uint8 COLOR = stringToColor("yellow");
const Uint8 COLOR = static_cast<Uint8>(PaletteColor::YELLOW);
const int WIDTH = options.game.width + (options.video.border.width * 2);
const int HEIGHT = options.game.height + (options.video.border.height * 2);
bool draw_enabled = rand() % 2 == 0 ? true : false;