* Calculate the line (in height) between desert and tropic. * @return The height of the line between desert and tropic. */
| 1598 | * @return The height of the line between desert and tropic. |
| 1599 | */ |
| 1600 | static uint8_t CalculateDesertLine() |
| 1601 | { |
| 1602 | /* CalculateCoverageLine() runs from top to bottom, so we need to invert the coverage. */ |
| 1603 | return CalculateCoverageLine(100 - _settings_game.game_creation.desert_coverage, 4); |
| 1604 | } |
| 1605 | |
| 1606 | bool GenerateLandscape(uint8_t mode) |
| 1607 | { |
no test coverage detected