bygfoot/src
Tom Stellard 402ca82cbf Update the cup teams list after loading a saved game
This fixes a bug where the season results weren't being displayed after
loading a saved game.

(cherry picked from commit 9b9a4797a9a03c08568f122e36a751a7d37a445a)
2022-01-25 16:38:40 -08:00
..
zip zip: Remove usage of OF macros 2020-12-24 10:43:39 -08:00
Makefile.am Continue on windres integration for windows 2011-08-05 11:57:21 +00:00
Makefile.in Added G_MODULE_EXPORT to all callbacks methods. Otherwise they are not useable on windows 2011-08-29 11:17:53 +00:00
bet.c Added function name output when compiled with DEBUG. 2008-11-25 13:50:07 +00:00
bet.h "Minor bugfix in query_cup_begins." 2005-11-26 16:52:51 +00:00
bet_struct.h "Minor bugfix in query_cup_begins." 2005-11-26 16:52:51 +00:00
bygfoot.c Fix hang when saving a game 2022-01-08 01:40:59 -08:00
bygfoot.h Bump version to 2.3.4 2022-01-07 22:29:14 -08:00
bygfoot.ico Updated icon (1.9 is obsolete) 2009-02-16 21:24:37 +00:00
bygfoot_private.h Bump version to 2.3.4 2022-01-07 22:29:14 -08:00
bygfoot_private.rc Continue on windres integration for windows 2011-08-05 11:57:21 +00:00
bygfoot_struct.h Add json interface 2021-03-05 23:38:28 -05:00
callback_func.c Fix some bad casts from GPtrArray to GArray 2022-01-25 16:38:27 -08:00
callback_func.h Use a callback for reporting progress of simulating games 2021-03-05 23:38:28 -05:00
callbacks.c Fix segfault when saving a game 2022-01-08 01:40:45 -08:00
callbacks.h Use a callback for reporting progress of simulating games 2021-03-05 23:38:28 -05:00
cup.c Fix bug with player attributes being updated too often 2022-01-25 16:38:05 -08:00
cup.h Fix bug with player attributes being updated too often 2022-01-25 16:38:05 -08:00
cup_struct.h Remove the team_names file from the Cup struct 2021-07-27 14:41:40 -04:00
debug.c Use a callback for reporting progress of simulating games 2021-03-05 23:38:28 -05:00
debug.h Use a callback for reporting progress of simulating games 2021-03-05 23:38:28 -05:00
enums.h Newspaper options. 2008-12-16 13:55:51 +00:00
file.c Only add pixmap directories when using gtk2 2021-03-05 23:38:28 -05:00
file.h Add json interface 2021-03-05 23:38:28 -05:00
finance.c Add Bygfoot* parameter to start_week* functions 2021-03-05 23:38:28 -05:00
finance.h Add Bygfoot* parameter to start_week* functions 2021-03-05 23:38:28 -05:00
fixture.c Use cup history for self-referential cups 2021-07-27 14:41:40 -04:00
fixture.h Remove team_ids field from Fixture object 2021-07-27 14:41:40 -04:00
fixture_struct.h Remove team_ids field from Fixture object 2021-07-27 14:41:40 -04:00
free.c Remove the team_names file from the Cup struct 2021-07-27 14:41:40 -04:00
free.h Def improvements, Italian definition corrected. 2008-12-23 10:33:55 +00:00
game.c Cache some commonly used constants 2020-12-24 10:43:39 -08:00
game.h Live game foul probabilities reworked. 2009-03-08 11:34:30 +00:00
game_gui.c Fixed bug request 3257236, always show news after a match 2012-02-07 11:56:55 +00:00
game_gui.h included training camp 2007-01-18 17:25:32 +00:00
gettext_macros.h "Minor bugfix in query_cup_begins." 2005-11-26 16:52:51 +00:00
gui.c Country file sorting. 2009-01-11 10:23:55 +00:00
gui.h European defs, goto convenience. 2009-01-09 14:32:34 +00:00
interface.c Use a callback for reporting progress of simulating games 2021-03-05 23:38:28 -05:00
interface.h Use a callback for reporting progress of simulating games 2021-03-05 23:38:28 -05:00
job.c Use a GPtrArray to store teams in leagues 2021-07-27 14:41:40 -04:00
job.h Add Bygfoot* parameter to start_week* functions 2021-03-05 23:38:28 -05:00
job_struct.h Job exchange, first draft. 2005-12-01 11:45:53 +00:00
json_compat.h Add json interface 2021-03-05 23:38:28 -05:00
json_interface.c Remove team_ids field from Fixture object 2021-07-27 14:41:40 -04:00
json_interface.h Add json interface 2021-03-05 23:38:28 -05:00
json_serialize.c Remove the team_names file from the Cup struct 2021-07-27 14:41:40 -04:00
json_serialize.h Save cup results at the end of each season 2021-07-27 14:41:40 -04:00
language.c Mac build changes. 2009-05-01 12:19:16 +00:00
language.h Country file sorting. 2009-01-11 10:23:55 +00:00
league.c Generate a 'pre-history' for cups 2021-07-27 14:41:40 -04:00
league.h Use a GPtrArray to store teams in leagues 2021-07-27 14:41:40 -04:00
league_struct.h Use a GPtrArray to store teams in leagues 2021-07-27 14:41:40 -04:00
league_table_callbacks.c Added G_MODULE_EXPORT to all callbacks methods. Otherwise they are not useable on windows 2011-08-29 11:17:53 +00:00
league_table_callbacks.h fixed some copy and paste errors 2008-01-29 13:29:38 +00:00
lg_commentary.c Improved the corner kick actions, the next action after a corner was only in the next minute 2010-01-29 07:33:11 +00:00
lg_commentary.h Newspaper progressing. 2008-11-28 18:10:01 +00:00
lg_commentary_struct.h "Minor bugfix in query_cup_begins." 2005-11-26 16:52:51 +00:00
live_game.c Use a callback for reporting progress of simulating games 2021-03-05 23:38:28 -05:00
live_game.h Use a callback for reporting progress of simulating games 2021-03-05 23:38:28 -05:00
live_game_struct.h Implemented corners. TODO: The LG_commentary is not working yet. I have to verify why 2010-01-19 13:11:31 +00:00
load_save.c Fix crash when closing the live game window after loading a saved game 2022-01-25 16:38:15 -08:00
load_save.h Use a callback for reporting progress of simulating games 2021-03-05 23:38:28 -05:00
main.c Ensure that all teams are loaded from a save file before looking up pointers 2021-08-26 22:41:49 -07:00
main.h Only add pixmap directories when using gtk2 2021-03-05 23:38:28 -05:00
maths.c Added function name output when compiled with DEBUG. 2008-11-25 13:50:07 +00:00
maths.h "Minor bugfix in query_cup_begins." 2005-11-26 16:52:51 +00:00
misc.c Remove team_ids field from Fixture object 2021-07-27 14:41:40 -04:00
misc.h Remove team_ids field from Fixture object 2021-07-27 14:41:40 -04:00
misc2_callback_func.c Remove team_id from User object 2021-07-27 14:41:40 -04:00
misc2_callback_func.h Use a callback for reporting progress of simulating games 2021-03-05 23:38:28 -05:00
misc2_callbacks.c Use a callback for reporting progress of simulating games 2021-03-05 23:38:28 -05:00
misc2_callbacks.h Automatic loan repayment. 2008-11-08 12:46:12 +00:00
misc2_interface.c Use a callback for reporting progress of simulating games 2021-03-05 23:38:28 -05:00
misc2_interface.h Use a callback for reporting progress of simulating games 2021-03-05 23:38:28 -05:00
misc3_callbacks.c Use a callback for reporting progress of simulating games 2021-03-05 23:38:28 -05:00
misc3_callbacks.h Newspaper progressing; menu restructured. 2008-12-06 17:07:03 +00:00
misc3_interface.c Use a callback for reporting progress of simulating games 2021-03-05 23:38:28 -05:00
misc3_interface.h Use a callback for reporting progress of simulating games 2021-03-05 23:38:28 -05:00
misc_callback_func.c Use a callback for reporting progress of simulating games 2021-03-05 23:38:28 -05:00
misc_callback_func.h Use a callback for reporting progress of simulating games 2021-03-05 23:38:28 -05:00
misc_callbacks.c Use a callback for reporting progress of simulating games 2021-03-05 23:38:28 -05:00
misc_callbacks.h "Splash screen first draft." 2006-02-15 12:03:48 +00:00
misc_interface.c Use a callback for reporting progress of simulating games 2021-03-05 23:38:28 -05:00
misc_interface.h Use a callback for reporting progress of simulating games 2021-03-05 23:38:28 -05:00
name.c Added debug logging. 2009-04-29 17:18:54 +00:00
name.h "Minor bugfix in query_cup_begins." 2005-11-26 16:52:51 +00:00
name_struct.h "Minor bugfix in query_cup_begins." 2005-11-26 16:52:51 +00:00
news.c European cups. 2009-01-08 22:20:26 +00:00
news.h German news, news improvements. 2008-12-18 12:07:59 +00:00
news_struct.h Week breaks introduced. 2008-12-26 15:59:46 +00:00
nonsourcestrings.c "Minor bugfix in query_cup_begins." 2005-11-26 16:52:51 +00:00
option.c Fix unused variable from d195a59c80 2020-12-24 10:43:39 -08:00
option.h Cache some commonly used constants 2020-12-24 10:43:39 -08:00
option_gui.c there is an option to store the order of your team, this order will be restored after a match 2009-06-24 20:02:50 +00:00
option_gui.h "Minor bugfix in query_cup_begins." 2005-11-26 16:52:51 +00:00
option_struct.h Cache some commonly used constants 2020-12-24 10:43:39 -08:00
options_callbacks.c Added G_MODULE_EXPORT to all callbacks methods. Otherwise they are not useable on windows 2011-08-29 11:17:53 +00:00
options_callbacks.h Constants editing done. 2009-03-11 20:54:15 +00:00
options_interface.c ng up loose ends, some buttons where not defined in the code yet, spinbuttons that weren't working,... 2009-11-13 12:02:11 +00:00
options_interface.h Constants editing. 2009-03-09 20:20:26 +00:00
player.c Try to avoid calling team_get_fixture() from player_is_banned() 2021-03-27 09:23:22 -04:00
player.h Updated the default team implementation 2009-09-15 12:02:44 +00:00
player_struct.h Live game foul probabilities reworked. 2009-03-08 11:34:30 +00:00
start_end.c Fix bug with player attributes being updated too often 2022-01-25 16:38:05 -08:00
start_end.h Generate a 'pre-history' for cups 2021-07-27 14:41:40 -04:00
stat.c Use a GPtrArray to store teams in leagues 2021-07-27 14:41:40 -04:00
stat.h Use a GPtrArray to store teams in leagues 2021-07-27 14:41:40 -04:00
stat_struct.h "Job exchange, first buggy draft with lots of debugging output." 2005-12-01 11:50:54 +00:00
strategy.c Parse strategy conditions once when loading them from xml 2021-03-30 10:20:11 -04:00
strategy.h Parse strategy conditions once when loading them from xml 2021-03-30 10:20:11 -04:00
strategy_struct.h Parse strategy conditions once when loading them from xml 2021-03-30 10:20:11 -04:00
support.c Factor user creation code out from the gtk callbacks 2021-03-05 23:38:28 -05:00
support.h Factor user creation code out from the gtk callbacks 2021-03-05 23:38:28 -05:00
table.c Remove team_ids field from Fixture object 2021-07-27 14:41:40 -04:00
table.h Fixed the horses problem. 2009-01-11 14:51:12 +00:00
table_struct.h Remove team_id member from TableElement 2021-07-27 14:41:40 -04:00
team.c Fix error with team_get_index() 2022-01-15 10:12:39 -08:00
team.h Use a GPtrArray to store teams in leagues 2021-07-27 14:41:40 -04:00
team_struct.h Add first_team and reserve_level tags to team element 2020-12-24 10:43:39 -08:00
training.c Added function name output when compiled with DEBUG. 2008-11-25 13:50:07 +00:00
training.h included training camp 2007-01-18 17:36:09 +00:00
training_callbacks.c Added G_MODULE_EXPORT to all callbacks methods. Otherwise they are not useable on windows 2011-08-29 11:17:53 +00:00
training_callbacks.h Star player balking. 2008-05-02 13:00:05 +00:00
training_interface.c Renamed the ui files again to glade as intltool doesn't try to translate .ui files. Updated the autogen chain so intltool is used instead of gettext (it also translate glade files) 2009-10-28 08:08:27 +00:00
training_interface.h included training camp 2007-01-18 17:36:09 +00:00
training_struct.h Training camp defaults. 2008-05-03 15:03:30 +00:00
transfer.c Add Bygfoot* parameter to start_week* functions 2021-03-05 23:38:28 -05:00
transfer.h Add Bygfoot* parameter to start_week* functions 2021-03-05 23:38:28 -05:00
transfer_struct.h "Minor bugfix in query_cup_begins." 2005-11-26 16:52:51 +00:00
treeview.c Fix some bad casts from GPtrArray to GArray 2022-01-25 16:38:27 -08:00
treeview.h Refactor treeview_create_team_selection_list() 2021-07-27 14:41:40 -04:00
treeview2.c Added debug logging. 2009-04-29 17:18:54 +00:00
treeview2.h Constants editing. 2009-03-10 20:58:34 +00:00
treeview_helper.c Remove team_ids field from Fixture object 2021-07-27 14:41:40 -04:00
treeview_helper.h Constants editing done. 2009-03-11 20:25:26 +00:00
user.c Fix some bad casts from GPtrArray to GArray 2022-01-25 16:38:27 -08:00
user.h there is an option to store the order of your team, this order will be restored after a match 2009-06-24 20:02:50 +00:00
user_struct.h Remove team_id from User object 2021-07-27 14:41:40 -04:00
variables.h Use teams from country_list for international jobs 2021-04-03 15:43:39 -07:00
window.c Fix slow game saves 2022-01-14 21:05:19 -08:00
window.h Use a callback for reporting progress of simulating games 2021-03-05 23:38:28 -05:00
xml.c Load all league and team names at the beginning of the game 2021-03-05 23:38:28 -05:00
xml.h Load all league and team names at the beginning of the game 2021-03-05 23:38:28 -05:00
xml_country.c Use a GPtrArray to store teams in leagues 2021-07-27 14:41:40 -04:00
xml_country.h "Job exchange, first buggy draft with lots of debugging output." 2005-12-01 11:50:54 +00:00
xml_cup.c Add optional tag 2021-03-05 23:38:28 -05:00
xml_cup.h "Minor bugfix in query_cup_begins." 2005-11-26 16:52:51 +00:00
xml_league.c Use a GPtrArray to store teams in leagues 2021-07-27 14:41:40 -04:00
xml_league.h "Minor bugfix in query_cup_begins." 2005-11-26 16:52:51 +00:00
xml_lg_commentary.c Implemented corners. TODO: The LG_commentary is not working yet. I have to verify why 2010-01-19 13:11:31 +00:00
xml_lg_commentary.h "Minor bugfix in query_cup_begins." 2005-11-26 16:52:51 +00:00
xml_loadsave_cup.c Remove the team_names file from the Cup struct 2021-07-27 14:41:40 -04:00
xml_loadsave_cup.h Add alternatives tag to choose_team 2021-03-05 23:38:28 -05:00
xml_loadsave_fixtures.c Remove team_ids field from Fixture object 2021-07-27 14:41:40 -04:00
xml_loadsave_fixtures.h "Minor bugfix in query_cup_begins." 2005-11-26 16:52:51 +00:00
xml_loadsave_jobs.c Use teams from country_list for international jobs 2021-04-03 15:43:39 -07:00
xml_loadsave_jobs.h Job exchange, first draft. 2005-12-01 11:45:53 +00:00
xml_loadsave_league.c Allow using rank_start and rank_end tags for prom_games 2020-12-24 10:43:39 -08:00
xml_loadsave_league.h Def improvements, Italian definition corrected. 2008-12-23 10:33:55 +00:00
xml_loadsave_league_stat.c Added debug logging. 2009-04-29 17:18:54 +00:00
xml_loadsave_league_stat.h "Minor bugfix in query_cup_begins." 2005-11-26 16:52:51 +00:00
xml_loadsave_leagues_cups.c Update the cup teams list after loading a saved game 2022-01-25 16:38:40 -08:00
xml_loadsave_leagues_cups.h Use a callback for reporting progress of simulating games 2021-03-05 23:38:28 -05:00
xml_loadsave_live_game.c Added debug logging. 2009-04-29 17:18:54 +00:00
xml_loadsave_live_game.h "Minor bugfix in query_cup_begins." 2005-11-26 16:52:51 +00:00
xml_loadsave_misc.c Ensure that all teams are loaded from a save file before looking up pointers 2021-08-26 22:41:49 -07:00
xml_loadsave_misc.h Load all league and team names at the beginning of the game 2021-03-05 23:38:28 -05:00
xml_loadsave_newspaper.c Added debug logging. 2009-04-29 17:18:54 +00:00
xml_loadsave_newspaper.h Newspaper progressing. 2008-11-29 11:30:10 +00:00
xml_loadsave_players.c Added debug logging. 2009-04-29 17:18:54 +00:00
xml_loadsave_players.h "Minor bugfix in query_cup_begins." 2005-11-26 16:52:51 +00:00
xml_loadsave_season_stats.c Added debug logging. 2009-04-29 17:18:54 +00:00
xml_loadsave_season_stats.h "Minor bugfix in query_cup_begins." 2005-11-26 16:52:51 +00:00
xml_loadsave_table.c Remove team_id member from TableElement 2021-07-27 14:41:40 -04:00
xml_loadsave_table.h "Minor bugfix in query_cup_begins." 2005-11-26 16:52:51 +00:00
xml_loadsave_teams.c Use a GPtrArray to store teams in leagues 2021-07-27 14:41:40 -04:00
xml_loadsave_teams.h Use a GPtrArray to store teams in leagues 2021-07-27 14:41:40 -04:00
xml_loadsave_transfers.c Added debug logging. 2009-04-29 17:18:54 +00:00
xml_loadsave_transfers.h "Minor bugfix in query_cup_begins." 2005-11-26 16:52:51 +00:00
xml_loadsave_users.c Remove team_id from User object 2021-07-27 14:41:40 -04:00
xml_loadsave_users.h "Minor bugfix in query_cup_begins." 2005-11-26 16:52:51 +00:00
xml_mmatches.c Added debug logging. 2009-04-29 17:18:54 +00:00
xml_mmatches.h "Minor bugfix in query_cup_begins." 2005-11-26 16:52:51 +00:00
xml_name.c Added debug logging. 2009-04-29 17:18:54 +00:00
xml_name.h "Minor bugfix in query_cup_begins." 2005-11-26 16:52:51 +00:00
xml_news.c Added debug logging. 2009-04-29 17:18:54 +00:00
xml_news.h News, first steps. 2008-11-27 13:24:18 +00:00
xml_strategy.c Parse strategy conditions once when loading them from xml 2021-03-30 10:20:11 -04:00
xml_strategy.h "Minor bugfix in query_cup_begins." 2005-11-26 16:52:51 +00:00
xml_team.c Add first_team and reserve_level tags to team element 2020-12-24 10:43:39 -08:00
xml_team.h "Minor bugfix in query_cup_begins." 2005-11-26 16:52:51 +00:00
youth_academy.c Add Bygfoot* parameter to start_week* functions 2021-03-05 23:38:28 -05:00
youth_academy.h Add Bygfoot* parameter to start_week* functions 2021-03-05 23:38:28 -05:00
youth_academy_struct.h "Minor bugfix in query_cup_begins." 2005-11-26 16:52:51 +00:00