diff options
author | Juan J. Martinez <jjm@usebox.net> | 2023-06-21 22:42:28 +0100 |
---|---|---|
committer | Juan J. Martinez <jjm@usebox.net> | 2023-06-21 22:42:28 +0100 |
commit | b4c2ff850930cb29da1a331b17fcc8a9e561b5ff (patch) | |
tree | e3b5a6c0d4a4454cc13afc8cc72bdc1e476e8569 /src/game.c | |
parent | d3c44c1472ab23a8ea37cc63f3f9f8678b0a6af5 (diff) | |
download | gold-mine-run-b4c2ff850930cb29da1a331b17fcc8a9e561b5ff.tar.gz gold-mine-run-b4c2ff850930cb29da1a331b17fcc8a9e561b5ff.zip |
Add color text
Diffstat (limited to 'src/game.c')
-rw-r--r-- | src/game.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -36,32 +36,32 @@ static void hud_render() /* lives */ blitrc(binary_sprites_start, &src, &dst); - put_text(136, 4, "TIME"); - put_text(249, 4, "STAGE"); + put_text(136, 4, "TIME", 1); + put_text(249, 4, "STAGE", 1); } if (hud & HUD_LIVES) { sprintf(b, "%d", lives); - put_text(18, 4, b); + put_text(18, 4, b, 1); } if (hud & HUD_SCORE) { sprintf(b, "%06li", score); - put_text(34, 4, b); + put_text(34, 4, b, 1); } if (hud & HUD_TIME) { sprintf(b, "%02d", time); - put_text(176, 4, b); + put_text(176, 4, b, time > 10 ? 1 : 15); } if (hud & HUD_STAGE) { sprintf(b, "%02d", stage + 1); - put_text(297, 4, b); + put_text(297, 4, b, 1); } hud = HUD_CLEAN; |