Modern: fixture table per league size, league dates and finished leagues (M2)

- schedule: kLeagueTablesPerLeague lets every league use the table of its own
  size (international leagues of 20 and 18 side by side); Classic leaves it off.
- Modern: a league that has played all its rounds sits out the remaining dates
  of its calendar group.
- modern/game/world_calendar: season days of ISO dates and placing a league
  group's dates in the season calendar around special days, with tests.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
ClaudeandClaude Opus 5.5 committed 2026-10-23 18:24:43 +02:00
1 parent f2fcb28f65
commit a4a37f1cb2
10 files changed
+189 -6

No files matched your search

+3
View File
@@ -98,6 +98,9 @@ int team_league(int team);
// LeagueTableTeams). The same as the league size except for the English fifth league (10 teams),
// which belongs to no calendar group and is never played.
int league_table_teams(int league);
// Modern worlds play every league on the table of its own size (international leagues of
// 20 and 18 clubs side by side). Classic leaves this off: leagues 5-8 share the table of league 5.
inline bool kLeagueTablesPerLeague = false;
struct Fixture {
int home; // team id