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