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

Function HighestSnowLine

src/landscape.cpp:619–622  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

617 * @ingroup SnowLineGroup
618 */
619uint8_t HighestSnowLine()
620{
621 return _snow_line == nullptr ? _settings_game.game_creation.snow_line_height : _snow_line->highest_value;
622}
623
624/**
625 * Get the lowest possible snow line height, either variable or static.

Callers 3

CheckNewIndustry_ForestFunction · 0.85
CheckNewIndustry_FarmFunction · 0.85
TryBuildTownHouseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected