PBS highlight colors
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user