A season calendar of twelve months that open with a zoom; training camps on a paper map

The career's calendar shows the months as small sheets with the own matches and other
dates marked; a click opens a month as a sheet with a field per day (opponent's crest,
venue, result), the right mouse button returns. The training camps lie on a map in
paper tones with named pins, the chosen camp on a framed card. Further paper motifs
(boards, press room, trophies, bench) and more opaque panels so that text never stands
on the bare picture.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
MichaelandClaude Fable 5.2 committed 2026-11-15 00:46:35 +01:00
1 parent b9d8b2db96
commit 20e7497f67
8 files changed
+244 -28

No files matched your search

+10 -2
View File
@@ -634,8 +634,9 @@ class App final : public Rml::EventListener {
// gradient stay on top of the picture's; without such pictures the sheet is plain.
std::string window_art() {
static const std::map<std::string, std::string> motifs{
{"stadium", "seats"}, {"advertising", "stand"}, {"environment", "fans"}, {"training", "training"}, {"camps", "training"},
{"lineup", "kickoff"}, {"tactics", "kickoff"}, {"squad", "locker"}, {"contracts", "locker"}, {"transfer", "locker"},
{"stadium", "seats"}, {"advertising", "boards"}, {"calendar", "bench"}, {"postpone", "bench"}, {"friendlies", "bench"}, {"camp", "training"},
{"almanac", "trophies"}, {"achievements", "trophies"}, {"highscore", "trophies"}, {"news", "press"}, {"newplayer", "press"}, {"settings", "press"}, {"environment", "fans"}, {"training", "training"}, {"camps", "training"},
{"lineup", "bench"}, {"tactics", "bench"}, {"squad", "locker"}, {"contracts", "locker"}, {"transfer", "press"},
{"tables", "stand"}, {"league", "stand"}, {"other", "stand"}, {"strengths", "stand"}, {"statistics", "kickoff"},
{"scorers", "kickoff"}, {"fairplay", "kickoff"}};
if (theme_ != "silver") return {};
@@ -830,6 +831,12 @@ class App final : public Rml::EventListener {
std::string render_training();
std::string render_tactics();
std::string render_calendar();
// the career's calendar: -1 the twelve months, else the opened month (calendar_year.inc)
int calendar_month_ = -1, calendar_from_ = 0;
std::string calendar_anim_;
std::string render_calendar_year();
bool calendar_month_action(const std::string &, Rml::Element *);
void calendar_open_month(int);
Json planning_calendar() const;
std::string calendar_day_info(const Json &) const;
std::string calendar_grid(const Json &, double, double, double, double, bool, bool);
@@ -1700,6 +1707,7 @@ public:
#include "modern/ui/engine_friendlies.inc"
#include "modern/ui/engine_almanac.inc"
#include "modern/ui/engine_reports.inc"
#include "modern/ui/calendar_year.inc"
#include "modern/ui/finance_simulation.inc"
#include "modern/ui/statistics_analysis.inc"
#include "modern/ui/engine_rankings.inc"