OpenTTD
|
Height map - allocated array of heights (MapSizeX() + 1) x (MapSizeY() + 1) More...
Public Member Functions | |
height_t & | height (uint x, uint y) |
Height map accessor. |
Data Fields | |
height_t * | h |
int | dim_x |
int | total_size |
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 180 of file tgp.cpp.
Referenced by GenerateTerrainPerlin(), HeightMapCoastLines(), HeightMapCurves(), HeightMapGenerate(), HeightMapGetMinMaxAvg(), HeightMapSmoothCoastInDirection(), and HeightMapSmoothSlopes().