Home | History | Annotate | Download | only in tetris

Lines Matching refs:pos

82 fits_in(const struct shape *shape, int pos)
86 if (board[pos] || board[pos + *o++] || board[pos + *o++] ||
87 board[pos + *o])
97 place(const struct shape *shape, int pos, int onoff)
102 board[pos] = onoff;
103 board[pos + *o++] = onoff;
104 board[pos + *o++] = onoff;
105 board[pos + *o] = onoff;