summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarkvater <darkvater@openttd.org>2006-09-12 10:42:04 +0000
committerDarkvater <darkvater@openttd.org>2006-09-12 10:42:04 +0000
commitbd5f2b66cd6242c5f1159acf446847b8cdbfbd3b (patch)
tree9f51464e120915e44c11e5a52fd84e8d86216a90
parent9532c873c12b6d8f3c2715707d76b764251af2df (diff)
downloadopenttd-bd5f2b66cd6242c5f1159acf446847b8cdbfbd3b.tar.xz
(svn r6443) -Fix (r6001): Please update the documentation if you mess with the _m[] bits!
-rw-r--r--docs/landscape.html4
-rw-r--r--docs/landscape_grid.html13
2 files changed, 14 insertions, 3 deletions
diff --git a/docs/landscape.html b/docs/landscape.html
index d183e10d0..4383fab8a 100644
--- a/docs/landscape.html
+++ b/docs/landscape.html
@@ -40,7 +40,9 @@ OTTD's class-specific periodic tile processing routine is called once every +256
<tr><td nowrap valign=top><tt>03</tt>&nbsp; </td><td align=left>full grass</td></tr>
<tr><td nowrap valign=top><tt>07</tt>&nbsp; </td><td align=left>rough land</td></tr>
<tr><td nowrap valign=top><tt>0B</tt>&nbsp; </td><td align=left>rocks</td></tr>
-<tr><td nowrap valign=top><tt>0F</tt>&nbsp; </td><td align=left>fields; type of fields in m3 bits 3..0 (legal values: 0 through 9)</td></tr>
+<tr><td nowrap valign=top><tt>0F</tt>&nbsp; </td><td align=left>fields; type of fields in m3 bits 3..0 (legal values: 0 through 9)<br>
+ m2: Index into the array of industries (farms), INVALID_INDUSTRY (0xFFFF) if farm has been removed </td>
+</tr>
<tr><td nowrap valign=top><tt>10</tt>&nbsp; </td><td align=left>1/4 snow</td></tr>
<tr><td nowrap valign=top><tt>11</tt>&nbsp; </td><td align=left>2/4 snow</td></tr>
<tr><td nowrap valign=top><tt>12</tt>&nbsp; </td><td align=left>3/4 snow</td></tr>
diff --git a/docs/landscape_grid.html b/docs/landscape_grid.html
index dc809a674..7ed12c941 100644
--- a/docs/landscape_grid.html
+++ b/docs/landscape_grid.html
@@ -55,16 +55,25 @@ the array so you can quickly see what is used and what is not.
<td class="bits">7654 3210</td>
</tr>
<tr>
- <td>0</td>
+ <td rowspan="2">0</td>
<td class="caption">ground</td>
<td class="bits">XXXX XXXX</td>
<td class="bits"><span class="free">OOOO OOOO OOOO OOOO</span></td>
- <td class="bits"><span class="free">OOOO</span> XXXX</td>
+ <td class="bits"><span class="free">OOOO OOOO</span></td>
<td class="bits">XXXX XX<span class="free">OO</span></td>
<td class="bits">XXXX XXXX</td>
<td class="bits">XXXX XXXX</td>
</tr>
<tr>
+ <td class="caption">farmland</td>
+ <td class="bits">-inherit-</td>
+ <td class="bits">XXXX XXXX XXXX XXXX</td>
+ <td class="bits"><span class="free">OOOO</span> XXXX</td>
+ <td class="bits">-inherit-</td>
+ <td class="bits">-inherit-</td>
+ <td class="bits"><span class="free">OOO</span>X XXXX</td>
+ </tr>
+ <tr>
<td rowspan=3>1</td>
<td class="caption">rail</td>
<td class="bits">XXXX XXXX</td>