Changing license to GPL3 (and bumping version to 1.4.0).
[gnushogi.git] / gnushogi / dspwrappers.h
1 /*
2  * FILE: dspwrappers.h
3  *
4  *     Wrapper functions which call analogous functions in rawdsp.c
5  *     or cursesdsp.c depending on the interface.
6  *
7  * ----------------------------------------------------------------------
8  *
9  * Copyright (c) 2012 Free Software Foundation
10  *
11  * GNU SHOGI is based on GNU CHESS
12  *
13  * This file is part of GNU SHOGI.
14  *
15  * GNU Shogi is free software; you can redistribute it and/or modify it
16  * under the terms of the GNU General Public License as published by the
17  * Free Software Foundation; either version 3 of the License,
18  * or (at your option) any later version.
19  *
20  * GNU Shogi is distributed in the hope that it will be useful, but WITHOUT
21  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
22  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
23  * for more details.
24  *
25  * You should have received a copy of the GNU General Public License along
26  * with GNU Shogi; see the file COPYING. If not, see
27  * <http://www.gnu.org/licenses/>.
28  * ----------------------------------------------------------------------
29  *
30  */
31
32 #ifndef _DSPWRAPPERS_H_
33 #define _DSPWRAPPERS_H_
34
35 extern void ChangeAlphaWindow(void);
36 extern void ChangeBetaWindow(void);
37 extern void ChangeHashDepth(void);
38 extern void ChangeSearchDepth(void);
39 extern void ChangeXwindow(void);
40 extern void ClearScreen(void);
41 extern void DoDebug(void);
42 extern void DoTable(short table[NO_SQUARES]);
43 extern void EditBoard(void);
44 extern void ExitShogi(void);
45 extern void GiveHint(void);
46 extern void Initialize(void);
47 extern void OutputMove(void);
48 extern void SetContempt(void);
49 extern void SearchStartStuff(short side);
50 extern void SelectLevel(char *sx);
51 extern void ShowCurrentMove(short pnt, short f, short t);
52 extern void ShowDepth(char ch);
53 extern void ShowGameType(void);
54 extern void ShowLine(unsigned short *bstline);
55 extern void ShowMessage(char *s);
56 extern void ShowPatternCount(short side, short n);
57 extern void ShowPostnValue(short sq);
58 extern void ShowPostnValues(void);
59 extern void ShowResponseTime(void);
60 extern void ShowResults(short score, unsigned short *bstline, char ch);
61 extern void ShowSidetoMove(void);
62 extern void ShowStage(void);
63 extern void TerminateSearch(int sig);
64 extern void UpdateDisplay(short f, short t, short redraw, short isspec);
65 extern void help(void);
66
67 #endif /* _DSPWRAPPERS_H_ */