combat: extend FloatingText with label and effect_type

fields

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Iad085ea5d8007257d77d606ab69e57a26a6a6964
This commit is contained in:
raf 2026-04-05 22:25:16 +03:00
commit 6c541bcacc
Signed by: NotAShelf
GPG key ID: 29D95B64378DB4BF

View file

@ -108,6 +108,8 @@ typedef struct {
int value; int value;
int lifetime; // frames remaining int lifetime; // frames remaining
int is_critical; int is_critical;
char label[8]; // non-empty -> show label instead of numeric value
StatusEffectType effect_type; // used to pick color for proc labels
} FloatingText; } FloatingText;
// GameState - encapsulates all game state for testability and save/load // GameState - encapsulates all game state for testability and save/load