Add railtype and signals variables for signal vertical clearance
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -828,6 +828,17 @@
|
||||
</table>
|
||||
</p>
|
||||
<p>This is indicated by the feature name: <font face="monospace">varaction2_railtype_signal_side</font>, version 1</p>
|
||||
<h4 id="railtype_signal_vertical_clearance">Vertical clearance (mappable variable: railtype_signal_vertical_clearance)</h4>
|
||||
<p>This applies to <a href="https://newgrf-specs.tt-wiki.net/wiki/Action3/Railtypes#Signal_sprites_.280B.29">Action 2/3 - Railtype custom signal sprites</a>.<br />
|
||||
<table>
|
||||
<tr><th>Bit</th><th>Meaning</th></tr>
|
||||
<tr><td>0 - 7</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>
|
||||
<p>This is indicated by the feature name: <font face="monospace">varaction2_railtype_signal_vertical_clearance</font>, version 1</p>
|
||||
<br />
|
||||
<h3 id="varaction2_object"><a href="https://newgrf-specs.tt-wiki.net/wiki/VariationalAction2/Objects">Variational Action 2 - Objects</a></h3>
|
||||
<h4 id="object_foundation_tile_slope">Tile slope after foundation applied (mappable variable: object_foundation_tile_slope)</h4>
|
||||
@@ -890,6 +901,17 @@
|
||||
Otherwise for signals using the default style, the value is 0.
|
||||
</p>
|
||||
<p>This is indicated by the feature name: <font face="monospace">action0_signals_style</font>, version 1.</p>
|
||||
<h4 id="signals_signal_vertical_clearance">Vertical clearance (mappable variable: signals_signal_vertical_clearance)</h4>
|
||||
<p>This applies to <a href="#a3signals_custom_signal_sprites">Action 2/3 Signals (Feature 0E) custom signal sprites</a>.<br />
|
||||
<table>
|
||||
<tr><th>Bit</th><th>Meaning</th></tr>
|
||||
<tr><td>0 - 7</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>
|
||||
<p>This is indicated by the feature name: <font face="monospace">varaction2_signals_signal_vertical_clearance</font>, version 1</p>
|
||||
<br />
|
||||
<br />
|
||||
<h3 id="callbacks_ships"><a href="https://newgrf-specs.tt-wiki.net/wiki/Callbacks">Callbacks - Ships</a></h3>
|
||||
|
||||
Reference in New Issue
Block a user