combat: extend FloatingText with label and effect_type
fields Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: Iad085ea5d8007257d77d606ab69e57a26a6a6964
This commit is contained in:
parent
0830aaa128
commit
6c541bcacc
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue