mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-22 23:30:14 +00:00
feat: show zone name on loading screen during world transitions
Add setZoneName() to LoadingScreen and display the map name from Map.dbc as large gold text with drop shadow above the progress bar. Shown in both render() and renderOverlay() paths. Zone name is resolved from gameHandler's getMapName(mapId) during world load. Improves feedback during zone transitions.
This commit is contained in:
parent
ff1840415e
commit
71837ade19
3 changed files with 41 additions and 0 deletions
|
|
@ -30,6 +30,7 @@ public:
|
|||
|
||||
void setProgress(float progress) { loadProgress = progress; }
|
||||
void setStatus(const std::string& status) { statusText = status; }
|
||||
void setZoneName(const std::string& name) { zoneName = name; }
|
||||
|
||||
// Must be set before initialize() for Vulkan texture upload
|
||||
void setVkContext(VkContext* ctx) { vkCtx = ctx; }
|
||||
|
|
@ -53,6 +54,7 @@ private:
|
|||
|
||||
float loadProgress = 0.0f;
|
||||
std::string statusText = "Loading...";
|
||||
std::string zoneName;
|
||||
|
||||
int imageWidth = 0;
|
||||
int imageHeight = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue