Kelsidavis-WoWee/include/core
Paul 6dcc06697b refactor(core): decompose Application::setupUICallbacks() into 7 domain handlers
Extract ~1,700 lines / 60+ inline [this]-capturing lambdas from the monolithic
Application::setupUICallbacks() into 7 focused callback handler classes following
the ToastManager/ChatPanel::setupCallbacks() pattern already in the codebase.

New handlers (include/core/ + src/core/):
  - NPCInteractionCallbackHandler  NPC greeting/farewell/vendor/aggro voice
  - AudioCallbackHandler           Music, positional sound, level-up, achievement, LFG
  - EntitySpawnCallbackHandler     Creature/player/GO spawn, despawn, move, state
  - AnimationCallbackHandler       Death, respawn, combat, emotes, charge, sprint, vehicle
  - TransportCallbackHandler       Mount, taxi, transport spawn/move
  - WorldEntryCallbackHandler      World entry, unstuck, hearthstone, bind point
  - UIScreenCallbackHandler        Auth, realm selection, char selection/creation/deletion

application.cpp:  4,462 → 2,791 lines  (−1,671)
setupUICallbacks: ~1,700 → ~50 lines (thin orchestrator)

Deduplication:
  resolveSoundEntryPath()   — was 3× copy-paste of SoundEntries.dbc lookup
  resolveNpcVoiceType()     — was 4× copy-paste of display-ID→voice detection
  precacheNearbyTiles()     — was 3× copy-paste of 17×17 tile loop
  4 helper lambdas          — promoted to private methods on WorldEntryCallbackHandler

State migration out of Application:
  charge* (6 vars)          → AnimationCallbackHandler
  hearth*/worldEntry*/taxi* → WorldEntryCallbackHandler
  pendingCreatedCharacterName_ → UIScreenCallbackHandler

Bug fixes:
  - Duplicate `namespace core {` in application.hpp caused wowee::std pollution
  - AppState forward decl in ui_screen_callback_handler.hpp was at wrong scope
  - world_loader.cpp accessed moved member vars directly via friend; now uses handler API
2026-04-05 16:48:17 +03:00
..
animation_callback_handler.hpp refactor(core): decompose Application::setupUICallbacks() into 7 domain handlers 2026-04-05 16:48:17 +03:00
appearance_composer.hpp feat(animation): 452 named constants, 30-phase character animation state machine 2026-04-04 23:02:53 +03:00
application.hpp refactor(core): decompose Application::setupUICallbacks() into 7 domain handlers 2026-04-05 16:48:17 +03:00
audio_callback_handler.hpp refactor(core): decompose Application::setupUICallbacks() into 7 domain handlers 2026-04-05 16:48:17 +03:00
coordinates.hpp Fix NPC orientation (server yaw convention) and nameplate Y projection 2026-03-09 17:59:55 -07:00
entity_spawn_callback_handler.hpp refactor(core): decompose Application::setupUICallbacks() into 7 domain handlers 2026-04-05 16:48:17 +03:00
entity_spawner.hpp chore(application): refactor app lifecycle and add entity spawner module 2026-03-31 22:01:55 +03:00
input.hpp Initial commit: wowee native WoW 3.3.5a client 2026-02-02 13:03:22 -08:00
logger.hpp refactor: extract toHexString utility, more color constants, final cast cleanup 2026-03-25 12:12:03 -07:00
memory_monitor.hpp Stabilize taxi/state sync and creature spawn handling 2026-02-11 21:14:35 -08:00
npc_interaction_callback_handler.hpp refactor(core): decompose Application::setupUICallbacks() into 7 domain handlers 2026-04-05 16:48:17 +03:00
profiler.hpp chore(testing): add unit tests and update core render/network pipelines 2026-04-03 09:41:34 +03:00
spawn_presets.hpp Fix WMO spawn presets to avoid terrain snapping 2026-02-04 23:30:03 -08:00
transport_callback_handler.hpp refactor(core): decompose Application::setupUICallbacks() into 7 domain handlers 2026-04-05 16:48:17 +03:00
ui_screen_callback_handler.hpp refactor(core): decompose Application::setupUICallbacks() into 7 domain handlers 2026-04-05 16:48:17 +03:00
window.hpp Vulcan Nightmare 2026-02-21 22:04:17 -08:00
world_entry_callback_handler.hpp refactor(core): decompose Application::setupUICallbacks() into 7 domain handlers 2026-04-05 16:48:17 +03:00
world_loader.hpp "Fix and refine app initialization flow 2026-04-01 20:06:26 +03:00