A small helper function to initialize the terrain */
| 960 | |
| 961 | /** A small helper function to initialize the terrain */ |
| 962 | static void TgenSetTileHeight(TileIndex tile, int height) |
| 963 | { |
| 964 | SetTileHeight(tile, height); |
| 965 | |
| 966 | /* Only clear the tiles within the map area. */ |
| 967 | if (IsInnerTile(tile)) { |
| 968 | MakeClear(tile, CLEAR_GRASS, 3); |
| 969 | } |
| 970 | } |
| 971 | |
| 972 | /** |
| 973 | * The main new land generator using Perlin noise. Desert landscape is handled |
no test coverage detected