1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-06 06:32:56 +01:00

Code style: Remove snakes from path supports

This commit is contained in:
Rik Smeets
2022-10-08 20:11:38 +02:00
parent 390a5ed760
commit 4c06c2d5bb
3 changed files with 6 additions and 6 deletions

View File

@@ -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)
{

View File

@@ -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);

View File

@@ -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);
}
}