Commit Graph

98 Commits

Author SHA1 Message Date
Tom Stellard 6abdf5872d Fix slow game saves
In some cases when the save directory has a lot of files it was taking
hours to save games due to gtk taking a long time to process new file
events.  This fixes the problem by destroying the file chooser window
before saving a game.

(cherry picked from commit 6d57140a4fd8e59885e139f9cd0e29a18b3ff60d)
2022-01-14 21:05:19 -08:00
Tom Stellard e7ff2f9d4d Use a callback for reporting progress of simulating games
This removes the gtk2 dependency from end_week_round_results() so it can
be potentially used with other frontends.
2021-03-05 23:38:28 -05:00
Tom Stellard a773634711 Factor user creation code out from the gtk callbacks
Also introduce a new Bygfoot struct for holding all the global data.
This will eventually replace all the global variables in bygfoot, but
for now it is an empty struct that we are just passing it through to
functions that access global variables.
2021-03-05 23:38:28 -05:00
Tom Stellard 19dce90fa2 Remove reference to deleted picture 2021-03-05 23:38:28 -05:00
gunnar_g 923b269455 fixed the "Gtk-CRITICAL **: gtk_widget_ref: assertion `GTK_IS_WIDGET (widget)' failed" errors use gtkbuilder for the right click menu's too
TODO: check how to do the translations
2009-10-20 11:52:17 +00:00
gyboth 078b70a1ea Added debug logging. 2009-04-29 17:18:54 +00:00
gyboth e4e16947c7 Constants editing. 2009-03-10 20:58:34 +00:00
gyboth 70d42221ca Constants editing. 2009-03-09 20:20:26 +00:00
gyboth f519321108 European defs, goto convenience. 2009-01-09 14:32:34 +00:00
gyboth e98314c7e2 German translation etc. 2008-12-17 17:36:18 +00:00
gyboth 3dcb1406ed Country selection convenience stuff. 2008-12-17 15:31:07 +00:00
gyboth 27b02de8b4 Country selection convenience stuff. 2008-12-17 14:39:10 +00:00
gunnar_g ab81ece3c6 The country combobox in the startup_window shows a layered structure to make it
easier to navigate.
There are still minor glitches to sort out.
2008-12-08 13:46:11 +00:00
gyboth d633b726bc Newspaper progressing; menu restructured. 2008-12-06 17:07:03 +00:00
gyboth 23cfbb3f0c Added function name output when compiled with DEBUG. 2008-11-25 13:50:07 +00:00
gyboth c648026e3c Automatic loan repayment. 2008-11-09 09:36:55 +00:00
gyboth e8c1260cf6 Automatic loan repayment. 2008-11-08 12:46:12 +00:00
gyboth 0c61e64b26 Automatic loan repayment. 2008-11-07 20:43:38 +00:00
gyboth ef5a5ff1c2 Automatic loan repayment. 2008-11-07 08:38:55 +00:00
gunnar_g b2220b2c7e Ticket prices as set in the stadium screen are now used in the calculation of the income. When switching teams the ticket price is reset. 2008-10-30 22:05:20 +00:00
gunnar_g beff044999 Ticket prices are saved. They are also moved to team.stadium instead of user. 2008-10-28 15:27:28 +00:00
gunnar_g 83976487f8 implementation of changing ticket_prices. The prices are now filled in from the user_struct 2008-10-28 13:13:45 +00:00
gyboth 566f247ed3 Training camp defaults. 2008-05-03 15:03:30 +00:00
gyboth 13c13850c8 Star player balking. 2008-05-02 13:00:05 +00:00
mrsmola 2afba6549d added window league table 2007-09-24 18:41:57 +00:00
mrsmola dc23309824 Changes in gui trainings-camp to fix the count-bug 2007-02-12 21:22:07 +00:00
mrsmola b0d8d5767c fixed the count-bug in training-camp 2007-02-12 16:07:44 +00:00
mrsmola e770972ff6 included training camp 2007-01-18 17:40:28 +00:00
gyboth 55c6a7546a "2.0.0" 2006-06-04 17:10:08 +00:00
gyboth b57ddda587 "Window sensitivity, mmatches bugfixes." 2006-03-26 14:14:45 +00:00
gyboth 3eeff052a5 "Splash screen improvements." 2006-02-21 10:20:20 +00:00
gyboth 653d236453 "Splash screen first draft." 2006-02-15 12:03: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 534684b3c3 "Progressbar pics." 2005-11-02 21:04:19 +00:00
gyboth 2e9476b04c "Minor changes." 2005-11-01 21:20:24 +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 cc34db8ee3 Live game window style/boost meter improvements. 2005-10-09 10:07:06 +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 4b8e8c2532 "Command line options." 2005-09-29 13:41:16 +00:00
gyboth 283ab3433e "Boost and style change on the fly." 2005-09-28 16:41:32 +00:00
gyboth 6b4a11c8f1 "Player streaks first draft implemented." 2005-09-18 10:02:10 +00:00
gyboth d020d33c51 "Minor fixes." 2005-09-12 21:01:35 +00:00
gyboth 470c5c854e "Lg speed fix." 2005-08-29 08:31:00 +00:00
gyboth 54cc54f5c4 "Minor fixes." 2005-08-28 08:56:36 +00:00
gyboth 8ec2405e2e "Minor fixes." 2005-08-26 12:41:37 +00:00
gyboth ee104567bd "MemMatches export/import." 2005-08-21 19:58:51 +00:00