| 68:b34de5ce7d0e | 69:c8f2c280cff7 |
|---|---|
| 34 #include "chess/rules.h" | 34 #include "chess/rules.h" |
| 35 | 35 |
| 36 #ifndef TERMINAL_CHESS_H | 36 #ifndef TERMINAL_CHESS_H |
| 37 #define TERMINAL_CHESS_H | 37 #define TERMINAL_CHESS_H |
| 38 | 38 |
| 39 #define PROGRAM_VERSION "0.9-r68" | 39 #define PROGRAM_VERSION "0.9-r69" |
| 40 | 40 |
| 41 #ifdef __cplusplus | 41 #ifdef __cplusplus |
| 42 extern "C" { | 42 extern "C" { |
| 43 #endif | 43 #endif |
| 44 | 44 |
| 47 char* port; | 47 char* port; |
| 48 char* serverhost; /* NULL, if we are about to start a server */ | 48 char* serverhost; /* NULL, if we are about to start a server */ |
| 49 char* continuepgn; | 49 char* continuepgn; |
| 50 char* analyzepgn; | 50 char* analyzepgn; |
| 51 _Bool singlemachine; | 51 _Bool singlemachine; |
| 52 _Bool unicode; | |
| 52 } Settings; | 53 } Settings; |
| 53 | 54 |
| 54 #define is_server(settings) !((settings)->serverhost) | 55 #define is_server(settings) !((settings)->serverhost) |
| 55 | 56 |
| 56 void dump_gameinfo(GameInfo *gameinfo); | 57 void dump_gameinfo(GameInfo *gameinfo); |