Changing license to GPL3 (and bumping version to 1.4.0).
[gnushogi.git] / gnushogi / cursesdsp.h
blob36e128c63f3e233ef21c34d2f37546533379526c
1 /*
2 * FILE: cursesdsp.h
4 * Curses interface for GNU Shogi.
6 * ----------------------------------------------------------------------
8 * Copyright (c) 2012 Free Software Foundation
10 * GNU SHOGI is based on GNU CHESS
12 * This file is part of GNU SHOGI.
14 * GNU Shogi is free software; you can redistribute it and/or modify it
15 * under the terms of the GNU General Public License as published by the
16 * Free Software Foundation; either version 3 of the License,
17 * or (at your option) any later version.
19 * GNU Shogi is distributed in the hope that it will be useful, but WITHOUT
20 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
21 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
22 * for more details.
24 * You should have received a copy of the GNU General Public License along
25 * with GNU Shogi; see the file COPYING. If not, see
26 * <http://www.gnu.org/licenses/>.
27 * ----------------------------------------------------------------------
31 #ifndef _CURSESDSP_H_
32 #define _CURSESDSP_H_
34 /* The following are common to rawdsp.h and cursesdsp.h */
36 void Curses_ChangeAlphaWindow(void);
37 void Curses_ChangeBetaWindow(void);
38 void Curses_ChangeHashDepth(void);
39 void Curses_ChangeSearchDepth(void);
40 void Curses_ChangeXwindow(void);
41 void Curses_ClearScreen(void);
42 void Curses_Die(int sig);
43 void Curses_DoDebug(void);
44 void Curses_DoTable(short table[NO_SQUARES]);
45 void Curses_EditBoard(void);
46 void Curses_ExitShogi(void);
47 void Curses_GiveHint(void);
48 void Curses_Initialize(void);
49 void Curses_OutputMove(void);
50 void Curses_SearchStartStuff(short side);
51 void Curses_SelectLevel(char *sx);
52 void Curses_SetContempt(void);
53 void Curses_ShowCurrentMove(short pnt, short f, short t);
54 void Curses_ShowDepth(char ch);
55 void Curses_ShowGameType(void);
56 void Curses_ShowLine(unsigned short *bstline);
57 void Curses_ShowMessage(char *s);
58 void Curses_ShowPatternCount(short side, short n);
59 void Curses_ShowPostnValue(short sq);
60 void Curses_ShowPostnValues(void);
61 void Curses_ShowResponseTime(void);
62 void Curses_ShowResults(short score, unsigned short *bstline, char ch);
63 void Curses_ShowSidetoMove(void);
64 void Curses_ShowStage(void);
65 void Curses_TerminateSearch(int sig);
66 void Curses_UpdateDisplay(short f, short t, short redraw, short isspec);
67 void Curses_help(void);
70 /* The following are only found in cursesdsp.h: */
72 void ClearEoln(void);
73 void ClearMessage(void);
74 void DrawPiece(short sq);
75 void ShowHeader(void);
76 void ShowNodeCnt(long NodeCnt);
77 void ShowPlayers(void);
78 void ShowPrompt(void);
79 void ShowScore(short score);
80 void UpdateClocks(void);
81 void gotoXY(short x, short y);
83 #endif /* _CURSESDSP_H_ */