mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-22 23:30:14 +00:00
feat: add Low Health Vignette toggle in Settings > Interface
The persistent red-edge vignette (below 20% HP) now has an on/off checkbox under Settings > Interface > Screen Effects, alongside the existing Damage Flash toggle. The preference is persisted to settings.cfg.
This commit is contained in:
parent
8cba8033ba
commit
9a08edae09
2 changed files with 11 additions and 1 deletions
|
|
@ -83,6 +83,7 @@ private:
|
|||
uint32_t lastPlayerHp_ = 0; // Previous frame HP for damage flash detection
|
||||
float damageFlashAlpha_ = 0.0f; // Screen edge flash intensity (fades to 0)
|
||||
bool damageFlashEnabled_ = true;
|
||||
bool lowHealthVignetteEnabled_ = true; // Persistent pulsing red vignette below 20% HP
|
||||
float levelUpFlashAlpha_ = 0.0f; // Golden level-up burst effect (fades to 0)
|
||||
uint32_t levelUpDisplayLevel_ = 0; // Level shown in level-up text
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue