Merge pull request #7600 from spycrab/resource_pack

Implement resource packs
This commit is contained in:
spycrab
2018-12-23 16:04:05 +01:00
committed by GitHub
20 changed files with 1143 additions and 2 deletions

View File

@ -208,6 +208,9 @@ void MenuBar::AddToolsMenu()
m_show_cheat_manager =
tools_menu->addAction(tr("&Cheats Manager"), this, [this] { emit ShowCheatsManager(); });
tools_menu->addAction(tr("&Resource Pack Manager"), this,
[this] { emit ShowResourcePackManager(); });
connect(&Settings::Instance(), &Settings::EnableCheatsChanged, [this](bool enabled) {
m_show_cheat_manager->setEnabled(Core::GetState() != Core::State::Uninitialized && enabled);
});