// SPDX-License-Identifier: GPL-3.0-only #pragma once #include "launch/mods.hpp" #include #include namespace bmh::modern_ui { struct Config { std::filesystem::path world, gui_assets, screenshot, commands, state, preferences, userdata, file_import, file_export, mods, mod_import; std::filesystem::path engine_save; bool preview_only = false; std::optional creation_seed; std::string scene = "main", theme; int width = 1280, height = 720; }; // Returns before Classic initialization. The demo never starts a match; the // opt-in career bridge loads an existing Modern OBS and binds desktop/camps. int run(const std::filesystem::path &executable, const launch::SaveMigrator &, const Config &); bool is_modern_world(const std::filesystem::path &); } // namespace bmh::modern_ui