Searched refs:forcemap (Results 1 – 1 of 1) sorted by relevance
/dragonfly/games/gomoku/ |
H A D | pickmove.c | 57 static int forcemap[MAPSZ]; /* map for blocking <1,x> combos */ variable 98 memset(forcemap, 0, sizeof(forcemap)); in pickmove() 148 if (sp->s_combo[!us].c.a == 1 && !BIT_TEST(forcemap, m)) in pickmove() 196 if (BIT_TEST(forcemap, s) && !BIT_TEST(forcemap, s1)) in better() 198 if (!BIT_TEST(forcemap, s) && BIT_TEST(forcemap, s1)) in better() 320 memcpy(forcemap, tmpmap, sizeof(tmpmap)); in scanframes() 323 forcemap[i] &= tmpmap[i]; in scanframes() 1030 memcpy(forcemap, tmpmap, sizeof(tmpmap)); in updatecombo() 1033 forcemap[i] &= tmpmap[i]; in updatecombo()
|