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
@@ -178,7 +178,7 @@ int main() {
constexpr size_t national_backup = 4 * 0xb0c + 0x290;
game.manager_records[national_backup] = 200;
game.manager_records[national_backup + 1] = 0;
game.memory.set16(::bmh::layout::CupDraw_FormatError_RuntimeField3, 199); // stale raw cache deliberately disagrees with typed slot4.
game.memory.set16(::bmh::layout::ManagerRecord4Club, 199); // stale raw cache deliberately disagrees with typed slot4.
game.memory.set16(::bmh::layout::SyntheticCupParticipantsBegin, 200);
bool owned_foreign_rejected = false;
try { (void)bmh::other_games_from_game(game, db, 0, 0, 0); }