Lines Matching defs:cells
796 // draw all changed cells
802 LifeCell *cells;
824 done = m_life->FindMore(&cells, &ncells);
827 DrawCell(cells[m].i, cells[m].j, dc);
851 LifeCell *cells;
854 bool done = m_life->FindMore(&cells, &ncells);
856 // erase all damaged cells and draw the grid
879 // draw all alive cells
886 DrawCell(cells[m].i, cells[m].j, dc);
888 done = m_life->FindMore(&cells, &ncells);
893 DrawCell(cells[m].i, cells[m].j, dc);
947 // draw a line of cells using Bresenham's algorithm