Commit Graph

38 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 078b70a1ea Added debug logging. 2009-04-29 17:18:54 +00:00
gyboth 1532a1ffef Team pointer load/save bugfix. 2009-01-10 10:41:27 +00:00
gyboth d1bbb23e11 Skip weeks removed. 2009-01-08 08:41:37 +00:00
gyboth d24f785128 English news (translated from German). 2009-01-06 14:13:11 +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 23cfbb3f0c Added function name output when compiled with DEBUG. 2008-11-25 13:50:07 +00:00
gyboth 945c4d1093 Added league properties and changed league active status to property. 2008-11-24 11:16:36 +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 55c6a7546a "2.0.0" 2006-06-04 17:10:08 +00:00
gyboth 6f61b20f96 "Minor bugfix in query_cup_begins." 2005-11-26 16:52:51 +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 7f2c108686 "Bugfixes." 2005-10-15 16:49:04 +00:00
gyboth 53131dd2e9 "Switched most GStrings to gchar." 2005-10-09 09:35:44 +00:00
gyboth 6c959586c7 "Minor string array improvements." 2005-10-05 19:59:37 +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 c4fb6e9e02 "Cup load/save fix." 2005-08-16 12:49:45 +00:00
gyboth da1c972577 "Fixes, intercont. cup." 2005-06-03 07:45:09 +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 bd3f30c8b2 Fixes; success counter. 2005-04-24 14:19:57 +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 903288474a Season end. 2005-04-13 13:01:59 +00:00
gyboth 34e1c33e23 Load/save source files added. 2005-04-05 22:14:39 +00:00