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,16 @@
|
||||
// SPDX-License-Identifier: GPL-3.0-only
|
||||
#pragma once
|
||||
#include "modern/ui/catalog.hpp"
|
||||
|
||||
namespace bmh::modern_ui {
|
||||
// Read-only, deterministic presentation fixtures. FULL demo state supplies only
|
||||
// the first manager/club and date. No engine, RNG, wallet or catalogue mutation.
|
||||
// page0..4 moves the eight-season window backwards by one season per page.
|
||||
// {ok,available,fictional,page,club,manager,first_year,last_year,range,charts,
|
||||
// history:[12 newest completed seasons]}; clubs are existing IDs or null.
|
||||
Json demo_achievements(const Catalog &, const Json &full_state, int page = 0);
|
||||
// At most8 distinct existing clubs, managed club first. Fictional manager names
|
||||
// and totals match the Gold; the first manager name is taken from the snapshot.
|
||||
// {ok,available,fictional,club,manager,rows:[{rank,manager,club,points,...}]}.
|
||||
Json demo_highscores(const Catalog &, const Json &full_state);
|
||||
} // namespace bmh::modern_ui
|
||||
Reference in new issue
Block a user