Draw crime overlay at the small map */
| 584 | |
| 585 | /** Draw crime overlay at the small map */ |
| 586 | void Micropolis::drawCrimeRateMap() |
| 587 | { |
| 588 | short x, y; |
| 589 | |
| 590 | drawAll(); |
| 591 | |
| 592 | for (x = 0; x < WORLD_W; x += crimeRateMap.MAP_BLOCKSIZE) { |
| 593 | for (y = 0; y < WORLD_H; y += crimeRateMap.MAP_BLOCKSIZE) { |
| 594 | maybeDrawRect( |
| 595 | getCI(crimeRateMap.worldGet(x, y)), |
| 596 | x * 3, |
| 597 | y * 3, |
| 598 | 3 * crimeRateMap.MAP_BLOCKSIZE, |
| 599 | 3 * crimeRateMap.MAP_BLOCKSIZE); |
| 600 | } |
| 601 | } |
| 602 | } |
| 603 | |
| 604 | |
| 605 | void Micropolis::drawLandValueMap() |