summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfonsinchen <fonsinchen@openttd.org>2014-02-09 12:56:36 +0000
committerfonsinchen <fonsinchen@openttd.org>2014-02-09 12:56:36 +0000
commit4cbab4f744e531d17d7e523d80092f54b4e4659d (patch)
tree1bf702da34e8d264fb6997d60dbbf62977ae0eb2 /src
parent2925a9005bab8cda715115cf985c128afdcf137e (diff)
downloadopenttd-4cbab4f744e531d17d7e523d80092f54b4e4659d.tar.xz
(svn r26319) -Change: Allow map sizes up to 4096x4096.
Diffstat (limited to 'src')
-rw-r--r--src/map_type.h4
1 files changed, 2 insertions, 2 deletions
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