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

/netbsd-6-1-5-RELEASE/games/gomoku/
H A Dgomoku.h57 #define FAREA (FSZ1*FSZ2 + FSZ2*FSZ2 + FSZ1*FSZ2 + FSZ2*FSZ2) macro
260 extern struct combostr frames[FAREA]; /* storage for single frames */
262 extern u_char overlap[FAREA * FAREA]; /* frame [a][b] overlap */
263 extern short intersect[FAREA * FAREA]; /* frame [a][b] intersection */
H A Dmakemove.c246 str = &overlap[(a = sp1->s_frame[r] - frames) * FAREA];
269 overlap[b * FAREA + a] &= 0xC;
270 intersect[a * FAREA + b] = n = sp - board;
271 intersect[b * FAREA + a] = n;
274 overlap[b * FAREA + a] = 0;
279 overlap[b * FAREA + a] &= 0xCF;
282 overlap[b * FAREA + a] &= 0xF;
284 intersect[a * FAREA + b] = n = esp - board;
285 intersect[b * FAREA + a] = n;
302 overlap[b * FAREA
[all...]
H A Dbdinit.c161 * to whether frame B overlaps frame A (as indexed by overlap[A * FAREA + B]).
187 str = &overlap[FAREA * FAREA];
188 ip = &intersect[FAREA * FAREA];
189 for (cbp = frames + FAREA; --cbp >= frames; ) { /* each frame */
190 str -= FAREA;
191 ip -= FAREA;
H A Dmain.c76 struct combostr frames[FAREA]; /* storage for all frames */
78 u_char overlap[FAREA * FAREA]; /* true if frame [a][b] overlap */
79 short intersect[FAREA * FAREA]; /* frame [a][b] intersection */
444 n = (sp->s_frame[d1] - frames) * FAREA;
H A Dpickmove.c58 static struct combostr *hashcombos[FAREA];/* hash list for finding duplicates */
618 cbpp = &hashcombos[FAREA];
1090 n = (fcbp - frames) * FAREA;

Completed in 68 milliseconds