font: fully implemented font changes to UI, size/spacing need tweaking
This commit is contained in:
parent
4178c540a6
commit
4fe03a8952
4 changed files with 75 additions and 67 deletions
|
|
@ -19,19 +19,19 @@ void render_items(const Item *items, int count);
|
|||
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);
|
||||
int times_hit, int potions, int floors, int turns, int score, Font *font);
|
||||
|
||||
// Render a message popup
|
||||
void render_message(const char *message);
|
||||
void render_message(const char *message, Font *font);
|
||||
|
||||
#endif // RENDER_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue