League system: the league tables of the loaded game as one structure
The mutable globals of schedule.hpp (league sizes, calendar groups, promotion ladder, European places, league suffixes, newcomers, English competitions) are members of LeagueSystem in world_layout.hpp, read through league_system() and written only by the installer of a game version. Values and uses are unchanged. The size check of set_league_sizes asks the world layout for the league teams. Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
1 parent
74d6cde914
commit
cb6d3b6035
38 files changed
+232
-180
No files matched your search
+1
-1
@@ -3026,7 +3026,7 @@ bool pre_match_offer(GameState& g, int manager, GameRandom& game, WatcomRandom&
|
||||
message_text(g, ::bmh::layout::Weekly_PreMatchOffer_TextPointer7) +
|
||||
// German: "<amount> KAUFEN" (with WeeklyRuntimeField11 " "); the English MessageText puts
|
||||
// the verb first: "BUY him for <amount>"
|
||||
(kEnglishCompetitions ? verb + amount : amount + " " + verb) + message_text(g, ::bmh::layout::Weekly_PreMatchOffer_TextPointer10);
|
||||
(league_system().english_competitions ? verb + amount : amount + " " + verb) + message_text(g, ::bmh::layout::Weekly_PreMatchOffer_TextPointer10);
|
||||
}
|
||||
// SystemIdentity shows it, PostMessage posts it
|
||||
post_composed(g, manager, text);
|
||||
|
||||
Reference in new issue
Block a user