|
WoW Model Viewer
Your premiere tool for viewing, equipping and animating World of Warcraft models.
|
Functions | |
| std::filesystem::path | getApplicationDirPath () |
| Return the directory containing the running executable. | |
| void | setLoadStatus (const std::string &s, AppState &app) |
| Thread-safe load-status setters / getters (lock app.loadStatusMutex). | |
| std::string | getLoadStatus (AppState &app) |
| static bool | downloadFile (const std::string &url, const std::filesystem::path &dest, const std::string &label, AppState &app, bool replaceSeparators=false) |
| static bool | checkAndDownloadSupportFiles (AppState &app) |
| static void | initDatabase (AppState &app) |
| static void | loadWoW (const core::GameConfig &config, AppState &app) |
| void | loadWoWThreadFunc (core::GameConfig config, AppState &app) |
| void | launchLoadThread (const core::GameConfig &config, AppState &app) |
| Spawn the background loading thread for the given config. | |
| void | pollAsyncLoad (AppState &app) |
| void | beginLoadWoW (AppState &app) |
| void GameLoader::beginLoadWoW | ( | AppState & | app | ) |
Validate the game path, detect configs, and either launch the load thread or show the config-selection popup. Main "Load WoW" entry.
Definition at line 311 of file GameLoader.cpp.
|
static |
Definition at line 90 of file GameLoader.cpp.
|
static |
Definition at line 57 of file GameLoader.cpp.
| std::filesystem::path GameLoader::getApplicationDirPath | ( | ) |
Return the directory containing the running executable.
Definition at line 30 of file GameLoader.cpp.
| std::string GameLoader::getLoadStatus | ( | AppState & | app | ) |
|
static |
Definition at line 125 of file GameLoader.cpp.
| void GameLoader::launchLoadThread | ( | const core::GameConfig & | config, |
| AppState & | app | ||
| ) |
Spawn the background loading thread for the given config.
Definition at line 278 of file GameLoader.cpp.
|
static |
Definition at line 217 of file GameLoader.cpp.
| void GameLoader::loadWoWThreadFunc | ( | core::GameConfig | config, |
| AppState & | app | ||
| ) |
Entry point executed on the background thread. Downloads support files, opens CASC, loads the listfile and database.
Definition at line 267 of file GameLoader.cpp.
| void GameLoader::pollAsyncLoad | ( | AppState & | app | ) |
Poll whether the background thread has finished; joins it and updates app.isWoWLoaded on success. Call once per frame from the main loop.
Definition at line 291 of file GameLoader.cpp.
| void GameLoader::setLoadStatus | ( | const std::string & | s, |
| AppState & | app | ||
| ) |
Thread-safe load-status setters / getters (lock app.loadStatusMutex).
Definition at line 43 of file GameLoader.cpp.