mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-28 09:33:52 +00:00
Add interactive world map with continent/zone navigation
This commit is contained in:
parent
47945451be
commit
affcfcfce1
6 changed files with 1172 additions and 1 deletions
|
|
@ -34,9 +34,14 @@ public:
|
|||
|
||||
void setViewRadius(float radius) { viewRadius = radius; }
|
||||
|
||||
// Public accessors for WorldMap
|
||||
GLuint getOrLoadTileTexture(int tileX, int tileY);
|
||||
void ensureTRSParsed() { if (!trsParsed) parseTRS(); }
|
||||
GLuint getTileQuadVAO() const { return tileQuadVAO; }
|
||||
const std::string& getMapName() const { return mapName; }
|
||||
|
||||
private:
|
||||
void parseTRS();
|
||||
GLuint getOrLoadTileTexture(int tileX, int tileY);
|
||||
void compositeTilesToFBO(const glm::vec3& centerWorldPos);
|
||||
void renderQuad(const Camera& playerCamera, const glm::vec3& centerWorldPos,
|
||||
int screenWidth, int screenHeight);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue