bugfixes
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
#include "core/jail/jdraw8.hpp"
|
||||
#include "core/resources/resource_cache.hpp"
|
||||
#include "game/options.hpp"
|
||||
|
||||
namespace scenes {
|
||||
|
||||
@@ -37,6 +38,8 @@ namespace scenes {
|
||||
void BootLoaderScene::render() const {
|
||||
JD8_ClearScreen(BG_COLOR);
|
||||
|
||||
if (!Options::game.show_preload) return;
|
||||
|
||||
const float pct = Resource::Cache::get()->getProgress();
|
||||
const int filled = static_cast<int>(static_cast<float>(BAR_W) * pct);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user