From 4cbab4f744e531d17d7e523d80092f54b4e4659d Mon Sep 17 00:00:00 2001 From: fonsinchen Date: Sun, 9 Feb 2014 12:56:36 +0000 Subject: (svn r26319) -Change: Allow map sizes up to 4096x4096. --- src/map_type.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/map_type.h b/src/map_type.h index c55f77c80..3add9e64a 100644 --- a/src/map_type.h +++ b/src/map_type.h @@ -59,9 +59,9 @@ struct TileIndexDiffC { /** Minimal and maximal map width and height */ static const uint MIN_MAP_SIZE_BITS = 6; ///< Minimal size of map is equal to 2 ^ MIN_MAP_SIZE_BITS -static const uint MAX_MAP_SIZE_BITS = 11; ///< Maximal size of map is equal to 2 ^ MAX_MAP_SIZE_BITS +static const uint MAX_MAP_SIZE_BITS = 12; ///< Maximal size of map is equal to 2 ^ MAX_MAP_SIZE_BITS static const uint MIN_MAP_SIZE = 1 << MIN_MAP_SIZE_BITS; ///< Minimal map size = 64 -static const uint MAX_MAP_SIZE = 1 << MAX_MAP_SIZE_BITS; ///< Maximal map size = 2048 +static const uint MAX_MAP_SIZE = 1 << MAX_MAP_SIZE_BITS; ///< Maximal map size = 4096 /** * Approximation of the length of a straight track, relative to a diagonal -- cgit v1.2.3-54-g00ecf