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

/openbsd-current/games/gomoku/
H A Dmakemove.c233 str = &overlap[(a = sp1->s_frame[r] - frames) * FAREA];
256 overlap[b * FAREA + a] &= 0xC;
257 intersect[a * FAREA + b] = n = sp - board;
258 intersect[b * FAREA + a] = n;
261 overlap[b * FAREA + a] = 0;
266 overlap[b * FAREA + a] &= 0xCF;
269 overlap[b * FAREA + a] &= 0xF;
271 intersect[a * FAREA + b] = n = esp - board;
272 intersect[b * FAREA + a] = n;
289 overlap[b * FAREA
[all...]
H A Dgomoku.h53 #define FAREA (FSZ1*FSZ2 + FSZ2*FSZ2 + FSZ1*FSZ2 + FSZ2*FSZ2) macro
257 extern struct combostr frames[FAREA]; /* storage for single frames */
259 extern u_char overlap[FAREA * FAREA]; /* frame [a][b] overlap */
260 extern short intersect[FAREA * FAREA]; /* frame [a][b] intersection */
H A Dbdinit.c150 * to whether frame B overlaps frame A (as indexed by overlap[A * FAREA + B]).
176 str = &overlap[FAREA * FAREA];
177 ip = &intersect[FAREA * FAREA];
178 for (cbp = frames + FAREA; --cbp >= frames; ) { /* each frame */
179 str -= FAREA;
180 ip -= FAREA;
H A Dmain.c60 struct combostr frames[FAREA]; /* storage for all frames */
62 u_char overlap[FAREA * FAREA]; /* true if frame [a][b] overlap */
63 short intersect[FAREA * FAREA]; /* frame [a][b] intersection */
416 n = (sp->s_frame[d1] - frames) * FAREA;
H A Dpickmove.c48 struct combostr *hashcombos[FAREA]; /* hash list for finding duplicates */
607 cbpp = &hashcombos[FAREA];
1070 n = (fcbp - frames) * FAREA;

Completed in 196 milliseconds