Searched refs:spot_index (Results 1 - 7 of 7) sorted by relevance
/netbsd-current/games/gomoku/ |
H A D | gomoku.h | 70 typedef unsigned short spot_index; typedef 165 spot_index c_vertex; /* F: frame head, 252 spot_index moves[BSZ * BSZ]; /* log of all played moves */ 253 spot_index win_spot; /* the winning move, or 0 */ 267 extern spot_index intersect[FAREA * FAREA]; /* frame [a][b] intersection */ 275 spot_index get_coord(void); 289 const char *stoc(spot_index); 290 spot_index ctos(const char *); 291 int makemove(player_color, spot_index); 294 spot_index pickmov [all...] |
H A D | stoc.c | 51 stoc(spot_index s) 67 spot_index
|
H A D | makemove.c | 50 static void update_overlap(spot_index); 99 makemove(player_color us, spot_index mv) 157 game.win_spot = (spot_index)(fsp - board); 235 update_overlap_same_direction(spot_index s1, spot_index s2, 244 spot_index s = s1; 245 spot_index es = 0; 285 update_overlap_different_direction(spot_index os, frame_index a, direction rb) 306 update_overlap(spot_index os) 311 spot_index s [all...] |
H A D | pickmove.c | 56 spot_index o_intersect; /* intersection spot */ 71 static bool better(spot_index, spot_index, player_color); 86 spot_index 95 for (spot_index s = PT(BSZ, BSZ) + 1; s-- > PT(1, 1); ) { 122 spot_index os = PT(BSZ, BSZ); /* our spot */ 123 spot_index ts = PT(BSZ, BSZ); /* their spot */ 124 for (spot_index s = PT(BSZ, BSZ); s-- > PT(1, 1); ) { 148 spot_index bs = us == BLACK ? os : ts; 149 spot_index w [all...] |
H A D | main.c | 81 spot_index intersect[FAREA * FAREA]; /* frame [a][b] intersection */ 85 static spot_index readinput(FILE *); 225 static spot_index 231 spot_index s = get_coord(); 284 spot_index curmove = 0; 400 static spot_index 456 parse_spot(const char **pp, spot_index *out) 477 spot_index s, s1, s2;
|
H A D | bdinit.c | 118 cbp->c_vertex = (spot_index)(sp - board); 236 init_overlap_frame(int fia, int ra, int offa, spot_index s, int mask) 267 spot_index s = fa->c_vertex;
|
H A D | bdisp.c | 152 should_highlight(spot_index s) 354 spot_index
|
Completed in 151 milliseconds