Commit Graph

3 Commits

Author SHA1 Message Date
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 fdd8922aba Factor some of the code for starting a game out of the UI 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