Changeset a405563 in mainline for uspace/app/tetris/shapes.c
- Timestamp:
- 2009-08-02T18:51:49Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f019cc07
- Parents:
- 30885b9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/tetris/shapes.c
r30885b9 ra405563 88 88 int fits_in(const struct shape *shape, int pos) 89 89 { 90 int *o = shape->off;90 const int *o = shape->off; 91 91 92 92 if ((board[pos]) || (board[pos + *o++]) || (board[pos + *o++]) || … … 103 103 void place(const struct shape *shape, int pos, int onoff) 104 104 { 105 int *o = shape->off;105 const int *o = shape->off; 106 106 107 107 board[pos] = onoff ? shape->color : 0x000000;
Note:
See TracChangeset
for help on using the changeset viewer.