diff --git a/docs/landscape.html b/docs/landscape.html
index cb44992a64..db5fcd3b32 100644
--- a/docs/landscape.html
+++ b/docs/landscape.html
@@ -11,15 +11,42 @@
- Seven attributes (counting "type_height") hold the informations about a tile.
+
Seven attributes (counting "type_height") hold the informations about a tile.
These attributes are referred to as
"type_height",
"m1", "m2",
"m3", "m4",
"m5" and "m6".
The most important value is the class of a tile, stored in the upper 4 bits
- of the type_height array. The lower 4 bits are used to encode the height and
- slope data.
+ of the type_height attribute. The lower 4 bits are used to encode the height and
+ slope data.
+
+
+ Special Attribute : m6. There are 4 bits of it that are used accross multiple tile classes
+
+ -
+
+ Bits 7..6 :
+
+ Presence and direction of bridge above, for tiles that support this. |
+ 00 | no bridge |
+ 01 | Axis X (North-East) |
+ 02 | Axis Y (South-West) |
+
+
+ -
+
+ Bits 1..0 :
+
+ Only meaningfull in tropic climate. It contains the definition of the two available zones |
+ 00 | invalid zone |
+ 01 | desert |
+ 02 | rain forest |
+
+ In any other climate, those 2 bits are free of use.
+
+
+
For a graphical representation of the tile-layout have a look at
Landscape grid page.
@@ -27,7 +54,7 @@
The owner of a tile, as frequently associated with attribute m1,
can be either players (human or AI) or "Game entities".
They are identified using:
-
+
00 | current player |
01..08 | AI or network players |
0F | a town owns the tile |
@@ -45,7 +72,7 @@
0 |
- Ground |
+ | Ground |
|
@@ -127,6 +154,8 @@
+ m6 bits 7..6 : Possibility of a bridge above, in the direction specified
+ m6 bits 1..0 : Tropic zone definition
@@ -432,6 +461,8 @@
+ m6 bits 7..6 : Possibility of a bridge above, in the direction specified
+ m6 bits 1..0 : Tropic zone definition
@@ -523,6 +554,8 @@
m5 bit 2: set if crossing lights are on
+ m6 bits 7..6 : Possibility of a bridge above, in the direction specified
+ m6 bits 1..0 : Tropic zone definition
@@ -1148,6 +1181,7 @@
One 'normal' floor has a height of 6 lift positions.
+ m6 bits 1..0 : Tropic zone definition
@@ -1160,80 +1194,82 @@
|
- - m1: owner (normally 10)
- - m2 bits 5..4:
-
+ - m1: owner (normally 10)
+ - m2 bits 5..4:
+
-
- 0 |
- on grass |
-
+
+ 0 |
+ on grass |
+
-
- 1 |
- on rough land |
-
+
+ 1 |
+ on rough land |
+
-
- 2 |
- on snow or desert; m2 bits 7..6 - amount of snow or desert (for desert always set to 3 in TTD) |
-
-
-
- - m2 bits 3..0: update counter, incremented on every periodic processing.
- on wraparound the growth status is updated (or, if it's 3, a random action is taken)
- - m3 bits 7..0: type of trees:
-
-
- 00..0B |
- temperate climate trees |
-
+
+ 2 |
+ on snow or desert; m2 bits 7..6 - amount of snow or desert (for desert always set to 3 in TTD) |
+
+
+
+ - m2 bits 3..0: update counter, incremented on every periodic processing.
+ on wraparound the growth status is updated (or, if it's 3, a random action is taken)
+ - m3 bits 7..0: type of trees:
+
+
+ 00..0B |
+ temperate climate trees |
+
-
- 0C..13 |
- sub-arctic climate trees |
-
+
+ 0C..13 |
+ sub-arctic climate trees |
+
-
- 14..1A |
- rainforest trees |
-
+
+ 14..1A |
+ rainforest trees |
+
-
- 1B |
- cactus plants |
-
+
+ 1B |
+ cactus plants |
+
-
- 1C..1F |
- sub-tropical climate, non-rainforest, non-desert trees |
-
+
+ 1C..1F |
+ sub-tropical climate, non-rainforest, non-desert trees |
+
-
- 20..28 |
- toyland trees |
-
-
- Note: the actually displayed set of trees depends on both type and number of trees
-
- - m4 bits 7..5: type of hedge on the SW border of the tile (1 through 6, or 0=none)
- - m4 bits 4..2: type of hedge on the SE border of the tile (1 through 6, or 0=none)
- - m5 bits 7..6: number of trees minus one
- - m5 bits 2..0: growth status:
-
-
- 0..2 |
- one of trees is growing |
-
-
- 3 |
- all trees are fully grown |
-
-
- 4..6 |
- one of trees is withering |
-
-
+
+ 20..28 |
+ toyland trees |
+
+
+ Note: the actually displayed set of trees depends on both type and number of trees
+
+ - m4 bits 7..5: type of hedge on the SW border of the tile (1 through 6, or 0=none)
+ - m4 bits 4..2: type of hedge on the SE border of the tile (1 through 6, or 0=none)
+ - m5 bits 7..6: number of trees minus one
+ - m5 bits 2..0: growth status:
+
+
+ 0..2 |
+ one of trees is growing |
+
+
+ 3 |
+ all trees are fully grown |
+
+
+ 4..6 |
+ one of trees is withering |
+
+
+
+ - m6 bits 1..0 : Tropic zone definition
|
@@ -1469,6 +1505,7 @@
m6 bit 3: 1 when a drive through road stop is built over a town owned road, otherwise 0
+ m6 bits 1..0 : Tropic zone definition
@@ -1575,6 +1612,8 @@
+ m6 bits 7..6 : Possibility of a bridge above, in the direction specified
+ m6 bits 1..0 : Tropic zone definition
@@ -1907,6 +1946,7 @@
+ m6 bits 1..0 : Tropic zone definition
@@ -1916,102 +1956,104 @@
Tunnel / bridge |
- |
-
-
- - m5 bits 7..4 clear: tunnel entrance/exit
-
- - m1: owner of the tunnel
- - m3 bits 3..0 = track type for railway tunnel, must be 0 for road tunnel
- - m4 bit 7 set = on snow or desert
- - m5 bits 3..2: 0 - railway tunnel, 1 - road tunnel
- - m5 bits 1..0 - direction: entrance towards: 0 = NE, 1 = SE, 2 = SW, 3 = NW
-
-
- - m5 bit 7 set: bridge ramp
-
- - m1: owner of the bridge
- - m2 bits 7..4: bridge type:
-
-
- Type |
- Max. speed (mph) |
- Description |
-
+ |
+
+
+ - m5 bits 7..4 clear: tunnel entrance/exit
+
+ - m1: owner of the tunnel
+ - m3 bits 3..0 = track type for railway tunnel, must be 0 for road tunnel
+ - m4 bit 7 set = on snow or desert
+ - m5 bits 3..2: 0 - railway tunnel, 1 - road tunnel
+ - m5 bits 1..0 - direction: entrance towards: 0 = NE, 1 = SE, 2 = SW, 3 = NW
+
+
+ - m5 bit 7 set: bridge ramp
+
+ - m1: owner of the bridge
+ - m2 bits 7..4: bridge type:
+
+
+ Type |
+ Max. speed (mph) |
+ Description |
+
-
- 0 |
- 20 |
- wooden |
-
+
+ 0 |
+ 20 |
+ wooden |
+
-
- 1 |
- 30 |
- concrete |
-
+
+ 1 |
+ 30 |
+ concrete |
+
-
- 2 |
- 40 |
- girder, steel |
-
+
+ 2 |
+ 40 |
+ girder, steel |
+
-
- 3 |
- 50 |
- suspension, concrete |
-
+
+ 3 |
+ 50 |
+ suspension, concrete |
+
-
- 4 |
- 60 |
- suspension, steel |
-
+
+ 4 |
+ 60 |
+ suspension, steel |
+
-
- 5 |
- 70 |
- suspension, steel |
-
+
+ 5 |
+ 70 |
+ suspension, steel |
+
-
- 6 |
- 100 |
- cantilever, steel |
-
+
+ 6 |
+ 100 |
+ cantilever, steel |
+
-
- 7 |
- 130 |
- cantilever, steel |
-
+
+ 7 |
+ 130 |
+ cantilever, steel |
+
-
- 8 |
- 150 |
- cantilever, steel |
-
+
+ 8 |
+ 150 |
+ cantilever, steel |
+
-
- 9 |
- 160 |
- girder, steel |
-
+
+ 9 |
+ 160 |
+ girder, steel |
+
-
- A |
- 200 |
- tubular, steel |
-
-
-
- - m3 bits 3..0 = type of track on the bridge, must be 0 for road bridge
- - m4 bit 7 set = on snow or desert
- - m5 bits 3..2: 0 - railway bridge, 1 - road bridge
- - m5 bits 1..0: DiagDirection onto the bridge
-
-
+
+ A |
+ 200 |
+ tubular, steel |
+
+ |
+
+ - m3 bits 3..0 = type of track on the bridge, must be 0 for road bridge
+ - m4 bit 7 set = on snow or desert
+ - m5 bits 3..2: 0 - railway bridge, 1 - road bridge
+ - m5 bits 1..0: DiagDirection onto the bridge
+
+
+ - m6 bits 7..6 : Possibility of a bridge above, in the direction specified
+ - m6 bits 1..0 : Tropic zone definition
|
@@ -2053,6 +2095,8 @@
+ m6 bits 7..6 : Possibility of a bridge above, in the direction specified
+ m6 bits 1..0 : Tropic zone definition