GRF: Add extra road/tram type flag: towns cannot modify tiles
This commit is contained in:
@@ -53,10 +53,12 @@ DECLARE_ENUM_AS_BIT_SET(RoadTypeFlags)
|
||||
|
||||
/** Roadtype extra flags. */
|
||||
enum RoadTypeExtraFlags {
|
||||
RXTF_NOT_AVAILABLE_AI_GS = 0, ///< Bit number for unavailable for AI/GS
|
||||
RXTF_NOT_AVAILABLE_AI_GS = 0, ///< Bit number for unavailable for AI/GS
|
||||
RXTF_NO_TOWN_MODIFICATION, ///< Bit number for no town modification
|
||||
|
||||
RXTFB_NONE = 0, ///< All flags cleared.
|
||||
RXTFB_NOT_AVAILABLE_AI_GS = 1 << RXTF_NOT_AVAILABLE_AI_GS, ///< Value for unavailable for AI/GS
|
||||
RXTFB_NONE = 0, ///< All flags cleared.
|
||||
RXTFB_NOT_AVAILABLE_AI_GS = 1 << RXTF_NOT_AVAILABLE_AI_GS, ///< Value for unavailable for AI/GS
|
||||
RXTFB_NO_TOWN_MODIFICATION = 1 << RXTF_NO_TOWN_MODIFICATION, ///< Value for no town modification
|
||||
};
|
||||
DECLARE_ENUM_AS_BIT_SET(RoadTypeExtraFlags)
|
||||
|
||||
|
Reference in New Issue
Block a user