forked from NotAShelf/rogged
font: squash commit into main
Squashed commit of the following: commita53942249cAuthor: A.M. Rowsell <amr@frzn.dev> Date: Thu Apr 9 23:59:13 2026 -0400 font: extensive tweaks, looks much better commit64205e137cAuthor: 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 commit901f063696Author: A.M. Rowsell <amr@frzn.dev> Date: Wed Apr 8 09:36:03 2026 -0400 font: tweak sizes of stats commit20f8c71fdfAuthor: 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:
parent
71a9e5dbfb
commit
2500fffe84
7 changed files with 108 additions and 75 deletions
10
src/render.h
10
src/render.h
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue