Changes in uspace/app/tetris/shapes.c [582a0b8:a35b458] in mainline
- File:
-
- 1 edited
-
uspace/app/tetris/shapes.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/tetris/shapes.c
r582a0b8 ra35b458 96 96 { 97 97 const int *o = shape->off; 98 98 99 99 if ((board[pos]) || (board[pos + *o++]) || (board[pos + *o++]) || 100 100 (board[pos + *o])) 101 101 return 0; 102 102 103 103 return 1; 104 104 } … … 111 111 { 112 112 const int *o = shape->off; 113 113 114 114 board[pos] = onoff ? shape->color : 0x000000; 115 115 board[pos + *o++] = onoff ? shape->color : 0x000000;
Note:
See TracChangeset
for help on using the changeset viewer.
