X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=gnushogi%2Fdspwrappers.h;h=bcb61897385d2f17889bbee5fa0069e45bcfe8e7;hb=68c554411d120d163045f77a80ad9009f7a73841;hp=5fa3904810aa4b61a92774ba5172accad432699c;hpb=8ae7e7d1b257ef36d8a9fd1cd88807954ef10764;p=gnushogi.git diff --git a/gnushogi/dspwrappers.h b/gnushogi/dspwrappers.h index 5fa3904..bcb6189 100644 --- a/gnushogi/dspwrappers.h +++ b/gnushogi/dspwrappers.h @@ -7,6 +7,7 @@ * ---------------------------------------------------------------------- * Copyright (c) 1993, 1994, 1995 Matthias Mutz * Copyright (c) 1999 Michael Vanier and the Free Software Foundation + * Copyright (c) 2008, 2013, 2014 Yann Dirson and the Free Software Foundation * * GNU SHOGI is based on GNU CHESS * @@ -17,8 +18,8 @@ * * GNU Shogi is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the - * Free Software Foundation; either version 1, or (at your option) any - * later version. + * Free Software Foundation; either version 3 of the License, + * or (at your option) any later version. * * GNU Shogi is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or @@ -26,8 +27,8 @@ * for more details. * * You should have received a copy of the GNU General Public License along - * with GNU Shogi; see the file COPYING. If not, write to the Free - * Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. + * with GNU Shogi; see the file COPYING. If not, see + * . * ---------------------------------------------------------------------- * */ @@ -35,6 +36,8 @@ #ifndef _DSPWRAPPERS_H_ #define _DSPWRAPPERS_H_ +#include + extern void ChangeAlphaWindow(void); extern void ChangeBetaWindow(void); extern void ChangeHashDepth(void); @@ -47,7 +50,9 @@ extern void EditBoard(void); extern void ExitShogi(void); extern void GiveHint(void); extern void Initialize(void); +extern void ShowNodeCnt(long NodeCnt); extern void OutputMove(void); +extern void PollForInput(void); extern void SetContempt(void); extern void SearchStartStuff(short side); extern void SelectLevel(char *sx); @@ -56,14 +61,21 @@ extern void ShowDepth(char ch); extern void ShowGameType(void); extern void ShowLine(unsigned short *bstline); extern void ShowMessage(char *s); +extern void AlwaysShowMessage(const char *format, ...); +extern void Printf(const char *format, ...); +extern void RequestInputString(char* buffer, unsigned bufsize); +extern int GetString(char* sx); +extern void SetupBoard(void); extern void ShowPatternCount(short side, short n); extern void ShowPostnValue(short sq); extern void ShowPostnValues(void); +extern void ShowPrompt(void); extern void ShowResponseTime(void); extern void ShowResults(short score, unsigned short *bstline, char ch); extern void ShowSidetoMove(void); extern void ShowStage(void); extern void TerminateSearch(int sig); +extern void UpdateClocks(void); extern void UpdateDisplay(short f, short t, short redraw, short isspec); extern void help(void);