From 1572d1fb3de9fe3a173229d7fa0b3c0a82f00d3a Mon Sep 17 00:00:00 2001 From: Pieter-Jan Briers Date: Sun, 5 May 2019 15:44:11 +0200 Subject: [PATCH] Improve wording in the map format documentation file. --- docs/Map Format.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/Map Format.md b/docs/Map Format.md index 4c2eaf493..7a622521c 100644 --- a/docs/Map Format.md +++ b/docs/Map Format.md @@ -55,7 +55,7 @@ Each entry into the `chunks` sequence is a mapping for a single chunk of the gri * `ind`: The chunk index. * `tiles`: Base64 encoded tile data. See below. -Tile data is a binary array of the tile data of a chunk. Tiles are ordered without gaps, x coords being more significant, so x will increase per row, then every y coordinate is iterated, then x increases again, etc.. +Tile data is a binary array of the tile data of a chunk. Tiles are ordered without gaps, in row-major order. Tiles are 4 bytes in size (`ushort` for Tile ID, `ushort` for tile metadata field, little endian) Thus, since the amount of tiles is equal to `chunksize * chunksize`, the tile data per chunk is exactly `chunksize * chunksize * 4` bytes long.