Port planning menus and indoor tables (by Codex)

This commit is contained in:
Codex committed 2026-10-24 00:38:12 +02:00
1 parent 13461c693a
commit 9a93c4fcc8
32 files changed
+1667 -169

No files matched your search

+5
View File
@@ -7,6 +7,9 @@ namespace bmh::modern_ui {
// Each function receives the reports subobject, not the complete DemoSource state.
Json demo_reports(const Catalog &);
bool valid_demo_reports(const Json &, const Catalog &);
// Adds only the missing indoor sort to an otherwise valid legacy reports object.
// Invalid existing fields reject atomically; current valid states are unchanged.
bool migrate_demo_reports(Json &, const Catalog &);
// Returns an empty string on success, an explicit error on rejection. Rejections
// leave the reports object unchanged. Actions use kind/value, or kind=round with
// step (+/-1) and optional other, or kind=sort with view/key.
@@ -15,6 +18,8 @@ std::string edit_demo_reports(Json &, const Json &action, const Catalog &);
// the corresponding squad positions have no usable OBW strength information.
Json report_table_rows(const Catalog &, const Json &);
Json report_strength_rows(const Catalog &, const Json &);
// At most 16 clubs from the first German league, independent of report selection.
Json report_indoor_rows(const Catalog &, const Json &);
Json report_match_rows(const Catalog &, const Json &, bool other);
// The presentation-only opening draw: adjacent pairs from at most 64 German
// league clubs in catalog order; goals are null until a future runtime owns them.