From 6c541bcacc17f44125f35ef42f463966b763447e Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Sun, 5 Apr 2026 22:25:16 +0300 Subject: [PATCH] combat: extend FloatingText with label and effect_type fields Signed-off-by: NotAShelf Change-Id: Iad085ea5d8007257d77d606ab69e57a26a6a6964 --- src/common.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/common.h b/src/common.h index c015532..9af8771 100644 --- a/src/common.h +++ b/src/common.h @@ -108,6 +108,8 @@ typedef struct { int value; int lifetime; // frames remaining 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; // GameState - encapsulates all game state for testability and save/load