diff --git a/src/openrct2/paint/Supports.cpp b/src/openrct2/paint/Supports.cpp index a4ae03410c..06f572652f 100644 --- a/src/openrct2/paint/Supports.cpp +++ b/src/openrct2/paint/Supports.cpp @@ -1168,7 +1168,7 @@ bool MetalBSupportsPaintSetup( * * @return Whether supports were drawn */ -bool path_a_supports_paint_setup( +bool PathASupportsPaintSetup( paint_session& session, int32_t supportType, int32_t special, int32_t height, ImageId imageTemplate, const FootpathPaintInfo& pathPaintInfo, bool* underground) { @@ -1323,7 +1323,7 @@ bool path_a_supports_paint_setup( * * @return Whether supports were drawn */ -bool path_b_supports_paint_setup( +bool PathBSupportsPaintSetup( paint_session& session, int32_t segment, int32_t special, int32_t height, ImageId imageTemplate, const FootpathPaintInfo& pathPaintInfo) { diff --git a/src/openrct2/paint/Supports.h b/src/openrct2/paint/Supports.h index b0064eea55..f0d22b696f 100644 --- a/src/openrct2/paint/Supports.h +++ b/src/openrct2/paint/Supports.h @@ -25,10 +25,10 @@ bool MetalASupportsPaintSetup( paint_session& session, uint8_t supportType, uint8_t segment, int32_t special, int32_t height, ImageId imageTemplate); bool MetalBSupportsPaintSetup( paint_session& session, uint8_t supportType, uint8_t segment, int32_t special, int32_t height, ImageId imageTemplate); -bool path_a_supports_paint_setup( +bool PathASupportsPaintSetup( paint_session& session, int32_t supportType, int32_t special, int32_t height, ImageId imageTemplate, const FootpathPaintInfo& pathPaintInfo, bool* underground); -bool path_b_supports_paint_setup( +bool PathBSupportsPaintSetup( paint_session& session, int32_t supportType, int32_t special, int32_t height, ImageId imageTemplate, const FootpathPaintInfo& pathPaintInfo); diff --git a/src/openrct2/paint/tile_element/Paint.Path.cpp b/src/openrct2/paint/tile_element/Paint.Path.cpp index ff36a6efa2..79296e4c9f 100644 --- a/src/openrct2/paint/tile_element/Paint.Path.cpp +++ b/src/openrct2/paint/tile_element/Paint.Path.cpp @@ -1134,7 +1134,7 @@ void PathPaintBoxSupport( } auto supportType = byte_98D8A4[edges] == 0 ? 0 : 1; - path_a_supports_paint_setup(session, supportType, ax, height, imageTemplate, pathPaintInfo, nullptr); + PathASupportsPaintSetup(session, supportType, ax, height, imageTemplate, pathPaintInfo, nullptr); height += 32; if (pathElement.IsSloped()) @@ -1291,7 +1291,7 @@ void PathPaintPoleSupport( { imageTemplate = ImageId().WithPrimary(supportColour); } - path_b_supports_paint_setup(session, supports[i], ax, height, imageTemplate, pathPaintInfo); + PathBSupportsPaintSetup(session, supports[i], ax, height, imageTemplate, pathPaintInfo); } }