if
| 464 | } // if |
| 465 | } // if |
| 466 | DRAW_END |
| 467 | } |
| 468 | |
| 469 | |
| 470 | short Micropolis::getCI(short x) |
| 471 | { |
| 472 | if (x < 50) { |
| 473 | return VAL_NONE; |
| 474 | } |
| 475 | if (x < 100) { |
| 476 | return VAL_LOW; |
| 477 | } |
| 478 | if (x < 150) { |
| 479 | return VAL_MEDIUM; |
| 480 | } |
| 481 | if (x < 200) { |
| 482 | return VAL_HIGH; |
| 483 | } |
| 484 | return VAL_VERYHIGH; |
| 485 | } |
| 486 | |
| 487 | /** Draw population density overlay at small map */ |
| 488 | void Micropolis::drawPopulationDensity() |
nothing calls this directly
no outgoing calls
no test coverage detected