1
0
Fork 0
forked from NotAShelf/rogged

font: squash commit into main

Squashed commit of the following:

commit a53942249c
Author: A.M. Rowsell <amr@frzn.dev>
Date:   Thu Apr 9 23:59:13 2026 -0400

    font: extensive tweaks, looks much better

commit 64205e137c
Author: A.M. Rowsell <amr@frzn.dev>
Date:   Thu Apr 9 12:13:00 2026 -0400

    font: fully implemented font changes to UI, size/spacing need tweaking

commit 901f063696
Author: A.M. Rowsell <amr@frzn.dev>
Date:   Wed Apr 8 09:36:03 2026 -0400

    font: tweak sizes of stats

commit 20f8c71fdf
Author: A.M. Rowsell <amr@frzn.dev>
Date:   Wed Apr 8 09:28:22 2026 -0400

    render: implement experimental font change, needs work
This commit is contained in:
A.M. Rowsell 2026-04-10 08:12:53 -04:00 committed by raf
commit 2500fffe84
7 changed files with 108 additions and 75 deletions

View file

@ -88,23 +88,23 @@ void render_enemies(const Enemy *enemies, int count, const unsigned char visible
void render_items(const Item *items, int count, const unsigned char visible[MAP_HEIGHT][MAP_WIDTH]);
// Render UI overlay
void render_ui(const Player *p);
void render_ui(const Player *p, Font *font);
// Render action log (bottom left corner)
void render_action_log(const char log[5][128], int count, int head);
void render_action_log(const char log[5][128], int count, int head, Font *font);
// Render inventory selection overlay
void render_inventory_overlay(const Player *p, int selected);
void render_inventory_overlay(const Player *p, int selected, Font *font);
// Render floating damage text
void render_floating_texts(FloatingText *texts, int count, int shake_x, int shake_y);
// Render end screen (victory or death) with stats breakdown
void render_end_screen(int is_victory, int kills, int items, int damage_dealt, int damage_taken, int crits,
int times_hit, int potions, int floors, int turns, int score, unsigned int seed);
int times_hit, int potions, int floors, int turns, int score, unsigned int seed, Font *font);
// Render a message popup
void render_message(const char *message);
void render_message(const char *message, Font *font);
// Render seed display at top right of screen
void render_seed_display(unsigned int seed);