Symbol: B_COLS
games/tetris/screen.c
379
curscreen[D_LAST * B_COLS - 1] = -1;
games/tetris/screen.c
413
t = c + r * B_COLS;
games/tetris/screen.c
416
tr = t / B_COLS;
games/tetris/screen.c
417
tc = t % B_COLS;
games/tetris/screen.c
425
bp = &board[D_FIRST * B_COLS];
games/tetris/screen.c
426
sp = &curscreen[D_FIRST * B_COLS];
games/tetris/screen.c
429
for (i = 0; i < B_COLS; bp++, sp++, i++) {
games/tetris/screen.c
457
#define STOP (B_COLS - 3)
games/tetris/shapes.c
48
#define TL -B_COLS-1 /* top left */
games/tetris/shapes.c
49
#define TC -B_COLS /* top center */
games/tetris/shapes.c
50
#define TR -B_COLS+1 /* top right */
games/tetris/shapes.c
53
#define BL B_COLS-1 /* bottom left */
games/tetris/shapes.c
54
#define BC B_COLS /* bottom center */
games/tetris/shapes.c
55
#define BR B_COLS+1 /* bottom right */
games/tetris/shapes.c
76
/*18*/ { 6, 6, { TC, BC, 2*B_COLS } }/* sticks out */
games/tetris/tetris.c
101
base = i * B_COLS + 1;
games/tetris/tetris.c
103
for (j = B_COLS - 2; *p++ != 0;) {
games/tetris/tetris.c
107
memset(&board[base], 0, B_COLS - 2);
games/tetris/tetris.c
111
board[base + B_COLS] = board[base];
games/tetris/tetris.c
112
memset(&board[1], 0, B_COLS - 2);
games/tetris/tetris.c
246
pos = A_FIRST*B_COLS + (B_COLS/2)-1;
games/tetris/tetris.c
261
if (fits_in(curshape, pos + B_COLS)) {
games/tetris/tetris.c
262
pos += B_COLS;
games/tetris/tetris.c
280
pos = A_FIRST*B_COLS + (B_COLS/2)-1;
games/tetris/tetris.c
332
while (fits_in(curshape, pos + B_COLS)) {
games/tetris/tetris.c
333
pos += B_COLS;
games/tetris/tetris.c
87
*p++ = i <= (2 * B_COLS) || (i % B_COLS) < 2;
games/tetris/tetris.h
57
#define B_SIZE (B_ROWS * B_COLS)
games/tetris/tetris.h
83
#define CTOD(x) ((x) * 2 + (((Cols - 2 * B_COLS) >> 1) - 1))