mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 19:11:50 +00:00
feature implementation delayed: refactor required
This commit is contained in:
parent
8602ad71a5
commit
fe4a97b955
1 changed files with 0 additions and 8 deletions
|
|
@ -108,14 +108,6 @@ void menus::create_new_world_panel(Engine* engine) {
|
|||
|
||||
panel->add(guiutil::gotoButton(langs::get(L"World generator", L"world"), "world_generators", engine->getGUI()->getMenu()));
|
||||
|
||||
panel->add(menus::create_button(L"Content", glm::vec4(10), glm::vec4(1), [=](GUI* gui) {
|
||||
engine->loadAllPacks();
|
||||
auto panel = menus::create_packs_panel(engine->getContentPacks(), engine, false, nullptr, nullptr);
|
||||
auto menu = gui->getMenu();
|
||||
menu->addPage("content-packs", panel);
|
||||
menu->setPage("content-packs");
|
||||
}));
|
||||
|
||||
panel->add(menus::create_button(L"Create World", glm::vec4(10), glm::vec4(1, 20, 1, 1),
|
||||
[=](GUI*) {
|
||||
if (!nameInput->validate())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue