PBS highlight colors

This commit is contained in:
2026-04-03 11:19:45 +01:00
parent 5bbd753ba0
commit f368ed94d2
12 changed files with 129 additions and 37 deletions
+4 -4
View File
@@ -28,7 +28,7 @@ fn frame() -> void
if (loading_handle == -1) {
let t = Assets.load(assets.ui.atlas2, 3);
if (t.status != 0) {
Log.error("load failed");
Log.failure("load failed");
} else {
loading_handle = t.loading_handle;
Log.info("state: loading");
@@ -38,12 +38,12 @@ fn frame() -> void
if (s == 2) {
let commit_status = Assets.commit(loading_handle);
if (commit_status != 0) {
Log.error("commit failed");
Log.failure("commit failed");
}
} else if (s == 3) {
let sprite_status = Gfx.set_sprite(3, 10, 150, 150, 0, 0, true, false, false, 1);
if (sprite_status != 0) {
Log.error("set_sprite failed");
Log.failure("set_sprite failed");
}
} else {
Log.info("state: waiting");
@@ -100,7 +100,7 @@ fn frame() -> void
}
else if (total == 50)
{
Log.error("50 is the magic number!");
Log.failure("50 is the magic number!");
}
else if (total == 15)
{