40 GameInfo gameinfo; |
41 GameInfo gameinfo; |
41 char* port; |
42 char* port; |
42 char* serverhost; /* NULL, if we are about to start a server */ |
43 char* serverhost; /* NULL, if we are about to start a server */ |
43 char* continuepgn; |
44 char* continuepgn; |
44 char* analyzepgn; |
45 char* analyzepgn; |
45 _Bool singlemachine; |
46 bool singlemachine; |
46 _Bool unicode; |
47 bool unicode; |
47 } Settings; |
48 } Settings; |
48 |
49 |
49 #define is_server(settings) !((settings)->serverhost) |
50 #define is_server(settings) !((settings)->serverhost) |
50 |
51 |
51 void game_start(Settings *settings, int opponent); |
52 void game_start(Settings *settings, int opponent); |