curshape 120 usr/sample/tetris/tetris.c const struct shape *curshape;
curshape 178 usr/sample/tetris/tetris.c curshape = randshape();
curshape 183 usr/sample/tetris/tetris.c place(curshape, pos, 1);
curshape 186 usr/sample/tetris/tetris.c place(curshape, pos, 0);
curshape 192 usr/sample/tetris/tetris.c if (fits_in(curshape, pos + B_COLS)) {
curshape 201 usr/sample/tetris/tetris.c place(curshape, pos, 1);
curshape 209 usr/sample/tetris/tetris.c curshape = randshape();
curshape 211 usr/sample/tetris/tetris.c if (!fits_in(curshape, pos))
curshape 227 usr/sample/tetris/tetris.c place(curshape, pos, 1);
curshape 236 usr/sample/tetris/tetris.c place(curshape, pos, 0);
curshape 241 usr/sample/tetris/tetris.c if (fits_in(curshape, pos - 1))
curshape 247 usr/sample/tetris/tetris.c const struct shape *new = &shapes[curshape->rot];
curshape 250 usr/sample/tetris/tetris.c curshape = new;
curshape 255 usr/sample/tetris/tetris.c if (fits_in(curshape, pos + 1))
curshape 261 usr/sample/tetris/tetris.c while (fits_in(curshape, pos + B_COLS)) {