Kelsidavis-WoWee/include/core
Paul a86efaaa18 [refactor] Break Application::getInstance() from GameHandler
Introduce `GameServices` struct — an explicit dependency bundle that
`Application` populates and passes to `GameHandler` at construction time.
Eliminates all 47 hidden `Application::getInstance()` calls in
`src/game/*.cpp`, completing SOLID-D (dependency-inversion) cleanup.

Changes:
- New `include/game/game_services.hpp` — `struct GameServices` carrying
  pointers to `Renderer`, `AssetManager`, `ExpansionRegistry`, and two
  taxi-mount display IDs
- `GameHandler(GameServices&)` replaces default constructor; exposes
  `services() const` accessor for domain handlers
- `Application` holds `game::GameServices gameServices_`; populates it
  after all subsystems are created, then constructs `GameHandler`
  (fixes latent init-order bug: `GameHandler` was previously created
  before `AssetManager` / `ExpansionRegistry`)
- `game_handler.cpp`: duplicate `isActiveExpansion` / `isClassicLikeExpansion` /
  `isPreWotlk` anonymous-namespace helpers removed; `game_utils.hpp`
  included instead
- All domain handlers (`InventoryHandler`, `SpellHandler`, `MovementHandler`,
  `CombatHandler`, `QuestHandler`, `SocialHandler`, `WardenHandler`) replace
  `Application::getInstance().getXxx()` with `owner_.services().xxx`
2026-03-30 09:17:42 +03:00
..
application.hpp [refactor] Break Application::getInstance() from GameHandler 2026-03-30 09:17:42 +03:00
coordinates.hpp Fix NPC orientation (server yaw convention) and nameplate Y projection 2026-03-09 17:59:55 -07: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
spawn_presets.hpp Fix WMO spawn presets to avoid terrain snapping 2026-02-04 23:30:03 -08:00
window.hpp Vulcan Nightmare 2026-02-21 22:04:17 -08:00