Home
last modified time | relevance | path

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

/openbsd-src/games/gomoku/
H A Dmakemove.c93 if (sortframes[BLACK] == cbp) in makemove()
94 sortframes[BLACK] = cbp->c_next; in makemove()
95 if (sortframes[WHITE] == cbp) in makemove()
96 sortframes[WHITE] = cbp->c_next; in makemove()
156 cbp1 = sortframes[us]; in makemove()
158 sortframes[us] = cbp->c_next = cbp->c_prev = cbp; in makemove()
163 sortframes[us] = cbp; in makemove()
170 } while (cbp1 != sortframes[us]); in makemove()
H A Dbdinit.c142 sortframes[BLACK] = (struct combostr *)0; in bdinit()
143 sortframes[WHITE] = (struct combostr *)0; in bdinit()
H A Dgomoku.h258 extern struct combostr *sortframes[2]; /* sorted, non-empty frames */
H A Dmain.c61 struct combostr *sortframes[2]; /* sorted list of non-empty frames */ variable
H A Dpickmove.c227 cbp = sortframes[color]; in scanframes()
564 cbp = ecbp = sortframes[curcolor]; in addframes()