Home
last modified time | relevance | path

Searched refs:BSZ (Results 1 – 7 of 7) sorted by relevance

/openbsd/src/games/gomoku/
Dbdisp.c298 static int curx = BSZ / 2; in getcoord()
299 static int cury = BSZ / 2; in getcoord()
306 mvprintw(BSZ3, (BSZ -6)/2, "(%c %d)", in getcoord()
321 ny = BSZ + cury - 1; nx = curx; in getcoord()
327 ny = cury; nx = BSZ + curx - 1; in getcoord()
339 ny = cury + 1; nx = BSZ + curx - 1; in getcoord()
345 ny = BSZ + cury - 1; nx = BSZ + curx - 1; in getcoord()
357 ny = BSZ + cury - 1; nx = curx + 1; in getcoord()
363 ny = BSZ + cury - 5; nx = curx; in getcoord()
366 ny = cury; nx = BSZ + curx - 5; in getcoord()
[all …]
Dgomoku.h39 #define BSZ 19 macro
40 #define BSZ1 (BSZ+1)
41 #define BSZ2 (BSZ+2)
42 #define BSZ3 (BSZ+3)
43 #define BSZ4 (BSZ+4)
48 #define BGOTO(y,x) move(BSZ - (y), 2 * (x) + 3)
51 #define FSZ1 BSZ
52 #define FSZ2 (BSZ-4)
261 extern int movelog[BSZ * BSZ]; /* history of moves */
Dbdinit.c89 if (i > (BSZ - 4)) { in bdinit()
96 } else if (i == (BSZ - 4)) { in bdinit()
Dstoc.c98 for (i = 1; i <= BSZ && letters[i] != c; i++) in lton()
Dmakemove.c74 if (++movenum == BSZ * BSZ) in makemove()
Dmain.c64 int movelog[BSZ * BSZ]; /* log of all the moves */
/openbsd/src/usr.bin/tail/
Dreverse.c160 #define BSZ (128 * 1024) macro
165 char l[BSZ];
213 len < BSZ && (ch = getc(fp)) != EOF; ++len) in r_buf()