29 assert_compile(
sizeof(
Tile) == 8);
79 #define STRAIGHT_TRACK_LENGTH 7071/10000 int32 TileIndexDiff
An offset value between to tiles.
byte m7
Primarily used for newgrf support.
uint16 m2
Primarily used for indices to towns, industries and stations.
byte m1
Primarily used for ownership information.
static const uint MIN_MAP_SIZE
Minimal map size = 64.
int16 y
The y value of the coordinate.
int16 x
The x value of the coordinate.
Data that is stored per tile.
Data that is stored per tile.
A pair-construct of a TileIndexDiff.
LevelMode
Argument for CmdLevelLand describing what to do.
byte height
The height of the northern corner.
static const uint MAX_MAP_SIZE_BITS
Maximal size of map is equal to 2 ^ MAX_MAP_SIZE_BITS.
static const uint MAX_MAP_SIZE
Maximal map size = 4096.
byte type
The type (bits 4..7), bridges (2..3), rainforest/desert (0..1)
static const uint MIN_MAP_SIZE_BITS
Minimal and maximal map width and height.