Fix Almanac shoot-out recording and verified legacy views (by Codex)
This commit is contained in:
1 parent
ddd4447563
commit
f9e8719b2d
11 files changed
+309
-28
No files matched your search
@@ -179,6 +179,11 @@ std::string encode_almanac_season(const AlmanacSeason& season);
|
||||
// Throws FormatError when the bytes are not an almanac season of a known version.
|
||||
AlmanacSeason decode_almanac_season(const std::string& bytes);
|
||||
|
||||
// Repair the old double recording of shoot-out kicks in a presentation copy.
|
||||
// Only a complete, matching log/show pair with consistent totals qualifies.
|
||||
// Uncertain records and the saved season bytes remain untouched.
|
||||
bool normalize_legacy_shootout(AlmanacMatch& match);
|
||||
|
||||
// A player index now belongs to a new person (retirement or youth player): gives it a new
|
||||
// stable identity so the almanac does not merge the two careers.
|
||||
void new_player_identity(ModernState& g, int player);
|
||||
|
||||
Reference in new issue
Block a user