X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=gnushogi%2Frawdsp.h;h=44ec2d8e987657a7519b8a00c7bf8095c698d0e9;hb=2afa5512342f9662cb5d8f94ed060dbd69a74c3d;hp=268f63eca51cb8b1c6aa76b54407ef00e271e721;hpb=8ae7e7d1b257ef36d8a9fd1cd88807954ef10764;p=gnushogi.git diff --git a/gnushogi/rawdsp.h b/gnushogi/rawdsp.h index 268f63e..44ec2d8 100644 --- a/gnushogi/rawdsp.h +++ b/gnushogi/rawdsp.h @@ -16,8 +16,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 @@ -25,8 +25,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 + * . * ---------------------------------------------------------------------- * */ @@ -34,6 +34,8 @@ #ifndef _RAWDSP_H_ #define _RAWDSP_H_ +#include "gnushogi.h" + /* The following are common to rawdsp.h and cursesdsp.h */ void Raw_ChangeAlphaWindow(void); @@ -46,9 +48,11 @@ void Raw_Die(int sig); void Raw_DoDebug(void); void Raw_DoTable(short table[NO_SQUARES]); void Raw_EditBoard(void); +void Raw_ElapsedTime(ElapsedTime_mode iop); void Raw_ExitShogi(void); void Raw_GiveHint(void); void Raw_Initialize(void); +void Raw_ShowNodeCnt(long NodeCnt); void Raw_OutputMove(void); void Raw_SearchStartStuff(short side); void Raw_SelectLevel(char *sx); @@ -58,9 +62,15 @@ void Raw_ShowDepth(char ch); void Raw_ShowGameType(void); void Raw_ShowLine(unsigned short *bstline); void Raw_ShowMessage(char *s); +void Raw_AlwaysShowMessage(const char *format, ...); +void Raw_Printf(const char *format, ...); +void Raw_doRequestInputString(const char* fmt, char* buffer); +int Raw_GetString(char* sx); +void Raw_SetupBoard(void); void Raw_ShowPatternCount(short side, short n); void Raw_ShowPostnValue(short sq); void Raw_ShowPostnValues(void); +void Raw_ShowPrompt(void); void Raw_ShowResponseTime(void); void Raw_ShowResults(short score, unsigned short *bstline, char ch); void Raw_ShowSidetoMove(void); @@ -69,11 +79,5 @@ void Raw_TerminateSearch(int sig); void Raw_UpdateDisplay(short f, short t, short redraw, short isspec); void Raw_help(void); - -/* The following are only found in rawdsp.h: */ - -void PromptForMove(void); -void SetupBoard(void); - #endif /* _RAWDSP_H_ */