diff options
author | Juan J. Martinez <jjm@usebox.net> | 2023-06-15 23:01:19 +0100 |
---|---|---|
committer | Juan J. Martinez <jjm@usebox.net> | 2023-06-15 23:01:19 +0100 |
commit | 3b23615b60284723240764c4fa92f112250caa50 (patch) | |
tree | 9848c43030146403c7cf5e798177dd1a9881eaa5 /src/game.c | |
parent | 68004a30170dc2092073cf249472ede6082a99ec (diff) | |
download | gold-mine-run-3b23615b60284723240764c4fa92f112250caa50.tar.gz gold-mine-run-3b23615b60284723240764c4fa92f112250caa50.zip |
Tweak the HUD
Diffstat (limited to 'src/game.c')
-rw-r--r-- | src/game.c | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -28,37 +28,37 @@ void hud_render() if (hud & HUD_ALL) { Rect src = { 128, 32, 144, 144}; - Rect dst = { 0, 0, 16, 16}; + Rect dst = { 4, 0, 16, 16}; /* lives */ blitrc(binary_sprites_start, &src, &dst); - put_text(132, 4, "TIME"); - put_text(256, 4, "STAGE"); + put_text(136, 4, "TIME"); + put_text(252, 4, "STAGE"); } if (hud & HUD_LIVES) { sprintf(b, "%d", lives); - put_text(14, 4, b); + put_text(18, 4, b); } if (hud & HUD_SCORE) { sprintf(b, "%06li", score); - put_text(30, 4, b); + put_text(34, 4, b); } if (hud & HUD_TIME) { sprintf(b, "%02d", time); - put_text(172, 4, b); + put_text(176, 4, b); } if (hud & HUD_STAGE) { sprintf(b, "%02d", stage); - put_text(304, 4, b); + put_text(300, 4, b); } hud = HUD_CLEAN; |