Custom bridge heads: Document landscape array use.

This commit is contained in:
Jonathan G Rennison
2017-02-05 18:27:59 +00:00
parent da177d063f
commit 0cd99e576c
2 changed files with 33 additions and 1 deletions

View File

@@ -1443,6 +1443,36 @@
<td>
<ul>
<li>m1 bits 4..0: <a href="#OwnershipInfo">owner</a></li>
<li style="color: blue">m2 bits 7..0: custom road bridge heads (flat bridge heads only)<br>
Road/tram bits below are XORed with the axial bridge direction road bits.<br>
A non-custom bridge head configuration will have a value of 0.
<ul>
<li>m2 bits 7..4: Road bits<br>
Valid only if m7 bit 6 is set
</li>
<li>m2 bits 3..0: Tram bits<br>
Valid only if m7 bit 7 is set
</li>
</ul>
<table style="color: blue">
<tr>
<td align=left>bit 0: </td>
<td>NW piece</td>
</tr>
<tr>
<td align=left>bit 1: </td>
<td>SW piece</td>
</tr>
<tr>
<td align=left>bit 2: </td>
<td>SE piece</td>
</tr>
<tr>
<td align=left>bit 3: </td>
<td>NE piece</td>
</tr>
</table>
</li>
<li>m3 bits 7..4: <a href="#OwnershipInfo">owner</a> of tram</li>
<li>m3 bits 3..0: <a href="#TrackType">track type</a> for railway</li>
<li>m5 bit 4: pbs reservation state for railway</li>

View File

@@ -9,6 +9,7 @@
span.option{ font-family: "Courier New", Courier, mono; background-color: rgb(255,255, 30); }
span.free { font-family: "Courier New", Courier, mono; background-color: rgb(30, 178, 54); }
span.used { font-family: "Courier New", Courier, mono; }
span.used_p{ font-family: "Courier New", Courier, mono; background-color: cyan; }
td.bits { white-space: nowrap; text-align: center; font-family: "Courier New", Courier, mono; }
td.caption { white-space: nowrap; text-align: left; }
td li { white-space: nowrap; text-align: left; }
@@ -23,6 +24,7 @@ the array so you can quickly see what is used and what is not.
<ul>
<li><span style="font-weight: bold;"><span class="free">O</span></span> - bit is free</li>
<li><span style="font-weight: bold;"><span class="used">X</span></span> - bit is used</li>
<li><span style="font-weight: bold;"><span class="used_p">P</span></span> - bit is used by patch feature</li>
<li><span style="font-weight: bold;"><span class="abuse">&nbsp;</span></span> - bit of attribute is abused for different purposes, i.e. other bits define the actual meaning.</li>
<li><span style="font-weight: bold;"><span class="option">~</span></span> - bit is accessed, but does not really have a meaning (e.g. owner of clear land is always OWNER_NONE)</li>
</ul>
@@ -343,7 +345,7 @@ the array so you can quickly see what is used and what is not.
<td class="bits">-inherit-</td>
<td class="bits">-inherit-</td>
<td class="bits">-inherit-</td>
<td class="bits">-inherit-</td>
<td class="bits"><span class="free">OOOO OOOO</span> <span class="used_p">PPPP PPPP</span></td>
<td class="bits">-inherit-</td>
<td class="bits">-inherit-</td>
<td class="bits">-inherit-</td>