Modern: the traffic access has four stages

The Modern interface shows four stages for the traffic access, the original
has three. A Modern world (WorldLayout::traffic_stages = 4) keeps the
condition byte in steps of 64 (64, 128, 192, 255) and offers a build up to
stage 3; every stage weighs as one original stage. New careers convert the
original start table, older Modern saves are converted on load
(traffic_scale). Classic data keeps three stages; the Classic equivalence is
unchanged. Also: the live ticker takes the matches from the desk day on.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
ClaudeandClaude Opus 5.5 committed 2026-10-27 09:53:31 +01:00
1 parent fda4b72967
commit 0046ab90d0
18 files changed
+154 -16

No files matched your search

+1
View File
@@ -142,6 +142,7 @@ WorldLayout modern_layout(int league_clubs, int german_clubs) {
// no_team, filled on the international days from the players of its nationality
w.national_start = w.pool_end + w.no_team_slots + 54;
w.national_slots = kSquadSlots;
w.traffic_stages = 4; // the four stages of the Modern interface (modern/game/traffic.hpp)
w.total_slots = w.national_start + uint32_t(w.national_teams - 1) * w.national_slots;
return w;
}