From e98a7ff23916ecf456f47651a7d82db97b96ea7a Mon Sep 17 00:00:00 2001 From: Darkvater Date: Fri, 11 Mar 2005 00:32:24 +0000 Subject: (svn r1988) - Docs: Added graphical representation of tile-data to docs section --- docs/landscape.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/landscape.html') diff --git a/docs/landscape.html b/docs/landscape.html index 0690b3405..4b57808a1 100644 --- a/docs/landscape.html +++ b/docs/landscape.html @@ -11,7 +11,7 @@

Landscape

-Five arrays are used to encode the information of the contents of each tile. These arrays are referred to as map_owner, map2, map3_lo, type_and_height and map5. The known encodings are listed in the table below. The most important value is the class of a tile, stored in the upper 4 bits of the type_and_height array. +Five arrays are used to encode the information of the contents of each tile. These arrays are referred to as map_owner, map2, map3_lo, type_and_height and map5. The known encodings are listed in the table below. The most important value is the class of a tile, stored in the upper 4 bits of the type_and_height array. The lower 4 bits are used to encode the height and slope data. For a graphical represenation of the tile-layout have a look at Landscape grid page.

Owner values 00 through 07 are companies (they're indices into the array of companies), 10 is no owner, 11 appears to be reserved for water, 80 and above are towns (in this case the low 7 bits contain an index into the town array). -- cgit v1.2.3-54-g00ecf