HelenOS sources

shape              77 uspace/app/tetris/screen.c static const struct shape *lastshape;
shape              69 uspace/app/tetris/shapes.c const struct shape shapes[] = {
shape              95 uspace/app/tetris/shapes.c int fits_in(const struct shape *shape, int pos)
shape              97 uspace/app/tetris/shapes.c 	const int *o = shape->off;
shape             110 uspace/app/tetris/shapes.c void place(const struct shape *shape, int pos, int onoff)
shape             112 uspace/app/tetris/shapes.c 	const int *o = shape->off;
shape             114 uspace/app/tetris/shapes.c 	board[pos] = onoff ? shape->color : 0x000000;
shape             115 uspace/app/tetris/shapes.c 	board[pos + *o++] = onoff ? shape->color : 0x000000;
shape             116 uspace/app/tetris/shapes.c 	board[pos + *o++] = onoff ? shape->color : 0x000000;
shape             117 uspace/app/tetris/shapes.c 	board[pos + *o] = onoff ? shape->color : 0x000000;
shape              73 uspace/app/tetris/tetris.c const struct shape *curshape;
shape              74 uspace/app/tetris/tetris.c const struct shape *nextshape;
shape              84 uspace/app/tetris/tetris.c static const struct shape *randshape(void);
shape             157 uspace/app/tetris/tetris.c const struct shape *randshape(void)
shape             159 uspace/app/tetris/tetris.c 	const struct shape *tmp = &shapes[rand() % 7];
shape             402 uspace/app/tetris/tetris.c 				const struct shape *new =
shape             150 uspace/app/tetris/tetris.h extern const struct shape shapes[];
shape             152 uspace/app/tetris/tetris.h extern const struct shape *curshape;
shape             153 uspace/app/tetris/tetris.h extern const struct shape *nextshape;
shape             196 uspace/app/tetris/tetris.h extern int fits_in(const struct shape *, int);
shape             197 uspace/app/tetris/tetris.h extern void place(const struct shape *, int, int);
shape              76 uspace/dist/src/c/demos/tetris/screen.c static const struct shape *lastshape;
shape              69 uspace/dist/src/c/demos/tetris/shapes.c const struct shape shapes[] = {
shape              95 uspace/dist/src/c/demos/tetris/shapes.c errno_t fits_in(const struct shape *shape, int pos)
shape              97 uspace/dist/src/c/demos/tetris/shapes.c 	const int *o = shape->off;
shape             110 uspace/dist/src/c/demos/tetris/shapes.c void place(const struct shape *shape, int pos, int onoff)
shape             112 uspace/dist/src/c/demos/tetris/shapes.c 	const int *o = shape->off;
shape             114 uspace/dist/src/c/demos/tetris/shapes.c 	board[pos] = onoff ? shape->color : 0x000000;
shape             115 uspace/dist/src/c/demos/tetris/shapes.c 	board[pos + *o++] = onoff ? shape->color : 0x000000;
shape             116 uspace/dist/src/c/demos/tetris/shapes.c 	board[pos + *o++] = onoff ? shape->color : 0x000000;
shape             117 uspace/dist/src/c/demos/tetris/shapes.c 	board[pos + *o] = onoff ? shape->color : 0x000000;
shape              75 uspace/dist/src/c/demos/tetris/tetris.c const struct shape *curshape;
shape              76 uspace/dist/src/c/demos/tetris/tetris.c const struct shape *nextshape;
shape              86 uspace/dist/src/c/demos/tetris/tetris.c static const struct shape *randshape(void);
shape             159 uspace/dist/src/c/demos/tetris/tetris.c const struct shape *randshape(void)
shape             161 uspace/dist/src/c/demos/tetris/tetris.c 	const struct shape *tmp = &shapes[rand() % 7];
shape             400 uspace/dist/src/c/demos/tetris/tetris.c 				const struct shape *new =
shape             150 uspace/dist/src/c/demos/tetris/tetris.h extern const struct shape shapes[];
shape             152 uspace/dist/src/c/demos/tetris/tetris.h extern const struct shape *curshape;
shape             153 uspace/dist/src/c/demos/tetris/tetris.h extern const struct shape *nextshape;
shape             196 uspace/dist/src/c/demos/tetris/tetris.h extern errno_t fits_in(const struct shape *, int);
shape             197 uspace/dist/src/c/demos/tetris/tetris.h extern void place(const struct shape *, int, int);
HelenOS homepage, sources at GitHub