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