Tom Stellard
013df8dd93
Add json interface
...
This adds an initial version of a json interface to bygfoot. This
is still in development so the interface may change in the future. This
interface can be used for writing tests or for communication between a
client and server.
To use the interface, you can pass a json file with commands to bygfoot
using the --json option.
2021-03-05 23:38:28 -05: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
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
Tom Stellard
3ca25bc3df
Make VERS macro overrideable on the command line
...
This will allow custom version strings when building.
2020-12-24 10:43:39 -08:00
Tom Stellard
996bccc739
Implement promotion and relegation rules for reserve teams
...
This adds some new rules for promoting and relegating reserve
teams:
+ Reserve teams will not be promoted into a league that contains its
first team or a higher-level reserve team.
+ If a first team or higher-level reserve team is relegated to a league
with a lower reserve team, then that reserve team will also be relegated.
In order to enable these rules, you must add the
<reserve_promotion_rules>default</reserve_promotion_rules> tag to your
contry xml file, and also define reserve teams in your league/team_defs
file using the <first_team> and <reserve_level> tags.
2020-12-24 10:43:39 -08:00
gunnar_g
974b4b357e
Added G_MODULE_EXPORT to all callbacks methods. Otherwise they are not useable on windows
2011-08-29 11:17:53 +00:00
gyboth
2e123bbd1c
Mac build changes.
2009-04-30 08:38:36 +00:00
gyboth
078b70a1ea
Added debug logging.
2009-04-29 17:18:54 +00:00
gyboth
70d42221ca
Constants editing.
2009-03-09 20:20:26 +00:00
gyboth
78fc4a8af7
Live game foul probabilities reworked.
2009-03-08 11:34:30 +00:00
gyboth
3b9f460047
German news, news improvements.
2008-12-18 12:07:59 +00:00
gyboth
9b1534b87c
Newspaper progressing.
2008-12-16 11:27:44 +00:00
gyboth
d633b726bc
Newspaper progressing; menu restructured.
2008-12-06 17:07:03 +00:00
gyboth
14b1a6bcf8
News, first steps.
2008-11-27 13:24:18 +00:00
gyboth
23cfbb3f0c
Added function name output when compiled with DEBUG.
2008-11-25 13:50:07 +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
gyboth
566f247ed3
Training camp defaults.
2008-05-03 15:03:30 +00:00
mrsmola
5c078c8335
changed year
2008-03-02 15:14:44 +00:00
mrsmola
f2cd94edac
added window league table
2007-09-24 19:12:27 +00:00
mrsmola
2cb882a8e8
changed version to 2.2.1
2007-08-25 14:40:41 +00:00
mrsmola
599609cc8f
changed version to 2.2.0
2007-05-18 14:49:08 +00:00
mrsmola
99ff0ea1a5
Changed version number to 2.1.2
2007-03-07 11:09:05 +00:00
mrsmola
ad90423aa6
added a debug-writer for debugging to console
2007-02-18 10:17:16 +00:00
mrsmola
ac354ccdf7
changed version to 2.1.1
2007-02-15 17:48:03 +00:00
mrsmola
c17425bf02
included version number and year
2007-01-18 17:20:40 +00:00
gyboth
8b539e28fe
"Def system improvements."
2006-06-30 13:24:50 +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
5de905d993
Season end team change improvement.
2006-05-25 19:54:01 +00:00
gyboth
c2626e1ad7
Minor fixes.
2006-04-08 19:25:48 +00:00
gyboth
b57ddda587
"Window sensitivity, mmatches bugfixes."
2006-03-26 14:14:45 +00:00
gyboth
653d236453
"Splash screen first draft."
2006-02-15 12:03:48 +00:00
gyboth
e9abbc09c1
"Crash fixed."
2006-01-07 20:01:03 +00:00
gyboth
617b7a2b6d
"Minor fixes."
2005-12-21 16:02:49 +00:00
gyboth
9cabaa9eb3
"Release 1.9.3"
2005-12-14 14:05:59 +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
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
d4e55dc684
"Release 1.9.2."
2005-10-16 09:23:04 +00:00
gyboth
53131dd2e9
"Switched most GStrings to gchar."
2005-10-09 09:35:44 +00:00
gyboth
0df6829fe0
"Minor bugfixes."
2005-10-01 08:12:06 +00:00
gyboth
08d169daf3
"Player skill system changed."
2005-09-14 21:16:22 +00:00
gyboth
81319dedc8
"Minor fixes."
2005-09-09 19:09:33 +00:00
gyboth
85bc6b9ee9
"Memmatches."
2005-08-20 19:39:36 +00:00
gyboth
7e4f427be2
"Prom_rel changes."
2005-08-14 19:03:11 +00:00
gyboth
51029f81f4
"Minor fixes."
2005-07-11 07:14:18 +00:00