mirror of
https://github.com/brues-code/ClassicAPI.git
synced 2026-11-16 08:00:42 +00:00
Backport the retail C_Map.GetMapWorldSize (9.0): return a zone's world size in yards as width, height, read from the WorldMapArea.dbc loc rect (width = locLeft - locRight east-west, height = locTop - locBottom north-south). Takes an AreaTable areaID, or defaults to the world map's current view like GetMapOverlays. Verified: (85) -> 4518.75, 3012.5. Extract the two WorldMapArea row resolvers (areaID -> row, current view -> row) out of map/Overlays.cpp into a shared Map::Area helper; both GetMapOverlays and GetMapWorldSize key off the same rows, so the two ways of naming a zone now live in one place.