fix: show friendly map names on loading screen (Outland not Expansion01)

Add mapDisplayName() with friendly names for continents: "Eastern
Kingdoms", "Kalimdor", "Outland", "Northrend". The loading screen
previously showed WDT directory names like "Expansion01" when
Map.dbc's localized name field was empty or matched the internal name.
This commit is contained in:
Kelsi 2026-03-24 13:20:06 -07:00
parent 9a6a430768
commit 891b9e5822
2 changed files with 24 additions and 7 deletions

View file

@ -97,6 +97,7 @@ private:
void spawnPlayerCharacter();
std::string getPlayerModelPath() const;
static const char* mapIdToName(uint32_t mapId);
static const char* mapDisplayName(uint32_t mapId);
void loadOnlineWorldTerrain(uint32_t mapId, float x, float y, float z);
void buildFactionHostilityMap(uint8_t playerRace);
pipeline::M2Model loadCreatureM2Sync(const std::string& m2Path);