void FlatEmptyWorld(byte tile_height)
Make an empty world where all tiles are of height 'tile_height'.
Rotate the map counter clockwise 45 degrees.
HeightmapRotation
Order of these enums has to be the same as in lang/english.txt Otherwise you will get inconsistent be...
void FixSlopes()
This function takes care of the fact that land in OpenTTD can never differ more than 1 in height...
Types for Standard In/Out file operations.
void LoadHeightmap(DetailedFileType dft, const char *filename)
Load a heightmap from file and change the map in his current dimensions to a landscape representing t...
bool GetHeightmapDimensions(DetailedFileType dft, const char *filename, uint *x, uint *y)
Get the dimensions of a heightmap.
Rotate the map clockwise 45 degrees.
DetailedFileType
Kinds of files in each AbstractFileType.