Layout constants of the world and league tables named by meaning

Ten constants with generated names (CareerSession_InstallLeagueSizes_RuntimeField*,
CareerSession_DispatchLineup_RuntimeField, CupDraw_FormatError_RuntimeField2/3, ...)
are LeagueClubCount, LeagueEuropeanPlaces, LeagueRelegationPlaces, LeagueNameSuffixes,
PromotionGroupBelowCounts/Leagues, NewcomerClubCount, ForeignCupClubCount and
ManagerRecord0Club/4Club. Values unchanged; the layout reference is regenerated.

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
ClaudeandClaude committed 2026-11-11 12:10:30 +01:00
1 parent 33566566ac
commit 205a543b40
44 files changed
+117 -109

No files matched your search

+1 -1
View File
@@ -366,7 +366,7 @@ std::optional<ui::TopScorersState> CareerSession::open_top_scorers(
throw FormatError("top scorers: manager record does not own the active team");
int stable_team = team;
if (team == kNoTeam) {
// The live CupDraw_FormatError_RuntimeField3 owner is mirrored by the typed spare manager record 4.
// The live ManagerRecord4Club owner is mirrored by the typed spare manager record 4.
const size_t backup = 4 * 0xb0c + 0x290;
if (manager != 0 || backup + 2 > g_.manager_records.size())
throw FormatError("top scorers: unsupported national-coach owner");