This commit is contained in:
2026-04-18 18:16:41 +02:00
parent d09bb1cf6b
commit 4a4485c6f8
9 changed files with 36 additions and 20 deletions

View File

@@ -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);