4 * Wrapper functions which call analogous functions in rawdsp.c
5 * or cursesdsp.c depending on the interface.
7 * ----------------------------------------------------------------------
8 * Copyright (c) 1993, 1994, 1995 Matthias Mutz
9 * Copyright (c) 1999 Michael Vanier and the Free Software Foundation
11 * GNU SHOGI is based on GNU CHESS
13 * Copyright (c) 1988, 1989, 1990 John Stanback
14 * Copyright (c) 1992 Free Software Foundation
16 * This file is part of GNU SHOGI.
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.
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
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 * ----------------------------------------------------------------------
35 #ifndef _DSPWRAPPERS_H_
36 #define _DSPWRAPPERS_H_
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 int GetString(char* sx);
64 extern void ShowPatternCount(short side, short n);
65 extern void ShowPostnValue(short sq);
66 extern void ShowPostnValues(void);
67 extern void ShowPrompt(void);
68 extern void ShowResponseTime(void);
69 extern void ShowResults(short score, unsigned short *bstline, char ch);
70 extern void ShowSidetoMove(void);
71 extern void ShowStage(void);
72 extern void TerminateSearch(int sig);
73 extern void UpdateDisplay(short f, short t, short redraw, short isspec);
74 extern void help(void);
76 #endif /* _DSPWRAPPERS_H_ */