MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / FiosMakeHeightmapName

Function FiosMakeHeightmapName

src/fios.cpp:228–231  ·  view source on GitHub ↗

* Construct a filename for a height map. * @param name Filename. * @return The completed filename. */

Source from the content-addressed store, hash-verified

226 * @return The completed filename.
227 */
228std::string FiosMakeHeightmapName(std::string_view name)
229{
230 return FiosMakeFilename(_fios_path, name, fmt::format(".{}", GetCurrentScreenshotExtension()));
231}
232
233typedef std::tuple<FiosType, std::string> FiosGetTypeAndNameProc(SaveLoadOperation fop, std::string_view filename, std::string_view ext);
234

Callers 1

OnTimeoutMethod · 0.85

Calls 3

FiosMakeFilenameFunction · 0.85
formatFunction · 0.50

Tested by

no test coverage detected