### Landscape

Six attributes hold the information about a tile. This can be seen in the Landscape document. This page tries to give an overview of used and free bits of the array so you can quickly see what is used and what is not.

- O - bit is free
- X - bit is used
- - bit of attribute is abused for different purposes

- type_height - 8 bits in size, stores tile height (lower 4 bits) and tile class (upper 4 bits)
- m1 - 8 bits in size, used to identify the owner of that tile (eg piece of rail, bridge, etc.)
- m2 - 16 bits in size, used to identify the index of the given tile (object) in the (object-)array
- m3 - 8 bits in size, is used for general storage
- m4 - 8 bits in size, is used for general storage
- m5 - 8 bits in size, is used for general storage
- m6 - 8 bits in size, special meaning : lower 2 bits only valid in tropic climate, upper 2 bits for bridges

class | type_height (8) | m1 (8) | m2 (16) | m3 (8) | m4 (8) | m5 (8) | m6 (8)
--- | --- | --- | --- | --- | --- | --- | ---
bits | 7654 3210 | 7654 3210 | FEDC BA98 7654 3210 | 7654 3210 | 7654 3210 | 7654 3210 | 7654 3210
0 | ground | XXXX XXXX | XXXX XXXX | OOOO OOOO OOOO OOOO | OOOO OOOO | XXXX XXOO | XXXX XXXX | XXOO OOXX
farmland | -inherit- | -inherit- | XXXX XXXX XXXX XXXX | OOOO XXXX | -inherit- | OOOX XXXX | XXOO OOXX
1 | rail | XXXX XXXX | XXXX XXXX | OOOO OOOO XXXX XXXX | XXXX XXXX | OOOO OXXX | XXXX XXXX | XXOO OOXX
depot | -inherit- | -inherit- | OOOO OOOO OOOO OOOO | OOOO XXXX | OOOO XXXX | XXOO OXXX | XXOO OOXX
waypoint | -inherit- | -inherit- | XXXX XXXX XXXX XXXX | OOOO XXXX | OOOO XXXX | XXOO OXXX | XXOO OOXX
2 | road | XXXX XXXX | XXXX XXXX | XXXX XXXX XXXX XXXX | OOOO OOOO | XXXX XXXX | XXXX XXXX | XXOO OOXX
level crossing | -inherit- | -inherit- | -inherit- | XXXX XXXX | XXXX XXXX | XXXX XXOO | XXOO OOXX
road depot | -inherit- | -inherit- | OOOO OOOO OOOO OOOO | OOOO OOOO | XOOO OOOO | XXXX XXXX | XXOO OOXX
3 | town | XXXX XXXX | XXXX XXXX | XXXX XXXX XXXX XXXX | XXOO OOOO | XXXX XXXX | XOXX XXXX | OOOO OOXX
4 | trees | XXXX XXXX | XXXX XXXX | OOOO OOOO XXXX XXXX | XXXX XXXX | XXXX XXOO | XXOO OXXX | OOOO OOXX
5 | station | XXXX XXXX | XXXX XXXX | XXXX XXXX XXXX XXXX | XXXX XXXX | XXXX XXXX | XXXX XXXX | OOOO OOXX
6 | water | XXXX XXXX | XXXX XXXX | OOOO OOOO OOOO OOOO | OOOO OOOO | OOOO OOOO | OOOO OOXX | XXOO OOXX
8 | industry | XXXX XXXX | X OO X XXXX | XXXX XXXX XXXX XXXX | OOOO OOOO | OOOO OOOO | XXXX XXXX | OOOO OOXX
bubble/sugar/toffee, gold/copper/coal, oil wells, power station | -inherit- | X OOO OOOO | -inherit- | XXXX XXXX | OOOO OOOO | -inherit- | -inherit-
toy factory | -inherit- | X OOO OOOO | -inherit- | XXXX XXXX | XXXX XXXX | -inherit- | -inherit-
9 | tunnel entrance | XXXX XXXX | XXXX XXXX | OOOO OOOO OOOO OOOO | OOOO XXXX | XOOO OOOO | XOOO XXXX | XXOO OOXX
bridge ramp | XXXX XXXX | XXXX XXXX | OOOO OOOO XXXX OOOO | OOOO XXXX | XOOO OOOO | XOOO XXXX | XXOO OOXX
A | unmovables | XXXX XXXX | XXXX XXXX | OOOO OOOO OOOO OOOO | OOOO OOOO | OOOO OOOO | XXXX XXXX | XXOO OOXX