1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-09-02 03:19:10 +00:00

Doc: Standardize map size notation and multiply operator

This commit is contained in:
SamuXarick
2025-01-20 13:40:45 +00:00
committed by rubidium42
parent 9bf882b3f7
commit 62002c6eae

View File

@@ -157,7 +157,7 @@ static const int HEIGHT_DECIMAL_BITS = 4;
using Amplitude = int; using Amplitude = int;
static const int AMPLITUDE_DECIMAL_BITS = 10; static const int AMPLITUDE_DECIMAL_BITS = 10;
/** Height map - allocated array of heights (Map::SizeX() + 1) x (Map::SizeY() + 1) */ /** Height map - allocated array of heights (Map::SizeX() + 1) * (Map::SizeY() + 1) */
struct HeightMap struct HeightMap
{ {
std::vector<Height> h; //< array of heights std::vector<Height> h; //< array of heights