feat: show resurrection flash banner when player transitions ghost→alive

This commit is contained in:
Kelsi 2026-03-12 16:33:08 -07:00
parent 42d66bc876
commit 819a690c33
2 changed files with 97 additions and 0 deletions

View file

@ -587,6 +587,12 @@ private:
bool itemLootCallbackSet_ = false;
void renderItemLootToasts();
// Resurrection flash: brief "You have been resurrected!" overlay on ghost→alive transition
float resurrectFlashTimer_ = 0.0f;
static constexpr float kResurrectFlashDuration = 3.0f;
bool ghostStateCallbackSet_ = false;
void renderResurrectFlash();
// Zone discovery text ("Entering: <ZoneName>")
static constexpr float ZONE_TEXT_DURATION = 5.0f;
float zoneTextTimer_ = 0.0f;