Symbol: B_COLS
games/tetris/screen.c
306
curscreen[D_LAST * B_COLS - 1] = -1;
games/tetris/screen.c
341
t = c + r*B_COLS;
games/tetris/screen.c
344
tr = t / B_COLS;
games/tetris/screen.c
345
tc = t % B_COLS;
games/tetris/screen.c
353
bp = &board[D_FIRST * B_COLS];
games/tetris/screen.c
354
sp = &curscreen[D_FIRST * B_COLS];
games/tetris/screen.c
357
for (i = 0; i < B_COLS; bp++, sp++, i++) {
games/tetris/screen.c
394
#define STOP (B_COLS - 3)
games/tetris/shapes.c
46
#define TL -B_COLS-1 /* top left */
games/tetris/shapes.c
47
#define TC -B_COLS /* top center */
games/tetris/shapes.c
48
#define TR -B_COLS+1 /* top right */
games/tetris/shapes.c
51
#define BL B_COLS-1 /* bottom left */
games/tetris/shapes.c
52
#define BC B_COLS /* bottom center */
games/tetris/shapes.c
53
#define BR B_COLS+1 /* bottom right */
games/tetris/shapes.c
74
/*18*/ { 6, 6, { TC, BC, 2*B_COLS } } /* sticks out */
games/tetris/tetris.c
110
base = i * B_COLS + 1;
games/tetris/tetris.c
112
for (j = B_COLS - 2; *p++ != 0;) {
games/tetris/tetris.c
115
memset(&board[base], 0, B_COLS - 2);
games/tetris/tetris.c
119
board[base + B_COLS] = board[base];
games/tetris/tetris.c
121
memset(&board[1], 0, B_COLS - 2);
games/tetris/tetris.c
218
pos = A_FIRST*B_COLS + (B_COLS/2)-1;
games/tetris/tetris.c
233
if (fits_in(curshape, pos + B_COLS)) {
games/tetris/tetris.c
234
pos += B_COLS;
games/tetris/tetris.c
252
pos = A_FIRST*B_COLS + (B_COLS/2)-1;
games/tetris/tetris.c
303
while (fits_in(curshape, pos + B_COLS)) {
games/tetris/tetris.c
304
pos += B_COLS;
games/tetris/tetris.c
311
if (fits_in(curshape, pos + B_COLS)) {
games/tetris/tetris.c
312
pos += B_COLS;
games/tetris/tetris.c
97
*p++ = (i <= (2 * B_COLS) || (i % B_COLS) < 2) ? 7 : 0;
games/tetris/tetris.h
56
#define B_SIZE (B_ROWS * B_COLS)
games/tetris/tetris.h
83
#define CTOD(x) ((x) * 2 + (((Cols - 2 * B_COLS) >> 1) - 1))