mirror of https://github.com/OpenTTD/OpenTTD
(svn r2525) - Fix: [pbs] Fix a mistake in the comments/docs.
parent
e4215f1751
commit
e5df099c9b
|
@ -120,8 +120,8 @@ map5 bit 7 clear: railway track
|
||||||
<tr><td nowrap valign=top><tt>B</tt> </td><td align=left>fence on the N side (track in the S corner)</td></tr>
|
<tr><td nowrap valign=top><tt>B</tt> </td><td align=left>fence on the N side (track in the S corner)</td></tr>
|
||||||
<tr><td nowrap valign=top><tt>C</tt> </td><td align=left>on snow or desert</td></tr>
|
<tr><td nowrap valign=top><tt>C</tt> </td><td align=left>on snow or desert</td></tr>
|
||||||
</table></li>
|
</table></li>
|
||||||
<li>map3_lo bits 0..3 = <a name="TrackType">track type</a>: <tt>0</tt> - conventional railway, <tt>1</tt> - monorail, <tt>2</tt> - maglev
|
<li>map3_hi bits 0..3 = <a name="TrackType">track type</a>: <tt>0</tt> - conventional railway, <tt>1</tt> - monorail, <tt>2</tt> - maglev
|
||||||
<li>map3_lo bits 4..7 = Pbs reserved status:
|
<li>map3_hi bits 4..7 = Pbs reserved status:
|
||||||
<table>
|
<table>
|
||||||
<tr><td nowrap valign=top><tt>bits 4..6</tt> </td><td align=left>'Track'number of reserved track + 1, if this is zero it means nothing is reserved on this tile</td></tr>
|
<tr><td nowrap valign=top><tt>bits 4..6</tt> </td><td align=left>'Track'number of reserved track + 1, if this is zero it means nothing is reserved on this tile</td></tr>
|
||||||
<tr><td nowrap valign=top><tt>bit 7</tt> </td><td align=left>If this is set, then the opposite track ('Track'number^1) is also reserved</td></tr>
|
<tr><td nowrap valign=top><tt>bit 7</tt> </td><td align=left>If this is set, then the opposite track ('Track'number^1) is also reserved</td></tr>
|
||||||
|
|
4
pbs.c
4
pbs.c
|
@ -14,8 +14,8 @@
|
||||||
|
|
||||||
/* reserved track encoding:
|
/* reserved track encoding:
|
||||||
normal railway tracks:
|
normal railway tracks:
|
||||||
map3lo bits 4..6 = 'Track'number of reserved track + 1, if this is zero it means nothing is reserved on this tile
|
map3hi bits 4..6 = 'Track'number of reserved track + 1, if this is zero it means nothing is reserved on this tile
|
||||||
map3lo bit 7 = if this is set, then the opposite track ('Track'number^1) is also reserved
|
map3hi bit 7 = if this is set, then the opposite track ('Track'number^1) is also reserved
|
||||||
waypoints/stations:
|
waypoints/stations:
|
||||||
map3lo bit 6 set = track is reserved
|
map3lo bit 6 set = track is reserved
|
||||||
tunnels/bridges:
|
tunnels/bridges:
|
||||||
|
|
Loading…
Reference in New Issue