Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenLoco/OpenLoco
/ getHeight
Method
getHeight
src/OpenLoco/src/Map/MapGenerator/HeightMap.cpp:13–16 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
11
}
12
13
uint8_t HeightMap::getHeight(TilePos2 pos) const
14
{
15
return (*this)[pos] & ~kHeightmapMarkedFlag;
16
}
17
18
bool HeightMap::isMarkerSet(TilePos2 pos) const
19
{
Callers
5
generateTerrainFarFromWater
Function · 0.80
generateTerrainNearWater
Function · 0.80
generateTerrainOnMountains
Function · 0.80
generateTerrainFarFromMountains
Function · 0.80
generateTerrainAroundCliffs
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected