X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=gnushogi%2Fcursesdsp.h;h=a936254d85a1ee41b1a3a427b33906eca4c8bf26;hb=e6d0e922c94c9999f1f8a803af008e0a482bedf0;hp=b7c36434983660ddc57bf5f95b79274481cf70a9;hpb=f30d0521d5d0847df94b8785d350281cb54fae1e;p=gnushogi.git diff --git a/gnushogi/cursesdsp.h b/gnushogi/cursesdsp.h index b7c3643..a936254 100644 --- a/gnushogi/cursesdsp.h +++ b/gnushogi/cursesdsp.h @@ -6,6 +6,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 * @@ -34,6 +35,8 @@ #ifndef _CURSESDSP_H_ #define _CURSESDSP_H_ +#include "gnushogi.h" + /* The following are common to rawdsp.h and cursesdsp.h */ void Curses_ChangeAlphaWindow(void); @@ -51,6 +54,7 @@ void Curses_GiveHint(void); void Curses_Initialize(void); void Curses_ShowNodeCnt(long NodeCnt); void Curses_OutputMove(void); +void Curses_PollForInput(void); void Curses_SearchStartStuff(short side); void Curses_SelectLevel(char *sx); void Curses_SetContempt(void); @@ -59,10 +63,11 @@ void Curses_ShowDepth(char ch); void Curses_ShowGameType(void); void Curses_ShowLine(unsigned short *bstline); void Curses_ShowMessage(char *s); -void Curses_AlwaysShowMessage(const char *format, ...); -void Curses_Printf(const char *format, ...); +void Curses_AlwaysShowMessage(const char *format, va_list ap); +void Curses_Printf(const char *format, va_list ap); void Curses_doRequestInputString(const char* fmt, char* buffer); int Curses_GetString(char* sx); +void Curses_SetupBoard(void); void Curses_ShowPatternCount(short side, short n); void Curses_ShowPostnValue(short sq); void Curses_ShowPostnValues(void); @@ -72,20 +77,8 @@ void Curses_ShowResults(short score, unsigned short *bstline, char ch); void Curses_ShowSidetoMove(void); void Curses_ShowStage(void); void Curses_TerminateSearch(int sig); +void Curses_UpdateClocks(void); void Curses_UpdateDisplay(short f, short t, short redraw, short isspec); void Curses_help(void); - -/* The following are only found in cursesdsp.h: */ - -void ClearEoln(void); -void ClearMessage(void); -void DrawPiece(short sq); -void ShowHeader(void); -void ShowPlayers(void); -void ShowScore(short score); -void UpdateClocks(void); -void gotoXY(short x, short y); - #endif /* _CURSESDSP_H_ */ -