# HG changeset patch # User yexo # Date 2010-01-04 18:33:43 # Node ID b62f02f583d3114c7fe882b6848851c039480cd9 # Parent 24d7cfd54d1c216af19d3d9e2b7a6441e3cf7142 (svn r18719) -Feature: don't delete the rough/rocky status of a tile when it's covered by snow, this allows rocky tiles under snow if you have a variable snowline diff --git a/docs/landscape.html b/docs/landscape.html --- a/docs/landscape.html +++ b/docs/landscape.html @@ -11,12 +11,13 @@

Landscape

-

Seven attributes (counting "type_height") hold the informations about a tile.
+

Eight 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".
+ "m5", "m6" + and "m7".
The most important value is the class of a tile, stored in the upper 4 bits of the type_height attribute. The lower 4 bits are used to encode the height and slope data. @@ -80,6 +81,7 @@

  • m1: owner of the tile (normally 10)
  • m2: see fields
  • m3 bits 3..0: see fields
  • +
  • m3 bit 4: set if the tile is covered with snow
  • m4 bits 7..5: type of hedge on the SW border of the tile (1 through 6, or 0=none)
  • m4 bits 4..2: same as 7..5, but for the SE border
  • m5 bits 7..5: update counter, incremented on every periodic processing for tile types, @@ -722,8 +724,7 @@