Transició a surface acabada. Ja compila
This commit is contained in:
@@ -59,7 +59,7 @@ void Resource::load()
|
||||
{
|
||||
calculateTotal();
|
||||
Screen::get()->show();
|
||||
Screen::get()->setBorderColor(Color(0, 0, 0));
|
||||
Screen::get()->setBorderColor(1);
|
||||
std::cout << "** LOADING RESOURCES" << std::endl;
|
||||
loadSounds();
|
||||
loadMusics();
|
||||
@@ -405,7 +405,7 @@ void Resource::renderProgress()
|
||||
constexpr int BAR_HEIGHT = 10;
|
||||
const int bar_position = options.game.height - BAR_HEIGHT - Y_PADDING;
|
||||
Screen::get()->start();
|
||||
Screen::get()->clean();
|
||||
Screen::get()->clear();
|
||||
SDL_SetRenderDrawColor(Screen::get()->getRenderer(), 255, 255, 255, 255);
|
||||
|
||||
const int wired_bar_width = options.game.width - (X_PADDING * 2);
|
||||
|
||||
Reference in New Issue
Block a user