font: fully implemented font changes to UI, size/spacing need tweaking
This commit is contained in:
parent
0257791e4d
commit
40a5e6789c
4 changed files with 77 additions and 70 deletions
|
|
@ -571,16 +571,16 @@ static void game_loop(void) {
|
|||
render_ui(&gs.player, &fontTTF);
|
||||
|
||||
// Draw action log
|
||||
render_action_log(gs.action_log, gs.log_count, gs.log_head);
|
||||
render_action_log(gs.action_log, gs.log_count, gs.log_head, &fontTTF);
|
||||
|
||||
// Draw inventory overlay if active
|
||||
if (gs.show_inventory) {
|
||||
render_inventory_overlay(&gs.player, gs.inv_selected);
|
||||
render_inventory_overlay(&gs.player, gs.inv_selected, &fontTTF);
|
||||
}
|
||||
|
||||
// Draw message if any
|
||||
if (gs.last_message != NULL && gs.message_timer > 0) {
|
||||
render_message(gs.last_message);
|
||||
render_message(gs.last_message, &fontTTF);
|
||||
}
|
||||
|
||||
// Draw game over screen
|
||||
|
|
@ -593,7 +593,7 @@ static void game_loop(void) {
|
|||
}
|
||||
render_end_screen(gs.game_won, gs.total_kills, gs.items_collected, gs.damage_dealt, gs.damage_taken,
|
||||
gs.crits_landed, gs.times_hit, gs.potions_used, gs.floors_reached, gs.turn_count,
|
||||
gs.final_score);
|
||||
gs.final_score, &fontTTF);
|
||||
}
|
||||
|
||||
EndDrawing();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue