-/* $NetBSD: gomoku.h,v 1.11 2009/06/04 05:43:29 dholland Exp $ */
+/* $NetBSD: gomoku.h,v 1.17 2009/08/12 06:19:17 dholland Exp $ */
/*
* Copyright (c) 1994
};
extern const char *letters;
-extern char fmtbuf[];
extern const char pdir[];
extern const int dd[4];
#define ASSERT(x)
void bdinit(struct spotstr *);
-void init_overlap(void);
-int getline(char *, int);
+int get_line(char *, int);
void ask(const char *);
void dislog(const char *);
void bdump(FILE *);
void cursfini(void);
void cursinit(void);
void bdwho(int);
-void panic(const char *) __attribute__((__noreturn__));
-void glog(const char *);
-void dlog(const char *);
-void quit(void) __attribute__((__noreturn__));
-void quitsig(int) __attribute__((__noreturn__));
+void panic(const char *, ...) __printflike(1, 2) __dead;
+void debuglog(const char *, ...) __printflike(1, 2);
void whatsup(int);
-int readinput(FILE *);
const char *stoc(int);
-int lton(int);
int ctos(const char *);
-void update_overlap(struct spotstr *);
int makemove(int, int);
int list_eq(struct combostr **, struct combostr **, int);
void clearcombo(struct combostr *, int);
-void makeempty(struct combostr *);
-void appendcombo(struct combostr *, int);
-void updatecombo(struct combostr *, int);
void markcombo(struct combostr *);
-void printcombo(struct combostr *, char *);
-void makecombo(struct combostr *, struct spotstr *, int, int);
-void makecombo2(struct combostr *, struct spotstr *, int, int);
-int sortcombo(struct combostr **, struct combostr **, struct combostr *);
-int checkframes(struct combostr *, struct combostr *, struct spotstr *,
- int, struct overlap_info *);
-void addframes(int);
-void scanframes(int);
-int better(const struct spotstr *, const struct spotstr *, int);
int pickmove(int);