mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-12 18:42:36 +01:00
committed by
GitHub
parent
268e81c21b
commit
95e2590207
@@ -427,6 +427,8 @@ void large_scenery_paint(paint_session* session, uint8_t direction, uint16_t hei
|
|||||||
// 6B809A:
|
// 6B809A:
|
||||||
uint16_t scrollMode = entry->large_scenery.scrolling_mode + ((direction + 1) & 0x3);
|
uint16_t scrollMode = entry->large_scenery.scrolling_mode + ((direction + 1) & 0x3);
|
||||||
auto banner = tileElement->AsLargeScenery()->GetBanner();
|
auto banner = tileElement->AsLargeScenery()->GetBanner();
|
||||||
|
if (banner != nullptr)
|
||||||
|
{
|
||||||
banner->FormatTextTo(gCommonFormatArgs);
|
banner->FormatTextTo(gCommonFormatArgs);
|
||||||
utf8 signString[256];
|
utf8 signString[256];
|
||||||
if (gConfigGeneral.upper_case_banners)
|
if (gConfigGeneral.upper_case_banners)
|
||||||
@@ -445,6 +447,7 @@ void large_scenery_paint(paint_session* session, uint8_t direction, uint16_t hei
|
|||||||
sub_98199C(
|
sub_98199C(
|
||||||
session, scrolling_text_setup(session, STR_SCROLLING_SIGN_TEXT, scroll, scrollMode, textColour), 0, 0, 1, 1, 21,
|
session, scrolling_text_setup(session, STR_SCROLLING_SIGN_TEXT, scroll, scrollMode, textColour), 0, 0, 1, 1, 21,
|
||||||
height + 25, boxoffset.x, boxoffset.y, boxoffset.z);
|
height + 25, boxoffset.x, boxoffset.y, boxoffset.z);
|
||||||
|
}
|
||||||
|
|
||||||
large_scenery_paint_supports(session, direction, height, tileElement, dword_F4387C, tile);
|
large_scenery_paint_supports(session, direction, height, tileElement, dword_F4387C, tile);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user