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 @@

Landscape

-

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
+ +

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: - +
@@ -45,7 +72,7 @@ - @@ -127,6 +154,8 @@
00  current player
01..08  AI or network players
0F  a town owns the tile
0  Ground +  Ground
 
+
  • 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 @@   @@ -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 -   - - @@ -2053,6 +2095,8 @@ +
  • m6 bits 7..6 : Possibility of a bridge above, in the direction specified
  • +
  • m6 bits 1..0 : Tropic zone definition