Codechange: make DetailedFileType a scoped enum

This commit is contained in:
Peter Nelson
2026-04-05 21:46:07 +01:00
committed by Peter Nelson
parent 74b0b080e7
commit 04f7adb7b7
10 changed files with 63 additions and 65 deletions
+2 -2
View File
@@ -505,11 +505,11 @@ static bool ReadHeightMap(DetailedFileType dft, std::string_view filename, uint
NOT_REACHED();
#ifdef WITH_PNG
case DFT_HEIGHTMAP_PNG:
case DetailedFileType::HeightmapPng:
return ReadHeightmapPNG(filename, x, y, map);
#endif /* WITH_PNG */
case DFT_HEIGHTMAP_BMP:
case DetailedFileType::HeightmapBmp:
return ReadHeightmapBMP(filename, x, y, map);
}
}