Add opt-in native Modern UI foundation and first desktop flow (by Codex)

This commit is contained in:
Codex committed 2026-10-23 18:51:02 +02:00
1 parent a4a37f1cb2
commit 11a6356c1e
42 files changed
+5333 -9

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
// SPDX-License-Identifier: GPL-3.0-only
#pragma once
#include "launch/mods.hpp"
namespace bmh::modern_ui {
struct Config {
std::filesystem::path world, gui_assets, screenshot, commands, state;
std::string scene = "main", theme;
int width = 1280, height = 720;
};
// Returns before Classic initialization. The demonstration never starts a
// match.
int run(const std::filesystem::path &executable, const launch::SaveMigrator &,
const Config &);
bool is_modern_world(const std::filesystem::path &);
} // namespace bmh::modern_ui