Home
last modified time | relevance | path

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

/dragonfly/games/gomoku/
H A Dmakemove.c239 str = &overlap[(a = sp1->s_frame[r] - frames) * FAREA]; in update_overlap()
262 overlap[b * FAREA + a] &= 0xC; in update_overlap()
263 intersect[a * FAREA + b] = n = sp - board; in update_overlap()
264 intersect[b * FAREA + a] = n; in update_overlap()
267 overlap[b * FAREA + a] = 0; in update_overlap()
272 overlap[b * FAREA + a] &= 0xCF; in update_overlap()
275 overlap[b * FAREA + a] &= 0xF; in update_overlap()
277 intersect[a * FAREA + b] = n = esp - board; in update_overlap()
278 intersect[b * FAREA + a] = n; in update_overlap()
295 overlap[b * FAREA + a] = 0; in update_overlap()
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 Dbdinit.c181 str = &overlap[FAREA * FAREA]; in init_overlap()
182 ip = &intersect[FAREA * FAREA]; in init_overlap()
183 for (frameix = FAREA; frameix-- > 0; ) { /* each frame */ in init_overlap()
185 str -= FAREA; in init_overlap()
186 ip -= FAREA; in init_overlap()
H A Dmain.c66 struct combostr frames[FAREA]; /* storage for all frames */
68 u_char overlap[FAREA * FAREA]; /* true if frame [a][b] overlap */
69 short intersect[FAREA * FAREA]; /* frame [a][b] intersection */
434 n = (sp->s_frame[d1] - frames) * FAREA; in whatsup()
H A Dpickmove.c51 static struct combostr *hashcombos[FAREA];/* hash list for finding duplicates */
620 cbpp = &hashcombos[FAREA]; in addframes()
1091 n = (fcbp - frames) * FAREA; in checkframes()