GRF: Allow railtype custom signal sprites for programmable pre-signals
This commit is contained in:
10
src/rail.h
10
src/rail.h
@@ -41,6 +41,11 @@ enum RailTypeFlags {
|
||||
};
|
||||
DECLARE_ENUM_AS_BIT_SET(RailTypeFlags)
|
||||
|
||||
/** Railtype control flags. */
|
||||
enum RailTypeCtrlFlags {
|
||||
RTCF_PROGSIG = 0, ///< Custom signal sprites enabled for programmable pre-signals.
|
||||
};
|
||||
|
||||
struct SpriteGroup;
|
||||
|
||||
/** Sprite groups for a railtype. */
|
||||
@@ -208,6 +213,11 @@ public:
|
||||
*/
|
||||
RailTypeFlags flags;
|
||||
|
||||
/**
|
||||
* Bit mask of rail type control flags
|
||||
*/
|
||||
byte ctrl_flags;
|
||||
|
||||
/**
|
||||
* Cost multiplier for building this rail type
|
||||
*/
|
||||
|
Reference in New Issue
Block a user