- for (col = botLeftCol; col < (botLeftCol + cols); col++)
- {
- //Row iteration
- for (row = botLeftRow; (row + rows) >= (botLeftRow + 1); row -= 8)
- {
- //Update screen at current (row/8) and column with *rect (which will fit on the screen)
- screen [row / 8] [col] += (*rect) >> (7 - botLeftRow % 8);
- if ((row > (8 + botLeftRow - rows)) || ((row % 8) != ((1 + botLeftRow - rows) % 8)))
- screen [row / 8 - 1] [col] += (*rect) << (botLeftRow % 8 + 1);
- rect++;
- }
- }
Posted by Anonymous on Wed 30th Apr 14:24 (modification of post by view diff)
download | new post
Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.