Draw population density overlay at small map */
| 486 | |
| 487 | /** Draw population density overlay at small map */ |
| 488 | void Micropolis::drawPopulationDensity() |
| 489 | { |
| 490 | short x, y; |
| 491 | |
| 492 | drawAll(); |
| 493 | for (x = 0; x < WORLD_W; x += populationDensityMap.MAP_BLOCKSIZE) { |
| 494 | for (y = 0; y < WORLD_H; y += populationDensityMap.MAP_BLOCKSIZE) { |
| 495 | maybeDrawRect( |
| 496 | getCI(populationDensityMap.worldGet(x, y)), |
| 497 | x * 3, |
| 498 | y * 3, |
| 499 | 3 * populationDensityMap.MAP_BLOCKSIZE, |
| 500 | 3 * populationDensityMap.MAP_BLOCKSIZE); |
| 501 | } |
| 502 | } |
| 503 | } |
| 504 | |
| 505 | |
| 506 | void Micropolis::drawRateOfGrowth() |