{
EditBoard();
}
- else if (NOT_CURSES && (strcmp(s, CP[190]) == 0)) /* setup */
+ else if ((strcmp(s, CP[190]) == 0)) /* setup */
{
SetupBoard();
}
}
}
}
+
+void
+Curses_SetupBoard(void)
+{
+ Curses_ShowMessage("'setup' command is not supported in Cursesmode");
+}
void Curses_Printf(const char *format, ...);
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);
DISPLAY_VOIDFUNC(SetContempt)
DISPLAY_FUNC(SearchStartStuff, (short side), (side))
DISPLAY_FUNC(SelectLevel, (char *sx), (sx))
+DISPLAY_VOIDFUNC(SetupBoard)
DISPLAY_FUNC(ShowCurrentMove, (short pnt, short f, short t), (pnt, f, t))
DISPLAY_FUNC(ShowDepth, (char ch), (ch))
DISPLAY_VOIDFUNC(ShowGameType)
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);
* first line. White pieces are represented by uppercase characters.
*/
void
-SetupBoard(void)
+Raw_SetupBoard(void)
{
short r, c, sq, i;
char ch;
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_UpdateDisplay(short f, short t, short redraw, short isspec);
void Raw_help(void);
-
-/* The following are only found in rawdsp.h: */
-
-void SetupBoard(void);
-
#endif /* _RAWDSP_H_ */