Update copyright info for 2008 (minishogi patches) and recent developments.
[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  * Copyright (c) 1993, 1994, 1995 Matthias Mutz
9  * Copyright (c) 1999 Michael Vanier and the Free Software Foundation
10  * Copyright (c) 2008, 2013, 2014 Yann Dirson and the Free Software Foundation
11  *
12  * GNU SHOGI is based on GNU CHESS
13  *
14  * Copyright (c) 1988, 1989, 1990 John Stanback
15  * Copyright (c) 1992 Free Software Foundation
16  *
17  * This file is part of GNU SHOGI.
18  *
19  * GNU Shogi is free software; you can redistribute it and/or modify it
20  * under the terms of the GNU General Public License as published by the
21  * Free Software Foundation; either version 3 of the License,
22  * or (at your option) any later version.
23  *
24  * GNU Shogi is distributed in the hope that it will be useful, but WITHOUT
25  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
26  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
27  * for more details.
28  *
29  * You should have received a copy of the GNU General Public License along
30  * with GNU Shogi; see the file COPYING. If not, see
31  * <http://www.gnu.org/licenses/>.
32  * ----------------------------------------------------------------------
33  *
34  */
35
36 #ifndef _DSPWRAPPERS_H_
37 #define _DSPWRAPPERS_H_
38
39 #include <stdarg.h>
40
41 extern void ChangeAlphaWindow(void);
42 extern void ChangeBetaWindow(void);
43 extern void ChangeHashDepth(void);
44 extern void ChangeSearchDepth(void);
45 extern void ChangeXwindow(void);
46 extern void ClearScreen(void);
47 extern void DoDebug(void);
48 extern void DoTable(short table[NO_SQUARES]);
49 extern void EditBoard(void);
50 extern void ExitShogi(void);
51 extern void GiveHint(void);
52 extern void Initialize(void);
53 extern void ShowNodeCnt(long NodeCnt);
54 extern void OutputMove(void);
55 extern void PollForInput(void);
56 extern void SetContempt(void);
57 extern void SearchStartStuff(short side);
58 extern void SelectLevel(char *sx);
59 extern void ShowCurrentMove(short pnt, short f, short t);
60 extern void ShowDepth(char ch);
61 extern void ShowGameType(void);
62 extern void ShowLine(unsigned short *bstline);
63 extern void ShowMessage(char *s);
64 extern void AlwaysShowMessage(const char *format, ...);
65 extern void Printf(const char *format, ...);
66 extern void RequestInputString(char* buffer, unsigned bufsize);
67 extern int  GetString(char* sx);
68 extern void SetupBoard(void);
69 extern void ShowPatternCount(short side, short n);
70 extern void ShowPostnValue(short sq);
71 extern void ShowPostnValues(void);
72 extern void ShowPrompt(void);
73 extern void ShowResponseTime(void);
74 extern void ShowResults(short score, unsigned short *bstline, char ch);
75 extern void ShowSidetoMove(void);
76 extern void ShowStage(void);
77 extern void TerminateSearch(int sig);
78 extern void UpdateClocks(void);
79 extern void UpdateDisplay(short f, short t, short redraw, short isspec);
80 extern void help(void);
81
82 #endif /* _DSPWRAPPERS_H_ */