// 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