diff options
author | peter1138 <peter1138@openttd.org> | 2019-04-06 07:46:15 +0100 |
---|---|---|
committer | Michael Lutz <michi@icosahedron.de> | 2019-05-01 21:36:27 +0200 |
commit | c02ef3e4564b7b54d49f0827d2d7625cbc38f335 (patch) | |
tree | 1c0ee62b6ce55124b247daaafa42300bfaa932e7 /docs | |
parent | 21edf67f89c60351d5a0d84625455aa296b6b950 (diff) | |
download | openttd-c02ef3e4564b7b54d49f0827d2d7625cbc38f335.tar.xz |
Feature: Add NotRoadTypes (NRT)
Diffstat (limited to 'docs')
-rw-r--r-- | docs/landscape.html | 51 | ||||
-rw-r--r-- | docs/landscape_grid.html | 30 |
2 files changed, 49 insertions, 32 deletions
diff --git a/docs/landscape.html b/docs/landscape.html index d4d8f7efe..1a6cd8386 100644 --- a/docs/landscape.html +++ b/docs/landscape.html @@ -98,6 +98,32 @@ </li> </ul> </li> + <li><span style="font-weight: bold;">m4:</span><br> + <a name="RoadType"></a> + Road roadtype. Used for all tiles with road (road, station, tunnelbridge). + <ul> + <li> + Bits 5..0: Road roadtype, 0x3F for no road. + </li> + </ul> + </li> + <li><span style="font-weight: bold;">m8:</span><br> + <a name="TramType"></a> + Tram roadtype. Used for all tiles with road (road, station, tunnelbridge). + <ul> + <li> + Bits 11..6: Tram roadtype, 0x3F for no tram. + </li> + </ul> + </li> + <li><span style="font-weight: bold;">m8:</span><br> + <ul> + <li> + <a name="RailType"></a> + Bits 5..0: Railtype. Used for all tiles with rail (road, rail, station, tunnelbridge). + </li> + </ul> + </li> <li><span style="font-weight: bold;">m7:</span><br> Animation frame/state. Used for houses, industries, objects and stations. </li> @@ -108,7 +134,7 @@ <table border=1 cellpadding=3> <tr bgcolor="#0099FF"> <th align=left><font color="#FFFFFF">Class</font></th> - <th align=left><font color="#FFFFFF">Meaning & details of encoding</font></th> + <th align=left><font color="#FFFFFF">Meaning & details of encoding</font></th> </tr> <tr bgcolor="#CCCCCC"> <td align=left><strong><a name="Class0"><tt> 0 </tt></a></strong></td> @@ -535,21 +561,10 @@ <td> <ul> <li>m2: Index into the array of towns (owning town for town roads; closest town otherwise, INVALID_TOWN if there is no town or we are creating a town)</li> - <li>m7 bit 5 set = on snow or desert</li> - <li>m7 bits 7..6: present road types - <table> - <tr> - <td>bit 0 </td> - <td>normal road</td> - </tr> - - <tr> - <td>bit 1 </td> - <td>tram</td> - </tr> - </table> - </li> <li>m3 bits 7..4: <a href="#OwnershipInfo">owner</a> of road type 1 (tram); OWNER_NONE (<tt>10</tt>) is stored as OWNER_TOWN (<tt>0F</tt>) + <li>m4 bits 5..0: <a href="#RoadType">Roadtype</a></li> + <li>m7 bit 5 set = on snow or desert</li> + <li>m8 bits 11..6: <a href="#TramType">Tramtype</a></li> <li>m5 bits 7 clear: road or level-crossing <ul> <li>m6 bits 5..3: @@ -862,6 +877,7 @@ <li>m3 bits 7..4: persistent random data for railway stations/waypoints and airports)</li> <li>m3 bits 7..4: <a href="#OwnershipInfo">owner</a> of tram tracks (road stop)</li> <li>m4: custom station id; 0 means standard graphics</li> + <li>m4: <a href="#RoadType">Roadtype</a> for road stops</li> <li>m5: graphics index (range from 0..255 for each station type): <table> <tr> @@ -977,8 +993,8 @@ <li>m6 bit 2: pbs reservation state for railway stations/waypoints</li> <li>m7 bits 4..0: <a href="#OwnershipInfo">owner</a> of road (road stops)</li> - <li>m7 bits 7..6: present road types (road stops)</li> <li>m7: animation frame (railway stations/waypoints, airports)</li> + <li>m8 bits 11..6: <a href="#TramType">Tramtype</a></li> <li>m8 bits 5..0: <a href="#TrackType">track type</a> for railway stations/waypoints</li> </ul> </td> @@ -1445,6 +1461,7 @@ <ul> <li>m1 bits 4..0: <a href="#OwnershipInfo">owner</a></li> <li>m3 bits 7..4: <a href="#OwnershipInfo">owner</a> of tram</li> + <li>m4: <a href="#RoadType">Roadtype</a></li> <li>m5 bit 4: pbs reservation state for railway</li> <li>m5 bits 7 clear: tunnel entrance/exit</li> <li>m5 bit 7 set: bridge ramp @@ -1581,7 +1598,7 @@ </li> <li>m7 bits 4..0: <a href="#OwnershipInfo">owner</a> of road</li> <li>m7 bit 5 set = on snow or desert</li> - <li>m7 bits 7..6: present road types for road</li> + <li>m8 bits 11..6: <a href="#TramType">Tramtype</a></li> <li>m8 bits 5..0: <a href="#TrackType">track type</a> for railway</li> </ul> </td> diff --git a/docs/landscape_grid.html b/docs/landscape_grid.html index 4948366e6..5d65214cb 100644 --- a/docs/landscape_grid.html +++ b/docs/landscape_grid.html @@ -143,11 +143,11 @@ the array so you can quickly see what is used and what is not. <td class="bits"><span class="free">OOO</span>X XXXX</td> <td class="bits">XXXX XXXX XXXX XXXX</td> <td class="bits">XXXX XXXX</td> - <td class="bits"><span class="free">OOOO OOOO</span></td> + <td class="bits"><span class="free">OO</span>XX XXXX</td> <td class="bits">XXXX XXXX</td> <td class="bits"><span class="free">OO</span>XX X<span class="free">OOO</span></td> - <td class="bits">XXX<span class="free">O</span> XXXX</td> - <td class="bits"><span class="free">OOOO OOOO OOOO OOOO</span></td> + <td class="bits"><span class="free">OO</span>X<span class="free">O</span> XXXX</td> + <td class="bits"><span class="free">OOOO</span> XXXX XX<span class="free">OO OOOO</span></td> </tr> <tr> <td class="caption">level crossing</td> @@ -159,8 +159,8 @@ the array so you can quickly see what is used and what is not. <td class="bits"><span class="free">OOOO OOOO</span></td> <td class="bits">XXXX <span class="free">OOO</span>X</td> <td class="bits"><span class="free">OO</span>XX X<span class="free">OOO</span></td> - <td class="bits">XXXX XXXX</td> - <td class="bits"><span class="free">OOOO OOOO OO</span>XX XXXX</td> + <td class="bits"><span class="free">OO</span>XX XXXX</td> + <td class="bits"><span class="free">OOOO</span> XXXX XXXX XXXX</td> </tr> <tr> <td class="caption">road depot</td> @@ -169,11 +169,11 @@ 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">XXXX <span class="free">OOOO</span></td> - <td class="bits"><span class="free">OOOO OOOO</span></td> + <td class="bits">-inherit-</td> <td class="bits">XX<span class="free">OO OO</span>XX</td> <td class="bits"><span class="free">OOOO OOOO</span></td> - <td class="bits">XXX<span class="free">O</span> XXXX</td> - <td class="bits"><span class="free">OOOO OOOO OOOO OOOO</span></td> + <td class="bits"><span class="free">OO</span>X<span class="free">O</span> XXXX</td> + <td class="bits">-inherit-</td> </tr> <tr> <td>3</td> @@ -237,11 +237,11 @@ 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">XXXX <span class="free">OOOO</span></td> - <td class="bits"><span class="free">OOOO OOOO</span></td> + <td class="bits"><span class="free">OO</span>XX XXXX</td> <td class="bits"><span class="option">~~~~ ~</span>XXX</td> <td class="bits"><span class="free">OO</span>XX X<span class="free">OOO</span></td> - <td class="bits">XX<span class="free">O</span>X XXXX</td> - <td class="bits"><span class="free">OOOO OOOO OOOO OOOO</span></td> + <td class="bits"><span class="free">OOO</span>X XXXX</td> + <td class="bits"><span class="free">OOOO</span> XXXX XX<span class="free">OO OOOO</span></td> </tr> <tr> <td class="caption">dock</td> @@ -357,11 +357,11 @@ the array so you can quickly see what is used and what is not. <td class="bits"><span class="free">OOO</span>X XXXX</td> <td class="bits"><span class="free">OOOO OOOO OOOO OOOO</span></td> <td class="bits">XXXX <span class="free">OOOO</span></td> - <td class="bits"><span class="free">OOOO OOOO</span></td> + <td class="bits"><span class="free">OO</span>XX XXXX</td> <td class="bits">X<span class="free">OO</span>X XXXX</td> <td class="bits"><span class="free">OOOO OOOO</span></td> - <td class="bits">XXXX XXXX</td> - <td class="bits"><span class="free">OOOO OOOO OO</span>XX XXXX</td> + <td class="bits"><span class="free">OO</span>XX XXXX</td> + <td class="bits"><span class="free">OOOO</span> XXXX XXXX XXXX</td> </tr> <tr> <td>bridge ramp</td> @@ -370,7 +370,7 @@ the array so you can quickly see what is used and what is not. <td class="bits">-inherit-</td> <td class="bits"><span class="free">OOOO OOOO OOOO OOOO</span></td> <td class="bits">-inherit-</td> - <td class="bits"><span class="free">OOOO OOOO</span></td> + <td class="bits">-inherit-</td> <td class="bits">-inherit-</td> <td class="bits"><span class="free">OO</span>XX XX<span class="free">OO</span></td> <td class="bits">-inherit-</td> |