mirror of https://github.com/OpenRCT2/OpenRCT2.git
Add support for “no queue banner” flag
This commit is contained in:
parent
f1875f9518
commit
f03de84116
|
@ -88,6 +88,7 @@ void FootpathRailingsObject::ReadJson(IReadObjectContext* context, json_t& root)
|
|||
{
|
||||
{ "hasSupportImages", RAILING_ENTRY_FLAG_HAS_SUPPORT_BASE_SPRITE },
|
||||
{ "hasElevatedPathImages", RAILING_ENTRY_FLAG_DRAW_PATH_OVER_SUPPORTS },
|
||||
{ "noQueueBanner", RAILING_ENTRY_FLAG_NO_QUEUE_BANNER },
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
@ -419,7 +419,7 @@ static void sub_6A4101(
|
|||
}
|
||||
}
|
||||
|
||||
if (!pathElement.HasQueueBanner())
|
||||
if (!pathElement.HasQueueBanner() || (pathPaintInfo.RailingFlags & RAILING_ENTRY_FLAG_NO_QUEUE_BANNER))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
|
|
@ -174,6 +174,7 @@ enum
|
|||
{
|
||||
RAILING_ENTRY_FLAG_HAS_SUPPORT_BASE_SPRITE = (1 << 0),
|
||||
RAILING_ENTRY_FLAG_DRAW_PATH_OVER_SUPPORTS = (1 << 1), // When elevated
|
||||
RAILING_ENTRY_FLAG_NO_QUEUE_BANNER = (1 << 2),
|
||||
};
|
||||
|
||||
enum
|
||||
|
|
Loading…
Reference in New Issue