Updating to version 1.3, release made by Mike Vanier (mvanier@bbb.caltech.edu).
[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  *
10  * GNU SHOGI is based on GNU CHESS
11  *
12  * Copyright (c) 1988, 1989, 1990 John Stanback
13  * Copyright (c) 1992 Free Software Foundation
14  *
15  * This file is part of GNU SHOGI.
16  *
17  * GNU Shogi is free software; you can redistribute it and/or modify it
18  * under the terms of the GNU General Public License as published by the
19  * Free Software Foundation; either version 1, or (at your option) any
20  * later version.
21  *
22  * GNU Shogi is distributed in the hope that it will be useful, but WITHOUT
23  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
24  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
25  * for more details.
26  *
27  * You should have received a copy of the GNU General Public License along
28  * with GNU Shogi; see the file COPYING.  If not, write to the Free
29  * Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
30  * ----------------------------------------------------------------------
31  *
32  */
33
34 #ifndef _CURSESDSP_H_
35 #define _CURSESDSP_H_
36
37 /* The following are common to rawdsp.h and cursesdsp.h */
38
39 void Curses_ChangeAlphaWindow(void);
40 void Curses_ChangeBetaWindow(void);
41 void Curses_ChangeHashDepth(void);
42 void Curses_ChangeSearchDepth(void);
43 void Curses_ChangeXwindow(void);
44 void Curses_ClearScreen(void);
45 void Curses_Die(int sig);
46 void Curses_DoDebug(void);
47 void Curses_DoTable(short table[NO_SQUARES]);
48 void Curses_EditBoard(void);
49 void Curses_ExitShogi(void);
50 void Curses_GiveHint(void);
51 void Curses_Initialize(void);
52 void Curses_OutputMove(void);
53 void Curses_SearchStartStuff(short side);
54 void Curses_SelectLevel(char *sx);
55 void Curses_SetContempt(void);
56 void Curses_ShowCurrentMove(short pnt, short f, short t);
57 void Curses_ShowDepth(char ch);
58 void Curses_ShowGameType(void);
59 void Curses_ShowLine(unsigned short *bstline);
60 void Curses_ShowMessage(char *s);
61 void Curses_ShowPatternCount(short side, short n);
62 void Curses_ShowPostnValue(short sq);
63 void Curses_ShowPostnValues(void);
64 void Curses_ShowResponseTime(void);
65 void Curses_ShowResults(short score, unsigned short *bstline, char ch);
66 void Curses_ShowSidetoMove(void);
67 void Curses_ShowStage(void);
68 void Curses_TerminateSearch(int sig);
69 void Curses_UpdateDisplay(short f, short t, short redraw, short isspec);
70 void Curses_help(void);
71
72
73 /* The following are only found in cursesdsp.h: */
74
75 void ClearEoln(void);
76 void ClearMessage(void);
77 void DrawPiece(short sq);
78 void ShowHeader(void);
79 void ShowNodeCnt(long NodeCnt);
80 void ShowPlayers(void);
81 void ShowPrompt(void);
82 void ShowScore(short score);
83 void UpdateClocks(void);
84 void gotoXY(short x, short y);
85
86 #endif /* _CURSESDSP_H_ */
87