Import extra large maps patch.
http://www.tt-forums.net/viewtopic.php?f=33&t=33137
This commit is contained in:

committed by
Jonathan G Rennison

parent
2816a65365
commit
7d2b4bd3ea
@@ -59,9 +59,11 @@ 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 = 20; ///< Maximal size of map is equal to 2 ^ MAX_MAP_SIZE_BITS
|
||||
static const uint MAX_MAP_TILES_BITS = 26; ///< Maximal number of tiles in a map is equal to 2 ^ MAX_MAP_TILES_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 = 8192
|
||||
static const uint MAX_MAP_TILES = 1 << MAX_MAP_TILES_BITS;///< Maximal number of tiles in a map = 2048 * 2048
|
||||
|
||||
/**
|
||||
* Approximation of the length of a straight track, relative to a diagonal
|
||||
|
Reference in New Issue
Block a user