Searched refs:FAREA (Results 1 - 5 of 5) sorted by relevance

/netbsd-current/games/gomoku/
H A Dmakemove.c256 overlap[a * FAREA + b] &= 0xA;
257 overlap[b * FAREA + a] &= 0xC;
258 intersect[a * FAREA + b] = s;
259 intersect[b * FAREA + a] = s;
261 overlap[a * FAREA + b] = 0;
262 overlap[b * FAREA + a] = 0;
266 overlap[a * FAREA + b] &= 0xAF;
267 overlap[b * FAREA + a] &= 0xCF;
269 overlap[a * FAREA + b] &= 0xF;
270 overlap[b * FAREA
[all...]
H A Dgomoku.h57 #define FAREA (2 * BSZ * (BSZ - 4) + 2 * (BSZ - 4) * (BSZ - 4)) macro
264 extern struct combostr frames[FAREA]; /* storage for single frames */
266 extern u_char overlap[FAREA * FAREA];
267 extern spot_index intersect[FAREA * FAREA]; /* frame [a][b] intersection */
H A Dbdinit.c174 * to whether frame B overlaps frame A (as indexed by overlap[A * FAREA + B]).
251 intersect[fia * FAREA + fib] = s;
252 u_char *op = &overlap[fia * FAREA + fib];
265 for (int fia = FAREA; fia-- > 0;) {
H A Dmain.c77 struct combostr frames[FAREA]; /* storage for all frames */
79 u_char overlap[FAREA * FAREA]; /* non-zero if frame [a][b] overlap;
81 spot_index intersect[FAREA * FAREA]; /* frame [a][b] intersection */
551 n = board[s1].s_frame[r1] * FAREA
H A Dpickmove.c61 static struct combostr *hashcombos[FAREA];/* hash list for finding duplicates */
640 cbpp = &hashcombos[FAREA];
1096 n = (frame_index)(fcbp - frames) * FAREA;

Completed in 164 milliseconds