1.1 --- a/src/terminal-chess.h Wed Mar 19 10:08:25 2014 +0100 1.2 +++ b/src/terminal-chess.h Wed Mar 19 15:36:54 2014 +0100 1.3 @@ -29,7 +29,7 @@ 1.4 1.5 #include <stdlib.h> 1.6 #include <stdio.h> 1.7 -#include <getopt.h> 1.8 +#include <ncurses.h> 1.9 #include "network.h" 1.10 1.11 #ifndef TERMINAL_CHESS_H 1.12 @@ -38,9 +38,9 @@ 1.13 #ifdef __cplusplus 1.14 extern "C" { 1.15 #endif 1.16 - 1.17 -#define WHITE 0 1.18 -#define BLACK 1 1.19 + 1.20 +WINDOW* tchess_window; 1.21 + 1.22 #define TIME_MAX UINT16_MAX 1.23 1.24 typedef struct {