Add signal style flag to require realistic braking
This commit is contained in:
@@ -535,6 +535,11 @@ item (FEAT_GLOBALVARS) {
|
||||
Set whether signals should be drawn on the opposite side of the track for the most recently defined style (defined using the <span class="code">define_style</span> property).
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td>style_realistic_braking_only</td><td>0 or 1</td>
|
||||
<td>
|
||||
Set whether signals using this style may only be built when realistic braking is enabled, for the most recently defined style (defined using the <span class="code">define_style</span> property).
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td>no_default_style</td><td>0 or 1</td>
|
||||
<td>
|
||||
When enabled, custom signal graphics from this GRF are only used for custom signal styles, not the default style
|
||||
|
||||
@@ -507,6 +507,13 @@
|
||||
The Action 0 Id field is not used, the value is ignored.
|
||||
</p>
|
||||
<p>This is indicated by the feature name: <font face="monospace">action0_signals_style</font>, version 1</p>
|
||||
<h4 id="signals_style_realistic_braking_only">Set custom signal style signal requires realistic braking (mappable property: signals_style_realistic_braking_only)</h4>
|
||||
<p>This applies to the most recent custom signal style defined using the <a href="#signals_define_style">signals_define_style</a> property.<br />
|
||||
When enabled, signals using this style may only be built when realistic braking is enabled.</p>
|
||||
<p>The property length is 1 byte. 0 is disabled (default). 1 is enabled.<br />
|
||||
The Action 0 Id field is not used, the value is ignored.
|
||||
</p>
|
||||
<p>This is indicated by the feature name: <font face="monospace">action0_signals_style</font>, version 1</p>
|
||||
<h4 id="signals_no_default_style">Set whether custom signal sprites should not be used for the default signal style (mappable property: signals_no_default_style)</h4>
|
||||
<p>This applies to <a href="#a3signals_custom_signal_sprites">Action 2/3 Signals (Feature 0E) custom signal sprites</a> for this GRF.<br />
|
||||
When enabled, this GRF is not used for the default signal style, it is only used for custom signal styles defined with <a href="#signals_define_style">signals_define_style</a>.</p>
|
||||
|
||||
Reference in New Issue
Block a user