Lines Matching defs:shape
55 const struct shape shapes[] = {
78 * Return true iff the given shape fits in the given position,
82 fits_in(const struct shape *shape, int pos)
84 const int *o = shape->off;
93 * Write the given shape into the current board, turning it on
97 place(const struct shape *shape, int pos, int onoff)
99 const int *o = shape->off;
100 onoff = onoff ? shape->color : 0;