No se pq el ultim commit ha deixat 4 fitxers per commitar

This commit is contained in:
2025-03-07 12:21:21 +01:00
parent 6c3e231d51
commit ce88596d35
4 changed files with 8 additions and 14 deletions

View File

@@ -49,7 +49,7 @@ void Resource::load()
{
calculateTotal();
Screen::get()->show();
Screen::get()->setBorderColor(1);
Screen::get()->setBorderColor(static_cast<Uint8>(PaletteColor::BLACK));
std::cout << "** LOADING RESOURCES" << std::endl;
loadSounds();
loadMusics();
@@ -438,6 +438,8 @@ void Resource::renderProgress()
const int full_bar_width = wired_bar_width * count_.getPercentage();
SDL_Rect rect_full = {X_PADDING, bar_position, full_bar_width, X_PADDING};
surface->fillRect(&rect_full, static_cast<Uint8>(PaletteColor::WHITE));
Screen::get()->render();
}
// Comprueba los eventos de la pantalla de carga