Add NewGRF railtype flag to disable realistic braking for vehs of that type

See: #242
This commit is contained in:
Jonathan G Rennison
2021-04-15 20:19:04 +01:00
parent ba2e6087b2
commit 6a62b94263
8 changed files with 29 additions and 6 deletions

View File

@@ -43,8 +43,9 @@ DECLARE_ENUM_AS_BIT_SET(RailTypeFlags)
/** Railtype control flags. */
enum RailTypeCtrlFlags {
RTCF_PROGSIG = 0, ///< Custom signal sprites enabled for programmable pre-signals.
RTCF_RESTRICTEDSIG = 1, ///< Custom signal sprite flag enabled for restricted signals.
RTCF_PROGSIG = 0, ///< Custom signal sprites enabled for programmable pre-signals.
RTCF_RESTRICTEDSIG = 1, ///< Custom signal sprite flag enabled for restricted signals.
RTCF_NOREALISTICBRAKING = 2, ///< Realistic braking disabled for this track type
};
struct SpriteGroup;