OpenTTD Source
12.0-beta2
|
Go to the documentation of this file.
27 static_assert(
sizeof(
Tile) == 8);
78 #define STRAIGHT_TRACK_LENGTH 7071/10000
static const uint MIN_MAP_SIZE
Minimal map size = 64.
static const uint MIN_MAP_SIZE_BITS
Minimal and maximal map width and height.
uint16 m2
Primarily used for indices to towns, industries and stations.
byte m1
Primarily used for ownership information.
@ LM_LEVEL
Level the land.
LevelMode
Argument for CmdLevelLand describing what to do.
int16 y
The y value of the coordinate.
Data that is stored per tile.
@ LM_RAISE
Raise the land.
A pair-construct of a TileIndexDiff.
int32 TileIndexDiff
An offset value between to tiles.
static const uint MAX_MAP_SIZE_BITS
Maximal size of map is equal to 2 ^ MAX_MAP_SIZE_BITS.
Data that is stored per tile.
byte m7
Primarily used for newgrf support.
static const uint MAX_MAP_SIZE
Maximal map size = 4096.
uint16 m8
General purpose.
byte height
The height of the northern corner.
byte type
The type (bits 4..7), bridges (2..3), rainforest/desert (0..1)
@ LM_LOWER
Lower the land.
int16 x
The x value of the coordinate.