Add railtype and signals variables for signal vertical clearance

This commit is contained in:
Jonathan G Rennison
2023-04-04 20:29:22 +01:00
parent 0370f2e3f1
commit e02585f68e
14 changed files with 181 additions and 38 deletions

View File

@@ -209,6 +209,12 @@
</dl>
</td>
</tr>
<tr><td>signal_vertical_clearance</td><td>0 - 255</td>
<td>
Pixels of vertical clearance between the signal and any bridge above.<br />
If there is no bridge above, the value is 0xFF.
</td>
</tr>
</table>
<h3 id="roadtype-properties"><a href="https://newgrf-specs.tt-wiki.net/wiki/NML:Roadtypes#Roadtype_properties">Roadtype properties</a></h3>
<table>
@@ -710,6 +716,12 @@ item (FEAT_GLOBALVARS) {
The style ID defined using define_style for signals using a custom style, or 0 for signals using the default style
</td>
</tr>
<tr><td>signal_vertical_clearance</td><td>0 - 255</td>
<td>
Pixels of vertical clearance between the signal and any bridge above.<br />
If there is no bridge above, the value is 0xFF.
</td>
</tr>
</table>
<p>
Custom signal sprites example: