Add railtype/signal variable to get signal side
This commit is contained in:
@@ -164,6 +164,16 @@
|
||||
Above signal context variables in one variable (all of the railtype_signal_context variable)
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td>signal_side</td><td>SIGNAL_SIDE_XXX</td>
|
||||
<td>
|
||||
<dl>
|
||||
<dt>LEFT</dt>
|
||||
<dd>Signals are on the left</dd>
|
||||
<dt>RIGHT</dt>
|
||||
<dd>Signals are on the right</dd>
|
||||
</dl>
|
||||
</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>
|
||||
@@ -650,6 +660,16 @@ item (FEAT_GLOBALVARS) {
|
||||
Above signal context variables in one variable (all of the signals_signal_context variable)
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td>signal_side</td><td>SIGNAL_SIDE_XXX</td>
|
||||
<td>
|
||||
<dl>
|
||||
<dt>LEFT</dt>
|
||||
<dd>Signals are on the left</dd>
|
||||
<dt>RIGHT</dt>
|
||||
<dd>Signals are on the right</dd>
|
||||
</dl>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td>signal_style</td><td>0 - 255</td>
|
||||
<td>
|
||||
The style ID defined using define_style for signals using a custom style, or 0 for signals using the default style
|
||||
|
||||
@@ -753,6 +753,20 @@
|
||||
</table>
|
||||
</p>
|
||||
<p>This is indicated by the feature name: <font face="monospace">varaction2_railtype_signal_context</font>, version 1</p>
|
||||
<h4 id="railtype_signal_side">Signal side (mappable variable: railtype_signal_side)</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</td><td>
|
||||
<table>
|
||||
<tr><th>Value</th><th>Meaning</th></tr>
|
||||
<tr><td>0</td><td>Signals are on the left</td></tr>
|
||||
<tr><td>1</td><td>Signals are on the right</td></tr>
|
||||
</table>
|
||||
</td></tr>
|
||||
</table>
|
||||
</p>
|
||||
<p>This is indicated by the feature name: <font face="monospace">varaction2_railtype_signal_side</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>
|
||||
@@ -795,6 +809,20 @@
|
||||
</table>
|
||||
</p>
|
||||
<p>This is indicated by the feature name: <font face="monospace">varaction2_signals_signal_context</font>, version 1</p>
|
||||
<h4 id="signals_signal_side">Signal side (mappable variable: signals_signal_side)</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</td><td>
|
||||
<table>
|
||||
<tr><th>Value</th><th>Meaning</th></tr>
|
||||
<tr><td>0</td><td>Signals are on the left</td></tr>
|
||||
<tr><td>1</td><td>Signals are on the right</td></tr>
|
||||
</table>
|
||||
</td></tr>
|
||||
</table>
|
||||
</p>
|
||||
<p>This is indicated by the feature name: <font face="monospace">varaction2_signals_signal_side</font>, version 1</p>
|
||||
<h4 id="signals_signal_style">Signal style (mappable variable: signals_signal_style)</h4>
|
||||
<p>This applies to <a href="#a3signals_custom_signal_sprites">Action 2/3 Signals (Feature 0E) custom signal sprites</a>.<br />
|
||||
If the signal being drawn uses a custom signal style, the value is the signal style ID as set in the <a href="#signals_define_style">signals_define_style</a> property.<br />
|
||||
|
||||
Reference in New Issue
Block a user