Accept data revision 1.4: real ages for all players (M5)

Revision 1.4 of the Modern data set brings birth dates for every
player, the camp catalogue with its maps and 100 referees. The
expansion now takes the age from a birth date for the original players
as well (WorldPlayer::born); before, only the added players kept their
data age. The yearly aging stops at 47, the most the age bits hold, so
real ages (a goalkeeper of 40) cannot run into the bits above. The
season sim counts second referee assignments per day.

Two seasons and ten seasons run through; the save round trip is
identical; second referee assignments drop to about 7 a season.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
ClaudeandClaude Opus 5.5 committed 2026-10-25 08:54:21 +01:00
1 parent 7de6f644f2
commit 44a7a77915
8 files changed
+35 -4

No files matched your search

+1
View File
@@ -43,6 +43,7 @@ struct WorldPlayer {
int position = 0; // 0 GK, 1 DEF, 2 MID, 3 FWD
std::string nation; // first nationality
int age = -1; // age on the start date
bool born = false; // the age comes from a birth date (not a placeholder age)
std::string photo;
// Attributes of bmh-classic@1.
int technique = 0, condition = 0, form = 0, bonus = 0;