Home
last modified time | relevance | path

Searched refs:combostr (Results 1 – 5 of 5) sorted by relevance

/netbsd-src/games/gomoku/
H A Dgomoku.h157 struct combostr { struct
158 struct combostr *c_next; /* list of combos at the same level */ argument
159 struct combostr *c_prev; /* list of combos at the same level */ argument
160 struct combostr *c_link[2]; /* F: NULL, argument
190 struct combostr *e_combo; /* the whole combo */ argument
264 extern struct combostr frames[FAREA]; /* storage for single frames */
265 extern struct combostr *sortframes[2]; /* sorted, non-empty frames */
292 void clearcombo(struct combostr *, int);
293 void markcombo(struct combostr *);
296 void printcombo(struct combostr *, char *, size_t);
H A Dpickmove.c61 static struct combostr *hashcombos[FAREA];/* hash list for finding duplicates */
62 static struct combostr *sortcombos; /* combos at higher levels */
73 static void makecombo2(struct combostr *, struct spotstr *, u_char, u_short);
75 static void makecombo(struct combostr *, struct spotstr *, u_char, u_short);
76 static void appendcombo(struct combostr *);
77 static void updatecombo(struct combostr *, player_color);
78 static void makeempty(struct combostr *);
79 static int checkframes(struct combostr *, struct combostr *, struct spotstr *,
81 static bool sortcombo(struct combostr **, struct combostr **, struct combostr *);
83 static void printcombo(struct combostr *, char *, size_t);
[all …]
H A Dmakemove.c64 sortframes_remove(struct combostr *cbp) in sortframes_remove()
127 struct combostr *cbp = &frames[fsp->s_frame[r]]; in makemove()
181 struct combostr *cbp1 = sortframes[us]; in makemove()
H A Dbdinit.c116 struct combostr *cbp = &frames[fi]; in init_spot_frame()
266 const struct combostr *fa = &frames[fia]; in init_overlap()
H A Dmain.c77 struct combostr frames[FAREA]; /* storage for all frames */
78 struct combostr *sortframes[2]; /* sorted list of non-empty frames */
483 struct combostr *cbp; in whatsup()