Add expansion DBC CSVs, Turtle support, and server-specific login

This commit is contained in:
Kelsi 2026-02-13 00:10:01 -08:00
parent 7092844b5e
commit f247d53309
139 changed files with 676758 additions and 91 deletions

View file

@ -71,6 +71,13 @@ public:
*/
BLPImage loadTexture(const std::string& path);
/**
* Set expansion-specific data path for CSV DBC lookup.
* When set, loadDBC() checks expansionDataPath/db/Name.csv before
* falling back to the manifest (binary DBC from extracted MPQs).
*/
void setExpansionDataPath(const std::string& path);
/**
* Load a DBC file
* @param name DBC file name (e.g., "Map.dbc")
@ -127,6 +134,7 @@ public:
private:
bool initialized = false;
std::string dataPath;
std::string expansionDataPath_; // e.g. "Data/expansions/wotlk"
// Base manifest (loaded from dataPath/manifest.json)
AssetManifest manifest_;

View file

@ -130,6 +130,12 @@ private:
mutable bool idCacheBuilt = false;
void buildIdCache() const;
/**
* Load from CSV text format (produced by dbc_to_csv tool).
* Rebuilds the same in-memory layout as binary load.
*/
bool loadCSV(const std::vector<uint8_t>& csvData);
};
} // namespace pipeline