mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-26 00:40:15 +00:00
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:
parent
9a6a430768
commit
891b9e5822
2 changed files with 24 additions and 7 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue