Update copyright info for 2008 (minishogi patches) and recent developments.
[gnushogi.git] / gnushogi / cursesdsp.h
1 /*
2  * FILE: cursesdsp.h
3  *
4  *     Curses interface for GNU Shogi.
5  *
6  * ----------------------------------------------------------------------
7  * Copyright (c) 1993, 1994, 1995 Matthias Mutz
8  * Copyright (c) 1999 Michael Vanier and the Free Software Foundation
9  * Copyright (c) 2008, 2013, 2014 Yann Dirson and the Free Software Foundation
10  *
11  * GNU SHOGI is based on GNU CHESS
12  *
13  * Copyright (c) 1988, 1989, 1990 John Stanback
14  * Copyright (c) 1992 Free Software Foundation
15  *
16  * This file is part of GNU SHOGI.
17  *
18  * GNU Shogi is free software; you can redistribute it and/or modify it
19  * under the terms of the GNU General Public License as published by the
20  * Free Software Foundation; either version 3 of the License,
21  * or (at your option) any later version.
22  *
23  * GNU Shogi is distributed in the hope that it will be useful, but WITHOUT
24  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
25  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
26  * for more details.
27  *
28  * You should have received a copy of the GNU General Public License along
29  * with GNU Shogi; see the file COPYING. If not, see
30  * <http://www.gnu.org/licenses/>.
31  * ----------------------------------------------------------------------
32  *
33  */
34
35 #ifndef _CURSESDSP_H_
36 #define _CURSESDSP_H_
37
38 #include "gnushogi.h"
39
40 /* The following are common to rawdsp.h and cursesdsp.h */
41
42 void Curses_ChangeAlphaWindow(void);
43 void Curses_ChangeBetaWindow(void);
44 void Curses_ChangeHashDepth(void);
45 void Curses_ChangeSearchDepth(void);
46 void Curses_ChangeXwindow(void);
47 void Curses_ClearScreen(void);
48 void Curses_Die(int sig);
49 void Curses_DoDebug(void);
50 void Curses_DoTable(short table[NO_SQUARES]);
51 void Curses_EditBoard(void);
52 void Curses_ExitShogi(void);
53 void Curses_GiveHint(void);
54 void Curses_Initialize(void);
55 void Curses_ShowNodeCnt(long NodeCnt);
56 void Curses_OutputMove(void);
57 void Curses_PollForInput(void);
58 void Curses_SearchStartStuff(short side);
59 void Curses_SelectLevel(char *sx);
60 void Curses_SetContempt(void);
61 void Curses_ShowCurrentMove(short pnt, short f, short t);
62 void Curses_ShowDepth(char ch);
63 void Curses_ShowGameType(void);
64 void Curses_ShowLine(unsigned short *bstline);
65 void Curses_ShowMessage(char *s);
66 void Curses_AlwaysShowMessage(const char *format, va_list ap);
67 void Curses_Printf(const char *format, va_list ap);
68 void Curses_doRequestInputString(const char* fmt, char* buffer);
69 int  Curses_GetString(char* sx);
70 void Curses_SetupBoard(void);
71 void Curses_ShowPatternCount(short side, short n);
72 void Curses_ShowPostnValue(short sq);
73 void Curses_ShowPostnValues(void);
74 void Curses_ShowPrompt(void);
75 void Curses_ShowResponseTime(void);
76 void Curses_ShowResults(short score, unsigned short *bstline, char ch);
77 void Curses_ShowSidetoMove(void);
78 void Curses_ShowStage(void);
79 void Curses_TerminateSearch(int sig);
80 void Curses_UpdateClocks(void);
81 void Curses_UpdateDisplay(short f, short t, short redraw, short isspec);
82 void Curses_help(void);
83
84 #endif /* _CURSESDSP_H_ */