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

Function LowestSnowLine

src/landscape.cpp:629–632  ·  view source on GitHub ↗

* Get the lowest possible snow line height, either variable or static. * @return the lowest snow line height. * @ingroup SnowLineGroup */

Source from the content-addressed store, hash-verified

627 * @ingroup SnowLineGroup
628 */
629uint8_t LowestSnowLine()
630{
631 return _snow_line == nullptr ? _settings_game.game_creation.snow_line_height : _snow_line->lowest_value;
632}
633
634/**
635 * Clear the variable snow line table and free the memory.

Callers 2

DrawWidgetMethod · 0.85
GetDesiredInfoHeightMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected