From 37c9247a294e5e99674b515f8b77e569a82b33cb Mon Sep 17 00:00:00 2001 From: SamuXarick <43006711+SamuXarick@users.noreply.github.com> Date: Mon, 20 Jan 2025 12:26:41 +0000 Subject: [PATCH] Doc: Change MapSize to Map::Size --- src/tgp.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tgp.cpp b/src/tgp.cpp index 8b26a71074..c8fece4484 100644 --- a/src/tgp.cpp +++ b/src/tgp.cpp @@ -157,7 +157,7 @@ static const int HEIGHT_DECIMAL_BITS = 4; using Amplitude = int; static const int AMPLITUDE_DECIMAL_BITS = 10; -/** Height map - allocated array of heights (MapSizeX() + 1) x (MapSizeY() + 1) */ +/** Height map - allocated array of heights (Map::SizeX() + 1) x (Map::SizeY() + 1) */ struct HeightMap { std::vector h; //< array of heights @@ -312,7 +312,7 @@ static inline bool IsValidXY(int x, int y) /** - * Allocate array of (MapSizeX()+1)*(MapSizeY()+1) heights and init the _height_map structure members + * Allocate array of (Map::SizeX() + 1) * (Map::SizeY() + 1) heights and init the _height_map structure members * @return true on success */ static inline bool AllocHeightMap()