Changing license to GPL3 (and bumping version to 1.4.0).
[gnushogi.git] / gnushogi / rawdsp.h
1 /*
2  * FILE: rawdsp.h
3  *
4  *     Raw text interface for GNU Shogi.
5  *
6  * ----------------------------------------------------------------------
7  *
8  * Copyright (c) 2012 Free Software Foundation
9  *
10  * GNU SHOGI is based on GNU CHESS
11  *
12  * This file is part of GNU SHOGI.
13  *
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.
18  *
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.
23  *
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  * ----------------------------------------------------------------------
28  *
29  */
30
31 #ifndef _RAWDSP_H_
32 #define _RAWDSP_H_
33
34 /* The following are common to rawdsp.h and cursesdsp.h */
35
36 void Raw_ChangeAlphaWindow(void);
37 void Raw_ChangeBetaWindow(void);
38 void Raw_ChangeHashDepth(void);
39 void Raw_ChangeSearchDepth(void);
40 void Raw_ChangeXwindow(void);
41 void Raw_ClearScreen(void);
42 void Raw_Die(int sig);
43 void Raw_DoDebug(void);
44 void Raw_DoTable(short table[NO_SQUARES]);
45 void Raw_EditBoard(void);
46 void Raw_ExitShogi(void);
47 void Raw_GiveHint(void);
48 void Raw_Initialize(void);
49 void Raw_OutputMove(void);
50 void Raw_SearchStartStuff(short side);
51 void Raw_SelectLevel(char *sx);
52 void Raw_SetContempt(void);
53 void Raw_ShowCurrentMove(short pnt, short f, short t);
54 void Raw_ShowDepth(char ch);
55 void Raw_ShowGameType(void);
56 void Raw_ShowLine(unsigned short *bstline);
57 void Raw_ShowMessage(char *s);
58 void Raw_ShowPatternCount(short side, short n);
59 void Raw_ShowPostnValue(short sq);
60 void Raw_ShowPostnValues(void);
61 void Raw_ShowResponseTime(void);
62 void Raw_ShowResults(short score, unsigned short *bstline, char ch);
63 void Raw_ShowSidetoMove(void);
64 void Raw_ShowStage(void);
65 void Raw_TerminateSearch(int sig);
66 void Raw_UpdateDisplay(short f, short t, short redraw, short isspec);
67 void Raw_help(void);
68
69
70 /* The following are only found in rawdsp.h: */
71
72 void PromptForMove(void);
73 void SetupBoard(void);
74
75 #endif /* _RAWDSP_H_ */
76