Commit | Line | Data |
---|---|---|
7eeb782e AT |
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 | ||
3ebb0002 AT |
32 | #include <stdbool.h> |
33 | ||
7eeb782e AT |
34 | #include "gnugo.h" |
35 | #include "sgftree.h" | |
36 | ||
c150f57c AT |
37 | void play_ascii(SGFTree* tree, Gameinfo* gameinfo, |
38 | char* filename, char* until); | |
3ebb0002 AT |
39 | void play_ansi(SGFTree* tree, Gameinfo* gameinfo, |
40 | char* filename, char* until, bool strict); | |
c150f57c AT |
41 | void play_gtp(FILE* gtp_input, FILE* gtp_output, FILE* gtp_dump_commands, |
42 | int gtp_initial_orientation); | |
43 | void play_gmp(Gameinfo* gameinfo, int simplified); | |
44 | void play_solo(Gameinfo* gameinfo, int benchmark); | |
45 | void play_replay(SGFTree* tree, int color_to_test); | |
46 | ||
47 | void load_and_analyze_sgf_file(Gameinfo* gameinfo); | |
48 | void load_and_score_sgf_file(SGFTree* tree, Gameinfo* gameinfo, | |
49 | const char* scoringmode); | |
7eeb782e AT |
50 | |
51 | #endif | |
52 | ||
7eeb782e AT |
53 | /* |
54 | * Local Variables: | |
c150f57c AT |
55 | * tab-width: 4 |
56 | * c-basic-offset: 4 | |
7eeb782e AT |
57 | * End: |
58 | */ |