Home
last modified time | relevance | path

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

/netbsd-src/games/gomoku/
H A Dmakemove.c70 if (sortframes[BLACK] == cbp) in sortframes_remove()
71 sortframes[BLACK] = cbp->c_next; in sortframes_remove()
72 if (sortframes[WHITE] == cbp) in sortframes_remove()
73 sortframes[WHITE] = cbp->c_next; in sortframes_remove()
181 struct combostr *cbp1 = sortframes[us]; in makemove()
183 sortframes[us] = cbp->c_next = cbp->c_prev = cbp; in makemove()
189 sortframes[us] = cbp; in makemove()
196 } while (cbp1 != sortframes[us]); in makemove()
H A Dbdinit.c158 sortframes[BLACK] = NULL; in init_board()
159 sortframes[WHITE] = NULL; in init_board()
H A Dgomoku.h265 extern struct combostr *sortframes[2]; /* sorted, non-empty frames */
H A Dmain.c78 struct combostr *sortframes[2]; /* sorted list of non-empty frames */ variable
H A Dpickmove.c262 struct combostr *cbp = sortframes[color]; in scanframes()
597 cbp = ecbp = sortframes[curcolor]; in addframes()