OpenTTD Source 20241224-master-gee860a5c8e
|
Height map - allocated array of heights (MapSizeX() + 1) x (MapSizeY() + 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 (MapSizeX() + 1) x (MapSizeY() + 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().