summaryrefslogtreecommitdiff
path: root/docs/landscape.html
diff options
context:
space:
mode:
authorDarkvater <darkvater@openttd.org>2005-03-11 00:32:24 +0000
committerDarkvater <darkvater@openttd.org>2005-03-11 00:32:24 +0000
commite98a7ff23916ecf456f47651a7d82db97b96ea7a (patch)
treef3affaa82190042479a18d811ad23fb6ea9c4c46 /docs/landscape.html
parent0b82467cf19b9b586fdf8793c9e84eb8fc167bda (diff)
downloadopenttd-e98a7ff23916ecf456f47651a7d82db97b96ea7a.tar.xz
(svn r1988) - Docs: Added graphical representation of tile-data to docs section
Diffstat (limited to 'docs/landscape.html')
-rw-r--r--docs/landscape.html2
1 files changed, 1 insertions, 1 deletions
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 @@
<h3><a name="Landscape">Landscape</a></h3>
<p>
-Five arrays are used to encode the information of the contents of each tile. These arrays are referred to as <a href="#_landscape1">map_owner</a>, <a href="#_landscape2">map2</a>, <a href="#_landscape3">map3_lo</a>, <a href="#_landscape4">type_and_height</a> and <a href="#_landscape5">map5</a>. 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 <a href="#_landscape1">map_owner</a>, <a href="#_landscape2">map2</a>, <a href="#_landscape3">map3_lo</a>, <a href="#_landscape4">type_and_height</a> and <a href="#_landscape5">map5</a>. 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 <a href="landscape_grid.html">Landscape grid</a> page.
</p>
<p>
<a name="OwnershipInfo">Owner values</a> <tt>00</tt> through <tt>07</tt> are companies (they're indices into the <a href="#_CompanyArray">array of companies</a>), <tt>10</tt> is no owner, <tt>11</tt> appears to be reserved for water, <tt>80</tt> and above are towns (in this case the low 7 bits contain an index into the <a href="#_TownArray">town array</a>).