log MPQ loading
This commit is contained in:
2
src/external/blizzard-archive-library
vendored
2
src/external/blizzard-archive-library
vendored
Submodule src/external/blizzard-archive-library updated: 2a150d766a...6cac3304b2
@@ -351,21 +351,29 @@ namespace Noggit::Project
|
||||
return {};
|
||||
}
|
||||
|
||||
// Log << "Client Version: " << static_cast<int>(project->ClientData->version()) << std::endl;
|
||||
|
||||
// QSettings settings;
|
||||
// bool modern_features = settings.value("modern_features", false).toBool();
|
||||
bool modern_features = _configuration->modern_features;
|
||||
if (modern_features)
|
||||
{
|
||||
Log << "Modern Features Enabled" << std::endl;
|
||||
loadExtraData(project.value());
|
||||
}
|
||||
else
|
||||
{
|
||||
Log << "Modern Features Disabled" << std::endl;
|
||||
}
|
||||
return std::make_shared<NoggitProject>(project.value());
|
||||
}
|
||||
Log << "Client Locale: " << project->ClientData->locale_name() << std::endl;
|
||||
|
||||
for (auto const loaded_achive : *project->ClientData->loadedArchives())
|
||||
{
|
||||
Log << "Loaded client Archive: " << loaded_achive->path() << std::endl;
|
||||
}
|
||||
|
||||
// QSettings settings;
|
||||
// bool modern_features = settings.value("modern_features", false).toBool();
|
||||
bool modern_features = _configuration->modern_features;
|
||||
if (modern_features)
|
||||
{
|
||||
Log << "Modern Features Enabled" << std::endl;
|
||||
loadExtraData(project.value());
|
||||
}
|
||||
else
|
||||
{
|
||||
Log << "Modern Features Disabled" << std::endl;
|
||||
}
|
||||
return std::make_shared<NoggitProject>(project.value());
|
||||
}
|
||||
|
||||
void loadExtraData(NoggitProject& project);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user