Landscape

Five 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.

class m1[L1] (8) m2[L2] (16) m3/m4[L3] (16) type_height[L4] (8) m5[L5] (8)
bits 0123 4567 0123 4567 0123 4567 0123 4567 0123 4567 0123 4567 0123 4567
(0) ground XXXX XXXX OOOO OOOO OOOO OOOO XXXX OOOO OOXX XXXX XXXX XXXX XXXX XOXX
(1) rail XXXX XXXX XXXX XXXX OOOO OOOO
XXXX XXXX XXXX XXXX
XXXX XXXX XXXX XXXX
  • depot/checkpoint
-inherit- OOOO OOOO OOOO OOOO XXXX XOOO XXXX XXXX -inherit- XXXO OOXX
(2) road XXXX XXXX XXXX XXXX XXXX XXXX OOOO OOOO XXXX XXXX XXXX XXXX XXXX XXXX
  • level crossing
-inherit- XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX -inherit- OOXX XXXX
  • road depot
-inherit- OOOO OOOO OOOO OOOO OOOO OOOO OOOO OOOX -inherit- XXXX XXXX
(3) town XXXX XXXX XXXX XXXX XXXX XXXX
OOOO OOXX XXXX XXXX
XXXX XXXX XXXX XXOX
(4) trees XXXX XXXX XXXX XXOO OOOO OOOO XXXX XXXX OOXX XXXX XXXX XXXX XXXO OOXX
(5) station XXXX XXXX XXXX XXXX XXXX XXXX XXXX XOOO XXXX XXXX XXXX XXXX XXXX XXXX
(6) water XXXX XXXX OOOO OOOO OOOO OOOO OOOO OOOO OOOO OOOO XXXX XXXX XXXX XXXX
(8) industry XXXX XOOX XXXX XXXX XXXX XXXX OOOO OOOO OOOO OOOO XXXX XXXX XXXX XXXX
  • bubble/sugar/toffee
-inherit- -inherit- XXXX XXXX OOOO OOOO -inherit- -inherit-
  • toy factory
-inherit- -inherit- XXXX XXXX XXXX XXXX -inherit- -inherit-
  • gold/copper/coal
XXXX XXXX -inherit- -inherit- -inherit- -inherit-
  • oil wells
-inherit- -inherit- -inherit- -inherit- -inherit-
  • power station
XXXX XXOX -inherit- -inherit- -inherit- -inherit-
(9) tunnel XXXX XXXX OOOO OOOO OOOO OOOO XXXX OOOO OOOO OOOX XXXX XXXX XXXX XXXX
  • bridge
XXXX XXXX XXXX XXXX OOOO OOOO XXXX XXXX OOOO OOOX XXXX XXXX XXXX XXXX
(10) various (HQ) XXXX XXXX OOOO OOOO OOOO OOOO OOOO OOOO OOOO OOOO XXXX XXXX XXXX XXXX