mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-04-15 17:03:50 +00:00
refactor: extract guidToUnitId/getQuestTitle helpers and misc cleanup
- Extract guidToUnitId(), getQuestTitle(), findQuestLogEntry() helpers to replace 14 duplicated GUID-to-unitId patterns and 7 quest log search patterns in game_handler.cpp - Remove duplicate #include in renderer.cpp - Remove commented-out model cleanup code in terrain_manager.cpp - Replace C-style casts with static_cast in auth and transport code
This commit is contained in:
parent
087e42d7a1
commit
98b9e502c5
7 changed files with 57 additions and 124 deletions
|
|
@ -33,7 +33,6 @@
|
|||
#include "pipeline/asset_manager.hpp"
|
||||
#include "pipeline/dbc_loader.hpp"
|
||||
#include "pipeline/dbc_layout.hpp"
|
||||
#include "pipeline/m2_loader.hpp"
|
||||
#include "pipeline/wmo_loader.hpp"
|
||||
#include "pipeline/adt_loader.hpp"
|
||||
#include "pipeline/terrain_mesh.hpp"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue