mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-04-17 09:33:51 +00:00
Add expansion DBC CSVs, Turtle support, and server-specific login
This commit is contained in:
parent
7092844b5e
commit
f247d53309
139 changed files with 676758 additions and 91 deletions
|
|
@ -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_;
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue