WoW Model Viewer
Your premiere tool for viewing, equipping and animating World of Warcraft models.
Loading...
Searching...
No Matches
GameLoader.cpp File Reference
#include "GameLoader.h"
#include "AppState.h"
#include <algorithm>
#include <cstring>
#include <fstream>
#include <mutex>
#include <string>
#include <thread>
#include "Logger.h"
#include "Game.h"
#include "WoWFolder.h"
#include "WoWDatabase.h"
#include "HttpClient.h"
#include "CharTexture.h"
#include "RaceInfos.h"
#include "FileBrowserPanel.h"
#include "string_utils.h"
Include dependency graph for GameLoader.cpp:

Go to the source code of this file.

Namespaces

namespace  GameLoader
 

Functions

std::filesystem::path GameLoader::getApplicationDirPath ()
 Return the directory containing the running executable.
 
void GameLoader::setLoadStatus (const std::string &s, AppState &app)
 Thread-safe load-status setters / getters (lock app.loadStatusMutex).
 
std::string GameLoader::getLoadStatus (AppState &app)
 
static bool GameLoader::downloadFile (const std::string &url, const std::filesystem::path &dest, const std::string &label, AppState &app, bool replaceSeparators=false)
 
static bool GameLoader::checkAndDownloadSupportFiles (AppState &app)
 
static void GameLoader::initDatabase (AppState &app)
 
static void GameLoader::loadWoW (const core::GameConfig &config, AppState &app)
 
void GameLoader::loadWoWThreadFunc (core::GameConfig config, AppState &app)
 
void GameLoader::launchLoadThread (const core::GameConfig &config, AppState &app)
 Spawn the background loading thread for the given config.
 
void GameLoader::pollAsyncLoad (AppState &app)
 
void GameLoader::beginLoadWoW (AppState &app)