From b378e82676b299dc8d579cd2ac020758fbf52f84 Mon Sep 17 00:00:00 2001 From: yexo Date: Mon, 4 Jan 2010 18:33:43 +0000 Subject: (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 --- docs/landscape.html | 15 +++++++++++---- docs/landscape_grid.html | 6 +++--- 2 files changed, 14 insertions(+), 7 deletions(-) (limited to 'docs') diff --git a/docs/landscape.html b/docs/landscape.html index 97b766b46..280005da8 100644 --- 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 @@