Port settings and automation to the Modern UI (by Codex)
This commit is contained in:
1 parent
8222926d9c
commit
adb4166a80
26 files changed
+2734
-179
No files matched your search
@@ -0,0 +1,15 @@
|
||||
// SPDX-License-Identifier: GPL-3.0-only
|
||||
#pragma once
|
||||
#include "modern/ui/catalog.hpp"
|
||||
namespace bmh::modern_ui {
|
||||
// Presentation preferences only. Codes preserve the handbook's UI addresses;
|
||||
// they neither change Modern rules nor start any automatic game operation.
|
||||
const Json &settings_catalogue();
|
||||
int settings_index(const std::string &code);
|
||||
Json default_demo_settings(const Json &full_state);
|
||||
bool valid_demo_settings(const Json &full_state);
|
||||
bool migrate_demo_settings(Json &full_state);
|
||||
void sync_demo_settings_training(Json &full_state);
|
||||
std::string edit_demo_settings(Json &full_state, const Json &settings);
|
||||
std::string settings_search_key(std::string);
|
||||
} // namespace bmh::modern_ui
|
||||
Reference in new issue
Block a user