mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-22 23:30:14 +00:00
Add SpellCastFailedCallback to GameHandler, fired from SMSG_CAST_RESULT when result != 0. GameScreen registers the callback and records each failed spellId in actionFlashEndTimes_ (keyed by spell ID, value = expiry time). During action bar rendering, if a slot's spell has an active flash entry, an AddRectFilled overlay is drawn over the button with alpha proportional to remaining time (1.0→0.0 over 0.5 s), giving the same error-red flash visual feedback as the original WoW client. |
||
|---|---|---|
| .. | ||
| auth_screen.hpp | ||
| character_create_screen.hpp | ||
| character_screen.hpp | ||
| game_screen.hpp | ||
| inventory_screen.hpp | ||
| keybinding_manager.hpp | ||
| quest_log_screen.hpp | ||
| realm_screen.hpp | ||
| spellbook_screen.hpp | ||
| talent_screen.hpp | ||
| ui_manager.hpp | ||