Application,Configuration: remove armoury stuff.
This won't be supported any time soon.
This commit is contained in:
parent
1b88e8e972
commit
8cd43c2a89
3 changed files with 0 additions and 50 deletions
|
@ -66,28 +66,6 @@ Application::drawMainMenu() {
|
|||
openUri(Utility::Path::toNativeSeparators(conf().directories().staging));
|
||||
}
|
||||
|
||||
/*if(ImGui::BeginMenu(ICON_FA_BOXES " Armoury")) {
|
||||
if(ImGui::MenuItem(ICON_FA_SHIELD_ALT " Armour parts", nullptr, false,
|
||||
Utility::Path::exists(conf().directories().armours)))
|
||||
{
|
||||
openUri(Utility::Path::toNativeSeparators(conf().directories().armours));
|
||||
}
|
||||
|
||||
if(ImGui::MenuItem(ICON_FA_HAMMER " Weapons", nullptr, false,
|
||||
Utility::Path::exists(conf().directories().weapons)))
|
||||
{
|
||||
openUri(Utility::Path::toNativeSeparators(conf().directories().weapons));
|
||||
}
|
||||
|
||||
if(ImGui::MenuItem(ICON_FA_PALETTE " Custom styles", nullptr, false,
|
||||
Utility::Path::exists(conf().directories().styles)))
|
||||
{
|
||||
openUri(Utility::Path::toNativeSeparators(conf().directories().styles));
|
||||
}
|
||||
|
||||
ImGui::EndMenu();
|
||||
}*/
|
||||
|
||||
ImGui::EndMenu();
|
||||
}
|
||||
|
||||
|
|
|
@ -119,10 +119,6 @@ Configuration::Configuration() {
|
|||
Containers::String executable_location = Utility::Path::split(*Utility::Path::executableLocation()).first();
|
||||
_directories.backups = Utility::Path::join(executable_location, "backups");
|
||||
_directories.staging = Utility::Path::join(executable_location, "staging");
|
||||
//auto armoury_dir = Utility::Path::join(executable_location, "armoury");
|
||||
//_directories.armours = Utility::Path::join(armoury_dir, "armours");
|
||||
//_directories.weapons = Utility::Path::join(armoury_dir, "weapons");
|
||||
//_directories.styles = Utility::Path::join(armoury_dir, "styles");
|
||||
_directories.temp = Utility::Path::join(executable_location, "temp");
|
||||
|
||||
if(!Utility::Path::exists(_directories.backups)) {
|
||||
|
@ -139,27 +135,6 @@ Configuration::Configuration() {
|
|||
return;
|
||||
}
|
||||
}
|
||||
//if(!Utility::Path::exists(_directories.armours)) {
|
||||
// LOG_WARNING("Armours directory not found, creating...");
|
||||
// if(!Utility::Path::make(_directories.armours)) {
|
||||
// LOG_ERROR(_lastError = "Couldn't create the armours directory.");
|
||||
// return;
|
||||
// }
|
||||
//}
|
||||
//if(!Utility::Path::exists(_directories.weapons)) {
|
||||
// LOG_WARNING("Weapons directory not found, creating...");
|
||||
// if(!Utility::Path::make(_directories.weapons)) {
|
||||
// LOG_ERROR(_lastError = "Couldn't create the weapons directory.");
|
||||
// return;
|
||||
// }
|
||||
//}
|
||||
//if(!Utility::Path::exists(_directories.styles)) {
|
||||
// LOG_WARNING("Styles directory not found, creating...");
|
||||
// if(!Utility::Path::make(_directories.styles)) {
|
||||
// LOG_ERROR(_lastError = "Couldn't create the styles directory.");
|
||||
// return;
|
||||
// }
|
||||
//}
|
||||
|
||||
if(!Utility::Path::exists(_directories.temp)) {
|
||||
LOG_WARNING("Temporary directory not found, creating...");
|
||||
|
|
|
@ -70,9 +70,6 @@ class Configuration {
|
|||
Containers::String gameScreenshots;
|
||||
Containers::String backups;
|
||||
Containers::String staging;
|
||||
Containers::String armours;
|
||||
Containers::String weapons;
|
||||
Containers::String styles;
|
||||
Containers::String temp;
|
||||
};
|
||||
auto directories() const -> Directories const&;
|
||||
|
|
Loading…
Reference in a new issue