Prepare v1.4.2.
[gnushogi.git] / gnushogi / rawdsp.h
blob952b8c5f80a56930702b01b32a17d62d4a0f2dd1
1 /*
2 * FILE: rawdsp.h
4 * Raw text interface for GNU Shogi.
6 * ----------------------------------------------------------------------
7 * Copyright (c) 1993, 1994, 1995 Matthias Mutz
8 * Copyright (c) 1999 Michael Vanier and the Free Software Foundation
9 * Copyright (c) 2008, 2013, 2014 Yann Dirson 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
26 * for more details.
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 _RAWDSP_H_
36 #define _RAWDSP_H_
38 #include "gnushogi.h"
40 /* The following are common to rawdsp.h and cursesdsp.h */
42 void Raw_ChangeAlphaWindow(void);
43 void Raw_ChangeBetaWindow(void);
44 void Raw_ChangeHashDepth(void);
45 void Raw_ChangeSearchDepth(void);
46 void Raw_ChangeXwindow(void);
47 void Raw_ClearScreen(void);
48 void Raw_Die(int sig);
49 void Raw_DoDebug(void);
50 void Raw_DoTable(short table[NO_SQUARES]);
51 void Raw_EditBoard(void);
52 void Raw_ExitShogi(void);
53 void Raw_GiveHint(void);
54 void Raw_Initialize(void);
55 void Raw_ShowNodeCnt(long NodeCnt);
56 void Raw_OutputMove(void);
57 void Raw_PollForInput(void);
58 void Raw_SearchStartStuff(short side);
59 void Raw_SelectLevel(char *sx);
60 void Raw_SetContempt(void);
61 void Raw_ShowCurrentMove(short pnt, short f, short t);
62 void Raw_ShowDepth(char ch);
63 void Raw_ShowGameType(void);
64 void Raw_ShowLine(unsigned short *bstline);
65 void Raw_ShowMessage(char *s);
66 void Raw_AlwaysShowMessage(const char *format, va_list ap);
67 void Raw_Printf(const char *format, va_list ap);
68 void Raw_doRequestInputString(const char* fmt, char* buffer);
69 int Raw_GetString(char* sx);
70 void Raw_SetupBoard(void);
71 void Raw_ShowPatternCount(short side, short n);
72 void Raw_ShowPostnValue(short sq);
73 void Raw_ShowPostnValues(void);
74 void Raw_ShowPrompt(void);
75 void Raw_ShowResponseTime(void);
76 void Raw_ShowResults(short score, unsigned short *bstline, char ch);
77 void Raw_ShowSidetoMove(void);
78 void Raw_ShowStage(void);
79 void Raw_TerminateSearch(int sig);
80 void Raw_UpdateClocks(void);
81 void Raw_UpdateDisplay(short f, short t, short redraw, short isspec);
82 void Raw_help(void);
84 #endif /* _RAWDSP_H_ */