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 {};
|
return {};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Log << "Client Version: " << static_cast<int>(project->ClientData->version()) << std::endl;
|
||||||
|
|
||||||
// QSettings settings;
|
Log << "Client Locale: " << project->ClientData->locale_name() << std::endl;
|
||||||
// bool modern_features = settings.value("modern_features", false).toBool();
|
|
||||||
bool modern_features = _configuration->modern_features;
|
for (auto const loaded_achive : *project->ClientData->loadedArchives())
|
||||||
if (modern_features)
|
{
|
||||||
{
|
Log << "Loaded client Archive: " << loaded_achive->path() << std::endl;
|
||||||
Log << "Modern Features Enabled" << std::endl;
|
}
|
||||||
loadExtraData(project.value());
|
|
||||||
}
|
// QSettings settings;
|
||||||
else
|
// bool modern_features = settings.value("modern_features", false).toBool();
|
||||||
{
|
bool modern_features = _configuration->modern_features;
|
||||||
Log << "Modern Features Disabled" << std::endl;
|
if (modern_features)
|
||||||
}
|
{
|
||||||
return std::make_shared<NoggitProject>(project.value());
|
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);
|
void loadExtraData(NoggitProject& project);
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user