X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=gnushogi%2Fcursesdsp.h;h=0c0ade1cf88f5b5dacdd83239f5df33b58639b0e;hb=d23b84fee73518dfb6b281d1eaedbe4fc4aa34b2;hp=36e128c63f3e233ef21c34d2f37546533379526c;hpb=82b026e6376b640a4d3409a461dd6bd83708e33e;p=gnushogi.git diff --git a/gnushogi/cursesdsp.h b/gnushogi/cursesdsp.h index 36e128c..0c0ade1 100644 --- a/gnushogi/cursesdsp.h +++ b/gnushogi/cursesdsp.h @@ -4,11 +4,14 @@ * Curses interface for GNU Shogi. * * ---------------------------------------------------------------------- - * - * Copyright (c) 2012 Free Software Foundation + * Copyright (c) 1993, 1994, 1995 Matthias Mutz + * Copyright (c) 1999 Michael Vanier and the Free Software Foundation * * GNU SHOGI is based on GNU CHESS * + * Copyright (c) 1988, 1989, 1990 John Stanback + * Copyright (c) 1992 Free Software Foundation + * * This file is part of GNU SHOGI. * * GNU Shogi is free software; you can redistribute it and/or modify it @@ -31,6 +34,8 @@ #ifndef _CURSESDSP_H_ #define _CURSESDSP_H_ +#include "gnushogi.h" + /* The following are common to rawdsp.h and cursesdsp.h */ void Curses_ChangeAlphaWindow(void); @@ -43,10 +48,13 @@ void Curses_Die(int sig); void Curses_DoDebug(void); void Curses_DoTable(short table[NO_SQUARES]); void Curses_EditBoard(void); +void Curses_ElapsedTime(ElapsedTime_mode iop); void Curses_ExitShogi(void); 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); @@ -55,30 +63,22 @@ 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, 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); +void Curses_ShowPrompt(void); void Curses_ShowResponseTime(void); 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 ShowNodeCnt(long NodeCnt); -void ShowPlayers(void); -void ShowPrompt(void); -void ShowScore(short score); -void UpdateClocks(void); -void gotoXY(short x, short y); - #endif /* _CURSESDSP_H_ */ -