ui: add floating damage text and shake screen; streamline action log

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I7a85e496beaf78150c6c1f7ddbb343d96a6a6964
This commit is contained in:
raf 2026-04-03 16:32:32 +03:00
commit a89d3684ef
Signed by: NotAShelf
GPG key ID: 29D95B64378DB4BF
3 changed files with 218 additions and 84 deletions

View file

@ -18,9 +18,15 @@ void render_items(const Item *items, int count);
// Render UI overlay
void render_ui(const Player *p);
// Render action log (bottom left corner)
void render_action_log(const char log[5][128], int count, int head);
// Render inventory selection overlay
void render_inventory_overlay(const Player *p, int selected);
// Render floating damage text
void render_floating_texts(FloatingText *texts, int count, int shake_x, int shake_y);
// Render game over screen
void render_game_over(void);