1 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\
2  * This is GNU Go, a Go program. Contact gnugo@gnu.org, or see       *
3  * http://www.gnu.org/software/gnugo/ for more information.          *
4  *                                                                   *
5  * Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007,   *
6  * 2008 and 2009 by the Free Software Foundation.                    *
7  *                                                                   *
8  * This program is free software; you can redistribute it and/or     *
9  * modify it under the terms of the GNU General Public License as    *
10  * published by the Free Software Foundation - version 3 or          *
11  * (at your option) any later version.                               *
12  *                                                                   *
13  * This program is distributed in the hope that it will be useful,   *
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of    *
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the     *
16  * GNU General Public License in file COPYING for more details.      *
17  *                                                                   *
18  * You should have received a copy of the GNU General Public         *
19  * License along with this program; if not, write to the Free        *
20  * Software Foundation, Inc., 51 Franklin Street, Fifth Floor,       *
21  * Boston, MA 02111, USA.                                            *
22 \* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
23 
24 /*-------------------------------------------------------------------------
25  * interface.h
26  * 	This file contains all headers for interfaces
27  *-------------------------------------------------------------------------*/
28 
29 #ifndef _PLAY_INTERFACE_H
30 #define _PLAY_INTERFACE_H
31 
32 #include "gnugo.h"
33 #include "sgftree.h"
34 
35 void play_ascii(SGFTree *tree, Gameinfo *gameinfo,
36 		char *filename, char *until);
37 void play_gtp(FILE *gtp_input, FILE *gtp_output, FILE *gtp_dump_commands,
38 	      int gtp_initial_orientation);
39 void play_gmp(Gameinfo *gameinfo, int simplified);
40 void play_solo(Gameinfo *gameinfo, int benchmark);
41 void play_replay(SGFTree *tree, int color_to_test);
42 
43 void load_and_analyze_sgf_file(Gameinfo *gameinfo);
44 void load_and_score_sgf_file(SGFTree *tree, Gameinfo *gameinfo,
45 			     const char *scoringmode);
46 
47 
48 #endif
49 
50 
51 /*
52  * Local Variables:
53  * tab-width: 8
54  * c-basic-offset: 2
55  * End:
56  */
57