Create real careers from the native wizard and preserve manager presentation (by Codex)

This commit is contained in:
Codex committed 2026-10-29 01:11:41 +01:00
1 parent 738ecc7a09
commit ce1535fe2d
38 files changed
+466 -75

No files matched your search

+6
View File
@@ -118,6 +118,11 @@ int main(int argc, char** argv) {
#ifdef OPENBMH_MODERN_UI
if (is("--modern-ui-demo")) {
modern_demo = true;
modern_config.preview_only = true;
} else if (is("--ui-seed") && value) {
const auto text = args[++i]; size_t used=0; const auto n=std::stoull(text,&used);
if(used!=text.size()||n>UINT32_MAX||text.empty()||text.front()=='-')throw std::runtime_error("Ungültiger Modern-Startseed.");
modern_config.creation_seed=uint32_t(n);modern_demo=true;
} else if (is("--gui-assets") && value) {
modern_config.gui_assets = launch::path_from_utf8(args[++i]);
} else if (is("--ui-scene") && value) {
@@ -135,6 +140,7 @@ int main(int argc, char** argv) {
modern_demo = true;
} else if (is("--ui-state") && value) {
modern_config.state = launch::path_from_utf8(args[++i]);
modern_config.preview_only = true;
} else if (is("--ui-preferences") && value) {
modern_config.preferences = launch::path_from_utf8(args[++i]);
} else if (is("--ui-userdata") && value) {