Add damage flash toggle setting and fix map explored zone reveal

Persist damage_flash to settings.cfg; checkbox in Interface > Screen Effects.
Fix world map fog: trust server exploration mask unconditionally when present,
always reveal the current zone immediately regardless of server mask state.
This commit is contained in:
Kelsi 2026-03-12 03:21:49 -07:00
parent 40a98f2436
commit 6cf511aa7f
3 changed files with 22 additions and 5 deletions

View file

@ -74,6 +74,7 @@ private:
ImVec2 nameplateCtxPos_{}; // Screen position of nameplate right-click
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;
float levelUpFlashAlpha_ = 0.0f; // Golden level-up burst effect (fades to 0)
uint32_t levelUpDisplayLevel_ = 0; // Level shown in level-up text