Road stops: Add flag to read draw mode from register 0x100
This commit is contained in:
@@ -72,6 +72,7 @@ enum RoadStopSpecFlags {
|
||||
RSF_BUILD_MENU_ROAD_ONLY, ///< Only show in the road build menu (not tram).
|
||||
RSF_BUILD_MENU_TRAM_ONLY, ///< Only show in the tram build menu (not road).
|
||||
RSF_BUILD_MENU_DRAW_DISABLED_VIEWS, ///< Use custom road stop graphics for disabled views
|
||||
RSF_DRAW_MODE_REGISTER, ///< Use custom road stop graphics for disabled views
|
||||
};
|
||||
|
||||
enum RoadStopSpecIntlFlags {
|
||||
@@ -145,7 +146,7 @@ struct RoadStopSpec {
|
||||
RoadStopAvailabilityType stop_type = ROADSTOPTYPE_ALL;
|
||||
RoadStopDrawMode draw_mode = ROADSTOP_DRAW_MODE_ROAD | ROADSTOP_DRAW_MODE_OVERLAY;
|
||||
uint8 callback_mask = 0;
|
||||
uint8 flags = 0;
|
||||
uint16 flags = 0;
|
||||
uint8 internal_flags = 0; ///< Bitmask of internal spec flags (RoadStopSpecIntlFlags)
|
||||
|
||||
CargoTypes cargo_triggers = 0; ///< Bitmask of cargo types which cause trigger re-randomizing
|
||||
|
||||
Reference in New Issue
Block a user