From 4178c540a632f47a286cbd2a23a17a3771f8524c Mon Sep 17 00:00:00 2001 From: "A.M. Rowsell" Date: Wed, 8 Apr 2026 09:36:03 -0400 Subject: [PATCH] font: tweak sizes of stats --- src/render.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/render.c b/src/render.c index 0a85ce7..fb80f33 100644 --- a/src/render.c +++ b/src/render.c @@ -233,21 +233,21 @@ void render_ui(const Player *p, Font *font) { // ATK char atk_text[16]; snprintf(atk_text, sizeof(atk_text), "%d", p->attack); - DrawTextEx(*font, atk_text, (Vector2){stats_x + stat_spacing, stats_y}, 14, norm_space, YELLOW); - DrawTextEx(*font, "ATK", (Vector2){stats_x + stat_spacing, stats_y + 16}, 9, nar_space, text_dim); + DrawTextEx(*font, atk_text, (Vector2){stats_x + stat_spacing, stats_y}, 16, norm_space, YELLOW); + DrawTextEx(*font, "ATK", (Vector2){stats_x + stat_spacing, stats_y + 16}, 12, nar_space, text_dim); // DEF char def_text[16]; snprintf(def_text, sizeof(def_text), "%d", p->defense); - DrawTextEx(*font, def_text, (Vector2){stats_x + stat_spacing * 2, stats_y}, 14, norm_space, + DrawTextEx(*font, def_text, (Vector2){stats_x + stat_spacing * 2, stats_y}, 16, norm_space, (Color){100, 150, 255, 255}); - DrawTextEx(*font, "DEF", (Vector2){stats_x + stat_spacing * 2, stats_y + 16}, 9, nar_space, text_dim); + DrawTextEx(*font, "DEF", (Vector2){stats_x + stat_spacing * 2, stats_y + 16}, 12, nar_space, text_dim); int equip_x = section2_end + 15; int equip_y = hud_y + 8; // Weapon slot - DrawTextEx(*font, "WEAPON", (Vector2){equip_x, equip_y}, 9, nar_space, text_dim); + DrawTextEx(*font, "WEAPON", (Vector2){equip_x, equip_y}, 12, nar_space, text_dim); if (p->has_weapon) { const char *weapon_name = item_get_name(&p->equipped_weapon); if (weapon_name) {