No se pq el ultim commit ha deixat 4 fitxers per commitar
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user