Searched refs:s_occ (Results 1 - 6 of 6) sorted by relevance

/netbsd-6-1-5-RELEASE/games/gomoku/
H A Dmakemove.c80 if (sp->s_occ != EMPTY)
84 sp->s_occ = us;
97 if (fsp->s_occ == BORDER)
125 space = sp->s_occ == EMPTY;
128 if (sp->s_occ == us)
130 else if (sp->s_occ == EMPTY)
139 if (sp->s_occ == EMPTY)
154 if (space && sp->s_occ == EMPTY) {
164 if (sp->s_occ == EMPTY)
195 if (fsp->s_occ
[all...]
H A Dbdinit.c61 sp->s_occ = BORDER; /* top border */
70 sp->s_occ = EMPTY;
143 sp->s_occ = BORDER; /* left & right border */
149 sp->s_occ = BORDER; /* bottom border */
210 if (sp2->s_occ == BORDER)
H A Dbdisp.c175 if (debug > 1 && sp->s_occ == EMPTY) {
183 c = pcolor[sp->s_occ];
208 if (debug > 1 && sp->s_occ == EMPTY) {
216 c = pcolor[sp->s_occ];
H A Dmain.c271 board[curmove].s_occ != EMPTY) {
400 board[movelog[movenum - 1]].s_occ = EMPTY;
410 board[movelog[movenum - 1]].s_occ = movenum & 1 ? BLACK : WHITE;
H A Dgomoku.h64 /* values for s_occ */
219 short s_occ; /* color of occupant */ member in struct:spotstr
H A Dpickmove.c112 if (sp->s_occ != EMPTY)
254 if (sp->s_occ != EMPTY)
300 if (sp->s_occ != EMPTY)
442 if (fsp->s_occ == BORDER)
595 if (fsp->s_occ == EMPTY) {
611 if (sp->s_occ != EMPTY)
680 if (sp->s_occ != EMPTY) {
912 if (sp->s_occ != EMPTY || !(emask & m))
991 if (sp->s_occ != EMPTY)
1015 if (sp->s_occ !
[all...]

Completed in 116 milliseconds