The engine counts the manager's club's running season from the almanac (read "analysis"): matches, the points course beside the league's pace, records by venue, what the first goal decided, goals by quarter of an hour, scorers and goal kinds. The statistics open with it; the archive tables keep their place with larger type and trophies. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
20 lines
999 B
C++
20 lines
999 B
C++
// SPDX-License-Identifier: GPL-3.0-only
|
|
Json statistics_view_ = Json::object();
|
|
Json statistics_trophy_ = Json::object();
|
|
Json statistics_scrolls_ = Json::object();
|
|
bool statistics_restore_pending_ = false;
|
|
std::string render_statistics();
|
|
// "analysis": the club's season as charts (engine careers); "archive": the tables of the original
|
|
std::string statistics_mode_ = "analysis";
|
|
Json engine_analysis_value_;
|
|
std::string render_statistics_analysis();
|
|
std::vector<std::pair<std::string, std::string>> statistics_picker_items(const std::string &) const;
|
|
std::string statistics_picker_value(const std::string &) const;
|
|
bool statistics_picker_select(const std::string &, const std::string &);
|
|
bool statistics_action(const std::string &, Rml::Element *);
|
|
bool statistics_event(Rml::Event &);
|
|
void statistics_remember_scroll();
|
|
void statistics_restore_scroll();
|
|
std::string statistics_trophy_asset(const std::string &) const;
|
|
std::string render_statistics_trophy();
|