| 29 |
29 |
| 30 #define PROGRAM_VERSION "1.0 alpha" |
30 #define PROGRAM_VERSION "1.0 alpha" |
| 31 |
31 |
| 32 #include "chess/rules.h" |
32 #include "chess/rules.h" |
| 33 #include "chess/pgn.h" |
33 #include "chess/pgn.h" |
| 34 #include "chess/fen.h" |
|
| 35 #include "input.h" |
34 #include "input.h" |
| 36 #include "network.h" |
35 #include "network.h" |
| 37 #include "colors.h" |
36 #include "colors.h" |
| 38 #include <string.h> |
37 #include <string.h> |
| 39 #include <time.h> |
38 #include <time.h> |
| 40 #include <getopt.h> |
|
| 41 #include <locale.h> |
39 #include <locale.h> |
| 42 #include <sys/stat.h> |
40 #include <sys/stat.h> |
| 43 #include <signal.h> |
41 #include <signal.h> |
| 44 #include <errno.h> |
42 #include <errno.h> |
| 45 #include <unistd.h> |
43 #include <unistd.h> |
| |
44 #include <getopt.h> |
| 46 |
45 |
| 47 typedef struct { |
46 typedef struct { |
| 48 /** |
47 /** |
| 49 * Server host address. |
48 * Server host address. |
| 50 * TCP: server address or \c NULL when we are the server |
49 * TCP: server address or \c NULL when we are the server |