|
OpenTTD Source 20251117-master-g7398d2e290
|
Height map - allocated array of heights (Map::SizeX() + 1) * (Map::SizeY() + 1) More...
Public Member Functions | |
| Height & | height (uint x, uint y) |
| Height map accessor. | |
Data Fields | |
| std::vector< Height > | h |
| int | dim_x |
| int | size_x |
| int | size_y |
Height map - allocated array of heights (Map::SizeX() + 1) * (Map::SizeY() + 1)
|
inline |
Height map accessor.
| x | X position |
| y | Y position |
Definition at line 176 of file tgp.cpp.
Referenced by GenerateTerrainPerlin(), HeightMapCoastLines(), HeightMapCurves(), HeightMapGenerate(), HeightMapGetMinMaxAvg(), HeightMapSmoothCoastInDirection(), and HeightMapSmoothSlopes().