| 1549 | |
| 1550 | |
| 1551 | void CellEngine::SetCell( |
| 1552 | int col, |
| 1553 | int row, |
| 1554 | Byte cell) |
| 1555 | { |
| 1556 | if ((col < 0) || |
| 1557 | (col >= width) || |
| 1558 | (row < 0) || |
| 1559 | (row >= height) || |
| 1560 | (frontMem == NULL)) { |
| 1561 | return; |
| 1562 | } |
| 1563 | |
| 1564 | frontMem[col + (row * screenRowBytes)] = |
| 1565 | cell; |
| 1566 | } |
| 1567 | |
| 1568 | |
| 1569 | void *CellEngine::GetCellBuffer() |