* Get the dimensions of a heightmap. * @param dft Type of image file. * @param filename to query * @param x dimension x * @param y dimension y * @return Returns false if loading of the image failed. */
| 503 | * @return Returns false if loading of the image failed. |
| 504 | */ |
| 505 | bool GetHeightmapDimensions(DetailedFileType dft, std::string_view filename, uint *x, uint *y) |
| 506 | { |
| 507 | return ReadHeightMap(dft, filename, x, y, nullptr); |
| 508 | } |
| 509 | |
| 510 | /** |
| 511 | * Load a heightmap from file and change the map in its current dimensions |
no test coverage detected