* Display options.
*/
-typedef enum { DISPLAY_RAW, DISPLAY_CURSES, DISPLAY_X } display_t;
+typedef enum {
+ DISPLAY_RAW,
+#ifdef HAVE_LIBCURSES
+ DISPLAY_CURSES,
+#endif
+ DISPLAY_X
+} display_t;
extern display_t display_type;
#define XSHOGI (display_type == DISPLAY_X)
# define PTBLBDSIZE (NO_SQUARES + NO_PIECES)
#endif
-#include "dspwrappers.h" /* Display functions. */
#include "eval.h"
#define SCORE_LIMIT 12000
#endif
} ElapsedTime_mode;
-extern void ElapsedTime(ElapsedTime_mode iop);
extern void SetResponseTime(short side);
extern void CheckForTimeout(int score, int globalscore,
int Jscore, int zwndw);
extern void ShowDepth(char ch);
extern void TerminateSearch(int);
extern void ShowResults(short score, unsigned short *bstline, char ch);
-extern void PromptForMove(void);
extern void SetupBoard(void);
extern void algbr(short f, short t, short flag);
extern void OutputMove(void);
extern int VerifyMove(char *s, VerifyMove_mode iop, unsigned short *mv);
extern unsigned short TTage;
+#include "dspwrappers.h" /* Display functions. */
+
#endif /* _GNUSHOGI_H_ */