Commit Graph

31 Commits

Author SHA1 Message Date
Tom Stellard fdc15fdf8a Add optional tag 2021-03-05 23:38:28 -05:00
Tom Stellard be9b591c0e Add alternatives tag to choose_team
This allows you to specify an alternative choose_team in the case the
first choose_team does not match any teams.  This can happen if a team
qualifies for another cup in the same cup group.  You may list an
unlimited number of alternatives with this new tag.  Here is an example of
how to use it:

<choose_team>
  <choose_team_sid>faroe_islands_cup</choose_team_sid>
  <number_of_teams>1</number_of_teams>
  <start_idx>1</start_idx>
  <end_idx>1</end_idx>
  <alternatives>
    <choose_team>
      <choose_team_sid>faroe_islands1</choose_team_sid>
      <number_of_teams>1</number_of_teams>
      <start_idx>1</start_idx>
      <end_idx>1</end_idx>
    </choose_team>
  </alternatives>
</choose_team>

This example chooses the winner of the faroe_islands_cup, but if that
team is not eligible for the cup, then it will choose the winner of the
faroe_islands1 league.
2021-03-05 23:38:28 -05:00
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
gyboth a04940877b European cups. 2009-01-08 22:20:26 +00:00
gyboth c75b4f1327 Def system changes, cup round names. 2009-01-04 10:53:09 +00:00
gyboth ebf191cc2f Cup fixture scheduling. 2009-01-03 11:24:00 +00:00
gyboth 355a8b4f4e Def system changes. 2008-12-28 15:44:12 +00:00
gyboth a76cae2a44 Week breaks introduced. 2008-12-26 15:59:46 +00:00
gyboth fed258a749 Added custom round robin breaks to leagues and cups. 2008-12-14 10:37:10 +00:00
gyboth 6bf8fb819b Added possibility to configure number of round robins in cup stages. 2008-12-13 15:15:03 +00:00
gyboth 83908c2c8d Possibility to specify table in choose_team. 2008-11-22 19:02:38 +00:00
gyboth d0c720ff8c Cup choose team cleanup; skip_group_check added. 2008-11-18 18:32:37 +00:00
gyboth fc80db9dcb Added two match weeks for cup rounds. 2007-02-18 13:04:19 +00:00
gyboth 86aaeb8f99 "Cup round delay added." 2006-06-29 16:06:52 +00:00
gyboth 6f61b20f96 "Minor bugfix in query_cup_begins." 2005-11-26 16:52:51 +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 2c1c98bbec "Minor improvements." 2005-09-27 12:18:46 +00:00
gyboth 63e471da3f "World cup first try." 2005-09-21 17:42:41 +00:00
gyboth 08d169daf3 "Player skill system changed." 2005-09-14 21:16:22 +00:00
gyboth 82a5b05deb "Cup teams loaded all at once." 2005-08-15 16:25:49 +00:00
gyboth 9f86313aed "Cup byes patch." 2005-05-30 16:22:23 +00:00
gyboth c4d40f55b6 Yet another cup system change. 2005-05-08 17:56:26 +00:00
gyboth 745977466d Cup structure changes. 2005-05-06 16:35:19 +00:00
gyboth a62634bfde Romanian definition added. 2005-04-23 19:48:02 +00:00
gyboth 37f9b5ebdd Tables attached to cup rounds (not the cups themselves). Cups with round robin as last round allowed. 2005-04-22 15:17:39 +00:00
gyboth fd6e42af8e Promotion games, supercups (phew). 2005-04-14 19:07:25 +00:00
gyboth b7159723a2 Load/save implemented. 2005-04-04 10:36:04 +00:00
gyboth 323e24b52b Tables display implemented. Flags added. 2005-03-15 15:10:57 +00:00
gyboth 993e7b6ba2 Live game can be tested a bit now. 2005-01-09 20:21:22 +00:00
gyboth be3b94742f Finished loading of leagues and cups and generating of teams. 2004-12-30 16:48:19 +00:00