Commit Graph

22 Commits

Author SHA1 Message Date
Tom Stellard 347d74a3c4 Load all league and team names at the beginning of the game
This way we don't have to reload the country xml definitions every time
we have to generate a new team.
2021-03-05 23:38:28 -05:00
Tom Stellard 996bccc739 Implement promotion and relegation rules for reserve teams
This adds some new rules for promoting and relegating reserve
teams:

+ Reserve teams will not be promoted into a league that contains its
  first team or a higher-level reserve team.
+ If a first team or higher-level reserve team is relegated to a league
  with a lower reserve team, then that reserve team will also be relegated.

In order to enable these rules, you must add the
<reserve_promotion_rules>default</reserve_promotion_rules> tag to your
contry xml file, and also define reserve teams in your league/team_defs
file using the <first_team> and <reserve_level> tags.
2020-12-24 10:43:39 -08:00
gyboth 078b70a1ea Added debug logging. 2009-04-29 17:18:54 +00:00
gyboth 23cfbb3f0c Added function name output when compiled with DEBUG. 2008-11-25 13:50:07 +00:00
gyboth 5dd4a55db6 Variable interest rates. 2008-11-06 08:03:09 +00:00
gyboth 55c6a7546a "2.0.0" 2006-06-04 17:10:08 +00:00
gyboth 7d0a4ad989 "Bugfixes." 2006-04-19 16:57:01 +00:00
gyboth 1c870e9f26 Minor fixes. 2006-04-11 17:27:26 +00:00
idcarlos 70f3d94ea0 Minor changes for 1.9.5 compatibility 2006-04-09 15:13:42 +00:00
gyboth c2626e1ad7 Minor fixes. 2006-04-08 19:25:48 +00:00
gyboth 15ad0cbb01 "Job exchange, first buggy draft with lots of debugging output." 2005-12-01 11:50:54 +00:00
gyboth 6f61b20f96 "Minor bugfix in query_cup_begins." 2005-11-26 16:52:51 +00:00
gyboth 54132543c4 "Betting bugfix." 2005-10-31 16:19:14 +00:00
gyboth 79f1fea94e "Betting, first draft." 2005-10-27 21:10:15 +00:00
gyboth 3b23bb353f "CPU strategies, first draft." 2005-10-24 20:50:48 +00:00
gyboth fa0b06f39d "Randomise teams option added." 2005-10-20 15:45:00 +00:00
gyboth 53131dd2e9 "Switched most GStrings to gchar." 2005-10-09 09:35:44 +00:00
gyboth 24679ad5f2 "Bugfixes, add_week, supernational." 2005-06-23 21:53:57 +00:00
gyboth a0074cc159 "Supernational countries." 2005-06-22 17:44:33 +00:00
gyboth fd6e42af8e Promotion games, supercups (phew). 2005-04-14 19:07:25 +00:00
gyboth 780231902a Some fixes; added confirmations. 2005-04-07 16:44:33 +00:00
gyboth 34e1c33e23 Load/save source files added. 2005-04-05 22:14:39 +00:00