Implement resource packs

This commit is contained in:
spycrab
2018-11-17 16:36:28 +01:00
parent e6b2758ab4
commit 71d53c922f
20 changed files with 1143 additions and 2 deletions

View File

@ -204,6 +204,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);
});