Home
last modified time | relevance | path

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

/dflybsd-src/games/gomoku/
H A Dmakemove.c98 if (sortframes[BLACK] == cbp) in makemove()
99 sortframes[BLACK] = cbp->c_next; in makemove()
100 if (sortframes[WHITE] == cbp) in makemove()
101 sortframes[WHITE] = cbp->c_next; in makemove()
161 cbp1 = sortframes[us]; in makemove()
163 sortframes[us] = cbp->c_next = cbp->c_prev = cbp; in makemove()
168 sortframes[us] = cbp; in makemove()
175 } while (cbp1 != sortframes[us]); in makemove()
H A Dbdinit.c146 sortframes[BLACK] = (struct combostr *)0; in bdinit()
147 sortframes[WHITE] = (struct combostr *)0; in bdinit()
H A Dgomoku.h261 extern struct combostr *sortframes[2]; /* sorted, non-empty frames */
H A Dmain.c67 struct combostr *sortframes[2]; /* sorted list of non-empty frames */ variable
H A Dpickmove.c243 cbp = sortframes[color]; in scanframes()
577 cbp = ecbp = sortframes[curcolor]; in addframes()