Port achievements and player rankings to the Modern UI (by Codex)
This commit is contained in:
1 parent
d419943e86
commit
96e88c9579
29 files changed
+1362
-17
No files matched your search
@@ -0,0 +1,20 @@
|
||||
// SPDX-License-Identifier: GPL-3.0-only
|
||||
#pragma once
|
||||
#include "modern/ui/catalog.hpp"
|
||||
|
||||
namespace bmh::modern_ui {
|
||||
// Read-only presentation fixtures. Neither function constructs a game/session,
|
||||
// touches a random stream, or modifies the catalogue or a saved demo model.
|
||||
// scope: 0 = selected league, 1 = managed club; kind: goals/assists/yellow/red.
|
||||
// At most ten distinct actual outfield players form one shared category cohort.
|
||||
// Positive metrics sort descending with competition ranks (1,2,2,4).
|
||||
// Rows: player, club, name, club_name, photo, crest, goals, assists, yellow,
|
||||
// red, value, rank, original. Asset fields are catalogue references, not bytes.
|
||||
Json demo_scorer_rows(const Catalog &, const std::string &league,
|
||||
const std::string &managed_club, int scope = 0,
|
||||
int kind = 0);
|
||||
// Gold's fixed domestic overview uses every club of the first German league.
|
||||
// Rows: club, name, crest, yellow, red, points, rank, original; points are
|
||||
// yellow + 4*red, ascending, with original catalogue order breaking ties.
|
||||
Json demo_fairplay_rows(const Catalog &);
|
||||
} // namespace bmh::modern_ui
|
||||
Reference in new issue
Block a user