From 16ce2202104119d6725fcda3a2173efe7693814b Mon Sep 17 00:00:00 2001 From: Gymnasiast Date: Sat, 21 Jun 2025 14:10:42 +0200 Subject: [PATCH] Rename enum members of MetalSupportPlace to lowerCamelCase --- src/openrct2/paint/support/MetalSupports.cpp | 42 +- src/openrct2/paint/support/MetalSupports.h | 20 +- .../paint/tile_element/Paint.Path.cpp | 8 +- src/openrct2/paint/track/Support.h | 4 +- .../paint/track/coaster/AlpineCoaster.cpp | 172 +- .../paint/track/coaster/BobsleighCoaster.cpp | 88 +- .../coaster/ClassicStandUpRollerCoaster.cpp | 36 +- .../track/coaster/CompactInvertedCoaster.cpp | 440 ++--- .../track/coaster/CorkscrewRollerCoaster.cpp | 1230 +++++++------- .../track/coaster/FlyingRollerCoaster.cpp | 26 +- .../coaster/FlyingRollerCoasterInverted.cpp | 276 ++-- .../track/coaster/InvertedHairpinCoaster.cpp | 60 +- .../track/coaster/InvertedImpulseCoaster.cpp | 26 +- .../track/coaster/InvertedRollerCoaster.cpp | 586 +++---- .../track/coaster/JuniorRollerCoaster.cpp | 180 +- .../track/coaster/LatticeTriangleTrack.cpp | 1154 ++++++------- .../track/coaster/LatticeTriangleTrackAlt.cpp | 10 +- .../coaster/LayDownRollerCoasterInverted.cpp | 408 ++--- .../coaster/LimLaunchedRollerCoaster.cpp | 274 ++-- .../track/coaster/LoopingRollerCoaster.cpp | 550 +++---- src/openrct2/paint/track/coaster/MineRide.cpp | 140 +- .../paint/track/coaster/MiniRollerCoaster.cpp | 228 +-- .../track/coaster/MiniSuspendedCoaster.cpp | 40 +- .../coaster/MultiDimensionRollerCoaster.cpp | 802 ++++----- .../track/coaster/SingleRailRollerCoaster.cpp | 1154 ++++++------- .../track/coaster/StandUpRollerCoaster.cpp | 1448 ++++++++--------- .../paint/track/coaster/Steeplechase.cpp | 54 +- .../coaster/SuspendedSwingingCoaster.cpp | 188 +-- .../track/coaster/TwisterRollerCoaster.cpp | 1238 +++++++------- .../paint/track/coaster/WildMouse.cpp | 42 +- .../track/coaster/WoodenRollerCoaster.cpp | 96 +- src/openrct2/paint/track/gentle/CarRide.cpp | 22 +- .../paint/track/gentle/GhostTrain.cpp | 16 +- src/openrct2/paint/track/gentle/MiniGolf.cpp | 10 +- .../paint/track/gentle/MiniHelicopters.cpp | 14 +- .../paint/track/gentle/MonorailCycles.cpp | 16 +- .../paint/track/transport/Monorail.cpp | 34 +- .../track/transport/SuspendedMonorail.cpp | 104 +- .../paint/track/water/DinghySlide.cpp | 20 +- .../paint/track/water/DinghySlideCovered.cpp | 18 +- src/openrct2/paint/track/water/LogFlume.cpp | 34 +- .../paint/track/water/SubmarineRide.cpp | 6 +- src/openrct2/ride/TrackData.cpp | 384 ++--- src/openrct2/ride/TrackData.h | 2 +- src/openrct2/ride/TrackPaint.cpp | 28 +- src/openrct2/ride/TrackPaint.h | 8 +- 46 files changed, 5868 insertions(+), 5868 deletions(-) diff --git a/src/openrct2/paint/support/MetalSupports.cpp b/src/openrct2/paint/support/MetalSupports.cpp index 80f2c99799..7e2ae020df 100644 --- a/src/openrct2/paint/support/MetalSupports.cpp +++ b/src/openrct2/paint/support/MetalSupports.cpp @@ -248,23 +248,23 @@ static constexpr uint8_t kMetalSupportsSlopeImageOffsetMap[] = { // clang-format on static constexpr MetalSupportPlace kMetalSupportPlacementRotated[][kNumOrthogonalDirections] = { - { MetalSupportPlace::TopCorner, MetalSupportPlace::RightCorner, MetalSupportPlace::BottomCorner, - MetalSupportPlace::LeftCorner }, - { MetalSupportPlace::LeftCorner, MetalSupportPlace::TopCorner, MetalSupportPlace::RightCorner, - MetalSupportPlace::BottomCorner }, - { MetalSupportPlace::RightCorner, MetalSupportPlace::BottomCorner, MetalSupportPlace::LeftCorner, - MetalSupportPlace::TopCorner }, - { MetalSupportPlace::BottomCorner, MetalSupportPlace::LeftCorner, MetalSupportPlace::TopCorner, - MetalSupportPlace::RightCorner }, - { MetalSupportPlace::Centre, MetalSupportPlace::Centre, MetalSupportPlace::Centre, MetalSupportPlace::Centre }, - { MetalSupportPlace::TopLeftSide, MetalSupportPlace::TopRightSide, MetalSupportPlace::BottomRightSide, - MetalSupportPlace::BottomLeftSide }, - { MetalSupportPlace::TopRightSide, MetalSupportPlace::BottomRightSide, MetalSupportPlace::BottomLeftSide, - MetalSupportPlace::TopLeftSide }, - { MetalSupportPlace::BottomLeftSide, MetalSupportPlace::TopLeftSide, MetalSupportPlace::TopRightSide, - MetalSupportPlace::BottomRightSide }, - { MetalSupportPlace::BottomRightSide, MetalSupportPlace::BottomLeftSide, MetalSupportPlace::TopLeftSide, - MetalSupportPlace::TopRightSide }, + { MetalSupportPlace::topCorner, MetalSupportPlace::rightCorner, MetalSupportPlace::bottomCorner, + MetalSupportPlace::leftCorner }, + { MetalSupportPlace::leftCorner, MetalSupportPlace::topCorner, MetalSupportPlace::rightCorner, + MetalSupportPlace::bottomCorner }, + { MetalSupportPlace::rightCorner, MetalSupportPlace::bottomCorner, MetalSupportPlace::leftCorner, + MetalSupportPlace::topCorner }, + { MetalSupportPlace::bottomCorner, MetalSupportPlace::leftCorner, MetalSupportPlace::topCorner, + MetalSupportPlace::rightCorner }, + { MetalSupportPlace::centre, MetalSupportPlace::centre, MetalSupportPlace::centre, MetalSupportPlace::centre }, + { MetalSupportPlace::topLeftSide, MetalSupportPlace::topRightSide, MetalSupportPlace::bottomRightSide, + MetalSupportPlace::bottomLeftSide }, + { MetalSupportPlace::topRightSide, MetalSupportPlace::bottomRightSide, MetalSupportPlace::bottomLeftSide, + MetalSupportPlace::topLeftSide }, + { MetalSupportPlace::bottomLeftSide, MetalSupportPlace::topLeftSide, MetalSupportPlace::topRightSide, + MetalSupportPlace::bottomRightSide }, + { MetalSupportPlace::bottomRightSide, MetalSupportPlace::bottomLeftSide, MetalSupportPlace::topLeftSide, + MetalSupportPlace::topRightSide }, }; constexpr MetalSupportGraphic kMetalSupportGraphicRotated[kMetalSupportTypeCount][kNumOrthogonalDirections] = { @@ -713,13 +713,13 @@ void DrawSupportsSideBySide( if (direction & 1) { - MetalASupportsPaintSetup(session, graphic, MetalSupportPlace::TopRightSide, special, height, colour); - MetalASupportsPaintSetup(session, graphic, MetalSupportPlace::BottomLeftSide, special, height, colour); + MetalASupportsPaintSetup(session, graphic, MetalSupportPlace::topRightSide, special, height, colour); + MetalASupportsPaintSetup(session, graphic, MetalSupportPlace::bottomLeftSide, special, height, colour); } else { - MetalASupportsPaintSetup(session, graphic, MetalSupportPlace::TopLeftSide, special, height, colour); - MetalASupportsPaintSetup(session, graphic, MetalSupportPlace::BottomRightSide, special, height, colour); + MetalASupportsPaintSetup(session, graphic, MetalSupportPlace::topLeftSide, special, height, colour); + MetalASupportsPaintSetup(session, graphic, MetalSupportPlace::bottomRightSide, special, height, colour); } } diff --git a/src/openrct2/paint/support/MetalSupports.h b/src/openrct2/paint/support/MetalSupports.h index b062aefb33..ecbe68caba 100644 --- a/src/openrct2/paint/support/MetalSupports.h +++ b/src/openrct2/paint/support/MetalSupports.h @@ -73,17 +73,17 @@ constexpr uint8_t kMetalSupportTypeCount = 8; */ enum class MetalSupportPlace : uint8_t { - TopCorner = 0, - LeftCorner = 1, - RightCorner = 2, - BottomCorner = 3, - Centre = 4, - TopLeftSide = 5, - TopRightSide = 6, - BottomLeftSide = 7, - BottomRightSide = 8, + topCorner = 0, + leftCorner = 1, + rightCorner = 2, + bottomCorner = 3, + centre = 4, + topLeftSide = 5, + topRightSide = 6, + bottomLeftSide = 7, + bottomRightSide = 8, - None = 255, + none = 255, }; struct FootpathPaintInfo; diff --git a/src/openrct2/paint/tile_element/Paint.Path.cpp b/src/openrct2/paint/tile_element/Paint.Path.cpp index 0d3e819750..a09cbb9e8f 100644 --- a/src/openrct2/paint/tile_element/Paint.Path.cpp +++ b/src/openrct2/paint/tile_element/Paint.Path.cpp @@ -1049,10 +1049,10 @@ void PathPaintPoleSupport( hasSupports); // TODO: arguments MetalSupportPlace supports[] = { - MetalSupportPlace::TopRightSide, - MetalSupportPlace::BottomRightSide, - MetalSupportPlace::BottomLeftSide, - MetalSupportPlace::TopLeftSide, + MetalSupportPlace::topRightSide, + MetalSupportPlace::bottomRightSide, + MetalSupportPlace::bottomLeftSide, + MetalSupportPlace::topLeftSide, }; for (int8_t i = 3; i > -1; --i) diff --git a/src/openrct2/paint/track/Support.h b/src/openrct2/paint/track/Support.h index bafd367d1f..ed1c9b2d15 100644 --- a/src/openrct2/paint/track/Support.h +++ b/src/openrct2/paint/track/Support.h @@ -47,6 +47,6 @@ struct SupportType namespace OpenRCT2::SupportedSequences { - constexpr MetalSupportPlace kDiagStraightFlat[] = { MetalSupportPlace::None, MetalSupportPlace::None, - MetalSupportPlace::None, MetalSupportPlace::LeftCorner }; + constexpr MetalSupportPlace kDiagStraightFlat[] = { MetalSupportPlace::none, MetalSupportPlace::none, + MetalSupportPlace::none, MetalSupportPlace::leftCorner }; } diff --git a/src/openrct2/paint/track/coaster/AlpineCoaster.cpp b/src/openrct2/paint/track/coaster/AlpineCoaster.cpp index 4fc9e13c07..906a5b522e 100644 --- a/src/openrct2/paint/track/coaster/AlpineCoaster.cpp +++ b/src/openrct2/paint/track/coaster/AlpineCoaster.cpp @@ -59,7 +59,7 @@ namespace OpenRCT2::AlpineRC if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height, session.SupportColours); } } else @@ -82,7 +82,7 @@ namespace OpenRCT2::AlpineRC if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height, session.SupportColours); } } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -121,7 +121,7 @@ namespace OpenRCT2::AlpineRC else if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height, session.SupportColours); } TrackPaintUtilDrawStationTunnel(session, direction, height); PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0); @@ -160,7 +160,7 @@ namespace OpenRCT2::AlpineRC if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 8, height, session.SupportColours); } } else @@ -191,7 +191,7 @@ namespace OpenRCT2::AlpineRC if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 8, height, session.SupportColours); } } if (direction == 0 || direction == 3) @@ -239,7 +239,7 @@ namespace OpenRCT2::AlpineRC if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 3, height, session.SupportColours); } } else @@ -270,7 +270,7 @@ namespace OpenRCT2::AlpineRC if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 3, height, session.SupportColours); } } if (direction == 0 || direction == 3) @@ -318,7 +318,7 @@ namespace OpenRCT2::AlpineRC if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 6, height, session.SupportColours); } } else @@ -349,7 +349,7 @@ namespace OpenRCT2::AlpineRC if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 6, height, session.SupportColours); } } if (direction == 0 || direction == 3) @@ -417,7 +417,7 @@ namespace OpenRCT2::AlpineRC break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -490,7 +490,7 @@ namespace OpenRCT2::AlpineRC break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, DirectionPrev(direction), 0, height, + session, supportType.metal, MetalSupportPlace::centre, DirectionPrev(direction), 0, height, session.SupportColours); switch (direction) { @@ -552,7 +552,7 @@ namespace OpenRCT2::AlpineRC break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -697,7 +697,7 @@ namespace OpenRCT2::AlpineRC break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, DirectionPrev(direction), 0, height, + session, supportType.metal, MetalSupportPlace::centre, DirectionPrev(direction), 0, height, session.SupportColours); switch (direction) { @@ -759,7 +759,7 @@ namespace OpenRCT2::AlpineRC break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -870,7 +870,7 @@ namespace OpenRCT2::AlpineRC break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, DirectionPrev(direction), 0, height, + session, supportType.metal, MetalSupportPlace::leftCorner, DirectionPrev(direction), 0, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( @@ -917,7 +917,7 @@ namespace OpenRCT2::AlpineRC break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -1029,7 +1029,7 @@ namespace OpenRCT2::AlpineRC break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::BottomCorner, DirectionNext(direction), 0, height, + session, supportType.metal, MetalSupportPlace::bottomCorner, DirectionNext(direction), 0, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, @@ -1208,7 +1208,7 @@ namespace OpenRCT2::AlpineRC } } MetalBSupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 9, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments( @@ -1353,7 +1353,7 @@ namespace OpenRCT2::AlpineRC } } MetalBSupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 6, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments( @@ -1485,7 +1485,7 @@ namespace OpenRCT2::AlpineRC break; } MetalBSupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 0, + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 0, height + (direction & 1) ? 0 : 2, session.SupportColours); } else @@ -1500,7 +1500,7 @@ namespace OpenRCT2::AlpineRC break; } MetalBSupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 2, height, + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 2, height, session.SupportColours); } PaintUtilSetSegmentSupportHeight( @@ -1647,7 +1647,7 @@ namespace OpenRCT2::AlpineRC } } MetalBSupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 8, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments( @@ -1789,7 +1789,7 @@ namespace OpenRCT2::AlpineRC } } MetalBSupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 4, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments( @@ -1935,7 +1935,7 @@ namespace OpenRCT2::AlpineRC } } MetalBSupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 0, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments( @@ -1983,7 +1983,7 @@ namespace OpenRCT2::AlpineRC if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); PaintUtilSetSegmentSupportHeight( @@ -2027,7 +2027,7 @@ namespace OpenRCT2::AlpineRC if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); PaintUtilSetSegmentSupportHeight( @@ -2085,7 +2085,7 @@ namespace OpenRCT2::AlpineRC if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 3, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -2136,7 +2136,7 @@ namespace OpenRCT2::AlpineRC if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 3, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -2187,7 +2187,7 @@ namespace OpenRCT2::AlpineRC if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 6, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -2238,7 +2238,7 @@ namespace OpenRCT2::AlpineRC if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 6, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -2311,7 +2311,7 @@ namespace OpenRCT2::AlpineRC if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); PaintUtilSetSegmentSupportHeight( @@ -2403,7 +2403,7 @@ namespace OpenRCT2::AlpineRC break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 0, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments( @@ -2492,7 +2492,7 @@ namespace OpenRCT2::AlpineRC break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 0, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments( @@ -2581,7 +2581,7 @@ namespace OpenRCT2::AlpineRC break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 0, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments( @@ -2670,7 +2670,7 @@ namespace OpenRCT2::AlpineRC break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 0, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments( @@ -2759,7 +2759,7 @@ namespace OpenRCT2::AlpineRC break; } MetalBSupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 0, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments( @@ -2848,7 +2848,7 @@ namespace OpenRCT2::AlpineRC break; } MetalBSupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 0, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments( @@ -2937,7 +2937,7 @@ namespace OpenRCT2::AlpineRC break; } MetalBSupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 4, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments( @@ -3026,7 +3026,7 @@ namespace OpenRCT2::AlpineRC break; } MetalBSupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 4, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments( @@ -3112,7 +3112,7 @@ namespace OpenRCT2::AlpineRC break; } MetalBSupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 4, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments( @@ -3199,7 +3199,7 @@ namespace OpenRCT2::AlpineRC break; } MetalBSupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 4, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments( @@ -3289,7 +3289,7 @@ namespace OpenRCT2::AlpineRC break; } MetalBSupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 0, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments( @@ -3378,7 +3378,7 @@ namespace OpenRCT2::AlpineRC break; } MetalBSupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 0, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments( @@ -3463,7 +3463,7 @@ namespace OpenRCT2::AlpineRC break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 0, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments( @@ -3548,7 +3548,7 @@ namespace OpenRCT2::AlpineRC break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 0, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments( @@ -3599,7 +3599,7 @@ namespace OpenRCT2::AlpineRC break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 2, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 2, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -3684,7 +3684,7 @@ namespace OpenRCT2::AlpineRC break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, DirectionPrev(direction), 2, height, + session, supportType.metal, MetalSupportPlace::centre, DirectionPrev(direction), 2, height, session.SupportColours); switch (direction) { @@ -3754,7 +3754,7 @@ namespace OpenRCT2::AlpineRC break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 1, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 1, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -3919,7 +3919,7 @@ namespace OpenRCT2::AlpineRC break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, DirectionPrev(direction), 1, height, + session, supportType.metal, MetalSupportPlace::centre, DirectionPrev(direction), 1, height, session.SupportColours); switch (direction) { @@ -3985,7 +3985,7 @@ namespace OpenRCT2::AlpineRC break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -4108,7 +4108,7 @@ namespace OpenRCT2::AlpineRC break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, DirectionPrev(direction), 0, height, + session, supportType.metal, MetalSupportPlace::leftCorner, DirectionPrev(direction), 0, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, @@ -4158,7 +4158,7 @@ namespace OpenRCT2::AlpineRC break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -4282,7 +4282,7 @@ namespace OpenRCT2::AlpineRC break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::BottomCorner, DirectionNext(direction), 0, height, + session, supportType.metal, MetalSupportPlace::bottomCorner, DirectionNext(direction), 0, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, @@ -4348,7 +4348,7 @@ namespace OpenRCT2::AlpineRC break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 8, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -4396,7 +4396,7 @@ namespace OpenRCT2::AlpineRC break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, DirectionPrev(direction), 8, height, + session, supportType.metal, MetalSupportPlace::centre, DirectionPrev(direction), 8, height, session.SupportColours); switch (direction) { @@ -4454,7 +4454,7 @@ namespace OpenRCT2::AlpineRC break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 8, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -4503,7 +4503,7 @@ namespace OpenRCT2::AlpineRC break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, DirectionNext(direction), direction == 2 ? 10 : 8, + session, supportType.metal, MetalSupportPlace::centre, DirectionNext(direction), direction == 2 ? 10 : 8, height, session.SupportColours); switch (direction) { @@ -4577,7 +4577,7 @@ namespace OpenRCT2::AlpineRC break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 8, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -4738,7 +4738,7 @@ namespace OpenRCT2::AlpineRC break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, DirectionPrev(direction), 8, height, + session, supportType.metal, MetalSupportPlace::centre, DirectionPrev(direction), 8, height, session.SupportColours); switch (direction) { @@ -4796,7 +4796,7 @@ namespace OpenRCT2::AlpineRC break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 8, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -4957,7 +4957,7 @@ namespace OpenRCT2::AlpineRC break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, DirectionNext(direction), 8, height, + session, supportType.metal, MetalSupportPlace::centre, DirectionNext(direction), 8, height, session.SupportColours); switch (direction) { @@ -5351,7 +5351,7 @@ namespace OpenRCT2::AlpineRC break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 5, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -5429,7 +5429,7 @@ namespace OpenRCT2::AlpineRC break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, DirectionPrev(direction), 9, height, + session, supportType.metal, MetalSupportPlace::centre, DirectionPrev(direction), 9, height, session.SupportColours); switch (direction) { @@ -5478,7 +5478,7 @@ namespace OpenRCT2::AlpineRC break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, DirectionPrev(direction), 5, height, + session, supportType.metal, MetalSupportPlace::centre, DirectionPrev(direction), 5, height, session.SupportColours); switch (direction) { @@ -5563,7 +5563,7 @@ namespace OpenRCT2::AlpineRC break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 9, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height + 8, kTunnelGroup, TunnelSubType::Flat); @@ -5615,7 +5615,7 @@ namespace OpenRCT2::AlpineRC break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 5, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -5694,7 +5694,7 @@ namespace OpenRCT2::AlpineRC break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, DirectionNext(direction), 9, height, + session, supportType.metal, MetalSupportPlace::centre, DirectionNext(direction), 9, height, session.SupportColours); switch (direction) { @@ -5743,7 +5743,7 @@ namespace OpenRCT2::AlpineRC break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, DirectionNext(direction), 5, height, + session, supportType.metal, MetalSupportPlace::centre, DirectionNext(direction), 5, height, session.SupportColours); switch (direction) { @@ -5827,7 +5827,7 @@ namespace OpenRCT2::AlpineRC break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 9, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height + 8, kTunnelGroup, TunnelSubType::Flat); @@ -5905,7 +5905,7 @@ namespace OpenRCT2::AlpineRC break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 3, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -6055,7 +6055,7 @@ namespace OpenRCT2::AlpineRC break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, DirectionPrev(direction), 9, height, + session, supportType.metal, MetalSupportPlace::centre, DirectionPrev(direction), 9, height, session.SupportColours); switch (direction) { @@ -6104,7 +6104,7 @@ namespace OpenRCT2::AlpineRC break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, DirectionPrev(direction), 3, height, + session, supportType.metal, MetalSupportPlace::centre, DirectionPrev(direction), 3, height, session.SupportColours); switch (direction) { @@ -6259,7 +6259,7 @@ namespace OpenRCT2::AlpineRC break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 9, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height + 8, kTunnelGroup, TunnelSubType::Flat); @@ -6310,7 +6310,7 @@ namespace OpenRCT2::AlpineRC break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 3, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -6459,7 +6459,7 @@ namespace OpenRCT2::AlpineRC break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, DirectionNext(direction), direction == 1 ? 5 : 9, + session, supportType.metal, MetalSupportPlace::centre, DirectionNext(direction), direction == 1 ? 5 : 9, height, session.SupportColours); switch (direction) { @@ -6508,7 +6508,7 @@ namespace OpenRCT2::AlpineRC break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, DirectionNext(direction), 3, height, + session, supportType.metal, MetalSupportPlace::centre, DirectionNext(direction), 3, height, session.SupportColours); switch (direction) { @@ -6664,7 +6664,7 @@ namespace OpenRCT2::AlpineRC break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, direction == 0 ? 5 : 9, height, + session, supportType.metal, MetalSupportPlace::centre, direction, direction == 0 ? 5 : 9, height, session.SupportColours); if (direction == 0 || direction == 3) { @@ -6731,7 +6731,7 @@ namespace OpenRCT2::AlpineRC if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); PaintUtilSetSegmentSupportHeight( @@ -6778,7 +6778,7 @@ namespace OpenRCT2::AlpineRC break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 3, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -6826,7 +6826,7 @@ namespace OpenRCT2::AlpineRC break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, DirectionPrev(direction), 10, height - 6, + session, supportType.metal, MetalSupportPlace::centre, DirectionPrev(direction), 10, height - 6, session.SupportColours); switch (direction) { @@ -6888,7 +6888,7 @@ namespace OpenRCT2::AlpineRC break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 3, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -6937,7 +6937,7 @@ namespace OpenRCT2::AlpineRC break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, DirectionNext(direction), 10, height - 6, + session, supportType.metal, MetalSupportPlace::centre, DirectionNext(direction), 10, height - 6, session.SupportColours); switch (direction) { @@ -6995,7 +6995,7 @@ namespace OpenRCT2::AlpineRC break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 8, height - 6, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 8, height - 6, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::SlopeEnd); @@ -7047,7 +7047,7 @@ namespace OpenRCT2::AlpineRC break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, DirectionPrev(direction), 5, height, + session, supportType.metal, MetalSupportPlace::centre, DirectionPrev(direction), 5, height, session.SupportColours); switch (direction) { @@ -7105,7 +7105,7 @@ namespace OpenRCT2::AlpineRC break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 8, height - 6, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 8, height - 6, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::SlopeEnd); @@ -7158,7 +7158,7 @@ namespace OpenRCT2::AlpineRC break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, DirectionNext(direction), 5, height, + session, supportType.metal, MetalSupportPlace::centre, DirectionNext(direction), 5, height, session.SupportColours); switch (direction) { diff --git a/src/openrct2/paint/track/coaster/BobsleighCoaster.cpp b/src/openrct2/paint/track/coaster/BobsleighCoaster.cpp index 58a2fe2571..7dc8b3aa2d 100644 --- a/src/openrct2/paint/track/coaster/BobsleighCoaster.cpp +++ b/src/openrct2/paint/track/coaster/BobsleighCoaster.cpp @@ -68,7 +68,7 @@ static void BobsleighRCTrackFlat( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); } } else @@ -96,7 +96,7 @@ static void BobsleighRCTrackFlat( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); } } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -124,7 +124,7 @@ static void BobsleighRCTrackStation( else if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height, session.SupportColours); } TrackPaintUtilDrawStationTunnel(session, direction, height); PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0); @@ -175,7 +175,7 @@ static void BobsleighRCTrack25DegUp( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); } } else @@ -217,7 +217,7 @@ static void BobsleighRCTrack25DegUp( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); } } if (direction == 0 || direction == 3) @@ -276,7 +276,7 @@ static void BobsleighRCTrackFlatTo25DegUp( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); } } else @@ -318,7 +318,7 @@ static void BobsleighRCTrackFlatTo25DegUp( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); } } if (direction == 0 || direction == 3) @@ -377,7 +377,7 @@ static void BobsleighRCTrack25DegUpToFlat( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); } } else @@ -419,7 +419,7 @@ static void BobsleighRCTrack25DegUpToFlat( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); } } if (direction == 0 || direction == 3) @@ -501,7 +501,7 @@ static void BobsleighRCTrackLeftQuarterTurn5( { { 0, 6, height + 27 }, { 32, 20, 0 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -692,7 +692,7 @@ static void BobsleighRCTrackLeftQuarterTurn5( { { 6, 0, height + 27 }, { 30, 32, 0 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); switch (direction) { case 2: @@ -764,7 +764,7 @@ static void BobsleighRCTrackFlatToLeftBank( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); @@ -813,7 +813,7 @@ static void BobsleighRCTrackFlatToRightBank( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); @@ -862,7 +862,7 @@ static void BobsleighRCTrackLeftBankToFlat( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); @@ -911,7 +911,7 @@ static void BobsleighRCTrackRightBankToFlat( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); @@ -961,7 +961,7 @@ static void BobsleighRCTrackBankedLeftQuarterTurn5( { { 0, 6, height + 27 }, { 32, 20, 0 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -1152,7 +1152,7 @@ static void BobsleighRCTrackBankedLeftQuarterTurn5( { { 6, 0, height + 27 }, { 20, 32, 0 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); switch (direction) { case 2: @@ -1225,7 +1225,7 @@ static void BobsleighRCTrackLeftBankTo25DegUp( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -1281,7 +1281,7 @@ static void BobsleighRCTrackRightBankTo25DegUp( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -1337,7 +1337,7 @@ static void BobsleighRCTrack25DegUpToLeftBank( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -1393,7 +1393,7 @@ static void BobsleighRCTrack25DegUpToRightBank( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -1481,7 +1481,7 @@ static void BobsleighRCTrackLeftBank( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); @@ -1953,7 +1953,7 @@ static void BobsleighRCTrackLeftQuarterTurn3( { { 0, 6, height + 27 }, { 32, 20, 0 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -2049,7 +2049,7 @@ static void BobsleighRCTrackLeftQuarterTurn3( { { 6, 0, height + 27 }, { 20, 32, 0 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); switch (direction) { case 2: @@ -2122,7 +2122,7 @@ static void BobsleighRCTrackLeftQuarterTurn3Bank( { { 0, 6, height + 27 }, { 32, 20, 0 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -2218,7 +2218,7 @@ static void BobsleighRCTrackLeftQuarterTurn3Bank( { { 6, 0, height + 27 }, { 20, 32, 0 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); switch (direction) { case 2: @@ -2291,7 +2291,7 @@ static void BobsleighRCTrackLeftHalfBankedHelixUpSmall( { { 0, 6, height + 27 }, { 32, 20, 0 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 2, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 2, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -2389,7 +2389,7 @@ static void BobsleighRCTrackLeftHalfBankedHelixUpSmall( { { 6, 0, height + 27 }, { 20, 32, 0 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); switch (direction) { case 2: @@ -2445,7 +2445,7 @@ static void BobsleighRCTrackLeftHalfBankedHelixUpSmall( { { 6, 0, height + 27 }, { 20, 32, 0 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 2, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 2, height, session.SupportColours); switch (direction) { case 0: @@ -2549,7 +2549,7 @@ static void BobsleighRCTrackLeftHalfBankedHelixUpSmall( { { 0, 6, height + 27 }, { 32, 20, 0 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height + 8, kTunnelGroup, TunnelSubType::Flat); @@ -2610,7 +2610,7 @@ static void BobsleighRCTrackRightHalfBankedHelixUpSmall( { { 0, 6, height + 27 }, { 32, 20, 0 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 2, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 2, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -2709,7 +2709,7 @@ static void BobsleighRCTrackRightHalfBankedHelixUpSmall( { { 6, 0, height + 27 }, { 20, 32, 0 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); switch (direction) { case 0: @@ -2765,7 +2765,7 @@ static void BobsleighRCTrackRightHalfBankedHelixUpSmall( { { 6, 0, height + 27 }, { 20, 32, 0 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 2, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 2, height, session.SupportColours); switch (direction) { case 2: @@ -2868,7 +2868,7 @@ static void BobsleighRCTrackRightHalfBankedHelixUpSmall( { { 0, 6, height + 27 }, { 32, 20, 0 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height + 8, kTunnelGroup, TunnelSubType::Flat); @@ -2959,7 +2959,7 @@ static void BobsleighRCTrackLeftHalfBankedHelixUpLarge( { { 0, 6, height + 27 }, { 32, 20, 0 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 1, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 1, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -3152,7 +3152,7 @@ static void BobsleighRCTrackLeftHalfBankedHelixUpLarge( { { 6, 0, height + 27 }, { 20, 32, 0 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 7, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 7, height, session.SupportColours); switch (direction) { case 2: @@ -3208,7 +3208,7 @@ static void BobsleighRCTrackLeftHalfBankedHelixUpLarge( { { 6, 0, height + 27 }, { 20, 32, 0 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 1, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 1, height, session.SupportColours); switch (direction) { case 0: @@ -3406,7 +3406,7 @@ static void BobsleighRCTrackLeftHalfBankedHelixUpLarge( { { 0, 6, height + 27 }, { 32, 20, 0 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 7, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 7, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height + 8, kTunnelGroup, TunnelSubType::Flat); @@ -3467,7 +3467,7 @@ static void BobsleighRCTrackRightHalfBankedHelixUpLarge( { { 0, 6, height + 27 }, { 32, 20, 0 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 1, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 1, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -3660,7 +3660,7 @@ static void BobsleighRCTrackRightHalfBankedHelixUpLarge( { { 6, 0, height + 27 }, { 20, 32, 0 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 7, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 7, height, session.SupportColours); switch (direction) { case 0: @@ -3716,7 +3716,7 @@ static void BobsleighRCTrackRightHalfBankedHelixUpLarge( { { 6, 0, height + 27 }, { 20, 32, 0 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 1, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 1, height, session.SupportColours); switch (direction) { case 2: @@ -3914,7 +3914,7 @@ static void BobsleighRCTrackRightHalfBankedHelixUpLarge( { { 0, 6, height + 27 }, { 32, 20, 0 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 7, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 7, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height + 8, kTunnelGroup, TunnelSubType::Flat); @@ -3990,7 +3990,7 @@ static void BobsleighRCTrackBrakes( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); @@ -4026,7 +4026,7 @@ static void BobsleighRCTrackBlockBrakes( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); diff --git a/src/openrct2/paint/track/coaster/ClassicStandUpRollerCoaster.cpp b/src/openrct2/paint/track/coaster/ClassicStandUpRollerCoaster.cpp index 3752000cc8..eb22b2a4c9 100644 --- a/src/openrct2/paint/track/coaster/ClassicStandUpRollerCoaster.cpp +++ b/src/openrct2/paint/track/coaster/ClassicStandUpRollerCoaster.cpp @@ -164,7 +164,7 @@ static void classicStandUpRCTrackFlatToLeftBank( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -189,7 +189,7 @@ static void classicStandUpRCTrackFlatToRightBank( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -232,7 +232,7 @@ static void classicStandUpRCTrackBankedRightQuarterTurn5( session, direction, session.TrackColours.WithIndex(map[direction]), { 0, 6, height }, { 32, 20, 3 }); MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height, session.SupportColours); switch (direction) { case 0: @@ -369,7 +369,7 @@ static void classicStandUpRCTrackBankedRightQuarterTurn5( session, direction, session.TrackColours.WithIndex(map[direction]), { 6, 0, height }, { 20, 32, 3 }); MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height, session.SupportColours); if (direction == 1 || direction == 0) { PaintUtilPushTunnelRotated(session, direction ^ 1, height, kTunnelGroup, TunnelSubType::Flat); @@ -414,7 +414,7 @@ static void classicStandUpRCTrackLeftBankTo25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 3, height, session.SupportColours); } if (direction == 0 || direction == 3) @@ -446,7 +446,7 @@ static void classicStandUpRCTrackRightBankTo25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 3, height, session.SupportColours); } if (direction == 0 || direction == 3) @@ -478,7 +478,7 @@ static void classicStandUpRCTrack25DegUpToLeftBank( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 6, height, session.SupportColours); } if (direction == 0 || direction == 3) @@ -510,7 +510,7 @@ static void classicStandUpRCTrack25DegUpToRightBank( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 6, height, session.SupportColours); } if (direction == 0 || direction == 3) @@ -574,7 +574,7 @@ static void classicStandUpRCTrackLeftBank( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -616,7 +616,7 @@ static void classicStandUpRCTrackLeftEighthBankToDiag( { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -727,7 +727,7 @@ static void classicStandUpRCTrackLeftEighthBankToDiag( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::BottomCorner, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, direction, 0, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, @@ -768,7 +768,7 @@ static void classicStandUpRCTrackRightEighthBankToDiag( { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -880,7 +880,7 @@ static void classicStandUpRCTrackRightEighthBankToDiag( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 0, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, @@ -937,7 +937,7 @@ static void classicStandUpRCTrackRightBankedQuarterTurn3( session, direction, session.TrackColours.WithIndex(imageId), { 0, 6, height }, { 32, 20, 3 }); MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height, session.SupportColours); switch (direction) { case 0: @@ -989,7 +989,7 @@ static void classicStandUpRCTrackRightBankedQuarterTurn3( session, direction, session.TrackColours.WithIndex(imageId), { 6, 0, height }, { 20, 32, 3 }); MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height, session.SupportColours); if (direction == 0 || direction == 1) { PaintUtilPushTunnelRotated(session, direction ^ 1, height, kTunnelGroup, TunnelSubType::Flat); @@ -1064,7 +1064,7 @@ static inline void classicStandUpRCTrackDiagFlatWithBank( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 0, height, session.SupportColours); break; } @@ -1194,7 +1194,7 @@ static void classicStandUpRCTrackDiagFlatTo25DegUpBanked( break; } MetalBSupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 4, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, @@ -1311,7 +1311,7 @@ static void classicStandUpRCTrackDiag25DegUpToFlatBanked( break; } MetalBSupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 8, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, diff --git a/src/openrct2/paint/track/coaster/CompactInvertedCoaster.cpp b/src/openrct2/paint/track/coaster/CompactInvertedCoaster.cpp index 26512226f5..15b149e86a 100644 --- a/src/openrct2/paint/track/coaster/CompactInvertedCoaster.cpp +++ b/src/openrct2/paint/track/coaster/CompactInvertedCoaster.cpp @@ -100,7 +100,7 @@ static void CompactInvertedRCTrackFlat( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -200,19 +200,19 @@ static void CompactInvertedRCTrack25DegUp( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 56, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 56, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 56, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 56, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 56, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 56, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 56, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 56, session.SupportColours); break; } } @@ -362,19 +362,19 @@ static void CompactInvertedRCTrackFlatTo25DegUp( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 48, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 48, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 48, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 48, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 48, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 48, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 48, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 48, session.SupportColours); break; } } @@ -548,19 +548,19 @@ static void CompactInvertedRCTrack60DegUpTo25DegUp( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 70, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 70, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 70, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 70, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 70, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 70, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 70, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 70, session.SupportColours); break; } } @@ -641,19 +641,19 @@ static void CompactInvertedRCTrack25DegUpToFlat( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 46, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 46, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 46, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 46, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 46, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 46, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 46, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 46, session.SupportColours); break; } } @@ -760,7 +760,7 @@ static void CompactInvertedRCTrackLeftQuarterTurn5( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); if (direction == 0 || direction == 3) { @@ -903,7 +903,7 @@ static void CompactInvertedRCTrackLeftQuarterTurn5( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); switch (direction) { @@ -969,7 +969,7 @@ static void CompactInvertedRCTrackFlatToLeftBank( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -1016,7 +1016,7 @@ static void CompactInvertedRCTrackFlatToRightBank( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -1063,7 +1063,7 @@ static void CompactInvertedRCTrackLeftBankToFlat( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -1110,7 +1110,7 @@ static void CompactInvertedRCTrackRightBankToFlat( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -1158,7 +1158,7 @@ static void CompactInvertedRCTrackBankedLeftQuarterTurn5( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); if (direction == 0 || direction == 3) { @@ -1301,7 +1301,7 @@ static void CompactInvertedRCTrackBankedLeftQuarterTurn5( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); switch (direction) { @@ -1370,19 +1370,19 @@ static void CompactInvertedRCTrackLeftBankTo25DegUp( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 46, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 46, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 46, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 46, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 46, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 46, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 46, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 46, session.SupportColours); break; } } @@ -1441,19 +1441,19 @@ static void CompactInvertedRCTrackRightBankTo25DegUp( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 46, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 46, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 46, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 46, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 46, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 46, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 46, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 46, session.SupportColours); break; } } @@ -1512,19 +1512,19 @@ static void CompactInvertedRCTrack25DegUpToLeftBank( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 46, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 46, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 46, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 46, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 46, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 46, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 46, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 46, session.SupportColours); break; } } @@ -1583,19 +1583,19 @@ static void CompactInvertedRCTrack25DegUpToRightBank( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 46, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 46, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 46, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 46, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 46, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 46, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 46, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 46, session.SupportColours); break; } } @@ -1687,7 +1687,7 @@ static void CompactInvertedRCTrackLeftBank( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -1739,7 +1739,7 @@ static void CompactInvertedRCTrackLeftQuarterTurn525DegUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 48, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 48, session.SupportColours); if (direction == 0 || direction == 3) { @@ -1871,7 +1871,7 @@ static void CompactInvertedRCTrackLeftQuarterTurn525DegUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 48, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 48, session.SupportColours); switch (direction) { @@ -1924,7 +1924,7 @@ static void CompactInvertedRCTrackRightQuarterTurn525DegUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 48, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 48, session.SupportColours); if (direction == 0 || direction == 3) { @@ -2056,7 +2056,7 @@ static void CompactInvertedRCTrackRightQuarterTurn525DegUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 48, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 48, session.SupportColours); switch (direction) { @@ -2462,19 +2462,19 @@ static void CompactInvertedRCTrackLeftVerticalLoop( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 49, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 49, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 49, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 49, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 49, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 49, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 49, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 49, session.SupportColours); break; } @@ -2713,19 +2713,19 @@ static void CompactInvertedRCTrackLeftVerticalLoop( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 49, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 49, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 49, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 49, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 49, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 49, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 49, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 49, session.SupportColours); break; } @@ -2787,19 +2787,19 @@ static void CompactInvertedRCTrackRightVerticalLoop( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 49, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 49, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 49, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 49, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 49, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 49, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 49, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 49, session.SupportColours); break; } @@ -3039,19 +3039,19 @@ static void CompactInvertedRCTrackRightVerticalLoop( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 49, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 49, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 49, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 49, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 49, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 49, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 49, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 49, session.SupportColours); break; } @@ -3110,7 +3110,7 @@ static void CompactInvertedRCTrackLeftQuarterTurn3( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); if (direction == 0 || direction == 3) { @@ -3186,7 +3186,7 @@ static void CompactInvertedRCTrackLeftQuarterTurn3( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); switch (direction) { @@ -3253,7 +3253,7 @@ static void CompactInvertedRCTrackLeftQuarterTurn3Bank( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); if (direction == 0 || direction == 3) { @@ -3330,7 +3330,7 @@ static void CompactInvertedRCTrackLeftQuarterTurn3Bank( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); switch (direction) { @@ -3393,7 +3393,7 @@ static void CompactInvertedRCTrackLeftQuarterTurn325DegUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 46, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 46, session.SupportColours); if (direction == 0 || direction == 3) { @@ -3437,7 +3437,7 @@ static void CompactInvertedRCTrackLeftQuarterTurn325DegUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 46, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 46, session.SupportColours); switch (direction) { @@ -3490,7 +3490,7 @@ static void CompactInvertedRCTrackRightQuarterTurn325DegUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 46, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 46, session.SupportColours); if (direction == 0 || direction == 3) { @@ -3534,7 +3534,7 @@ static void CompactInvertedRCTrackRightQuarterTurn325DegUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 46, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 46, session.SupportColours); switch (direction) { @@ -3607,7 +3607,7 @@ static void CompactInvertedRCTrackLeftTwistDownToUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); if (direction == 0 || direction == 3) { @@ -3665,7 +3665,7 @@ static void CompactInvertedRCTrackLeftTwistDownToUp( session, direction, session.TrackColours.WithIndex(27002), { 0, 6, height }, { 32, 20, 3 }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); switch (direction) { case 1: @@ -3725,7 +3725,7 @@ static void CompactInvertedRCTrackRightTwistDownToUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); if (direction == 0 || direction == 3) { @@ -3783,7 +3783,7 @@ static void CompactInvertedRCTrackRightTwistDownToUp( session, direction, session.TrackColours.WithIndex(27014), { 0, 6, height }, { 32, 20, 3 }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); switch (direction) { case 1: @@ -3833,7 +3833,7 @@ static void CompactInvertedRCTrackLeftTwistUpToDown( session, direction, session.TrackColours.WithIndex(27001), { 0, 6, height }, { 32, 20, 3 }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -3908,7 +3908,7 @@ static void CompactInvertedRCTrackLeftTwistUpToDown( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); switch (direction) { @@ -3951,7 +3951,7 @@ static void CompactInvertedRCTrackRightTwistUpToDown( session, direction, session.TrackColours.WithIndex(27013), { 0, 6, height }, { 32, 20, 3 }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -4026,7 +4026,7 @@ static void CompactInvertedRCTrackRightTwistUpToDown( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); switch (direction) { @@ -4080,19 +4080,19 @@ static void CompactInvertedRCTrackHalfLoopUp( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 56, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 56, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 56, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 56, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 56, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 56, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 56, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 56, session.SupportColours); break; } @@ -4247,7 +4247,7 @@ static void CompactInvertedRCTrackLeftCorkscrewUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 44, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 44, session.SupportColours); if (direction == 0 || direction == 3) { @@ -4307,7 +4307,7 @@ static void CompactInvertedRCTrackLeftCorkscrewUp( break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 28, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 28, session.SupportColours); switch (direction) { case 2: @@ -4371,7 +4371,7 @@ static void CompactInvertedRCTrackRightCorkscrewUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 44, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 44, session.SupportColours); if (direction == 0 || direction == 3) { @@ -4431,7 +4431,7 @@ static void CompactInvertedRCTrackRightCorkscrewUp( break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 28, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 28, session.SupportColours); switch (direction) { case 0: @@ -4607,7 +4607,7 @@ static void CompactInvertedRCTrackBrakes( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -4655,7 +4655,7 @@ static void CompactInvertedRCTrackLeftQuarterBankedHelixLargeUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 44, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 44, session.SupportColours); if (direction == 0 || direction == 3) { @@ -4803,7 +4803,7 @@ static void CompactInvertedRCTrackLeftQuarterBankedHelixLargeUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 56, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 56, session.SupportColours); switch (direction) { @@ -4860,7 +4860,7 @@ static void CompactInvertedRCTrackRightQuarterBankedHelixLargeUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 44, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 44, session.SupportColours); if (direction == 0 || direction == 3) { @@ -5008,7 +5008,7 @@ static void CompactInvertedRCTrackRightQuarterBankedHelixLargeUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 56, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 56, session.SupportColours); switch (direction) { @@ -5065,7 +5065,7 @@ static void CompactInvertedRCTrackLeftQuarterBankedHelixLargeDown( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 56, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 56, session.SupportColours); if (direction == 0 || direction == 3) { @@ -5213,7 +5213,7 @@ static void CompactInvertedRCTrackLeftQuarterBankedHelixLargeDown( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 44, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 44, session.SupportColours); switch (direction) { @@ -5270,7 +5270,7 @@ static void CompactInvertedRCTrackRightQuarterBankedHelixLargeDown( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 56, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 56, session.SupportColours); if (direction == 0 || direction == 3) { @@ -5418,7 +5418,7 @@ static void CompactInvertedRCTrackRightQuarterBankedHelixLargeDown( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 44, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 44, session.SupportColours); switch (direction) { @@ -5807,7 +5807,7 @@ static void CompactInvertedRCTrackLeftEighthToDiag( PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); if (direction == 0 || direction == 3) { @@ -5929,22 +5929,22 @@ static void CompactInvertedRCTrackLeftEighthToDiag( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + kSupportHeight, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + kSupportHeight, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + kSupportHeight, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + kSupportHeight, session.SupportColours); break; } @@ -5989,7 +5989,7 @@ static void CompactInvertedRCTrackRightEighthToDiag( PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); if (direction == 0 || direction == 3) { @@ -6112,22 +6112,22 @@ static void CompactInvertedRCTrackRightEighthToDiag( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + kSupportHeight, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + kSupportHeight, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + kSupportHeight, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + kSupportHeight, session.SupportColours); break; } @@ -6197,7 +6197,7 @@ static void CompactInvertedRCTrackLeftEighthBankToDiag( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); if (direction == 0 || direction == 3) { @@ -6319,22 +6319,22 @@ static void CompactInvertedRCTrackLeftEighthBankToDiag( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + kSupportHeight, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + kSupportHeight, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + kSupportHeight, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + kSupportHeight, session.SupportColours); break; } @@ -6383,7 +6383,7 @@ static void CompactInvertedRCTrackRightEighthBankToDiag( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); if (direction == 0 || direction == 3) { @@ -6506,22 +6506,22 @@ static void CompactInvertedRCTrackRightEighthBankToDiag( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + kSupportHeight, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + kSupportHeight, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + kSupportHeight, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + kSupportHeight, session.SupportColours); break; } @@ -6728,19 +6728,19 @@ static void CompactInvertedRCTrackDiag25DegUp( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 50, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 50, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 50, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 50, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 50, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 50, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + 50, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + 50, session.SupportColours); break; } @@ -6828,22 +6828,22 @@ static void CompactInvertedRCTrackDiag60DegUp( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 32, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::leftCorner, 32, height + kSupportHeight, session.SupportColours); break; case 1: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 36, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::topCorner, 36, height + kSupportHeight, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 32, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::rightCorner, 32, height + kSupportHeight, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 36, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::bottomCorner, 36, height + kSupportHeight, session.SupportColours); break; } @@ -6988,19 +6988,19 @@ static void CompactInvertedRCTrackDiagFlatTo25DegUp( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 42, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 42, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 42, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 42, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 42, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 42, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + 42, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + 42, session.SupportColours); break; } @@ -7088,22 +7088,22 @@ static void CompactInvertedRCTrackDiag25DegUpTo60DegUp( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 16, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::leftCorner, 16, height + kSupportHeight, session.SupportColours); break; case 1: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 16, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::topCorner, 16, height + kSupportHeight, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 16, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::rightCorner, 16, height + kSupportHeight, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 16, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::bottomCorner, 16, height + kSupportHeight, session.SupportColours); break; } @@ -7192,22 +7192,22 @@ static void CompactInvertedRCTrackDiag60DegUpTo25DegUp( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 21, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::leftCorner, 21, height + kSupportHeight, session.SupportColours); break; case 1: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 21, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::topCorner, 21, height + kSupportHeight, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 21, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::rightCorner, 21, height + kSupportHeight, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 21, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::bottomCorner, 21, height + kSupportHeight, session.SupportColours); break; } @@ -7352,19 +7352,19 @@ static void CompactInvertedRCTrackDiag25DegUpToFlat( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 44, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 44, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 44, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 44, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 44, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 44, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + 44, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + 44, session.SupportColours); break; } @@ -7508,19 +7508,19 @@ static void CompactInvertedRCTrackDiag25DegDown( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 50, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 50, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 50, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 50, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 50, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 50, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + 50, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + 50, session.SupportColours); break; } @@ -7608,22 +7608,22 @@ static void CompactInvertedRCTrackDiag60DegDown( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 24, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::leftCorner, 24, height + kSupportHeight, session.SupportColours); break; case 1: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 28, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::topCorner, 28, height + kSupportHeight, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 24, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::rightCorner, 24, height + kSupportHeight, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 28, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::bottomCorner, 28, height + kSupportHeight, session.SupportColours); break; } @@ -7765,19 +7765,19 @@ static void CompactInvertedRCTrackDiagFlatTo25DegDown( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 44, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 44, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 44, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 44, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 44, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 44, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + 44, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + 44, session.SupportColours); break; } break; @@ -7865,22 +7865,22 @@ static void CompactInvertedRCTrackDiag25DegDownTo60DegDown( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 17, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::leftCorner, 17, height + kSupportHeight, session.SupportColours); break; case 1: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 17, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::topCorner, 17, height + kSupportHeight, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 17, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::rightCorner, 17, height + kSupportHeight, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 17, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::bottomCorner, 17, height + kSupportHeight, session.SupportColours); break; } @@ -7969,22 +7969,22 @@ static void CompactInvertedRCTrackDiag60DegDownTo25DegDown( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 8, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::leftCorner, 8, height + kSupportHeight, session.SupportColours); break; case 1: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 8, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::topCorner, 8, height + kSupportHeight, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 8, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::rightCorner, 8, height + kSupportHeight, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 8, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::bottomCorner, 8, height + kSupportHeight, session.SupportColours); break; } @@ -8129,19 +8129,19 @@ static void CompactInvertedRCTrackDiag25DegDownToFlat( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 42, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 42, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 42, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 42, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 42, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 42, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + 42, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + 42, session.SupportColours); break; } @@ -8231,22 +8231,22 @@ static void CompactInvertedRCTrackDiagFlatToLeftBank( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + kSupportHeight, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + kSupportHeight, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + kSupportHeight, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + kSupportHeight, session.SupportColours); break; } @@ -8337,22 +8337,22 @@ static void CompactInvertedRCTrackDiagFlatToRightBank( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + kSupportHeight, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + kSupportHeight, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + kSupportHeight, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + kSupportHeight, session.SupportColours); break; } @@ -8443,22 +8443,22 @@ static void CompactInvertedRCTrackDiagLeftBankToFlat( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + kSupportHeight, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + kSupportHeight, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + kSupportHeight, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + kSupportHeight, session.SupportColours); break; } @@ -8549,22 +8549,22 @@ static void CompactInvertedRCTrackDiagRightBankToFlat( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + kSupportHeight, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + kSupportHeight, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + kSupportHeight, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + kSupportHeight, session.SupportColours); break; } @@ -8653,19 +8653,19 @@ static void CompactInvertedRCTrackDiagLeftBankTo25DegUp( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 42, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 42, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 42, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 42, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 42, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 42, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + 42, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + 42, session.SupportColours); break; } @@ -8753,19 +8753,19 @@ static void CompactInvertedRCTrackDiagRightBankTo25DegUp( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 42, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 42, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 42, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 42, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 42, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 42, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + 42, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + 42, session.SupportColours); break; } @@ -8853,19 +8853,19 @@ static void CompactInvertedRCTrackDiag25DegUpToLeftBank( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 44, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 44, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 44, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 44, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 44, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 44, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + 44, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + 44, session.SupportColours); break; } @@ -8953,19 +8953,19 @@ static void CompactInvertedRCTrackDiag25DegUpToRightBank( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 44, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 44, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 44, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 44, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 44, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 44, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + 44, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + 44, session.SupportColours); break; } @@ -9050,19 +9050,19 @@ static void CompactInvertedRCTrackDiagLeftBankTo25DegDown( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 44, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 44, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 44, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 44, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 44, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 44, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + 44, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + 44, session.SupportColours); break; } break; @@ -9147,19 +9147,19 @@ static void CompactInvertedRCTrackDiagRightBankTo25DegDown( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 44, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 44, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 44, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 44, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 44, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 44, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + 44, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + 44, session.SupportColours); break; } break; @@ -9247,19 +9247,19 @@ static void CompactInvertedRCTrackDiag25DegDownToLeftBank( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 42, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 42, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 42, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 42, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 42, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 42, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + 42, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + 42, session.SupportColours); break; } @@ -9347,19 +9347,19 @@ static void CompactInvertedRCTrackDiag25DegDownToRightBank( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 42, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 42, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 42, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 42, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 42, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 42, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + 42, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + 42, session.SupportColours); break; } @@ -9449,22 +9449,22 @@ static void CompactInvertedRCTrackDiagLeftBank( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + kSupportHeight, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + kSupportHeight, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + kSupportHeight, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + kSupportHeight, session.SupportColours); break; } @@ -9555,22 +9555,22 @@ static void CompactInvertedRCTrackDiagRightBank( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + kSupportHeight, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + kSupportHeight, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + kSupportHeight, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + kSupportHeight, session.SupportColours); break; } @@ -9605,7 +9605,7 @@ static void CompactInvertedRCTrackBlockBrakes( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); diff --git a/src/openrct2/paint/track/coaster/CorkscrewRollerCoaster.cpp b/src/openrct2/paint/track/coaster/CorkscrewRollerCoaster.cpp index 83d9ee5704..beeb6b8355 100644 --- a/src/openrct2/paint/track/coaster/CorkscrewRollerCoaster.cpp +++ b/src/openrct2/paint/track/coaster/CorkscrewRollerCoaster.cpp @@ -93,7 +93,7 @@ static void CorkscrewRCTrackFlat( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height, session.SupportColours); } } else @@ -116,7 +116,7 @@ static void CorkscrewRCTrackFlat( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height, session.SupportColours); } } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -156,7 +156,7 @@ static void CorkscrewRCTrackStation( else if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height, session.SupportColours); } TrackPaintUtilDrawStationTunnel(session, direction, height); PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0); @@ -196,7 +196,7 @@ static void CorkscrewRCTrack25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 8, height, session.SupportColours); } } else @@ -227,7 +227,7 @@ static void CorkscrewRCTrack25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 8, height, session.SupportColours); } } if (direction == 0 || direction == 3) @@ -275,7 +275,7 @@ static void CorkscrewRCTrack60DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 32, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 32, height, session.SupportColours); } } else @@ -306,7 +306,7 @@ static void CorkscrewRCTrack60DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 32, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 32, height, session.SupportColours); } } if (direction == 0 || direction == 3) @@ -354,7 +354,7 @@ static void CorkscrewRCTrackFlatTo25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 3, height, session.SupportColours); } } else @@ -385,7 +385,7 @@ static void CorkscrewRCTrackFlatTo25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 3, height, session.SupportColours); } } if (direction == 0 || direction == 3) @@ -439,7 +439,7 @@ static void CorkscrewRCTrack25DegUpTo60DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 12, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 12, height, session.SupportColours); } } else @@ -476,7 +476,7 @@ static void CorkscrewRCTrack25DegUpTo60DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 12, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 12, height, session.SupportColours); } } if (direction == 0 || direction == 3) @@ -530,7 +530,7 @@ static void CorkscrewRCTrack60DegUpTo25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 20, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 20, height, session.SupportColours); } } else @@ -567,7 +567,7 @@ static void CorkscrewRCTrack60DegUpTo25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 20, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 20, height, session.SupportColours); } } if (direction == 0 || direction == 3) @@ -615,7 +615,7 @@ static void CorkscrewRCTrack25DegUpToFlat( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 6, height, session.SupportColours); } } else @@ -646,7 +646,7 @@ static void CorkscrewRCTrack25DegUpToFlat( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 6, height, session.SupportColours); } } if (direction == 0 || direction == 3) @@ -741,7 +741,7 @@ static void CorkscrewRCTrackLeftQuarterTurn5( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -885,7 +885,7 @@ static void CorkscrewRCTrackLeftQuarterTurn5( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height, session.SupportColours); switch (direction) { case 2: @@ -952,7 +952,7 @@ static void CorkscrewRCTrackFlatToLeftBank( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); @@ -996,7 +996,7 @@ static void CorkscrewRCTrackFlatToRightBank( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); @@ -1040,7 +1040,7 @@ static void CorkscrewRCTrackLeftBankToFlat( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); @@ -1084,7 +1084,7 @@ static void CorkscrewRCTrackRightBankToFlat( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); @@ -1126,7 +1126,7 @@ static void CorkscrewRCTrackBankedLeftQuarterTurn5( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -1273,7 +1273,7 @@ static void CorkscrewRCTrackBankedLeftQuarterTurn5( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height, session.SupportColours); switch (direction) { case 2: @@ -1341,7 +1341,7 @@ static void CorkscrewRCTrackLeftBankTo25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 3, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -1392,7 +1392,7 @@ static void CorkscrewRCTrackRightBankTo25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 3, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -1443,7 +1443,7 @@ static void CorkscrewRCTrack25DegUpToLeftBank( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 6, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -1494,7 +1494,7 @@ static void CorkscrewRCTrack25DegUpToRightBank( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 6, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -1571,7 +1571,7 @@ static void CorkscrewRCTrackLeftBank( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); @@ -1618,7 +1618,7 @@ static void CorkscrewRCTrackLeftQuarterTurn525DegUp( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 8, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -1757,7 +1757,7 @@ static void CorkscrewRCTrackLeftQuarterTurn525DegUp( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 8, height, session.SupportColours); switch (direction) { case 2: @@ -1810,7 +1810,7 @@ static void CorkscrewRCTrackRightQuarterTurn525DegUp( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 8, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -1949,7 +1949,7 @@ static void CorkscrewRCTrackRightQuarterTurn525DegUp( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 8, height, session.SupportColours); switch (direction) { case 0: @@ -2314,25 +2314,25 @@ static void CorkscrewRCTrackLeftVerticalLoop( PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16562), { 0, 6, height }, { 32, 20, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16570), { 0, 6, height }, { 32, 20, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16569), { 0, 6, height }, { 32, 20, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16577), { 0, 6, height }, { 32, 20, 7 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); break; } if (direction == 0 || direction == 3) @@ -2356,25 +2356,25 @@ static void CorkscrewRCTrackLeftVerticalLoop( PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16563), { 0, 0, height }, { 32, 26, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 20, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 20, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16571), { 0, 14, height }, { 32, 2, 63 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 15, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 15, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16568), { 0, 6, height }, { 32, 26, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 16, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16576), { 0, 6, height }, { 32, 26, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 10, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 10, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -2524,25 +2524,25 @@ static void CorkscrewRCTrackLeftVerticalLoop( PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16568), { 0, 6, height }, { 32, 26, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 16, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16576), { 0, 6, height }, { 32, 26, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 10, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 10, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16563), { 0, 0, height }, { 32, 26, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 20, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 20, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16571), { 0, 14, height }, { 32, 2, 63 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 15, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 15, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -2562,25 +2562,25 @@ static void CorkscrewRCTrackLeftVerticalLoop( PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16569), { 0, 6, height }, { 32, 20, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16577), { 0, 6, height }, { 32, 20, 7 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16562), { 0, 6, height }, { 32, 20, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16570), { 0, 6, height }, { 32, 20, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; } switch (direction) @@ -2633,7 +2633,7 @@ static void CorkscrewRCTrackRightVerticalLoop( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 8, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -2647,25 +2647,25 @@ static void CorkscrewRCTrackRightVerticalLoop( PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16592), { 0, 6, height }, { 32, 26, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16584), { 0, 6, height }, { 32, 26, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 16, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16587), { 0, 14, height }, { 32, 2, 63 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 12, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 12, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16579), { 0, 0, height }, { 32, 26, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 20, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 20, height, session.SupportColours); break; } PaintUtilSetGeneralSupportHeight(session, height + 72); @@ -2779,25 +2779,25 @@ static void CorkscrewRCTrackRightVerticalLoop( PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16587), { 0, 14, height }, { 32, 2, 63 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 12, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 12, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16579), { 0, 0, height }, { 32, 26, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 20, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 20, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16592), { 0, 6, height }, { 32, 26, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16584), { 0, 6, height }, { 32, 26, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 16, height, session.SupportColours); break; } PaintUtilSetGeneralSupportHeight(session, height + 72); @@ -2823,7 +2823,7 @@ static void CorkscrewRCTrackRightVerticalLoop( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 8, height, session.SupportColours); switch (direction) { case 1: @@ -2872,7 +2872,7 @@ static void CorkscrewRCTrackLeftQuarterTurn3( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -2945,7 +2945,7 @@ static void CorkscrewRCTrackLeftQuarterTurn3( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height, session.SupportColours); switch (direction) { case 2: @@ -3010,7 +3010,7 @@ static void CorkscrewRCTrackLeftQuarterTurn3Bank( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -3086,7 +3086,7 @@ static void CorkscrewRCTrackLeftQuarterTurn3Bank( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height, session.SupportColours); switch (direction) { case 2: @@ -3144,7 +3144,7 @@ static void CorkscrewRCTrackLeftQuarterTurn325DegUp( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 8, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -3184,7 +3184,7 @@ static void CorkscrewRCTrackLeftQuarterTurn325DegUp( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 8, height, session.SupportColours); switch (direction) { case 2: @@ -3233,7 +3233,7 @@ static void CorkscrewRCTrackRightQuarterTurn325DegUp( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 8, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -3259,25 +3259,25 @@ static void CorkscrewRCTrackRightQuarterTurn325DegUp( PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16531), { 6, 0, height }, { 20, 32, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16533), { 6, 0, height }, { 20, 32, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16535), { 6, 0, height }, { 20, 32, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 10, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 10, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16537), { 6, 0, height }, { 20, 32, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; } switch (direction) @@ -3348,7 +3348,7 @@ static void CorkscrewRCTrackHalfLoopUp( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 8, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -3365,27 +3365,27 @@ static void CorkscrewRCTrackHalfLoopUp( session, direction, session.TrackColours.WithIndex(16595), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 20, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 20, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16603), { 0, 14, height }, { { 28, 6, height }, { 3, 20, 63 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 15, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 15, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16600), { 0, 6, height }, { { 28, 6, height }, { 3, 20, 63 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 16, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16608), { 0, 6, height }, { 32, 20, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 16, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0); @@ -3563,7 +3563,7 @@ static void CorkscrewRCTrackLeftCorkscrewUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 35, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 35, session.SupportColours); switch (direction) { @@ -3611,7 +3611,7 @@ static void CorkscrewRCTrackRightCorkscrewUp( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -3687,7 +3687,7 @@ static void CorkscrewRCTrackRightCorkscrewUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 35, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 35, session.SupportColours); switch (direction) { @@ -3754,7 +3754,7 @@ static void CorkscrewRCTrackLeftHalfBankedHelixUpSmall( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 2, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 2, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -3832,7 +3832,7 @@ static void CorkscrewRCTrackLeftHalfBankedHelixUpSmall( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 6, height, session.SupportColours); switch (direction) { case 2: @@ -3880,7 +3880,7 @@ static void CorkscrewRCTrackLeftHalfBankedHelixUpSmall( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 2, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 2, height, session.SupportColours); switch (direction) { case 0: @@ -3964,7 +3964,7 @@ static void CorkscrewRCTrackLeftHalfBankedHelixUpSmall( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 6, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height + 8, kTunnelGroup, TunnelSubType::Flat); @@ -4017,7 +4017,7 @@ static void CorkscrewRCTrackRightHalfBankedHelixUpSmall( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 2, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 2, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -4096,7 +4096,7 @@ static void CorkscrewRCTrackRightHalfBankedHelixUpSmall( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 6, height, session.SupportColours); switch (direction) { case 0: @@ -4144,7 +4144,7 @@ static void CorkscrewRCTrackRightHalfBankedHelixUpSmall( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 2, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 2, height, session.SupportColours); switch (direction) { case 2: @@ -4227,7 +4227,7 @@ static void CorkscrewRCTrackRightHalfBankedHelixUpSmall( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 6, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height + 8, kTunnelGroup, TunnelSubType::Flat); @@ -4310,7 +4310,7 @@ static void CorkscrewRCTrackLeftHalfBankedHelixUpLarge( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 1, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 1, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -4459,7 +4459,7 @@ static void CorkscrewRCTrackLeftHalfBankedHelixUpLarge( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 7, height, session.SupportColours); switch (direction) { case 2: @@ -4507,7 +4507,7 @@ static void CorkscrewRCTrackLeftHalfBankedHelixUpLarge( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 1, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 1, height, session.SupportColours); switch (direction) { case 0: @@ -4661,7 +4661,7 @@ static void CorkscrewRCTrackLeftHalfBankedHelixUpLarge( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 7, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height + 8, kTunnelGroup, TunnelSubType::Flat); @@ -4714,7 +4714,7 @@ static void CorkscrewRCTrackRightHalfBankedHelixUpLarge( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 1, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 1, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -4863,7 +4863,7 @@ static void CorkscrewRCTrackRightHalfBankedHelixUpLarge( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 7, height, session.SupportColours); switch (direction) { case 0: @@ -4911,7 +4911,7 @@ static void CorkscrewRCTrackRightHalfBankedHelixUpLarge( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 1, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 1, height, session.SupportColours); switch (direction) { case 2: @@ -5065,7 +5065,7 @@ static void CorkscrewRCTrackRightHalfBankedHelixUpLarge( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 7, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height + 8, kTunnelGroup, TunnelSubType::Flat); @@ -5246,7 +5246,7 @@ static void CorkscrewRCTrackBrakes( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); @@ -5320,7 +5320,7 @@ static void CorkscrewRCTrackFlatTo60DegUpLongBase( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -5357,7 +5357,7 @@ static void CorkscrewRCTrackFlatTo60DegUpLongBase( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 7, height, session.SupportColours); } PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); @@ -5390,7 +5390,7 @@ static void CorkscrewRCTrackFlatTo60DegUpLongBase( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 9, height, session.SupportColours); } PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); @@ -5423,7 +5423,7 @@ static void CorkscrewRCTrackFlatTo60DegUpLongBase( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 18, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 18, height, session.SupportColours); } switch (direction) { @@ -5475,7 +5475,7 @@ static void CorkscrewRCTrack60DegUpToFlatLongBase( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 20, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 20, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -5512,7 +5512,7 @@ static void CorkscrewRCTrack60DegUpToFlatLongBase( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 16, height, session.SupportColours); } PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); @@ -5545,7 +5545,7 @@ static void CorkscrewRCTrack60DegUpToFlatLongBase( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 13, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 13, height, session.SupportColours); } PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); @@ -5578,7 +5578,7 @@ static void CorkscrewRCTrack60DegUpToFlatLongBase( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 5, height, session.SupportColours); } switch (direction) { @@ -5646,7 +5646,7 @@ static void CorkscrewRCTrackLeftEighthToDiag( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -5740,28 +5740,28 @@ static void CorkscrewRCTrackLeftEighthToDiag( session, direction, session.TrackColours.WithIndex(16743), { 0, 0, height }, { { 16, 16, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16747), { 0, 0, height }, { { 0, 16, height }, { 16, 18, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16751), { 0, 0, height }, { { 0, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16755), { 0, 0, height }, { { 16, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -5809,7 +5809,7 @@ static void CorkscrewRCTrackRightEighthToDiag( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -5904,28 +5904,28 @@ static void CorkscrewRCTrackRightEighthToDiag( session, direction, session.TrackColours.WithIndex(16727), { 0, 0, height }, { { 16, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16731), { 0, 0, height }, { { 0, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16735), { 0, 0, height }, { { 0, 16, height }, { 16, 18, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16739), { 0, 0, height }, { { 16, 16, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -5991,7 +5991,7 @@ static void CorkscrewRCTrackLeftEighthBankToDiag( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -6085,28 +6085,28 @@ static void CorkscrewRCTrackLeftEighthBankToDiag( session, direction, session.TrackColours.WithIndex(16775), { 0, 0, height }, { { 16, 16, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16779), { 0, 0, height }, { { 0, 16, height + 27 }, { 16, 18, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16783), { 0, 0, height }, { { 0, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16787), { 0, 0, height }, { { 16, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -6154,7 +6154,7 @@ static void CorkscrewRCTrackRightEighthBankToDiag( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -6249,28 +6249,28 @@ static void CorkscrewRCTrackRightEighthBankToDiag( session, direction, session.TrackColours.WithIndex(16759), { 0, 0, height }, { { 16, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16763), { 0, 0, height }, { { 0, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16767), { 0, 0, height }, { { 0, 16, height + 27 }, { 16, 18, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16771), { 0, 0, height }, { { 16, 16, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -6464,22 +6464,22 @@ static void CorkscrewRCTrackDiag25DegUp( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 8, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16709), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 8, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 8, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 8, height, session.SupportColours); break; } } @@ -6489,22 +6489,22 @@ static void CorkscrewRCTrackDiag25DegUp( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 8, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16647), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 8, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 8, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 8, height, session.SupportColours); break; } } @@ -6627,22 +6627,22 @@ static void CorkscrewRCTrackDiag60DegUp( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 32, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 32, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16721), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 36, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 36, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 32, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 32, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 36, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 36, height, session.SupportColours); break; } } @@ -6652,22 +6652,22 @@ static void CorkscrewRCTrackDiag60DegUp( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 32, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 32, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16659), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 36, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 36, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 32, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 32, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 36, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 36, height, session.SupportColours); break; } } @@ -6790,22 +6790,22 @@ static void CorkscrewRCTrackDiagFlatTo25DegUp( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16701), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } } @@ -6815,22 +6815,22 @@ static void CorkscrewRCTrackDiagFlatTo25DegUp( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16639), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } } @@ -6953,22 +6953,22 @@ static void CorkscrewRCTrackDiag25DegUpTo60DegUp( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 16, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16713), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 16, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 16, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 16, height, session.SupportColours); break; } } @@ -6978,22 +6978,22 @@ static void CorkscrewRCTrackDiag25DegUpTo60DegUp( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 16, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16651), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 16, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 16, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 16, height, session.SupportColours); break; } } @@ -7116,22 +7116,22 @@ static void CorkscrewRCTrackDiag60DegUpTo25DegUp( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 21, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 21, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16717), { -16, -16, height }, { { 0, 0, height }, { 16, 16, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 21, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 21, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 21, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 21, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 21, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 21, height, session.SupportColours); break; } } @@ -7141,22 +7141,22 @@ static void CorkscrewRCTrackDiag60DegUpTo25DegUp( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 21, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 21, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16655), { -16, -16, height }, { { 0, 0, height }, { 16, 16, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 21, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 21, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 21, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 21, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 21, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 21, height, session.SupportColours); break; } } @@ -7279,22 +7279,22 @@ static void CorkscrewRCTrackDiag25DegUpToFlat( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 4, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16705), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 4, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 4, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 4, height, session.SupportColours); break; } } @@ -7304,22 +7304,22 @@ static void CorkscrewRCTrackDiag25DegUpToFlat( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 4, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16643), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 4, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 4, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 4, height, session.SupportColours); break; } } @@ -7442,22 +7442,22 @@ static void CorkscrewRCTrackDiag25DegDown( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 8, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16711), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 8, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 8, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 8, height, session.SupportColours); break; } } @@ -7467,22 +7467,22 @@ static void CorkscrewRCTrackDiag25DegDown( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 8, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16649), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 8, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 8, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 8, height, session.SupportColours); break; } } @@ -7605,22 +7605,22 @@ static void CorkscrewRCTrackDiag60DegDown( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 24, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 24, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16723), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 28, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 28, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 24, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 24, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 28, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 28, height, session.SupportColours); break; } } @@ -7630,22 +7630,22 @@ static void CorkscrewRCTrackDiag60DegDown( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 24, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 24, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16661), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 28, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 28, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 24, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 24, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 28, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 28, height, session.SupportColours); break; } } @@ -7765,22 +7765,22 @@ static void CorkscrewRCTrackDiagFlatTo25DegDown( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 4, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16707), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 4, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 4, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 4, height, session.SupportColours); break; } } @@ -7790,22 +7790,22 @@ static void CorkscrewRCTrackDiagFlatTo25DegDown( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 4, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16645), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 4, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 4, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 4, height, session.SupportColours); break; } } @@ -7929,22 +7929,22 @@ static void CorkscrewRCTrackDiag25DegDownTo60DegDown( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 17, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 17, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16719), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 17, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 17, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 17, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 17, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 17, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 17, height, session.SupportColours); break; } } @@ -7954,22 +7954,22 @@ static void CorkscrewRCTrackDiag25DegDownTo60DegDown( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 17, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 17, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16657), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 17, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 17, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 17, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 17, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 17, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 17, height, session.SupportColours); break; } } @@ -8092,22 +8092,22 @@ static void CorkscrewRCTrackDiag60DegDownTo25DegDown( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 8, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16715), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 8, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 8, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 8, height, session.SupportColours); break; } } @@ -8117,22 +8117,22 @@ static void CorkscrewRCTrackDiag60DegDownTo25DegDown( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 8, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16653), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 8, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 8, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 8, height, session.SupportColours); break; } } @@ -8255,22 +8255,22 @@ static void CorkscrewRCTrackDiag25DegDownToFlat( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16703), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } } @@ -8280,22 +8280,22 @@ static void CorkscrewRCTrackDiag25DegDownToFlat( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16641), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } } @@ -8377,22 +8377,22 @@ static void CorkscrewRCTrackDiagFlatToLeftBank( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16667), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -8473,22 +8473,22 @@ static void CorkscrewRCTrackDiagFlatToRightBank( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16672), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -8569,22 +8569,22 @@ static void CorkscrewRCTrackDiagLeftBankToFlat( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16674), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -8665,22 +8665,22 @@ static void CorkscrewRCTrackDiagRightBankToFlat( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16669), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -8761,22 +8761,22 @@ static void CorkscrewRCTrackDiagLeftBankTo25DegUp( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16687), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -8857,22 +8857,22 @@ static void CorkscrewRCTrackDiagRightBankTo25DegUp( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16692), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -8953,22 +8953,22 @@ static void CorkscrewRCTrackDiag25DegUpToLeftBank( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 4, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16677), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 4, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 4, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 4, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -9049,22 +9049,22 @@ static void CorkscrewRCTrackDiag25DegUpToRightBank( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 4, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16682), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 4, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 4, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 4, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -9142,22 +9142,22 @@ static void CorkscrewRCTrackDiagLeftBankTo25DegDown( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 4, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16684), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 4, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 4, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 4, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -9236,22 +9236,22 @@ static void CorkscrewRCTrackDiagRightBankTo25DegDown( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 4, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16679), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 4, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 4, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 4, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -9333,22 +9333,22 @@ static void CorkscrewRCTrackDiag25DegDownToLeftBank( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16694), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -9429,22 +9429,22 @@ static void CorkscrewRCTrackDiag25DegDownToRightBank( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16689), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -9522,22 +9522,22 @@ static void CorkscrewRCTrackDiagLeftBank( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16663), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -9615,22 +9615,22 @@ static void CorkscrewRCTrackDiagRightBank( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16665), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -9654,7 +9654,7 @@ static void CorkscrewRCTrackBlockBrakes( session, direction, session.TrackColours.WithIndex(kCorkscrewRcBlockBrakeImages[direction][isClosed]), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height, session.SupportColours); PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight); @@ -9688,7 +9688,7 @@ static void CorkscrewRCTrackBooster( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); @@ -9722,7 +9722,7 @@ static void CorkscrewRCTrackLeftTwistDownToUp( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -9796,7 +9796,7 @@ static void CorkscrewRCTrackLeftTwistDownToUp( direction), 0xFFFF, 0); MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height, session.SupportColours); switch (direction) { @@ -9839,7 +9839,7 @@ static void CorkscrewRCTrackRightTwistDownToUp( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -9913,7 +9913,7 @@ static void CorkscrewRCTrackRightTwistDownToUp( direction), 0xFFFF, 0); MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height, session.SupportColours); switch (direction) { @@ -9964,7 +9964,7 @@ static void CorkscrewRCTrackLeftTwistUpToDown( direction), 0xFFFF, 0); MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height, session.SupportColours); if (direction == 0 || direction == 3) { @@ -10023,7 +10023,7 @@ static void CorkscrewRCTrackLeftTwistUpToDown( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height, session.SupportColours); switch (direction) { case 1: @@ -10081,7 +10081,7 @@ static void CorkscrewRCTrackRightTwistUpToDown( direction), 0xFFFF, 0); MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height, session.SupportColours); if (direction == 0 || direction == 3) { @@ -10140,7 +10140,7 @@ static void CorkscrewRCTrackRightTwistUpToDown( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height, session.SupportColours); switch (direction) { case 1: @@ -10191,7 +10191,7 @@ static void LayDownRCTrackLeftFlyerTwistUp( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -10268,7 +10268,7 @@ static void LayDownRCTrackLeftFlyerTwistUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 33, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 33, session.SupportColours); switch (direction) { @@ -10312,7 +10312,7 @@ static void LayDownRCTrackRightFlyerTwistUp( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -10387,7 +10387,7 @@ static void LayDownRCTrackRightFlyerTwistUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 33, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 33, session.SupportColours); switch (direction) { @@ -10431,7 +10431,7 @@ static void LayDownRCTrackFlyerHalfLoopUp( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 8, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -10448,27 +10448,27 @@ static void LayDownRCTrackFlyerHalfLoopUp( session, direction, session.TrackColours.WithIndex(16595), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 20, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 20, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16603), { 0, 14, height }, { { 28, 6, height }, { 3, 20, 63 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 15, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 15, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16600), { 0, 6, height }, { { 28, 6, height }, { 3, 20, 63 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 16, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16608), { 0, 6, height }, { 32, 20, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 16, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0); @@ -10581,7 +10581,7 @@ static void LayDownRCTrackLeftFlyerCorkscrewUp( 0xFFFF, 0); } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height, session.SupportColours); if (direction != 2) { PaintUtilSetSegmentSupportHeight( @@ -10661,7 +10661,7 @@ static void LayDownRCTrackLeftFlyerCorkscrewUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 35, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 35, session.SupportColours); switch (direction) { @@ -10709,7 +10709,7 @@ static void LayDownRCTrackRightFlyerCorkscrewUp( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -10785,7 +10785,7 @@ static void LayDownRCTrackRightFlyerCorkscrewUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 35, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 35, session.SupportColours); switch (direction) { @@ -10820,7 +10820,7 @@ static void CorkscrewRCTrackFlatTo60DegUp( PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_CORKSCREW_TRACK_SMALL_FLAT_TO_STEEP + 0), { 0, 0, height }, { { 0, 2, height }, { 32, 27, 4 } }); - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -10830,7 +10830,7 @@ static void CorkscrewRCTrackFlatTo60DegUp( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_CORKSCREW_TRACK_SMALL_FLAT_TO_STEEP + 1), { 0, 0, height }, { { 0, 4, height }, { 32, 2, 43 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 4, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 4, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -10840,13 +10840,13 @@ static void CorkscrewRCTrackFlatTo60DegUp( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_CORKSCREW_TRACK_SMALL_FLAT_TO_STEEP + 3), { 0, 0, height }, { { 0, 4, height }, { 32, 2, 43 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 4, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 4, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_CORKSCREW_TRACK_SMALL_FLAT_TO_STEEP + 5), { 0, 0, height }, { { 0, 2, height }, { 32, 27, 4 } }); - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); break; } if (direction == 0 || direction == 3) @@ -10894,7 +10894,7 @@ static void CorkscrewRCTrack60DegUpToFlat( { 0, 0, height }, { { 0, 2, height }, { 32, 27, 4 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 16, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 16, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -10984,22 +10984,22 @@ static void CorkscrewRCTrackDiagFlatTo60DegUp( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 7, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_CORKSCREW_TRACK_SMALL_FLAT_TO_STEEP + 13), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 4 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 7, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 7, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 7, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -11076,22 +11076,22 @@ static void CorkscrewRCTrackDiag60DegUpToFlat( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 20, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 20, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_CORKSCREW_TRACK_SMALL_FLAT_TO_STEEP + 17), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 4 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 20, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 20, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 20, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 20, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 20, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 20, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -11168,22 +11168,22 @@ static void CorkscrewRCTrackDiagFlatTo60DegDown( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 16, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_CORKSCREW_TRACK_SMALL_FLAT_TO_STEEP + 19), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 4 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 16, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 16, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 16, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -11260,22 +11260,22 @@ static void CorkscrewRCTrackDiag60DegDownToFlat( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 5, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_CORKSCREW_TRACK_SMALL_FLAT_TO_STEEP + 15), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 4 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 5, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 5, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 5, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -11610,7 +11610,7 @@ static void CorkscrewRCTrack25DegUpToLeftBanked25DegUp( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -11656,7 +11656,7 @@ static void CorkscrewRCTrack25DegUpToRightBanked25DegUp( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -11702,7 +11702,7 @@ static void CorkscrewRCTrackLeftBanked25DegUpTo25DegUp( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -11748,7 +11748,7 @@ static void CorkscrewRCTrackRightBanked25DegUpTo25DegUp( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -11823,7 +11823,7 @@ static void CorkscrewRCTrackLeftBankedFlatToLeftBanked25DegUp( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -11866,7 +11866,7 @@ static void CorkscrewRCTrackRightBankedFlatToRightBanked25DegUp( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -11909,7 +11909,7 @@ static void CorkscrewRCTrackLeftBanked25DegUpToLeftBankedFlat( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -11952,7 +11952,7 @@ static void CorkscrewRCTrackRightBanked25DegUpToRightBankedFlat( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -12027,7 +12027,7 @@ static void CorkscrewRCTrack25DegUpLeftBanked( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -12070,7 +12070,7 @@ static void CorkscrewRCTrack25DegUpRightBanked( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -12130,7 +12130,7 @@ static void CorkscrewRCTrackFlatToLeftBanked25DegUp( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -12176,7 +12176,7 @@ static void CorkscrewRCTrackFlatToRightBanked25DegUp( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -12222,7 +12222,7 @@ static void CorkscrewRCTrackLeftBanked25DegUpToFlat( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -12268,7 +12268,7 @@ static void CorkscrewRCTrackRightBanked25DegUpToFlat( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -12348,7 +12348,7 @@ static void CorkscrewRCTrackLeftBankedQuarterTurn3Tile25DegUp( { 0, 6, height }, { 32, 20, 3 }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -12404,7 +12404,7 @@ static void CorkscrewRCTrackLeftBankedQuarterTurn3Tile25DegUp( { 6, 0, height }, { 20, 32, 3 }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); switch (direction) { case 2: @@ -12459,7 +12459,7 @@ static void CorkscrewRCTrackRightBankedQuarterTurn3Tile25DegUp( { 0, 6, height }, { 32, 20, 3 }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -12496,7 +12496,7 @@ static void CorkscrewRCTrackRightBankedQuarterTurn3Tile25DegUp( session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_GENTLE_SMALL_CURVE_BANKED + 9)), { 6, 0, height }, { 20, 32, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -12504,7 +12504,7 @@ static void CorkscrewRCTrackRightBankedQuarterTurn3Tile25DegUp( session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_GENTLE_SMALL_CURVE_BANKED + 11)), { 6, 0, height }, { { 27, 0, height }, { 1, 32, 34 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -12512,7 +12512,7 @@ static void CorkscrewRCTrackRightBankedQuarterTurn3Tile25DegUp( session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_GENTLE_SMALL_CURVE_BANKED + 13)), { 6, 0, height }, { { 27, 0, height }, { 1, 32, 34 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 10, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 10, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -12520,7 +12520,7 @@ static void CorkscrewRCTrackRightBankedQuarterTurn3Tile25DegUp( session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_GENTLE_SMALL_CURVE_BANKED + 15)), { 6, 0, height }, { 20, 32, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; } switch (direction) @@ -12595,7 +12595,7 @@ static void CorkscrewRCTrackLeftBankedQuarterTurn525DegUp( { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -12754,7 +12754,7 @@ static void CorkscrewRCTrackLeftBankedQuarterTurn525DegUp( { 0, 0, height }, { { 6, 0, height }, { 20, 32, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); switch (direction) { case 2: @@ -12809,7 +12809,7 @@ static void CorkscrewRCTrackRightBankedQuarterTurn525DegUp( { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -12968,7 +12968,7 @@ static void CorkscrewRCTrackRightBankedQuarterTurn525DegUp( { 0, 0, height }, { { 6, 0, height }, { 20, 32, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); switch (direction) { case 0: @@ -13038,7 +13038,7 @@ static void CorkscrewRCTrackLeftEighthToDiagUp25( { { 0, 6, height }, { 32, 20, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -13135,14 +13135,14 @@ static void CorkscrewRCTrackLeftEighthToDiagUp25( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_GENTLE_LARGE_CURVE + 3)), { 0, 0, height }, { { 16, 16, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 12, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 12, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_GENTLE_LARGE_CURVE + 7)), { 0, 0, height }, { { 0, 16, height }, { 16, 18, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 5, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -13150,7 +13150,7 @@ static void CorkscrewRCTrackLeftEighthToDiagUp25( session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_GENTLE_LARGE_CURVE + 11)), { 0, 0, height }, { { 0, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 3, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -13158,7 +13158,7 @@ static void CorkscrewRCTrackLeftEighthToDiagUp25( session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_GENTLE_LARGE_CURVE + 15)), { 0, 0, height }, { { 16, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 3, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -13208,7 +13208,7 @@ static void CorkscrewRCTrackRightEighthToDiagUp25( { { 0, 6, height }, { 32, 20, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -13312,7 +13312,7 @@ static void CorkscrewRCTrackRightEighthToDiagUp25( session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_GENTLE_LARGE_CURVE + 19)), { 0, 0, height }, { { 16, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 3, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -13320,7 +13320,7 @@ static void CorkscrewRCTrackRightEighthToDiagUp25( session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_GENTLE_LARGE_CURVE + 23)), { 0, 0, height }, { { 0, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 3, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -13328,7 +13328,7 @@ static void CorkscrewRCTrackRightEighthToDiagUp25( session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_GENTLE_LARGE_CURVE + 27)), { 0, 0, height }, { { 0, 16, height }, { 16, 18, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 5, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -13336,7 +13336,7 @@ static void CorkscrewRCTrackRightEighthToDiagUp25( session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_GENTLE_LARGE_CURVE + 31)), { 0, 0, height }, { { 16, 16, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 10, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 10, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -13367,7 +13367,7 @@ static void CorkscrewRCTrackLeftEighthToOrthogonalUp25( session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_GENTLE_LARGE_CURVE + 32)), { 0, 0, height }, { { 0, 16, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 7, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -13375,7 +13375,7 @@ static void CorkscrewRCTrackLeftEighthToOrthogonalUp25( session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_GENTLE_LARGE_CURVE + 36)), { 0, 0, height }, { { 16, 16, height }, { 16, 18, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 5, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -13383,7 +13383,7 @@ static void CorkscrewRCTrackLeftEighthToOrthogonalUp25( session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_GENTLE_LARGE_CURVE + 40)), { 0, 0, height }, { { 16, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 5, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -13391,7 +13391,7 @@ static void CorkscrewRCTrackLeftEighthToOrthogonalUp25( session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_GENTLE_LARGE_CURVE + 44)), { 0, 0, height }, { { 0, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 4, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -13517,7 +13517,7 @@ static void CorkscrewRCTrackLeftEighthToOrthogonalUp25( { { 0, 6, height }, { 32, 20, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 5, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 5, height, session.SupportColours); if (direction == 1 || direction == 2) { @@ -13546,7 +13546,7 @@ static void CorkscrewRCTrackRightEighthToOrthogonalUp25( session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_GENTLE_LARGE_CURVE + 48)), { 0, 0, height }, { { 0, 16, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 5, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -13554,7 +13554,7 @@ static void CorkscrewRCTrackRightEighthToOrthogonalUp25( session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_GENTLE_LARGE_CURVE + 52)), { 0, 0, height }, { { 16, 16, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 5, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -13562,7 +13562,7 @@ static void CorkscrewRCTrackRightEighthToOrthogonalUp25( session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_GENTLE_LARGE_CURVE + 56)), { 0, 0, height }, { { 16, 0, height }, { 16, 18, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 7, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -13570,7 +13570,7 @@ static void CorkscrewRCTrackRightEighthToOrthogonalUp25( session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_GENTLE_LARGE_CURVE + 60)), { 0, 0, height }, { { 0, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 4, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -13697,7 +13697,7 @@ static void CorkscrewRCTrackRightEighthToOrthogonalUp25( { { 6, 0, height }, { 20, 32, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 5, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 5, height, session.SupportColours); if (direction == 0 || direction == 1) { PaintUtilPushTunnelRotated(session, direction + 1, height + 8, kTunnelGroup, TunnelSubType::SlopeEnd); @@ -13818,7 +13818,7 @@ static void CorkscrewRCTrackDiagUp25ToLeftBankedUp25( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 5, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -13826,15 +13826,15 @@ static void CorkscrewRCTrackDiagUp25ToLeftBankedUp25( session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_GENTLE_LARGE_CURVE_BANKED + 2)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 10, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 10, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 10, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 10, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 10, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 10, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -13918,7 +13918,7 @@ static void CorkscrewRCTrackDiagUp25ToRightBankedUp25( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 10, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 10, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -13926,15 +13926,15 @@ static void CorkscrewRCTrackDiagUp25ToRightBankedUp25( session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_GENTLE_LARGE_CURVE_BANKED + 6)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 10, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 10, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 5, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 10, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 10, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -14018,7 +14018,7 @@ static void CorkscrewRCTrackDiagLeftBankedUp25ToUp25( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 5, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -14026,15 +14026,15 @@ static void CorkscrewRCTrackDiagLeftBankedUp25ToUp25( session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_GENTLE_LARGE_CURVE_BANKED + 12)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 9, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 9, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 9, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -14118,7 +14118,7 @@ static void CorkscrewRCTrackDiagRightBankedUp25ToUp25( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 9, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -14126,15 +14126,15 @@ static void CorkscrewRCTrackDiagRightBankedUp25ToUp25( session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_GENTLE_LARGE_CURVE_BANKED + 16)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 9, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 5, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 9, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -14246,7 +14246,7 @@ static void CorkscrewRCTrackDiagLeftBankedFlatToLeftBankedUp25( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -14254,15 +14254,15 @@ static void CorkscrewRCTrackDiagLeftBankedFlatToLeftBankedUp25( session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_GENTLE_LARGE_CURVE_BANKED + 21)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 4, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 4, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 4, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -14342,7 +14342,7 @@ static void CorkscrewRCTrackDiagRightBankedFlatToRightBankedUp25( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 4, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -14350,15 +14350,15 @@ static void CorkscrewRCTrackDiagRightBankedFlatToRightBankedUp25( session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_GENTLE_LARGE_CURVE_BANKED + 25)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 4, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 4, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -14438,7 +14438,7 @@ static void CorkscrewRCTrackDiagLeftBankedUp25ToLeftBankedFlat( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 4, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -14446,15 +14446,15 @@ static void CorkscrewRCTrackDiagLeftBankedUp25ToLeftBankedFlat( session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_GENTLE_LARGE_CURVE_BANKED + 29)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 8, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 8, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 8, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -14534,7 +14534,7 @@ static void CorkscrewRCTrackDiagRightBankedUp25ToRightBankedFlat( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 8, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -14542,15 +14542,15 @@ static void CorkscrewRCTrackDiagRightBankedUp25ToRightBankedFlat( session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_GENTLE_LARGE_CURVE_BANKED + 33)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 8, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 4, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 8, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -14662,7 +14662,7 @@ static void CorkscrewRCTrackDiagUp25LeftBanked( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 6, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -14670,15 +14670,15 @@ static void CorkscrewRCTrackDiagUp25LeftBanked( session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_GENTLE_LARGE_CURVE_BANKED + 37)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 11, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 11, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 11, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 11, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 11, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 11, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -14758,7 +14758,7 @@ static void CorkscrewRCTrackDiagUp25RightBanked( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 11, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 11, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -14766,15 +14766,15 @@ static void CorkscrewRCTrackDiagUp25RightBanked( session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_GENTLE_LARGE_CURVE_BANKED + 41)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 11, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 11, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 6, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 11, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 11, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -14874,7 +14874,7 @@ static void CorkscrewRCTrackDiagFlatToLeftBankedUp25( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -14882,15 +14882,15 @@ static void CorkscrewRCTrackDiagFlatToLeftBankedUp25( session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_GENTLE_LARGE_CURVE_BANKED + 46)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 4, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 4, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 4, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -14974,7 +14974,7 @@ static void CorkscrewRCTrackDiagFlatToRightBankedUp25( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 4, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -14982,15 +14982,15 @@ static void CorkscrewRCTrackDiagFlatToRightBankedUp25( session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_GENTLE_LARGE_CURVE_BANKED + 50)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 4, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 4, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -15074,7 +15074,7 @@ static void CorkscrewRCTrackDiagLeftBankedUp25ToFlat( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 4, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -15082,15 +15082,15 @@ static void CorkscrewRCTrackDiagLeftBankedUp25ToFlat( session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_GENTLE_LARGE_CURVE_BANKED + 56)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 6, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 6, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 6, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -15174,7 +15174,7 @@ static void CorkscrewRCTrackDiagRightBankedUp25ToFlat( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 6, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -15182,15 +15182,15 @@ static void CorkscrewRCTrackDiagRightBankedUp25ToFlat( session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_GENTLE_LARGE_CURVE_BANKED + 60)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 6, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 4, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 6, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -15251,7 +15251,7 @@ static void CorkscrewRCTrackLeftEighthBankToDiagUp25( session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_GENTLE_LARGE_CURVE_BANKED + 64)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 9, height - 4, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 9, height - 4, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -15259,7 +15259,7 @@ static void CorkscrewRCTrackLeftEighthBankToDiagUp25( session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_GENTLE_LARGE_CURVE_BANKED + 68)), { 0, 0, height }, { { 0, 31, height }, { 32, 1, 32 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 7, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -15267,7 +15267,7 @@ static void CorkscrewRCTrackLeftEighthBankToDiagUp25( session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_GENTLE_LARGE_CURVE_BANKED + 72)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 9, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -15275,7 +15275,7 @@ static void CorkscrewRCTrackLeftEighthBankToDiagUp25( session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_GENTLE_LARGE_CURVE_BANKED + 76)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 12, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 12, height, session.SupportColours); break; } if (direction == 0 || direction == 3) @@ -15380,7 +15380,7 @@ static void CorkscrewRCTrackLeftEighthBankToDiagUp25( session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_GENTLE_LARGE_CURVE_BANKED + 67)), { 0, 0, height }, { { 16, 16, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 7, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -15388,7 +15388,7 @@ static void CorkscrewRCTrackLeftEighthBankToDiagUp25( session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_GENTLE_LARGE_CURVE_BANKED + 71)), { 0, 0, height }, { { 0, 0, height + 48 }, { 32, 32, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 6, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -15396,7 +15396,7 @@ static void CorkscrewRCTrackLeftEighthBankToDiagUp25( session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_GENTLE_LARGE_CURVE_BANKED + 75)), { 0, 0, height }, { { 0, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 7, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -15404,7 +15404,7 @@ static void CorkscrewRCTrackLeftEighthBankToDiagUp25( session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_GENTLE_LARGE_CURVE_BANKED + 79)), { 0, 0, height }, { { 16, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 8, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -15435,7 +15435,7 @@ static void CorkscrewRCTrackRightEighthBankToDiagUp25( session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_GENTLE_LARGE_CURVE_BANKED + 80)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 12, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 12, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -15443,7 +15443,7 @@ static void CorkscrewRCTrackRightEighthBankToDiagUp25( session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_GENTLE_LARGE_CURVE_BANKED + 84)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 9, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -15451,7 +15451,7 @@ static void CorkscrewRCTrackRightEighthBankToDiagUp25( session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_GENTLE_LARGE_CURVE_BANKED + 88)), { 0, 0, height }, { { 0, 31, height }, { 32, 1, 32 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 7, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -15459,7 +15459,7 @@ static void CorkscrewRCTrackRightEighthBankToDiagUp25( session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_GENTLE_LARGE_CURVE_BANKED + 92)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 9, height - 4, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 9, height - 4, session.SupportColours); break; } if (direction == 0 || direction == 3) @@ -15565,7 +15565,7 @@ static void CorkscrewRCTrackRightEighthBankToDiagUp25( session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_GENTLE_LARGE_CURVE_BANKED + 83)), { 0, 0, height }, { { 16, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 8, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -15573,7 +15573,7 @@ static void CorkscrewRCTrackRightEighthBankToDiagUp25( session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_GENTLE_LARGE_CURVE_BANKED + 87)), { 0, 0, height }, { { 0, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 7, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -15581,7 +15581,7 @@ static void CorkscrewRCTrackRightEighthBankToDiagUp25( session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_GENTLE_LARGE_CURVE_BANKED + 91)), { 0, 0, height }, { { 0, 0, height + 48 }, { 32, 32, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 6, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -15589,7 +15589,7 @@ static void CorkscrewRCTrackRightEighthBankToDiagUp25( session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_GENTLE_LARGE_CURVE_BANKED + 95)), { 0, 0, height }, { { 16, 16, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 7, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -15620,7 +15620,7 @@ static void CorkscrewRCTrackLeftEighthBankToOrthogonalUp25( session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_GENTLE_LARGE_CURVE_BANKED + 96)), { 0, 0, height }, { { 0, 0, height + 40 }, { 32, 32, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 7, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -15628,7 +15628,7 @@ static void CorkscrewRCTrackLeftEighthBankToOrthogonalUp25( session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_GENTLE_LARGE_CURVE_BANKED + 100)), { 0, 0, height }, { { 0, 0, height + 32 }, { 32, 32, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 8, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -15636,7 +15636,7 @@ static void CorkscrewRCTrackLeftEighthBankToOrthogonalUp25( session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_GENTLE_LARGE_CURVE_BANKED + 104)), { 0, 0, height }, { { 16, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 9, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -15644,7 +15644,7 @@ static void CorkscrewRCTrackLeftEighthBankToOrthogonalUp25( session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_GENTLE_LARGE_CURVE_BANKED + 108)), { 0, 0, height }, { { 0, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 4, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -15751,7 +15751,7 @@ static void CorkscrewRCTrackLeftEighthBankToOrthogonalUp25( session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_GENTLE_LARGE_CURVE_BANKED + 99)), { 0, 0, height }, { { 0, 31, height }, { 32, 1, 32 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -15759,7 +15759,7 @@ static void CorkscrewRCTrackLeftEighthBankToOrthogonalUp25( session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_GENTLE_LARGE_CURVE_BANKED + 103)), { 0, 0, height }, { { 0, 31, height }, { 32, 1, 32 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -15767,7 +15767,7 @@ static void CorkscrewRCTrackLeftEighthBankToOrthogonalUp25( session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_GENTLE_LARGE_CURVE_BANKED + 107)), { 0, 0, height }, { { 0, 0, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -15775,7 +15775,7 @@ static void CorkscrewRCTrackLeftEighthBankToOrthogonalUp25( session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_GENTLE_LARGE_CURVE_BANKED + 111)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 11, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 11, height, session.SupportColours); break; } if (direction == 1 || direction == 2) @@ -15804,7 +15804,7 @@ static void CorkscrewRCTrackRightEighthBankToOrthogonalUp25( session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_GENTLE_LARGE_CURVE_BANKED + 112)), { 0, 0, height }, { { 0, 16, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 9, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -15812,7 +15812,7 @@ static void CorkscrewRCTrackRightEighthBankToOrthogonalUp25( session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_GENTLE_LARGE_CURVE_BANKED + 116)), { 0, 0, height }, { { 0, 0, height + 32 }, { 32, 32, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 7, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -15820,7 +15820,7 @@ static void CorkscrewRCTrackRightEighthBankToOrthogonalUp25( session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_GENTLE_LARGE_CURVE_BANKED + 120)), { 0, 0, height }, { { 0, 0, height + 40 }, { 32, 32, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 7, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -15828,7 +15828,7 @@ static void CorkscrewRCTrackRightEighthBankToOrthogonalUp25( session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_GENTLE_LARGE_CURVE_BANKED + 124)), { 0, 0, height }, { { 0, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 3, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -15936,7 +15936,7 @@ static void CorkscrewRCTrackRightEighthBankToOrthogonalUp25( session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_GENTLE_LARGE_CURVE_BANKED + 115)), { 0, 0, height }, { { 6, 0, height }, { 20, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -15944,7 +15944,7 @@ static void CorkscrewRCTrackRightEighthBankToOrthogonalUp25( session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_GENTLE_LARGE_CURVE_BANKED + 119)), { 0, 0, height }, { { 31, 0, height }, { 1, 32, 32 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -15952,7 +15952,7 @@ static void CorkscrewRCTrackRightEighthBankToOrthogonalUp25( session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_GENTLE_LARGE_CURVE_BANKED + 123)), { 0, 0, height }, { { 31, 0, height }, { 1, 32, 32 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -15960,7 +15960,7 @@ static void CorkscrewRCTrackRightEighthBankToOrthogonalUp25( session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_GENTLE_LARGE_CURVE_BANKED + 127)), { 0, 0, height }, { { 6, 0, height }, { 20, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 11, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 11, height, session.SupportColours); break; } if (direction == 0 || direction == 1) @@ -16048,7 +16048,7 @@ static void CorkscrewRCTrackLeftBankToLeftQuarterTurn325DegUp( { 0, 6, height }, { 32, 20, 3 }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -16084,7 +16084,7 @@ static void CorkscrewRCTrackLeftBankToLeftQuarterTurn325DegUp( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_CORKSCREW_TRACK_TURN_BANK_TRANSITION + 1), { 6, 0, height }, { { 0, 6, height - 6 }, { 20, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 2, height - 6, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 2, height - 6, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -16095,21 +16095,21 @@ static void CorkscrewRCTrackLeftBankToLeftQuarterTurn325DegUp( session.TrackColours.WithIndex(SPR_TRACKS_CORKSCREW_TRACK_TURN_BANK_TRANSITION + 20), { 6, 0, height }, { { 0, 6, height + 32 }, { 20, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height - 6, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height - 6, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_CORKSCREW_TRACK_TURN_BANK_TRANSITION + 6), { 6, 0, height }, { { 0, 6, height - 6 }, { 20, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height - 6, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height - 6, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_CORKSCREW_TRACK_TURN_BANK_TRANSITION + 8), { 6, 0, height }, { { 0, 6, height - 6 }, { 20, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 5, height - 6, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 5, height - 6, session.SupportColours); break; } switch (direction) @@ -16169,7 +16169,7 @@ static void CorkscrewRCTrackRightBankToRightQuarterTurn325DegUp( { 32, 20, 3 }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -16206,7 +16206,7 @@ static void CorkscrewRCTrackRightBankToRightQuarterTurn325DegUp( session.TrackColours.WithIndex(SPR_TRACKS_CORKSCREW_TRACK_TURN_BANK_TRANSITION + 10), { 6, 0, height }, { { 0, 6, height - 6 }, { 20, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 6, height - 6, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 6, height - 6, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -16214,7 +16214,7 @@ static void CorkscrewRCTrackRightBankToRightQuarterTurn325DegUp( session.TrackColours.WithIndex(SPR_TRACKS_CORKSCREW_TRACK_TURN_BANK_TRANSITION + 12), { 6, 0, height }, { { 0, 6, height - 6 }, { 20, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 6, height - 6, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 6, height - 6, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -16226,7 +16226,7 @@ static void CorkscrewRCTrackRightBankToRightQuarterTurn325DegUp( session.TrackColours.WithIndex(SPR_TRACKS_CORKSCREW_TRACK_TURN_BANK_TRANSITION + 21), { 6, 0, height }, { { 0, 6, height + 32 }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height - 6, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height - 6, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -16234,7 +16234,7 @@ static void CorkscrewRCTrackRightBankToRightQuarterTurn325DegUp( session.TrackColours.WithIndex(SPR_TRACKS_CORKSCREW_TRACK_TURN_BANK_TRANSITION + 17), { 6, 0, height }, { { 0, 6, height - 6 }, { 20, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 3, height - 6, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 3, height - 6, session.SupportColours); break; } switch (direction) @@ -16272,7 +16272,7 @@ static void CorkscrewRCTrackLeftQuarterTurn325DegDownToLeftBank( session.TrackColours.WithIndex(SPR_TRACKS_CORKSCREW_TRACK_TURN_BANK_TRANSITION + 12), { 0, 6, height }, { { 0, 6, height - 6 }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height - 6, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height - 6, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -16284,7 +16284,7 @@ static void CorkscrewRCTrackLeftQuarterTurn325DegDownToLeftBank( session.TrackColours.WithIndex(SPR_TRACKS_CORKSCREW_TRACK_TURN_BANK_TRANSITION + 21), { 0, 6, height }, { { 0, 6, height + 32 }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height - 6, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height - 6, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -16292,7 +16292,7 @@ static void CorkscrewRCTrackLeftQuarterTurn325DegDownToLeftBank( session.TrackColours.WithIndex(SPR_TRACKS_CORKSCREW_TRACK_TURN_BANK_TRANSITION + 17), { 0, 6, height }, { { 0, 6, height - 6 }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 3, height - 6, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 3, height - 6, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -16300,7 +16300,7 @@ static void CorkscrewRCTrackLeftQuarterTurn325DegDownToLeftBank( session.TrackColours.WithIndex(SPR_TRACKS_CORKSCREW_TRACK_TURN_BANK_TRANSITION + 10), { 0, 6, height }, { { 0, 6, height - 6 }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 6, height - 6, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 6, height - 6, session.SupportColours); break; } if (direction == 0 || direction == 3) @@ -16361,7 +16361,7 @@ static void CorkscrewRCTrackLeftQuarterTurn325DegDownToLeftBank( { 6, 0, height }, { 20, 32, 3 }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); switch (direction) { case 2: @@ -16396,14 +16396,14 @@ static void CorkscrewRCTrackRightQuarterTurn325DegDownToRightBank( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_CORKSCREW_TRACK_TURN_BANK_TRANSITION + 8), { 0, 6, height }, { { 0, 6, height - 6 }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 5, height - 6, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 5, height - 6, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_CORKSCREW_TRACK_TURN_BANK_TRANSITION + 1), { 0, 6, height }, { { 0, 6, height - 6 }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 3, height - 6, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 3, height - 6, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -16414,14 +16414,14 @@ static void CorkscrewRCTrackRightQuarterTurn325DegDownToRightBank( session.TrackColours.WithIndex(SPR_TRACKS_CORKSCREW_TRACK_TURN_BANK_TRANSITION + 20), { 0, 6, height }, { { 0, 6, height + 32 }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height - 6, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height - 6, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_CORKSCREW_TRACK_TURN_BANK_TRANSITION + 6), { 0, 6, height }, { { 0, 6, height - 6 }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height - 6, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height - 6, session.SupportColours); break; } if (direction == 0 || direction == 3) @@ -16478,7 +16478,7 @@ static void CorkscrewRCTrackRightQuarterTurn325DegDownToRightBank( { 6, 0, height }, { 20, 32, 3 }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); switch (direction) { case 0: @@ -16530,7 +16530,7 @@ static void CorkscrewRCTrackLeftLargeCorkscrewUp( break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 2, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 2, height, session.SupportColours); if (direction == 0 || direction == 3) { @@ -16554,28 +16554,28 @@ static void CorkscrewRCTrackLeftLargeCorkscrewUp( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_CORKSCREW_TRACK_LARGE_CORKSCREW + 1), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 34, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 34, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_CORKSCREW_TRACK_LARGE_CORKSCREW + 6), { 0, 0, height }, { { 2, 2, height + 40 }, { 28, 28, 1 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 22, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 22, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_CORKSCREW_TRACK_LARGE_CORKSCREW + 11), { 0, 0, height }, { { 0, 6, height }, { 20, 20, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 24, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 24, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_CORKSCREW_TRACK_LARGE_CORKSCREW + 16), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 17, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 17, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -16634,21 +16634,21 @@ static void CorkscrewRCTrackLeftLargeCorkscrewUp( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_CORKSCREW_TRACK_LARGE_CORKSCREW + 3), { 0, 0, height }, { { 2, 2, height + 50 }, { 28, 28, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 56, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 56, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_CORKSCREW_TRACK_LARGE_CORKSCREW + 8), { 0, 0, height }, { { 2, 2, height + 50 }, { 28, 28, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 56, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 56, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_CORKSCREW_TRACK_LARGE_CORKSCREW + 13), { 0, 0, height }, { { 0, 0, height + 50 }, { 26, 32, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 56, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 56, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -16658,7 +16658,7 @@ static void CorkscrewRCTrackLeftLargeCorkscrewUp( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_CORKSCREW_TRACK_LARGE_CORKSCREW + 40), { 0, 0, height }, { { 0, 0, height + 64 }, { 32, 32, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 56, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 56, session.SupportColours); break; } @@ -16742,7 +16742,7 @@ static void CorkscrewRCTrackRightLargeCorkscrewUp( break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 2, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 2, height, session.SupportColours); if (direction == 0 || direction == 3) { @@ -16766,28 +16766,28 @@ static void CorkscrewRCTrackRightLargeCorkscrewUp( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_CORKSCREW_TRACK_LARGE_CORKSCREW + 21), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 16, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_CORKSCREW_TRACK_LARGE_CORKSCREW + 26), { 0, 0, height }, { { 0, 6, height }, { 20, 20, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 24, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 24, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_CORKSCREW_TRACK_LARGE_CORKSCREW + 31), { 0, 0, height }, { { 0, 29, height }, { 26, 1, 32 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 22, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 22, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_CORKSCREW_TRACK_LARGE_CORKSCREW + 36), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 34, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 34, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -16850,28 +16850,28 @@ static void CorkscrewRCTrackRightLargeCorkscrewUp( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_CORKSCREW_TRACK_LARGE_CORKSCREW + 41), { 0, 0, height }, { { 0, 0, height + 64 }, { 32, 32, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 56, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 56, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_CORKSCREW_TRACK_LARGE_CORKSCREW + 28), { 0, 0, height }, { { 2, 2, height + 50 }, { 24, 28, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 58, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 58, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_CORKSCREW_TRACK_LARGE_CORKSCREW + 33), { 0, 0, height }, { { 2, 2, height + 50 }, { 28, 28, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 56, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 56, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_CORKSCREW_TRACK_LARGE_CORKSCREW + 38), { 0, 0, height }, { { 2, 2, height + 50 }, { 28, 28, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 56, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 56, session.SupportColours); break; } PaintUtilSetGeneralSupportHeight(session, height + 64); @@ -17093,7 +17093,7 @@ static void CorkscrewRCTrackLeftMediumHalfLoopUp( break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 7, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 7, height, session.SupportColours); if (direction == 0 || direction == 3) { @@ -17149,28 +17149,28 @@ static void CorkscrewRCTrackLeftMediumHalfLoopUp( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_CORKSCREW_TRACK_MEDIUM_HALF_LOOP + 2), { 0, 0, height }, { { 0, 0, height + 2 }, { 32, 32, 0 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 14, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 14, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_CORKSCREW_TRACK_MEDIUM_HALF_LOOP + 7), { 0, 0, height }, { { 29, 0, height }, { 1, 32, 96 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 16, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_CORKSCREW_TRACK_MEDIUM_HALF_LOOP + 12), { 0, 0, height }, { { 31, 0, height }, { 1, 32, 96 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 18, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 18, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_CORKSCREW_TRACK_MEDIUM_HALF_LOOP + 17), { 0, 0, height }, { { 0, 0, height }, { 32, 32, 0 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 14, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 14, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -17297,7 +17297,7 @@ static void CorkscrewRCTrackRightMediumHalfLoopUp( break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 7, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 7, height, session.SupportColours); if (direction == 0 || direction == 3) { @@ -17353,28 +17353,28 @@ static void CorkscrewRCTrackRightMediumHalfLoopUp( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_CORKSCREW_TRACK_MEDIUM_HALF_LOOP + 22), { 0, 0, height }, { { 0, 0, height }, { 32, 32, 0 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 14, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 14, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_CORKSCREW_TRACK_MEDIUM_HALF_LOOP + 27), { 0, 0, height }, { { 31, 0, height }, { 1, 32, 96 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 18, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 18, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_CORKSCREW_TRACK_MEDIUM_HALF_LOOP + 32), { 0, 0, height }, { { 0, 0, height }, { 32, 32, 96 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 16, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_CORKSCREW_TRACK_MEDIUM_HALF_LOOP + 37), { 0, 0, height }, { { 0, 0, height + 2 }, { 32, 32, 0 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 14, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 14, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -17511,7 +17511,7 @@ static void CorkscrewRCTrackLeftLargeHalfLoopUp( { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -17528,7 +17528,7 @@ static void CorkscrewRCTrackLeftLargeHalfLoopUp( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_CORKSCREW_TRACK_LARGE_HALF_LOOP + 1), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 13, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 13, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -17538,21 +17538,21 @@ static void CorkscrewRCTrackLeftLargeHalfLoopUp( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_CORKSCREW_TRACK_LARGE_HALF_LOOP + 57), { 0, 0, height }, { { 0, 6, height + 48 }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 7, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_CORKSCREW_TRACK_LARGE_HALF_LOOP + 15), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 7, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_CORKSCREW_TRACK_LARGE_HALF_LOOP + 22), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 1, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 1, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -17607,28 +17607,28 @@ static void CorkscrewRCTrackLeftLargeHalfLoopUp( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_CORKSCREW_TRACK_LARGE_HALF_LOOP + 3), { 0, 0, height }, { { 0, 0, height }, { 32, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 28, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 28, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_CORKSCREW_TRACK_LARGE_HALF_LOOP + 10), { 0, 0, height }, { { 0, 0, height + 200 }, { 32, 16, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 26, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 26, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_CORKSCREW_TRACK_LARGE_HALF_LOOP + 17), { 0, 0, height }, { { 0, 16, height + 200 }, { 32, 16, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 26, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 26, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_CORKSCREW_TRACK_LARGE_HALF_LOOP + 24), { 0, 0, height }, { { 0, 16, height }, { 32, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 22, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 22, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -17782,7 +17782,7 @@ static void CorkscrewRCTrackRightLargeHalfLoopUp( { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -17799,14 +17799,14 @@ static void CorkscrewRCTrackRightLargeHalfLoopUp( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_CORKSCREW_TRACK_LARGE_HALF_LOOP + 29), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 1, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 1, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_CORKSCREW_TRACK_LARGE_HALF_LOOP + 36), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 7, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -17816,14 +17816,14 @@ static void CorkscrewRCTrackRightLargeHalfLoopUp( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_CORKSCREW_TRACK_LARGE_HALF_LOOP + 61), { 0, 0, height }, { { 0, 6, height + 64 }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 7, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_CORKSCREW_TRACK_LARGE_HALF_LOOP + 50), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 13, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 13, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -17878,28 +17878,28 @@ static void CorkscrewRCTrackRightLargeHalfLoopUp( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_CORKSCREW_TRACK_LARGE_HALF_LOOP + 31), { 0, 0, height }, { { 0, 16, height }, { 32, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 22, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 22, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_CORKSCREW_TRACK_LARGE_HALF_LOOP + 38), { 0, 0, height }, { { 0, 16, height + 200 }, { 32, 16, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 28, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 28, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_CORKSCREW_TRACK_LARGE_HALF_LOOP + 45), { 0, 0, height }, { { 0, 0, height + 200 }, { 32, 16, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 28, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 28, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_CORKSCREW_TRACK_LARGE_HALF_LOOP + 52), { 0, 0, height }, { { 0, 0, height }, { 32, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 28, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 28, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -18053,7 +18053,7 @@ static void CorkscrewRCTrackLeftBarrelRollUpToDown( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_CORKSCREW_TRACK_BARREL_ROLL + 1), { 0, 0, height }, { { 0, 6, height + 28 }, { 32, 20, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 4, height + 1, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 4, height + 1, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -18063,7 +18063,7 @@ static void CorkscrewRCTrackLeftBarrelRollUpToDown( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_CORKSCREW_TRACK_BARREL_ROLL + 7), { 0, 0, height }, { { 0, 6, height + 28 }, { 32, 20, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 4, height + 1, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 4, height + 1, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -18073,7 +18073,7 @@ static void CorkscrewRCTrackLeftBarrelRollUpToDown( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_CORKSCREW_TRACK_BARREL_ROLL + 13), { 0, 0, height }, { { 0, 6, height + 28 }, { 32, 20, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 1, height + 1, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 1, height + 1, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -18083,7 +18083,7 @@ static void CorkscrewRCTrackLeftBarrelRollUpToDown( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_CORKSCREW_TRACK_BARREL_ROLL + 19), { 0, 0, height }, { { 0, 6, height + 28 }, { 32, 20, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 1, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 1, height, session.SupportColours); break; } if (direction == 0 || direction == 3) @@ -18221,7 +18221,7 @@ static void CorkscrewRCTrackRightBarrelRollUpToDown( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_CORKSCREW_TRACK_BARREL_ROLL + 25), { 0, 0, height }, { { 0, 6, height + 28 }, { 32, 20, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 1, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 1, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -18231,7 +18231,7 @@ static void CorkscrewRCTrackRightBarrelRollUpToDown( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_CORKSCREW_TRACK_BARREL_ROLL + 31), { 0, 0, height }, { { 0, 6, height + 28 }, { 32, 20, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 1, height + 1, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 1, height + 1, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -18241,7 +18241,7 @@ static void CorkscrewRCTrackRightBarrelRollUpToDown( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_CORKSCREW_TRACK_BARREL_ROLL + 37), { 0, 0, height }, { { 0, 6, height + 28 }, { 32, 20, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 4, height + 1, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 4, height + 1, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -18251,7 +18251,7 @@ static void CorkscrewRCTrackRightBarrelRollUpToDown( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_CORKSCREW_TRACK_BARREL_ROLL + 43), { 0, 0, height }, { { 0, 6, height + 28 }, { 32, 20, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 4, height + 1, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 4, height + 1, session.SupportColours); break; } if (direction == 0 || direction == 3) @@ -18405,7 +18405,7 @@ static void CorkscrewRCTrackLeftZeroGRollUp( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_CORKSCREW_TRACK_ZERO_G_ROLL + 1), { 0, 0, height }, { { 0, 6, height + 40 }, { 32, 20, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -18415,21 +18415,21 @@ static void CorkscrewRCTrackLeftZeroGRollUp( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_CORKSCREW_TRACK_ZERO_G_ROLL + 7), { 0, 0, height }, { { 0, 31, height }, { 32, 1, 32 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_CORKSCREW_TRACK_ZERO_G_ROLL + 12), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 5, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_CORKSCREW_TRACK_ZERO_G_ROLL + 16), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 11, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 11, height, session.SupportColours); break; } @@ -18491,14 +18491,14 @@ static void CorkscrewRCTrackLeftZeroGRollUp( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_CORKSCREW_TRACK_ZERO_G_ROLL + 5), { 0, 0, height }, { { 0, 6, height + 22 }, { 32, 20, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 30, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 30, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_CORKSCREW_TRACK_ZERO_G_ROLL + 11), { 0, 0, height }, { { 0, 6, height + 28 }, { 32, 20, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 36, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 36, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -18508,7 +18508,7 @@ static void CorkscrewRCTrackLeftZeroGRollUp( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_CORKSCREW_TRACK_ZERO_G_ROLL + 15), { 0, 0, height }, { { 0, 6, height + 48 }, { 32, 20, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 36, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 36, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -18518,7 +18518,7 @@ static void CorkscrewRCTrackLeftZeroGRollUp( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_CORKSCREW_TRACK_ZERO_G_ROLL + 19), { 0, 0, height }, { { 0, 6, height + 48 }, { 32, 20, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 36, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 36, session.SupportColours); break; } switch (direction) @@ -18549,14 +18549,14 @@ static void CorkscrewRCTrackRightZeroGRollUp( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_CORKSCREW_TRACK_ZERO_G_ROLL + 20), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 11, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 11, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_CORKSCREW_TRACK_ZERO_G_ROLL + 24), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 5, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -18566,7 +18566,7 @@ static void CorkscrewRCTrackRightZeroGRollUp( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_CORKSCREW_TRACK_ZERO_G_ROLL + 29), { 0, 0, height }, { { 0, 31, height + 40 }, { 32, 1, 32 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -18576,7 +18576,7 @@ static void CorkscrewRCTrackRightZeroGRollUp( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_CORKSCREW_TRACK_ZERO_G_ROLL + 35), { 0, 0, height }, { { 0, 6, height + 40 }, { 32, 20, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); break; } if (direction == 0 || direction == 3) @@ -18640,7 +18640,7 @@ static void CorkscrewRCTrackRightZeroGRollUp( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_CORKSCREW_TRACK_ZERO_G_ROLL + 23), { 0, 0, height }, { { 0, 6, height + 48 }, { 32, 20, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 36, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 36, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -18650,21 +18650,21 @@ static void CorkscrewRCTrackRightZeroGRollUp( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_CORKSCREW_TRACK_ZERO_G_ROLL + 27), { 0, 0, height }, { { 0, 6, height + 48 }, { 32, 20, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 36, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 36, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_CORKSCREW_TRACK_ZERO_G_ROLL + 33), { 0, 0, height }, { { 0, 6, height + 28 }, { 32, 20, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 36, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 36, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_CORKSCREW_TRACK_ZERO_G_ROLL + 39), { 0, 0, height }, { { 0, 6, height + 22 }, { 32, 20, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 30, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 30, session.SupportColours); break; } switch (direction) @@ -18728,7 +18728,7 @@ static void CorkscrewRCTrackLeftLargeZeroGRollUp( { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 24, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 24, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -18830,14 +18830,14 @@ static void CorkscrewRCTrackLeftLargeZeroGRollUp( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_CORKSCREW_TRACK_LARGE_ZERO_G_ROLL + 6), { 0, 0, height }, { { 0, 26, height }, { 32, 0, 20 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 28, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 28, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_CORKSCREW_TRACK_LARGE_ZERO_G_ROLL + 14), { 0, 0, height }, { { 0, 26, height }, { 32, 0, 20 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 28, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 28, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -18847,7 +18847,7 @@ static void CorkscrewRCTrackLeftLargeZeroGRollUp( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_CORKSCREW_TRACK_LARGE_ZERO_G_ROLL + 22), { 0, 0, height }, { { 0, 30, height }, { 32, 0, 28 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 30, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 30, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -18857,7 +18857,7 @@ static void CorkscrewRCTrackLeftLargeZeroGRollUp( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_CORKSCREW_TRACK_LARGE_ZERO_G_ROLL + 28), { 0, 0, height }, { { 0, 29, height }, { 32, 1, 40 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 32, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 32, session.SupportColours); break; } switch (direction) @@ -18907,7 +18907,7 @@ static void CorkscrewRCTrackRightLargeZeroGRollUp( { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 23, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 23, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -19013,7 +19013,7 @@ static void CorkscrewRCTrackRightLargeZeroGRollUp( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_CORKSCREW_TRACK_LARGE_ZERO_G_ROLL + 34), { 0, 0, height }, { { 0, 29, height }, { 32, 1, 40 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 34, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 34, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -19023,21 +19023,21 @@ static void CorkscrewRCTrackRightLargeZeroGRollUp( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_CORKSCREW_TRACK_LARGE_ZERO_G_ROLL + 42), { 0, 0, height }, { { 0, 30, height }, { 32, 0, 28 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 30, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 30, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_CORKSCREW_TRACK_LARGE_ZERO_G_ROLL + 50), { 0, 0, height }, { { 0, 26, height }, { 32, 0, 20 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 28, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 28, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_CORKSCREW_TRACK_LARGE_ZERO_G_ROLL + 57), { 0, 0, height }, { { 0, 26, height }, { 32, 0, 20 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 28, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 28, session.SupportColours); break; } switch (direction) @@ -19136,7 +19136,7 @@ static void CorkscrewRCTrackDiagFlatTo60DegUpLongBase( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 0, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -19144,11 +19144,11 @@ static void CorkscrewRCTrackDiagFlatTo60DegUpLongBase( session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_FLAT_TO_STEEP_DIAGONAL + 3)), { -16, -16, height }, { { -16, -16, height + 0 }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 0, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 0, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -19156,7 +19156,7 @@ static void CorkscrewRCTrackDiagFlatTo60DegUpLongBase( session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_FLAT_TO_STEEP_DIAGONAL + 10)), { -16, -16, height }, { { -20, -20, height + 8 }, { 24, 24, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + 0, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -19211,7 +19211,7 @@ static void CorkscrewRCTrackDiagFlatTo60DegUpLongBase( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 13, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 13, height + 0, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -19219,11 +19219,11 @@ static void CorkscrewRCTrackDiagFlatTo60DegUpLongBase( session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_FLAT_TO_STEEP_DIAGONAL + 4)), { -16, -16, height }, { { -16, -16, height + 0 }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 13, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 13, height + 0, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 13, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 13, height + 0, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -19231,7 +19231,7 @@ static void CorkscrewRCTrackDiagFlatTo60DegUpLongBase( session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_FLAT_TO_STEEP_DIAGONAL + 11)), { -16, -16, height }, { { -16, -16, height + 32 }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 13, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 13, height + 0, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -19286,7 +19286,7 @@ static void CorkscrewRCTrackDiagFlatTo60DegUpLongBase( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 21, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 21, height + 0, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -19294,15 +19294,15 @@ static void CorkscrewRCTrackDiagFlatTo60DegUpLongBase( session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_FLAT_TO_STEEP_DIAGONAL + 5)), { -16, -16, height }, { { -16, -16, height + 80 }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 21, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 21, height + 0, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 21, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 21, height + 0, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 21, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 21, height + 0, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -19382,7 +19382,7 @@ static void CorkscrewRCTrackDiag60DegUpToFlatLongBase( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 30, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 30, height + 0, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -19390,11 +19390,11 @@ static void CorkscrewRCTrackDiag60DegUpToFlatLongBase( session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_FLAT_TO_STEEP_DIAGONAL + 15)), { -16, -16, height }, { { -16, -16, height + 0 }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 30, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 30, height + 0, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 30, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 30, height + 0, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -19402,7 +19402,7 @@ static void CorkscrewRCTrackDiag60DegUpToFlatLongBase( session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_FLAT_TO_STEEP_DIAGONAL + 22)), { -16, -16, height }, { { -8, -8, height + 56 }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 30, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 30, height + 0, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -19457,7 +19457,7 @@ static void CorkscrewRCTrackDiag60DegUpToFlatLongBase( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 12, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 12, height + 0, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -19465,11 +19465,11 @@ static void CorkscrewRCTrackDiag60DegUpToFlatLongBase( session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_FLAT_TO_STEEP_DIAGONAL + 16)), { -16, -16, height }, { { -16, -16, height + 0 }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 12, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 12, height + 0, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 12, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 12, height + 0, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -19477,7 +19477,7 @@ static void CorkscrewRCTrackDiag60DegUpToFlatLongBase( session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_FLAT_TO_STEEP_DIAGONAL + 23)), { -16, -16, height }, { { -16, -16, height + 24 }, { 24, 24, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 12, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 12, height + 0, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -19532,7 +19532,7 @@ static void CorkscrewRCTrackDiag60DegUpToFlatLongBase( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 5, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 5, height + 0, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -19540,15 +19540,15 @@ static void CorkscrewRCTrackDiag60DegUpToFlatLongBase( session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_FLAT_TO_STEEP_DIAGONAL + 17)), { -16, -16, height }, { { -16, -16, height + 0 }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 5, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 5, height + 0, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 5, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 5, height + 0, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 5, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 5, height + 0, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -19628,7 +19628,7 @@ static void CorkscrewRCTrackDiagFlatTo60DegDownLongBase( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 26, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 26, height + 0, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -19636,11 +19636,11 @@ static void CorkscrewRCTrackDiagFlatTo60DegDownLongBase( session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_FLAT_TO_STEEP_DIAGONAL + 23)), { -16, -16, height }, { { -16, -16, height + 24 }, { 24, 24, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 26, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 26, height + 0, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 26, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 26, height + 0, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -19648,7 +19648,7 @@ static void CorkscrewRCTrackDiagFlatTo60DegDownLongBase( session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_FLAT_TO_STEEP_DIAGONAL + 16)), { -16, -16, height }, { { -16, -16, height + 0 }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 26, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 26, height + 0, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -19703,7 +19703,7 @@ static void CorkscrewRCTrackDiagFlatTo60DegDownLongBase( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 60, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 60, height + 0, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -19711,11 +19711,11 @@ static void CorkscrewRCTrackDiagFlatTo60DegDownLongBase( session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_FLAT_TO_STEEP_DIAGONAL + 22)), { -16, -16, height }, { { -8, -8, height + 56 }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 60, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 60, height + 0, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 60, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 60, height + 0, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -19723,7 +19723,7 @@ static void CorkscrewRCTrackDiagFlatTo60DegDownLongBase( session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_FLAT_TO_STEEP_DIAGONAL + 15)), { -16, -16, height }, { { -16, -16, height + 0 }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 60, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 60, height + 0, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -19778,7 +19778,7 @@ static void CorkscrewRCTrackDiagFlatTo60DegDownLongBase( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 16, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 16, height + 0, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -19786,15 +19786,15 @@ static void CorkscrewRCTrackDiagFlatTo60DegDownLongBase( session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_FLAT_TO_STEEP_DIAGONAL + 21)), { -16, -16, height }, { { -8, -8, height + 0 }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 16, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 16, height + 0, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 16, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 16, height + 0, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 16, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 16, height + 0, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -19874,7 +19874,7 @@ static void CorkscrewRCTrackDiag60DegDownToFlatLongBase( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 40, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 40, height + 0, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -19882,11 +19882,11 @@ static void CorkscrewRCTrackDiag60DegDownToFlatLongBase( session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_FLAT_TO_STEEP_DIAGONAL + 11)), { -16, -16, height }, { { -16, -16, height + 32 }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 40, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 40, height + 0, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 40, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 40, height + 0, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -19894,7 +19894,7 @@ static void CorkscrewRCTrackDiag60DegDownToFlatLongBase( session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_FLAT_TO_STEEP_DIAGONAL + 4)), { -16, -16, height }, { { -16, -16, height + 0 }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 40, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 40, height + 0, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -19949,7 +19949,7 @@ static void CorkscrewRCTrackDiag60DegDownToFlatLongBase( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 14, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 14, height + 0, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -19957,11 +19957,11 @@ static void CorkscrewRCTrackDiag60DegDownToFlatLongBase( session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_FLAT_TO_STEEP_DIAGONAL + 10)), { -16, -16, height }, { { -8, -8, height + 8 }, { 24, 24, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 14, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 14, height + 0, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 14, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 14, height + 0, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -19969,7 +19969,7 @@ static void CorkscrewRCTrackDiag60DegDownToFlatLongBase( session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_FLAT_TO_STEEP_DIAGONAL + 3)), { -16, -16, height }, { { -16, -16, height + 0 }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 14, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 14, height + 0, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -20024,7 +20024,7 @@ static void CorkscrewRCTrackDiag60DegDownToFlatLongBase( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 0, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -20032,15 +20032,15 @@ static void CorkscrewRCTrackDiag60DegDownToFlatLongBase( session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_FLAT_TO_STEEP_DIAGONAL + 9)), { -16, -16, height }, { { -16, -16, height + 0 }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 0, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 0, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + 0, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -20125,28 +20125,28 @@ static void CorkscrewRCTrackLeftEighthDiveLoopUpToOrthogonal( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_DIVE_LOOP + 1)), { -16, -16, height }, { { 0, 31, height + 0 }, { 32, 1, 64 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 6, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 6, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_DIVE_LOOP + 5)), { -16, -16, height }, { { 0, 31, height + 0 }, { 32, 1, 64 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 6, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 6, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_DIVE_LOOP + 9)), { -16, -16, height }, { { 2, 2, height + 6 }, { 28, 28, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 6, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 6, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_DIVE_LOOP + 13)), { -16, -16, height }, { { 2, 2, height + 12 }, { 28, 28, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + 6, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + 6, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -20209,28 +20209,28 @@ static void CorkscrewRCTrackLeftEighthDiveLoopUpToOrthogonal( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_DIVE_LOOP + 3)), { -16, -16, height }, { { 0, 6, height + 28 }, { 32, 20, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 37, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 37, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_DIVE_LOOP + 7)), { -16, -16, height }, { { 0, 6, height + 28 }, { 32, 20, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 37, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 37, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_DIVE_LOOP + 11)), { -16, -16, height }, { { 0, 6, height + 28 }, { 32, 20, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 37, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 37, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_DIVE_LOOP + 15)), { -16, -16, height }, { { 0, 6, height + 28 }, { 32, 20, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 37, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 37, session.SupportColours); break; } PaintUtilSetGeneralSupportHeight(session, height + 56); @@ -20309,28 +20309,28 @@ static void CorkscrewRCTrackRightEighthDiveLoopUpToOrthogonal( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_DIVE_LOOP + 17)), { -16, -16, height }, { { 2, 2, height + 6 }, { 28, 28, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 6, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 6, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_DIVE_LOOP + 21)), { -16, -16, height }, { { 31, 0, height + 0 }, { 1, 32, 64 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 6, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 6, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_DIVE_LOOP + 25)), { -16, -16, height }, { { 31, 0, height + 0 }, { 1, 32, 64 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 6, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 6, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_DIVE_LOOP + 29)), { -16, -16, height }, { { 2, 2, height + 12 }, { 28, 28, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + 6, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + 6, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -20393,28 +20393,28 @@ static void CorkscrewRCTrackRightEighthDiveLoopUpToOrthogonal( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_DIVE_LOOP + 19)), { -16, -16, height }, { { 6, 0, height + 28 }, { 20, 32, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 37, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 37, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_DIVE_LOOP + 23)), { -16, -16, height }, { { 6, 0, height + 28 }, { 20, 32, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 37, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 37, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_DIVE_LOOP + 27)), { -16, -16, height }, { { 6, 0, height + 28 }, { 20, 32, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 37, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 37, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_CORKSCREW_TRACK_DIVE_LOOP + 31)), { -16, -16, height }, { { 6, 0, height + 28 }, { 20, 32, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 37, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 37, session.SupportColours); break; } PaintUtilSetGeneralSupportHeight(session, height + 56); diff --git a/src/openrct2/paint/track/coaster/FlyingRollerCoaster.cpp b/src/openrct2/paint/track/coaster/FlyingRollerCoaster.cpp index 1dc685c945..341e70685f 100644 --- a/src/openrct2/paint/track/coaster/FlyingRollerCoaster.cpp +++ b/src/openrct2/paint/track/coaster/FlyingRollerCoaster.cpp @@ -58,7 +58,7 @@ static void FlyingRCTrackStation( else if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height, session.SupportColours); } TrackPaintUtilDrawStationTunnel(session, direction, height); @@ -217,19 +217,19 @@ static void FlyingRCTrackHalfLoopInvertedUp( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 62, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 62, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 62, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 62, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 62, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 62, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 62, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 62, session.SupportColours); break; } @@ -551,28 +551,28 @@ static void FlyingRCTrackLeftFlyingLargeHalfLoopInvertedUp( session, direction, session.TrackColours.WithIndex(27645), { 0, 0, height - 4 }, { { 0, 16, height + 32 }, { 32, 24, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 24, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 24, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(27652), { 0, 0, height - 4 }, { { 0, 16, height + 32 }, { 32, 24, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 24, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 24, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(27659), { 0, 0, height - 4 }, { { 0, 0, height + 32 }, { 32, 24, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 24, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 24, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(27666), { 0, 0, height - 4 }, { { 0, 0, height + 32 }, { 32, 24, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 24, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 24, session.SupportColours); break; } if (direction == 0 || direction == 3) @@ -800,28 +800,28 @@ static void FlyingRCTrackRightFlyingLargeHalfLoopInvertedUp( session, direction, session.TrackColours.WithIndex(27694), { 0, 0, height - 4 }, { { 0, 0, height + 32 }, { 32, 24, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 24, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 24, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(27687), { 0, 0, height - 4 }, { { 0, 0, height + 32 }, { 32, 24, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 24, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 24, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(27680), { 0, 0, height - 4 }, { { 0, 16, height + 32 }, { 32, 24, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 24, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 24, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(27673), { 0, 0, height - 4 }, { { 0, 16, height + 32 }, { 32, 24, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 24, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 24, session.SupportColours); break; } if (direction == 0 || direction == 3) diff --git a/src/openrct2/paint/track/coaster/FlyingRollerCoasterInverted.cpp b/src/openrct2/paint/track/coaster/FlyingRollerCoasterInverted.cpp index 8271176a7d..4c39a41643 100644 --- a/src/openrct2/paint/track/coaster/FlyingRollerCoasterInverted.cpp +++ b/src/openrct2/paint/track/coaster/FlyingRollerCoasterInverted.cpp @@ -74,7 +74,7 @@ static void InvertedFlyingRCTrackFlat( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -171,7 +171,7 @@ static void InvertedFlyingRCTrack25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::TopRightSide, direction, 0, height + 57, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, direction, 0, height + 57, session.SupportColours); } if (direction == 0 || direction == 3) @@ -287,7 +287,7 @@ static void InvertedFlyingRCTrackFlatTo25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::TopRightSide, direction, 0, height + 49, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, direction, 0, height + 49, session.SupportColours); } if (direction == 0 || direction == 3) @@ -386,7 +386,7 @@ static void InvertedFlyingRCTrack60DegUpTo25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::TopRightSide, direction, 0, height + 71, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, direction, 0, height + 71, session.SupportColours); } if (direction == 0 || direction == 3) @@ -462,7 +462,7 @@ static void InvertedFlyingRCTrack25DegUpToFlat( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::TopRightSide, direction, 0, height + 47, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, direction, 0, height + 47, session.SupportColours); } if (direction == 0 || direction == 3) @@ -565,7 +565,7 @@ static void InvertedFlyingRCTrackLeftQuarterTurn5( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); if (direction == 0 || direction == 3) { @@ -713,7 +713,7 @@ static void InvertedFlyingRCTrackLeftQuarterTurn5( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); switch (direction) { @@ -778,7 +778,7 @@ static void InvertedFlyingRCTrackFlatToLeftBank( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -825,7 +825,7 @@ static void InvertedFlyingRCTrackFlatToRightBank( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -872,7 +872,7 @@ static void InvertedFlyingRCTrackLeftBankToFlat( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -919,7 +919,7 @@ static void InvertedFlyingRCTrackRightBankToFlat( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -967,7 +967,7 @@ static void InvertedFlyingRCTrackBankedLeftQuarterTurn5( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); if (direction == 0 || direction == 3) { @@ -1110,7 +1110,7 @@ static void InvertedFlyingRCTrackBankedLeftQuarterTurn5( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); switch (direction) { @@ -1176,7 +1176,7 @@ static void InvertedFlyingRCTrackLeftBankTo25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::TopRightSide, direction, 0, height + 47, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, direction, 0, height + 47, session.SupportColours); } if (direction == 0 || direction == 3) @@ -1230,7 +1230,7 @@ static void InvertedFlyingRCTrackRightBankTo25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::TopRightSide, direction, 0, height + 47, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, direction, 0, height + 47, session.SupportColours); } if (direction == 0 || direction == 3) @@ -1284,7 +1284,7 @@ static void InvertedFlyingRCTrack25DegUpToLeftBank( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::TopRightSide, direction, 0, height + 47, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, direction, 0, height + 47, session.SupportColours); } if (direction == 0 || direction == 3) @@ -1338,7 +1338,7 @@ static void InvertedFlyingRCTrack25DegUpToRightBank( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::TopRightSide, direction, 0, height + 47, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, direction, 0, height + 47, session.SupportColours); } if (direction == 0 || direction == 3) @@ -1428,7 +1428,7 @@ static void InvertedFlyingRCTrackLeftBank( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -1480,7 +1480,7 @@ static void InvertedFlyingRCTrackLeftQuarterTurn525DegUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 49, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 49, session.SupportColours); if (direction == 0 || direction == 3) { @@ -1612,7 +1612,7 @@ static void InvertedFlyingRCTrackLeftQuarterTurn525DegUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 49, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 49, session.SupportColours); switch (direction) { @@ -1665,7 +1665,7 @@ static void InvertedFlyingRCTrackRightQuarterTurn525DegUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 49, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 49, session.SupportColours); if (direction == 0 || direction == 3) { @@ -1797,7 +1797,7 @@ static void InvertedFlyingRCTrackRightQuarterTurn525DegUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 49, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 49, session.SupportColours); switch (direction) { @@ -1872,7 +1872,7 @@ static void InvertedFlyingRCTrackSBendLeft( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); if (direction == 0 || direction == 3) { @@ -1917,12 +1917,12 @@ static void InvertedFlyingRCTrackSBendLeft( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + kSupportHeight, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + kSupportHeight, session.SupportColours); break; } @@ -1966,12 +1966,12 @@ static void InvertedFlyingRCTrackSBendLeft( { case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + kSupportHeight, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + kSupportHeight, session.SupportColours); break; } @@ -2010,7 +2010,7 @@ static void InvertedFlyingRCTrackSBendLeft( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); switch (direction) { @@ -2065,7 +2065,7 @@ static void InvertedFlyingRCTrackSBendRight( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); if (direction == 0 || direction == 3) { @@ -2110,12 +2110,12 @@ static void InvertedFlyingRCTrackSBendRight( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + kSupportHeight, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + kSupportHeight, session.SupportColours); break; } @@ -2159,12 +2159,12 @@ static void InvertedFlyingRCTrackSBendRight( { case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + kSupportHeight, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + kSupportHeight, session.SupportColours); break; } @@ -2203,7 +2203,7 @@ static void InvertedFlyingRCTrackSBendRight( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); switch (direction) { @@ -2260,7 +2260,7 @@ static void InvertedFlyingRCTrackLeftQuarterTurn3( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); if (direction == 0 || direction == 3) { @@ -2337,7 +2337,7 @@ static void InvertedFlyingRCTrackLeftQuarterTurn3( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); switch (direction) { @@ -2403,7 +2403,7 @@ static void InvertedFlyingRCTrackLeftQuarterTurn3Bank( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); if (direction == 0 || direction == 3) { @@ -2480,7 +2480,7 @@ static void InvertedFlyingRCTrackLeftQuarterTurn3Bank( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); switch (direction) { @@ -2543,7 +2543,7 @@ static void InvertedFlyingRCTrackLeftQuarterTurn325DegUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 47, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 47, session.SupportColours); if (direction == 0 || direction == 3) { @@ -2587,7 +2587,7 @@ static void InvertedFlyingRCTrackLeftQuarterTurn325DegUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 47, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 47, session.SupportColours); switch (direction) { @@ -2640,7 +2640,7 @@ static void InvertedFlyingRCTrackRightQuarterTurn325DegUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 47, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 47, session.SupportColours); if (direction == 0 || direction == 3) { @@ -2684,7 +2684,7 @@ static void InvertedFlyingRCTrackRightQuarterTurn325DegUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 47, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 47, session.SupportColours); switch (direction) { @@ -2856,7 +2856,7 @@ static void InvertedFlyingRCTrackBrakes( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -2876,7 +2876,7 @@ static void InvertedFlyingRCTrackBooster( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -2924,7 +2924,7 @@ static void InvertedFlyingRCTrackLeftQuarterBankedHelixLargeUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 41, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 41, session.SupportColours); if (direction == 0 || direction == 3) { @@ -3072,7 +3072,7 @@ static void InvertedFlyingRCTrackLeftQuarterBankedHelixLargeUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 53, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 53, session.SupportColours); switch (direction) { @@ -3129,7 +3129,7 @@ static void InvertedFlyingRCTrackRightQuarterBankedHelixLargeUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 41, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 41, session.SupportColours); if (direction == 0 || direction == 3) { @@ -3277,7 +3277,7 @@ static void InvertedFlyingRCTrackRightQuarterBankedHelixLargeUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 53, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 53, session.SupportColours); switch (direction) { @@ -3334,7 +3334,7 @@ static void InvertedFlyingRCTrackLeftQuarterBankedHelixLargeDown( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 53, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 53, session.SupportColours); if (direction == 0 || direction == 3) { @@ -3482,7 +3482,7 @@ static void InvertedFlyingRCTrackLeftQuarterBankedHelixLargeDown( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 41, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 41, session.SupportColours); switch (direction) { @@ -3539,7 +3539,7 @@ static void InvertedFlyingRCTrackRightQuarterBankedHelixLargeDown( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 53, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 53, session.SupportColours); if (direction == 0 || direction == 3) { @@ -3687,7 +3687,7 @@ static void InvertedFlyingRCTrackRightQuarterBankedHelixLargeDown( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 41, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 41, session.SupportColours); switch (direction) { @@ -3736,7 +3736,7 @@ static void InvertedFlyingRCTrack25DegUpLeftBanked( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::TopRightSide, direction, 0, height + 57, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, direction, 0, height + 57, session.SupportColours); } if (direction == 0 || direction == 3) @@ -3783,7 +3783,7 @@ static void InvertedFlyingRCTrack25DegUpRightBanked( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::TopRightSide, direction, 0, height + 57, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, direction, 0, height + 57, session.SupportColours); } if (direction == 0 || direction == 3) @@ -3883,7 +3883,7 @@ static void InvertedFlyingRCTrackLeftEighthToDiag( PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); if (direction == 0 || direction == 3) { @@ -4002,7 +4002,7 @@ static void InvertedFlyingRCTrackLeftEighthToDiag( direction), 0xFFFF, 0); MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::BottomCorner, direction, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::bottomCorner, direction, 0, height + kSupportHeight, session.SupportColours); PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight); @@ -4045,7 +4045,7 @@ static void InvertedFlyingRCTrackRightEighthToDiag( PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); if (direction == 0 || direction == 3) { @@ -4165,7 +4165,7 @@ static void InvertedFlyingRCTrackRightEighthToDiag( direction), 0xFFFF, 0); MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 0, height + kSupportHeight, session.SupportColours); PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight); @@ -4232,7 +4232,7 @@ static void InvertedFlyingRCTrackLeftEighthBankToDiag( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); if (direction == 0 || direction == 3) { @@ -4351,7 +4351,7 @@ static void InvertedFlyingRCTrackLeftEighthBankToDiag( direction), 0xFFFF, 0); MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::BottomCorner, direction, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::bottomCorner, direction, 0, height + kSupportHeight, session.SupportColours); PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight); @@ -4398,7 +4398,7 @@ static void InvertedFlyingRCTrackRightEighthBankToDiag( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); if (direction == 0 || direction == 3) { @@ -4518,7 +4518,7 @@ static void InvertedFlyingRCTrackRightEighthBankToDiag( direction), 0xFFFF, 0); MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 0, height + kSupportHeight, session.SupportColours); PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight); @@ -4678,7 +4678,7 @@ static void InvertedFlyingRCTrackDiagFlat( direction), 0xFFFF, 0); MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 0, height + kSupportHeight, session.SupportColours); PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight); @@ -4818,7 +4818,7 @@ static void InvertedFlyingRCTrackDiag25DegUp( direction), 0xFFFF, 0); MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 0, height + 51, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 0, height + 51, session.SupportColours); PaintUtilSetGeneralSupportHeight(session, height + 56); break; @@ -4904,22 +4904,22 @@ static void InvertedFlyingRCTrackDiag60DegUp( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 32, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::leftCorner, 32, height + kSupportHeight, session.SupportColours); break; case 1: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 36, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::topCorner, 36, height + kSupportHeight, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 32, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::rightCorner, 32, height + kSupportHeight, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 36, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::bottomCorner, 36, height + kSupportHeight, session.SupportColours); break; } @@ -5061,7 +5061,7 @@ static void InvertedFlyingRCTrackDiagFlatTo25DegUp( direction), 0xFFFF, 0); MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 0, height + 43, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 0, height + 43, session.SupportColours); PaintUtilSetGeneralSupportHeight(session, height + 48); break; @@ -5147,22 +5147,22 @@ static void InvertedFlyingRCTrackDiag25DegUpTo60DegUp( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 16, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::leftCorner, 16, height + kSupportHeight, session.SupportColours); break; case 1: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 16, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::topCorner, 16, height + kSupportHeight, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 16, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::rightCorner, 16, height + kSupportHeight, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 16, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::bottomCorner, 16, height + kSupportHeight, session.SupportColours); break; } @@ -5251,22 +5251,22 @@ static void InvertedFlyingRCTrackDiag60DegUpTo25DegUp( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 21, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::leftCorner, 21, height + kSupportHeight, session.SupportColours); break; case 1: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 21, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::topCorner, 21, height + kSupportHeight, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 21, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::rightCorner, 21, height + kSupportHeight, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 21, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::bottomCorner, 21, height + kSupportHeight, session.SupportColours); break; } @@ -5408,7 +5408,7 @@ static void InvertedFlyingRCTrackDiag25DegUpToFlat( direction), 0xFFFF, 0); MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 0, height + 45, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 0, height + 45, session.SupportColours); PaintUtilSetGeneralSupportHeight(session, height + 56); break; @@ -5491,7 +5491,7 @@ static void InvertedFlyingRCTrackDiag25DegDown( direction), 0xFFFF, 0); MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 0, height + 51, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 0, height + 51, session.SupportColours); PaintUtilSetGeneralSupportHeight(session, height + 56); break; @@ -5577,22 +5577,22 @@ static void InvertedFlyingRCTrackDiag60DegDown( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 24, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::leftCorner, 24, height + kSupportHeight, session.SupportColours); break; case 1: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 28, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::topCorner, 28, height + kSupportHeight, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 24, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::rightCorner, 24, height + kSupportHeight, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 28, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::bottomCorner, 28, height + kSupportHeight, session.SupportColours); break; } @@ -5675,7 +5675,7 @@ static void InvertedFlyingRCTrackDiagFlatTo25DegDown( direction), 0xFFFF, 0); MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 0, height + 45, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 0, height + 45, session.SupportColours); break; } @@ -5761,22 +5761,22 @@ static void InvertedFlyingRCTrackDiag25DegDownTo60DegDown( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 17, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::leftCorner, 17, height + kSupportHeight, session.SupportColours); break; case 1: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 17, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::topCorner, 17, height + kSupportHeight, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 17, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::rightCorner, 17, height + kSupportHeight, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 17, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::bottomCorner, 17, height + kSupportHeight, session.SupportColours); break; } @@ -5865,22 +5865,22 @@ static void InvertedFlyingRCTrackDiag60DegDownTo25DegDown( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 8, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::leftCorner, 8, height + kSupportHeight, session.SupportColours); break; case 1: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 8, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::topCorner, 8, height + kSupportHeight, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 8, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::rightCorner, 8, height + kSupportHeight, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 8, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::bottomCorner, 8, height + kSupportHeight, session.SupportColours); break; } @@ -5966,7 +5966,7 @@ static void InvertedFlyingRCTrackDiag25DegDownToFlat( direction), 0xFFFF, 0); MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 0, height + 43, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 0, height + 43, session.SupportColours); PaintUtilSetGeneralSupportHeight(session, height + 48); break; @@ -6051,7 +6051,7 @@ static void InvertedFlyingRCTrackDiagFlatToLeftBank( direction), 0xFFFF, 0); MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 0, height + kSupportHeight, session.SupportColours); PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight); @@ -6137,7 +6137,7 @@ static void InvertedFlyingRCTrackDiagFlatToRightBank( direction), 0xFFFF, 0); MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 0, height + kSupportHeight, session.SupportColours); PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight); @@ -6223,7 +6223,7 @@ static void InvertedFlyingRCTrackDiagLeftBankToFlat( direction), 0xFFFF, 0); MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 0, height + kSupportHeight, session.SupportColours); PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight); @@ -6309,7 +6309,7 @@ static void InvertedFlyingRCTrackDiagRightBankToFlat( direction), 0xFFFF, 0); MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 0, height + kSupportHeight, session.SupportColours); PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight); @@ -6393,7 +6393,7 @@ static void InvertedFlyingRCTrackDiagLeftBankTo25DegUp( direction), 0xFFFF, 0); MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 0, height + 43, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 0, height + 43, session.SupportColours); PaintUtilSetGeneralSupportHeight(session, height + 48); break; @@ -6476,7 +6476,7 @@ static void InvertedFlyingRCTrackDiagRightBankTo25DegUp( direction), 0xFFFF, 0); MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 0, height + 43, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 0, height + 43, session.SupportColours); PaintUtilSetGeneralSupportHeight(session, height + 48); break; @@ -6559,7 +6559,7 @@ static void InvertedFlyingRCTrackDiag25DegUpToLeftBank( direction), 0xFFFF, 0); MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 0, height + 45, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 0, height + 45, session.SupportColours); PaintUtilSetGeneralSupportHeight(session, height + 56); break; @@ -6642,7 +6642,7 @@ static void InvertedFlyingRCTrackDiag25DegUpToRightBank( direction), 0xFFFF, 0); MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 0, height + 45, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 0, height + 45, session.SupportColours); PaintUtilSetGeneralSupportHeight(session, height + 56); break; @@ -6722,7 +6722,7 @@ static void InvertedFlyingRCTrackDiagLeftBankTo25DegDown( direction), 0xFFFF, 0); MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 0, height + 45, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 0, height + 45, session.SupportColours); break; } @@ -6802,7 +6802,7 @@ static void InvertedFlyingRCTrackDiagRightBankTo25DegDown( direction), 0xFFFF, 0); MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 0, height + 45, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 0, height + 45, session.SupportColours); break; } @@ -6885,7 +6885,7 @@ static void InvertedFlyingRCTrackDiag25DegDownToLeftBank( direction), 0xFFFF, 0); MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 0, height + 43, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 0, height + 43, session.SupportColours); PaintUtilSetGeneralSupportHeight(session, height + 48); break; @@ -6968,7 +6968,7 @@ static void InvertedFlyingRCTrackDiag25DegDownToRightBank( direction), 0xFFFF, 0); MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 0, height + 43, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 0, height + 43, session.SupportColours); PaintUtilSetGeneralSupportHeight(session, height + 48); break; @@ -7053,7 +7053,7 @@ static void InvertedFlyingRCTrackDiagLeftBank( direction), 0xFFFF, 0); MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 0, height + kSupportHeight, session.SupportColours); PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight); @@ -7139,7 +7139,7 @@ static void InvertedFlyingRCTrackDiagRightBank( direction), 0xFFFF, 0); MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 0, height + kSupportHeight, session.SupportColours); PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight); @@ -7172,7 +7172,7 @@ static void InvertedFlyingRCTrackBlockBrakes( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -7216,7 +7216,7 @@ static void InvertedFlyingRCTrackLeftBankedQuarterTurn325DegUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 47, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 47, session.SupportColours); if (direction == 0 || direction == 3) { @@ -7260,7 +7260,7 @@ static void InvertedFlyingRCTrackLeftBankedQuarterTurn325DegUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 47, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 47, session.SupportColours); switch (direction) { @@ -7313,7 +7313,7 @@ static void InvertedFlyingRCTrackRightBankedQuarterTurn325DegUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 47, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 47, session.SupportColours); if (direction == 0 || direction == 3) { @@ -7357,7 +7357,7 @@ static void InvertedFlyingRCTrackRightBankedQuarterTurn325DegUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 47, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 47, session.SupportColours); switch (direction) { @@ -7430,7 +7430,7 @@ static void InvertedFlyingRCTrackLeftBankedQuarterTurn525DegUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 49, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 49, session.SupportColours); if (direction == 0 || direction == 3) { @@ -7562,7 +7562,7 @@ static void InvertedFlyingRCTrackLeftBankedQuarterTurn525DegUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 49, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 49, session.SupportColours); switch (direction) { @@ -7615,7 +7615,7 @@ static void InvertedFlyingRCTrackRightBankedQuarterTurn525DegUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 49, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 49, session.SupportColours); if (direction == 0 || direction == 3) { @@ -7747,7 +7747,7 @@ static void InvertedFlyingRCTrackRightBankedQuarterTurn525DegUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 49, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 49, session.SupportColours); switch (direction) { @@ -7816,7 +7816,7 @@ static void InvertedFlyingRCTrack25DegUpToLeftBanked25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::TopRightSide, direction, 0, height + 57, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, direction, 0, height + 57, session.SupportColours); } if (direction == 0 || direction == 3) @@ -7863,7 +7863,7 @@ static void InvertedFlyingRCTrack25DegUpToRightBanked25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::TopRightSide, direction, 0, height + 57, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, direction, 0, height + 57, session.SupportColours); } if (direction == 0 || direction == 3) @@ -7910,7 +7910,7 @@ static void InvertedFlyingRCTrackLeftBanked25DegUpTo25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::TopRightSide, direction, 0, height + 57, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, direction, 0, height + 57, session.SupportColours); } if (direction == 0 || direction == 3) @@ -7957,7 +7957,7 @@ static void InvertedFlyingRCTrackRightBanked25DegUpTo25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::TopRightSide, direction, 0, height + 57, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, direction, 0, height + 57, session.SupportColours); } if (direction == 0 || direction == 3) @@ -8040,7 +8040,7 @@ static void InvertedFlyingRCTrackLeftBankedFlatToLeftBanked25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::TopRightSide, direction, 0, height + 49, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, direction, 0, height + 49, session.SupportColours); } if (direction == 0 || direction == 3) @@ -8087,7 +8087,7 @@ static void InvertedFlyingRCTrackRightBankedFlatToRightBanked25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::TopRightSide, direction, 0, height + 49, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, direction, 0, height + 49, session.SupportColours); } if (direction == 0 || direction == 3) @@ -8134,7 +8134,7 @@ static void InvertedFlyingRCTrackLeftBanked25DegUpToLeftBankedFlat( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::TopRightSide, direction, 0, height + 47, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, direction, 0, height + 47, session.SupportColours); } if (direction == 0 || direction == 3) @@ -8181,7 +8181,7 @@ static void InvertedFlyingRCTrackRightBanked25DegUpToRightBankedFlat( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::TopRightSide, direction, 0, height + 47, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, direction, 0, height + 47, session.SupportColours); } if (direction == 0 || direction == 3) @@ -8264,7 +8264,7 @@ static void InvertedFlyingRCTrackFlatToLeftBanked25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::TopRightSide, direction, 0, height + 49, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, direction, 0, height + 49, session.SupportColours); } if (direction == 0 || direction == 3) @@ -8311,7 +8311,7 @@ static void InvertedFlyingRCTrackFlatToRightBanked25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::TopRightSide, direction, 0, height + 49, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, direction, 0, height + 49, session.SupportColours); } if (direction == 0 || direction == 3) @@ -8358,7 +8358,7 @@ static void InvertedFlyingRCTrackLeftBanked25DegUpToFlat( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::TopRightSide, direction, 0, height + 47, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, direction, 0, height + 47, session.SupportColours); } if (direction == 0 || direction == 3) @@ -8405,7 +8405,7 @@ static void InvertedFlyingRCTrackRightBanked25DegUpToFlat( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::TopRightSide, direction, 0, height + 47, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, direction, 0, height + 47, session.SupportColours); } if (direction == 0 || direction == 3) @@ -8518,7 +8518,7 @@ static void InvertedFlyingRCTrackDiagBrakes( if (trackSequence == 3) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 0, height + kSupportHeight, session.SupportColours); } PaintUtilSetGeneralSupportHeight(session, height + 48); @@ -8569,7 +8569,7 @@ static void InvertedFlyingRCTrackLeftFlyerTwistDown( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); if (direction == 0 || direction == 3) { @@ -8633,7 +8633,7 @@ static void InvertedFlyingRCTrackLeftFlyerTwistDown( break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height - 5, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height - 5, session.SupportColours); switch (direction) { case 1: @@ -8693,7 +8693,7 @@ static void InvertedFlyingRCTrackRightFlyerTwistDown( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); if (direction == 0 || direction == 3) { @@ -8756,7 +8756,7 @@ static void InvertedFlyingRCTrackRightFlyerTwistDown( break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height - 5, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height - 5, session.SupportColours); switch (direction) { case 1: @@ -8854,27 +8854,27 @@ static void FlyingRCTrackFlyerHalfLoopDown( session, direction, session.TrackColours.WithIndex(17627), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 20, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 20, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17635), { 0, 14, height }, { { 28, 6, height }, { 3, 20, 63 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 15, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 15, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17632), { 0, 6, height }, { { 28, 6, height }, { 3, 20, 63 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 16, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17640), { 0, 6, height }, { 32, 20, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 16, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0); @@ -8900,7 +8900,7 @@ static void FlyingRCTrackFlyerHalfLoopDown( session, direction, session.TrackColours.WithIndex(17641), { 0, 6, height }, { 32, 20, 7 }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); diff --git a/src/openrct2/paint/track/coaster/InvertedHairpinCoaster.cpp b/src/openrct2/paint/track/coaster/InvertedHairpinCoaster.cpp index 2e20752cc2..dd362a4701 100644 --- a/src/openrct2/paint/track/coaster/InvertedHairpinCoaster.cpp +++ b/src/openrct2/paint/track/coaster/InvertedHairpinCoaster.cpp @@ -81,7 +81,7 @@ static void InvertedHairpinRCTrackFlat( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -181,19 +181,19 @@ static void InvertedHairpinRCTrack25DegUp( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 48, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 48, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 48, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 48, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 48, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 48, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 48, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 48, session.SupportColours); break; } } @@ -343,19 +343,19 @@ static void InvertedHairpinRCTrackFlatTo25DegUp( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 40, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 40, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 40, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 40, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 40, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 40, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 40, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 40, session.SupportColours); break; } } @@ -529,19 +529,19 @@ static void InvertedHairpinRCTrack60DegUpTo25DegUp( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 62, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 62, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 62, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 62, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 62, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 62, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 62, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 62, session.SupportColours); break; } } @@ -622,19 +622,19 @@ static void InvertedHairpinRCTrack25DegUpToFlat( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 38, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 38, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 38, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 38, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 38, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 38, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 38, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 38, session.SupportColours); break; } } @@ -741,7 +741,7 @@ static void InvertedHairpinRCTrackLeftQuarterTurn3( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); if (direction == 0 || direction == 3) { @@ -818,7 +818,7 @@ static void InvertedHairpinRCTrackLeftQuarterTurn3( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); switch (direction) { @@ -881,7 +881,7 @@ static void InvertedHairpinRCTrackLeftQuarterTurn325DegUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 38, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 38, session.SupportColours); if (direction == 0 || direction == 3) { @@ -925,7 +925,7 @@ static void InvertedHairpinRCTrackLeftQuarterTurn325DegUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 38, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 38, session.SupportColours); switch (direction) { @@ -978,7 +978,7 @@ static void InvertedHairpinRCTrackRightQuarterTurn325DegUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 38, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 38, session.SupportColours); if (direction == 0 || direction == 3) { @@ -1022,7 +1022,7 @@ static void InvertedHairpinRCTrackRightQuarterTurn325DegUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 38, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 38, session.SupportColours); switch (direction) { @@ -1093,7 +1093,7 @@ static void InvertedHairpinRCTrackLeftQuarterTurn1( EnumsToFlags(PaintSegment::left, PaintSegment::centre, PaintSegment::topLeft, PaintSegment::bottomLeft), direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); switch (direction) { @@ -1276,19 +1276,19 @@ static void InvertedHairpinRCTrack60DegUpToFlat( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 54, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 54, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 54, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 54, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 54, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 54, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 54, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 54, session.SupportColours); break; } @@ -1344,7 +1344,7 @@ static void InvertedHairpinRCTrackBrakes( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -1376,7 +1376,7 @@ static void InvertedHairpinRCTrackBlockBrakes( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); diff --git a/src/openrct2/paint/track/coaster/InvertedImpulseCoaster.cpp b/src/openrct2/paint/track/coaster/InvertedImpulseCoaster.cpp index e6a3d5a2c9..aee4ac2b69 100644 --- a/src/openrct2/paint/track/coaster/InvertedImpulseCoaster.cpp +++ b/src/openrct2/paint/track/coaster/InvertedImpulseCoaster.cpp @@ -50,7 +50,7 @@ static void InvertedImpulseRCTrackFlat( PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height + 44, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height + 44, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -121,19 +121,19 @@ static void InvertedImpulseRCTrack25DegUp( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 62, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 62, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 62, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 62, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 62, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 62, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 62, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 62, session.SupportColours); break; } } @@ -223,19 +223,19 @@ static void InvertedImpulseRCTrackFlatTo25DegUp( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 54, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 54, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 54, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 54, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 54, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 54, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 54, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 54, session.SupportColours); break; } @@ -376,19 +376,19 @@ static void InvertedImpulseRCTrack25DegUpToFlat( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 52, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 52, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 52, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 52, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 52, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 52, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 52, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 52, session.SupportColours); break; } diff --git a/src/openrct2/paint/track/coaster/InvertedRollerCoaster.cpp b/src/openrct2/paint/track/coaster/InvertedRollerCoaster.cpp index c6ff2002dc..9ce23ab15a 100644 --- a/src/openrct2/paint/track/coaster/InvertedRollerCoaster.cpp +++ b/src/openrct2/paint/track/coaster/InvertedRollerCoaster.cpp @@ -84,7 +84,7 @@ static void InvertedRCTrackFlat( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -184,19 +184,19 @@ static void InvertedRCTrack25DegUp( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 62, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 62, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 62, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 62, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 62, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 62, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 62, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 62, session.SupportColours); break; } } @@ -317,19 +317,19 @@ static void InvertedRCTrackFlatTo25DegUp( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 54, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 54, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 54, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 54, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 54, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 54, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 54, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 54, session.SupportColours); break; } } @@ -433,19 +433,19 @@ static void InvertedRCTrack60DegUpTo25DegUp( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 76, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 76, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 76, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 76, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 76, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 76, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 76, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 76, session.SupportColours); break; } } @@ -526,19 +526,19 @@ static void InvertedRCTrack25DegUpToFlat( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 52, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 52, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 52, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 52, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 52, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 52, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 52, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 52, session.SupportColours); break; } } @@ -643,7 +643,7 @@ static void InvertedRCTrackLeftQuarterTurn5( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); if (direction == 0 || direction == 3) { @@ -786,7 +786,7 @@ static void InvertedRCTrackLeftQuarterTurn5( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); switch (direction) { @@ -851,7 +851,7 @@ static void InvertedRCTrackFlatToLeftBank( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -898,7 +898,7 @@ static void InvertedRCTrackFlatToRightBank( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -945,7 +945,7 @@ static void InvertedRCTrackLeftBankToFlat( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -992,7 +992,7 @@ static void InvertedRCTrackRightBankToFlat( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -1040,7 +1040,7 @@ static void InvertedRCTrackBankedLeftQuarterTurn5( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); if (direction == 0 || direction == 3) { @@ -1183,7 +1183,7 @@ static void InvertedRCTrackBankedLeftQuarterTurn5( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); switch (direction) { @@ -1251,19 +1251,19 @@ static void InvertedRCTrackLeftBankTo25DegUp( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 52, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 52, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 52, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 52, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 52, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 52, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 52, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 52, session.SupportColours); break; } } @@ -1322,19 +1322,19 @@ static void InvertedRCTrackRightBankTo25DegUp( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 52, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 52, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 52, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 52, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 52, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 52, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 52, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 52, session.SupportColours); break; } } @@ -1393,19 +1393,19 @@ static void InvertedRCTrack25DegUpToLeftBank( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 52, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 52, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 52, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 52, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 52, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 52, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 52, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 52, session.SupportColours); break; } } @@ -1464,19 +1464,19 @@ static void InvertedRCTrack25DegUpToRightBank( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 52, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 52, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 52, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 52, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 52, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 52, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 52, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 52, session.SupportColours); break; } } @@ -1564,7 +1564,7 @@ static void InvertedRCTrackLeftBank( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -1616,7 +1616,7 @@ static void InvertedRCTrackLeftQuarterTurn525DegUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 54, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 54, session.SupportColours); if (direction == 0 || direction == 3) { @@ -1748,7 +1748,7 @@ static void InvertedRCTrackLeftQuarterTurn525DegUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 54, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 54, session.SupportColours); switch (direction) { @@ -1801,7 +1801,7 @@ static void InvertedRCTrackRightQuarterTurn525DegUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 54, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 54, session.SupportColours); if (direction == 0 || direction == 3) { @@ -1933,7 +1933,7 @@ static void InvertedRCTrackRightQuarterTurn525DegUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 54, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 54, session.SupportColours); switch (direction) { @@ -2339,19 +2339,19 @@ static void InvertedRCTrackLeftVerticalLoop( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 55, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 55, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 55, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 55, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 55, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 55, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 55, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 55, session.SupportColours); break; } @@ -2590,19 +2590,19 @@ static void InvertedRCTrackLeftVerticalLoop( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 55, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 55, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 55, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 55, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 55, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 55, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 55, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 55, session.SupportColours); break; } @@ -2664,19 +2664,19 @@ static void InvertedRCTrackRightVerticalLoop( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 55, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 55, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 55, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 55, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 55, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 55, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 55, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 55, session.SupportColours); break; } @@ -2916,19 +2916,19 @@ static void InvertedRCTrackRightVerticalLoop( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 55, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 55, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 55, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 55, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 55, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 55, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 55, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 55, session.SupportColours); break; } @@ -2987,7 +2987,7 @@ static void InvertedRCTrackLeftQuarterTurn3( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); if (direction == 0 || direction == 3) { @@ -3063,7 +3063,7 @@ static void InvertedRCTrackLeftQuarterTurn3( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); switch (direction) { @@ -3129,7 +3129,7 @@ static void InvertedRCTrackLeftQuarterTurn3Bank( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); if (direction == 0 || direction == 3) { @@ -3206,7 +3206,7 @@ static void InvertedRCTrackLeftQuarterTurn3Bank( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); switch (direction) { @@ -3268,7 +3268,7 @@ static void InvertedRCTrackLeftQuarterTurn325DegUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 52, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 52, session.SupportColours); if (direction == 0 || direction == 3) { @@ -3312,7 +3312,7 @@ static void InvertedRCTrackLeftQuarterTurn325DegUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 52, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 52, session.SupportColours); switch (direction) { @@ -3365,7 +3365,7 @@ static void InvertedRCTrackRightQuarterTurn325DegUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 52, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 52, session.SupportColours); if (direction == 0 || direction == 3) { @@ -3409,7 +3409,7 @@ static void InvertedRCTrackRightQuarterTurn325DegUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 52, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 52, session.SupportColours); switch (direction) { @@ -3482,7 +3482,7 @@ static void InvertedRCTrackLeftTwistDownToUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); if (direction == 0 || direction == 3) { @@ -3540,7 +3540,7 @@ static void InvertedRCTrackLeftTwistDownToUp( session, direction, session.TrackColours.WithIndex(27436), { 0, 6, height }, { 32, 20, 3 }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); switch (direction) { case 1: @@ -3600,7 +3600,7 @@ static void InvertedRCTrackRightTwistDownToUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); if (direction == 0 || direction == 3) { @@ -3658,7 +3658,7 @@ static void InvertedRCTrackRightTwistDownToUp( session, direction, session.TrackColours.WithIndex(27448), { 0, 6, height }, { 32, 20, 3 }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); switch (direction) { case 1: @@ -3708,7 +3708,7 @@ static void InvertedRCTrackLeftTwistUpToDown( session, direction, session.TrackColours.WithIndex(27435), { 0, 6, height }, { 32, 20, 3 }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -3783,7 +3783,7 @@ static void InvertedRCTrackLeftTwistUpToDown( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); switch (direction) { @@ -3826,7 +3826,7 @@ static void InvertedRCTrackRightTwistUpToDown( session, direction, session.TrackColours.WithIndex(27447), { 0, 6, height }, { 32, 20, 3 }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -3901,7 +3901,7 @@ static void InvertedRCTrackRightTwistUpToDown( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); switch (direction) { @@ -3955,19 +3955,19 @@ static void InvertedRCTrackHalfLoopUp( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 62, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 62, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 62, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 62, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 62, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 62, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 62, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 62, session.SupportColours); break; } @@ -4122,7 +4122,7 @@ static void InvertedRCTrackLeftCorkscrewUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 50, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 50, session.SupportColours); if (direction == 0 || direction == 3) { @@ -4182,7 +4182,7 @@ static void InvertedRCTrackLeftCorkscrewUp( break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 28, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 28, session.SupportColours); switch (direction) { case 2: @@ -4246,7 +4246,7 @@ static void InvertedRCTrackRightCorkscrewUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 50, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 50, session.SupportColours); if (direction == 0 || direction == 3) { @@ -4306,7 +4306,7 @@ static void InvertedRCTrackRightCorkscrewUp( break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 28, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 28, session.SupportColours); switch (direction) { case 0: @@ -4480,7 +4480,7 @@ static void InvertedRCTrackBrakes( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -4528,7 +4528,7 @@ static void InvertedRCTrackLeftQuarterBankedHelixLargeUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 46, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 46, session.SupportColours); if (direction == 0 || direction == 3) { @@ -4676,7 +4676,7 @@ static void InvertedRCTrackLeftQuarterBankedHelixLargeUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 58, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 58, session.SupportColours); switch (direction) { @@ -4733,7 +4733,7 @@ static void InvertedRCTrackRightQuarterBankedHelixLargeUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 46, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 46, session.SupportColours); if (direction == 0 || direction == 3) { @@ -4881,7 +4881,7 @@ static void InvertedRCTrackRightQuarterBankedHelixLargeUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 58, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 58, session.SupportColours); switch (direction) { @@ -4938,7 +4938,7 @@ static void InvertedRCTrackLeftQuarterBankedHelixLargeDown( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 58, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 58, session.SupportColours); if (direction == 0 || direction == 3) { @@ -5086,7 +5086,7 @@ static void InvertedRCTrackLeftQuarterBankedHelixLargeDown( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 46, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 46, session.SupportColours); switch (direction) { @@ -5143,7 +5143,7 @@ static void InvertedRCTrackRightQuarterBankedHelixLargeDown( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 58, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 58, session.SupportColours); if (direction == 0 || direction == 3) { @@ -5291,7 +5291,7 @@ static void InvertedRCTrackRightQuarterBankedHelixLargeDown( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 46, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 46, session.SupportColours); switch (direction) { @@ -5343,19 +5343,19 @@ static void InvertedRCTrack25DegUpLeftBanked( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 62, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 62, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 62, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 62, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 62, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 62, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 62, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 62, session.SupportColours); break; } } @@ -5407,19 +5407,19 @@ static void InvertedRCTrack25DegUpRightBanked( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 62, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 62, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 62, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 62, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 62, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 62, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 62, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 62, session.SupportColours); break; } } @@ -5519,7 +5519,7 @@ static void InvertedRCTrackLeftEighthToDiag( PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); if (direction == 0 || direction == 3) { @@ -5641,22 +5641,22 @@ static void InvertedRCTrackLeftEighthToDiag( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + kSupportHeight, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + kSupportHeight, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + kSupportHeight, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + kSupportHeight, session.SupportColours); break; } @@ -5701,7 +5701,7 @@ static void InvertedRCTrackRightEighthToDiag( PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); if (direction == 0 || direction == 3) { @@ -5824,22 +5824,22 @@ static void InvertedRCTrackRightEighthToDiag( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + kSupportHeight, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + kSupportHeight, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + kSupportHeight, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + kSupportHeight, session.SupportColours); break; } @@ -5907,7 +5907,7 @@ static void InvertedRCTrackLeftEighthBankToDiag( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); if (direction == 0 || direction == 3) { @@ -6029,22 +6029,22 @@ static void InvertedRCTrackLeftEighthBankToDiag( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + kSupportHeight, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + kSupportHeight, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + kSupportHeight, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + kSupportHeight, session.SupportColours); break; } @@ -6093,7 +6093,7 @@ static void InvertedRCTrackRightEighthBankToDiag( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); if (direction == 0 || direction == 3) { @@ -6216,22 +6216,22 @@ static void InvertedRCTrackRightEighthBankToDiag( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + kSupportHeight, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + kSupportHeight, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + kSupportHeight, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + kSupportHeight, session.SupportColours); break; } @@ -6428,19 +6428,19 @@ static void InvertedRCTrackDiag25DegUp( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 56, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 56, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 56, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 56, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 56, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 56, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + 56, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + 56, session.SupportColours); break; } @@ -6528,22 +6528,22 @@ static void InvertedRCTrackDiag60DegUp( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 32, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::leftCorner, 32, height + kSupportHeight, session.SupportColours); break; case 1: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 36, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::topCorner, 36, height + kSupportHeight, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 32, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::rightCorner, 32, height + kSupportHeight, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 36, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::bottomCorner, 36, height + kSupportHeight, session.SupportColours); break; } @@ -6688,19 +6688,19 @@ static void InvertedRCTrackDiagFlatTo25DegUp( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 48, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 48, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 48, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 48, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 48, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 48, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + 48, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + 48, session.SupportColours); break; } @@ -6788,22 +6788,22 @@ static void InvertedRCTrackDiag25DegUpTo60DegUp( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 16, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::leftCorner, 16, height + kSupportHeight, session.SupportColours); break; case 1: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 16, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::topCorner, 16, height + kSupportHeight, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 16, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::rightCorner, 16, height + kSupportHeight, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 16, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::bottomCorner, 16, height + kSupportHeight, session.SupportColours); break; } @@ -6892,22 +6892,22 @@ static void InvertedRCTrackDiag60DegUpTo25DegUp( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 21, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::leftCorner, 21, height + kSupportHeight, session.SupportColours); break; case 1: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 21, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::topCorner, 21, height + kSupportHeight, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 21, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::rightCorner, 21, height + kSupportHeight, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 21, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::bottomCorner, 21, height + kSupportHeight, session.SupportColours); break; } @@ -7052,19 +7052,19 @@ static void InvertedRCTrackDiag25DegUpToFlat( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 50, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 50, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 50, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 50, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 50, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 50, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + 50, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + 50, session.SupportColours); break; } @@ -7208,19 +7208,19 @@ static void InvertedRCTrackDiag25DegDown( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 56, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 56, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 56, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 56, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 56, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 56, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + 56, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + 56, session.SupportColours); break; } @@ -7308,22 +7308,22 @@ static void InvertedRCTrackDiag60DegDown( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 24, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::leftCorner, 24, height + kSupportHeight, session.SupportColours); break; case 1: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 28, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::topCorner, 28, height + kSupportHeight, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 24, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::rightCorner, 24, height + kSupportHeight, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 28, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::bottomCorner, 28, height + kSupportHeight, session.SupportColours); break; } @@ -7465,19 +7465,19 @@ static void InvertedRCTrackDiagFlatTo25DegDown( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 50, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 50, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 50, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 50, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 50, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 50, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + 50, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + 50, session.SupportColours); break; } break; @@ -7565,22 +7565,22 @@ static void InvertedRCTrackDiag25DegDownTo60DegDown( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 17, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::leftCorner, 17, height + kSupportHeight, session.SupportColours); break; case 1: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 17, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::topCorner, 17, height + kSupportHeight, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 17, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::rightCorner, 17, height + kSupportHeight, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 17, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::bottomCorner, 17, height + kSupportHeight, session.SupportColours); break; } @@ -7669,22 +7669,22 @@ static void InvertedRCTrackDiag60DegDownTo25DegDown( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 8, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::leftCorner, 8, height + kSupportHeight, session.SupportColours); break; case 1: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 8, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::topCorner, 8, height + kSupportHeight, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 8, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::rightCorner, 8, height + kSupportHeight, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 8, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::bottomCorner, 8, height + kSupportHeight, session.SupportColours); break; } @@ -7829,19 +7829,19 @@ static void InvertedRCTrackDiag25DegDownToFlat( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 48, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 48, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 48, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 48, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 48, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 48, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + 48, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + 48, session.SupportColours); break; } @@ -7931,22 +7931,22 @@ static void InvertedRCTrackDiagFlatToLeftBank( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + kSupportHeight, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + kSupportHeight, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + kSupportHeight, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + kSupportHeight, session.SupportColours); break; } @@ -8037,22 +8037,22 @@ static void InvertedRCTrackDiagFlatToRightBank( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + kSupportHeight, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + kSupportHeight, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + kSupportHeight, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + kSupportHeight, session.SupportColours); break; } @@ -8143,22 +8143,22 @@ static void InvertedRCTrackDiagLeftBankToFlat( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + kSupportHeight, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + kSupportHeight, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + kSupportHeight, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + kSupportHeight, session.SupportColours); break; } @@ -8249,22 +8249,22 @@ static void InvertedRCTrackDiagRightBankToFlat( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + kSupportHeight, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + kSupportHeight, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + kSupportHeight, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + kSupportHeight, session.SupportColours); break; } @@ -8353,19 +8353,19 @@ static void InvertedRCTrackDiagLeftBankTo25DegUp( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 48, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 48, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 48, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 48, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 48, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 48, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + 48, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + 48, session.SupportColours); break; } @@ -8453,19 +8453,19 @@ static void InvertedRCTrackDiagRightBankTo25DegUp( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 48, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 48, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 48, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 48, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 48, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 48, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + 48, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + 48, session.SupportColours); break; } @@ -8553,19 +8553,19 @@ static void InvertedRCTrackDiag25DegUpToLeftBank( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 50, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 50, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 50, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 50, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 50, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 50, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + 50, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + 50, session.SupportColours); break; } @@ -8653,19 +8653,19 @@ static void InvertedRCTrackDiag25DegUpToRightBank( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 50, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 50, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 50, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 50, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 50, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 50, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + 50, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + 50, session.SupportColours); break; } @@ -8750,19 +8750,19 @@ static void InvertedRCTrackDiagLeftBankTo25DegDown( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 50, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 50, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 50, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 50, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 50, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 50, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + 50, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + 50, session.SupportColours); break; } break; @@ -8847,19 +8847,19 @@ static void InvertedRCTrackDiagRightBankTo25DegDown( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 50, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 50, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 50, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 50, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 50, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 50, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + 50, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + 50, session.SupportColours); break; } break; @@ -8947,19 +8947,19 @@ static void InvertedRCTrackDiag25DegDownToLeftBank( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 48, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 48, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 48, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 48, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 48, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 48, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + 48, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + 48, session.SupportColours); break; } @@ -9047,19 +9047,19 @@ static void InvertedRCTrackDiag25DegDownToRightBank( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 48, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 48, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 48, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 48, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 48, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 48, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + 48, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + 48, session.SupportColours); break; } @@ -9149,22 +9149,22 @@ static void InvertedRCTrackDiagLeftBank( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + kSupportHeight, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + kSupportHeight, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + kSupportHeight, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + kSupportHeight, session.SupportColours); break; } @@ -9255,22 +9255,22 @@ static void InvertedRCTrackDiagRightBank( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + kSupportHeight, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + kSupportHeight, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + kSupportHeight, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + kSupportHeight, session.SupportColours); break; } @@ -9490,28 +9490,28 @@ static void InvertedRCTrackLeftLargeHalfLoopUp( session, direction, session.TrackColours.WithIndex(27645), { 0, 0, height }, { { 0, 16, height + 32 }, { 32, 16, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 27, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 27, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(27652), { 0, 0, height }, { { 0, 16, height }, { 32, 16, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 27, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 27, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(27659), { 0, 0, height }, { { 0, 0, height }, { 32, 16, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 25, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 25, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(27666), { 0, 0, height }, { { 0, 0, height + 32 }, { 32, 16, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 27, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 27, height, session.SupportColours); break; } if (direction == 0 || direction == 3) @@ -9740,28 +9740,28 @@ static void InvertedRCTrackRightLargeHalfLoopUp( session, direction, session.TrackColours.WithIndex(27694), { 0, 0, height }, { { 0, 0, height + 32 }, { 32, 16, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 27, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 27, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(27687), { 0, 0, height }, { { 0, 0, height }, { 32, 16, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 25, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 25, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(27680), { 0, 0, height }, { { 0, 16, height }, { 32, 16, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 27, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 27, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(27673), { 0, 0, height }, { { 0, 16, height + 32 }, { 32, 16, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 27, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 27, height, session.SupportColours); break; } if (direction == 0 || direction == 3) @@ -9822,7 +9822,7 @@ static void InvertedRCTrackBlockBrakes( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -9866,7 +9866,7 @@ static void InvertedRCTrackLeftBankedQuarterTurn325DegUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 52, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 52, session.SupportColours); if (direction == 0 || direction == 3) { @@ -9910,7 +9910,7 @@ static void InvertedRCTrackLeftBankedQuarterTurn325DegUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 52, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 52, session.SupportColours); switch (direction) { @@ -9963,7 +9963,7 @@ static void InvertedRCTrackRightBankedQuarterTurn325DegUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 52, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 52, session.SupportColours); if (direction == 0 || direction == 3) { @@ -10007,7 +10007,7 @@ static void InvertedRCTrackRightBankedQuarterTurn325DegUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 52, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 52, session.SupportColours); switch (direction) { @@ -10080,7 +10080,7 @@ static void InvertedRCTrackLeftBankedQuarterTurn525DegUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 54, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 54, session.SupportColours); if (direction == 0 || direction == 3) { @@ -10212,7 +10212,7 @@ static void InvertedRCTrackLeftBankedQuarterTurn525DegUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 54, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 54, session.SupportColours); switch (direction) { @@ -10265,7 +10265,7 @@ static void InvertedRCTrackRightBankedQuarterTurn525DegUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 54, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 54, session.SupportColours); if (direction == 0 || direction == 3) { @@ -10397,7 +10397,7 @@ static void InvertedRCTrackRightBankedQuarterTurn525DegUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 54, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 54, session.SupportColours); switch (direction) { @@ -10469,19 +10469,19 @@ static void InvertedRCTrack25DegUpToLeftBanked25DegUp( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 62, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 62, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 62, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 62, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 62, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 62, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 62, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 62, session.SupportColours); break; } } @@ -10533,19 +10533,19 @@ static void InvertedRCTrack25DegUpToRightBanked25DegUp( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 62, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 62, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 62, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 62, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 62, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 62, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 62, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 62, session.SupportColours); break; } } @@ -10597,19 +10597,19 @@ static void InvertedRCTrackLeftBanked25DegUpTo25DegUp( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 62, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 62, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 62, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 62, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 62, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 62, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 62, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 62, session.SupportColours); break; } } @@ -10661,19 +10661,19 @@ static void InvertedRCTrackRightBanked25DegUpTo25DegUp( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 62, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 62, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 62, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 62, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 62, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 62, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 62, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 62, session.SupportColours); break; } } @@ -10761,19 +10761,19 @@ static void InvertedRCTrackLeftBankedFlatToLeftBanked25DegUp( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 54, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 54, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 54, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 54, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 54, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 54, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 54, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 54, session.SupportColours); break; } } @@ -10825,19 +10825,19 @@ static void InvertedRCTrackRightBankedFlatToRightBanked25DegUp( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 54, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 54, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 54, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 54, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 54, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 54, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 54, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 54, session.SupportColours); break; } } @@ -10889,19 +10889,19 @@ static void InvertedRCTrackLeftBanked25DegUpToLeftBankedFlat( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 52, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 52, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 52, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 52, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 52, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 52, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 52, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 52, session.SupportColours); break; } } @@ -10953,19 +10953,19 @@ static void InvertedRCTrackRightBanked25DegUpToRightBankedFlat( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 52, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 52, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 52, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 52, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 52, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 52, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 52, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 52, session.SupportColours); break; } } @@ -11053,19 +11053,19 @@ static void InvertedRCTrackFlatToLeftBanked25DegUp( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 54, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 54, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 54, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 54, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 54, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 54, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 54, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 54, session.SupportColours); break; } } @@ -11117,19 +11117,19 @@ static void InvertedRCTrackFlatToRightBanked25DegUp( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 54, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 54, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 54, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 54, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 54, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 54, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 54, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 54, session.SupportColours); break; } } @@ -11181,19 +11181,19 @@ static void InvertedRCTrackLeftBanked25DegUpToFlat( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 52, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 52, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 52, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 52, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 52, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 52, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 52, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 52, session.SupportColours); break; } } @@ -11245,19 +11245,19 @@ static void InvertedRCTrackRightBanked25DegUpToFlat( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 52, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 52, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 52, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 52, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 52, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 52, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 52, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 52, session.SupportColours); break; } } @@ -11324,7 +11324,7 @@ static void InvertedRCTrackBooster( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); diff --git a/src/openrct2/paint/track/coaster/JuniorRollerCoaster.cpp b/src/openrct2/paint/track/coaster/JuniorRollerCoaster.cpp index 89ba370790..cb771502ef 100644 --- a/src/openrct2/paint/track/coaster/JuniorRollerCoaster.cpp +++ b/src/openrct2/paint/track/coaster/JuniorRollerCoaster.cpp @@ -1870,7 +1870,7 @@ static void JuniorRCPaintTrackFlat( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height, session.SupportColours); } PaintUtilSetSegmentSupportHeight( @@ -1925,7 +1925,7 @@ static void JuniorRCPaintStation( else if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height, session.SupportColours); } PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0); @@ -1949,7 +1949,7 @@ static void JuniorRCPaintTrack25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 8, height, session.SupportColours); } PaintUtilSetSegmentSupportHeight( @@ -1982,7 +1982,7 @@ static void JuniorRCPaintTrackFlatTo25DegUp( { uint16_t ax = (direction == 0) ? 5 : 3; MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, ax, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, ax, height, session.SupportColours); } PaintUtilSetSegmentSupportHeight( @@ -2027,7 +2027,7 @@ static void JuniorRCPaintTrack25DegUpToFlat( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 6, height, session.SupportColours); } PaintUtilSetSegmentSupportHeight( @@ -2059,11 +2059,11 @@ static void JuniorRCRightQuarterTurn5TilesPaintSetup( { case 0: MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, supportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, supportHeight, session.SupportColours); break; case 6: MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, DirectionNext(direction), 0, supportHeight, + session, supportType.metal, MetalSupportPlace::centre, DirectionNext(direction), 0, supportHeight, session.SupportColours); break; } @@ -2193,7 +2193,7 @@ static void JuniorRCFlatToLeftBankPaintSetup( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height, session.SupportColours); } PaintUtilSetSegmentSupportHeight( @@ -2244,7 +2244,7 @@ static void JuniorRCFlatToRightBankPaintSetup( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height, session.SupportColours); } PaintUtilSetSegmentSupportHeight( @@ -2362,11 +2362,11 @@ static void JuniorRCBankedRightQuarterTurn5TilesPaintSetup( { case 0: MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, supportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, supportHeight, session.SupportColours); break; case 6: MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, DirectionNext(direction), 0, supportHeight, + session, supportType.metal, MetalSupportPlace::centre, DirectionNext(direction), 0, supportHeight, session.SupportColours); break; } @@ -2488,7 +2488,7 @@ static void JuniorRCLeftBankTo25DegUpPaintSetup( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 3, height, session.SupportColours); } switch (direction) @@ -2551,7 +2551,7 @@ static void JuniorRCRightBankTo25DegUpPaintSetup( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 3, height, session.SupportColours); } switch (direction) @@ -2631,7 +2631,7 @@ static void JuniorRC25DegUpToLeftBankPaintSetup( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 6, height, session.SupportColours); } PaintUtilSetSegmentSupportHeight( @@ -2695,7 +2695,7 @@ static void JuniorRC25DegUpToRightBankPaintSetup( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 6, height, session.SupportColours); } PaintUtilSetSegmentSupportHeight( @@ -2786,7 +2786,7 @@ static void JuniorRCLeftBankPaintSetup( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height, session.SupportColours); } PaintUtilSetSegmentSupportHeight( @@ -2822,12 +2822,12 @@ static void JuniorRCPaintTrackLeftQuarterTurn5Tiles25DegUp( { case 0: MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, (direction == 0 || direction == 3) ? 10 : 8, + session, supportType.metal, MetalSupportPlace::centre, direction, (direction == 0 || direction == 3) ? 10 : 8, height, session.SupportColours); break; case 6: MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, DirectionPrev(direction), supportSpecial[direction], + session, supportType.metal, MetalSupportPlace::centre, DirectionPrev(direction), supportSpecial[direction], height, session.SupportColours); break; } @@ -2921,12 +2921,12 @@ static void JuniorRCPaintTrackRightQuarterTurn5Tiles25DegUp( { case 0: MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, supportSpecial[direction], height, + session, supportType.metal, MetalSupportPlace::centre, direction, supportSpecial[direction], height, session.SupportColours); break; case 6: MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, DirectionNext(direction), 8, height, + session, supportType.metal, MetalSupportPlace::centre, DirectionNext(direction), 8, height, session.SupportColours); break; } @@ -3079,15 +3079,15 @@ static void JuniorRCSBendLeftPaintSetup( { case 0: MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height, session.SupportColours); break; case 1: MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::TopLeftSide, direction & 1, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, direction & 1, 0, height, session.SupportColours); break; case 3: MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height, session.SupportColours); break; } @@ -3172,16 +3172,16 @@ static void JuniorRCSBendRightPaintSetup( { case 0: MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height, session.SupportColours); break; case 1: MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::BottomRightSide, direction & 1, 0, height, + session, supportType.metal, MetalSupportPlace::bottomRightSide, direction & 1, 0, height, session.SupportColours); break; case 3: MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height, session.SupportColours); break; } @@ -3226,11 +3226,11 @@ static void JuniorRCRightQuarterTurn3TilesPaintSetup( { case 0: MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height, session.SupportColours); break; case 3: MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, DirectionPrev(direction), 0, height, + session, supportType.metal, MetalSupportPlace::centre, DirectionPrev(direction), 0, height, session.SupportColours); break; } @@ -3345,11 +3345,11 @@ static void JuniorRCRightQuarterTurn3TilesBankPaintSetup( { case 0: MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height, session.SupportColours); break; case 3: MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, DirectionNext(direction), 0, height, + session, supportType.metal, MetalSupportPlace::centre, DirectionNext(direction), 0, height, session.SupportColours); break; } @@ -3430,11 +3430,11 @@ static void JuniorRCPaintTrackRightQuarterTurn3Tiles25DegUp( { case 0: MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 8, height, session.SupportColours); break; case 3: MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, DirectionNext(direction), 8, height, + session, supportType.metal, MetalSupportPlace::centre, DirectionNext(direction), 8, height, session.SupportColours); break; } @@ -3514,11 +3514,11 @@ static void JuniorRCPaintTrackRightQuarterTurn3Tiles25DegDown( { case 0: MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 8, height, session.SupportColours); break; case 3: MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, DirectionNext(direction), 8, height, + session, supportType.metal, MetalSupportPlace::centre, DirectionNext(direction), 8, height, session.SupportColours); break; } @@ -3601,12 +3601,12 @@ static void JuniorRCRightHalfBankedHelixUpSmallPaintSetup( if (trackSequence == 0) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 2, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 2, height, session.SupportColours); } else if (trackSequence == 3) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, DirectionNext(direction), 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, DirectionNext(direction), 6, height, session.SupportColours); } if (direction == 0 && trackSequence == 0) @@ -3672,12 +3672,12 @@ static void JuniorRCRightHalfBankedHelixDownSmallPaintSetup( if (trackSequence == 0) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 6, height, session.SupportColours); } else if (trackSequence == 3) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, DirectionNext(direction), 2, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, DirectionNext(direction), 2, height, session.SupportColours); } if (direction == 0 && trackSequence == 0) @@ -3775,12 +3775,12 @@ static void JuniorRCRightHalfBankedHelixUpLargePaintSetup( if (trackSequence == 0) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 1, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 1, height, session.SupportColours); } else if (trackSequence == 6) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, DirectionNext(direction), 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, DirectionNext(direction), 7, height, session.SupportColours); } if (direction == 0 && trackSequence == 0) @@ -3879,12 +3879,12 @@ static void JuniorRCRightHalfBankedHelixDownLargePaintSetup( if (trackSequence == 0) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 7, height, session.SupportColours); } else if (trackSequence == 6) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, DirectionNext(direction), 1, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, DirectionNext(direction), 1, height, session.SupportColours); } if (direction == 0 && trackSequence == 0) @@ -4020,7 +4020,7 @@ static void JuniorRCBrakePaintSetup( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height, session.SupportColours); } PaintUtilSetSegmentSupportHeight( @@ -4059,7 +4059,7 @@ static void JuniorRCBlockBrakePaintSetup( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height, session.SupportColours); } PaintUtilSetSegmentSupportHeight( @@ -4084,11 +4084,11 @@ static void JuniorRCLeftEighthToDiagPaintSetup( { case 0: MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height, session.SupportColours); break; case 4: MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, DirectionPrev(direction), 0, height, + session, supportType.metal, MetalSupportPlace::leftCorner, DirectionPrev(direction), 0, height, session.SupportColours); break; } @@ -4147,11 +4147,11 @@ static void JuniorRCRightEighthToDiagPaintSetup( { case 0: MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height, session.SupportColours); break; case 4: MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::BottomCorner, DirectionNext(direction), 0, height, + session, supportType.metal, MetalSupportPlace::bottomCorner, DirectionNext(direction), 0, height, session.SupportColours); break; } @@ -4308,11 +4308,11 @@ static void JuniorRCLeftEighthToDiagBankPaintSetup( { case 0: MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height, session.SupportColours); break; case 4: MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::BottomCorner, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, direction, 0, height, session.SupportColours); break; } @@ -4451,11 +4451,11 @@ static void JuniorRCRightEighthToDiagBankPaintSetup( { case 0: MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height, session.SupportColours); break; case 4: MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 0, height, session.SupportColours); break; } @@ -4539,7 +4539,7 @@ static void JuniorRCTrackDiagBrakes( if (trackSequence == 3) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 0, height, session.SupportColours); } int32_t blockedSegments = BlockedSegments::kDiagStraightFlat[trackSequence]; @@ -4558,7 +4558,7 @@ static void JuniorRCTrackDiagBlockBrakes( if (trackSequence == 3) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 0, height, session.SupportColours); } int32_t blockedSegments = BlockedSegments::kDiagStraightFlat[trackSequence]; @@ -4579,7 +4579,7 @@ static void JuniorRCPaintTrackDiag25DegUp( if (trackSequence == 3) { MetalBSupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 8, height, session.SupportColours); } int32_t blockedSegments = BlockedSegments::kDiagStraightFlat[trackSequence]; @@ -4600,7 +4600,7 @@ static void JuniorRCPaintTrackDiagFlatTo25DegUp( if (trackSequence == 3) { MetalBSupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 0, height, session.SupportColours); } int32_t blockedSegments = BlockedSegments::kDiagStraightFlat[trackSequence]; @@ -4622,7 +4622,7 @@ static void JuniorRCPaintTrackDiagFlatTo60DegUp( if (trackSequence == 3) { MetalBSupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 0, height + 6, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 0, height + 6, session.SupportColours); } int32_t blockedSegments = BlockedSegments::kDiagStraightFlat[trackSequence]; @@ -4643,7 +4643,7 @@ static void JuniorRCPaintTrackDiag25DegUpToFlat( if (trackSequence == 3) { MetalBSupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 4, height, session.SupportColours); } int32_t blockedSegments = BlockedSegments::kDiagStraightFlat[trackSequence]; @@ -4665,7 +4665,7 @@ static void JuniorRCPaintTrackDiag60DegUpToFlat( if (trackSequence == 3) { MetalBSupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 4, height + 13, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 4, height + 13, session.SupportColours); } int32_t blockedSegments = BlockedSegments::kDiagStraightFlat[trackSequence]; @@ -4686,7 +4686,7 @@ static void JuniorRCPaintTrackDiag25DegDown( if (trackSequence == 3) { MetalBSupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 8, height, session.SupportColours); } int32_t blockedSegments = BlockedSegments::kDiagStraightFlat[trackSequence]; @@ -4707,7 +4707,7 @@ static void JuniorRCPaintTrackDiagFlatTo25DegDown( if (trackSequence == 3) { MetalBSupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 4, height, session.SupportColours); } int32_t blockedSegments = BlockedSegments::kDiagStraightFlat[trackSequence]; @@ -4729,7 +4729,7 @@ static void JuniorRCPaintTrackDiagFlatTo60DegDown( if (trackSequence == 3) { MetalBSupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 4, height + 7, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 4, height + 7, session.SupportColours); } int32_t blockedSegments = BlockedSegments::kDiagStraightFlat[trackSequence]; @@ -4750,7 +4750,7 @@ static void JuniorRCPaintTrackDiag25DegDownToFlat( if (trackSequence == 3) { MetalBSupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 0, height, session.SupportColours); } int32_t blockedSegments = BlockedSegments::kDiagStraightFlat[trackSequence]; @@ -4772,7 +4772,7 @@ static void JuniorRCPaintTrackDiag60DegDownToFlat( if (trackSequence == 3) { MetalBSupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 0, height, session.SupportColours); } int32_t blockedSegments = BlockedSegments::kDiagStraightFlat[trackSequence]; @@ -4798,7 +4798,7 @@ static void JuniorRCDiagFlatToLeftBankPaintSetup( if (trackSequence == 3) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 0, height, session.SupportColours); } int32_t blockedSegments = BlockedSegments::kDiagStraightFlat[trackSequence]; @@ -4824,7 +4824,7 @@ static void JuniorRCDiagFlatToRightBankPaintSetup( if (trackSequence == 3) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 0, height, session.SupportColours); } int32_t blockedSegments = BlockedSegments::kDiagStraightFlat[trackSequence]; @@ -4850,7 +4850,7 @@ static void JuniorRCDiagLeftBankToFlatPaintSetup( if (trackSequence == 3) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 0, height, session.SupportColours); } int32_t blockedSegments = BlockedSegments::kDiagStraightFlat[trackSequence]; @@ -4876,7 +4876,7 @@ static void JuniorRCDiagRightBankToFlatPaintSetup( if (trackSequence == 3) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 0, height, session.SupportColours); } int32_t blockedSegments = BlockedSegments::kDiagStraightFlat[trackSequence]; @@ -4902,7 +4902,7 @@ static void JuniorRCDiagLeftBankTo25DegUpPaintSetup( if (trackSequence == 3) { MetalBSupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 0, height, session.SupportColours); } int32_t blockedSegments = BlockedSegments::kDiagStraightFlat[trackSequence]; @@ -4928,7 +4928,7 @@ static void JuniorRCDiagRightBankTo25DegUpPaintSetup( if (trackSequence == 3) { MetalBSupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 0, height, session.SupportColours); } int32_t blockedSegments = BlockedSegments::kDiagStraightFlat[trackSequence]; @@ -4954,7 +4954,7 @@ static void JuniorRCDiag25DegUpToLeftBankPaintSetup( if (trackSequence == 3) { MetalBSupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 4, height, session.SupportColours); } int32_t blockedSegments = BlockedSegments::kDiagStraightFlat[trackSequence]; @@ -4980,7 +4980,7 @@ static void JuniorRCDiag25DegUpToRightBankPaintSetup( if (trackSequence == 3) { MetalBSupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 4, height, session.SupportColours); } int32_t blockedSegments = BlockedSegments::kDiagStraightFlat[trackSequence]; @@ -5006,7 +5006,7 @@ static void JuniorRCDiagLeftBankTo25DegDownPaintSetup( if (trackSequence == 3) { MetalBSupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 4, height, session.SupportColours); } int32_t blockedSegments = BlockedSegments::kDiagStraightFlat[trackSequence]; @@ -5032,7 +5032,7 @@ static void JuniorRCDiagRightBankTo25DegDownPaintSetup( if (trackSequence == 3) { MetalBSupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 4, height, session.SupportColours); } int32_t blockedSegments = BlockedSegments::kDiagStraightFlat[trackSequence]; @@ -5058,7 +5058,7 @@ static void JuniorRCDiag25DegDownToLeftBankPaintSetup( if (trackSequence == 3) { MetalBSupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 0, height, session.SupportColours); } int32_t blockedSegments = BlockedSegments::kDiagStraightFlat[trackSequence]; @@ -5084,7 +5084,7 @@ static void JuniorRCDiag25DegDownToRightBankPaintSetup( if (trackSequence == 3) { MetalBSupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 0, height, session.SupportColours); } int32_t blockedSegments = BlockedSegments::kDiagStraightFlat[trackSequence]; @@ -5119,7 +5119,7 @@ static void JuniorRCDiagLeftBankPaintSetup( if (trackSequence == 3) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 0, height, session.SupportColours); } int32_t blockedSegments = BlockedSegments::kDiagStraightFlat[trackSequence]; @@ -5140,7 +5140,7 @@ static void JuniorRCDiagRightBankPaintSetup( if (trackSequence == 3) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 0, height, session.SupportColours); } int32_t blockedSegments = BlockedSegments::kDiagStraightFlat[trackSequence]; @@ -5210,7 +5210,7 @@ static void JuniorRCPaintTrack60DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, support[direction & 3], height, + session, supportType.metal, MetalSupportPlace::centre, direction, support[direction & 3], height, session.SupportColours); } @@ -5296,7 +5296,7 @@ static void JuniorRCPaintTrack25DegUpTo60DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, support[direction & 3], height, + session, supportType.metal, MetalSupportPlace::centre, direction, support[direction & 3], height, session.SupportColours); } @@ -5360,7 +5360,7 @@ static void JuniorRCPaintTrack60DegUpTo25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 20, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 20, height, session.SupportColours); } PaintUtilSetSegmentSupportHeight( @@ -5392,7 +5392,7 @@ static void JuniorRCPaintTrackDiag60DegUp( if (trackSequence == 3) { MetalBSupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 36, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 36, height, session.SupportColours); } int32_t blockedSegments = BlockedSegments::kDiagStraightFlat[trackSequence]; @@ -5414,7 +5414,7 @@ static void JuniorRCPaintTrackDiag60DegDown( if (trackSequence == 3) { MetalBSupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 28, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 28, height, session.SupportColours); } int32_t blockedSegments = BlockedSegments::kDiagStraightFlat[trackSequence]; @@ -5436,7 +5436,7 @@ static void JuniorRCPaintTrackDiag25DegUpTo60DegUp( if (trackSequence == 3) { MetalBSupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 16, height, session.SupportColours); } int32_t blockedSegments = BlockedSegments::kDiagStraightFlat[trackSequence]; @@ -5468,7 +5468,7 @@ static void JuniorRCPaintTrackDiag60DegUpTo25DegUp( if (trackSequence == 3) { MetalBSupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 21, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 21, height, session.SupportColours); } int32_t blockedSegments = BlockedSegments::kDiagStraightFlat[trackSequence]; @@ -5500,7 +5500,7 @@ static void JuniorRCPaintTrackDiag25DegDownTo60DegDown( if (trackSequence == 3) { MetalBSupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 17, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 17, height, session.SupportColours); } int32_t blockedSegments = BlockedSegments::kDiagStraightFlat[trackSequence]; @@ -5522,7 +5522,7 @@ static void JuniorRCPaintTrackDiag60DegDownTo25DegDown( if (trackSequence == 3) { MetalBSupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 8, height, session.SupportColours); } int32_t blockedSegments = BlockedSegments::kDiagStraightFlat[trackSequence]; @@ -5609,7 +5609,7 @@ static void JuniorRCFlatTo60DegUpPaintSetup( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, support[direction], height - 7, + session, supportType.metal, MetalSupportPlace::centre, direction, support[direction], height - 7, session.SupportColours); } @@ -5671,7 +5671,7 @@ static void JuniorRC60DegUpToFlatPaintSetup( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 20, height - 5, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 20, height - 5, session.SupportColours); } PaintUtilSetSegmentSupportHeight( @@ -5742,7 +5742,7 @@ static void JuniorRCBoosterPaintSetup( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height, session.SupportColours); } PaintUtilSetSegmentSupportHeight( diff --git a/src/openrct2/paint/track/coaster/LatticeTriangleTrack.cpp b/src/openrct2/paint/track/coaster/LatticeTriangleTrack.cpp index 79d94946e9..b01f16286f 100644 --- a/src/openrct2/paint/track/coaster/LatticeTriangleTrack.cpp +++ b/src/openrct2/paint/track/coaster/LatticeTriangleTrack.cpp @@ -112,7 +112,7 @@ static void LatticeTriangleTrackFlat( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); } } else if (trackElement.HasChain()) @@ -142,7 +142,7 @@ static void LatticeTriangleTrackFlat( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); } } else @@ -164,7 +164,7 @@ static void LatticeTriangleTrackFlat( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); } } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -203,7 +203,7 @@ static void LatticeTriangleTrackStation( else if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height, session.SupportColours); } TrackPaintUtilDrawStationTunnel(session, direction, height); PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0); @@ -242,7 +242,7 @@ static void LatticeTriangleTrack25DegUp( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); } } else if (trackElement.HasChain()) @@ -272,7 +272,7 @@ static void LatticeTriangleTrack25DegUp( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); } } else @@ -302,7 +302,7 @@ static void LatticeTriangleTrack25DegUp( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); } } if (direction == 0 || direction == 3) @@ -349,7 +349,7 @@ static void LatticeTriangleTrack60DegUp( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 32, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 32, height, session.SupportColours); } } else @@ -379,7 +379,7 @@ static void LatticeTriangleTrack60DegUp( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 32, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 32, height, session.SupportColours); } } if (direction == 0 || direction == 3) @@ -426,7 +426,7 @@ static void LatticeTriangleTrackFlatTo25DegUp( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); } } else if (trackElement.HasChain()) @@ -456,7 +456,7 @@ static void LatticeTriangleTrackFlatTo25DegUp( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); } } else @@ -486,7 +486,7 @@ static void LatticeTriangleTrackFlatTo25DegUp( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); } } if (direction == 0 || direction == 3) @@ -539,7 +539,7 @@ static void LatticeTriangleTrack25DegUpTo60DegUp( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 12, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 12, height, session.SupportColours); } } else @@ -575,7 +575,7 @@ static void LatticeTriangleTrack25DegUpTo60DegUp( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 12, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 12, height, session.SupportColours); } } if (direction == 0 || direction == 3) @@ -628,7 +628,7 @@ static void LatticeTriangleTrack60DegUpTo25DegUp( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 20, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 20, height, session.SupportColours); } } else @@ -664,7 +664,7 @@ static void LatticeTriangleTrack60DegUpTo25DegUp( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 20, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 20, height, session.SupportColours); } } if (direction == 0 || direction == 3) @@ -711,7 +711,7 @@ static void LatticeTriangleTrack25DegUpToFlat( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); } } else if (trackElement.HasChain()) @@ -741,7 +741,7 @@ static void LatticeTriangleTrack25DegUpToFlat( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); } } else @@ -771,7 +771,7 @@ static void LatticeTriangleTrack25DegUpToFlat( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); } } if (direction == 0 || direction == 3) @@ -865,7 +865,7 @@ static void LatticeTriangleTrackLeftQuarterTurn5( { { 0, 6, height }, { 32, 20, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -1008,7 +1008,7 @@ static void LatticeTriangleTrackLeftQuarterTurn5( { { 6, 0, height }, { 20, 32, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); switch (direction) { case 2: @@ -1074,7 +1074,7 @@ static void LatticeTriangleTrackFlatToLeftBank( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); @@ -1117,7 +1117,7 @@ static void LatticeTriangleTrackFlatToRightBank( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); @@ -1160,7 +1160,7 @@ static void LatticeTriangleTrackLeftBankToFlat( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); @@ -1203,7 +1203,7 @@ static void LatticeTriangleTrackRightBankToFlat( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); @@ -1244,7 +1244,7 @@ static void LatticeTriangleTrackBankedLeftQuarterTurn5( { { 0, 6, height }, { 32, 20, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -1390,7 +1390,7 @@ static void LatticeTriangleTrackBankedLeftQuarterTurn5( { { 6, 0, height }, { 20, 32, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); switch (direction) { case 2: @@ -1457,7 +1457,7 @@ static void LatticeTriangleTrackLeftBankTo25DegUp( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -1507,7 +1507,7 @@ static void LatticeTriangleTrackRightBankTo25DegUp( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -1557,7 +1557,7 @@ static void LatticeTriangleTrack25DegUpToLeftBank( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -1607,7 +1607,7 @@ static void LatticeTriangleTrack25DegUpToRightBank( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -1685,7 +1685,7 @@ static void LatticeTriangleTrackLeftBank( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); @@ -1731,7 +1731,7 @@ static void LatticeTriangleTrackLeftQuarterTurn525DegUp( { { 0, 6, height }, { 32, 20, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -1869,7 +1869,7 @@ static void LatticeTriangleTrackLeftQuarterTurn525DegUp( { { 6, 0, height }, { 20, 32, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); switch (direction) { case 2: @@ -1921,7 +1921,7 @@ static void LatticeTriangleTrackRightQuarterTurn525DegUp( { { 0, 6, height }, { 32, 20, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -2059,7 +2059,7 @@ static void LatticeTriangleTrackRightQuarterTurn525DegUp( { { 6, 0, height }, { 20, 32, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); switch (direction) { case 0: @@ -2234,7 +2234,7 @@ static void LatticeTriangleTrackSBendLeft( { { 0, 6, height }, { 32, 20, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); switch (direction) { case 1: @@ -2441,7 +2441,7 @@ static void LatticeTriangleTrackLeftQuarterTurn3( { { 0, 6, height }, { 32, 20, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -2513,7 +2513,7 @@ static void LatticeTriangleTrackLeftQuarterTurn3( { { 6, 0, height }, { 20, 32, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); switch (direction) { case 2: @@ -2577,7 +2577,7 @@ static void LatticeTriangleTrackLeftQuarterTurn3Bank( { { 0, 6, height }, { 32, 20, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -2652,7 +2652,7 @@ static void LatticeTriangleTrackLeftQuarterTurn3Bank( { { 6, 0, height }, { 20, 32, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); switch (direction) { case 2: @@ -2710,7 +2710,7 @@ static void LatticeTriangleTrackLeftQuarterTurn325DegUp( session, direction, session.TrackColours.WithIndex(18303), { 0, 6, height }, { 32, 20, 3 }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -2749,7 +2749,7 @@ static void LatticeTriangleTrackLeftQuarterTurn325DegUp( session, direction, session.TrackColours.WithIndex(18302), { 6, 0, height }, { 20, 32, 3 }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); switch (direction) { case 2: @@ -2797,7 +2797,7 @@ static void LatticeTriangleTrackRightQuarterTurn325DegUp( session, direction, session.TrackColours.WithIndex(18300), { 0, 6, height }, { 32, 20, 3 }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -2823,25 +2823,25 @@ static void LatticeTriangleTrackRightQuarterTurn325DegUp( PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(18295), { 6, 0, height }, { 20, 32, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(18297), { 6, 0, height }, { 20, 32, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(18299), { 6, 0, height }, { 20, 32, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 10, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 10, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(18301), { 6, 0, height }, { 20, 32, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; } switch (direction) @@ -2918,7 +2918,7 @@ static void LatticeTriangleTrackLeftHalfBankedHelixUpSmall( { { 0, 6, height }, { 32, 20, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 2, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 2, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -2995,7 +2995,7 @@ static void LatticeTriangleTrackLeftHalfBankedHelixUpSmall( { { 6, 0, height + 8 }, { 20, 32, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); switch (direction) { case 2: @@ -3042,7 +3042,7 @@ static void LatticeTriangleTrackLeftHalfBankedHelixUpSmall( { { 6, 0, height }, { 20, 32, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 2, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 2, height, session.SupportColours); switch (direction) { case 0: @@ -3125,7 +3125,7 @@ static void LatticeTriangleTrackLeftHalfBankedHelixUpSmall( { { 0, 27, height }, { 32, 1, 26 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height + 8, kTunnelGroup, TunnelSubType::Flat); @@ -3177,7 +3177,7 @@ static void LatticeTriangleTrackRightHalfBankedHelixUpSmall( { { 0, 27, height }, { 32, 1, 26 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 2, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 2, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -3255,7 +3255,7 @@ static void LatticeTriangleTrackRightHalfBankedHelixUpSmall( { { 6, 0, height }, { 20, 32, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); switch (direction) { case 0: @@ -3302,7 +3302,7 @@ static void LatticeTriangleTrackRightHalfBankedHelixUpSmall( { { 6, 0, height }, { 20, 32, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 2, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 2, height, session.SupportColours); switch (direction) { case 2: @@ -3384,7 +3384,7 @@ static void LatticeTriangleTrackRightHalfBankedHelixUpSmall( { { 0, 6, height + 8 }, { 32, 20, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height + 8, kTunnelGroup, TunnelSubType::Flat); @@ -3466,7 +3466,7 @@ static void LatticeTriangleTrackLeftHalfBankedHelixUpLarge( { { 0, 6, height }, { 32, 20, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 1, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 1, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -3614,7 +3614,7 @@ static void LatticeTriangleTrackLeftHalfBankedHelixUpLarge( { { 6, 0, height + 8 }, { 20, 32, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 7, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 7, height, session.SupportColours); switch (direction) { case 2: @@ -3661,7 +3661,7 @@ static void LatticeTriangleTrackLeftHalfBankedHelixUpLarge( { { 6, 0, height }, { 20, 32, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 1, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 1, height, session.SupportColours); switch (direction) { case 0: @@ -3814,7 +3814,7 @@ static void LatticeTriangleTrackLeftHalfBankedHelixUpLarge( { { 0, 27, height }, { 32, 1, 26 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 7, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 7, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height + 8, kTunnelGroup, TunnelSubType::Flat); @@ -3866,7 +3866,7 @@ static void LatticeTriangleTrackRightHalfBankedHelixUpLarge( { { 0, 27, height }, { 32, 1, 26 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 1, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 1, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -3995,7 +3995,7 @@ static void LatticeTriangleTrackRightHalfBankedHelixUpLarge( session, direction, session.TrackColours.WithIndex(18342), { 0, 0, height }, { { 6, 0, height + 8 }, { 20, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 7, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -4005,21 +4005,21 @@ static void LatticeTriangleTrackRightHalfBankedHelixUpLarge( session, direction, session.TrackColours.WithIndex(18358), { 0, 0, height }, { { 27, 0, height }, { 1, 32, 26 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(18352), { 0, 0, height }, { { 27, 0, height }, { 1, 32, 26 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 7, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(18357), { 0, 0, height }, { { 6, 0, height }, { 20, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 7, height, session.SupportColours); break; } switch (direction) @@ -4068,7 +4068,7 @@ static void LatticeTriangleTrackRightHalfBankedHelixUpLarge( { { 6, 0, height }, { 20, 32, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 1, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 1, height, session.SupportColours); switch (direction) { case 2: @@ -4205,28 +4205,28 @@ static void LatticeTriangleTrackRightHalfBankedHelixUpLarge( session, direction, session.TrackColours.WithIndex(18358), { 0, 0, height }, { { 0, 27, height }, { 32, 1, 26 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(18352), { 0, 0, height }, { { 0, 27, height }, { 32, 1, 26 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 7, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(18357), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 7, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(18342), { 0, 0, height }, { { 0, 6, height + 8 }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 7, height, session.SupportColours); break; } if (direction == 0 || direction == 3) @@ -4414,7 +4414,7 @@ static void LatticeTriangleTrackBrakes( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); @@ -4451,7 +4451,7 @@ static void LatticeTriangleTrack25DegUpLeftBanked( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -4495,7 +4495,7 @@ static void LatticeTriangleTrack25DegUpRightBanked( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -4595,7 +4595,7 @@ static void LatticeTriangleTrackFlatTo60DegUpLongBase( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); } } else @@ -4626,7 +4626,7 @@ static void LatticeTriangleTrackFlatTo60DegUpLongBase( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); } } if (direction == 0 || direction == 3) @@ -4666,7 +4666,7 @@ static void LatticeTriangleTrackFlatTo60DegUpLongBase( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 5, height, session.SupportColours); } } else @@ -4697,7 +4697,7 @@ static void LatticeTriangleTrackFlatTo60DegUpLongBase( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 5, height, session.SupportColours); } } PaintUtilSetSegmentSupportHeight( @@ -4733,7 +4733,7 @@ static void LatticeTriangleTrackFlatTo60DegUpLongBase( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 7, height, session.SupportColours); } } else @@ -4764,7 +4764,7 @@ static void LatticeTriangleTrackFlatTo60DegUpLongBase( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 7, height, session.SupportColours); } } PaintUtilSetSegmentSupportHeight( @@ -4800,7 +4800,7 @@ static void LatticeTriangleTrackFlatTo60DegUpLongBase( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 12, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 12, height, session.SupportColours); } } else @@ -4831,7 +4831,7 @@ static void LatticeTriangleTrackFlatTo60DegUpLongBase( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 12, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 12, height, session.SupportColours); } } switch (direction) @@ -4884,7 +4884,7 @@ static void LatticeTriangleTrack60DegUpToFlatLongBase( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 16, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -4921,7 +4921,7 @@ static void LatticeTriangleTrack60DegUpToFlatLongBase( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 12, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 12, height, session.SupportColours); } PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); @@ -4954,7 +4954,7 @@ static void LatticeTriangleTrack60DegUpToFlatLongBase( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 9, height, session.SupportColours); } PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); @@ -4987,7 +4987,7 @@ static void LatticeTriangleTrack60DegUpToFlatLongBase( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 5, height, session.SupportColours); } switch (direction) { @@ -5057,7 +5057,7 @@ static void LatticeTriangleTrackCableLiftHill( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -5098,7 +5098,7 @@ static void LatticeTriangleTrackCableLiftHill( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -5145,7 +5145,7 @@ static void LatticeTriangleTrackCableLiftHill( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 20, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 20, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -5186,7 +5186,7 @@ static void LatticeTriangleTrackCableLiftHill( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 32, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 32, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -5234,7 +5234,7 @@ static void LatticeTriangleTrackLeftEighthToDiag( { { 0, 6, height }, { 32, 20, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -5328,28 +5328,28 @@ static void LatticeTriangleTrackLeftEighthToDiag( session, direction, session.TrackColours.WithIndex(18417), { 0, 0, height }, { { 16, 16, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(18421), { 0, 0, height }, { { 0, 16, height }, { 16, 18, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(18425), { 0, 0, height }, { { 0, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(18429), { 0, 0, height }, { { 16, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -5396,7 +5396,7 @@ static void LatticeTriangleTrackRightEighthToDiag( { { 0, 6, height }, { 32, 20, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -5491,28 +5491,28 @@ static void LatticeTriangleTrackRightEighthToDiag( session, direction, session.TrackColours.WithIndex(18401), { 0, 0, height }, { { 16, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(18405), { 0, 0, height }, { { 0, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(18409), { 0, 0, height }, { { 0, 16, height }, { 16, 18, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(18413), { 0, 0, height }, { { 16, 16, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -5577,7 +5577,7 @@ static void LatticeTriangleTrackLeftEighthBankToDiag( { { 0, 6, height }, { 32, 20, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -5671,28 +5671,28 @@ static void LatticeTriangleTrackLeftEighthBankToDiag( session, direction, session.TrackColours.WithIndex(18449), { 0, 0, height }, { { 16, 16, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(18453), { 0, 0, height }, { { 0, 16, height + 27 }, { 16, 18, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(18457), { 0, 0, height }, { { 0, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(18461), { 0, 0, height }, { { 16, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -5739,7 +5739,7 @@ static void LatticeTriangleTrackRightEighthBankToDiag( { { 0, 27, height }, { 32, 1, 26 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -5834,28 +5834,28 @@ static void LatticeTriangleTrackRightEighthBankToDiag( session, direction, session.TrackColours.WithIndex(18433), { 0, 0, height }, { { 16, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(18437), { 0, 0, height }, { { 0, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(18441), { 0, 0, height }, { { 0, 16, height + 27 }, { 16, 18, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(18445), { 0, 0, height }, { { 16, 16, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -6013,22 +6013,22 @@ static void LatticeTriangleTrackDiag25DegUp( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 8, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(18537), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 8, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 8, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 8, height, session.SupportColours); break; } } @@ -6038,22 +6038,22 @@ static void LatticeTriangleTrackDiag25DegUp( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 8, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(18475), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 8, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 8, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 8, height, session.SupportColours); break; } } @@ -6132,22 +6132,22 @@ static void LatticeTriangleTrackDiag60DegUp( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 32, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 32, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(18487), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 36, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 36, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 32, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 32, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 36, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 36, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -6269,22 +6269,22 @@ static void LatticeTriangleTrackDiagFlatTo25DegUp( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(18529), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } } @@ -6294,22 +6294,22 @@ static void LatticeTriangleTrackDiagFlatTo25DegUp( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(18467), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } } @@ -6388,22 +6388,22 @@ static void LatticeTriangleTrackDiag25DegUpTo60DegUp( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 16, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(18479), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 16, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 16, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 16, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -6481,22 +6481,22 @@ static void LatticeTriangleTrackDiag60DegUpTo25DegUp( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 21, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 21, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(18483), { -16, -16, height }, { { 0, 0, height }, { 16, 16, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 21, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 21, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 21, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 21, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 21, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 21, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -6618,22 +6618,22 @@ static void LatticeTriangleTrackDiag25DegUpToFlat( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 4, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(18533), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 4, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 4, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 4, height, session.SupportColours); break; } } @@ -6643,22 +6643,22 @@ static void LatticeTriangleTrackDiag25DegUpToFlat( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 4, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(18471), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 4, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 4, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 4, height, session.SupportColours); break; } } @@ -6781,22 +6781,22 @@ static void LatticeTriangleTrackDiag25DegDown( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 8, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(18539), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 8, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 8, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 8, height, session.SupportColours); break; } } @@ -6806,22 +6806,22 @@ static void LatticeTriangleTrackDiag25DegDown( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 8, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(18477), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 8, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 8, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 8, height, session.SupportColours); break; } } @@ -6900,22 +6900,22 @@ static void LatticeTriangleTrackDiag60DegDown( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 24, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 24, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(18489), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 28, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 28, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 24, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 24, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 28, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 28, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -7034,22 +7034,22 @@ static void LatticeTriangleTrackDiagFlatTo25DegDown( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 4, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(18535), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 4, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 4, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 4, height, session.SupportColours); break; } } @@ -7059,22 +7059,22 @@ static void LatticeTriangleTrackDiagFlatTo25DegDown( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 4, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(18473), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 4, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 4, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 4, height, session.SupportColours); break; } } @@ -7154,22 +7154,22 @@ static void LatticeTriangleTrackDiag25DegDownTo60DegDown( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 17, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 17, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(18485), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 17, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 17, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 17, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 17, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 17, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 17, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -7247,22 +7247,22 @@ static void LatticeTriangleTrackDiag60DegDownTo25DegDown( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 8, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(18481), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 8, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 8, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 8, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -7384,22 +7384,22 @@ static void LatticeTriangleTrackDiag25DegDownToFlat( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(18531), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } } @@ -7409,22 +7409,22 @@ static void LatticeTriangleTrackDiag25DegDownToFlat( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(18469), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } } @@ -7506,22 +7506,22 @@ static void LatticeTriangleTrackDiagFlatToLeftBank( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(18495), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -7602,22 +7602,22 @@ static void LatticeTriangleTrackDiagFlatToRightBank( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(18500), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -7698,22 +7698,22 @@ static void LatticeTriangleTrackDiagLeftBankToFlat( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(18502), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -7794,22 +7794,22 @@ static void LatticeTriangleTrackDiagRightBankToFlat( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(18497), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -7890,22 +7890,22 @@ static void LatticeTriangleTrackDiagLeftBankTo25DegUp( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(18515), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -7986,22 +7986,22 @@ static void LatticeTriangleTrackDiagRightBankTo25DegUp( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(18520), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -8082,22 +8082,22 @@ static void LatticeTriangleTrackDiag25DegUpToLeftBank( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 4, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(18505), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 4, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 4, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 4, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -8178,22 +8178,22 @@ static void LatticeTriangleTrackDiag25DegUpToRightBank( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 4, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(18510), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 4, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 4, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 4, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -8271,22 +8271,22 @@ static void LatticeTriangleTrackDiagLeftBankTo25DegDown( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 4, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(18512), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 4, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 4, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 4, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -8365,22 +8365,22 @@ static void LatticeTriangleTrackDiagRightBankTo25DegDown( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 4, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(18507), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 4, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 4, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 4, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -8462,22 +8462,22 @@ static void LatticeTriangleTrackDiag25DegDownToLeftBank( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(18522), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -8558,22 +8558,22 @@ static void LatticeTriangleTrackDiag25DegDownToRightBank( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(18517), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -8651,22 +8651,22 @@ static void LatticeTriangleTrackDiagLeftBank( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(18491), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -8744,22 +8744,22 @@ static void LatticeTriangleTrackDiagRightBank( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(18493), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -8788,7 +8788,7 @@ static void LatticeTriangleTrackBlockBrakes( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); @@ -8823,7 +8823,7 @@ static void LatticeTriangleTrackLeftBankedQuarterTurn325DegUp( session, direction, session.TrackColours.WithIndex(18653), { 0, 6, height }, { 32, 20, 3 }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -8864,7 +8864,7 @@ static void LatticeTriangleTrackLeftBankedQuarterTurn325DegUp( session, direction, session.TrackColours.WithIndex(18652), { 6, 0, height }, { 20, 32, 3 }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); switch (direction) { case 2: @@ -8913,7 +8913,7 @@ static void LatticeTriangleTrackRightBankedQuarterTurn325DegUp( session, direction, session.TrackColours.WithIndex(18650), { 0, 6, height }, { 32, 20, 3 }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -8939,27 +8939,27 @@ static void LatticeTriangleTrackRightBankedQuarterTurn325DegUp( PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(18645), { 6, 0, height }, { 20, 32, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(18647), { 6, 0, height }, { { 27, 0, height }, { 1, 32, 34 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(18649), { 6, 0, height }, { { 27, 0, height }, { 1, 32, 34 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 10, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 10, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(18651), { 6, 0, height }, { 20, 32, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; } switch (direction) @@ -9033,7 +9033,7 @@ static void LatticeTriangleTrackLeftBankedQuarterTurn525DegUp( { { 0, 6, height }, { 32, 20, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -9174,7 +9174,7 @@ static void LatticeTriangleTrackLeftBankedQuarterTurn525DegUp( { { 6, 0, height }, { 20, 32, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); switch (direction) { case 2: @@ -9226,7 +9226,7 @@ static void LatticeTriangleTrackRightBankedQuarterTurn525DegUp( { { 0, 6, height }, { 32, 20, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -9367,7 +9367,7 @@ static void LatticeTriangleTrackRightBankedQuarterTurn525DegUp( { { 6, 0, height }, { 20, 32, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); switch (direction) { case 0: @@ -9441,7 +9441,7 @@ static void LatticeTriangleTrack25DegUpToLeftBanked25DegUp( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -9488,7 +9488,7 @@ static void LatticeTriangleTrack25DegUpToRightBanked25DegUp( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -9535,7 +9535,7 @@ static void LatticeTriangleTrackLeftBanked25DegUpTo25DegUp( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -9582,7 +9582,7 @@ static void LatticeTriangleTrackRightBanked25DegUpTo25DegUp( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -9662,7 +9662,7 @@ static void LatticeTriangleTrackLeftBankedFlatToLeftBanked25DegUp( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -9706,7 +9706,7 @@ static void LatticeTriangleTrackRightBankedFlatToRightBanked25DegUp( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -9750,7 +9750,7 @@ static void LatticeTriangleTrackLeftBanked25DegUpToLeftBankedFlat( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -9794,7 +9794,7 @@ static void LatticeTriangleTrackRightBanked25DegUpToRightBankedFlat( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -9877,7 +9877,7 @@ static void LatticeTriangleTrackFlatToLeftBanked25DegUp( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -9924,7 +9924,7 @@ static void LatticeTriangleTrackFlatToRightBanked25DegUp( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -9971,7 +9971,7 @@ static void LatticeTriangleTrackLeftBanked25DegUpToFlat( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -10018,7 +10018,7 @@ static void LatticeTriangleTrackRightBanked25DegUpToFlat( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -10089,7 +10089,7 @@ static void LatticeTriangleTrackBooster( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); @@ -10106,7 +10106,7 @@ static void LatticeTriangleTrackPoweredLift( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -10200,7 +10200,7 @@ static void LatticeTriangleTrack60DegUpTo90DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 36, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 36, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -10443,7 +10443,7 @@ static void LatticeTriangleTrackLeftBarrelRollUpToDown( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_BARREL_ROLL + 1)), { 0, 0, height }, { { 0, 6, height + 28 }, { 32, 20, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 4, height - 2, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 4, height - 2, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -10453,7 +10453,7 @@ static void LatticeTriangleTrackLeftBarrelRollUpToDown( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_BARREL_ROLL + 7)), { 0, 0, height }, { { 0, 6, height + 28 }, { 32, 20, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 4, height - 2, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 4, height - 2, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -10465,7 +10465,7 @@ static void LatticeTriangleTrackLeftBarrelRollUpToDown( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_BARREL_ROLL + 13)), { 0, 0, height }, { { 0, 6, height + 28 }, { 32, 20, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 1, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 1, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -10477,7 +10477,7 @@ static void LatticeTriangleTrackLeftBarrelRollUpToDown( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_BARREL_ROLL + 19)), { 0, 0, height }, { { 0, 6, height + 28 }, { 32, 20, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 1, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 1, session.SupportColours); break; } if (direction == 0 || direction == 3) @@ -10627,7 +10627,7 @@ static void LatticeTriangleTrackRightBarrelRollUpToDown( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_BARREL_ROLL + 25)), { 0, 0, height }, { { 0, 6, height + 28 }, { 32, 20, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 1, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 1, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -10639,7 +10639,7 @@ static void LatticeTriangleTrackRightBarrelRollUpToDown( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_BARREL_ROLL + 31)), { 0, 0, height }, { { 0, 6, height + 28 }, { 32, 20, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 1, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 1, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -10651,7 +10651,7 @@ static void LatticeTriangleTrackRightBarrelRollUpToDown( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_BARREL_ROLL + 37)), { 0, 0, height }, { { 0, 6, height + 28 }, { 32, 20, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 4, height - 2, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 4, height - 2, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -10663,7 +10663,7 @@ static void LatticeTriangleTrackRightBarrelRollUpToDown( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_BARREL_ROLL + 43)), { 0, 0, height }, { { 0, 6, height + 28 }, { 32, 20, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 4, height - 2, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 4, height - 2, session.SupportColours); break; } if (direction == 0 || direction == 3) @@ -10846,7 +10846,7 @@ static void LatticeTriangleTrackHalfLoopUp( { 0, 6, height }, { 32, 20, 7 }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -10863,28 +10863,28 @@ static void LatticeTriangleTrackHalfLoopUp( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_HALF_LOOP + 1)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 20, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 20, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_HALF_LOOP + 5)), { 0, 14, height }, { { 28, 6, height }, { 3, 20, 63 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 15, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 15, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_HALF_LOOP + 9)), { 0, 6, height }, { { 28, 6, height }, { 3, 20, 63 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 16, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_HALF_LOOP + 13)), { 0, 6, height }, { 32, 20, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 16, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0); @@ -10980,21 +10980,21 @@ static void LatticeTriangleTrackLeftVerticalLoop( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_LATTICE_TRIANGLE_TRACK_VERTICAL_LOOP + 0), { 0, 6, height }, { 32, 20, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_LATTICE_TRIANGLE_TRACK_VERTICAL_LOOP + 4), { 0, 6, height }, { 32, 20, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_LATTICE_TRIANGLE_TRACK_VERTICAL_LOOP + 8), { 0, 6, height }, { 32, 20, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -11002,7 +11002,7 @@ static void LatticeTriangleTrackLeftVerticalLoop( session.TrackColours.WithIndex(SPR_TRACKS_LATTICE_TRIANGLE_TRACK_VERTICAL_LOOP + 12), { 0, 6, height }, { 32, 20, 7 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); break; } if (direction == 0 || direction == 3) @@ -11027,21 +11027,21 @@ static void LatticeTriangleTrackLeftVerticalLoop( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_LATTICE_TRIANGLE_TRACK_VERTICAL_LOOP + 1), { 0, 0, height }, { 32, 26, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 26, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 26, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_LATTICE_TRIANGLE_TRACK_VERTICAL_LOOP + 5), { 0, 14, height }, { 32, 2, 63 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 10, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 10, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_LATTICE_TRIANGLE_TRACK_VERTICAL_LOOP + 9), { 0, 6, height }, { 32, 26, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 14, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 14, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -11049,7 +11049,7 @@ static void LatticeTriangleTrackLeftVerticalLoop( session.TrackColours.WithIndex(SPR_TRACKS_LATTICE_TRIANGLE_TRACK_VERTICAL_LOOP + 13), { 0, 6, height }, { 32, 26, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 5, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -11216,7 +11216,7 @@ static void LatticeTriangleTrackLeftVerticalLoop( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_LATTICE_TRIANGLE_TRACK_VERTICAL_LOOP + 9), { 0, 6, height }, { 32, 26, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 14, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 14, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -11224,21 +11224,21 @@ static void LatticeTriangleTrackLeftVerticalLoop( session.TrackColours.WithIndex(SPR_TRACKS_LATTICE_TRIANGLE_TRACK_VERTICAL_LOOP + 13), { 0, 6, height }, { 32, 26, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 5, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_LATTICE_TRIANGLE_TRACK_VERTICAL_LOOP + 1), { 0, 0, height }, { 32, 26, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 26, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 26, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_LATTICE_TRIANGLE_TRACK_VERTICAL_LOOP + 5), { 0, 14, height }, { 32, 2, 63 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 10, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 10, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -11259,7 +11259,7 @@ static void LatticeTriangleTrackLeftVerticalLoop( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_LATTICE_TRIANGLE_TRACK_VERTICAL_LOOP + 8), { 0, 6, height }, { 32, 20, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -11267,21 +11267,21 @@ static void LatticeTriangleTrackLeftVerticalLoop( session.TrackColours.WithIndex(SPR_TRACKS_LATTICE_TRIANGLE_TRACK_VERTICAL_LOOP + 12), { 0, 6, height }, { 32, 20, 7 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_LATTICE_TRIANGLE_TRACK_VERTICAL_LOOP + 0), { 0, 6, height }, { 32, 20, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_LATTICE_TRIANGLE_TRACK_VERTICAL_LOOP + 4), { 0, 6, height }, { 32, 20, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; } switch (direction) @@ -11340,7 +11340,7 @@ static void LatticeTriangleTrackRightVerticalLoop( { 32, 20, 3 }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -11356,7 +11356,7 @@ static void LatticeTriangleTrackRightVerticalLoop( session.TrackColours.WithIndex(SPR_TRACKS_LATTICE_TRIANGLE_TRACK_VERTICAL_LOOP + 17), { 0, 6, height }, { 32, 26, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 5, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -11364,7 +11364,7 @@ static void LatticeTriangleTrackRightVerticalLoop( session.TrackColours.WithIndex(SPR_TRACKS_LATTICE_TRIANGLE_TRACK_VERTICAL_LOOP + 21), { 0, 6, height }, { 32, 26, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 14, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 14, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -11372,7 +11372,7 @@ static void LatticeTriangleTrackRightVerticalLoop( session.TrackColours.WithIndex(SPR_TRACKS_LATTICE_TRIANGLE_TRACK_VERTICAL_LOOP + 25), { 0, 14, height }, { 32, 2, 63 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 10, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 10, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -11380,7 +11380,7 @@ static void LatticeTriangleTrackRightVerticalLoop( session.TrackColours.WithIndex(SPR_TRACKS_LATTICE_TRIANGLE_TRACK_VERTICAL_LOOP + 29), { 0, 0, height }, { 32, 26, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 26, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 26, height, session.SupportColours); break; } PaintUtilSetGeneralSupportHeight(session, height + 72); @@ -11520,7 +11520,7 @@ static void LatticeTriangleTrackRightVerticalLoop( session.TrackColours.WithIndex(SPR_TRACKS_LATTICE_TRIANGLE_TRACK_VERTICAL_LOOP + 25), { 0, 14, height }, { 32, 2, 63 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 10, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 10, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -11528,7 +11528,7 @@ static void LatticeTriangleTrackRightVerticalLoop( session.TrackColours.WithIndex(SPR_TRACKS_LATTICE_TRIANGLE_TRACK_VERTICAL_LOOP + 29), { 0, 0, height }, { 32, 26, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 26, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 26, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -11536,7 +11536,7 @@ static void LatticeTriangleTrackRightVerticalLoop( session.TrackColours.WithIndex(SPR_TRACKS_LATTICE_TRIANGLE_TRACK_VERTICAL_LOOP + 17), { 0, 6, height }, { 32, 26, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 5, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -11544,7 +11544,7 @@ static void LatticeTriangleTrackRightVerticalLoop( session.TrackColours.WithIndex(SPR_TRACKS_LATTICE_TRIANGLE_TRACK_VERTICAL_LOOP + 21), { 0, 6, height }, { 32, 26, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 14, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 14, height, session.SupportColours); break; } PaintUtilSetGeneralSupportHeight(session, height + 72); @@ -11577,7 +11577,7 @@ static void LatticeTriangleTrackRightVerticalLoop( { 32, 20, 3 }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); switch (direction) { case 1: @@ -11608,28 +11608,28 @@ static void LatticeTriangleTrackLeftCorkscrewUp( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_CORKSCREW + 0)), { 0, 0, height }, { { 0, 6, height + 4 }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height - 3, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height - 3, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_CORKSCREW + 3)), { 0, 0, height }, { { 0, 6, height + 4 }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_CORKSCREW + 6)), { 0, 0, height }, { { 0, 6, height + 4 }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_CORKSCREW + 9)), { 0, 0, height }, { { 0, 6, height + 4 }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 3, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 3, session.SupportColours); break; } if (direction == 0 || direction == 3) @@ -11707,7 +11707,7 @@ static void LatticeTriangleTrackLeftCorkscrewUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 40, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 40, session.SupportColours); switch (direction) { @@ -11737,28 +11737,28 @@ static void LatticeTriangleTrackRightCorkscrewUp( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_CORKSCREW + 12)), { 0, 0, height }, { { 0, 6, height + 4 }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 3, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 3, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_CORKSCREW + 15)), { 0, 0, height }, { { 0, 6, height + 4 }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_CORKSCREW + 18)), { 0, 0, height }, { { 0, 6, height + 4 }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_CORKSCREW + 21)), { 0, 0, height }, { { 0, 6, height + 4 }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height - 3, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height - 3, session.SupportColours); break; } if (direction == 0 || direction == 3) @@ -11836,7 +11836,7 @@ static void LatticeTriangleTrackRightCorkscrewUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 40, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 40, session.SupportColours); switch (direction) { @@ -11902,7 +11902,7 @@ static void LatticeTriangleTrackLeftLargeCorkscrewUp( break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); if (direction == 0 || direction == 3) { @@ -11927,7 +11927,7 @@ static void LatticeTriangleTrackLeftLargeCorkscrewUp( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_LARGE_CORKSCREW + 1)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 21, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 21, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -11935,7 +11935,7 @@ static void LatticeTriangleTrackLeftLargeCorkscrewUp( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_LARGE_CORKSCREW + 6)), { 0, 0, height }, { { 0, 29, height }, { 26, 1, 32 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 19, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 19, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -11943,7 +11943,7 @@ static void LatticeTriangleTrackLeftLargeCorkscrewUp( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_LARGE_CORKSCREW + 11)), { 0, 0, height }, { { 0, 6, height }, { 20, 20, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 19, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 19, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -11951,7 +11951,7 @@ static void LatticeTriangleTrackLeftLargeCorkscrewUp( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_LARGE_CORKSCREW + 16)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 16, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -12020,7 +12020,7 @@ static void LatticeTriangleTrackLeftLargeCorkscrewUp( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_LARGE_CORKSCREW + 3)), { 0, 0, height }, { { 2, 2, height + 50 }, { 28, 28, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 65, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 65, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -12028,7 +12028,7 @@ static void LatticeTriangleTrackLeftLargeCorkscrewUp( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_LARGE_CORKSCREW + 8)), { 0, 0, height }, { { 2, 2, height + 50 }, { 28, 28, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 65, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 65, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -12036,7 +12036,7 @@ static void LatticeTriangleTrackLeftLargeCorkscrewUp( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_LARGE_CORKSCREW + 13)), { 0, 0, height }, { { 2, 2, height + 50 }, { 24, 28, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 65, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 65, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -12044,7 +12044,7 @@ static void LatticeTriangleTrackLeftLargeCorkscrewUp( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_LARGE_CORKSCREW + 18)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 65, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 65, session.SupportColours); break; } @@ -12136,7 +12136,7 @@ static void LatticeTriangleTrackRightLargeCorkscrewUp( break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); if (direction == 0 || direction == 3) { @@ -12161,7 +12161,7 @@ static void LatticeTriangleTrackRightLargeCorkscrewUp( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_LARGE_CORKSCREW + 21)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 16, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -12169,7 +12169,7 @@ static void LatticeTriangleTrackRightLargeCorkscrewUp( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_LARGE_CORKSCREW + 26)), { 0, 0, height }, { { 0, 6, height }, { 20, 20, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 19, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 19, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -12177,7 +12177,7 @@ static void LatticeTriangleTrackRightLargeCorkscrewUp( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_LARGE_CORKSCREW + 31)), { 0, 0, height }, { { 0, 29, height }, { 26, 1, 32 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 19, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 19, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -12185,7 +12185,7 @@ static void LatticeTriangleTrackRightLargeCorkscrewUp( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_LARGE_CORKSCREW + 36)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 21, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 21, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -12255,7 +12255,7 @@ static void LatticeTriangleTrackRightLargeCorkscrewUp( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_LARGE_CORKSCREW + 23)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 65, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 65, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -12263,7 +12263,7 @@ static void LatticeTriangleTrackRightLargeCorkscrewUp( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_LARGE_CORKSCREW + 28)), { 0, 0, height }, { { 2, 2, height + 50 }, { 24, 28, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 65, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 65, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -12271,7 +12271,7 @@ static void LatticeTriangleTrackRightLargeCorkscrewUp( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_LARGE_CORKSCREW + 33)), { 0, 0, height }, { { 2, 2, height + 50 }, { 28, 28, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 65, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 65, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -12279,7 +12279,7 @@ static void LatticeTriangleTrackRightLargeCorkscrewUp( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_LARGE_CORKSCREW + 38)), { 0, 0, height }, { { 2, 2, height + 50 }, { 28, 28, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 65, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 65, session.SupportColours); break; } PaintUtilSetGeneralSupportHeight(session, height + 64); @@ -12386,7 +12386,7 @@ static void LatticeTriangleTrackLeftMediumHalfLoopUp( break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 7, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 7, height, session.SupportColours); if (direction == 0 || direction == 3) { @@ -12444,7 +12444,7 @@ static void LatticeTriangleTrackLeftMediumHalfLoopUp( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_MEDIUM_HALF_LOOP + 2)), { 0, 0, height }, { { 0, 0, height + 2 }, { 32, 32, 0 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 14, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 14, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -12452,7 +12452,7 @@ static void LatticeTriangleTrackLeftMediumHalfLoopUp( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_MEDIUM_HALF_LOOP + 7)), { 0, 0, height }, { { 29, 0, height }, { 1, 32, 96 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 16, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -12460,7 +12460,7 @@ static void LatticeTriangleTrackLeftMediumHalfLoopUp( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_MEDIUM_HALF_LOOP + 12)), { 0, 0, height }, { { 31, 0, height }, { 1, 32, 96 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 18, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 18, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -12468,7 +12468,7 @@ static void LatticeTriangleTrackLeftMediumHalfLoopUp( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_MEDIUM_HALF_LOOP + 17)), { 0, 0, height }, { { 0, 0, height }, { 32, 32, 0 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 14, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 14, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -12598,7 +12598,7 @@ static void LatticeTriangleTrackRightMediumHalfLoopUp( break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 7, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 7, height, session.SupportColours); if (direction == 0 || direction == 3) { @@ -12656,7 +12656,7 @@ static void LatticeTriangleTrackRightMediumHalfLoopUp( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_MEDIUM_HALF_LOOP + 22)), { 0, 0, height }, { { 0, 0, height }, { 32, 32, 0 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 14, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 14, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -12664,7 +12664,7 @@ static void LatticeTriangleTrackRightMediumHalfLoopUp( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_MEDIUM_HALF_LOOP + 27)), { 0, 0, height }, { { 30, 16, height }, { 0, 32, 96 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 18, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 18, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -12672,7 +12672,7 @@ static void LatticeTriangleTrackRightMediumHalfLoopUp( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_MEDIUM_HALF_LOOP + 32)), { 0, 0, height }, { { 29, 0, height }, { 0, 32, 96 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 16, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -12680,7 +12680,7 @@ static void LatticeTriangleTrackRightMediumHalfLoopUp( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_MEDIUM_HALF_LOOP + 37)), { 0, 0, height }, { { 0, 0, height + 2 }, { 32, 32, 0 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 14, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 14, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -12806,7 +12806,7 @@ static void LatticeTriangleTrackLeftZeroGRollUp( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_ZERO_G_ROLL + 1)), { 0, 0, height }, { { 0, 6, height + 32 }, { 32, 20, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -12816,14 +12816,14 @@ static void LatticeTriangleTrackLeftZeroGRollUp( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_ZERO_G_ROLL + 5)), { 0, 0, height }, { { 0, 31, height }, { 40, 1, 32 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_ZERO_G_ROLL + 8)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 5, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -12831,7 +12831,7 @@ static void LatticeTriangleTrackLeftZeroGRollUp( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_ZERO_G_ROLL + 12)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 11, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 11, height, session.SupportColours); break; } @@ -12930,7 +12930,7 @@ static void LatticeTriangleTrackLeftZeroGRollUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 42, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 42, session.SupportColours); PaintUtilSetGeneralSupportHeight(session, height + 40); break; } @@ -12951,7 +12951,7 @@ static void LatticeTriangleTrackRightZeroGRollUp( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_ZERO_G_ROLL + 16)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 11, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 11, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -12959,7 +12959,7 @@ static void LatticeTriangleTrackRightZeroGRollUp( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_ZERO_G_ROLL + 20)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 5, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -12971,7 +12971,7 @@ static void LatticeTriangleTrackRightZeroGRollUp( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_ZERO_G_ROLL + 25)), { 0, 0, height }, { { 0, 31, height }, { 40, 1, 32 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -12983,7 +12983,7 @@ static void LatticeTriangleTrackRightZeroGRollUp( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_ZERO_G_ROLL + 29)), { 0, 0, height }, { { 0, 6, height + 32 }, { 32, 20, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); break; } if (direction == 0 || direction == 3) @@ -13086,7 +13086,7 @@ static void LatticeTriangleTrackRightZeroGRollUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 42, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 42, session.SupportColours); PaintUtilSetGeneralSupportHeight(session, height + 40); break; } @@ -13146,7 +13146,7 @@ static void LatticeTriangleTrackLeftLargeZeroGRollUp( { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 21, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 21, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -13250,7 +13250,7 @@ static void LatticeTriangleTrackLeftLargeZeroGRollUp( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_LARGE_ZERO_G_ROLL + 4)), { 0, 0, height }, { { 0, 26, height }, { 32, 0, 32 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 37, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 37, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -13258,7 +13258,7 @@ static void LatticeTriangleTrackLeftLargeZeroGRollUp( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_LARGE_ZERO_G_ROLL + 8)), { 0, 0, height }, { { 0, 26, height }, { 26, 0, 20 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 37, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 37, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -13270,7 +13270,7 @@ static void LatticeTriangleTrackLeftLargeZeroGRollUp( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_LARGE_ZERO_G_ROLL + 14)), { 0, 0, height }, { { 0, 6, height + 40 }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 37, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 37, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -13278,7 +13278,7 @@ static void LatticeTriangleTrackLeftLargeZeroGRollUp( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_LARGE_ZERO_G_ROLL + 19)), { 0, 0, height }, { { 0, 18, height }, { 32, 1, 30 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 37, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 37, session.SupportColours); break; } switch (direction) @@ -13333,7 +13333,7 @@ static void LatticeTriangleTrackRightLargeZeroGRollUp( { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 21, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 21, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -13438,7 +13438,7 @@ static void LatticeTriangleTrackRightLargeZeroGRollUp( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_LARGE_ZERO_G_ROLL + 24)), { 0, 0, height }, { { 0, 18, height }, { 32, 1, 30 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 37, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 37, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -13450,7 +13450,7 @@ static void LatticeTriangleTrackRightLargeZeroGRollUp( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_LARGE_ZERO_G_ROLL + 30)), { 0, 0, height }, { { 0, 6, height + 40 }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 37, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 37, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -13458,7 +13458,7 @@ static void LatticeTriangleTrackRightLargeZeroGRollUp( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_LARGE_ZERO_G_ROLL + 34)), { 0, 0, height }, { { 0, 26, height }, { 32, 0, 30 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 37, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 37, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -13466,7 +13466,7 @@ static void LatticeTriangleTrackRightLargeZeroGRollUp( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_LARGE_ZERO_G_ROLL + 39)), { 0, 0, height }, { { 0, 26, height }, { 40, 0, 32 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 37, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 37, session.SupportColours); break; } switch (direction) @@ -13663,7 +13663,7 @@ static void LatticeTriangleTrackLeftBankToLeftQuarterTurn3Tile25DegUp( { 0, 6, height }, { 32, 20, 3 }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -13711,7 +13711,7 @@ static void LatticeTriangleTrackLeftBankToLeftQuarterTurn3Tile25DegUp( break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 4, height - 6, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 4, height - 6, session.SupportColours); switch (direction) { case 2: @@ -13770,7 +13770,7 @@ static void LatticeTriangleTrackRightBankToRightQuarterTurn3Tile25DegUp( { 0, 6, height }, { 32, 20, 3 }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -13818,7 +13818,7 @@ static void LatticeTriangleTrackRightBankToRightQuarterTurn3Tile25DegUp( break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 4, height - 6, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 4, height - 6, session.SupportColours); switch (direction) { case 0: @@ -13874,7 +13874,7 @@ static void LatticeTriangleTrackLeftQuarterTurn3Tile25DegDownToLeftBank( break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 4, height - 6, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 4, height - 6, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::SlopeEnd); @@ -13925,7 +13925,7 @@ static void LatticeTriangleTrackLeftQuarterTurn3Tile25DegDownToLeftBank( { 6, 0, height }, { 20, 32, 3 }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); switch (direction) { case 2: @@ -13981,7 +13981,7 @@ static void LatticeTriangleTrackRightQuarterTurn3Tile25DegDownToRightBank( break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 4, height - 6, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 4, height - 6, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::SlopeEnd); @@ -14032,7 +14032,7 @@ static void LatticeTriangleTrackRightQuarterTurn3Tile25DegDownToRightBank( { 6, 0, height }, { 20, 32, 3 }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); switch (direction) { case 0: @@ -14087,7 +14087,7 @@ static void LatticeTriangleTrackLeftLargeHalfLoopUp( { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 5, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 5, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -14105,7 +14105,7 @@ static void LatticeTriangleTrackLeftLargeHalfLoopUp( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_LARGE_HALF_LOOP + 1)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 12, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 12, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -14113,7 +14113,7 @@ static void LatticeTriangleTrackLeftLargeHalfLoopUp( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_LARGE_HALF_LOOP + 8)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 9 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -14121,7 +14121,7 @@ static void LatticeTriangleTrackLeftLargeHalfLoopUp( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_LARGE_HALF_LOOP + 15)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -14129,7 +14129,7 @@ static void LatticeTriangleTrackLeftLargeHalfLoopUp( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_LARGE_HALF_LOOP + 22)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -14183,7 +14183,7 @@ static void LatticeTriangleTrackLeftLargeHalfLoopUp( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_LARGE_HALF_LOOP + 3)), { 0, 0, height }, { { 0, 0, height }, { 32, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 14, height + 8, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 14, height + 8, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -14191,7 +14191,7 @@ static void LatticeTriangleTrackLeftLargeHalfLoopUp( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_LARGE_HALF_LOOP + 10)), { 0, 0, height }, { { 0, 0, height + 200 }, { 32, 16, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 14, height + 8, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 14, height + 8, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -14199,7 +14199,7 @@ static void LatticeTriangleTrackLeftLargeHalfLoopUp( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_LARGE_HALF_LOOP + 17)), { 0, 0, height }, { { 0, 16, height + 200 }, { 32, 16, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 21, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 21, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -14207,7 +14207,7 @@ static void LatticeTriangleTrackLeftLargeHalfLoopUp( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_LARGE_HALF_LOOP + 24)), { 0, 0, height }, { { 0, 16, height }, { 32, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 22, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 22, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -14374,7 +14374,7 @@ static void LatticeTriangleTrackRightLargeHalfLoopUp( { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 5, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 5, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -14392,7 +14392,7 @@ static void LatticeTriangleTrackRightLargeHalfLoopUp( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_LARGE_HALF_LOOP + 29)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -14400,7 +14400,7 @@ static void LatticeTriangleTrackRightLargeHalfLoopUp( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_LARGE_HALF_LOOP + 36)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -14408,7 +14408,7 @@ static void LatticeTriangleTrackRightLargeHalfLoopUp( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_LARGE_HALF_LOOP + 43)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 9 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -14416,7 +14416,7 @@ static void LatticeTriangleTrackRightLargeHalfLoopUp( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_LARGE_HALF_LOOP + 50)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 12, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 12, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -14470,7 +14470,7 @@ static void LatticeTriangleTrackRightLargeHalfLoopUp( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_LARGE_HALF_LOOP + 31)), { 0, 0, height }, { { 0, 16, height }, { 32, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 22, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 22, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -14478,7 +14478,7 @@ static void LatticeTriangleTrackRightLargeHalfLoopUp( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_LARGE_HALF_LOOP + 38)), { 0, 0, height }, { { 0, 16, height + 200 }, { 32, 16, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 21, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 21, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -14486,7 +14486,7 @@ static void LatticeTriangleTrackRightLargeHalfLoopUp( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_LARGE_HALF_LOOP + 45)), { 0, 0, height }, { { 0, 0, height + 200 }, { 32, 16, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 14, height + 8, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 14, height + 8, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -14494,7 +14494,7 @@ static void LatticeTriangleTrackRightLargeHalfLoopUp( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_LARGE_HALF_LOOP + 52)), { 0, 0, height }, { { 0, 0, height }, { 32, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 14, height + 8, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 14, height + 8, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -14673,7 +14673,7 @@ static void LatticeTriangleTrackFlatTo60DegUp( { 0, 0, height }, { { 0, 2, height }, { 32, 27, 4 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 1, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 1, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -14721,7 +14721,7 @@ static void LatticeTriangleTrack60DegUpToFlat( { { 0, 2, height }, { 32, 27, 4 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 14, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 14, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -14814,7 +14814,7 @@ static void LatticeTriangleTrackDiagFlatTo60DegUp( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 4, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -14822,15 +14822,15 @@ static void LatticeTriangleTrackDiagFlatTo60DegUp( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_SMALL_FLAT_TO_STEEP + 13)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 4 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 4, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 4, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 4, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -14910,7 +14910,7 @@ static void LatticeTriangleTrackDiag60DegUpToFlat( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 18, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 18, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -14918,15 +14918,15 @@ static void LatticeTriangleTrackDiag60DegUpToFlat( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_SMALL_FLAT_TO_STEEP + 17)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 4 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 18, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 18, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 18, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 18, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 18, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 18, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -15006,7 +15006,7 @@ static void LatticeTriangleTrackDiagFlatTo60DegDown( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 14, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 14, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -15014,15 +15014,15 @@ static void LatticeTriangleTrackDiagFlatTo60DegDown( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_SMALL_FLAT_TO_STEEP + 19)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 4 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 14, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 14, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 14, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 14, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 14, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 14, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -15102,7 +15102,7 @@ static void LatticeTriangleTrackDiag60DegDownToFlat( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 2, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 2, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -15110,15 +15110,15 @@ static void LatticeTriangleTrackDiag60DegDownToFlat( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_SMALL_FLAT_TO_STEEP + 15)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 4 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 2, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 2, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 2, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 2, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 2, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 2, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -15166,7 +15166,7 @@ static void LatticeTriangleTrackLeftEighthToDiagUp25( { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -15269,7 +15269,7 @@ static void LatticeTriangleTrackLeftEighthToDiagUp25( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_GENTLE_LARGE_CURVE + 3)), { 0, 0, height }, { { 16, 16, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 2, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 2, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -15277,7 +15277,7 @@ static void LatticeTriangleTrackLeftEighthToDiagUp25( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_GENTLE_LARGE_CURVE + 7)), { 0, 0, height }, { { 0, 16, height }, { 16, 18, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 3, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -15285,7 +15285,7 @@ static void LatticeTriangleTrackLeftEighthToDiagUp25( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_GENTLE_LARGE_CURVE + 11)), { 0, 0, height }, { { 0, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 2, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 2, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -15293,7 +15293,7 @@ static void LatticeTriangleTrackLeftEighthToDiagUp25( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_GENTLE_LARGE_CURVE + 15)), { 0, 0, height }, { { 16, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 1, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 1, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -15343,7 +15343,7 @@ static void LatticeTriangleTrackRightEighthToDiagUp25( { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -15447,7 +15447,7 @@ static void LatticeTriangleTrackRightEighthToDiagUp25( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_GENTLE_LARGE_CURVE + 19)), { 0, 0, height }, { { 16, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 1, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 1, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -15455,7 +15455,7 @@ static void LatticeTriangleTrackRightEighthToDiagUp25( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_GENTLE_LARGE_CURVE + 23)), { 0, 0, height }, { { 0, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 2, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 2, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -15463,7 +15463,7 @@ static void LatticeTriangleTrackRightEighthToDiagUp25( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_GENTLE_LARGE_CURVE + 27)), { 0, 0, height }, { { 0, 16, height }, { 16, 18, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 3, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -15471,7 +15471,7 @@ static void LatticeTriangleTrackRightEighthToDiagUp25( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_GENTLE_LARGE_CURVE + 31)), { 0, 0, height }, { { 16, 16, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 2, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 2, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -15502,7 +15502,7 @@ static void LatticeTriangleTrackLeftEighthToOrthogonalUp25( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_GENTLE_LARGE_CURVE + 32)), { 0, 0, height }, { { 0, 16, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 5, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -15510,7 +15510,7 @@ static void LatticeTriangleTrackLeftEighthToOrthogonalUp25( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_GENTLE_LARGE_CURVE + 36)), { 0, 0, height }, { { 16, 16, height }, { 16, 18, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 5, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -15518,7 +15518,7 @@ static void LatticeTriangleTrackLeftEighthToOrthogonalUp25( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_GENTLE_LARGE_CURVE + 40)), { 0, 0, height }, { { 16, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 3, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -15526,7 +15526,7 @@ static void LatticeTriangleTrackLeftEighthToOrthogonalUp25( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_GENTLE_LARGE_CURVE + 44)), { 0, 0, height }, { { 0, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 4, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -15652,7 +15652,7 @@ static void LatticeTriangleTrackLeftEighthToOrthogonalUp25( { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 4, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 4, height, session.SupportColours); if (direction == 1 || direction == 2) { @@ -15681,7 +15681,7 @@ static void LatticeTriangleTrackRightEighthToOrthogonalUp25( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_GENTLE_LARGE_CURVE + 48)), { 0, 0, height }, { { 0, 16, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 3, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -15689,7 +15689,7 @@ static void LatticeTriangleTrackRightEighthToOrthogonalUp25( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_GENTLE_LARGE_CURVE + 52)), { 0, 0, height }, { { 16, 16, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 5, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -15697,7 +15697,7 @@ static void LatticeTriangleTrackRightEighthToOrthogonalUp25( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_GENTLE_LARGE_CURVE + 56)), { 0, 0, height }, { { 16, 0, height }, { 16, 18, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 5, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -15705,7 +15705,7 @@ static void LatticeTriangleTrackRightEighthToOrthogonalUp25( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_GENTLE_LARGE_CURVE + 60)), { 0, 0, height }, { { 0, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 4, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -15832,7 +15832,7 @@ static void LatticeTriangleTrackRightEighthToOrthogonalUp25( { 0, 0, height }, { { 6, 0, height }, { 20, 32, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 4, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 4, height, session.SupportColours); if (direction == 0 || direction == 1) { PaintUtilPushTunnelRotated(session, direction + 1, height + 8, kTunnelGroup, TunnelSubType::SlopeEnd); @@ -15955,7 +15955,7 @@ static void LatticeTriangleTrackDiagUp25ToLeftBankedUp25( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 5, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -15963,15 +15963,15 @@ static void LatticeTriangleTrackDiagUp25ToLeftBankedUp25( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_GENTLE_LARGE_CURVE_BANKED + 2)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 10, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 10, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 10, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 10, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 10, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 10, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -16055,7 +16055,7 @@ static void LatticeTriangleTrackDiagUp25ToRightBankedUp25( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 10, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 10, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -16063,15 +16063,15 @@ static void LatticeTriangleTrackDiagUp25ToRightBankedUp25( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_GENTLE_LARGE_CURVE_BANKED + 6)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 10, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 10, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 5, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 10, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 10, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -16155,7 +16155,7 @@ static void LatticeTriangleTrackDiagLeftBankedUp25ToUp25( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 5, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -16163,15 +16163,15 @@ static void LatticeTriangleTrackDiagLeftBankedUp25ToUp25( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_GENTLE_LARGE_CURVE_BANKED + 12)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 9, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 9, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 9, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -16255,7 +16255,7 @@ static void LatticeTriangleTrackDiagRightBankedUp25ToUp25( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 9, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -16263,15 +16263,15 @@ static void LatticeTriangleTrackDiagRightBankedUp25ToUp25( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_GENTLE_LARGE_CURVE_BANKED + 16)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 9, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 5, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 9, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -16383,7 +16383,7 @@ static void LatticeTriangleTrackDiagLeftBankedFlatToLeftBankedUp25( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -16391,15 +16391,15 @@ static void LatticeTriangleTrackDiagLeftBankedFlatToLeftBankedUp25( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_GENTLE_LARGE_CURVE_BANKED + 21)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 4, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 4, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 4, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -16479,7 +16479,7 @@ static void LatticeTriangleTrackDiagRightBankedFlatToRightBankedUp25( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 4, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -16487,15 +16487,15 @@ static void LatticeTriangleTrackDiagRightBankedFlatToRightBankedUp25( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_GENTLE_LARGE_CURVE_BANKED + 25)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 4, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 4, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -16575,7 +16575,7 @@ static void LatticeTriangleTrackDiagLeftBankedUp25ToLeftBankedFlat( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 4, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -16583,15 +16583,15 @@ static void LatticeTriangleTrackDiagLeftBankedUp25ToLeftBankedFlat( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_GENTLE_LARGE_CURVE_BANKED + 29)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 8, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 8, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 8, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -16671,7 +16671,7 @@ static void LatticeTriangleTrackDiagRightBankedUp25ToRightBankedFlat( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 8, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -16679,15 +16679,15 @@ static void LatticeTriangleTrackDiagRightBankedUp25ToRightBankedFlat( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_GENTLE_LARGE_CURVE_BANKED + 33)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 8, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 4, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 8, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -16799,7 +16799,7 @@ static void LatticeTriangleTrackDiagUp25LeftBanked( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 6, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -16807,15 +16807,15 @@ static void LatticeTriangleTrackDiagUp25LeftBanked( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_GENTLE_LARGE_CURVE_BANKED + 37)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 11, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 11, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 11, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 11, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 11, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 11, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -16895,7 +16895,7 @@ static void LatticeTriangleTrackDiagUp25RightBanked( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 11, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 11, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -16903,15 +16903,15 @@ static void LatticeTriangleTrackDiagUp25RightBanked( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_GENTLE_LARGE_CURVE_BANKED + 41)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 11, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 11, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 6, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 11, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 11, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -17011,7 +17011,7 @@ static void LatticeTriangleTrackDiagFlatToLeftBankedUp25( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -17019,15 +17019,15 @@ static void LatticeTriangleTrackDiagFlatToLeftBankedUp25( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_GENTLE_LARGE_CURVE_BANKED + 46)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 4, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 4, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 4, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -17111,7 +17111,7 @@ static void LatticeTriangleTrackDiagFlatToRightBankedUp25( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 4, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -17119,15 +17119,15 @@ static void LatticeTriangleTrackDiagFlatToRightBankedUp25( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_GENTLE_LARGE_CURVE_BANKED + 50)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 4, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 4, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -17211,7 +17211,7 @@ static void LatticeTriangleTrackDiagLeftBankedUp25ToFlat( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 4, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -17219,15 +17219,15 @@ static void LatticeTriangleTrackDiagLeftBankedUp25ToFlat( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_GENTLE_LARGE_CURVE_BANKED + 56)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 6, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 6, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 6, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -17311,7 +17311,7 @@ static void LatticeTriangleTrackDiagRightBankedUp25ToFlat( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 6, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -17319,15 +17319,15 @@ static void LatticeTriangleTrackDiagRightBankedUp25ToFlat( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_GENTLE_LARGE_CURVE_BANKED + 60)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 6, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 4, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 6, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -17388,7 +17388,7 @@ static void LatticeTriangleTrackLeftEighthBankToDiagUp25( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_GENTLE_LARGE_CURVE_BANKED + 64)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 1, height - 4, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 1, height - 4, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -17396,7 +17396,7 @@ static void LatticeTriangleTrackLeftEighthBankToDiagUp25( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_GENTLE_LARGE_CURVE_BANKED + 68)), { 0, 0, height }, { { 0, 31, height }, { 32, 1, 32 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -17404,7 +17404,7 @@ static void LatticeTriangleTrackLeftEighthBankToDiagUp25( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_GENTLE_LARGE_CURVE_BANKED + 72)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 9, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -17412,7 +17412,7 @@ static void LatticeTriangleTrackLeftEighthBankToDiagUp25( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_GENTLE_LARGE_CURVE_BANKED + 76)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 12, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 12, height, session.SupportColours); break; } if (direction == 0 || direction == 3) @@ -17517,7 +17517,7 @@ static void LatticeTriangleTrackLeftEighthBankToDiagUp25( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_GENTLE_LARGE_CURVE_BANKED + 67)), { 0, 0, height }, { { 16, 16, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 7, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -17525,7 +17525,7 @@ static void LatticeTriangleTrackLeftEighthBankToDiagUp25( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_GENTLE_LARGE_CURVE_BANKED + 71)), { 0, 0, height }, { { 0, 0, height + 48 }, { 32, 32, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 4, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -17533,7 +17533,7 @@ static void LatticeTriangleTrackLeftEighthBankToDiagUp25( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_GENTLE_LARGE_CURVE_BANKED + 75)), { 0, 0, height }, { { 0, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 7, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -17541,7 +17541,7 @@ static void LatticeTriangleTrackLeftEighthBankToDiagUp25( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_GENTLE_LARGE_CURVE_BANKED + 79)), { 0, 0, height }, { { 16, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 7, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -17572,7 +17572,7 @@ static void LatticeTriangleTrackRightEighthBankToDiagUp25( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_GENTLE_LARGE_CURVE_BANKED + 80)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 12, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 12, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -17580,7 +17580,7 @@ static void LatticeTriangleTrackRightEighthBankToDiagUp25( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_GENTLE_LARGE_CURVE_BANKED + 84)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 9, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -17588,7 +17588,7 @@ static void LatticeTriangleTrackRightEighthBankToDiagUp25( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_GENTLE_LARGE_CURVE_BANKED + 88)), { 0, 0, height }, { { 0, 31, height }, { 32, 1, 32 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -17596,7 +17596,7 @@ static void LatticeTriangleTrackRightEighthBankToDiagUp25( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_GENTLE_LARGE_CURVE_BANKED + 92)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 1, height - 4, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 1, height - 4, session.SupportColours); break; } if (direction == 0 || direction == 3) @@ -17702,7 +17702,7 @@ static void LatticeTriangleTrackRightEighthBankToDiagUp25( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_GENTLE_LARGE_CURVE_BANKED + 83)), { 0, 0, height }, { { 16, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 7, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -17710,7 +17710,7 @@ static void LatticeTriangleTrackRightEighthBankToDiagUp25( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_GENTLE_LARGE_CURVE_BANKED + 87)), { 0, 0, height }, { { 0, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 7, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -17718,7 +17718,7 @@ static void LatticeTriangleTrackRightEighthBankToDiagUp25( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_GENTLE_LARGE_CURVE_BANKED + 91)), { 0, 0, height }, { { 0, 0, height + 48 }, { 32, 32, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 4, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -17726,7 +17726,7 @@ static void LatticeTriangleTrackRightEighthBankToDiagUp25( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_GENTLE_LARGE_CURVE_BANKED + 95)), { 0, 0, height }, { { 16, 16, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 7, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -17757,7 +17757,7 @@ static void LatticeTriangleTrackLeftEighthBankToOrthogonalUp25( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_GENTLE_LARGE_CURVE_BANKED + 96)), { 0, 0, height }, { { 0, 0, height + 32 }, { 32, 32, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 5, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -17765,7 +17765,7 @@ static void LatticeTriangleTrackLeftEighthBankToOrthogonalUp25( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_GENTLE_LARGE_CURVE_BANKED + 100)), { 0, 0, height }, { { 0, 0, height + 32 }, { 32, 32, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 7, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -17773,7 +17773,7 @@ static void LatticeTriangleTrackLeftEighthBankToOrthogonalUp25( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_GENTLE_LARGE_CURVE_BANKED + 104)), { 0, 0, height }, { { 16, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 9, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -17781,7 +17781,7 @@ static void LatticeTriangleTrackLeftEighthBankToOrthogonalUp25( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_GENTLE_LARGE_CURVE_BANKED + 108)), { 0, 0, height }, { { 0, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 7, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -17888,7 +17888,7 @@ static void LatticeTriangleTrackLeftEighthBankToOrthogonalUp25( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_GENTLE_LARGE_CURVE_BANKED + 99)), { 0, 0, height }, { { 0, 31, height }, { 32, 1, 32 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -17896,7 +17896,7 @@ static void LatticeTriangleTrackLeftEighthBankToOrthogonalUp25( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_GENTLE_LARGE_CURVE_BANKED + 103)), { 0, 0, height }, { { 0, 31, height }, { 32, 1, 32 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -17904,7 +17904,7 @@ static void LatticeTriangleTrackLeftEighthBankToOrthogonalUp25( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_GENTLE_LARGE_CURVE_BANKED + 107)), { 0, 0, height }, { { 0, 0, height }, { 32, 20, 10 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -17912,7 +17912,7 @@ static void LatticeTriangleTrackLeftEighthBankToOrthogonalUp25( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_GENTLE_LARGE_CURVE_BANKED + 111)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 9, height, session.SupportColours); break; } if (direction == 1 || direction == 2) @@ -17941,7 +17941,7 @@ static void LatticeTriangleTrackRightEighthBankToOrthogonalUp25( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_GENTLE_LARGE_CURVE_BANKED + 112)), { 0, 0, height }, { { 0, 16, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 9, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -17949,7 +17949,7 @@ static void LatticeTriangleTrackRightEighthBankToOrthogonalUp25( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_GENTLE_LARGE_CURVE_BANKED + 116)), { 0, 0, height }, { { 0, 0, height + 32 }, { 32, 32, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 7, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -17957,7 +17957,7 @@ static void LatticeTriangleTrackRightEighthBankToOrthogonalUp25( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_GENTLE_LARGE_CURVE_BANKED + 120)), { 0, 0, height }, { { 0, 0, height + 32 }, { 32, 32, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 5, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -17965,7 +17965,7 @@ static void LatticeTriangleTrackRightEighthBankToOrthogonalUp25( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_GENTLE_LARGE_CURVE_BANKED + 124)), { 0, 0, height }, { { 0, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 7, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -18073,7 +18073,7 @@ static void LatticeTriangleTrackRightEighthBankToOrthogonalUp25( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_GENTLE_LARGE_CURVE_BANKED + 115)), { 0, 0, height }, { { 6, 0, height }, { 20, 32, 10 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -18081,7 +18081,7 @@ static void LatticeTriangleTrackRightEighthBankToOrthogonalUp25( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_GENTLE_LARGE_CURVE_BANKED + 119)), { 0, 0, height }, { { 31, 0, height }, { 1, 32, 32 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -18089,7 +18089,7 @@ static void LatticeTriangleTrackRightEighthBankToOrthogonalUp25( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_GENTLE_LARGE_CURVE_BANKED + 123)), { 0, 0, height }, { { 31, 0, height }, { 1, 32, 32 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -18097,7 +18097,7 @@ static void LatticeTriangleTrackRightEighthBankToOrthogonalUp25( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_GENTLE_LARGE_CURVE_BANKED + 127)), { 0, 0, height }, { { 6, 0, height }, { 20, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 9, height, session.SupportColours); break; } if (direction == 0 || direction == 1) @@ -18260,7 +18260,7 @@ static void LatticeTriangleTrackDiagFlatTo60DegUpLongBase( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 0, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -18268,11 +18268,11 @@ static void LatticeTriangleTrackDiagFlatTo60DegUpLongBase( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_FLAT_TO_STEEP_DIAGONAL + 3)), { -16, -16, height }, { { -16, -16, height + 0 }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 0, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 0, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -18280,7 +18280,7 @@ static void LatticeTriangleTrackDiagFlatTo60DegUpLongBase( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_FLAT_TO_STEEP_DIAGONAL + 10)), { -16, -16, height }, { { -20, -20, height + 8 }, { 24, 24, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + 0, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -18335,7 +18335,7 @@ static void LatticeTriangleTrackDiagFlatTo60DegUpLongBase( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 11, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 11, height + 0, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -18343,11 +18343,11 @@ static void LatticeTriangleTrackDiagFlatTo60DegUpLongBase( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_FLAT_TO_STEEP_DIAGONAL + 4)), { -16, -16, height }, { { -16, -16, height + 0 }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 11, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 11, height + 0, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 11, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 11, height + 0, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -18355,7 +18355,7 @@ static void LatticeTriangleTrackDiagFlatTo60DegUpLongBase( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_FLAT_TO_STEEP_DIAGONAL + 11)), { -16, -16, height }, { { -16, -16, height + 32 }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 11, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 11, height + 0, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -18410,7 +18410,7 @@ static void LatticeTriangleTrackDiagFlatTo60DegUpLongBase( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 19, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 19, height + 0, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -18418,15 +18418,15 @@ static void LatticeTriangleTrackDiagFlatTo60DegUpLongBase( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_FLAT_TO_STEEP_DIAGONAL + 5)), { -16, -16, height }, { { -16, -16, height + 80 }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 19, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 19, height + 0, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 19, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 19, height + 0, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 19, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 19, height + 0, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -18506,7 +18506,7 @@ static void LatticeTriangleTrackDiag60DegUpToFlatLongBase( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 28, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 28, height + 0, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -18514,11 +18514,11 @@ static void LatticeTriangleTrackDiag60DegUpToFlatLongBase( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_FLAT_TO_STEEP_DIAGONAL + 15)), { -16, -16, height }, { { -16, -16, height + 0 }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 28, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 28, height + 0, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 28, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 28, height + 0, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -18526,7 +18526,7 @@ static void LatticeTriangleTrackDiag60DegUpToFlatLongBase( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_FLAT_TO_STEEP_DIAGONAL + 22)), { -16, -16, height }, { { -8, -8, height + 56 }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 28, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 28, height + 0, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -18581,7 +18581,7 @@ static void LatticeTriangleTrackDiag60DegUpToFlatLongBase( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 10, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 10, height + 0, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -18589,11 +18589,11 @@ static void LatticeTriangleTrackDiag60DegUpToFlatLongBase( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_FLAT_TO_STEEP_DIAGONAL + 16)), { -16, -16, height }, { { -16, -16, height + 0 }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 10, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 10, height + 0, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 10, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 10, height + 0, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -18601,7 +18601,7 @@ static void LatticeTriangleTrackDiag60DegUpToFlatLongBase( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_FLAT_TO_STEEP_DIAGONAL + 23)), { -16, -16, height }, { { -16, -16, height + 24 }, { 24, 24, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 10, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 10, height + 0, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -18656,7 +18656,7 @@ static void LatticeTriangleTrackDiag60DegUpToFlatLongBase( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 3, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 3, height + 0, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -18664,15 +18664,15 @@ static void LatticeTriangleTrackDiag60DegUpToFlatLongBase( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_FLAT_TO_STEEP_DIAGONAL + 17)), { -16, -16, height }, { { -16, -16, height + 0 }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 3, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 3, height + 0, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 3, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 3, height + 0, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 3, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 3, height + 0, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -18752,7 +18752,7 @@ static void LatticeTriangleTrackDiagFlatTo60DegDownLongBase( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 24, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 24, height + 0, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -18760,11 +18760,11 @@ static void LatticeTriangleTrackDiagFlatTo60DegDownLongBase( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_FLAT_TO_STEEP_DIAGONAL + 23)), { -16, -16, height }, { { -16, -16, height + 24 }, { 24, 24, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 24, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 24, height + 0, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 24, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 24, height + 0, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -18772,7 +18772,7 @@ static void LatticeTriangleTrackDiagFlatTo60DegDownLongBase( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_FLAT_TO_STEEP_DIAGONAL + 16)), { -16, -16, height }, { { -16, -16, height + 0 }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 24, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 24, height + 0, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -18827,7 +18827,7 @@ static void LatticeTriangleTrackDiagFlatTo60DegDownLongBase( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 58, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 58, height + 0, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -18835,11 +18835,11 @@ static void LatticeTriangleTrackDiagFlatTo60DegDownLongBase( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_FLAT_TO_STEEP_DIAGONAL + 22)), { -16, -16, height }, { { -8, -8, height + 56 }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 58, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 58, height + 0, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 58, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 58, height + 0, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -18847,7 +18847,7 @@ static void LatticeTriangleTrackDiagFlatTo60DegDownLongBase( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_FLAT_TO_STEEP_DIAGONAL + 15)), { -16, -16, height }, { { -16, -16, height + 0 }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 58, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 58, height + 0, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -18902,7 +18902,7 @@ static void LatticeTriangleTrackDiagFlatTo60DegDownLongBase( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 14, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 14, height + 0, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -18910,15 +18910,15 @@ static void LatticeTriangleTrackDiagFlatTo60DegDownLongBase( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_FLAT_TO_STEEP_DIAGONAL + 21)), { -16, -16, height }, { { -8, -8, height + 0 }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 14, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 14, height + 0, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 14, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 14, height + 0, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 14, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 14, height + 0, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -18998,7 +18998,7 @@ static void LatticeTriangleTrackDiag60DegDownToFlatLongBase( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 38, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 38, height + 0, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -19006,11 +19006,11 @@ static void LatticeTriangleTrackDiag60DegDownToFlatLongBase( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_FLAT_TO_STEEP_DIAGONAL + 11)), { -16, -16, height }, { { -16, -16, height + 32 }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 38, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 38, height + 0, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 38, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 38, height + 0, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -19018,7 +19018,7 @@ static void LatticeTriangleTrackDiag60DegDownToFlatLongBase( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_FLAT_TO_STEEP_DIAGONAL + 4)), { -16, -16, height }, { { -16, -16, height + 0 }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 38, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 38, height + 0, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -19073,7 +19073,7 @@ static void LatticeTriangleTrackDiag60DegDownToFlatLongBase( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 12, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 12, height + 0, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -19081,11 +19081,11 @@ static void LatticeTriangleTrackDiag60DegDownToFlatLongBase( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_FLAT_TO_STEEP_DIAGONAL + 10)), { -16, -16, height }, { { -8, -8, height + 8 }, { 24, 24, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 12, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 12, height + 0, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 12, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 12, height + 0, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -19093,7 +19093,7 @@ static void LatticeTriangleTrackDiag60DegDownToFlatLongBase( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_FLAT_TO_STEEP_DIAGONAL + 3)), { -16, -16, height }, { { -16, -16, height + 0 }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 12, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 12, height + 0, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -19148,7 +19148,7 @@ static void LatticeTriangleTrackDiag60DegDownToFlatLongBase( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 0, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -19156,15 +19156,15 @@ static void LatticeTriangleTrackDiag60DegDownToFlatLongBase( session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_FLAT_TO_STEEP_DIAGONAL + 9)), { -16, -16, height }, { { -16, -16, height + 0 }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 0, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 0, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + 0, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -19249,28 +19249,28 @@ static void LatticeTriangleTrackLeftEighthDiveLoopUpToOrthogonal( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_DIVE_LOOP + 1)), { -16, -16, height }, { { 0, 31, height + 0 }, { 32, 1, 64 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 4, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 4, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_DIVE_LOOP + 5)), { -16, -16, height }, { { 0, 31, height + 0 }, { 32, 1, 64 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 4, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 4, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_DIVE_LOOP + 9)), { -16, -16, height }, { { 2, 2, height + 4 }, { 28, 28, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 4, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 4, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_DIVE_LOOP + 13)), { -16, -16, height }, { { 2, 2, height + 12 }, { 28, 28, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + 4, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + 4, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -19333,28 +19333,28 @@ static void LatticeTriangleTrackLeftEighthDiveLoopUpToOrthogonal( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_DIVE_LOOP + 3)), { -16, -16, height }, { { 0, 6, height + 36 }, { 32, 20, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 44, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 44, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_DIVE_LOOP + 7)), { -16, -16, height }, { { 0, 6, height + 36 }, { 32, 20, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 44, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 44, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_DIVE_LOOP + 11)), { -16, -16, height }, { { 0, 6, height + 36 }, { 32, 20, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 44, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 44, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_DIVE_LOOP + 15)), { -16, -16, height }, { { 0, 6, height + 36 }, { 32, 20, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 44, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 44, session.SupportColours); break; } PaintUtilSetGeneralSupportHeight(session, height + 56); @@ -19433,28 +19433,28 @@ static void LatticeTriangleTrackRightEighthDiveLoopUpToOrthogonal( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_DIVE_LOOP + 17)), { -16, -16, height }, { { 2, 2, height + 4 }, { 28, 28, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 4, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 4, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_DIVE_LOOP + 21)), { -16, -16, height }, { { 31, 0, height + 0 }, { 1, 32, 64 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 4, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 4, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_DIVE_LOOP + 25)), { -16, -16, height }, { { 31, 0, height + 0 }, { 1, 32, 64 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 4, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 4, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_DIVE_LOOP + 29)), { -16, -16, height }, { { 2, 2, height + 12 }, { 28, 28, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + 4, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + 4, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -19517,28 +19517,28 @@ static void LatticeTriangleTrackRightEighthDiveLoopUpToOrthogonal( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_DIVE_LOOP + 19)), { -16, -16, height }, { { 6, 0, height + 36 }, { 20, 32, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 44, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 44, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_DIVE_LOOP + 23)), { -16, -16, height }, { { 6, 0, height + 36 }, { 20, 32, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 44, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 44, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_DIVE_LOOP + 27)), { -16, -16, height }, { { 6, 0, height + 36 }, { 20, 32, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 44, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 44, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_LATTICE_TRIANGLE_TRACK_DIVE_LOOP + 31)), { -16, -16, height }, { { 6, 0, height + 36 }, { 20, 32, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 44, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 44, session.SupportColours); break; } PaintUtilSetGeneralSupportHeight(session, height + 56); diff --git a/src/openrct2/paint/track/coaster/LatticeTriangleTrackAlt.cpp b/src/openrct2/paint/track/coaster/LatticeTriangleTrackAlt.cpp index 5fa9f603c5..acf7929b11 100644 --- a/src/openrct2/paint/track/coaster/LatticeTriangleTrackAlt.cpp +++ b/src/openrct2/paint/track/coaster/LatticeTriangleTrackAlt.cpp @@ -91,7 +91,7 @@ static void LatticeTriangleTrackAltStation( else if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height, session.SupportColours); } TrackPaintUtilDrawStationTunnel(session, direction, height); PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0); @@ -110,7 +110,7 @@ static void LatticeTriangleTrackAltBrakes( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, MetalSupportType::Tubes, MetalSupportPlace::Centre, 0, height, session.SupportColours); + session, MetalSupportType::Tubes, MetalSupportPlace::centre, 0, height, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); @@ -129,7 +129,7 @@ static void LatticeTriangleTrackAltBlockBrakes( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, MetalSupportType::Tubes, MetalSupportPlace::Centre, 0, height, session.SupportColours); + session, MetalSupportType::Tubes, MetalSupportPlace::centre, 0, height, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); @@ -166,7 +166,7 @@ static void LatticeTriangleTrackAltBooster( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, MetalSupportType::Tubes, MetalSupportPlace::Centre, 0, height, session.SupportColours); + session, MetalSupportType::Tubes, MetalSupportPlace::centre, 0, height, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); @@ -183,7 +183,7 @@ static void LatticeTriangleTrackAltPoweredLift( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); } if (direction == 0 || direction == 3) { diff --git a/src/openrct2/paint/track/coaster/LayDownRollerCoasterInverted.cpp b/src/openrct2/paint/track/coaster/LayDownRollerCoasterInverted.cpp index 6e7f55487f..6bbb8f0712 100644 --- a/src/openrct2/paint/track/coaster/LayDownRollerCoasterInverted.cpp +++ b/src/openrct2/paint/track/coaster/LayDownRollerCoasterInverted.cpp @@ -100,7 +100,7 @@ static void LayDownRCTrackFlat( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -200,19 +200,19 @@ static void LayDownRCTrack25DegUp( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 51, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 51, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 51, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 51, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 51, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 51, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 51, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 51, session.SupportColours); break; } } @@ -333,19 +333,19 @@ static void LayDownRCTrackFlatTo25DegUp( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 43, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 43, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 43, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 43, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 43, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 43, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 43, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 43, session.SupportColours); break; } } @@ -449,19 +449,19 @@ static void LayDownRCTrack60DegUpTo25DegUp( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 65, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 65, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 65, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 65, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 65, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 65, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 65, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 65, session.SupportColours); break; } } @@ -542,19 +542,19 @@ static void LayDownRCTrack25DegUpToFlat( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 41, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 41, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 41, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 41, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 41, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 41, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 41, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 41, session.SupportColours); break; } } @@ -659,7 +659,7 @@ static void LayDownRCTrackLeftQuarterTurn5( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); if (direction == 0 || direction == 3) { @@ -807,7 +807,7 @@ static void LayDownRCTrackLeftQuarterTurn5( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); switch (direction) { @@ -872,7 +872,7 @@ static void LayDownRCTrackFlatToLeftBank( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -919,7 +919,7 @@ static void LayDownRCTrackFlatToRightBank( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -966,7 +966,7 @@ static void LayDownRCTrackLeftBankToFlat( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -1013,7 +1013,7 @@ static void LayDownRCTrackRightBankToFlat( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -1061,7 +1061,7 @@ static void LayDownRCTrackBankedLeftQuarterTurn5( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); if (direction == 0 || direction == 3) { @@ -1204,7 +1204,7 @@ static void LayDownRCTrackBankedLeftQuarterTurn5( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); switch (direction) { @@ -1272,19 +1272,19 @@ static void LayDownRCTrackLeftBankTo25DegUp( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 41, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 41, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 41, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 41, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 41, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 41, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 41, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 41, session.SupportColours); break; } } @@ -1343,19 +1343,19 @@ static void LayDownRCTrackRightBankTo25DegUp( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 41, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 41, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 41, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 41, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 41, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 41, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 41, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 41, session.SupportColours); break; } } @@ -1414,19 +1414,19 @@ static void LayDownRCTrack25DegUpToLeftBank( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 41, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 41, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 41, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 41, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 41, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 41, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 41, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 41, session.SupportColours); break; } } @@ -1485,19 +1485,19 @@ static void LayDownRCTrack25DegUpToRightBank( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 41, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 41, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 41, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 41, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 41, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 41, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 41, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 41, session.SupportColours); break; } } @@ -1585,7 +1585,7 @@ static void LayDownRCTrackLeftBank( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -1637,7 +1637,7 @@ static void LayDownRCTrackLeftQuarterTurn525DegUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 43, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 43, session.SupportColours); if (direction == 0 || direction == 3) { @@ -1769,7 +1769,7 @@ static void LayDownRCTrackLeftQuarterTurn525DegUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 43, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 43, session.SupportColours); switch (direction) { @@ -1822,7 +1822,7 @@ static void LayDownRCTrackRightQuarterTurn525DegUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 43, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 43, session.SupportColours); if (direction == 0 || direction == 3) { @@ -1954,7 +1954,7 @@ static void LayDownRCTrackRightQuarterTurn525DegUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 43, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 43, session.SupportColours); switch (direction) { @@ -2364,7 +2364,7 @@ static void LayDownRCTrackLeftQuarterTurn3( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); if (direction == 0 || direction == 3) { @@ -2441,7 +2441,7 @@ static void LayDownRCTrackLeftQuarterTurn3( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); switch (direction) { @@ -2507,7 +2507,7 @@ static void LayDownRCTrackLeftQuarterTurn3Bank( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); if (direction == 0 || direction == 3) { @@ -2584,7 +2584,7 @@ static void LayDownRCTrackLeftQuarterTurn3Bank( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); switch (direction) { @@ -2646,7 +2646,7 @@ static void LayDownRCTrackLeftQuarterTurn325DegUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 41, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 41, session.SupportColours); if (direction == 0 || direction == 3) { @@ -2690,7 +2690,7 @@ static void LayDownRCTrackLeftQuarterTurn325DegUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 41, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 41, session.SupportColours); switch (direction) { @@ -2743,7 +2743,7 @@ static void LayDownRCTrackRightQuarterTurn325DegUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 41, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 41, session.SupportColours); if (direction == 0 || direction == 3) { @@ -2787,7 +2787,7 @@ static void LayDownRCTrackRightQuarterTurn325DegUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 41, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 41, session.SupportColours); switch (direction) { @@ -2958,7 +2958,7 @@ static void LayDownRCTrackBrakes( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -3033,7 +3033,7 @@ static void LayDownRCTrackLeftEighthToDiag( PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); if (direction == 0 || direction == 3) { @@ -3155,22 +3155,22 @@ static void LayDownRCTrackLeftEighthToDiag( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + kSupportHeight, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + kSupportHeight, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + kSupportHeight, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + kSupportHeight, session.SupportColours); break; } @@ -3215,7 +3215,7 @@ static void LayDownRCTrackRightEighthToDiag( PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); if (direction == 0 || direction == 3) { @@ -3338,22 +3338,22 @@ static void LayDownRCTrackRightEighthToDiag( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + kSupportHeight, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + kSupportHeight, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + kSupportHeight, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + kSupportHeight, session.SupportColours); break; } @@ -3421,7 +3421,7 @@ static void LayDownRCTrackLeftEighthBankToDiag( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); if (direction == 0 || direction == 3) { @@ -3543,22 +3543,22 @@ static void LayDownRCTrackLeftEighthBankToDiag( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + kSupportHeight, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + kSupportHeight, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + kSupportHeight, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + kSupportHeight, session.SupportColours); break; } @@ -3607,7 +3607,7 @@ static void LayDownRCTrackRightEighthBankToDiag( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); if (direction == 0 || direction == 3) { @@ -3730,22 +3730,22 @@ static void LayDownRCTrackRightEighthBankToDiag( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + kSupportHeight, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + kSupportHeight, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + kSupportHeight, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + kSupportHeight, session.SupportColours); break; } @@ -3794,7 +3794,7 @@ static void LayDownRCTrackDiagFlat( if (trackSequence == 3) MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 0, height + kSupportHeight, session.SupportColours); PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight); @@ -3975,19 +3975,19 @@ static void LayDownRCTrackDiag25DegUp( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 45, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 45, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 45, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 45, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 45, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 45, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + 45, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + 45, session.SupportColours); break; } @@ -4075,22 +4075,22 @@ static void LayDownRCTrackDiag60DegUp( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 32, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::leftCorner, 32, height + kSupportHeight, session.SupportColours); break; case 1: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 36, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::topCorner, 36, height + kSupportHeight, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 32, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::rightCorner, 32, height + kSupportHeight, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 36, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::bottomCorner, 36, height + kSupportHeight, session.SupportColours); break; } @@ -4235,19 +4235,19 @@ static void LayDownRCTrackDiagFlatTo25DegUp( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 37, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 37, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 37, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 37, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 37, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 37, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + 37, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + 37, session.SupportColours); break; } @@ -4335,22 +4335,22 @@ static void LayDownRCTrackDiag25DegUpTo60DegUp( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 16, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::leftCorner, 16, height + kSupportHeight, session.SupportColours); break; case 1: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 16, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::topCorner, 16, height + kSupportHeight, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 16, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::rightCorner, 16, height + kSupportHeight, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 16, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::bottomCorner, 16, height + kSupportHeight, session.SupportColours); break; } @@ -4439,22 +4439,22 @@ static void LayDownRCTrackDiag60DegUpTo25DegUp( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 21, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::leftCorner, 21, height + kSupportHeight, session.SupportColours); break; case 1: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 21, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::topCorner, 21, height + kSupportHeight, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 21, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::rightCorner, 21, height + kSupportHeight, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 21, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::bottomCorner, 21, height + kSupportHeight, session.SupportColours); break; } @@ -4599,19 +4599,19 @@ static void LayDownRCTrackDiag25DegUpToFlat( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 39, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 39, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 39, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 39, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 39, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 39, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + 39, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + 39, session.SupportColours); break; } @@ -4699,19 +4699,19 @@ static void LayDownRCTrackDiag25DegDown( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 45, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 45, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 45, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 45, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 45, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 45, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + 45, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + 45, session.SupportColours); break; } @@ -4799,22 +4799,22 @@ static void LayDownRCTrackDiag60DegDown( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 24, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::leftCorner, 24, height + kSupportHeight, session.SupportColours); break; case 1: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 28, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::topCorner, 28, height + kSupportHeight, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 24, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::rightCorner, 24, height + kSupportHeight, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 28, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::bottomCorner, 28, height + kSupportHeight, session.SupportColours); break; } @@ -4900,19 +4900,19 @@ static void LayDownRCTrackDiagFlatTo25DegDown( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 39, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 39, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 39, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 39, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 39, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 39, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + 39, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + 39, session.SupportColours); break; } break; @@ -5000,22 +5000,22 @@ static void LayDownRCTrackDiag25DegDownTo60DegDown( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 17, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::leftCorner, 17, height + kSupportHeight, session.SupportColours); break; case 1: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 17, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::topCorner, 17, height + kSupportHeight, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 17, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::rightCorner, 17, height + kSupportHeight, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 17, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::bottomCorner, 17, height + kSupportHeight, session.SupportColours); break; } @@ -5104,22 +5104,22 @@ static void LayDownRCTrackDiag60DegDownTo25DegDown( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 8, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::leftCorner, 8, height + kSupportHeight, session.SupportColours); break; case 1: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 8, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::topCorner, 8, height + kSupportHeight, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 8, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::rightCorner, 8, height + kSupportHeight, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 8, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::bottomCorner, 8, height + kSupportHeight, session.SupportColours); break; } @@ -5208,19 +5208,19 @@ static void LayDownRCTrackDiag25DegDownToFlat( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 37, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 37, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 37, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 37, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 37, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 37, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + 37, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + 37, session.SupportColours); break; } @@ -5310,22 +5310,22 @@ static void LayDownRCTrackDiagFlatToLeftBank( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + kSupportHeight, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + kSupportHeight, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + kSupportHeight, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + kSupportHeight, session.SupportColours); break; } @@ -5416,22 +5416,22 @@ static void LayDownRCTrackDiagFlatToRightBank( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + kSupportHeight, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + kSupportHeight, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + kSupportHeight, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + kSupportHeight, session.SupportColours); break; } @@ -5522,22 +5522,22 @@ static void LayDownRCTrackDiagLeftBankToFlat( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + kSupportHeight, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + kSupportHeight, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + kSupportHeight, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + kSupportHeight, session.SupportColours); break; } @@ -5628,22 +5628,22 @@ static void LayDownRCTrackDiagRightBankToFlat( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + kSupportHeight, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + kSupportHeight, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + kSupportHeight, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + kSupportHeight, session.SupportColours); break; } @@ -5732,19 +5732,19 @@ static void LayDownRCTrackDiagLeftBankTo25DegUp( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 37, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 37, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 37, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 37, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 37, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 37, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + 37, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + 37, session.SupportColours); break; } @@ -5832,19 +5832,19 @@ static void LayDownRCTrackDiagRightBankTo25DegUp( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 37, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 37, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 37, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 37, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 37, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 37, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + 37, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + 37, session.SupportColours); break; } @@ -5932,19 +5932,19 @@ static void LayDownRCTrackDiag25DegUpToLeftBank( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 39, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 39, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 39, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 39, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 39, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 39, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + 39, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + 39, session.SupportColours); break; } @@ -6032,19 +6032,19 @@ static void LayDownRCTrackDiag25DegUpToRightBank( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 39, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 39, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 39, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 39, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 39, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 39, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + 39, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + 39, session.SupportColours); break; } @@ -6129,19 +6129,19 @@ static void LayDownRCTrackDiagLeftBankTo25DegDown( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 39, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 39, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 39, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 39, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 39, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 39, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + 39, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + 39, session.SupportColours); break; } break; @@ -6226,19 +6226,19 @@ static void LayDownRCTrackDiagRightBankTo25DegDown( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 39, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 39, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 39, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 39, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 39, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 39, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + 39, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + 39, session.SupportColours); break; } break; @@ -6326,19 +6326,19 @@ static void LayDownRCTrackDiag25DegDownToLeftBank( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 37, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 37, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 37, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 37, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 37, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 37, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + 37, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + 37, session.SupportColours); break; } @@ -6426,19 +6426,19 @@ static void LayDownRCTrackDiag25DegDownToRightBank( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 37, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 37, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 37, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 37, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 37, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 37, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + 37, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + 37, session.SupportColours); break; } @@ -6528,22 +6528,22 @@ static void LayDownRCTrackDiagLeftBank( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + kSupportHeight, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + kSupportHeight, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + kSupportHeight, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + kSupportHeight, session.SupportColours); break; } @@ -6634,22 +6634,22 @@ static void LayDownRCTrackDiagRightBank( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + kSupportHeight, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + kSupportHeight, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + kSupportHeight, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + kSupportHeight, + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + kSupportHeight, session.SupportColours); break; } @@ -6697,7 +6697,7 @@ static void LayDownRCTrackLeftFlyerTwistDown( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); if (direction == 0 || direction == 3) { @@ -6756,7 +6756,7 @@ static void LayDownRCTrackLeftFlyerTwistDown( session, direction, session.TrackColours.WithIndex(26978), { 0, 6, height }, { 32, 20, 3 }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); switch (direction) { case 1: @@ -6816,7 +6816,7 @@ static void LayDownRCTrackRightFlyerTwistDown( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); if (direction == 0 || direction == 3) { @@ -6874,7 +6874,7 @@ static void LayDownRCTrackRightFlyerTwistDown( session, direction, session.TrackColours.WithIndex(26990), { 0, 6, height }, { 32, 20, 3 }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); switch (direction) { case 1: @@ -6972,27 +6972,27 @@ static void LayDownRCTrackFlyerHalfLoopDown( session, direction, session.TrackColours.WithIndex(16595), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 20, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 20, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16603), { 0, 14, height }, { { 28, 6, height }, { 3, 20, 63 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 15, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 15, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16600), { 0, 6, height }, { { 28, 6, height }, { 3, 20, 63 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 16, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16608), { 0, 6, height }, { 32, 20, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 16, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0); @@ -7018,7 +7018,7 @@ static void LayDownRCTrackFlyerHalfLoopDown( session, direction, session.TrackColours.WithIndex(16609), { 0, 6, height }, { 32, 20, 7 }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -7071,7 +7071,7 @@ static void LayDownRCTrackLeftFlyerCorkscrewDown( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 35, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 35, session.SupportColours); if (direction == 0 || direction == 3) { @@ -7130,7 +7130,7 @@ static void LayDownRCTrackLeftFlyerCorkscrewDown( { { 6, 0, height + 4 }, { 20, 32, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); switch (direction) { case 2: @@ -7188,7 +7188,7 @@ static void LayDownRCTrackBlockBrakes( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + kSupportHeight, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + kSupportHeight, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -7235,7 +7235,7 @@ static void LayDownRCTrackLeftQuarterBankedHelixLargeUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 39, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 39, session.SupportColours); if (direction == 0 || direction == 3) { @@ -7383,7 +7383,7 @@ static void LayDownRCTrackLeftQuarterBankedHelixLargeUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 51, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 51, session.SupportColours); switch (direction) { @@ -7439,7 +7439,7 @@ static void LayDownRCTrackRightQuarterBankedHelixLargeUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 39, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 39, session.SupportColours); if (direction == 0 || direction == 3) { @@ -7587,7 +7587,7 @@ static void LayDownRCTrackRightQuarterBankedHelixLargeUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 51, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 51, session.SupportColours); switch (direction) { @@ -7643,7 +7643,7 @@ static void LayDownRCTrackLeftQuarterBankedHelixLargeDown( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 51, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 51, session.SupportColours); if (direction == 0 || direction == 3) { @@ -7791,7 +7791,7 @@ static void LayDownRCTrackLeftQuarterBankedHelixLargeDown( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 39, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 39, session.SupportColours); switch (direction) { @@ -7847,7 +7847,7 @@ static void LayDownRCTrackRightQuarterBankedHelixLargeDown( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 51, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 51, session.SupportColours); if (direction == 0 || direction == 3) { @@ -7995,7 +7995,7 @@ static void LayDownRCTrackRightQuarterBankedHelixLargeDown( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 39, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 39, session.SupportColours); switch (direction) { @@ -8048,19 +8048,19 @@ static void LayDownRCTrackHalfLoopInvertedUp( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 56, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 56, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 56, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 56, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 56, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 56, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 56, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 56, session.SupportColours); break; } diff --git a/src/openrct2/paint/track/coaster/LimLaunchedRollerCoaster.cpp b/src/openrct2/paint/track/coaster/LimLaunchedRollerCoaster.cpp index c17cb43335..3f9622dc2c 100644 --- a/src/openrct2/paint/track/coaster/LimLaunchedRollerCoaster.cpp +++ b/src/openrct2/paint/track/coaster/LimLaunchedRollerCoaster.cpp @@ -70,7 +70,7 @@ static void LimLaunchedRCTrackStation( else if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height, session.SupportColours); } TrackPaintUtilDrawStationTunnel(session, direction, height); PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0); @@ -91,25 +91,25 @@ static void LimLaunchedRCTrackLeftVerticalLoop( PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(15388), { 0, 6, height }, { 32, 20, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(15396), { 0, 6, height }, { 32, 20, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(15395), { 0, 6, height }, { 32, 20, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(15403), { 0, 6, height }, { 32, 20, 7 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); break; } if (direction == 0 || direction == 3) @@ -323,25 +323,25 @@ static void LimLaunchedRCTrackLeftVerticalLoop( PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(15395), { 0, 6, height }, { 32, 20, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(15403), { 0, 6, height }, { 32, 20, 7 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(15388), { 0, 6, height }, { 32, 20, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(15396), { 0, 6, height }, { 32, 20, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; } switch (direction) @@ -393,7 +393,7 @@ static void LimLaunchedRCTrackRightVerticalLoop( session, direction, session.TrackColours.WithIndex(15404), { 0, 6, height }, { 32, 20, 3 }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -566,7 +566,7 @@ static void LimLaunchedRCTrackRightVerticalLoop( session, direction, session.TrackColours.WithIndex(15411), { 0, 6, height }, { 32, 20, 3 }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); switch (direction) { case 1: @@ -626,7 +626,7 @@ static void LimLaunchedRCTrackLeftTwistDownToUp( { { 0, 6, height + 28 }, { 32, 20, 0 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -788,7 +788,7 @@ static void LimLaunchedRCTrackRightTwistDownToUp( { { 0, 6, height + 28 }, { 32, 20, 0 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -1046,7 +1046,7 @@ static void LimLaunchedRCTrackLeftTwistUpToDown( { { 0, 6, height + 28 }, { 32, 20, 0 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); switch (direction) { case 1: @@ -1208,7 +1208,7 @@ static void LimLaunchedRCTrackRightTwistUpToDown( { { 0, 6, height + 28 }, { 32, 20, 0 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); switch (direction) { case 1: @@ -1332,7 +1332,7 @@ static void LimLaunchedRCTrackLeftCorkscrewUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 35, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 35, session.SupportColours); switch (direction) { @@ -1379,7 +1379,7 @@ static void LimLaunchedRCTrackRightCorkscrewUp( { { 0, 6, height + 4 }, { 32, 20, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -1455,7 +1455,7 @@ static void LimLaunchedRCTrackRightCorkscrewUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 35, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 35, session.SupportColours); switch (direction) { @@ -1510,7 +1510,7 @@ static void LimLaunchedRCTrackBrakes( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); @@ -1832,7 +1832,7 @@ static void LimLaunchedRCTrackBlockBrakes( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); @@ -1967,7 +1967,7 @@ static void LimLaunchedRCTrackLeftBarrelRollUpToDown( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_LIM_LAUNCHED_TRACK_BARREL_ROLL + 1), { 0, 0, height }, { { 0, 6, height + 28 }, { 32, 20, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 4, height + 1, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 4, height + 1, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -1977,7 +1977,7 @@ static void LimLaunchedRCTrackLeftBarrelRollUpToDown( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_LIM_LAUNCHED_TRACK_BARREL_ROLL + 7), { 0, 0, height }, { { 0, 6, height + 28 }, { 32, 20, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 4, height + 1, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 4, height + 1, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -1987,7 +1987,7 @@ static void LimLaunchedRCTrackLeftBarrelRollUpToDown( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_LIM_LAUNCHED_TRACK_BARREL_ROLL + 13), { 0, 0, height }, { { 0, 6, height + 28 }, { 32, 20, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 1, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 1, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -1997,7 +1997,7 @@ static void LimLaunchedRCTrackLeftBarrelRollUpToDown( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_LIM_LAUNCHED_TRACK_BARREL_ROLL + 19), { 0, 0, height }, { { 0, 6, height + 28 }, { 32, 20, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; } if (direction == 0 || direction == 3) @@ -2135,7 +2135,7 @@ static void LimLaunchedRCTrackRightBarrelRollUpToDown( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_LIM_LAUNCHED_TRACK_BARREL_ROLL + 25), { 0, 0, height }, { { 0, 6, height + 28 }, { 32, 20, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -2145,7 +2145,7 @@ static void LimLaunchedRCTrackRightBarrelRollUpToDown( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_LIM_LAUNCHED_TRACK_BARREL_ROLL + 31), { 0, 0, height }, { { 0, 6, height + 28 }, { 32, 20, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 1, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 1, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -2155,7 +2155,7 @@ static void LimLaunchedRCTrackRightBarrelRollUpToDown( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_LIM_LAUNCHED_TRACK_BARREL_ROLL + 37), { 0, 0, height }, { { 0, 6, height + 28 }, { 32, 20, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 4, height + 1, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 4, height + 1, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -2165,7 +2165,7 @@ static void LimLaunchedRCTrackRightBarrelRollUpToDown( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_LIM_LAUNCHED_TRACK_BARREL_ROLL + 43), { 0, 0, height }, { { 0, 6, height + 28 }, { 32, 20, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 4, height + 1, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 4, height + 1, session.SupportColours); break; } if (direction == 0 || direction == 3) @@ -2332,7 +2332,7 @@ static void LimLaunchedRCTrackHalfLoopUp( { 0, 6, height }, { 32, 20, 7 }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -2349,28 +2349,28 @@ static void LimLaunchedRCTrackHalfLoopUp( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_LIM_LAUNCHED_TRACK_HALF_LOOP + 1), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 20, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 20, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_LIM_LAUNCHED_TRACK_HALF_LOOP + 5), { 0, 14, height }, { { 28, 6, height }, { 3, 20, 63 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 15, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 15, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_LIM_LAUNCHED_TRACK_HALF_LOOP + 9), { 0, 6, height }, { { 28, 6, height }, { 3, 20, 63 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 16, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_LIM_LAUNCHED_TRACK_HALF_LOOP + 13), { 0, 6, height }, { 32, 20, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 16, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0); @@ -2485,7 +2485,7 @@ static void LimLaunchedRCTrackFlatTo60DegUpLongBase( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -2522,7 +2522,7 @@ static void LimLaunchedRCTrackFlatTo60DegUpLongBase( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 9, height, session.SupportColours); } PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); @@ -2555,7 +2555,7 @@ static void LimLaunchedRCTrackFlatTo60DegUpLongBase( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 10, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 10, height, session.SupportColours); } PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); @@ -2588,7 +2588,7 @@ static void LimLaunchedRCTrackFlatTo60DegUpLongBase( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 19, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 19, height, session.SupportColours); } switch (direction) { @@ -2638,7 +2638,7 @@ static void LimLaunchedRCTrack60DegUpToFlatLongBase( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 24, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 24, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -2675,7 +2675,7 @@ static void LimLaunchedRCTrack60DegUpToFlatLongBase( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 18, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 18, height, session.SupportColours); } PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); @@ -2708,7 +2708,7 @@ static void LimLaunchedRCTrack60DegUpToFlatLongBase( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 13, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 13, height, session.SupportColours); } PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); @@ -2741,7 +2741,7 @@ static void LimLaunchedRCTrack60DegUpToFlatLongBase( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 5, height, session.SupportColours); } switch (direction) { @@ -2806,7 +2806,7 @@ static void LimLaunchedRCTrackLeftLargeCorkscrewUp( break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 2, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 2, height, session.SupportColours); if (direction == 0 || direction == 3) { @@ -2830,28 +2830,28 @@ static void LimLaunchedRCTrackLeftLargeCorkscrewUp( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_LIM_LAUNCHED_TRACK_LARGE_CORKSCREW + 1), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 34, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 34, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_LIM_LAUNCHED_TRACK_LARGE_CORKSCREW + 6), { 0, 0, height }, { { 0, 29, height }, { 26, 1, 32 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 22, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 22, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_LIM_LAUNCHED_TRACK_LARGE_CORKSCREW + 11), { 0, 0, height }, { { 0, 6, height }, { 20, 20, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 24, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 24, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_LIM_LAUNCHED_TRACK_LARGE_CORKSCREW + 16), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 16, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -2915,28 +2915,28 @@ static void LimLaunchedRCTrackLeftLargeCorkscrewUp( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_LIM_LAUNCHED_TRACK_LARGE_CORKSCREW + 3), { 0, 0, height }, { { 2, 2, height + 50 }, { 28, 28, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 56, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 56, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_LIM_LAUNCHED_TRACK_LARGE_CORKSCREW + 8), { 0, 0, height }, { { 2, 2, height + 50 }, { 28, 28, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 56, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 56, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_LIM_LAUNCHED_TRACK_LARGE_CORKSCREW + 13), { 0, 0, height }, { { 2, 2, height + 50 }, { 24, 28, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 56, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 56, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_LIM_LAUNCHED_TRACK_LARGE_CORKSCREW + 18), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 56, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 56, session.SupportColours); break; } @@ -3020,7 +3020,7 @@ static void LimLaunchedRCTrackRightLargeCorkscrewUp( break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 2, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 2, height, session.SupportColours); if (direction == 0 || direction == 3) { @@ -3044,28 +3044,28 @@ static void LimLaunchedRCTrackRightLargeCorkscrewUp( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_LIM_LAUNCHED_TRACK_LARGE_CORKSCREW + 21), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 16, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_LIM_LAUNCHED_TRACK_LARGE_CORKSCREW + 26), { 0, 0, height }, { { 0, 6, height }, { 20, 20, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 24, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 24, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_LIM_LAUNCHED_TRACK_LARGE_CORKSCREW + 31), { 0, 0, height }, { { 0, 29, height }, { 26, 1, 32 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 22, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 22, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_LIM_LAUNCHED_TRACK_LARGE_CORKSCREW + 36), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 34, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 34, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -3130,28 +3130,28 @@ static void LimLaunchedRCTrackRightLargeCorkscrewUp( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_LIM_LAUNCHED_TRACK_LARGE_CORKSCREW + 23), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 56, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 56, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_LIM_LAUNCHED_TRACK_LARGE_CORKSCREW + 28), { 0, 0, height }, { { 2, 2, height + 50 }, { 24, 28, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 56, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 56, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_LIM_LAUNCHED_TRACK_LARGE_CORKSCREW + 33), { 0, 0, height }, { { 2, 2, height + 50 }, { 28, 28, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 56, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 56, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_LIM_LAUNCHED_TRACK_LARGE_CORKSCREW + 38), { 0, 0, height }, { { 2, 2, height + 50 }, { 28, 28, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 56, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 56, session.SupportColours); break; } PaintUtilSetGeneralSupportHeight(session, height + 64); @@ -3250,7 +3250,7 @@ static void LimLaunchedRCTrackLeftMediumHalfLoopUp( break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 7, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 7, height, session.SupportColours); if (direction == 0 || direction == 3) { @@ -3303,28 +3303,28 @@ static void LimLaunchedRCTrackLeftMediumHalfLoopUp( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_LIM_LAUNCHED_TRACK_MEDIUM_HALF_LOOP + 2), { 0, 0, height }, { { 0, 0, height + 2 }, { 32, 32, 0 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 14, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 14, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_LIM_LAUNCHED_TRACK_MEDIUM_HALF_LOOP + 7), { 0, 0, height }, { { 29, 0, height }, { 1, 32, 96 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 16, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_LIM_LAUNCHED_TRACK_MEDIUM_HALF_LOOP + 12), { 0, 0, height }, { { 31, 0, height }, { 1, 32, 96 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 18, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 18, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_LIM_LAUNCHED_TRACK_MEDIUM_HALF_LOOP + 17), { 0, 0, height }, { { 0, 0, height }, { 32, 32, 0 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 14, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 14, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -3442,7 +3442,7 @@ static void LimLaunchedRCTrackRightMediumHalfLoopUp( break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 7, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 7, height, session.SupportColours); if (direction == 0 || direction == 3) { @@ -3495,28 +3495,28 @@ static void LimLaunchedRCTrackRightMediumHalfLoopUp( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_LIM_LAUNCHED_TRACK_MEDIUM_HALF_LOOP + 22), { 0, 0, height }, { { 0, 0, height }, { 32, 32, 0 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 14, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 14, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_LIM_LAUNCHED_TRACK_MEDIUM_HALF_LOOP + 27), { 0, 0, height }, { { 30, 16, height }, { 0, 32, 96 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 18, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 18, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_LIM_LAUNCHED_TRACK_MEDIUM_HALF_LOOP + 32), { 0, 0, height }, { { 29, 0, height }, { 0, 32, 96 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 16, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_LIM_LAUNCHED_TRACK_MEDIUM_HALF_LOOP + 37), { 0, 0, height }, { { 0, 0, height + 2 }, { 32, 32, 0 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 14, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 14, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -3634,7 +3634,7 @@ static void LimLaunchedRCTrackLeftZeroGRollUp( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_LIM_LAUNCHED_TRACK_ZERO_G_ROLL + 1), { 0, 0, height }, { { 0, 6, height + 28 }, { 32, 20, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -3644,21 +3644,21 @@ static void LimLaunchedRCTrackLeftZeroGRollUp( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_LIM_LAUNCHED_TRACK_ZERO_G_ROLL + 5), { 0, 0, height }, { { 0, 31, height }, { 32, 1, 32 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_LIM_LAUNCHED_TRACK_ZERO_G_ROLL + 8), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_LIM_LAUNCHED_TRACK_ZERO_G_ROLL + 12), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 14, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 14, height, session.SupportColours); break; } @@ -3752,7 +3752,7 @@ static void LimLaunchedRCTrackLeftZeroGRollUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 38, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 38, session.SupportColours); PaintUtilSetGeneralSupportHeight(session, height + 40); break; } @@ -3772,14 +3772,14 @@ static void LimLaunchedRCTrackRightZeroGRollUp( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_LIM_LAUNCHED_TRACK_ZERO_G_ROLL + 16), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 14, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 14, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_LIM_LAUNCHED_TRACK_ZERO_G_ROLL + 20), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -3789,7 +3789,7 @@ static void LimLaunchedRCTrackRightZeroGRollUp( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_LIM_LAUNCHED_TRACK_ZERO_G_ROLL + 25), { 0, 0, height }, { { 0, 31, height }, { 32, 1, 32 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -3799,7 +3799,7 @@ static void LimLaunchedRCTrackRightZeroGRollUp( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_LIM_LAUNCHED_TRACK_ZERO_G_ROLL + 29), { 0, 0, height }, { { 0, 6, height + 28 }, { 32, 20, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); break; } if (direction == 0 || direction == 3) @@ -3892,7 +3892,7 @@ static void LimLaunchedRCTrackRightZeroGRollUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 38, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 38, session.SupportColours); PaintUtilSetGeneralSupportHeight(session, height + 40); break; } @@ -3948,7 +3948,7 @@ static void LimLaunchedRCTrackLeftLargeZeroGRollUp( { { 0, 6, height }, { 32, 20, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 25, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 25, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -4046,14 +4046,14 @@ static void LimLaunchedRCTrackLeftLargeZeroGRollUp( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_LIM_LAUNCHED_TRACK_LARGE_ZERO_G_ROLL + 4), { 0, 0, height }, { { 0, 26, height }, { 26, 0, 20 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 28, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 28, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_LIM_LAUNCHED_TRACK_LARGE_ZERO_G_ROLL + 8), { 0, 0, height }, { { 0, 26, height }, { 26, 0, 20 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 28, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 28, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -4065,7 +4065,7 @@ static void LimLaunchedRCTrackLeftLargeZeroGRollUp( session.TrackColours.WithIndex(SPR_TRACKS_LIM_LAUNCHED_TRACK_LARGE_ZERO_G_ROLL + 14), { 0, 0, height }, { { 0, 6, height + 40 }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 28, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 28, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -4073,7 +4073,7 @@ static void LimLaunchedRCTrackLeftLargeZeroGRollUp( session.TrackColours.WithIndex(SPR_TRACKS_LIM_LAUNCHED_TRACK_LARGE_ZERO_G_ROLL + 19), { 0, 0, height }, { { 0, 18, height }, { 32, 10, 20 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 28, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 28, session.SupportColours); break; } switch (direction) @@ -4128,7 +4128,7 @@ static void LimLaunchedRCTrackRightLargeZeroGRollUp( { { 0, 6, height }, { 32, 20, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 25, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 25, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -4233,7 +4233,7 @@ static void LimLaunchedRCTrackRightLargeZeroGRollUp( session.TrackColours.WithIndex(SPR_TRACKS_LIM_LAUNCHED_TRACK_LARGE_ZERO_G_ROLL + 24), { 0, 0, height }, { { 0, 18, height }, { 32, 10, 20 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 28, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 28, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -4245,7 +4245,7 @@ static void LimLaunchedRCTrackRightLargeZeroGRollUp( session.TrackColours.WithIndex(SPR_TRACKS_LIM_LAUNCHED_TRACK_LARGE_ZERO_G_ROLL + 30), { 0, 0, height }, { { 0, 6, height + 40 }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 28, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 28, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -4253,7 +4253,7 @@ static void LimLaunchedRCTrackRightLargeZeroGRollUp( session.TrackColours.WithIndex(SPR_TRACKS_LIM_LAUNCHED_TRACK_LARGE_ZERO_G_ROLL + 34), { 0, 0, height }, { { 0, 26, height }, { 26, 0, 20 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 28, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 28, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -4261,7 +4261,7 @@ static void LimLaunchedRCTrackRightLargeZeroGRollUp( session.TrackColours.WithIndex(SPR_TRACKS_LIM_LAUNCHED_TRACK_LARGE_ZERO_G_ROLL + 39), { 0, 0, height }, { { 0, 26, height }, { 26, 0, 20 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 28, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 28, session.SupportColours); break; } switch (direction) @@ -4332,7 +4332,7 @@ static void LimLaunchedRCTrackLeftBankToLeftQuarterTurn325DegUp( { 0, 6, height }, { 32, 20, 3 }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -4380,7 +4380,7 @@ static void LimLaunchedRCTrackLeftBankToLeftQuarterTurn325DegUp( break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height - 6, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height - 6, session.SupportColours); switch (direction) { case 2: @@ -4439,7 +4439,7 @@ static void LimLaunchedRCTrackRightBankToRightQuarterTurn325DegUp( { 0, 6, height }, { 32, 20, 3 }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -4487,7 +4487,7 @@ static void LimLaunchedRCTrackRightBankToRightQuarterTurn325DegUp( break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height - 6, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height - 6, session.SupportColours); switch (direction) { case 0: @@ -4543,7 +4543,7 @@ static void LimLaunchedRCTrackLeftQuarterTurn325DegDownToLeftBank( break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height - 6, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height - 6, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::SlopeEnd); @@ -4594,7 +4594,7 @@ static void LimLaunchedRCTrackLeftQuarterTurn325DegDownToLeftBank( { 6, 0, height }, { 20, 32, 3 }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); switch (direction) { case 2: @@ -4650,7 +4650,7 @@ static void LimLaunchedRCTrackRightQuarterTurn325DegDownToRightBank( break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height - 6, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height - 6, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::SlopeEnd); @@ -4701,7 +4701,7 @@ static void LimLaunchedRCTrackRightQuarterTurn325DegDownToRightBank( { 6, 0, height }, { 20, 32, 3 }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); switch (direction) { case 0: @@ -4752,7 +4752,7 @@ static void LimLaunchedRCTrackLeftLargeHalfLoopUp( { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -4769,28 +4769,28 @@ static void LimLaunchedRCTrackLeftLargeHalfLoopUp( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_LIM_LAUNCHED_TRACK_LARGE_HALF_LOOP + 1), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 15, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 15, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_LIM_LAUNCHED_TRACK_LARGE_HALF_LOOP + 8), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 9 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 9, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_LIM_LAUNCHED_TRACK_LARGE_HALF_LOOP + 15), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 9, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_LIM_LAUNCHED_TRACK_LARGE_HALF_LOOP + 22), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -4839,28 +4839,28 @@ static void LimLaunchedRCTrackLeftLargeHalfLoopUp( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_LIM_LAUNCHED_TRACK_LARGE_HALF_LOOP + 3), { 0, 0, height }, { { 0, 0, height }, { 32, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 28, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 28, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_LIM_LAUNCHED_TRACK_LARGE_HALF_LOOP + 10), { 0, 0, height }, { { 0, 0, height + 200 }, { 32, 16, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 28, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 28, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_LIM_LAUNCHED_TRACK_LARGE_HALF_LOOP + 17), { 0, 0, height }, { { 0, 16, height + 200 }, { 32, 16, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 28, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 28, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_LIM_LAUNCHED_TRACK_LARGE_HALF_LOOP + 24), { 0, 0, height }, { { 0, 16, height }, { 32, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 28, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 28, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -5011,7 +5011,7 @@ static void LimLaunchedRCTrackRightLargeHalfLoopUp( { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -5028,28 +5028,28 @@ static void LimLaunchedRCTrackRightLargeHalfLoopUp( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_LIM_LAUNCHED_TRACK_LARGE_HALF_LOOP + 29), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_LIM_LAUNCHED_TRACK_LARGE_HALF_LOOP + 36), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 9, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_LIM_LAUNCHED_TRACK_LARGE_HALF_LOOP + 43), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 9 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 9, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_LIM_LAUNCHED_TRACK_LARGE_HALF_LOOP + 50), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 15, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 15, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -5098,28 +5098,28 @@ static void LimLaunchedRCTrackRightLargeHalfLoopUp( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_LIM_LAUNCHED_TRACK_LARGE_HALF_LOOP + 31), { 0, 0, height }, { { 0, 16, height }, { 32, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 28, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 28, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_LIM_LAUNCHED_TRACK_LARGE_HALF_LOOP + 38), { 0, 0, height }, { { 0, 16, height + 200 }, { 32, 16, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 28, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 28, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_LIM_LAUNCHED_TRACK_LARGE_HALF_LOOP + 45), { 0, 0, height }, { { 0, 0, height + 200 }, { 32, 16, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 28, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 28, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_LIM_LAUNCHED_TRACK_LARGE_HALF_LOOP + 52), { 0, 0, height }, { { 0, 0, height }, { 32, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 28, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 28, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -5263,7 +5263,7 @@ static void LimLaunchedRCTrackFlatTo60DegUp( PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_LIM_LAUNCHED_TRACK_SMALL_FLAT_TO_STEEP + 0), { 0, 0, height }, { { 0, 2, height }, { 32, 27, 4 } }); - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -5273,7 +5273,7 @@ static void LimLaunchedRCTrackFlatTo60DegUp( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_LIM_LAUNCHED_TRACK_SMALL_FLAT_TO_STEEP + 1), { 0, 0, height }, { { 0, 4, height }, { 32, 2, 43 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 4, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 4, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -5283,13 +5283,13 @@ static void LimLaunchedRCTrackFlatTo60DegUp( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_LIM_LAUNCHED_TRACK_SMALL_FLAT_TO_STEEP + 3), { 0, 0, height }, { { 0, 4, height }, { 32, 2, 43 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 4, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 4, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_LIM_LAUNCHED_TRACK_SMALL_FLAT_TO_STEEP + 5), { 0, 0, height }, { { 0, 2, height }, { 32, 27, 4 } }); - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); break; } if (direction == 0 || direction == 3) @@ -5337,7 +5337,7 @@ static void LimLaunchedRCTrack60DegUpToFlat( { 0, 0, height }, { { 0, 2, height }, { 32, 27, 4 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 16, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 16, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -5430,7 +5430,7 @@ static void LimLaunchedRCTrackDiagFlatTo60DegUp( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 7, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -5438,15 +5438,15 @@ static void LimLaunchedRCTrackDiagFlatTo60DegUp( session.TrackColours.WithIndex(SPR_TRACKS_LIM_LAUNCHED_TRACK_SMALL_FLAT_TO_STEEP + 13), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 4 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 7, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 7, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 7, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -5526,7 +5526,7 @@ static void LimLaunchedRCTrackDiag60DegUpToFlat( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 20, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 20, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -5534,15 +5534,15 @@ static void LimLaunchedRCTrackDiag60DegUpToFlat( session.TrackColours.WithIndex(SPR_TRACKS_LIM_LAUNCHED_TRACK_SMALL_FLAT_TO_STEEP + 17), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 4 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 20, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 20, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 20, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 20, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 20, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 20, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -5622,7 +5622,7 @@ static void LimLaunchedRCTrackDiagFlatTo60DegDown( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 16, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -5630,15 +5630,15 @@ static void LimLaunchedRCTrackDiagFlatTo60DegDown( session.TrackColours.WithIndex(SPR_TRACKS_LIM_LAUNCHED_TRACK_SMALL_FLAT_TO_STEEP + 19), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 4 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 16, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 16, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 16, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -5718,7 +5718,7 @@ static void LimLaunchedRCTrackDiag60DegDownToFlat( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 5, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -5726,15 +5726,15 @@ static void LimLaunchedRCTrackDiag60DegDownToFlat( session.TrackColours.WithIndex(SPR_TRACKS_LIM_LAUNCHED_TRACK_SMALL_FLAT_TO_STEEP + 15), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 4 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 5, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 5, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 5, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -5775,7 +5775,7 @@ static void LimLaunchedRCTrackBooster( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); diff --git a/src/openrct2/paint/track/coaster/LoopingRollerCoaster.cpp b/src/openrct2/paint/track/coaster/LoopingRollerCoaster.cpp index dce46ae3ac..6cf3b9d323 100644 --- a/src/openrct2/paint/track/coaster/LoopingRollerCoaster.cpp +++ b/src/openrct2/paint/track/coaster/LoopingRollerCoaster.cpp @@ -70,7 +70,7 @@ static void LoopingRCTrackFlat( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); } } else @@ -92,7 +92,7 @@ static void LoopingRCTrackFlat( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); } } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -128,7 +128,7 @@ static void LoopingRCTrackStation( else if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height, session.SupportColours); } TrackPaintUtilDrawStationTunnel(session, direction, height); PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0); @@ -167,7 +167,7 @@ static void LoopingRCTrack25DegUp( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); } } else @@ -197,7 +197,7 @@ static void LoopingRCTrack25DegUp( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); } } if (direction == 0 || direction == 3) @@ -244,7 +244,7 @@ static void LoopingRCTrack60DegUp( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 32, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 32, height, session.SupportColours); } } else @@ -274,7 +274,7 @@ static void LoopingRCTrack60DegUp( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 32, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 32, height, session.SupportColours); } } if (direction == 0 || direction == 3) @@ -321,7 +321,7 @@ static void LoopingRCTrackFlatTo25DegUp( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); } } else @@ -351,7 +351,7 @@ static void LoopingRCTrackFlatTo25DegUp( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); } } if (direction == 0 || direction == 3) @@ -404,7 +404,7 @@ static void LoopingRCTrack25DegUpTo60DegUp( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 12, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 12, height, session.SupportColours); } } else @@ -440,7 +440,7 @@ static void LoopingRCTrack25DegUpTo60DegUp( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 12, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 12, height, session.SupportColours); } } if (direction == 0 || direction == 3) @@ -493,7 +493,7 @@ static void LoopingRCTrack60DegUpTo25DegUp( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 20, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 20, height, session.SupportColours); } } else @@ -529,7 +529,7 @@ static void LoopingRCTrack60DegUpTo25DegUp( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 20, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 20, height, session.SupportColours); } } if (direction == 0 || direction == 3) @@ -576,7 +576,7 @@ static void LoopingRCTrack25DegUpToFlat( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); } } else @@ -606,7 +606,7 @@ static void LoopingRCTrack25DegUpToFlat( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); } } if (direction == 0 || direction == 3) @@ -700,7 +700,7 @@ static void LoopingRCTrackLeftQuarterTurn5( { { 0, 6, height }, { 32, 20, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -843,7 +843,7 @@ static void LoopingRCTrackLeftQuarterTurn5( { { 6, 0, height }, { 20, 32, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); switch (direction) { case 2: @@ -909,7 +909,7 @@ static void LoopingRCTrackFlatToLeftBank( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); @@ -952,7 +952,7 @@ static void LoopingRCTrackFlatToRightBank( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); @@ -995,7 +995,7 @@ static void LoopingRCTrackLeftBankToFlat( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); @@ -1038,7 +1038,7 @@ static void LoopingRCTrackRightBankToFlat( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); @@ -1079,7 +1079,7 @@ static void LoopingRCTrackBankedLeftQuarterTurn5( { { 0, 6, height }, { 32, 20, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -1225,7 +1225,7 @@ static void LoopingRCTrackBankedLeftQuarterTurn5( { { 6, 0, height }, { 20, 32, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); switch (direction) { case 2: @@ -1291,7 +1291,7 @@ static void LoopingRCTrackLeftBankTo25DegUp( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -1341,7 +1341,7 @@ static void LoopingRCTrackRightBankTo25DegUp( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -1391,7 +1391,7 @@ static void LoopingRCTrack25DegUpToLeftBank( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -1441,7 +1441,7 @@ static void LoopingRCTrack25DegUpToRightBank( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -1517,7 +1517,7 @@ static void LoopingRCTrackLeftBank( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); @@ -1563,7 +1563,7 @@ static void LoopingRCTrackLeftQuarterTurn525DegUp( { { 0, 6, height }, { 32, 20, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -1701,7 +1701,7 @@ static void LoopingRCTrackLeftQuarterTurn525DegUp( { { 6, 0, height }, { 20, 32, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); switch (direction) { case 2: @@ -1753,7 +1753,7 @@ static void LoopingRCTrackRightQuarterTurn525DegUp( { { 0, 6, height }, { 32, 20, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -1891,7 +1891,7 @@ static void LoopingRCTrackRightQuarterTurn525DegUp( { { 6, 0, height }, { 20, 32, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); switch (direction) { case 0: @@ -2323,7 +2323,7 @@ static void LoopingRCTrackLeftVerticalLoop( session, direction, session.TrackColours.WithIndex(15364), { 16, 0, height }, { { 16, 0, height }, { 3, 16, 119 } }); MetalASupportsPaintSetupRotated( - session, MetalSupportType::Thick, MetalSupportPlace::RightCorner, DirectionReverse(direction), 0, + session, MetalSupportType::Thick, MetalSupportPlace::rightCorner, DirectionReverse(direction), 0, height - 8, session.TrackColours); break; case 1: @@ -2334,7 +2334,7 @@ static void LoopingRCTrackLeftVerticalLoop( session, direction, session.TrackColours.WithIndex(15366), { 12, 0, height }, { { 12, 0, height }, { 3, 16, 119 } }); MetalASupportsPaintSetupRotated( - session, MetalSupportType::Thick, MetalSupportPlace::RightCorner, DirectionReverse(direction), 0, + session, MetalSupportType::Thick, MetalSupportPlace::rightCorner, DirectionReverse(direction), 0, height - 8, session.TrackColours); break; case 2: @@ -2345,7 +2345,7 @@ static void LoopingRCTrackLeftVerticalLoop( session, direction, session.TrackColours.WithIndex(15365), { 10, 16, height }, { { 10, 16, height }, { 4, 16, 119 } }); MetalASupportsPaintSetupRotated( - session, MetalSupportType::Thick, MetalSupportPlace::RightCorner, DirectionReverse(direction), 0, + session, MetalSupportType::Thick, MetalSupportPlace::rightCorner, DirectionReverse(direction), 0, height - 8, session.TrackColours); break; case 3: @@ -2356,7 +2356,7 @@ static void LoopingRCTrackLeftVerticalLoop( session, direction, session.TrackColours.WithIndex(15367), { 16, 16, height }, { { 16, 16, height }, { 2, 16, 119 } }); MetalASupportsPaintSetupRotated( - session, MetalSupportType::Thick, MetalSupportPlace::RightCorner, DirectionReverse(direction), 0, + session, MetalSupportType::Thick, MetalSupportPlace::rightCorner, DirectionReverse(direction), 0, height - 8, session.TrackColours); break; } @@ -2445,7 +2445,7 @@ static void LoopingRCTrackLeftVerticalLoop( session, direction, session.TrackColours.WithIndex(15365), { 10, 16, height }, { { 10, 16, height }, { 4, 16, 119 } }); MetalASupportsPaintSetupRotated( - session, MetalSupportType::Thick, MetalSupportPlace::RightCorner, direction, 0, height - 8, + session, MetalSupportType::Thick, MetalSupportPlace::rightCorner, direction, 0, height - 8, session.TrackColours); break; case 1: @@ -2456,7 +2456,7 @@ static void LoopingRCTrackLeftVerticalLoop( session, direction, session.TrackColours.WithIndex(15367), { 16, 16, height }, { { 16, 16, height }, { 2, 16, 119 } }); MetalASupportsPaintSetupRotated( - session, MetalSupportType::Thick, MetalSupportPlace::RightCorner, direction, 0, height - 8, + session, MetalSupportType::Thick, MetalSupportPlace::rightCorner, direction, 0, height - 8, session.TrackColours); break; case 2: @@ -2467,7 +2467,7 @@ static void LoopingRCTrackLeftVerticalLoop( session, direction, session.TrackColours.WithIndex(15364), { 16, 0, height }, { { 16, 0, height }, { 3, 16, 119 } }); MetalASupportsPaintSetupRotated( - session, MetalSupportType::Thick, MetalSupportPlace::RightCorner, direction, 0, height - 8, + session, MetalSupportType::Thick, MetalSupportPlace::rightCorner, direction, 0, height - 8, session.TrackColours); break; case 3: @@ -2478,7 +2478,7 @@ static void LoopingRCTrackLeftVerticalLoop( session, direction, session.TrackColours.WithIndex(15366), { 12, 0, height }, { { 12, 0, height }, { 3, 16, 119 } }); MetalASupportsPaintSetupRotated( - session, MetalSupportType::Thick, MetalSupportPlace::RightCorner, direction, 0, height - 8, + session, MetalSupportType::Thick, MetalSupportPlace::rightCorner, direction, 0, height - 8, session.TrackColours); break; } @@ -2628,7 +2628,7 @@ static void LoopingRCTrackRightVerticalLoop( session, direction, session.TrackColours.WithIndex(15384), { 16, 16, height }, { { 16, 16, height }, { 2, 16, 119 } }); MetalASupportsPaintSetupRotated( - session, MetalSupportType::Thick, MetalSupportPlace::BottomCorner, direction, 0, height - 8, + session, MetalSupportType::Thick, MetalSupportPlace::bottomCorner, direction, 0, height - 8, session.TrackColours); break; case 1: @@ -2639,7 +2639,7 @@ static void LoopingRCTrackRightVerticalLoop( session, direction, session.TrackColours.WithIndex(15386), { 10, 16, height }, { { 10, 16, height }, { 4, 16, 119 } }); MetalASupportsPaintSetupRotated( - session, MetalSupportType::Thick, MetalSupportPlace::BottomCorner, direction, 0, height - 8, + session, MetalSupportType::Thick, MetalSupportPlace::bottomCorner, direction, 0, height - 8, session.TrackColours); break; case 2: @@ -2650,7 +2650,7 @@ static void LoopingRCTrackRightVerticalLoop( session, direction, session.TrackColours.WithIndex(15385), { 12, 0, height }, { { 12, 0, height }, { 3, 16, 119 } }); MetalASupportsPaintSetupRotated( - session, MetalSupportType::Thick, MetalSupportPlace::BottomCorner, direction, 0, height - 8, + session, MetalSupportType::Thick, MetalSupportPlace::bottomCorner, direction, 0, height - 8, session.TrackColours); break; case 3: @@ -2661,7 +2661,7 @@ static void LoopingRCTrackRightVerticalLoop( session, direction, session.TrackColours.WithIndex(15387), { 16, 0, height }, { { 16, 0, height }, { 2, 16, 119 } }); MetalASupportsPaintSetupRotated( - session, MetalSupportType::Thick, MetalSupportPlace::BottomCorner, direction, 0, height - 8, + session, MetalSupportType::Thick, MetalSupportPlace::bottomCorner, direction, 0, height - 8, session.TrackColours); break; } @@ -2728,7 +2728,7 @@ static void LoopingRCTrackRightVerticalLoop( session, direction, session.TrackColours.WithIndex(15385), { 12, 0, height }, { { 12, 0, height }, { 3, 16, 119 } }); MetalASupportsPaintSetupRotated( - session, MetalSupportType::Thick, MetalSupportPlace::BottomCorner, DirectionReverse(direction), 0, + session, MetalSupportType::Thick, MetalSupportPlace::bottomCorner, DirectionReverse(direction), 0, height - 8, session.TrackColours); break; case 1: @@ -2739,7 +2739,7 @@ static void LoopingRCTrackRightVerticalLoop( session, direction, session.TrackColours.WithIndex(15387), { 16, 0, height }, { { 16, 0, height }, { 2, 16, 119 } }); MetalASupportsPaintSetupRotated( - session, MetalSupportType::Thick, MetalSupportPlace::BottomCorner, DirectionReverse(direction), 0, + session, MetalSupportType::Thick, MetalSupportPlace::bottomCorner, DirectionReverse(direction), 0, height - 8, session.TrackColours); break; case 2: @@ -2750,7 +2750,7 @@ static void LoopingRCTrackRightVerticalLoop( session, direction, session.TrackColours.WithIndex(15384), { 16, 16, height }, { { 16, 16, height }, { 2, 16, 119 } }); MetalASupportsPaintSetupRotated( - session, MetalSupportType::Thick, MetalSupportPlace::BottomCorner, DirectionReverse(direction), 0, + session, MetalSupportType::Thick, MetalSupportPlace::bottomCorner, DirectionReverse(direction), 0, height - 8, session.TrackColours); break; case 3: @@ -2761,7 +2761,7 @@ static void LoopingRCTrackRightVerticalLoop( session, direction, session.TrackColours.WithIndex(15386), { 10, 16, height }, { { 10, 16, height }, { 4, 16, 119 } }); MetalASupportsPaintSetupRotated( - session, MetalSupportType::Thick, MetalSupportPlace::BottomCorner, DirectionReverse(direction), 0, + session, MetalSupportType::Thick, MetalSupportPlace::bottomCorner, DirectionReverse(direction), 0, height - 8, session.TrackColours); break; } @@ -2856,7 +2856,7 @@ static void LoopingRCTrackLeftQuarterTurn3( { { 0, 6, height }, { 32, 20, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -2928,7 +2928,7 @@ static void LoopingRCTrackLeftQuarterTurn3( { { 6, 0, height }, { 20, 32, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); switch (direction) { case 2: @@ -2992,7 +2992,7 @@ static void LoopingRCTrackLeftQuarterTurn3Bank( { { 0, 6, height }, { 32, 20, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -3067,7 +3067,7 @@ static void LoopingRCTrackLeftQuarterTurn3Bank( { { 6, 0, height }, { 20, 32, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); switch (direction) { case 2: @@ -3124,7 +3124,7 @@ static void LoopingRCTrackLeftQuarterTurn325DegUp( session, direction, session.TrackColours.WithIndex(15325), { 0, 6, height }, { 32, 20, 3 }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -3163,7 +3163,7 @@ static void LoopingRCTrackLeftQuarterTurn325DegUp( session, direction, session.TrackColours.WithIndex(15324), { 6, 0, height }, { 20, 32, 3 }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); switch (direction) { case 2: @@ -3211,7 +3211,7 @@ static void LoopingRCTrackRightQuarterTurn325DegUp( session, direction, session.TrackColours.WithIndex(15322), { 0, 6, height }, { 32, 20, 3 }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -3237,25 +3237,25 @@ static void LoopingRCTrackRightQuarterTurn325DegUp( PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(15317), { 6, 0, height }, { 20, 32, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(15319), { 6, 0, height }, { 20, 32, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(15321), { 6, 0, height }, { 20, 32, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 10, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 10, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(15323), { 6, 0, height }, { 20, 32, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; } switch (direction) @@ -3331,7 +3331,7 @@ static void LoopingRCTrackLeftHalfBankedHelixUpSmall( { { 0, 6, height }, { 32, 20, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 2, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 2, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -3408,7 +3408,7 @@ static void LoopingRCTrackLeftHalfBankedHelixUpSmall( { { 6, 0, height + 8 }, { 20, 32, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); switch (direction) { case 2: @@ -3455,7 +3455,7 @@ static void LoopingRCTrackLeftHalfBankedHelixUpSmall( { { 6, 0, height }, { 20, 32, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 2, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 2, height, session.SupportColours); switch (direction) { case 0: @@ -3538,7 +3538,7 @@ static void LoopingRCTrackLeftHalfBankedHelixUpSmall( { { 0, 27, height }, { 32, 1, 26 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height + 8, kTunnelGroup, TunnelSubType::Flat); @@ -3590,7 +3590,7 @@ static void LoopingRCTrackRightHalfBankedHelixUpSmall( { { 0, 27, height }, { 32, 1, 26 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 2, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 2, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -3668,7 +3668,7 @@ static void LoopingRCTrackRightHalfBankedHelixUpSmall( { { 6, 0, height }, { 20, 32, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); switch (direction) { case 0: @@ -3715,7 +3715,7 @@ static void LoopingRCTrackRightHalfBankedHelixUpSmall( { { 6, 0, height }, { 20, 32, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 2, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 2, height, session.SupportColours); switch (direction) { case 2: @@ -3797,7 +3797,7 @@ static void LoopingRCTrackRightHalfBankedHelixUpSmall( { { 0, 6, height + 8 }, { 32, 20, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height + 8, kTunnelGroup, TunnelSubType::Flat); @@ -3879,7 +3879,7 @@ static void LoopingRCTrackLeftHalfBankedHelixUpLarge( { { 0, 6, height }, { 32, 20, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 1, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 1, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -4027,7 +4027,7 @@ static void LoopingRCTrackLeftHalfBankedHelixUpLarge( { { 6, 0, height + 8 }, { 20, 32, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 7, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 7, height, session.SupportColours); switch (direction) { case 2: @@ -4074,7 +4074,7 @@ static void LoopingRCTrackLeftHalfBankedHelixUpLarge( { { 6, 0, height }, { 20, 32, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 1, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 1, height, session.SupportColours); switch (direction) { case 0: @@ -4227,7 +4227,7 @@ static void LoopingRCTrackLeftHalfBankedHelixUpLarge( { { 0, 27, height }, { 32, 1, 26 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 7, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 7, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height + 8, kTunnelGroup, TunnelSubType::Flat); @@ -4279,7 +4279,7 @@ static void LoopingRCTrackRightHalfBankedHelixUpLarge( { { 0, 27, height }, { 32, 1, 26 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 1, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 1, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -4427,7 +4427,7 @@ static void LoopingRCTrackRightHalfBankedHelixUpLarge( { { 6, 0, height }, { 20, 32, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 7, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 7, height, session.SupportColours); switch (direction) { case 0: @@ -4474,7 +4474,7 @@ static void LoopingRCTrackRightHalfBankedHelixUpLarge( { { 6, 0, height }, { 20, 32, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 1, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 1, height, session.SupportColours); switch (direction) { case 2: @@ -4627,7 +4627,7 @@ static void LoopingRCTrackRightHalfBankedHelixUpLarge( { { 0, 6, height + 8 }, { 32, 20, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 7, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 7, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height + 8, kTunnelGroup, TunnelSubType::Flat); @@ -4812,7 +4812,7 @@ static void LoopingRCTrackBrakes( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); @@ -4849,7 +4849,7 @@ static void LoopingRCTrack25DegUpLeftBanked( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -4893,7 +4893,7 @@ static void LoopingRCTrack25DegUpRightBanked( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -4987,7 +4987,7 @@ static void LoopingRCTrackLeftEighthToDiag( { { 0, 6, height }, { 32, 20, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -5081,28 +5081,28 @@ static void LoopingRCTrackLeftEighthToDiag( session, direction, session.TrackColours.WithIndex(15529), { 0, 0, height }, { { 16, 16, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(15533), { 0, 0, height }, { { 0, 16, height }, { 16, 18, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(15537), { 0, 0, height }, { { 0, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(15541), { 0, 0, height }, { { 16, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -5149,7 +5149,7 @@ static void LoopingRCTrackRightEighthToDiag( { { 0, 6, height }, { 32, 20, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -5244,28 +5244,28 @@ static void LoopingRCTrackRightEighthToDiag( session, direction, session.TrackColours.WithIndex(15513), { 0, 0, height }, { { 16, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(15517), { 0, 0, height }, { { 0, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(15521), { 0, 0, height }, { { 0, 16, height }, { 16, 18, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(15525), { 0, 0, height }, { { 16, 16, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -5330,7 +5330,7 @@ static void LoopingRCTrackLeftEighthBankToDiag( { { 0, 6, height }, { 32, 20, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -5424,28 +5424,28 @@ static void LoopingRCTrackLeftEighthBankToDiag( session, direction, session.TrackColours.WithIndex(15561), { 0, 0, height }, { { 16, 16, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(15565), { 0, 0, height }, { { 0, 16, height + 27 }, { 16, 18, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(15569), { 0, 0, height }, { { 0, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(15573), { 0, 0, height }, { { 16, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -5492,7 +5492,7 @@ static void LoopingRCTrackRightEighthBankToDiag( { { 0, 27, height }, { 32, 1, 26 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -5587,28 +5587,28 @@ static void LoopingRCTrackRightEighthBankToDiag( session, direction, session.TrackColours.WithIndex(15545), { 0, 0, height }, { { 16, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(15549), { 0, 0, height }, { { 0, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(15553), { 0, 0, height }, { { 0, 16, height + 27 }, { 16, 18, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(15557), { 0, 0, height }, { { 16, 16, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -5794,22 +5794,22 @@ static void LoopingRCTrackDiag25DegUp( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 8, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(15461), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 8, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 8, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 8, height, session.SupportColours); break; } } @@ -5819,22 +5819,22 @@ static void LoopingRCTrackDiag25DegUp( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 8, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(15433), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 8, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 8, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 8, height, session.SupportColours); break; } } @@ -5957,22 +5957,22 @@ static void LoopingRCTrackDiag60DegUp( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 36, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 36, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(15473), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 36, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 36, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 36, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 36, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 36, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 36, height, session.SupportColours); break; } } @@ -5982,22 +5982,22 @@ static void LoopingRCTrackDiag60DegUp( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 36, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 36, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(15445), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 36, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 36, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 36, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 36, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 36, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 36, height, session.SupportColours); break; } } @@ -6120,22 +6120,22 @@ static void LoopingRCTrackDiagFlatTo25DegUp( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(15453), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } } @@ -6145,22 +6145,22 @@ static void LoopingRCTrackDiagFlatTo25DegUp( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(15425), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } } @@ -6283,22 +6283,22 @@ static void LoopingRCTrackDiag25DegUpTo60DegUp( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 16, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(15465), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 16, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 16, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 16, height, session.SupportColours); break; } } @@ -6308,22 +6308,22 @@ static void LoopingRCTrackDiag25DegUpTo60DegUp( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 16, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(15437), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 16, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 16, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 16, height, session.SupportColours); break; } } @@ -6446,22 +6446,22 @@ static void LoopingRCTrackDiag60DegUpTo25DegUp( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 21, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 21, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(15469), { -16, -16, height }, { { 0, 0, height }, { 16, 16, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 21, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 21, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 21, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 21, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 21, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 21, height, session.SupportColours); break; } } @@ -6471,22 +6471,22 @@ static void LoopingRCTrackDiag60DegUpTo25DegUp( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 21, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 21, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(15441), { -16, -16, height }, { { 0, 0, height }, { 16, 16, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 21, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 21, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 21, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 21, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 21, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 21, height, session.SupportColours); break; } } @@ -6609,22 +6609,22 @@ static void LoopingRCTrackDiag25DegUpToFlat( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 4, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(15457), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 4, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 4, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 4, height, session.SupportColours); break; } } @@ -6634,22 +6634,22 @@ static void LoopingRCTrackDiag25DegUpToFlat( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 4, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(15429), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 4, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 4, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 4, height, session.SupportColours); break; } } @@ -6772,22 +6772,22 @@ static void LoopingRCTrackDiag25DegDown( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 8, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(15463), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 8, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 8, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 8, height, session.SupportColours); break; } } @@ -6797,22 +6797,22 @@ static void LoopingRCTrackDiag25DegDown( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 8, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(15435), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 8, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 8, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 8, height, session.SupportColours); break; } } @@ -6935,22 +6935,22 @@ static void LoopingRCTrackDiag60DegDown( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 28, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 28, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(15475), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 28, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 28, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 28, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 28, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 28, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 28, height, session.SupportColours); break; } } @@ -6960,22 +6960,22 @@ static void LoopingRCTrackDiag60DegDown( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 28, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 28, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(15447), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 28, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 28, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 28, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 28, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 28, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 28, height, session.SupportColours); break; } } @@ -7095,22 +7095,22 @@ static void LoopingRCTrackDiagFlatTo25DegDown( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 4, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(15459), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 4, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 4, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 4, height, session.SupportColours); break; } } @@ -7120,22 +7120,22 @@ static void LoopingRCTrackDiagFlatTo25DegDown( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 4, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(15431), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 4, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 4, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 4, height, session.SupportColours); break; } } @@ -7259,22 +7259,22 @@ static void LoopingRCTrackDiag25DegDownTo60DegDown( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 17, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 17, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(15471), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 17, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 17, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 17, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 17, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 17, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 17, height, session.SupportColours); break; } } @@ -7284,22 +7284,22 @@ static void LoopingRCTrackDiag25DegDownTo60DegDown( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 17, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 17, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(15443), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 17, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 17, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 17, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 17, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 17, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 17, height, session.SupportColours); break; } } @@ -7422,22 +7422,22 @@ static void LoopingRCTrackDiag60DegDownTo25DegDown( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 8, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(15467), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 8, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 8, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 8, height, session.SupportColours); break; } } @@ -7447,22 +7447,22 @@ static void LoopingRCTrackDiag60DegDownTo25DegDown( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 8, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(15439), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 8, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 8, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 8, height, session.SupportColours); break; } } @@ -7585,22 +7585,22 @@ static void LoopingRCTrackDiag25DegDownToFlat( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(15455), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } } @@ -7610,22 +7610,22 @@ static void LoopingRCTrackDiag25DegDownToFlat( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(15427), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } } @@ -7707,22 +7707,22 @@ static void LoopingRCTrackDiagFlatToLeftBank( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(15501), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -7803,22 +7803,22 @@ static void LoopingRCTrackDiagFlatToRightBank( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(15506), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -7899,22 +7899,22 @@ static void LoopingRCTrackDiagLeftBankToFlat( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(15508), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -7995,22 +7995,22 @@ static void LoopingRCTrackDiagRightBankToFlat( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(15503), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -8091,22 +8091,22 @@ static void LoopingRCTrackDiagLeftBankTo25DegUp( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(15491), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -8187,22 +8187,22 @@ static void LoopingRCTrackDiagRightBankTo25DegUp( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(15496), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -8283,22 +8283,22 @@ static void LoopingRCTrackDiag25DegUpToLeftBank( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 4, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(15481), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 4, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 4, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 4, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -8379,22 +8379,22 @@ static void LoopingRCTrackDiag25DegUpToRightBank( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 4, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(15486), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 4, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 4, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 4, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -8472,22 +8472,22 @@ static void LoopingRCTrackDiagLeftBankTo25DegDown( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 4, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(15488), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 4, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 4, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 4, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -8566,22 +8566,22 @@ static void LoopingRCTrackDiagRightBankTo25DegDown( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 4, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(15483), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 4, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 4, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 4, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -8663,22 +8663,22 @@ static void LoopingRCTrackDiag25DegDownToLeftBank( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(15498), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -8759,22 +8759,22 @@ static void LoopingRCTrackDiag25DegDownToRightBank( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(15493), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -8852,22 +8852,22 @@ static void LoopingRCTrackDiagLeftBank( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(15477), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -8945,22 +8945,22 @@ static void LoopingRCTrackDiagRightBank( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(15479), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -9002,7 +9002,7 @@ static void LoopingRCTrackBlockBrakes( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); @@ -9037,7 +9037,7 @@ static void LoopingRCTrackLeftBankedQuarterTurn325DegUp( session, direction, session.TrackColours.WithIndex(15687), { 0, 6, height }, { 32, 20, 3 }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -9078,7 +9078,7 @@ static void LoopingRCTrackLeftBankedQuarterTurn325DegUp( session, direction, session.TrackColours.WithIndex(15686), { 6, 0, height }, { 20, 32, 3 }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); switch (direction) { case 2: @@ -9127,7 +9127,7 @@ static void LoopingRCTrackRightBankedQuarterTurn325DegUp( session, direction, session.TrackColours.WithIndex(15684), { 0, 6, height }, { 32, 20, 3 }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -9153,27 +9153,27 @@ static void LoopingRCTrackRightBankedQuarterTurn325DegUp( PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(15679), { 6, 0, height }, { 20, 32, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(15681), { 6, 0, height }, { { 27, 0, height }, { 1, 32, 34 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(15683), { 6, 0, height }, { { 27, 0, height }, { 1, 32, 34 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 10, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 10, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(15685), { 6, 0, height }, { 20, 32, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; } switch (direction) @@ -9247,7 +9247,7 @@ static void LoopingRCTrackLeftBankedQuarterTurn525DegUp( { { 0, 6, height }, { 32, 20, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -9388,7 +9388,7 @@ static void LoopingRCTrackLeftBankedQuarterTurn525DegUp( { { 6, 0, height }, { 20, 32, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); switch (direction) { case 2: @@ -9440,7 +9440,7 @@ static void LoopingRCTrackRightBankedQuarterTurn525DegUp( { { 0, 6, height }, { 32, 20, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -9581,7 +9581,7 @@ static void LoopingRCTrackRightBankedQuarterTurn525DegUp( { { 6, 0, height }, { 20, 32, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); switch (direction) { case 0: @@ -9655,7 +9655,7 @@ static void LoopingRCTrack25DegUpToLeftBanked25DegUp( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -9702,7 +9702,7 @@ static void LoopingRCTrack25DegUpToRightBanked25DegUp( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -9749,7 +9749,7 @@ static void LoopingRCTrackLeftBanked25DegUpTo25DegUp( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -9796,7 +9796,7 @@ static void LoopingRCTrackRightBanked25DegUpTo25DegUp( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -9876,7 +9876,7 @@ static void LoopingRCTrackLeftBankedFlatToLeftBanked25DegUp( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -9920,7 +9920,7 @@ static void LoopingRCTrackRightBankedFlatToRightBanked25DegUp( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -9964,7 +9964,7 @@ static void LoopingRCTrackLeftBanked25DegUpToLeftBankedFlat( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -10008,7 +10008,7 @@ static void LoopingRCTrackRightBanked25DegUpToRightBankedFlat( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -10091,7 +10091,7 @@ static void LoopingRCTrackFlatToLeftBanked25DegUp( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -10138,7 +10138,7 @@ static void LoopingRCTrackFlatToRightBanked25DegUp( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -10185,7 +10185,7 @@ static void LoopingRCTrackLeftBanked25DegUpToFlat( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -10232,7 +10232,7 @@ static void LoopingRCTrackRightBanked25DegUpToFlat( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -10301,7 +10301,7 @@ static void LoopingRCTrackBooster( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); diff --git a/src/openrct2/paint/track/coaster/MineRide.cpp b/src/openrct2/paint/track/coaster/MineRide.cpp index a3a09cb514..b5ffa64372 100644 --- a/src/openrct2/paint/track/coaster/MineRide.cpp +++ b/src/openrct2/paint/track/coaster/MineRide.cpp @@ -39,7 +39,7 @@ static void MineRideTrackFlat( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 6, height, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -68,7 +68,7 @@ static void MineRideTrackStation( else if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 6, height, session.SupportColours); } TrackPaintUtilDrawStationTunnel(session, direction, height); PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0); @@ -88,7 +88,7 @@ static void MineRideTrack25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 14, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 14, height, session.SupportColours); } if (direction == 0 || direction == 3) @@ -116,7 +116,7 @@ static void MineRideTrackFlatTo25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 9, height, session.SupportColours); } if (direction == 0 || direction == 3) @@ -144,7 +144,7 @@ static void MineRideTrack25DegUpToFlat( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 12, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 12, height, session.SupportColours); } if (direction == 0 || direction == 3) @@ -198,7 +198,7 @@ static void MineRideTrackLeftQuarterTurn5( session, direction, session.TrackColours.WithIndex(_imageIds0[direction]), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 6, height, session.SupportColours); if (direction == 0 || direction == 3) { @@ -323,7 +323,7 @@ static void MineRideTrackLeftQuarterTurn5( session, direction, session.TrackColours.WithIndex(_imageIds6[direction]), { 0, 0, height }, { { 6, 0, height }, { 20, 32, 3 } }); MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, DirectionPrev(direction), 6, height, + session, supportType.metal, MetalSupportPlace::centre, DirectionPrev(direction), 6, height, session.SupportColours); switch (direction) @@ -393,7 +393,7 @@ static void MineRideTrackFlatToLeftBank( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 6, height, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -439,7 +439,7 @@ static void MineRideTrackFlatToRightBank( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 6, height, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -485,7 +485,7 @@ static void MineRideTrackLeftBankToFlat( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 6, height, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -531,7 +531,7 @@ static void MineRideTrackRightBankToFlat( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 6, height, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -575,7 +575,7 @@ static void MineRideTrackBankedLeftQuarterTurn5( } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 6, height, session.SupportColours); if (direction == 0 || direction == 3) { @@ -724,7 +724,7 @@ static void MineRideTrackBankedLeftQuarterTurn5( } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, DirectionPrev(direction), 6, height, + session, supportType.metal, MetalSupportPlace::centre, DirectionPrev(direction), 6, height, session.SupportColours); switch (direction) @@ -793,7 +793,7 @@ static void MineRideTrackLeftBankTo25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 9, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -844,7 +844,7 @@ static void MineRideTrackRightBankTo25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 9, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -895,7 +895,7 @@ static void MineRideTrack25DegUpToLeftBank( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 12, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 12, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -946,7 +946,7 @@ static void MineRideTrack25DegUpToRightBank( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 12, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 12, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -1023,7 +1023,7 @@ static void MineRideTrackLeftBank( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 6, height, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); @@ -1381,7 +1381,7 @@ static void MineRideTrackLeftQuarterTurn3( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 6, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -1454,7 +1454,7 @@ static void MineRideTrackLeftQuarterTurn3( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, DirectionPrev(direction), 6, height, + session, supportType.metal, MetalSupportPlace::centre, DirectionPrev(direction), 6, height, session.SupportColours); switch (direction) { @@ -1520,7 +1520,7 @@ static void MineRideTrackLeftQuarterTurn3Bank( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 6, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -1596,7 +1596,7 @@ static void MineRideTrackLeftQuarterTurn3Bank( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, DirectionPrev(direction), 6, height, + session, supportType.metal, MetalSupportPlace::centre, DirectionPrev(direction), 6, height, session.SupportColours); switch (direction) { @@ -1645,28 +1645,28 @@ static void MineRideTrackLeftHalfBankedHelixUpSmall( session, direction, session.TrackColours.WithIndex(19502), { 0, 0, height }, { { 0, 27, height }, { 32, 1, 26 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(19498), { 0, 0, height }, { { 0, 27, height }, { 32, 1, 26 } }); MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 8, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(19501), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(19492), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 8, height, session.SupportColours); break; } if (direction == 0 || direction == 3) @@ -1746,7 +1746,7 @@ static void MineRideTrackLeftHalfBankedHelixUpSmall( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, DirectionNext(direction), direction == 2 ? 15 : 12, + session, supportType.metal, MetalSupportPlace::centre, DirectionNext(direction), direction == 2 ? 15 : 12, height, session.SupportColours); switch (direction) { @@ -1795,7 +1795,7 @@ static void MineRideTrackLeftHalfBankedHelixUpSmall( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, DirectionPrev(direction), 8, height, + session, supportType.metal, MetalSupportPlace::centre, DirectionPrev(direction), 8, height, session.SupportColours); switch (direction) { @@ -1880,7 +1880,7 @@ static void MineRideTrackLeftHalfBankedHelixUpSmall( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, direction == 3 ? 15 : 12, height, + session, supportType.metal, MetalSupportPlace::centre, direction, direction == 3 ? 15 : 12, height, session.SupportColours); if (direction == 0 || direction == 3) { @@ -1936,7 +1936,7 @@ static void MineRideTrackRightHalfBankedHelixUpSmall( } constexpr uint8_t _specialValues[] = { 8, 8, 9, 11 }; MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, _specialValues[direction], height, + session, supportType.metal, MetalSupportPlace::centre, direction, _specialValues[direction], height, session.SupportColours); if (direction == 0 || direction == 3) @@ -2020,7 +2020,7 @@ static void MineRideTrackRightHalfBankedHelixUpSmall( } constexpr uint8_t _specialValues[] = { 12, 15, 14, 12 }; MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, DirectionPrev(direction), _specialValues[direction], + session, supportType.metal, MetalSupportPlace::centre, DirectionPrev(direction), _specialValues[direction], height, session.SupportColours); switch (direction) @@ -2073,7 +2073,7 @@ static void MineRideTrackRightHalfBankedHelixUpSmall( } constexpr uint8_t _specialValues[] = { 8, 9, 11, 8 }; MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, DirectionPrev(direction), _specialValues[direction], + session, supportType.metal, MetalSupportPlace::centre, DirectionPrev(direction), _specialValues[direction], height, session.SupportColours); switch (direction) { @@ -2160,7 +2160,7 @@ static void MineRideTrackRightHalfBankedHelixUpSmall( } constexpr uint8_t _specialValues[] = { 15, 14, 12, 12 }; MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, DirectionReverse(direction), _specialValues[direction], + session, supportType.metal, MetalSupportPlace::centre, DirectionReverse(direction), _specialValues[direction], height, session.SupportColours); if (direction == 0 || direction == 3) { @@ -2245,7 +2245,7 @@ static void MineRideTrackLeftHalfBankedHelixUpLarge( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 7, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -2394,7 +2394,7 @@ static void MineRideTrackLeftHalfBankedHelixUpLarge( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, DirectionPrev(direction), 13, height, + session, supportType.metal, MetalSupportPlace::centre, DirectionPrev(direction), 13, height, session.SupportColours); switch (direction) { @@ -2443,7 +2443,7 @@ static void MineRideTrackLeftHalfBankedHelixUpLarge( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, DirectionPrev(direction), 7, height, + session, supportType.metal, MetalSupportPlace::centre, DirectionPrev(direction), 7, height, session.SupportColours); switch (direction) { @@ -2598,7 +2598,7 @@ static void MineRideTrackLeftHalfBankedHelixUpLarge( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, DirectionReverse(direction), 13, height, + session, supportType.metal, MetalSupportPlace::centre, DirectionReverse(direction), 13, height, session.SupportColours); if (direction == 0 || direction == 3) { @@ -2652,7 +2652,7 @@ static void MineRideTrackRightHalfBankedHelixUpLarge( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 7, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -2801,7 +2801,7 @@ static void MineRideTrackRightHalfBankedHelixUpLarge( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, DirectionNext(direction), 13, height, + session, supportType.metal, MetalSupportPlace::centre, DirectionNext(direction), 13, height, session.SupportColours); switch (direction) { @@ -2850,7 +2850,7 @@ static void MineRideTrackRightHalfBankedHelixUpLarge( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, DirectionNext(direction), 7, height, + session, supportType.metal, MetalSupportPlace::centre, DirectionNext(direction), 7, height, session.SupportColours); switch (direction) { @@ -3005,7 +3005,7 @@ static void MineRideTrackRightHalfBankedHelixUpLarge( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, DirectionReverse(direction), 13, height, + session, supportType.metal, MetalSupportPlace::centre, DirectionReverse(direction), 13, height, session.SupportColours); if (direction == 0 || direction == 3) { @@ -3121,7 +3121,7 @@ static void MineRideTrackLeftEighthToDiag( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 6, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -3232,7 +3232,7 @@ static void MineRideTrackLeftEighthToDiag( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::BottomCorner, direction, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, direction, 6, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments( @@ -3278,7 +3278,7 @@ static void MineRideTrackRightEighthToDiag( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 6, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -3390,7 +3390,7 @@ static void MineRideTrackRightEighthToDiag( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 6, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments( @@ -3454,7 +3454,7 @@ static void MineRideTrackLeftEighthBankToDiag( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 6, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -3565,7 +3565,7 @@ static void MineRideTrackLeftEighthBankToDiag( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::BottomCorner, direction, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, direction, 6, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments( @@ -3611,7 +3611,7 @@ static void MineRideTrackRightEighthBankToDiag( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 6, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -3723,7 +3723,7 @@ static void MineRideTrackRightEighthBankToDiag( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 6, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments( @@ -3767,7 +3767,7 @@ static void MineRideTrackDiagFlat( if (trackSequence == 3) MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 6, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments(BlockedSegments::kDiagStraightFlat[trackSequence], direction), 0xFFFF, 0); @@ -3843,7 +3843,7 @@ static void MineRideTrackDiag25DegUp( break; } MetalBSupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 14, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 14, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments( @@ -3924,7 +3924,7 @@ static void MineRideTrackDiagFlatTo25DegUp( break; } MetalBSupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 6, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments( @@ -4005,7 +4005,7 @@ static void MineRideTrackDiag25DegUpToFlat( break; } MetalBSupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 10, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 10, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments( @@ -4086,7 +4086,7 @@ static void MineRideTrackDiag25DegDown( break; } MetalBSupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 14, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 14, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments( @@ -4164,7 +4164,7 @@ static void MineRideTrackDiagFlatTo25DegDown( break; } MetalBSupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 10, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 10, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments( @@ -4246,7 +4246,7 @@ static void MineRideTrackDiag25DegDownToFlat( break; } MetalBSupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 6, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments( @@ -4330,7 +4330,7 @@ static void MineRideTrackDiagFlatToLeftBank( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 6, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments( @@ -4414,7 +4414,7 @@ static void MineRideTrackDiagFlatToRightBank( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 6, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments( @@ -4498,7 +4498,7 @@ static void MineRideTrackDiagLeftBankToFlat( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 6, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments( @@ -4582,7 +4582,7 @@ static void MineRideTrackDiagRightBankToFlat( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 6, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments( @@ -4666,7 +4666,7 @@ static void MineRideTrackDiagLeftBankTo25DegUp( break; } MetalBSupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 6, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments( @@ -4750,7 +4750,7 @@ static void MineRideTrackDiagRightBankTo25DegUp( break; } MetalBSupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 6, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments( @@ -4834,7 +4834,7 @@ static void MineRideTrackDiag25DegUpToLeftBank( break; } MetalBSupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 10, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 10, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments( @@ -4918,7 +4918,7 @@ static void MineRideTrackDiag25DegUpToRightBank( break; } MetalBSupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 10, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 10, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments( @@ -4999,7 +4999,7 @@ static void MineRideTrackDiagLeftBankTo25DegDown( break; } MetalBSupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 10, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 10, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments( @@ -5081,7 +5081,7 @@ static void MineRideTrackDiagRightBankTo25DegDown( break; } MetalBSupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 10, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 10, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments( @@ -5166,7 +5166,7 @@ static void MineRideTrackDiag25DegDownToLeftBank( break; } MetalBSupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 6, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments( @@ -5250,7 +5250,7 @@ static void MineRideTrackDiag25DegDownToRightBank( break; } MetalBSupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 6, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments( @@ -5331,7 +5331,7 @@ static void MineRideTrackDiagLeftBank( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 6, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments( @@ -5412,7 +5412,7 @@ static void MineRideTrackDiagRightBank( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 6, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments( diff --git a/src/openrct2/paint/track/coaster/MiniRollerCoaster.cpp b/src/openrct2/paint/track/coaster/MiniRollerCoaster.cpp index fda1cc6bc1..816d57f932 100644 --- a/src/openrct2/paint/track/coaster/MiniRollerCoaster.cpp +++ b/src/openrct2/paint/track/coaster/MiniRollerCoaster.cpp @@ -90,7 +90,7 @@ static void MiniRCTrackFlat( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 6, height, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); @@ -128,7 +128,7 @@ static void MiniRCTrackStation( else if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 6, height, session.SupportColours); } TrackPaintUtilDrawStationTunnel(session, direction, height); PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0); @@ -195,7 +195,7 @@ static void MiniRCTrack25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 14, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 14, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -240,7 +240,7 @@ static void MiniRCTrack60DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 38, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 38, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -314,7 +314,7 @@ static void MiniRCTrackFlatTo25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 9, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -365,7 +365,7 @@ static void MiniRCTrack25DegUpTo60DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 18, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 18, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -416,7 +416,7 @@ static void MiniRCTrack60DegUpTo25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 26, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 26, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -490,7 +490,7 @@ static void MiniRCTrack25DegUpToFlat( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 12, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 12, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -584,7 +584,7 @@ static void MiniRCTrackLeftQuarterTurn5( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 6, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -728,7 +728,7 @@ static void MiniRCTrackLeftQuarterTurn5( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, DirectionPrev(direction), 6, height, + session, supportType.metal, MetalSupportPlace::centre, DirectionPrev(direction), 6, height, session.SupportColours); switch (direction) { @@ -796,7 +796,7 @@ static void MiniRCTrackFlatToLeftBank( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 6, height, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); @@ -840,7 +840,7 @@ static void MiniRCTrackFlatToRightBank( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 6, height, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); @@ -884,7 +884,7 @@ static void MiniRCTrackLeftBankToFlat( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 6, height, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); @@ -929,7 +929,7 @@ static void MiniRCTrackRightBankToFlat( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 6, height, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); @@ -971,7 +971,7 @@ static void MiniRCTrackBankedLeftQuarterTurn5( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 6, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -1118,7 +1118,7 @@ static void MiniRCTrackBankedLeftQuarterTurn5( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, DirectionPrev(direction), 6, height, + session, supportType.metal, MetalSupportPlace::centre, DirectionPrev(direction), 6, height, session.SupportColours); switch (direction) { @@ -1186,7 +1186,7 @@ static void MiniRCTrackLeftBankTo25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 9, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -1237,7 +1237,7 @@ static void MiniRCTrackRightBankTo25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 9, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -1288,7 +1288,7 @@ static void MiniRCTrack25DegUpToLeftBank( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 12, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 12, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -1339,7 +1339,7 @@ static void MiniRCTrack25DegUpToRightBank( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 12, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 12, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -1416,7 +1416,7 @@ static void MiniRCTrackLeftBank( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 6, height, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); @@ -1463,7 +1463,7 @@ static void MiniRCTrackLeftQuarterTurn525DegUp( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 14, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 14, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -1602,7 +1602,7 @@ static void MiniRCTrackLeftQuarterTurn525DegUp( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, DirectionPrev(direction), 14, height, + session, supportType.metal, MetalSupportPlace::centre, DirectionPrev(direction), 14, height, session.SupportColours); switch (direction) { @@ -1656,7 +1656,7 @@ static void MiniRCTrackRightQuarterTurn525DegUp( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 14, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 14, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -1795,7 +1795,7 @@ static void MiniRCTrackRightQuarterTurn525DegUp( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, DirectionNext(direction), 14, height, + session, supportType.metal, MetalSupportPlace::centre, DirectionNext(direction), 14, height, session.SupportColours); switch (direction) { @@ -1970,7 +1970,7 @@ static void MiniRCTrackSBendLeft( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 6, height, session.SupportColours); switch (direction) { case 1: @@ -2178,7 +2178,7 @@ static void MiniRCTrackLeftQuarterTurn3( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 6, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -2251,7 +2251,7 @@ static void MiniRCTrackLeftQuarterTurn3( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, DirectionPrev(direction), 6, height, + session, supportType.metal, MetalSupportPlace::centre, DirectionPrev(direction), 6, height, session.SupportColours); switch (direction) { @@ -2317,7 +2317,7 @@ static void MiniRCTrackLeftQuarterTurn3Bank( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 6, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -2393,7 +2393,7 @@ static void MiniRCTrackLeftQuarterTurn3Bank( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, DirectionPrev(direction), 6, height, + session, supportType.metal, MetalSupportPlace::centre, DirectionPrev(direction), 6, height, session.SupportColours); switch (direction) { @@ -2452,7 +2452,7 @@ static void MiniRCTrackLeftQuarterTurn325DegUp( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 14, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 14, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -2492,7 +2492,7 @@ static void MiniRCTrackLeftQuarterTurn325DegUp( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, DirectionPrev(direction), 14, height, + session, supportType.metal, MetalSupportPlace::centre, DirectionPrev(direction), 14, height, session.SupportColours); switch (direction) { @@ -2542,7 +2542,7 @@ static void MiniRCTrackRightQuarterTurn325DegUp( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 14, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 14, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -2582,7 +2582,7 @@ static void MiniRCTrackRightQuarterTurn325DegUp( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, DirectionNext(direction), 14, height, + session, supportType.metal, MetalSupportPlace::centre, DirectionNext(direction), 14, height, session.SupportColours); switch (direction) { @@ -2657,7 +2657,7 @@ static void MiniRCTrackLeftHalfBankedHelixUpSmall( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 8, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -2735,7 +2735,7 @@ static void MiniRCTrackLeftHalfBankedHelixUpSmall( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, DirectionPrev(direction), (direction == 2) ? 15 : 12, + session, supportType.metal, MetalSupportPlace::centre, DirectionPrev(direction), (direction == 2) ? 15 : 12, height, session.SupportColours); switch (direction) { @@ -2784,7 +2784,7 @@ static void MiniRCTrackLeftHalfBankedHelixUpSmall( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, DirectionPrev(direction), 8, height, + session, supportType.metal, MetalSupportPlace::centre, DirectionPrev(direction), 8, height, session.SupportColours); switch (direction) { @@ -2869,7 +2869,7 @@ static void MiniRCTrackLeftHalfBankedHelixUpSmall( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, DirectionReverse(direction), (direction == 3) ? 15 : 12, + session, supportType.metal, MetalSupportPlace::centre, DirectionReverse(direction), (direction == 3) ? 15 : 12, height, session.SupportColours); if (direction == 0 || direction == 3) { @@ -2923,7 +2923,7 @@ static void MiniRCTrackRightHalfBankedHelixUpSmall( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 8, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -3004,7 +3004,7 @@ static void MiniRCTrackRightHalfBankedHelixUpSmall( } constexpr uint8_t _specialValues[] = { 12, 15, 14, 12 }; MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, DirectionNext(direction), _specialValues[direction], + session, supportType.metal, MetalSupportPlace::centre, DirectionNext(direction), _specialValues[direction], height, session.SupportColours); switch (direction) { @@ -3056,7 +3056,7 @@ static void MiniRCTrackRightHalfBankedHelixUpSmall( } constexpr uint8_t _specialValues[] = { 8, 9, 11, 8 }; MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, DirectionNext(direction), _specialValues[direction], + session, supportType.metal, MetalSupportPlace::centre, DirectionNext(direction), _specialValues[direction], height, session.SupportColours); switch (direction) { @@ -3143,7 +3143,7 @@ static void MiniRCTrackRightHalfBankedHelixUpSmall( } constexpr uint8_t _specialValues[] = { 15, 14, 12, 12 }; MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, DirectionReverse(direction), _specialValues[direction], + session, supportType.metal, MetalSupportPlace::centre, DirectionReverse(direction), _specialValues[direction], height, session.SupportColours); if (direction == 0 || direction == 3) { @@ -3227,7 +3227,7 @@ static void MiniRCTrackLeftHalfBankedHelixUpLarge( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 7, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -3376,7 +3376,7 @@ static void MiniRCTrackLeftHalfBankedHelixUpLarge( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, DirectionPrev(direction), 13, height, + session, supportType.metal, MetalSupportPlace::centre, DirectionPrev(direction), 13, height, session.SupportColours); switch (direction) { @@ -3425,7 +3425,7 @@ static void MiniRCTrackLeftHalfBankedHelixUpLarge( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, DirectionPrev(direction), 7, height, + session, supportType.metal, MetalSupportPlace::centre, DirectionPrev(direction), 7, height, session.SupportColours); switch (direction) { @@ -3580,7 +3580,7 @@ static void MiniRCTrackLeftHalfBankedHelixUpLarge( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, DirectionReverse(direction), 13, height, + session, supportType.metal, MetalSupportPlace::centre, DirectionReverse(direction), 13, height, session.SupportColours); if (direction == 0 || direction == 3) { @@ -3634,7 +3634,7 @@ static void MiniRCTrackRightHalfBankedHelixUpLarge( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 7, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -3783,7 +3783,7 @@ static void MiniRCTrackRightHalfBankedHelixUpLarge( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, DirectionNext(direction), 13, height, + session, supportType.metal, MetalSupportPlace::centre, DirectionNext(direction), 13, height, session.SupportColours); switch (direction) { @@ -3832,7 +3832,7 @@ static void MiniRCTrackRightHalfBankedHelixUpLarge( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, DirectionNext(direction), 7, height, + session, supportType.metal, MetalSupportPlace::centre, DirectionNext(direction), 7, height, session.SupportColours); switch (direction) { @@ -3987,7 +3987,7 @@ static void MiniRCTrackRightHalfBankedHelixUpLarge( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, DirectionReverse(direction), 13, height, + session, supportType.metal, MetalSupportPlace::centre, DirectionReverse(direction), 13, height, session.SupportColours); if (direction == 0 || direction == 3) { @@ -4166,7 +4166,7 @@ static void MiniRCTrackBrakes( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 6, height, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); @@ -4204,7 +4204,7 @@ static void MiniRCTrack25DegUpLeftBanked( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 14, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 14, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -4249,7 +4249,7 @@ static void MiniRCTrack25DegUpRightBanked( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 14, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 14, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -4346,7 +4346,7 @@ static void MiniRCTrackLeftEighthToDiag( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 6, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -4457,7 +4457,7 @@ static void MiniRCTrackLeftEighthToDiag( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::BottomCorner, direction, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, direction, 6, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments( @@ -4503,7 +4503,7 @@ static void MiniRCTrackRightEighthToDiag( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 6, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -4615,7 +4615,7 @@ static void MiniRCTrackRightEighthToDiag( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 6, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments( @@ -4679,7 +4679,7 @@ static void MiniRCTrackLeftEighthBankToDiag( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 6, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -4790,7 +4790,7 @@ static void MiniRCTrackLeftEighthBankToDiag( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::BottomCorner, direction, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, direction, 6, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments( @@ -4836,7 +4836,7 @@ static void MiniRCTrackRightEighthBankToDiag( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 6, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -4948,7 +4948,7 @@ static void MiniRCTrackRightEighthBankToDiag( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 6, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments( @@ -4996,7 +4996,7 @@ static void MiniRCTrackDiagFlat( if (trackSequence == 3) MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 6, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments(BlockedSegments::kDiagStraightFlat[trackSequence], direction), 0xFFFF, 0); @@ -5128,7 +5128,7 @@ static void MiniRCTrackDiag25DegUp( } } MetalBSupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 14, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 14, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments( @@ -5209,7 +5209,7 @@ static void MiniRCTrackDiag60DegUp( break; } MetalBSupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, (direction & 1) ? 42 : 38, height, + session, supportType.metal, MetalSupportPlace::leftCorner, direction, (direction & 1) ? 42 : 38, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, @@ -5347,7 +5347,7 @@ static void MiniRCTrackDiagFlatTo25DegUp( } } MetalBSupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 6, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments( @@ -5428,7 +5428,7 @@ static void MiniRCTrackDiag25DegUpTo60DegUp( break; } MetalBSupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 22, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 22, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments( @@ -5509,7 +5509,7 @@ static void MiniRCTrackDiag60DegUpTo25DegUp( break; } MetalBSupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 27, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 27, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments( @@ -5646,7 +5646,7 @@ static void MiniRCTrackDiag25DegUpToFlat( } } MetalBSupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 10, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 10, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments( @@ -5783,7 +5783,7 @@ static void MiniRCTrackDiag25DegDown( } } MetalBSupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 14, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 14, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments( @@ -5864,7 +5864,7 @@ static void MiniRCTrackDiag60DegDown( break; } MetalBSupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, (direction & 1) ? 34 : 30, height, + session, supportType.metal, MetalSupportPlace::leftCorner, direction, (direction & 1) ? 34 : 30, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, @@ -5999,7 +5999,7 @@ static void MiniRCTrackDiagFlatTo25DegDown( } } MetalBSupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 10, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 10, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments( @@ -6081,7 +6081,7 @@ static void MiniRCTrackDiag25DegDownTo60DegDown( break; } MetalBSupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 23, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 23, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments( @@ -6162,7 +6162,7 @@ static void MiniRCTrackDiag60DegDownTo25DegDown( break; } MetalBSupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 14, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 14, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments( @@ -6299,7 +6299,7 @@ static void MiniRCTrackDiag25DegDownToFlat( } } MetalBSupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 6, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments( @@ -6383,7 +6383,7 @@ static void MiniRCTrackDiagFlatToLeftBank( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 6, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments( @@ -6467,7 +6467,7 @@ static void MiniRCTrackDiagFlatToRightBank( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 6, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments( @@ -6551,7 +6551,7 @@ static void MiniRCTrackDiagLeftBankToFlat( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 6, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments( @@ -6635,7 +6635,7 @@ static void MiniRCTrackDiagRightBankToFlat( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 6, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments( @@ -6719,7 +6719,7 @@ static void MiniRCTrackDiagLeftBankTo25DegUp( break; } MetalBSupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 6, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments( @@ -6803,7 +6803,7 @@ static void MiniRCTrackDiagRightBankTo25DegUp( break; } MetalBSupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 6, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments( @@ -6887,7 +6887,7 @@ static void MiniRCTrackDiag25DegUpToLeftBank( break; } MetalBSupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 10, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 10, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments( @@ -6971,7 +6971,7 @@ static void MiniRCTrackDiag25DegUpToRightBank( break; } MetalBSupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 10, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 10, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments( @@ -7052,7 +7052,7 @@ static void MiniRCTrackDiagLeftBankTo25DegDown( break; } MetalBSupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 10, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 10, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments( @@ -7134,7 +7134,7 @@ static void MiniRCTrackDiagRightBankTo25DegDown( break; } MetalBSupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 10, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 10, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments( @@ -7219,7 +7219,7 @@ static void MiniRCTrackDiag25DegDownToLeftBank( break; } MetalBSupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 6, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments( @@ -7303,7 +7303,7 @@ static void MiniRCTrackDiag25DegDownToRightBank( break; } MetalBSupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 6, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments( @@ -7384,7 +7384,7 @@ static void MiniRCTrackDiagLeftBank( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 6, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments( @@ -7465,7 +7465,7 @@ static void MiniRCTrackDiagRightBank( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 6, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments( @@ -7489,7 +7489,7 @@ static void MiniRCTrackBlockBrakes( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 6, height, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); @@ -7525,7 +7525,7 @@ static void MiniRCTrackLeftBankedQuarterTurn325DegUp( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 14, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 14, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -7567,7 +7567,7 @@ static void MiniRCTrackLeftBankedQuarterTurn325DegUp( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, DirectionPrev(direction), 14, height, + session, supportType.metal, MetalSupportPlace::centre, DirectionPrev(direction), 14, height, session.SupportColours); switch (direction) { @@ -7618,7 +7618,7 @@ static void MiniRCTrackRightBankedQuarterTurn325DegUp( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 14, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 14, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -7660,7 +7660,7 @@ static void MiniRCTrackRightBankedQuarterTurn325DegUp( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, DirectionNext(direction), 14, height, + session, supportType.metal, MetalSupportPlace::centre, DirectionNext(direction), 14, height, session.SupportColours); switch (direction) { @@ -7734,7 +7734,7 @@ static void MiniRCTrackLeftBankedQuarterTurn525DegUp( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 14, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 14, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -7876,7 +7876,7 @@ static void MiniRCTrackLeftBankedQuarterTurn525DegUp( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, DirectionNext(direction), 14, height, + session, supportType.metal, MetalSupportPlace::centre, DirectionNext(direction), 14, height, session.SupportColours); switch (direction) { @@ -7930,7 +7930,7 @@ static void MiniRCTrackRightBankedQuarterTurn525DegUp( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 14, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 14, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -8072,7 +8072,7 @@ static void MiniRCTrackRightBankedQuarterTurn525DegUp( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, DirectionNext(direction), 14, height, + session, supportType.metal, MetalSupportPlace::centre, DirectionNext(direction), 14, height, session.SupportColours); switch (direction) { @@ -8148,7 +8148,7 @@ static void MiniRCTrack25DegUpToLeftBanked25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 14, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 14, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -8196,7 +8196,7 @@ static void MiniRCTrack25DegUpToRightBanked25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 14, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 14, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -8244,7 +8244,7 @@ static void MiniRCTrackLeftBanked25DegUpTo25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 14, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 14, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -8292,7 +8292,7 @@ static void MiniRCTrackRightBanked25DegUpTo25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 14, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 14, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -8371,7 +8371,7 @@ static void MiniRCTrackLeftBankedFlatToLeftBanked25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 9, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -8416,7 +8416,7 @@ static void MiniRCTrackRightBankedFlatToRightBanked25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 9, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -8461,7 +8461,7 @@ static void MiniRCTrackLeftBanked25DegUpToLeftBankedFlat( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 12, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 12, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -8506,7 +8506,7 @@ static void MiniRCTrackRightBanked25DegUpToRightBankedFlat( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 12, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 12, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -8590,7 +8590,7 @@ static void MiniRCTrackFlatToLeftBanked25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 9, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -8638,7 +8638,7 @@ static void MiniRCTrackFlatToRightBanked25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 9, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -8686,7 +8686,7 @@ static void MiniRCTrackLeftBanked25DegUpToFlat( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 12, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 12, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -8734,7 +8734,7 @@ static void MiniRCTrackRightBanked25DegUpToFlat( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 12, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 12, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -8807,7 +8807,7 @@ static void MiniRCTrackLeftCurvedLiftHill( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 14, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 14, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -8847,7 +8847,7 @@ static void MiniRCTrackLeftCurvedLiftHill( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, DirectionPrev(direction), 17, height, + session, supportType.metal, MetalSupportPlace::centre, DirectionPrev(direction), 17, height, session.SupportColours); switch (direction) { @@ -8896,7 +8896,7 @@ static void MiniRCTrackRightCurvedLiftHill( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 14, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 14, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -8936,7 +8936,7 @@ static void MiniRCTrackRightCurvedLiftHill( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, DirectionNext(direction), 17, height, + session, supportType.metal, MetalSupportPlace::centre, DirectionNext(direction), 17, height, session.SupportColours); switch (direction) { @@ -8980,7 +8980,7 @@ static void MiniRCTrackBooster( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 6, height, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); diff --git a/src/openrct2/paint/track/coaster/MiniSuspendedCoaster.cpp b/src/openrct2/paint/track/coaster/MiniSuspendedCoaster.cpp index 517646d48f..8abcb1d6df 100644 --- a/src/openrct2/paint/track/coaster/MiniSuspendedCoaster.cpp +++ b/src/openrct2/paint/track/coaster/MiniSuspendedCoaster.cpp @@ -73,7 +73,7 @@ static void MiniSuspendedRCTrackFlat( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height + 30, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height + 30, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -170,7 +170,7 @@ static void MiniSuspendedRCTrack25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::TopRightSide, direction, 0, height + 46, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, direction, 0, height + 46, session.SupportColours); } if (direction == 0 || direction == 3) @@ -246,7 +246,7 @@ static void MiniSuspendedRCTrackFlatTo25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::TopRightSide, direction, 0, height + 38, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, direction, 0, height + 38, session.SupportColours); } if (direction == 0 || direction == 3) @@ -322,7 +322,7 @@ static void MiniSuspendedRCTrack25DegUpToFlat( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::TopRightSide, direction, 0, height + 38, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, direction, 0, height + 38, session.SupportColours); } if (direction == 0 || direction == 3) @@ -397,7 +397,7 @@ static void MiniSuspendedRCTrackLeftQuarterTurn5( direction), 0xFFFF, 0); MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height + 30, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height + 30, session.SupportColours); if (direction == 0 || direction == 3) { @@ -529,7 +529,7 @@ static void MiniSuspendedRCTrackLeftQuarterTurn5( direction), 0xFFFF, 0); MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, DirectionPrev(direction), 0, height + 30, + session, supportType.metal, MetalSupportPlace::centre, DirectionPrev(direction), 0, height + 30, session.SupportColours); switch (direction) @@ -691,7 +691,7 @@ static void MiniSuspendedRCTrackSBendLeft( direction), 0xFFFF, 0); MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height + 30, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height + 30, session.SupportColours); switch (direction) { @@ -895,7 +895,7 @@ static void MiniSuspendedRCTrackLeftQuarterTurn3( direction), 0xFFFF, 0); MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height + 30, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height + 30, session.SupportColours); if (direction == 0 || direction == 3) { @@ -964,7 +964,7 @@ static void MiniSuspendedRCTrackLeftQuarterTurn3( direction), 0xFFFF, 0); MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, DirectionPrev(direction), 0, height + 30, + session, supportType.metal, MetalSupportPlace::centre, DirectionPrev(direction), 0, height + 30, session.SupportColours); switch (direction) @@ -1030,7 +1030,7 @@ static void MiniSuspendedRCTrackLeftEighthToDiag( direction), 0xFFFF, 0); MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height + 30, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height + 30, session.SupportColours); if (direction == 0 || direction == 3) { @@ -1149,7 +1149,7 @@ static void MiniSuspendedRCTrackLeftEighthToDiag( direction), 0xFFFF, 0); MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::BottomCorner, direction, 0, height + 30, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, direction, 0, height + 30, session.SupportColours); PaintUtilSetGeneralSupportHeight(session, height + 48); break; @@ -1195,7 +1195,7 @@ static void MiniSuspendedRCTrackRightEighthToDiag( direction), 0xFFFF, 0); MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height + 30, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height + 30, session.SupportColours); if (direction == 0 || direction == 3) { @@ -1315,7 +1315,7 @@ static void MiniSuspendedRCTrackRightEighthToDiag( direction), 0xFFFF, 0); MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 0, height + 30, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 0, height + 30, session.SupportColours); PaintUtilSetGeneralSupportHeight(session, height + 48); break; @@ -1354,7 +1354,7 @@ static void MiniSuspendedRCTrackDiagFlat( if (trackSequence == 3) MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 0, height + 30, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 0, height + 30, session.SupportColours); PaintUtilSetGeneralSupportHeight(session, height + 48); } @@ -1491,7 +1491,7 @@ static void MiniSuspendedRCTrackDiag25DegUp( direction), 0xFFFF, 0); MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 0, height + 42, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 0, height + 42, session.SupportColours); PaintUtilSetGeneralSupportHeight(session, height + 72); break; @@ -1630,7 +1630,7 @@ static void MiniSuspendedRCTrackDiagFlatTo25DegUp( direction), 0xFFFF, 0); MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 0, height + 34, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 0, height + 34, session.SupportColours); PaintUtilSetGeneralSupportHeight(session, height + 64); break; @@ -1769,7 +1769,7 @@ static void MiniSuspendedRCTrackDiag25DegUpToFlat( direction), 0xFFFF, 0); MetalBSupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 0, height + 36, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 0, height + 36, session.SupportColours); PaintUtilSetGeneralSupportHeight(session, height + 72); break; @@ -1908,7 +1908,7 @@ static void MiniSuspendedRCTrackDiag25DegDown( direction), 0xFFFF, 0); MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 0, height + 42, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 0, height + 42, session.SupportColours); PaintUtilSetGeneralSupportHeight(session, height + 72); break; @@ -2044,7 +2044,7 @@ static void MiniSuspendedRCTrackDiagFlatTo25DegDown( direction), 0xFFFF, 0); MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 0, height + 36, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 0, height + 36, session.SupportColours); break; } @@ -2183,7 +2183,7 @@ static void MiniSuspendedRCTrackDiag25DegDownToFlat( direction), 0xFFFF, 0); MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 0, height + 34, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 0, height + 34, session.SupportColours); PaintUtilSetGeneralSupportHeight(session, height + 64); break; diff --git a/src/openrct2/paint/track/coaster/MultiDimensionRollerCoaster.cpp b/src/openrct2/paint/track/coaster/MultiDimensionRollerCoaster.cpp index c5c89bae67..40eef19234 100644 --- a/src/openrct2/paint/track/coaster/MultiDimensionRollerCoaster.cpp +++ b/src/openrct2/paint/track/coaster/MultiDimensionRollerCoaster.cpp @@ -115,7 +115,7 @@ static void MultiDimensionRCTrackFlat( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); } } else @@ -138,7 +138,7 @@ static void MultiDimensionRCTrackFlat( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); } } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -168,7 +168,7 @@ static void MultiDimensionRCTrackFlat( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 36, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 36, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -244,7 +244,7 @@ static void MultiDimensionRCTrackStation( } else if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); } TrackPaintUtilDrawStationTunnel(session, direction, height); @@ -287,7 +287,7 @@ static void MultiDimensionRCTrack25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); } } else @@ -318,7 +318,7 @@ static void MultiDimensionRCTrack25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); } } if (direction == 0 || direction == 3) @@ -366,19 +366,19 @@ static void MultiDimensionRCTrack25DegUp( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 54, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 54, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 54, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 54, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 54, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 54, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 54, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 54, session.SupportColours); break; } } @@ -427,7 +427,7 @@ static void MultiDimensionRCTrack60DegUp( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 24, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 24, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -514,7 +514,7 @@ static void MultiDimensionRCTrackFlatTo25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); } } else @@ -545,7 +545,7 @@ static void MultiDimensionRCTrackFlatTo25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); } } if (direction == 0 || direction == 3) @@ -593,19 +593,19 @@ static void MultiDimensionRCTrackFlatTo25DegUp( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 46, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 46, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 46, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 46, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 46, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 46, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 46, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 46, session.SupportColours); break; } } @@ -660,7 +660,7 @@ static void MultiDimensionRCTrack25DegUpTo60DegUp( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -756,7 +756,7 @@ static void MultiDimensionRCTrack60DegUpTo25DegUp( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 16, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 16, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -809,19 +809,19 @@ static void MultiDimensionRCTrack60DegUpTo25DegUp( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 68, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 68, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 68, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 68, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 68, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 68, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 68, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 68, session.SupportColours); break; } } @@ -873,7 +873,7 @@ static void MultiDimensionRCTrack25DegUpToFlat( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); } } else @@ -904,7 +904,7 @@ static void MultiDimensionRCTrack25DegUpToFlat( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); } } if (direction == 0 || direction == 3) @@ -952,19 +952,19 @@ static void MultiDimensionRCTrack25DegUpToFlat( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 44, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 44, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 44, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 44, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 44, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 44, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 44, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 44, session.SupportColours); break; } } @@ -1063,7 +1063,7 @@ static void MultiDimensionRCTrackLeftQuarterTurn5( break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -1203,7 +1203,7 @@ static void MultiDimensionRCTrackLeftQuarterTurn5( break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); switch (direction) { case 2: @@ -1262,7 +1262,7 @@ static void MultiDimensionRCTrackLeftQuarterTurn5( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 36, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 36, session.SupportColours); if (direction == 0 || direction == 3) { @@ -1411,7 +1411,7 @@ static void MultiDimensionRCTrackLeftQuarterTurn5( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 36, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 36, session.SupportColours); switch (direction) { @@ -1475,7 +1475,7 @@ static void MultiDimensionRCTrackFlatToLeftBank( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0); @@ -1518,7 +1518,7 @@ static void MultiDimensionRCTrackFlatToLeftBank( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 36, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 36, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -1564,7 +1564,7 @@ static void MultiDimensionRCTrackFlatToRightBank( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0); @@ -1607,7 +1607,7 @@ static void MultiDimensionRCTrackFlatToRightBank( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 36, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 36, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -1653,7 +1653,7 @@ static void MultiDimensionRCTrackLeftBankToFlat( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0); @@ -1696,7 +1696,7 @@ static void MultiDimensionRCTrackLeftBankToFlat( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 36, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 36, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -1742,7 +1742,7 @@ static void MultiDimensionRCTrackRightBankToFlat( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0); @@ -1785,7 +1785,7 @@ static void MultiDimensionRCTrackRightBankToFlat( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 36, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 36, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -1830,7 +1830,7 @@ static void MultiDimensionRCTrackBankedLeftQuarterTurn5( break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -1973,7 +1973,7 @@ static void MultiDimensionRCTrackBankedLeftQuarterTurn5( break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); switch (direction) { case 2: @@ -2032,7 +2032,7 @@ static void MultiDimensionRCTrackBankedLeftQuarterTurn5( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 36, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 36, session.SupportColours); if (direction == 0 || direction == 3) { @@ -2176,7 +2176,7 @@ static void MultiDimensionRCTrackBankedLeftQuarterTurn5( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 36, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 36, session.SupportColours); switch (direction) { @@ -2241,7 +2241,7 @@ static void MultiDimensionRCTrackLeftBankTo25DegUp( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -2294,19 +2294,19 @@ static void MultiDimensionRCTrackLeftBankTo25DegUp( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 44, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 44, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 44, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 44, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 44, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 44, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 44, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 44, session.SupportColours); break; } } @@ -2361,7 +2361,7 @@ static void MultiDimensionRCTrackRightBankTo25DegUp( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -2414,19 +2414,19 @@ static void MultiDimensionRCTrackRightBankTo25DegUp( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 44, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 44, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 44, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 44, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 44, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 44, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 44, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 44, session.SupportColours); break; } } @@ -2481,7 +2481,7 @@ static void MultiDimensionRCTrack25DegUpToLeftBank( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -2534,19 +2534,19 @@ static void MultiDimensionRCTrack25DegUpToLeftBank( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 44, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 44, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 44, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 44, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 44, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 44, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 44, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 44, session.SupportColours); break; } } @@ -2601,7 +2601,7 @@ static void MultiDimensionRCTrack25DegUpToRightBank( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -2654,19 +2654,19 @@ static void MultiDimensionRCTrack25DegUpToRightBank( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 44, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 44, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 44, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 44, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 44, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 44, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 44, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 44, session.SupportColours); break; } } @@ -2751,7 +2751,7 @@ static void MultiDimensionRCTrackLeftBank( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0); @@ -2794,7 +2794,7 @@ static void MultiDimensionRCTrackLeftBank( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 36, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 36, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -2978,7 +2978,7 @@ static void MultiDimensionRCTrackSBendLeft( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 36, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 36, session.SupportColours); if (direction == 0 || direction == 3) { @@ -3023,11 +3023,11 @@ static void MultiDimensionRCTrackSBendLeft( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 36, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 36, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 36, + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 36, session.SupportColours); break; } @@ -3071,11 +3071,11 @@ static void MultiDimensionRCTrackSBendLeft( { case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 36, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 36, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 36, + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 36, session.SupportColours); break; } @@ -3115,7 +3115,7 @@ static void MultiDimensionRCTrackSBendLeft( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 36, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 36, session.SupportColours); switch (direction) { @@ -3465,7 +3465,7 @@ static void MultiDimensionRCTrackLeftQuarterTurn3( break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -3533,7 +3533,7 @@ static void MultiDimensionRCTrackLeftQuarterTurn3( break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); switch (direction) { case 2: @@ -3592,7 +3592,7 @@ static void MultiDimensionRCTrackLeftQuarterTurn3( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 36, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 36, session.SupportColours); if (direction == 0 || direction == 3) { @@ -3669,7 +3669,7 @@ static void MultiDimensionRCTrackLeftQuarterTurn3( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 36, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 36, session.SupportColours); switch (direction) { @@ -3732,7 +3732,7 @@ static void MultiDimensionRCTrackLeftQuarterTurn3Bank( break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -3803,7 +3803,7 @@ static void MultiDimensionRCTrackLeftQuarterTurn3Bank( break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); switch (direction) { case 2: @@ -3862,7 +3862,7 @@ static void MultiDimensionRCTrackLeftQuarterTurn3Bank( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 36, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 36, session.SupportColours); if (direction == 0 || direction == 3) { @@ -3939,7 +3939,7 @@ static void MultiDimensionRCTrackLeftQuarterTurn3Bank( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 36, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 36, session.SupportColours); switch (direction) { @@ -4000,7 +4000,7 @@ static void MultiDimensionRCTrackLeftHalfBankedHelixUpSmall( { { 0, 6, height }, { 32, 20, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 2, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 2, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -4070,7 +4070,7 @@ static void MultiDimensionRCTrackLeftHalfBankedHelixUpSmall( { { 6, 0, height + 8 }, { 20, 32, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); switch (direction) { case 2: @@ -4117,7 +4117,7 @@ static void MultiDimensionRCTrackLeftHalfBankedHelixUpSmall( { { 6, 0, height }, { 20, 32, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 2, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 2, height, session.SupportColours); switch (direction) { case 0: @@ -4193,7 +4193,7 @@ static void MultiDimensionRCTrackLeftHalfBankedHelixUpSmall( { { 0, 27, height }, { 32, 1, 26 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height + 8, kTunnelGroup, TunnelSubType::Flat); @@ -4238,7 +4238,7 @@ static void MultiDimensionRCTrackRightHalfBankedHelixUpSmall( { { 0, 27, height }, { 32, 1, 26 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 2, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 2, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -4309,7 +4309,7 @@ static void MultiDimensionRCTrackRightHalfBankedHelixUpSmall( { { 6, 0, height }, { 20, 32, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); switch (direction) { case 0: @@ -4349,7 +4349,7 @@ static void MultiDimensionRCTrackRightHalfBankedHelixUpSmall( { { 6, 0, height }, { 20, 32, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 2, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 2, height, session.SupportColours); switch (direction) { case 2: @@ -4431,7 +4431,7 @@ static void MultiDimensionRCTrackRightHalfBankedHelixUpSmall( { { 0, 6, height + 8 }, { 32, 20, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height + 8, kTunnelGroup, TunnelSubType::Flat); @@ -4506,7 +4506,7 @@ static void MultiDimensionRCTrackLeftHalfBankedHelixUpLarge( { { 0, 6, height }, { 32, 20, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 1, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 1, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -4647,7 +4647,7 @@ static void MultiDimensionRCTrackLeftHalfBankedHelixUpLarge( { { 6, 0, height + 8 }, { 20, 32, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 7, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 7, height, session.SupportColours); switch (direction) { case 2: @@ -4694,7 +4694,7 @@ static void MultiDimensionRCTrackLeftHalfBankedHelixUpLarge( { { 6, 0, height }, { 20, 32, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 1, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 1, height, session.SupportColours); switch (direction) { case 0: @@ -4840,7 +4840,7 @@ static void MultiDimensionRCTrackLeftHalfBankedHelixUpLarge( { { 0, 27, height }, { 32, 1, 26 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 7, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 7, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height + 8, kTunnelGroup, TunnelSubType::Flat); @@ -4885,7 +4885,7 @@ static void MultiDimensionRCTrackRightHalfBankedHelixUpLarge( { { 0, 27, height }, { 32, 1, 26 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 1, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 1, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -5026,7 +5026,7 @@ static void MultiDimensionRCTrackRightHalfBankedHelixUpLarge( { { 6, 0, height }, { 20, 32, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 7, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 7, height, session.SupportColours); switch (direction) { case 0: @@ -5066,7 +5066,7 @@ static void MultiDimensionRCTrackRightHalfBankedHelixUpLarge( { { 6, 0, height }, { 20, 32, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 1, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 1, height, session.SupportColours); switch (direction) { case 2: @@ -5219,7 +5219,7 @@ static void MultiDimensionRCTrackRightHalfBankedHelixUpLarge( { { 0, 6, height + 8 }, { 32, 20, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 7, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 7, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height + 8, kTunnelGroup, TunnelSubType::Flat); @@ -5284,7 +5284,7 @@ static void MultiDimensionRCTrackBrakes( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0); @@ -5313,7 +5313,7 @@ static void MultiDimensionRCTrackBrakes( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 36, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 36, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -5363,9 +5363,9 @@ static void MultiDimensionRCTrackOnRidePhoto( PaintAddImageAsParentRotated( session, direction, ImageId(SPR_STATION_BASE_D, COLOUR_BLACK), { 0, 0, height }, { 32, 32, 1 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height, session.SupportColours); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height, session.SupportColours); PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(26227), { 0, 0, height + 24 }, { { 0, 6, height + 24 }, { 32, 20, 3 } }); @@ -5374,9 +5374,9 @@ static void MultiDimensionRCTrackOnRidePhoto( PaintAddImageAsParentRotated( session, direction, ImageId(SPR_STATION_BASE_D, COLOUR_BLACK), { 0, 0, height }, { 32, 32, 1 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height, session.SupportColours); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height, session.SupportColours); PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(26228), { 0, 0, height + 24 }, { { 0, 6, height + 24 }, { 32, 20, 3 } }); @@ -5385,9 +5385,9 @@ static void MultiDimensionRCTrackOnRidePhoto( PaintAddImageAsParentRotated( session, direction, ImageId(SPR_STATION_BASE_D, COLOUR_BLACK), { 0, 0, height }, { 32, 32, 1 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height, session.SupportColours); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height, session.SupportColours); PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(26227), { 0, 0, height + 24 }, { { 0, 6, height + 24 }, { 32, 20, 3 } }); @@ -5396,9 +5396,9 @@ static void MultiDimensionRCTrackOnRidePhoto( PaintAddImageAsParentRotated( session, direction, ImageId(SPR_STATION_BASE_D, COLOUR_BLACK), { 0, 0, height }, { 32, 32, 1 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height, session.SupportColours); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height, session.SupportColours); PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(26228), { 0, 0, height + 24 }, { { 0, 6, height + 24 }, { 32, 20, 3 } }); @@ -5799,7 +5799,7 @@ static void MultiDimensionRCTrackLeftEighthToDiag( break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -5885,28 +5885,28 @@ static void MultiDimensionRCTrackLeftEighthToDiag( session, direction, session.TrackColours.WithIndex(15999), { 0, 0, height }, { { 16, 16, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16003), { 0, 0, height }, { { 0, 16, height }, { 16, 18, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16007), { 0, 0, height }, { { 0, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16011), { 0, 0, height }, { { 16, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0); @@ -5946,7 +5946,7 @@ static void MultiDimensionRCTrackLeftEighthToDiag( PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 36, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 36, session.SupportColours); if (direction == 0 || direction == 3) { @@ -6068,20 +6068,20 @@ static void MultiDimensionRCTrackLeftEighthToDiag( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + 36, + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + 36, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 36, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 36, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 36, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 36, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 36, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 36, session.SupportColours); break; } @@ -6125,7 +6125,7 @@ static void MultiDimensionRCTrackRightEighthToDiag( break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -6212,28 +6212,28 @@ static void MultiDimensionRCTrackRightEighthToDiag( session, direction, session.TrackColours.WithIndex(15983), { 0, 0, height }, { { 16, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(15987), { 0, 0, height }, { { 0, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(15991), { 0, 0, height }, { { 0, 16, height }, { 16, 18, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(15995), { 0, 0, height }, { { 16, 16, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0); @@ -6273,7 +6273,7 @@ static void MultiDimensionRCTrackRightEighthToDiag( PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 36, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 36, session.SupportColours); if (direction == 0 || direction == 3) { @@ -6396,19 +6396,19 @@ static void MultiDimensionRCTrackRightEighthToDiag( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 36, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 36, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 36, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 36, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 36, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 36, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + 36, + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + 36, session.SupportColours); break; } @@ -6472,7 +6472,7 @@ static void MultiDimensionRCTrackLeftEighthBankToDiag( break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -6558,28 +6558,28 @@ static void MultiDimensionRCTrackLeftEighthBankToDiag( session, direction, session.TrackColours.WithIndex(16031), { 0, 0, height }, { { 16, 16, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16035), { 0, 0, height }, { { 0, 16, height + 27 }, { 16, 18, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16039), { 0, 0, height }, { { 0, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16043), { 0, 0, height }, { { 16, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0); @@ -6624,7 +6624,7 @@ static void MultiDimensionRCTrackLeftEighthBankToDiag( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 36, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 36, session.SupportColours); if (direction == 0 || direction == 3) { @@ -6746,20 +6746,20 @@ static void MultiDimensionRCTrackLeftEighthBankToDiag( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + 36, + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + 36, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 36, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 36, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 36, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 36, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 36, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 36, session.SupportColours); break; } @@ -6803,7 +6803,7 @@ static void MultiDimensionRCTrackRightEighthBankToDiag( break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -6890,28 +6890,28 @@ static void MultiDimensionRCTrackRightEighthBankToDiag( session, direction, session.TrackColours.WithIndex(16015), { 0, 0, height }, { { 16, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16019), { 0, 0, height }, { { 0, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16023), { 0, 0, height }, { { 0, 16, height + 27 }, { 16, 18, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16027), { 0, 0, height }, { { 16, 16, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0); @@ -6956,7 +6956,7 @@ static void MultiDimensionRCTrackRightEighthBankToDiag( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 36, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 36, session.SupportColours); if (direction == 0 || direction == 3) { @@ -7079,19 +7079,19 @@ static void MultiDimensionRCTrackRightEighthBankToDiag( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 36, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 36, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 36, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 36, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 36, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 36, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + 36, + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + 36, session.SupportColours); break; } @@ -7233,22 +7233,22 @@ static void MultiDimensionRCTrackDiagFlat( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16107), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } } @@ -7258,22 +7258,22 @@ static void MultiDimensionRCTrackDiagFlat( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16045), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } } @@ -7420,19 +7420,19 @@ static void MultiDimensionRCTrackDiagFlat( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 36, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 36, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 36, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 36, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 36, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 36, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + 36, + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + 36, session.SupportColours); break; } @@ -7628,22 +7628,22 @@ static void MultiDimensionRCTrackDiag25DegUp( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 8, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16119), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 8, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 8, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 8, height, session.SupportColours); break; } } @@ -7653,22 +7653,22 @@ static void MultiDimensionRCTrackDiag25DegUp( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 8, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16057), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 8, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 8, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 8, height, session.SupportColours); break; } } @@ -7815,19 +7815,19 @@ static void MultiDimensionRCTrackDiag25DegUp( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 48, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 48, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 48, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 48, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 48, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 48, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + 48, + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + 48, session.SupportColours); break; } @@ -7905,22 +7905,22 @@ static void MultiDimensionRCTrackDiag60DegUp( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 32, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 32, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16069), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 36, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 36, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 32, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 32, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 36, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 36, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -8010,20 +8010,20 @@ static void MultiDimensionRCTrackDiag60DegUp( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 32, height + 36, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 32, height + 36, session.SupportColours); break; case 1: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 36, height + 36, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 36, height + 36, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 32, height + 36, + session, supportType.metal, MetalSupportPlace::rightCorner, 32, height + 36, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 36, height + 36, + session, supportType.metal, MetalSupportPlace::bottomCorner, 36, height + 36, session.SupportColours); break; } @@ -8145,22 +8145,22 @@ static void MultiDimensionRCTrackDiagFlatTo25DegUp( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16111), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } } @@ -8170,22 +8170,22 @@ static void MultiDimensionRCTrackDiagFlatTo25DegUp( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16049), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } } @@ -8332,19 +8332,19 @@ static void MultiDimensionRCTrackDiagFlatTo25DegUp( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 40, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 40, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 40, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 40, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 40, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 40, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + 40, + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + 40, session.SupportColours); break; } @@ -8422,22 +8422,22 @@ static void MultiDimensionRCTrackDiag25DegUpTo60DegUp( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 16, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16061), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 16, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 16, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 16, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -8527,20 +8527,20 @@ static void MultiDimensionRCTrackDiag25DegUpTo60DegUp( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 16, height + 36, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 16, height + 36, session.SupportColours); break; case 1: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 16, height + 36, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 16, height + 36, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 16, height + 36, + session, supportType.metal, MetalSupportPlace::rightCorner, 16, height + 36, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 16, height + 36, + session, supportType.metal, MetalSupportPlace::bottomCorner, 16, height + 36, session.SupportColours); break; } @@ -8618,22 +8618,22 @@ static void MultiDimensionRCTrackDiag60DegUpTo25DegUp( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 21, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 21, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16065), { -16, -16, height }, { { 0, 0, height }, { 16, 16, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 21, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 21, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 21, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 21, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 21, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 21, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -8723,20 +8723,20 @@ static void MultiDimensionRCTrackDiag60DegUpTo25DegUp( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 21, height + 36, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 21, height + 36, session.SupportColours); break; case 1: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 21, height + 36, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 21, height + 36, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 21, height + 36, + session, supportType.metal, MetalSupportPlace::rightCorner, 21, height + 36, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 21, height + 36, + session, supportType.metal, MetalSupportPlace::bottomCorner, 21, height + 36, session.SupportColours); break; } @@ -8858,22 +8858,22 @@ static void MultiDimensionRCTrackDiag25DegUpToFlat( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 4, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16115), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 4, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 4, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 4, height, session.SupportColours); break; } } @@ -8883,22 +8883,22 @@ static void MultiDimensionRCTrackDiag25DegUpToFlat( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 4, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16053), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 4, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 4, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 4, height, session.SupportColours); break; } } @@ -9045,19 +9045,19 @@ static void MultiDimensionRCTrackDiag25DegUpToFlat( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 42, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 42, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 42, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 42, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 42, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 42, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + 42, + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + 42, session.SupportColours); break; } @@ -9179,22 +9179,22 @@ static void MultiDimensionRCTrackDiag25DegDown( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 8, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16121), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 8, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 8, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 8, height, session.SupportColours); break; } } @@ -9204,22 +9204,22 @@ static void MultiDimensionRCTrackDiag25DegDown( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 8, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16059), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 8, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 8, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 8, height, session.SupportColours); break; } } @@ -9310,19 +9310,19 @@ static void MultiDimensionRCTrackDiag25DegDown( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 48, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 48, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 48, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 48, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 48, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 48, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + 48, + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + 48, session.SupportColours); break; } @@ -9400,22 +9400,22 @@ static void MultiDimensionRCTrackDiag60DegDown( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 24, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 24, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16071), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 28, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 28, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 24, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 24, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 28, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 28, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -9505,20 +9505,20 @@ static void MultiDimensionRCTrackDiag60DegDown( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 24, height + 36, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 24, height + 36, session.SupportColours); break; case 1: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 28, height + 36, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 28, height + 36, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 24, height + 36, + session, supportType.metal, MetalSupportPlace::rightCorner, 24, height + 36, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 28, height + 36, + session, supportType.metal, MetalSupportPlace::bottomCorner, 28, height + 36, session.SupportColours); break; } @@ -9637,22 +9637,22 @@ static void MultiDimensionRCTrackDiagFlatTo25DegDown( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 4, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16117), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 4, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 4, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 4, height, session.SupportColours); break; } } @@ -9662,22 +9662,22 @@ static void MultiDimensionRCTrackDiagFlatTo25DegDown( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 4, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16055), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 4, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 4, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 4, height, session.SupportColours); break; } } @@ -9767,19 +9767,19 @@ static void MultiDimensionRCTrackDiagFlatTo25DegDown( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 42, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 42, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 42, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 42, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 42, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 42, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + 42, + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + 42, session.SupportColours); break; } @@ -9857,22 +9857,22 @@ static void MultiDimensionRCTrackDiag25DegDownTo60DegDown( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 17, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 17, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16067), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 17, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 17, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 17, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 17, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 17, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 17, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -9962,20 +9962,20 @@ static void MultiDimensionRCTrackDiag25DegDownTo60DegDown( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 17, height + 36, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 17, height + 36, session.SupportColours); break; case 1: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 17, height + 36, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 17, height + 36, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 17, height + 36, + session, supportType.metal, MetalSupportPlace::rightCorner, 17, height + 36, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 17, height + 36, + session, supportType.metal, MetalSupportPlace::bottomCorner, 17, height + 36, session.SupportColours); break; } @@ -10053,22 +10053,22 @@ static void MultiDimensionRCTrackDiag60DegDownTo25DegDown( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 8, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16063), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 8, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 8, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 8, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -10158,19 +10158,19 @@ static void MultiDimensionRCTrackDiag60DegDownTo25DegDown( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 8, height + 36, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 8, height + 36, session.SupportColours); break; case 1: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 8, height + 36, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 8, height + 36, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 8, height + 36, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 8, height + 36, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 8, height + 36, + session, supportType.metal, MetalSupportPlace::bottomCorner, 8, height + 36, session.SupportColours); break; } @@ -10292,22 +10292,22 @@ static void MultiDimensionRCTrackDiag25DegDownToFlat( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16113), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } } @@ -10317,22 +10317,22 @@ static void MultiDimensionRCTrackDiag25DegDownToFlat( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16051), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } } @@ -10423,19 +10423,19 @@ static void MultiDimensionRCTrackDiag25DegDownToFlat( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 40, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 40, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 40, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 40, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 40, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 40, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + 40, + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + 40, session.SupportColours); break; } @@ -10516,22 +10516,22 @@ static void MultiDimensionRCTrackDiagFlatToLeftBank( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16077), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -10623,19 +10623,19 @@ static void MultiDimensionRCTrackDiagFlatToLeftBank( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 36, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 36, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 36, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 36, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 36, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 36, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + 36, + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + 36, session.SupportColours); break; } @@ -10716,22 +10716,22 @@ static void MultiDimensionRCTrackDiagFlatToRightBank( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16082), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -10823,19 +10823,19 @@ static void MultiDimensionRCTrackDiagFlatToRightBank( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 36, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 36, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 36, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 36, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 36, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 36, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + 36, + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + 36, session.SupportColours); break; } @@ -10916,22 +10916,22 @@ static void MultiDimensionRCTrackDiagLeftBankToFlat( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16084), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -11023,19 +11023,19 @@ static void MultiDimensionRCTrackDiagLeftBankToFlat( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 36, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 36, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 36, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 36, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 36, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 36, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + 36, + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + 36, session.SupportColours); break; } @@ -11116,22 +11116,22 @@ static void MultiDimensionRCTrackDiagRightBankToFlat( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16079), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -11223,19 +11223,19 @@ static void MultiDimensionRCTrackDiagRightBankToFlat( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 36, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 36, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 36, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 36, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 36, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 36, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + 36, + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + 36, session.SupportColours); break; } @@ -11316,22 +11316,22 @@ static void MultiDimensionRCTrackDiagLeftBankTo25DegUp( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16097), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -11421,19 +11421,19 @@ static void MultiDimensionRCTrackDiagLeftBankTo25DegUp( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 40, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 40, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 40, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 40, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 40, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 40, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + 40, + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + 40, session.SupportColours); break; } @@ -11514,22 +11514,22 @@ static void MultiDimensionRCTrackDiagRightBankTo25DegUp( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16102), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -11619,19 +11619,19 @@ static void MultiDimensionRCTrackDiagRightBankTo25DegUp( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 40, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 40, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 40, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 40, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 40, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 40, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + 40, + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + 40, session.SupportColours); break; } @@ -11712,22 +11712,22 @@ static void MultiDimensionRCTrackDiag25DegUpToLeftBank( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 4, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16087), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 4, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 4, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 4, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -11817,19 +11817,19 @@ static void MultiDimensionRCTrackDiag25DegUpToLeftBank( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 42, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 42, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 42, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 42, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 42, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 42, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + 42, + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + 42, session.SupportColours); break; } @@ -11910,22 +11910,22 @@ static void MultiDimensionRCTrackDiag25DegUpToRightBank( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 4, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16092), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 4, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 4, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 4, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -12015,19 +12015,19 @@ static void MultiDimensionRCTrackDiag25DegUpToRightBank( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 42, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 42, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 42, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 42, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 42, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 42, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + 42, + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + 42, session.SupportColours); break; } @@ -12105,22 +12105,22 @@ static void MultiDimensionRCTrackDiagLeftBankTo25DegDown( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 4, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16094), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 4, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 4, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 4, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -12206,19 +12206,19 @@ static void MultiDimensionRCTrackDiagLeftBankTo25DegDown( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 42, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 42, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 42, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 42, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 42, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 42, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + 42, + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + 42, session.SupportColours); break; } @@ -12296,22 +12296,22 @@ static void MultiDimensionRCTrackDiagRightBankTo25DegDown( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 4, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16089), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 4, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 4, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 4, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -12397,19 +12397,19 @@ static void MultiDimensionRCTrackDiagRightBankTo25DegDown( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 42, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 42, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 42, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 42, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 42, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 42, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + 42, + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + 42, session.SupportColours); break; } @@ -12490,22 +12490,22 @@ static void MultiDimensionRCTrackDiag25DegDownToLeftBank( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16104), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -12595,19 +12595,19 @@ static void MultiDimensionRCTrackDiag25DegDownToLeftBank( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 40, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 40, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 40, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 40, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 40, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 40, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + 40, + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + 40, session.SupportColours); break; } @@ -12688,22 +12688,22 @@ static void MultiDimensionRCTrackDiag25DegDownToRightBank( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16099), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -12793,19 +12793,19 @@ static void MultiDimensionRCTrackDiag25DegDownToRightBank( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 40, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 40, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 40, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 40, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 40, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 40, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + 40, + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + 40, session.SupportColours); break; } @@ -12883,22 +12883,22 @@ static void MultiDimensionRCTrackDiagLeftBank( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16073), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -12990,19 +12990,19 @@ static void MultiDimensionRCTrackDiagLeftBank( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 36, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 36, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 36, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 36, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 36, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 36, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + 36, + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + 36, session.SupportColours); break; } @@ -13080,22 +13080,22 @@ static void MultiDimensionRCTrackDiagRightBank( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(16075), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -13187,19 +13187,19 @@ static void MultiDimensionRCTrackDiagRightBank( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 36, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 36, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 36, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 36, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 36, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 36, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + 36, + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + 36, session.SupportColours); break; } @@ -13237,7 +13237,7 @@ static void MultiDimensionRCTrackLeftFlyerTwistUp( session, direction, session.TrackColours.WithIndex(26373), { 0, 6, height }, { 32, 20, 3 }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -13314,7 +13314,7 @@ static void MultiDimensionRCTrackLeftFlyerTwistUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 36, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 36, session.SupportColours); switch (direction) { @@ -13357,7 +13357,7 @@ static void MultiDimensionRCTrackRightFlyerTwistUp( session, direction, session.TrackColours.WithIndex(26385), { 0, 6, height }, { 32, 20, 3 }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -13432,7 +13432,7 @@ static void MultiDimensionRCTrackRightFlyerTwistUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 36, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 36, session.SupportColours); switch (direction) { @@ -13486,7 +13486,7 @@ static void MultiDimensionRCTrackLeftFlyerTwistDown( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 36, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 36, session.SupportColours); if (direction == 0 || direction == 3) { @@ -13545,7 +13545,7 @@ static void MultiDimensionRCTrackLeftFlyerTwistDown( session, direction, session.TrackColours.WithIndex(26374), { 0, 6, height }, { 32, 20, 3 }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); switch (direction) { case 1: @@ -13605,7 +13605,7 @@ static void MultiDimensionRCTrackRightFlyerTwistDown( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 36, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 36, session.SupportColours); if (direction == 0 || direction == 3) { @@ -13663,7 +13663,7 @@ static void MultiDimensionRCTrackRightFlyerTwistDown( session, direction, session.TrackColours.WithIndex(26386), { 0, 6, height }, { 32, 20, 3 }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); switch (direction) { case 1: @@ -13922,7 +13922,7 @@ static void MultiDimensionRCTrackBlockBrakes( PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(imageIds[direction][isClosed]), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0); PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight); @@ -13945,7 +13945,7 @@ static void MultiDimensionRCTrackBlockBrakes( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 36, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 36, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); diff --git a/src/openrct2/paint/track/coaster/SingleRailRollerCoaster.cpp b/src/openrct2/paint/track/coaster/SingleRailRollerCoaster.cpp index 645fb140ba..54d775f7af 100644 --- a/src/openrct2/paint/track/coaster/SingleRailRollerCoaster.cpp +++ b/src/openrct2/paint/track/coaster/SingleRailRollerCoaster.cpp @@ -59,7 +59,7 @@ namespace OpenRCT2::SingleRailRC if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); } } else @@ -82,7 +82,7 @@ namespace OpenRCT2::SingleRailRC if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); } } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -133,7 +133,7 @@ namespace OpenRCT2::SingleRailRC else if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height, session.SupportColours); } TrackPaintUtilDrawStationTunnel(session, direction, height); PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0); @@ -172,7 +172,7 @@ namespace OpenRCT2::SingleRailRC if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); } } else @@ -203,7 +203,7 @@ namespace OpenRCT2::SingleRailRC if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); } } if (direction == 0 || direction == 3) @@ -251,7 +251,7 @@ namespace OpenRCT2::SingleRailRC if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 32, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 32, height, session.SupportColours); } } else @@ -282,7 +282,7 @@ namespace OpenRCT2::SingleRailRC if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 32, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 32, height, session.SupportColours); } } if (direction == 0 || direction == 3) @@ -330,7 +330,7 @@ namespace OpenRCT2::SingleRailRC if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); } } else @@ -361,7 +361,7 @@ namespace OpenRCT2::SingleRailRC if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); } } if (direction == 0 || direction == 3) @@ -415,7 +415,7 @@ namespace OpenRCT2::SingleRailRC if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 12, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 12, height, session.SupportColours); } } else @@ -452,7 +452,7 @@ namespace OpenRCT2::SingleRailRC if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 12, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 12, height, session.SupportColours); } } if (direction == 0 || direction == 3) @@ -506,7 +506,7 @@ namespace OpenRCT2::SingleRailRC if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 20, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 20, height, session.SupportColours); } } else @@ -543,7 +543,7 @@ namespace OpenRCT2::SingleRailRC if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 20, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 20, height, session.SupportColours); } } if (direction == 0 || direction == 3) @@ -591,7 +591,7 @@ namespace OpenRCT2::SingleRailRC if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); } } else @@ -622,7 +622,7 @@ namespace OpenRCT2::SingleRailRC if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); } } if (direction == 0 || direction == 3) @@ -760,7 +760,7 @@ namespace OpenRCT2::SingleRailRC if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 36, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 36, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -898,7 +898,7 @@ namespace OpenRCT2::SingleRailRC break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -971,7 +971,7 @@ namespace OpenRCT2::SingleRailRC break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); switch (direction) { case 2: @@ -1034,7 +1034,7 @@ namespace OpenRCT2::SingleRailRC break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -1187,7 +1187,7 @@ namespace OpenRCT2::SingleRailRC break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); switch (direction) { case 2: @@ -1248,7 +1248,7 @@ namespace OpenRCT2::SingleRailRC break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -1342,28 +1342,28 @@ namespace OpenRCT2::SingleRailRC session, direction, session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_LARGE_CURVE + 3)), { 0, 0, height }, { { 16, 16, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_LARGE_CURVE + 7)), { 0, 0, height }, { { 0, 16, height }, { 16, 18, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_LARGE_CURVE + 11)), { 0, 0, height }, { { 0, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_LARGE_CURVE + 15)), { 0, 0, height }, { { 16, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -1410,7 +1410,7 @@ namespace OpenRCT2::SingleRailRC break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -1505,28 +1505,28 @@ namespace OpenRCT2::SingleRailRC session, direction, session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_LARGE_CURVE + 19)), { 0, 0, height }, { { 16, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_LARGE_CURVE + 23)), { 0, 0, height }, { { 0, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_LARGE_CURVE + 27)), { 0, 0, height }, { { 0, 16, height }, { 16, 18, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_LARGE_CURVE + 31)), { 0, 0, height }, { { 16, 16, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -1640,7 +1640,7 @@ namespace OpenRCT2::SingleRailRC { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -1648,15 +1648,15 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_BRAKE_DIAGONAL + 1)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -1737,7 +1737,7 @@ namespace OpenRCT2::SingleRailRC { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -1745,15 +1745,15 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_BLOCK_BRAKE_DIAGONAL + 1)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -1881,7 +1881,7 @@ namespace OpenRCT2::SingleRailRC { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 9, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -1889,15 +1889,15 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_LIFT_TRACK_GENTLE_DIAGONAL + 1)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 9, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 9, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 9, height, session.SupportColours); break; } } @@ -1907,7 +1907,7 @@ namespace OpenRCT2::SingleRailRC { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 9, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -1915,15 +1915,15 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_GENTLE_DIAGONAL + 1)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 9, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 9, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 9, height, session.SupportColours); break; } } @@ -2052,7 +2052,7 @@ namespace OpenRCT2::SingleRailRC { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 6, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -2060,15 +2060,15 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_LIFT_TRACK_GENTLE_DIAGONAL + 5)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 6, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 6, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 6, height, session.SupportColours); break; } } @@ -2078,7 +2078,7 @@ namespace OpenRCT2::SingleRailRC { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 6, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -2086,15 +2086,15 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_GENTLE_DIAGONAL + 5)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 6, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 6, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 6, height, session.SupportColours); break; } } @@ -2223,7 +2223,7 @@ namespace OpenRCT2::SingleRailRC { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 2, + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 2, session.SupportColours); break; case 1: @@ -2232,16 +2232,16 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_LIFT_TRACK_GENTLE_DIAGONAL + 1)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 2, + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 2, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } } @@ -2251,7 +2251,7 @@ namespace OpenRCT2::SingleRailRC { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 2, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 2, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -2259,15 +2259,15 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_GENTLE_DIAGONAL + 1)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 2, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 2, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 2, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 2, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 2, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 2, height, session.SupportColours); break; } } @@ -2396,7 +2396,7 @@ namespace OpenRCT2::SingleRailRC { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 8, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -2404,15 +2404,15 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_LIFT_TRACK_GENTLE_DIAGONAL + 11)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 8, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 8, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 8, height, session.SupportColours); break; } } @@ -2422,7 +2422,7 @@ namespace OpenRCT2::SingleRailRC { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 8, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -2430,15 +2430,15 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_GENTLE_DIAGONAL + 11)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 8, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 8, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 8, height, session.SupportColours); break; } } @@ -2564,7 +2564,7 @@ namespace OpenRCT2::SingleRailRC { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 4, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -2572,15 +2572,15 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_LIFT_TRACK_GENTLE_DIAGONAL + 7)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 4, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 4, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 4, height, session.SupportColours); break; } } @@ -2590,7 +2590,7 @@ namespace OpenRCT2::SingleRailRC { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 4, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -2598,15 +2598,15 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_GENTLE_DIAGONAL + 7)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 4, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 4, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 4, height, session.SupportColours); break; } } @@ -2736,7 +2736,7 @@ namespace OpenRCT2::SingleRailRC { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -2744,15 +2744,15 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_LIFT_TRACK_GENTLE_DIAGONAL + 3)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } } @@ -2762,7 +2762,7 @@ namespace OpenRCT2::SingleRailRC { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -2770,15 +2770,15 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_GENTLE_DIAGONAL + 3)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } } @@ -2907,7 +2907,7 @@ namespace OpenRCT2::SingleRailRC { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 38, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 38, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -2915,15 +2915,15 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_LIFT_TRACK_STEEP_DIAGONAL + 9)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 36, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 36, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 38, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 38, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 36, height, + session, supportType.metal, MetalSupportPlace::bottomCorner, 36, height, session.SupportColours); break; } @@ -2934,7 +2934,7 @@ namespace OpenRCT2::SingleRailRC { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 38, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 38, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -2942,15 +2942,15 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_STEEP_DIAGONAL + 9)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 36, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 36, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 38, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 38, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 36, height, + session, supportType.metal, MetalSupportPlace::bottomCorner, 36, height, session.SupportColours); break; } @@ -3080,7 +3080,7 @@ namespace OpenRCT2::SingleRailRC { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 16, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -3088,15 +3088,15 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_LIFT_TRACK_STEEP_DIAGONAL + 1)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 16, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 16, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 16, height, + session, supportType.metal, MetalSupportPlace::bottomCorner, 16, height, session.SupportColours); break; } @@ -3107,7 +3107,7 @@ namespace OpenRCT2::SingleRailRC { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 16, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -3115,15 +3115,15 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_STEEP_DIAGONAL + 1)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 16, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 16, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 16, height, + session, supportType.metal, MetalSupportPlace::bottomCorner, 16, height, session.SupportColours); break; } @@ -3253,7 +3253,7 @@ namespace OpenRCT2::SingleRailRC { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 21, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 21, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -3261,15 +3261,15 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_LIFT_TRACK_STEEP_DIAGONAL + 5)), { -16, -16, height }, { { 0, 0, height }, { 16, 16, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 21, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 21, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 21, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 21, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 21, height, + session, supportType.metal, MetalSupportPlace::bottomCorner, 21, height, session.SupportColours); break; } @@ -3280,7 +3280,7 @@ namespace OpenRCT2::SingleRailRC { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 21, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 21, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -3288,15 +3288,15 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_STEEP_DIAGONAL + 5)), { -16, -16, height }, { { 0, 0, height }, { 16, 16, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 21, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 21, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 21, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 21, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 21, height, + session, supportType.metal, MetalSupportPlace::bottomCorner, 21, height, session.SupportColours); break; } @@ -3426,7 +3426,7 @@ namespace OpenRCT2::SingleRailRC { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 24, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 24, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -3434,15 +3434,15 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_LIFT_TRACK_STEEP_DIAGONAL + 11)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 28, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 28, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 24, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 24, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 28, height, + session, supportType.metal, MetalSupportPlace::bottomCorner, 28, height, session.SupportColours); break; } @@ -3453,7 +3453,7 @@ namespace OpenRCT2::SingleRailRC { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 24, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 24, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -3461,15 +3461,15 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_STEEP_DIAGONAL + 11)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 28, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 28, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 24, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 24, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 28, height, + session, supportType.metal, MetalSupportPlace::bottomCorner, 28, height, session.SupportColours); break; } @@ -3599,7 +3599,7 @@ namespace OpenRCT2::SingleRailRC { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 17, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 17, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -3607,15 +3607,15 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_LIFT_TRACK_STEEP_DIAGONAL + 7)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 17, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 17, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 17, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 17, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 17, height, + session, supportType.metal, MetalSupportPlace::bottomCorner, 17, height, session.SupportColours); break; } @@ -3626,7 +3626,7 @@ namespace OpenRCT2::SingleRailRC { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 17, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 17, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -3634,15 +3634,15 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_STEEP_DIAGONAL + 7)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 17, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 17, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 17, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 17, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 17, height, + session, supportType.metal, MetalSupportPlace::bottomCorner, 17, height, session.SupportColours); break; } @@ -3772,7 +3772,7 @@ namespace OpenRCT2::SingleRailRC { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 8, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -3780,15 +3780,15 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_LIFT_TRACK_STEEP_DIAGONAL + 3)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 8, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 8, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 8, height, session.SupportColours); break; } } @@ -3798,7 +3798,7 @@ namespace OpenRCT2::SingleRailRC { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 8, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -3806,15 +3806,15 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_STEEP_DIAGONAL + 3)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 8, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 8, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 8, height, session.SupportColours); break; } } @@ -3864,7 +3864,7 @@ namespace OpenRCT2::SingleRailRC } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); PaintUtilSetSegmentSupportHeight( @@ -3907,7 +3907,7 @@ namespace OpenRCT2::SingleRailRC } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); PaintUtilSetSegmentSupportHeight( @@ -3964,7 +3964,7 @@ namespace OpenRCT2::SingleRailRC } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -4014,7 +4014,7 @@ namespace OpenRCT2::SingleRailRC } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -4064,7 +4064,7 @@ namespace OpenRCT2::SingleRailRC } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -4114,7 +4114,7 @@ namespace OpenRCT2::SingleRailRC } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -4186,7 +4186,7 @@ namespace OpenRCT2::SingleRailRC } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); PaintUtilSetSegmentSupportHeight( @@ -4272,7 +4272,7 @@ namespace OpenRCT2::SingleRailRC { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -4280,15 +4280,15 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_BANK_TRANSITION_DIAGONAL + 2)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -4373,7 +4373,7 @@ namespace OpenRCT2::SingleRailRC { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -4381,15 +4381,15 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_BANK_TRANSITION_DIAGONAL + 6)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -4474,7 +4474,7 @@ namespace OpenRCT2::SingleRailRC { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -4482,15 +4482,15 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_BANK_TRANSITION_DIAGONAL + 9)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -4575,7 +4575,7 @@ namespace OpenRCT2::SingleRailRC { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -4583,15 +4583,15 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_BANK_TRANSITION_DIAGONAL + 4)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -4676,7 +4676,7 @@ namespace OpenRCT2::SingleRailRC { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -4684,15 +4684,15 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_BANK_TRANSITION_DIAGONAL + 12)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -4777,7 +4777,7 @@ namespace OpenRCT2::SingleRailRC { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -4785,15 +4785,15 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_BANK_TRANSITION_DIAGONAL + 16)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -4878,7 +4878,7 @@ namespace OpenRCT2::SingleRailRC { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 4, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -4886,15 +4886,15 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_BANK_TRANSITION_DIAGONAL + 22)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 4, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 4, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 4, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -4979,7 +4979,7 @@ namespace OpenRCT2::SingleRailRC { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 4, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -4987,15 +4987,15 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_BANK_TRANSITION_DIAGONAL + 26)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 4, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 4, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 4, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -5077,7 +5077,7 @@ namespace OpenRCT2::SingleRailRC { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 4, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -5085,15 +5085,15 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_BANK_TRANSITION_DIAGONAL + 29)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 4, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 4, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 4, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -5176,7 +5176,7 @@ namespace OpenRCT2::SingleRailRC { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 4, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -5184,15 +5184,15 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_BANK_TRANSITION_DIAGONAL + 24)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 4, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 4, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 4, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -5278,7 +5278,7 @@ namespace OpenRCT2::SingleRailRC { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -5286,15 +5286,15 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_BANK_TRANSITION_DIAGONAL + 19)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -5379,7 +5379,7 @@ namespace OpenRCT2::SingleRailRC { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -5387,15 +5387,15 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_BANK_TRANSITION_DIAGONAL + 14)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -5476,7 +5476,7 @@ namespace OpenRCT2::SingleRailRC { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -5484,15 +5484,15 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_BANK_TRANSITION_DIAGONAL + 31)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -5573,7 +5573,7 @@ namespace OpenRCT2::SingleRailRC { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -5581,15 +5581,15 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_BANK_TRANSITION_DIAGONAL + 33)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -5642,7 +5642,7 @@ namespace OpenRCT2::SingleRailRC break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 2, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 2, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -5727,7 +5727,7 @@ namespace OpenRCT2::SingleRailRC break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 2, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 2, height, session.SupportColours); switch (direction) { case 2: @@ -5796,7 +5796,7 @@ namespace OpenRCT2::SingleRailRC break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 1, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 1, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -5961,7 +5961,7 @@ namespace OpenRCT2::SingleRailRC break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 1, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 1, height, session.SupportColours); switch (direction) { case 2: @@ -6026,7 +6026,7 @@ namespace OpenRCT2::SingleRailRC break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -6129,7 +6129,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_LARGE_CURVE_BANKED + 3)), { 0, 0, height }, { { 16, 16, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -6137,7 +6137,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_LARGE_CURVE_BANKED + 7)), { 0, 0, height }, { { 0, 16, height + 27 }, { 16, 18, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -6145,7 +6145,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_LARGE_CURVE_BANKED + 11)), { 0, 0, height }, { { 0, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -6153,7 +6153,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_LARGE_CURVE_BANKED + 15)), { 0, 0, height }, { { 16, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -6204,7 +6204,7 @@ namespace OpenRCT2::SingleRailRC break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -6308,7 +6308,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_LARGE_CURVE_BANKED + 19)), { 0, 0, height }, { { 16, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -6316,7 +6316,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_LARGE_CURVE_BANKED + 23)), { 0, 0, height }, { { 0, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -6324,7 +6324,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_LARGE_CURVE_BANKED + 27)), { 0, 0, height }, { { 0, 16, height + 27 }, { 16, 18, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -6332,7 +6332,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_LARGE_CURVE_BANKED + 31)), { 0, 0, height }, { { 16, 16, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -6399,7 +6399,7 @@ namespace OpenRCT2::SingleRailRC break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -6447,7 +6447,7 @@ namespace OpenRCT2::SingleRailRC break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); switch (direction) { case 2: @@ -6504,7 +6504,7 @@ namespace OpenRCT2::SingleRailRC break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -6533,7 +6533,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_GENTLE_SMALL_CURVE + 9)), { 6, 0, height }, { 20, 32, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -6541,7 +6541,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_GENTLE_SMALL_CURVE + 11)), { 6, 0, height }, { 20, 32, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -6549,7 +6549,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_GENTLE_SMALL_CURVE + 13)), { 6, 0, height }, { 20, 32, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 10, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 10, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -6557,7 +6557,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_GENTLE_SMALL_CURVE + 15)), { 6, 0, height }, { 20, 32, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; } switch (direction) @@ -6632,7 +6632,7 @@ namespace OpenRCT2::SingleRailRC break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -6793,7 +6793,7 @@ namespace OpenRCT2::SingleRailRC break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); switch (direction) { case 2: @@ -6850,7 +6850,7 @@ namespace OpenRCT2::SingleRailRC break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -7011,7 +7011,7 @@ namespace OpenRCT2::SingleRailRC break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); switch (direction) { case 0: @@ -7308,7 +7308,7 @@ namespace OpenRCT2::SingleRailRC } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -7360,7 +7360,7 @@ namespace OpenRCT2::SingleRailRC } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -7412,7 +7412,7 @@ namespace OpenRCT2::SingleRailRC } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -7464,7 +7464,7 @@ namespace OpenRCT2::SingleRailRC } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -7540,7 +7540,7 @@ namespace OpenRCT2::SingleRailRC } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -7588,7 +7588,7 @@ namespace OpenRCT2::SingleRailRC } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -7636,7 +7636,7 @@ namespace OpenRCT2::SingleRailRC } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -7684,7 +7684,7 @@ namespace OpenRCT2::SingleRailRC } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -7764,7 +7764,7 @@ namespace OpenRCT2::SingleRailRC } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -7812,7 +7812,7 @@ namespace OpenRCT2::SingleRailRC } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -7878,7 +7878,7 @@ namespace OpenRCT2::SingleRailRC } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -7930,7 +7930,7 @@ namespace OpenRCT2::SingleRailRC } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -7982,7 +7982,7 @@ namespace OpenRCT2::SingleRailRC } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -8034,7 +8034,7 @@ namespace OpenRCT2::SingleRailRC } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -8112,7 +8112,7 @@ namespace OpenRCT2::SingleRailRC break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -8160,7 +8160,7 @@ namespace OpenRCT2::SingleRailRC break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); switch (direction) { case 2: @@ -8217,7 +8217,7 @@ namespace OpenRCT2::SingleRailRC break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -8246,7 +8246,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_GENTLE_SMALL_CURVE_BANKED + 9)), { 6, 0, height }, { 20, 32, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -8254,7 +8254,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_GENTLE_SMALL_CURVE_BANKED + 11)), { 6, 0, height }, { { 27, 0, height }, { 1, 32, 34 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -8262,7 +8262,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_GENTLE_SMALL_CURVE_BANKED + 13)), { 6, 0, height }, { { 27, 0, height }, { 1, 32, 34 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 10, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 10, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -8270,7 +8270,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_GENTLE_SMALL_CURVE_BANKED + 15)), { 6, 0, height }, { 20, 32, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; } switch (direction) @@ -8347,7 +8347,7 @@ namespace OpenRCT2::SingleRailRC break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -8508,7 +8508,7 @@ namespace OpenRCT2::SingleRailRC break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); switch (direction) { case 2: @@ -8565,7 +8565,7 @@ namespace OpenRCT2::SingleRailRC break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -8726,7 +8726,7 @@ namespace OpenRCT2::SingleRailRC break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); switch (direction) { case 0: @@ -9121,7 +9121,7 @@ namespace OpenRCT2::SingleRailRC break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 2, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 2, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -9199,7 +9199,7 @@ namespace OpenRCT2::SingleRailRC break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); switch (direction) { case 2: @@ -9247,7 +9247,7 @@ namespace OpenRCT2::SingleRailRC break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 2, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 2, height, session.SupportColours); switch (direction) { case 0: @@ -9331,7 +9331,7 @@ namespace OpenRCT2::SingleRailRC break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height + 8, kTunnelGroup, TunnelSubType::Flat); @@ -9383,7 +9383,7 @@ namespace OpenRCT2::SingleRailRC break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 2, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 2, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -9462,7 +9462,7 @@ namespace OpenRCT2::SingleRailRC break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); switch (direction) { case 0: @@ -9510,7 +9510,7 @@ namespace OpenRCT2::SingleRailRC break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 2, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 2, height, session.SupportColours); switch (direction) { case 2: @@ -9593,7 +9593,7 @@ namespace OpenRCT2::SingleRailRC break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height + 8, kTunnelGroup, TunnelSubType::Flat); @@ -9671,7 +9671,7 @@ namespace OpenRCT2::SingleRailRC break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 1, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 1, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -9821,7 +9821,7 @@ namespace OpenRCT2::SingleRailRC break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 7, height, session.SupportColours); switch (direction) { case 2: @@ -9869,7 +9869,7 @@ namespace OpenRCT2::SingleRailRC break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 1, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 1, height, session.SupportColours); switch (direction) { case 0: @@ -10023,7 +10023,7 @@ namespace OpenRCT2::SingleRailRC break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 7, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height + 8, kTunnelGroup, TunnelSubType::Flat); @@ -10074,7 +10074,7 @@ namespace OpenRCT2::SingleRailRC break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 1, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 1, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -10203,7 +10203,7 @@ namespace OpenRCT2::SingleRailRC session, direction, session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_LARGE_HELIX + 26)), { 0, 0, height }, { { 6, 0, height + 8 }, { 20, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 7, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -10213,21 +10213,21 @@ namespace OpenRCT2::SingleRailRC session, direction, session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_LARGE_HELIX + 32)), { 0, 0, height }, { { 27, 0, height }, { 1, 32, 26 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_LARGE_HELIX + 37)), { 0, 0, height }, { { 27, 0, height }, { 1, 32, 26 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 7, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_LARGE_HELIX + 43)), { 0, 0, height }, { { 6, 0, height }, { 20, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 7, height, session.SupportColours); break; } switch (direction) @@ -10277,7 +10277,7 @@ namespace OpenRCT2::SingleRailRC break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 1, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 1, height, session.SupportColours); switch (direction) { case 2: @@ -10415,28 +10415,28 @@ namespace OpenRCT2::SingleRailRC session, direction, session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_LARGE_HELIX + 32)), { 0, 0, height }, { { 0, 27, height }, { 32, 1, 26 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_LARGE_HELIX + 37)), { 0, 0, height }, { { 0, 27, height }, { 32, 1, 26 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 7, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_LARGE_HELIX + 43)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 7, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_LARGE_HELIX + 26)), { 0, 0, height }, { { 0, 6, height + 8 }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 7, height, session.SupportColours); break; } if (direction == 0 || direction == 3) @@ -10499,7 +10499,7 @@ namespace OpenRCT2::SingleRailRC session, direction, session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_BARREL_ROLL + 1)), { 0, 0, height }, { { 0, 6, height + 28 }, { 32, 20, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 4, height + 1, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 4, height + 1, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -10509,7 +10509,7 @@ namespace OpenRCT2::SingleRailRC session, direction, session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_BARREL_ROLL + 7)), { 0, 0, height }, { { 0, 6, height + 28 }, { 32, 20, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 4, height + 1, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 4, height + 1, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -10519,7 +10519,7 @@ namespace OpenRCT2::SingleRailRC session, direction, session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_BARREL_ROLL + 13)), { 0, 0, height }, { { 0, 6, height + 28 }, { 32, 20, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 1, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 1, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -10529,7 +10529,7 @@ namespace OpenRCT2::SingleRailRC session, direction, session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_BARREL_ROLL + 19)), { 0, 0, height }, { { 0, 6, height + 28 }, { 32, 20, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; } if (direction == 0 || direction == 3) @@ -10667,7 +10667,7 @@ namespace OpenRCT2::SingleRailRC session, direction, session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_BARREL_ROLL + 25)), { 0, 0, height }, { { 0, 6, height + 28 }, { 32, 20, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -10677,7 +10677,7 @@ namespace OpenRCT2::SingleRailRC session, direction, session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_BARREL_ROLL + 31)), { 0, 0, height }, { { 0, 6, height + 28 }, { 32, 20, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 1, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 1, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -10687,7 +10687,7 @@ namespace OpenRCT2::SingleRailRC session, direction, session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_BARREL_ROLL + 37)), { 0, 0, height }, { { 0, 6, height + 28 }, { 32, 20, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 4, height + 1, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 4, height + 1, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -10697,7 +10697,7 @@ namespace OpenRCT2::SingleRailRC session, direction, session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_BARREL_ROLL + 43)), { 0, 0, height }, { { 0, 6, height + 28 }, { 32, 20, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 4, height + 1, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 4, height + 1, session.SupportColours); break; } if (direction == 0 || direction == 3) @@ -10863,7 +10863,7 @@ namespace OpenRCT2::SingleRailRC break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -10880,28 +10880,28 @@ namespace OpenRCT2::SingleRailRC session, direction, session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_HALF_LOOP + 1)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 20, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 20, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_HALF_LOOP + 5)), { 0, 14, height }, { { 28, 6, height }, { 3, 20, 63 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 15, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 15, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_HALF_LOOP + 9)), { 0, 6, height }, { { 28, 6, height }, { 3, 20, 63 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 16, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_HALF_LOOP + 13)), { 0, 6, height }, { 32, 20, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 16, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0); @@ -11004,7 +11004,7 @@ namespace OpenRCT2::SingleRailRC } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); PaintUtilSetSegmentSupportHeight( @@ -11081,7 +11081,7 @@ namespace OpenRCT2::SingleRailRC if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -11122,7 +11122,7 @@ namespace OpenRCT2::SingleRailRC if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 9, height, session.SupportColours); } PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); @@ -11159,7 +11159,7 @@ namespace OpenRCT2::SingleRailRC if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 10, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 10, height, session.SupportColours); } PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); @@ -11196,7 +11196,7 @@ namespace OpenRCT2::SingleRailRC if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 19, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 19, height, session.SupportColours); } switch (direction) { @@ -11250,7 +11250,7 @@ namespace OpenRCT2::SingleRailRC if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 24, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 24, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -11291,7 +11291,7 @@ namespace OpenRCT2::SingleRailRC if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 18, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 18, height, session.SupportColours); } PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); @@ -11328,7 +11328,7 @@ namespace OpenRCT2::SingleRailRC if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 13, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 13, height, session.SupportColours); } PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); @@ -11365,7 +11365,7 @@ namespace OpenRCT2::SingleRailRC if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 5, height, session.SupportColours); } switch (direction) { @@ -11418,7 +11418,7 @@ namespace OpenRCT2::SingleRailRC } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); PaintUtilSetSegmentSupportHeight( @@ -11458,7 +11458,7 @@ namespace OpenRCT2::SingleRailRC } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 2, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 2, height, session.SupportColours); if (direction == 0 || direction == 3) { @@ -11535,7 +11535,7 @@ namespace OpenRCT2::SingleRailRC direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 33, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 33, session.SupportColours); switch (direction) { @@ -11582,7 +11582,7 @@ namespace OpenRCT2::SingleRailRC break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 2, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 2, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -11658,7 +11658,7 @@ namespace OpenRCT2::SingleRailRC direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 33, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 33, session.SupportColours); switch (direction) { @@ -11724,7 +11724,7 @@ namespace OpenRCT2::SingleRailRC } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 2, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 2, height, session.SupportColours); if (direction == 0 || direction == 3) { @@ -11749,7 +11749,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_LARGE_CORKSCREW + 1)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 34, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 34, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -11757,7 +11757,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_LARGE_CORKSCREW + 6)), { 0, 0, height }, { { 0, 29, height }, { 26, 1, 32 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 22, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 22, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -11765,7 +11765,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_LARGE_CORKSCREW + 11)), { 0, 0, height }, { { 0, 6, height }, { 20, 20, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 24, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 24, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -11773,7 +11773,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_LARGE_CORKSCREW + 16)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 16, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -11842,7 +11842,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_LARGE_CORKSCREW + 3)), { 0, 0, height }, { { 2, 2, height + 50 }, { 28, 28, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 56, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 56, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -11850,7 +11850,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_LARGE_CORKSCREW + 8)), { 0, 0, height }, { { 2, 2, height + 50 }, { 28, 28, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 56, + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 56, session.SupportColours); break; case 2: @@ -11859,7 +11859,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_LARGE_CORKSCREW + 13)), { 0, 0, height }, { { 2, 2, height + 50 }, { 24, 28, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 56, + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 56, session.SupportColours); break; case 3: @@ -11868,7 +11868,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_LARGE_CORKSCREW + 18)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 56, + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 56, session.SupportColours); break; } @@ -11962,7 +11962,7 @@ namespace OpenRCT2::SingleRailRC } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 2, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 2, height, session.SupportColours); if (direction == 0 || direction == 3) { @@ -11987,7 +11987,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_LARGE_CORKSCREW + 21)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 16, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -11995,7 +11995,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_LARGE_CORKSCREW + 26)), { 0, 0, height }, { { 0, 6, height }, { 20, 20, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 24, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 24, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -12003,7 +12003,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_LARGE_CORKSCREW + 31)), { 0, 0, height }, { { 0, 29, height }, { 26, 1, 32 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 22, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 22, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -12011,7 +12011,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_LARGE_CORKSCREW + 36)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 34, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 34, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -12081,7 +12081,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_LARGE_CORKSCREW + 23)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 56, + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 56, session.SupportColours); break; case 1: @@ -12090,7 +12090,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_LARGE_CORKSCREW + 28)), { 0, 0, height }, { { 2, 2, height + 50 }, { 24, 28, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 56, + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 56, session.SupportColours); break; case 2: @@ -12099,7 +12099,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_LARGE_CORKSCREW + 33)), { 0, 0, height }, { { 2, 2, height + 50 }, { 28, 28, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 56, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 56, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -12107,7 +12107,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_LARGE_CORKSCREW + 38)), { 0, 0, height }, { { 2, 2, height + 50 }, { 28, 28, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 56, + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 56, session.SupportColours); break; } @@ -12214,7 +12214,7 @@ namespace OpenRCT2::SingleRailRC } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 7, height, session.SupportColours); if (direction == 0 || direction == 3) { @@ -12272,7 +12272,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_MEDIUM_HALF_LOOP + 2)), { 0, 0, height }, { { 0, 0, height + 2 }, { 32, 32, 0 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 14, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 14, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -12280,7 +12280,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_MEDIUM_HALF_LOOP + 7)), { 0, 0, height }, { { 29, 0, height }, { 1, 32, 96 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 16, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -12288,7 +12288,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_MEDIUM_HALF_LOOP + 12)), { 0, 0, height }, { { 31, 0, height }, { 1, 32, 96 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 18, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 18, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -12296,7 +12296,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_MEDIUM_HALF_LOOP + 17)), { 0, 0, height }, { { 0, 0, height }, { 32, 32, 0 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 14, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 14, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -12427,7 +12427,7 @@ namespace OpenRCT2::SingleRailRC } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 7, height, session.SupportColours); if (direction == 0 || direction == 3) { @@ -12485,7 +12485,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_MEDIUM_HALF_LOOP + 22)), { 0, 0, height }, { { 0, 0, height }, { 32, 32, 0 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 14, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 14, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -12493,7 +12493,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_MEDIUM_HALF_LOOP + 27)), { 0, 0, height }, { { 30, 0, height }, { 0, 32, 96 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 18, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 18, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -12501,7 +12501,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_MEDIUM_HALF_LOOP + 32)), { 0, 0, height }, { { 29, 0, height }, { 0, 32, 96 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 16, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -12509,7 +12509,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_MEDIUM_HALF_LOOP + 37)), { 0, 0, height }, { { 0, 0, height + 2 }, { 32, 32, 0 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 14, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 14, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -12635,7 +12635,7 @@ namespace OpenRCT2::SingleRailRC session, direction, session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_ZERO_G_ROLL + 1)), { 0, 0, height }, { { 0, 6, height + 28 }, { 32, 20, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -12645,21 +12645,21 @@ namespace OpenRCT2::SingleRailRC session, direction, session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_ZERO_G_ROLL + 5)), { 0, 0, height }, { { 0, 31, height }, { 32, 1, 32 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_ZERO_G_ROLL + 8)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_ZERO_G_ROLL + 12)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 14, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 14, height, session.SupportColours); break; } @@ -12753,7 +12753,7 @@ namespace OpenRCT2::SingleRailRC direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 38, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 38, session.SupportColours); PaintUtilSetGeneralSupportHeight(session, height + 40); break; } @@ -12773,14 +12773,14 @@ namespace OpenRCT2::SingleRailRC session, direction, session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_ZERO_G_ROLL + 16)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 14, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 14, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_ZERO_G_ROLL + 20)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -12790,7 +12790,7 @@ namespace OpenRCT2::SingleRailRC session, direction, session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_ZERO_G_ROLL + 25)), { 0, 0, height }, { { 0, 31, height }, { 32, 1, 32 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -12800,7 +12800,7 @@ namespace OpenRCT2::SingleRailRC session, direction, session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_ZERO_G_ROLL + 29)), { 0, 0, height }, { { 0, 6, height + 28 }, { 32, 20, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); break; } if (direction == 0 || direction == 3) @@ -12893,7 +12893,7 @@ namespace OpenRCT2::SingleRailRC direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 38, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 38, session.SupportColours); PaintUtilSetGeneralSupportHeight(session, height + 40); break; } @@ -12952,7 +12952,7 @@ namespace OpenRCT2::SingleRailRC break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 25, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 25, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -13056,7 +13056,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_LARGE_ZERO_G_ROLL + 4)), { 0, 0, height }, { { 0, 26, height }, { 26, 0, 20 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 28, + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 28, session.SupportColours); break; case 1: @@ -13065,7 +13065,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_LARGE_ZERO_G_ROLL + 8)), { 0, 0, height }, { { 0, 26, height }, { 26, 0, 20 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 28, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 28, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -13077,7 +13077,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_LARGE_ZERO_G_ROLL + 14)), { 0, 0, height }, { { 0, 6, height + 40 }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 28, + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 28, session.SupportColours); break; case 3: @@ -13086,7 +13086,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_LARGE_ZERO_G_ROLL + 19)), { 0, 0, height }, { { 0, 18, height }, { 32, 10, 20 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 28, + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 28, session.SupportColours); break; } @@ -13143,7 +13143,7 @@ namespace OpenRCT2::SingleRailRC break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 25, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 25, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -13248,7 +13248,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_LARGE_ZERO_G_ROLL + 24)), { 0, 0, height }, { { 0, 18, height }, { 32, 10, 20 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 28, + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 28, session.SupportColours); break; case 1: @@ -13261,7 +13261,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_LARGE_ZERO_G_ROLL + 30)), { 0, 0, height }, { { 0, 6, height + 40 }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 28, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 28, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -13269,7 +13269,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_LARGE_ZERO_G_ROLL + 34)), { 0, 0, height }, { { 0, 26, height }, { 26, 0, 20 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 28, + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 28, session.SupportColours); break; case 3: @@ -13278,7 +13278,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_LARGE_ZERO_G_ROLL + 39)), { 0, 0, height }, { { 0, 26, height }, { 26, 0, 20 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 28, + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 28, session.SupportColours); break; } @@ -13464,7 +13464,7 @@ namespace OpenRCT2::SingleRailRC break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -13512,7 +13512,7 @@ namespace OpenRCT2::SingleRailRC break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height - 6, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height - 6, session.SupportColours); switch (direction) { case 2: @@ -13573,7 +13573,7 @@ namespace OpenRCT2::SingleRailRC break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -13622,7 +13622,7 @@ namespace OpenRCT2::SingleRailRC break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height - 6, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height - 6, session.SupportColours); switch (direction) { case 0: @@ -13679,7 +13679,7 @@ namespace OpenRCT2::SingleRailRC break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height - 6, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height - 6, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::SlopeEnd); @@ -13731,7 +13731,7 @@ namespace OpenRCT2::SingleRailRC break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); switch (direction) { case 2: @@ -13788,7 +13788,7 @@ namespace OpenRCT2::SingleRailRC break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height - 6, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height - 6, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::SlopeEnd); @@ -13841,7 +13841,7 @@ namespace OpenRCT2::SingleRailRC break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); switch (direction) { case 0: @@ -13898,7 +13898,7 @@ namespace OpenRCT2::SingleRailRC break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -13916,7 +13916,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_LARGE_HALF_LOOP + 1)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 15, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 15, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -13924,7 +13924,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_LARGE_HALF_LOOP + 8)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 9 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 9, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -13932,7 +13932,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_LARGE_HALF_LOOP + 15)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 9, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -13940,7 +13940,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_LARGE_HALF_LOOP + 22)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -13994,7 +13994,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_LARGE_HALF_LOOP + 3)), { 0, 0, height }, { { 0, 0, height }, { 32, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 28, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 28, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -14002,7 +14002,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_LARGE_HALF_LOOP + 10)), { 0, 0, height }, { { 0, 0, height + 200 }, { 32, 16, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 28, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 28, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -14010,7 +14010,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_LARGE_HALF_LOOP + 17)), { 0, 0, height }, { { 0, 16, height + 200 }, { 32, 16, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 28, + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 28, session.SupportColours); break; case 3: @@ -14019,7 +14019,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_LARGE_HALF_LOOP + 24)), { 0, 0, height }, { { 0, 16, height }, { 32, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 28, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 28, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -14187,7 +14187,7 @@ namespace OpenRCT2::SingleRailRC break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -14205,7 +14205,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_LARGE_HALF_LOOP + 29)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -14213,7 +14213,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_LARGE_HALF_LOOP + 36)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 9, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -14221,7 +14221,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_LARGE_HALF_LOOP + 43)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 9 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 9, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -14229,7 +14229,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_LARGE_HALF_LOOP + 50)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 15, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 15, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -14283,7 +14283,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_LARGE_HALF_LOOP + 31)), { 0, 0, height }, { { 0, 16, height }, { 32, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 28, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 28, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -14291,7 +14291,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_LARGE_HALF_LOOP + 38)), { 0, 0, height }, { { 0, 16, height + 200 }, { 32, 16, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 28, + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 28, session.SupportColours); break; case 2: @@ -14300,7 +14300,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_LARGE_HALF_LOOP + 45)), { 0, 0, height }, { { 0, 0, height + 200 }, { 32, 16, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 28, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 28, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -14308,7 +14308,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_LARGE_HALF_LOOP + 52)), { 0, 0, height }, { { 0, 0, height }, { 32, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 28, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 28, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -14468,7 +14468,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_LIFT_TRACK_SMALL_FLAT_TO_STEEP + 0)), { 0, 0, height }, { { 0, 2, height }, { 32, 27, 4 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -14480,7 +14480,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_LIFT_TRACK_SMALL_FLAT_TO_STEEP + 1)), { 0, 0, height }, { { 0, 4, height }, { 32, 2, 43 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 4, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 4, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -14492,7 +14492,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_LIFT_TRACK_SMALL_FLAT_TO_STEEP + 3)), { 0, 0, height }, { { 0, 4, height }, { 32, 2, 43 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 4, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 4, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -14500,7 +14500,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_LIFT_TRACK_SMALL_FLAT_TO_STEEP + 5)), { 0, 0, height }, { { 0, 2, height }, { 32, 27, 4 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); break; } } @@ -14514,7 +14514,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_SMALL_FLAT_TO_STEEP + 0)), { 0, 0, height }, { { 0, 2, height }, { 32, 27, 4 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -14526,7 +14526,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_SMALL_FLAT_TO_STEEP + 1)), { 0, 0, height }, { { 0, 4, height }, { 32, 2, 43 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 4, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 4, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -14538,7 +14538,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_SMALL_FLAT_TO_STEEP + 3)), { 0, 0, height }, { { 0, 4, height }, { 32, 2, 43 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 4, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 4, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -14546,7 +14546,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_SMALL_FLAT_TO_STEEP + 5)), { 0, 0, height }, { { 0, 2, height }, { 32, 27, 4 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); break; } } @@ -14604,7 +14604,7 @@ namespace OpenRCT2::SingleRailRC { 0, 0, height }, { { 0, 2, height }, { 32, 27, 4 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 16, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 16, height, session.SupportColours); } else { @@ -14643,7 +14643,7 @@ namespace OpenRCT2::SingleRailRC { 0, 0, height }, { { 0, 2, height }, { 32, 27, 4 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 16, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 16, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -14786,7 +14786,7 @@ namespace OpenRCT2::SingleRailRC { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 7, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -14794,15 +14794,15 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_LIFT_TRACK_SMALL_FLAT_TO_STEEP + 13)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 4 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 7, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 7, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 7, height, session.SupportColours); break; } } @@ -14812,7 +14812,7 @@ namespace OpenRCT2::SingleRailRC { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 7, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -14820,15 +14820,15 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_SMALL_FLAT_TO_STEEP + 13)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 4 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 7, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 7, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 7, height, session.SupportColours); break; } } @@ -14957,7 +14957,7 @@ namespace OpenRCT2::SingleRailRC { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 20, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 20, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -14965,15 +14965,15 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_LIFT_TRACK_SMALL_FLAT_TO_STEEP + 17)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 4 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 20, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 20, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 20, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 20, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 20, height, + session, supportType.metal, MetalSupportPlace::bottomCorner, 20, height, session.SupportColours); break; } @@ -14984,7 +14984,7 @@ namespace OpenRCT2::SingleRailRC { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 20, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 20, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -14992,15 +14992,15 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_SMALL_FLAT_TO_STEEP + 17)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 4 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 20, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 20, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 20, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 20, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 20, height, + session, supportType.metal, MetalSupportPlace::bottomCorner, 20, height, session.SupportColours); break; } @@ -15130,7 +15130,7 @@ namespace OpenRCT2::SingleRailRC { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 16, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -15138,15 +15138,15 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_LIFT_TRACK_SMALL_FLAT_TO_STEEP + 19)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 4 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 16, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 16, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 16, height, + session, supportType.metal, MetalSupportPlace::bottomCorner, 16, height, session.SupportColours); break; } @@ -15157,7 +15157,7 @@ namespace OpenRCT2::SingleRailRC { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 16, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -15165,15 +15165,15 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_SMALL_FLAT_TO_STEEP + 19)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 4 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 16, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 16, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 16, height, + session, supportType.metal, MetalSupportPlace::bottomCorner, 16, height, session.SupportColours); break; } @@ -15303,7 +15303,7 @@ namespace OpenRCT2::SingleRailRC { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 5, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -15311,15 +15311,15 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_LIFT_TRACK_SMALL_FLAT_TO_STEEP + 15)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 4 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 5, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 5, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 5, height, session.SupportColours); break; } } @@ -15329,7 +15329,7 @@ namespace OpenRCT2::SingleRailRC { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 5, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -15337,15 +15337,15 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_SMALL_FLAT_TO_STEEP + 15)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 4 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 5, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 5, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 5, height, session.SupportColours); break; } } @@ -15413,7 +15413,7 @@ namespace OpenRCT2::SingleRailRC break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -15516,7 +15516,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_GENTLE_LARGE_CURVE + 3)), { 0, 0, height }, { { 16, 16, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 8, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -15524,7 +15524,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_GENTLE_LARGE_CURVE + 7)), { 0, 0, height }, { { 0, 16, height }, { 16, 18, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 8, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -15532,7 +15532,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_GENTLE_LARGE_CURVE + 11)), { 0, 0, height }, { { 0, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 8, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -15540,7 +15540,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_GENTLE_LARGE_CURVE + 15)), { 0, 0, height }, { { 16, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 8, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -15591,7 +15591,7 @@ namespace OpenRCT2::SingleRailRC break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -15695,7 +15695,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_GENTLE_LARGE_CURVE + 19)), { 0, 0, height }, { { 16, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 8, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -15703,7 +15703,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_GENTLE_LARGE_CURVE + 23)), { 0, 0, height }, { { 0, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 8, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -15711,7 +15711,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_GENTLE_LARGE_CURVE + 27)), { 0, 0, height }, { { 0, 16, height }, { 16, 18, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 8, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -15719,7 +15719,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_GENTLE_LARGE_CURVE + 31)), { 0, 0, height }, { { 16, 16, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 8, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -15750,7 +15750,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_GENTLE_LARGE_CURVE + 32)), { 0, 0, height }, { { 0, 16, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 8, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -15758,7 +15758,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_GENTLE_LARGE_CURVE + 36)), { 0, 0, height }, { { 16, 16, height }, { 16, 18, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 8, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -15766,7 +15766,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_GENTLE_LARGE_CURVE + 40)), { 0, 0, height }, { { 16, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 8, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -15774,7 +15774,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_GENTLE_LARGE_CURVE + 44)), { 0, 0, height }, { { 0, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 8, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -15901,7 +15901,7 @@ namespace OpenRCT2::SingleRailRC break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); if (direction == 1 || direction == 2) { @@ -15930,7 +15930,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_GENTLE_LARGE_CURVE + 48)), { 0, 0, height }, { { 0, 16, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 8, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -15938,7 +15938,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_GENTLE_LARGE_CURVE + 52)), { 0, 0, height }, { { 16, 16, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 8, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -15946,7 +15946,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_GENTLE_LARGE_CURVE + 56)), { 0, 0, height }, { { 16, 0, height }, { 16, 18, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 8, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -15954,7 +15954,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_GENTLE_LARGE_CURVE + 60)), { 0, 0, height }, { { 0, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 8, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -16082,7 +16082,7 @@ namespace OpenRCT2::SingleRailRC break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); if (direction == 0 || direction == 1) { PaintUtilPushTunnelRotated(session, direction + 1, height + 8, kTunnelGroup, TunnelSubType::SlopeEnd); @@ -16202,7 +16202,7 @@ namespace OpenRCT2::SingleRailRC { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 9, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -16210,15 +16210,15 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_GENTLE_LARGE_CURVE_BANKED + 2)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 9, height, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 9, height, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 9, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -16303,7 +16303,7 @@ namespace OpenRCT2::SingleRailRC { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 9, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -16311,15 +16311,15 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_GENTLE_LARGE_CURVE_BANKED + 6)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 9, height, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 9, height, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 9, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -16404,7 +16404,7 @@ namespace OpenRCT2::SingleRailRC { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 9, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -16412,15 +16412,15 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_GENTLE_LARGE_CURVE_BANKED + 12)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 9, height, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 9, height, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 9, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -16505,7 +16505,7 @@ namespace OpenRCT2::SingleRailRC { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 9, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -16513,15 +16513,15 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_GENTLE_LARGE_CURVE_BANKED + 16)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 9, height, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 9, height, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 9, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -16632,7 +16632,7 @@ namespace OpenRCT2::SingleRailRC { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 4, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -16640,15 +16640,15 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_GENTLE_LARGE_CURVE_BANKED + 21)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 4, height, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 4, height, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 4, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -16729,7 +16729,7 @@ namespace OpenRCT2::SingleRailRC { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 4, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -16737,15 +16737,15 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_GENTLE_LARGE_CURVE_BANKED + 25)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 4, height, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 4, height, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 4, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -16826,7 +16826,7 @@ namespace OpenRCT2::SingleRailRC { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 6, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -16834,15 +16834,15 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_GENTLE_LARGE_CURVE_BANKED + 29)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 6, height, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 6, height, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 6, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -16923,7 +16923,7 @@ namespace OpenRCT2::SingleRailRC { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 6, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -16931,15 +16931,15 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_GENTLE_LARGE_CURVE_BANKED + 33)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 6, height, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 6, height, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 6, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -17052,7 +17052,7 @@ namespace OpenRCT2::SingleRailRC { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 11, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 11, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -17060,15 +17060,15 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_GENTLE_LARGE_CURVE_BANKED + 37)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 11, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 11, height, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 11, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 11, height, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 11, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 11, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -17149,7 +17149,7 @@ namespace OpenRCT2::SingleRailRC { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 11, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 11, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -17157,15 +17157,15 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_GENTLE_LARGE_CURVE_BANKED + 41)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 11, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 11, height, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 11, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 11, height, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 11, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 11, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -17264,7 +17264,7 @@ namespace OpenRCT2::SingleRailRC { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 4, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -17272,15 +17272,15 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_GENTLE_LARGE_CURVE_BANKED + 46)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 4, height, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 4, height, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 4, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -17365,7 +17365,7 @@ namespace OpenRCT2::SingleRailRC { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 4, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -17373,15 +17373,15 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_GENTLE_LARGE_CURVE_BANKED + 50)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 4, height, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 4, height, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 4, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -17466,7 +17466,7 @@ namespace OpenRCT2::SingleRailRC { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 6, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -17474,15 +17474,15 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_GENTLE_LARGE_CURVE_BANKED + 56)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 6, height, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 6, height, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 6, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -17567,7 +17567,7 @@ namespace OpenRCT2::SingleRailRC { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 6, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -17575,15 +17575,15 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_GENTLE_LARGE_CURVE_BANKED + 60)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 6, height, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 6, height, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 6, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -17662,7 +17662,7 @@ namespace OpenRCT2::SingleRailRC break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -17765,7 +17765,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_GENTLE_LARGE_CURVE_BANKED + 67)), { 0, 0, height }, { { 16, 16, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 8, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -17773,7 +17773,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_GENTLE_LARGE_CURVE_BANKED + 71)), { 0, 0, height }, { { 0, 0, height + 48 }, { 32, 32, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 8, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -17781,7 +17781,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_GENTLE_LARGE_CURVE_BANKED + 75)), { 0, 0, height }, { { 0, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 8, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -17789,7 +17789,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_GENTLE_LARGE_CURVE_BANKED + 79)), { 0, 0, height }, { { 16, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 8, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -17840,7 +17840,7 @@ namespace OpenRCT2::SingleRailRC break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -17944,7 +17944,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_GENTLE_LARGE_CURVE_BANKED + 83)), { 0, 0, height }, { { 16, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 8, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -17952,7 +17952,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_GENTLE_LARGE_CURVE_BANKED + 87)), { 0, 0, height }, { { 0, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 8, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -17960,7 +17960,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_GENTLE_LARGE_CURVE_BANKED + 91)), { 0, 0, height }, { { 0, 0, height + 48 }, { 32, 32, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 8, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -17968,7 +17968,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_GENTLE_LARGE_CURVE_BANKED + 95)), { 0, 0, height }, { { 16, 16, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 8, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -17999,7 +17999,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_GENTLE_LARGE_CURVE_BANKED + 96)), { 0, 0, height }, { { 0, 0, height + 32 }, { 32, 32, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 8, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -18007,7 +18007,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_GENTLE_LARGE_CURVE_BANKED + 100)), { 0, 0, height }, { { 0, 0, height + 32 }, { 32, 32, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 8, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -18015,7 +18015,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_GENTLE_LARGE_CURVE_BANKED + 104)), { 0, 0, height }, { { 16, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 8, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -18023,7 +18023,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_GENTLE_LARGE_CURVE_BANKED + 108)), { 0, 0, height }, { { 0, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 8, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -18150,7 +18150,7 @@ namespace OpenRCT2::SingleRailRC break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); if (direction == 1 || direction == 2) { PaintUtilPushTunnelRotated(session, direction, height + 8, kTunnelGroup, TunnelSubType::SlopeEnd); @@ -18177,7 +18177,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_GENTLE_LARGE_CURVE_BANKED + 112)), { 0, 0, height }, { { 0, 16, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 8, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -18185,7 +18185,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_GENTLE_LARGE_CURVE_BANKED + 116)), { 0, 0, height }, { { 0, 0, height + 32 }, { 32, 32, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 8, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -18193,7 +18193,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_GENTLE_LARGE_CURVE_BANKED + 120)), { 0, 0, height }, { { 0, 0, height + 32 }, { 32, 32, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 8, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -18201,7 +18201,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_GENTLE_LARGE_CURVE_BANKED + 124)), { 0, 0, height }, { { 0, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 8, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -18329,7 +18329,7 @@ namespace OpenRCT2::SingleRailRC break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); if (direction == 0 || direction == 1) { PaintUtilPushTunnelRotated(session, direction + 1, height + 8, kTunnelGroup, TunnelSubType::SlopeEnd); @@ -18391,7 +18391,7 @@ namespace OpenRCT2::SingleRailRC { 0, 0, height }, { { 0, 6, height + 3 }, { 32, 20, 2 } }); if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); } if (direction == 0 || direction == 3) @@ -18474,7 +18474,7 @@ namespace OpenRCT2::SingleRailRC { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 0, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -18482,11 +18482,11 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_FLAT_TO_STEEP_DIAGONAL + 3)), { -16, -16, height }, { { -16, -16, height + 0 }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 0, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 0, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -18494,7 +18494,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_FLAT_TO_STEEP_DIAGONAL + 10)), { -16, -16, height }, { { -20, -20, height + 8 }, { 24, 24, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + 0, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -18549,7 +18549,7 @@ namespace OpenRCT2::SingleRailRC { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 16, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 16, height + 0, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -18557,11 +18557,11 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_FLAT_TO_STEEP_DIAGONAL + 4)), { -16, -16, height }, { { -16, -16, height + 0 }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 16, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 16, height + 0, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 16, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 16, height + 0, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -18569,7 +18569,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_FLAT_TO_STEEP_DIAGONAL + 11)), { -16, -16, height }, { { -16, -16, height + 32 }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 16, height + 0, + session, supportType.metal, MetalSupportPlace::bottomCorner, 16, height + 0, session.SupportColours); break; } @@ -18625,7 +18625,7 @@ namespace OpenRCT2::SingleRailRC { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 24, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 24, height + 0, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -18633,15 +18633,15 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_FLAT_TO_STEEP_DIAGONAL + 5)), { -16, -16, height }, { { -16, -16, height + 80 }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 24, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 24, height + 0, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 24, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 24, height + 0, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 24, height + 0, + session, supportType.metal, MetalSupportPlace::bottomCorner, 24, height + 0, session.SupportColours); break; } @@ -18723,7 +18723,7 @@ namespace OpenRCT2::SingleRailRC { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 33, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 33, height + 0, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -18731,11 +18731,11 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_FLAT_TO_STEEP_DIAGONAL + 15)), { -16, -16, height }, { { -16, -16, height + 0 }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 33, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 33, height + 0, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 33, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 33, height + 0, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -18743,7 +18743,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_FLAT_TO_STEEP_DIAGONAL + 22)), { -16, -16, height }, { { -8, -8, height + 56 }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 33, height + 0, + session, supportType.metal, MetalSupportPlace::bottomCorner, 33, height + 0, session.SupportColours); break; } @@ -18799,7 +18799,7 @@ namespace OpenRCT2::SingleRailRC { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 15, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 15, height + 0, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -18807,11 +18807,11 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_FLAT_TO_STEEP_DIAGONAL + 16)), { -16, -16, height }, { { -16, -16, height + 0 }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 15, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 15, height + 0, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 15, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 15, height + 0, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -18819,7 +18819,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_FLAT_TO_STEEP_DIAGONAL + 23)), { -16, -16, height }, { { -16, -16, height + 24 }, { 24, 24, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 15, height + 0, + session, supportType.metal, MetalSupportPlace::bottomCorner, 15, height + 0, session.SupportColours); break; } @@ -18875,7 +18875,7 @@ namespace OpenRCT2::SingleRailRC { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 8, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 8, height + 0, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -18883,15 +18883,15 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_FLAT_TO_STEEP_DIAGONAL + 17)), { -16, -16, height }, { { -16, -16, height + 0 }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 8, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 8, height + 0, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 8, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 8, height + 0, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 8, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 8, height + 0, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -18972,7 +18972,7 @@ namespace OpenRCT2::SingleRailRC { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 29, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 29, height + 0, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -18980,11 +18980,11 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_FLAT_TO_STEEP_DIAGONAL + 23)), { -16, -16, height }, { { -16, -16, height + 24 }, { 24, 24, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 29, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 29, height + 0, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 29, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 29, height + 0, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -18992,7 +18992,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_FLAT_TO_STEEP_DIAGONAL + 16)), { -16, -16, height }, { { -16, -16, height + 0 }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 29, height + 0, + session, supportType.metal, MetalSupportPlace::bottomCorner, 29, height + 0, session.SupportColours); break; } @@ -19048,7 +19048,7 @@ namespace OpenRCT2::SingleRailRC { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 63, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 63, height + 0, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -19056,11 +19056,11 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_FLAT_TO_STEEP_DIAGONAL + 22)), { -16, -16, height }, { { -8, -8, height + 56 }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 63, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 63, height + 0, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 63, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 63, height + 0, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -19068,7 +19068,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_FLAT_TO_STEEP_DIAGONAL + 15)), { -16, -16, height }, { { -16, -16, height + 0 }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 63, height + 0, + session, supportType.metal, MetalSupportPlace::bottomCorner, 63, height + 0, session.SupportColours); break; } @@ -19124,7 +19124,7 @@ namespace OpenRCT2::SingleRailRC { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 19, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 19, height + 0, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -19132,15 +19132,15 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_FLAT_TO_STEEP_DIAGONAL + 21)), { -16, -16, height }, { { -8, -8, height + 0 }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 19, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 19, height + 0, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 19, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 19, height + 0, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 19, height + 0, + session, supportType.metal, MetalSupportPlace::bottomCorner, 19, height + 0, session.SupportColours); break; } @@ -19222,7 +19222,7 @@ namespace OpenRCT2::SingleRailRC { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 43, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 43, height + 0, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -19230,11 +19230,11 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_FLAT_TO_STEEP_DIAGONAL + 11)), { -16, -16, height }, { { -16, -16, height + 32 }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 43, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 43, height + 0, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 43, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 43, height + 0, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -19242,7 +19242,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_FLAT_TO_STEEP_DIAGONAL + 4)), { -16, -16, height }, { { -16, -16, height + 0 }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 43, height + 0, + session, supportType.metal, MetalSupportPlace::bottomCorner, 43, height + 0, session.SupportColours); break; } @@ -19298,7 +19298,7 @@ namespace OpenRCT2::SingleRailRC { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 17, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 17, height + 0, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -19306,11 +19306,11 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_FLAT_TO_STEEP_DIAGONAL + 10)), { -16, -16, height }, { { -8, -8, height + 8 }, { 24, 24, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 17, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 17, height + 0, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 17, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 17, height + 0, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -19318,7 +19318,7 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_FLAT_TO_STEEP_DIAGONAL + 3)), { -16, -16, height }, { { -16, -16, height + 0 }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 17, height + 0, + session, supportType.metal, MetalSupportPlace::bottomCorner, 17, height + 0, session.SupportColours); break; } @@ -19374,7 +19374,7 @@ namespace OpenRCT2::SingleRailRC { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 0, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -19382,15 +19382,15 @@ namespace OpenRCT2::SingleRailRC session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_FLAT_TO_STEEP_DIAGONAL + 9)), { -16, -16, height }, { { -16, -16, height + 0 }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 0, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 0, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + 0, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -19476,28 +19476,28 @@ namespace OpenRCT2::SingleRailRC session, direction, session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_DIVE_LOOP + 1)), { -16, -16, height }, { { 0, 31, height + 0 }, { 32, 1, 64 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 14, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 14, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_DIVE_LOOP + 5)), { -16, -16, height }, { { 0, 31, height + 0 }, { 32, 1, 64 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 9, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 9, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_DIVE_LOOP + 9)), { -16, -16, height }, { { 2, 2, height + 8 }, { 28, 28, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 9, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 9, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_DIVE_LOOP + 13)), { -16, -16, height }, { { 2, 2, height + 12 }, { 28, 28, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + 9, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + 9, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -19560,7 +19560,7 @@ namespace OpenRCT2::SingleRailRC session, direction, session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_DIVE_LOOP + 3)), { -16, -16, height }, { { 0, 6, height + 26 }, { 32, 20, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 33, + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 33, session.SupportColours); break; case 1: @@ -19568,14 +19568,14 @@ namespace OpenRCT2::SingleRailRC session, direction, session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_DIVE_LOOP + 7)), { -16, -16, height }, { { 0, 6, height + 26 }, { 32, 20, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 33, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 33, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_DIVE_LOOP + 11)), { -16, -16, height }, { { 0, 6, height + 26 }, { 32, 20, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 33, + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 33, session.SupportColours); break; case 3: @@ -19583,7 +19583,7 @@ namespace OpenRCT2::SingleRailRC session, direction, session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_DIVE_LOOP + 15)), { -16, -16, height }, { { 0, 6, height + 26 }, { 32, 20, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 33, + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 33, session.SupportColours); break; } @@ -19664,28 +19664,28 @@ namespace OpenRCT2::SingleRailRC session, direction, session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_DIVE_LOOP + 17)), { -16, -16, height }, { { 2, 2, height + 8 }, { 28, 28, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 9, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 9, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_DIVE_LOOP + 21)), { -16, -16, height }, { { 31, 0, height + 0 }, { 1, 32, 64 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 9, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 9, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_DIVE_LOOP + 25)), { -16, -16, height }, { { 31, 0, height + 0 }, { 1, 32, 64 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 14, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 14, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_DIVE_LOOP + 29)), { -16, -16, height }, { { 2, 2, height + 12 }, { 28, 28, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + 9, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + 9, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -19748,14 +19748,14 @@ namespace OpenRCT2::SingleRailRC session, direction, session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_DIVE_LOOP + 19)), { -16, -16, height }, { { 6, 0, height + 26 }, { 20, 32, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 33, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 33, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_DIVE_LOOP + 23)), { -16, -16, height }, { { 6, 0, height + 26 }, { 20, 32, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 33, + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 33, session.SupportColours); break; case 2: @@ -19763,7 +19763,7 @@ namespace OpenRCT2::SingleRailRC session, direction, session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_DIVE_LOOP + 27)), { -16, -16, height }, { { 6, 0, height + 26 }, { 20, 32, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 33, + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 33, session.SupportColours); break; case 3: @@ -19771,7 +19771,7 @@ namespace OpenRCT2::SingleRailRC session, direction, session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_TRACK_DIVE_LOOP + 31)), { -16, -16, height }, { { 6, 0, height + 26 }, { 20, 32, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 33, + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 33, session.SupportColours); break; } @@ -19860,22 +19860,22 @@ namespace OpenRCT2::SingleRailRC { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 8, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_SINGLE_RAIL_GENTLE_DIAG_BRAKE + 3)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 8, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 8, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 8, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( diff --git a/src/openrct2/paint/track/coaster/StandUpRollerCoaster.cpp b/src/openrct2/paint/track/coaster/StandUpRollerCoaster.cpp index ce61acc322..df23d42fb9 100644 --- a/src/openrct2/paint/track/coaster/StandUpRollerCoaster.cpp +++ b/src/openrct2/paint/track/coaster/StandUpRollerCoaster.cpp @@ -88,7 +88,7 @@ static void StandUpRCTrackFlat( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); } } else @@ -108,7 +108,7 @@ static void StandUpRCTrackFlat( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); } } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -148,7 +148,7 @@ static void StandUpRCTrackStation( else if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height, session.SupportColours); } TrackPaintUtilDrawStationTunnel(session, direction, height); PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0); @@ -183,7 +183,7 @@ static void StandUpRCTrack25DegUp( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); } } else @@ -209,7 +209,7 @@ static void StandUpRCTrack25DegUp( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); } } if (direction == 0 || direction == 3) @@ -254,7 +254,7 @@ static void StandUpRCTrack60DegUp( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 26, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 26, height, session.SupportColours); } } else @@ -282,7 +282,7 @@ static void StandUpRCTrack60DegUp( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 26, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 26, height, session.SupportColours); } } if (direction == 0 || direction == 3) @@ -325,7 +325,7 @@ static void StandUpRCTrackFlatTo25DegUp( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); } } else @@ -351,7 +351,7 @@ static void StandUpRCTrackFlatTo25DegUp( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); } } if (direction == 0 || direction == 3) @@ -402,7 +402,7 @@ static void StandUpRCTrack25DegUpTo60DegUp( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 12, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 12, height, session.SupportColours); } } else @@ -436,7 +436,7 @@ static void StandUpRCTrack25DegUpTo60DegUp( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 12, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 12, height, session.SupportColours); } } if (direction == 0 || direction == 3) @@ -487,7 +487,7 @@ static void StandUpRCTrack60DegUpTo25DegUp( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 20, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 20, height, session.SupportColours); } } else @@ -521,7 +521,7 @@ static void StandUpRCTrack60DegUpTo25DegUp( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 20, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 20, height, session.SupportColours); } } if (direction == 0 || direction == 3) @@ -564,7 +564,7 @@ static void StandUpRCTrack25DegUpToFlat( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); } } else @@ -590,7 +590,7 @@ static void StandUpRCTrack25DegUpToFlat( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); } } if (direction == 0 || direction == 3) @@ -680,7 +680,7 @@ static void StandUpRCTrackLeftQuarterTurn5( session, direction, session.TrackColours.WithIndex(25259), { 0, 6, height }, { 32, 20, 3 }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -807,7 +807,7 @@ static void StandUpRCTrackLeftQuarterTurn5( session, direction, session.TrackColours.WithIndex(25255), { 6, 0, height }, { 20, 32, 3 }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); switch (direction) { case 2: @@ -850,7 +850,7 @@ static void StandUpRCTrackFlatToLeftBank( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); } break; case 1: @@ -859,7 +859,7 @@ static void StandUpRCTrackFlatToLeftBank( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); } break; case 2: @@ -868,7 +868,7 @@ static void StandUpRCTrackFlatToLeftBank( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 5, height, session.SupportColours); } break; case 3: @@ -877,7 +877,7 @@ static void StandUpRCTrackFlatToLeftBank( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 5, height, session.SupportColours); } break; } @@ -899,7 +899,7 @@ static void StandUpRCTrackFlatToRightBank( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 5, height, session.SupportColours); } break; case 1: @@ -908,7 +908,7 @@ static void StandUpRCTrackFlatToRightBank( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 5, height, session.SupportColours); } break; case 2: @@ -917,7 +917,7 @@ static void StandUpRCTrackFlatToRightBank( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); } break; case 3: @@ -926,7 +926,7 @@ static void StandUpRCTrackFlatToRightBank( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); } break; } @@ -948,7 +948,7 @@ static void StandUpRCTrackLeftBankToFlat( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); } break; case 1: @@ -957,7 +957,7 @@ static void StandUpRCTrackLeftBankToFlat( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); } break; case 2: @@ -966,7 +966,7 @@ static void StandUpRCTrackLeftBankToFlat( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 5, height, session.SupportColours); } break; case 3: @@ -975,7 +975,7 @@ static void StandUpRCTrackLeftBankToFlat( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 5, height, session.SupportColours); } break; } @@ -997,7 +997,7 @@ static void StandUpRCTrackRightBankToFlat( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 5, height, session.SupportColours); } break; case 1: @@ -1006,7 +1006,7 @@ static void StandUpRCTrackRightBankToFlat( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 5, height, session.SupportColours); } break; case 2: @@ -1015,7 +1015,7 @@ static void StandUpRCTrackRightBankToFlat( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); } break; case 3: @@ -1024,7 +1024,7 @@ static void StandUpRCTrackRightBankToFlat( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); } break; } @@ -1051,28 +1051,28 @@ static void StandUpRCTrackBankedLeftQuarterTurn5( session, direction, session.TrackColours.WithIndex(25475), { 0, 0, height }, { { 0, 27, height }, { 32, 1, 26 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25469), { 0, 0, height }, { { 0, 27, height }, { 32, 1, 26 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25474), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 5, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_STANDUP_TRACK_25459), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 2, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 2, height, session.SupportColours); break; } if (direction == 0 || direction == 3) @@ -1201,14 +1201,14 @@ static void StandUpRCTrackBankedLeftQuarterTurn5( session, direction, session.TrackColours.WithIndex(25460), { 0, 0, height }, { { 6, 0, height }, { 20, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 4, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25465), { 0, 0, height }, { { 27, 0, height }, { 1, 32, 26 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -1218,14 +1218,14 @@ static void StandUpRCTrackBankedLeftQuarterTurn5( session, direction, session.TrackColours.WithIndex(25476), { 0, 0, height }, { { 27, 0, height }, { 1, 32, 26 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_STANDUP_TRACK_25455), { 0, 0, height }, { { 6, 0, height }, { 20, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 2, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 2, height, session.SupportColours); break; } switch (direction) @@ -1270,7 +1270,7 @@ static void StandUpRCTrackLeftBankTo25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); } break; case 1: @@ -1279,7 +1279,7 @@ static void StandUpRCTrackLeftBankTo25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); } break; case 2: @@ -1288,7 +1288,7 @@ static void StandUpRCTrackLeftBankTo25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); } break; case 3: @@ -1297,7 +1297,7 @@ static void StandUpRCTrackLeftBankTo25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); } break; } @@ -1326,7 +1326,7 @@ static void StandUpRCTrackRightBankTo25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 5, height, session.SupportColours); } break; case 1: @@ -1335,7 +1335,7 @@ static void StandUpRCTrackRightBankTo25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); } break; case 2: @@ -1344,7 +1344,7 @@ static void StandUpRCTrackRightBankTo25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); } break; case 3: @@ -1353,7 +1353,7 @@ static void StandUpRCTrackRightBankTo25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); } break; } @@ -1382,7 +1382,7 @@ static void StandUpRCTrack25DegUpToLeftBank( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 4, height, session.SupportColours); } break; case 1: @@ -1391,7 +1391,7 @@ static void StandUpRCTrack25DegUpToLeftBank( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); } break; case 2: @@ -1400,7 +1400,7 @@ static void StandUpRCTrack25DegUpToLeftBank( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); } break; case 3: @@ -1409,7 +1409,7 @@ static void StandUpRCTrack25DegUpToLeftBank( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 9, height, session.SupportColours); } break; } @@ -1438,7 +1438,7 @@ static void StandUpRCTrack25DegUpToRightBank( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 9, height, session.SupportColours); } break; case 1: @@ -1447,7 +1447,7 @@ static void StandUpRCTrack25DegUpToRightBank( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); } break; case 2: @@ -1456,7 +1456,7 @@ static void StandUpRCTrack25DegUpToRightBank( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); } break; case 3: @@ -1465,7 +1465,7 @@ static void StandUpRCTrack25DegUpToRightBank( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 4, height, session.SupportColours); } break; } @@ -1526,7 +1526,7 @@ static void StandUpRCTrackLeftBank( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); } break; case 1: @@ -1535,7 +1535,7 @@ static void StandUpRCTrackLeftBank( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); } break; case 2: @@ -1544,7 +1544,7 @@ static void StandUpRCTrackLeftBank( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); } break; case 3: @@ -1553,7 +1553,7 @@ static void StandUpRCTrackLeftBank( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); } break; } @@ -1600,7 +1600,7 @@ static void StandUpRCTrackLeftQuarterTurn525DegUp( break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); } else { @@ -1624,7 +1624,7 @@ static void StandUpRCTrackLeftQuarterTurn525DegUp( break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -1830,7 +1830,7 @@ static void StandUpRCTrackLeftQuarterTurn525DegUp( break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); } else { @@ -1854,7 +1854,7 @@ static void StandUpRCTrackLeftQuarterTurn525DegUp( break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); } switch (direction) { @@ -1906,7 +1906,7 @@ static void StandUpRCTrackRightQuarterTurn525DegUp( break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); } else { @@ -1930,7 +1930,7 @@ static void StandUpRCTrackRightQuarterTurn525DegUp( break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -2136,7 +2136,7 @@ static void StandUpRCTrackRightQuarterTurn525DegUp( break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); } else { @@ -2160,7 +2160,7 @@ static void StandUpRCTrackRightQuarterTurn525DegUp( break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); } switch (direction) { @@ -2501,25 +2501,25 @@ static void StandUpRCTrackLeftVerticalLoop( PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25477), { 0, 6, height }, { 32, 20, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25485), { 0, 6, height }, { 32, 20, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25484), { 0, 6, height }, { 32, 20, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25492), { 0, 6, height }, { 32, 20, 7 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); break; } if (direction == 0 || direction == 3) @@ -2543,26 +2543,26 @@ static void StandUpRCTrackLeftVerticalLoop( PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25478), { 0, 0, height }, { 32, 26, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 22, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 22, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25486), { 0, 14, height }, { { 0, 27, height }, { 32, 2, 63 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 15, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 15, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25483), { 0, 6, height }, { 32, 26, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 16, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25491), { 0, 6, height }, { 32, 26, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -2704,26 +2704,26 @@ static void StandUpRCTrackLeftVerticalLoop( PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25483), { 0, 6, height }, { 32, 26, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 16, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25491), { 0, 6, height }, { 32, 26, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25478), { 0, 0, height }, { 32, 26, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 22, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 22, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25486), { 0, 14, height }, { { 0, 27, height }, { 32, 2, 63 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 15, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 15, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -2756,7 +2756,7 @@ static void StandUpRCTrackLeftVerticalLoop( session, direction, session.TrackColours.WithIndex(25485), { 0, 6, height }, { 32, 20, 3 }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); switch (direction) { case 1: @@ -2793,25 +2793,25 @@ static void StandUpRCTrackRightVerticalLoop( PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25508), { 0, 6, height }, { 32, 20, 7 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25500), { 0, 6, height }, { 32, 20, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25501), { 0, 6, height }, { 32, 20, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25493), { 0, 6, height }, { 32, 20, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; } if (direction == 0 || direction == 3) @@ -2827,26 +2827,26 @@ static void StandUpRCTrackRightVerticalLoop( PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25507), { 0, 6, height }, { 32, 26, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25499), { 0, 6, height }, { 32, 26, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 16, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25502), { 0, 14, height }, { { 0, 27, height }, { 32, 2, 63 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 15, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 15, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25494), { 0, 0, height }, { 32, 26, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 22, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 22, height, session.SupportColours); break; } PaintUtilSetGeneralSupportHeight(session, height + 72); @@ -2953,25 +2953,25 @@ static void StandUpRCTrackRightVerticalLoop( session, direction, session.TrackColours.WithIndex(25502), { 0, 14, height }, { { 0, 27, height }, { 32, 2, 63 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 15, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 15, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25494), { 0, 0, height }, { 32, 26, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 22, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 22, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25507), { 0, 6, height }, { 32, 26, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25499), { 0, 6, height }, { 32, 26, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 16, height, session.SupportColours); break; } PaintUtilSetGeneralSupportHeight(session, height + 72); @@ -2996,7 +2996,7 @@ static void StandUpRCTrackRightVerticalLoop( session, direction, session.TrackColours.WithIndex(25500), { 0, 6, height }, { 32, 20, 3 }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); switch (direction) { case 1: @@ -3027,25 +3027,25 @@ static void StandUpRCTrackLeftQuarterTurn3( PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25514), { 0, 6, height }, { 32, 20, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25517), { 0, 6, height }, { 32, 20, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 2, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 2, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25520), { 0, 6, height }, { 32, 20, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25511), { 0, 6, height }, { 32, 20, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); break; } if (direction == 0 || direction == 3) @@ -3098,25 +3098,25 @@ static void StandUpRCTrackLeftQuarterTurn3( PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25512), { 6, 0, height }, { 20, 32, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25515), { 6, 0, height }, { 20, 32, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 2, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 2, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25518), { 6, 0, height }, { 20, 32, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25509), { 6, 0, height }, { 20, 32, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); break; } switch (direction) @@ -3166,28 +3166,28 @@ static void StandUpRCTrackLeftQuarterTurn3Bank( session, direction, session.TrackColours.WithIndex(25533), { 0, 0, height }, { { 0, 27, height }, { 32, 1, 26 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25529), { 0, 0, height }, { { 0, 27, height }, { 32, 1, 26 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25532), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_STANDUP_TRACK_25523), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); break; } if (direction == 0 || direction == 3) @@ -3245,14 +3245,14 @@ static void StandUpRCTrackLeftQuarterTurn3Bank( session, direction, session.TrackColours.WithIndex(25524), { 0, 0, height }, { { 6, 0, height }, { 20, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25527), { 0, 0, height }, { { 27, 0, height }, { 1, 32, 26 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -3262,14 +3262,14 @@ static void StandUpRCTrackLeftQuarterTurn3Bank( session, direction, session.TrackColours.WithIndex(25534), { 0, 0, height }, { { 27, 0, height }, { 1, 32, 26 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_STANDUP_TRACK_25521), { 0, 0, height }, { { 6, 0, height }, { 20, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); break; } switch (direction) @@ -3317,25 +3317,25 @@ static void StandUpRCTrackLeftQuarterTurn325DegUp( PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25562), { 0, 6, height }, { 32, 20, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 13, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 13, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25564), { 0, 6, height }, { 32, 20, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25566), { 0, 6, height }, { 32, 20, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25560), { 0, 6, height }, { 32, 20, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); break; } } @@ -3347,25 +3347,25 @@ static void StandUpRCTrackLeftQuarterTurn325DegUp( PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25546), { 0, 6, height }, { 32, 20, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 13, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 13, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25548), { 0, 6, height }, { 32, 20, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25550), { 0, 6, height }, { 32, 20, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25544), { 0, 6, height }, { 32, 20, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); break; } } @@ -3396,25 +3396,25 @@ static void StandUpRCTrackLeftQuarterTurn325DegUp( PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25561), { 6, 0, height }, { 20, 32, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 5, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25563), { 6, 0, height }, { 20, 32, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 11, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 11, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25565), { 6, 0, height }, { 20, 32, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 11, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 11, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25559), { 6, 0, height }, { 20, 32, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; } } @@ -3426,25 +3426,25 @@ static void StandUpRCTrackLeftQuarterTurn325DegUp( PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25545), { 6, 0, height }, { 20, 32, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 5, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25547), { 6, 0, height }, { 20, 32, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 11, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 11, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25549), { 6, 0, height }, { 20, 32, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 11, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 11, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25543), { 6, 0, height }, { 20, 32, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; } } @@ -3484,25 +3484,25 @@ static void StandUpRCTrackRightQuarterTurn325DegUp( PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25551), { 0, 6, height }, { 32, 20, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 5, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25553), { 0, 6, height }, { 32, 20, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25555), { 0, 6, height }, { 32, 20, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25557), { 0, 6, height }, { 32, 20, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 13, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 13, height, session.SupportColours); break; } } @@ -3514,25 +3514,25 @@ static void StandUpRCTrackRightQuarterTurn325DegUp( PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25535), { 0, 6, height }, { 32, 20, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 5, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25537), { 0, 6, height }, { 32, 20, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25539), { 0, 6, height }, { 32, 20, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25541), { 0, 6, height }, { 32, 20, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 13, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 13, height, session.SupportColours); break; } } @@ -3563,25 +3563,25 @@ static void StandUpRCTrackRightQuarterTurn325DegUp( PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25552), { 6, 0, height }, { 20, 32, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25554), { 6, 0, height }, { 20, 32, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 11, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 11, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25556), { 6, 0, height }, { 20, 32, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 10, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 10, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25558), { 6, 0, height }, { 20, 32, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 5, height, session.SupportColours); break; } } @@ -3593,25 +3593,25 @@ static void StandUpRCTrackRightQuarterTurn325DegUp( PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25536), { 6, 0, height }, { 20, 32, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25538), { 6, 0, height }, { 20, 32, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 11, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 11, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25540), { 6, 0, height }, { 20, 32, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 10, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 10, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25542), { 6, 0, height }, { 20, 32, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 5, height, session.SupportColours); break; } } @@ -3681,7 +3681,7 @@ static void StandUpRCTrackHalfLoopUp( session, direction, session.TrackColours.WithIndex(25590), { 0, 6, height }, { 32, 20, 7 }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -3698,27 +3698,27 @@ static void StandUpRCTrackHalfLoopUp( session, direction, session.TrackColours.WithIndex(25576), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 15, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 15, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25584), { 0, 14, height }, { { 0, 6, height + 68 }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 15, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 15, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25581), { 0, 6, height }, { { 0, 6, height + 68 }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 16, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25589), { 0, 6, height }, { 32, 20, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 16, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0); @@ -3825,7 +3825,7 @@ static void StandUpRCTrackLeftCorkscrewUp( { { 0, 6, height + 4 }, { 32, 20, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 1, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 1, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -3893,7 +3893,7 @@ static void StandUpRCTrackLeftCorkscrewUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 35, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 35, session.SupportColours); switch (direction) { @@ -3940,7 +3940,7 @@ static void StandUpRCTrackRightCorkscrewUp( { { 0, 6, height + 4 }, { 32, 20, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 1, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 1, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -4016,7 +4016,7 @@ static void StandUpRCTrackRightCorkscrewUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 35, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 35, session.SupportColours); switch (direction) { @@ -4066,28 +4066,28 @@ static void StandUpRCTrackLeftHalfBankedHelixUpSmall( session, direction, session.TrackColours.WithIndex(25851), { 0, 0, height }, { { 0, 27, height }, { 32, 1, 26 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 2, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 2, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25847), { 0, 0, height }, { { 0, 27, height }, { 32, 1, 26 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 2, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 2, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25850), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 5, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25841), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 4, height, session.SupportColours); break; } if (direction == 0 || direction == 3) @@ -4147,14 +4147,14 @@ static void StandUpRCTrackLeftHalfBankedHelixUpSmall( session, direction, session.TrackColours.WithIndex(25842), { 0, 0, height }, { { 6, 0, height }, { 20, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 10, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 10, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25845), { 0, 0, height }, { { 27, 0, height }, { 1, 32, 26 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -4164,14 +4164,14 @@ static void StandUpRCTrackLeftHalfBankedHelixUpSmall( session, direction, session.TrackColours.WithIndex(25852), { 0, 0, height }, { { 27, 0, height }, { 1, 32, 26 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25839), { 0, 0, height }, { { 6, 0, height + 8 }, { 20, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; } switch (direction) @@ -4201,7 +4201,7 @@ static void StandUpRCTrackLeftHalfBankedHelixUpSmall( session, direction, session.TrackColours.WithIndex(25841), { 0, 0, height }, { { 6, 0, height }, { 20, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 5, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -4211,21 +4211,21 @@ static void StandUpRCTrackLeftHalfBankedHelixUpSmall( session, direction, session.TrackColours.WithIndex(25851), { 0, 0, height }, { { 27, 0, height }, { 1, 32, 26 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 2, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 2, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25847), { 0, 0, height }, { { 27, 0, height }, { 1, 32, 26 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 2, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 2, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25850), { 0, 0, height }, { { 6, 0, height }, { 20, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 4, height, session.SupportColours); break; } switch (direction) @@ -4291,21 +4291,21 @@ static void StandUpRCTrackLeftHalfBankedHelixUpSmall( session, direction, session.TrackColours.WithIndex(25839), { 0, 0, height }, { { 0, 6, height + 8 }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25842), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 10, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 10, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25845), { 0, 0, height }, { { 0, 27, height }, { 32, 1, 26 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -4315,7 +4315,7 @@ static void StandUpRCTrackLeftHalfBankedHelixUpSmall( session, direction, session.TrackColours.WithIndex(25852), { 0, 0, height }, { { 0, 27, height }, { 32, 1, 26 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); break; } if (direction == 0 || direction == 3) @@ -4350,21 +4350,21 @@ static void StandUpRCTrackRightHalfBankedHelixUpSmall( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_STANDUP_TRACK_25825), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 4, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25828), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 5, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25831), { 0, 0, height }, { { 0, 27, height }, { 32, 1, 26 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 2, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 2, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -4374,7 +4374,7 @@ static void StandUpRCTrackRightHalfBankedHelixUpSmall( session, direction, session.TrackColours.WithIndex(25838), { 0, 0, height }, { { 0, 27, height }, { 32, 1, 26 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 2, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 2, height, session.SupportColours); break; } if (direction == 0 || direction == 3) @@ -4435,7 +4435,7 @@ static void StandUpRCTrackRightHalfBankedHelixUpSmall( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_STANDUP_TRACK_25827), { 0, 0, height }, { { 6, 0, height + 8 }, { 20, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -4445,21 +4445,21 @@ static void StandUpRCTrackRightHalfBankedHelixUpSmall( session, direction, session.TrackColours.WithIndex(25837), { 0, 0, height }, { { 27, 0, height }, { 1, 32, 26 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25833), { 0, 0, height }, { { 27, 0, height }, { 1, 32, 26 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 7, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25836), { 0, 0, height }, { { 6, 0, height }, { 20, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 10, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 10, height, session.SupportColours); break; } switch (direction) @@ -4489,14 +4489,14 @@ static void StandUpRCTrackRightHalfBankedHelixUpSmall( session, direction, session.TrackColours.WithIndex(25828), { 0, 0, height }, { { 6, 0, height }, { 20, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 4, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25831), { 0, 0, height }, { { 27, 0, height }, { 1, 32, 26 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 2, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 2, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -4506,14 +4506,14 @@ static void StandUpRCTrackRightHalfBankedHelixUpSmall( session, direction, session.TrackColours.WithIndex(25838), { 0, 0, height }, { { 27, 0, height }, { 1, 32, 26 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 2, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 2, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_STANDUP_TRACK_25825), { 0, 0, height }, { { 6, 0, height }, { 20, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 5, height, session.SupportColours); break; } switch (direction) @@ -4581,28 +4581,28 @@ static void StandUpRCTrackRightHalfBankedHelixUpSmall( session, direction, session.TrackColours.WithIndex(25837), { 0, 0, height }, { { 0, 27, height }, { 32, 1, 26 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25833), { 0, 0, height }, { { 0, 27, height }, { 32, 1, 26 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 7, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25836), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 10, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 10, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_STANDUP_TRACK_25827), { 0, 0, height }, { { 0, 6, height + 8 }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; } if (direction == 0 || direction == 3) @@ -4670,28 +4670,28 @@ static void StandUpRCTrackLeftHalfBankedHelixUpLarge( session, direction, session.TrackColours.WithIndex(25823), { 0, 0, height }, { { 0, 27, height }, { 32, 1, 26 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 1, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 1, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25817), { 0, 0, height }, { { 0, 27, height }, { 32, 1, 26 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 1, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 1, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25822), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 4, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_STANDUP_TRACK_25807), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 4, height, session.SupportColours); break; } if (direction == 0 || direction == 3) @@ -4822,14 +4822,14 @@ static void StandUpRCTrackLeftHalfBankedHelixUpLarge( session, direction, session.TrackColours.WithIndex(25808), { 0, 0, height }, { { 6, 0, height }, { 20, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 11, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 11, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25813), { 0, 0, height }, { { 27, 0, height }, { 1, 32, 26 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 7, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -4839,14 +4839,14 @@ static void StandUpRCTrackLeftHalfBankedHelixUpLarge( session, direction, session.TrackColours.WithIndex(25824), { 0, 0, height }, { { 27, 0, height }, { 1, 32, 26 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 7, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_STANDUP_TRACK_25803), { 0, 0, height }, { { 6, 0, height + 8 }, { 20, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 10, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 10, height, session.SupportColours); break; } switch (direction) @@ -4876,7 +4876,7 @@ static void StandUpRCTrackLeftHalfBankedHelixUpLarge( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_STANDUP_TRACK_25807), { 0, 0, height }, { { 6, 0, height }, { 20, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -4886,21 +4886,21 @@ static void StandUpRCTrackLeftHalfBankedHelixUpLarge( session, direction, session.TrackColours.WithIndex(25823), { 0, 0, height }, { { 27, 0, height }, { 1, 32, 26 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 1, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 1, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25817), { 0, 0, height }, { { 27, 0, height }, { 1, 32, 26 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 1, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 1, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25822), { 0, 0, height }, { { 6, 0, height }, { 20, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 5, height, session.SupportColours); break; } switch (direction) @@ -5036,21 +5036,21 @@ static void StandUpRCTrackLeftHalfBankedHelixUpLarge( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_STANDUP_TRACK_25803), { 0, 0, height }, { { 0, 6, height + 8 }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 10, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 10, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25808), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 11, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 11, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25813), { 0, 0, height }, { { 0, 27, height }, { 32, 1, 26 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 7, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -5060,7 +5060,7 @@ static void StandUpRCTrackLeftHalfBankedHelixUpLarge( session, direction, session.TrackColours.WithIndex(25824), { 0, 0, height }, { { 0, 27, height }, { 32, 1, 26 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 7, height, session.SupportColours); break; } if (direction == 0 || direction == 3) @@ -5095,21 +5095,21 @@ static void StandUpRCTrackRightHalfBankedHelixUpLarge( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_STANDUP_TRACK_25781), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 4, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25786), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 5, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25791), { 0, 0, height }, { { 0, 27, height }, { 32, 1, 26 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 1, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 1, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -5119,7 +5119,7 @@ static void StandUpRCTrackRightHalfBankedHelixUpLarge( session, direction, session.TrackColours.WithIndex(25802), { 0, 0, height }, { { 0, 27, height }, { 32, 1, 26 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 1, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 1, height, session.SupportColours); break; } if (direction == 0 || direction == 3) @@ -5250,7 +5250,7 @@ static void StandUpRCTrackRightHalfBankedHelixUpLarge( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_STANDUP_TRACK_25785), { 0, 0, height }, { { 6, 0, height + 8 }, { 20, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 10, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 10, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -5260,21 +5260,21 @@ static void StandUpRCTrackRightHalfBankedHelixUpLarge( session, direction, session.TrackColours.WithIndex(25801), { 0, 0, height }, { { 27, 0, height }, { 1, 32, 26 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 7, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25795), { 0, 0, height }, { { 27, 0, height }, { 1, 32, 26 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 7, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25800), { 0, 0, height }, { { 6, 0, height }, { 20, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 11, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 11, height, session.SupportColours); break; } switch (direction) @@ -5304,14 +5304,14 @@ static void StandUpRCTrackRightHalfBankedHelixUpLarge( session, direction, session.TrackColours.WithIndex(25786), { 0, 0, height }, { { 6, 0, height }, { 20, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 5, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25791), { 0, 0, height }, { { 27, 0, height }, { 1, 32, 26 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 1, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 1, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -5321,14 +5321,14 @@ static void StandUpRCTrackRightHalfBankedHelixUpLarge( session, direction, session.TrackColours.WithIndex(25802), { 0, 0, height }, { { 27, 0, height }, { 1, 32, 26 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 1, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 1, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_STANDUP_TRACK_25781), { 0, 0, height }, { { 6, 0, height }, { 20, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 4, height, session.SupportColours); break; } switch (direction) @@ -5467,28 +5467,28 @@ static void StandUpRCTrackRightHalfBankedHelixUpLarge( session, direction, session.TrackColours.WithIndex(25801), { 0, 0, height }, { { 0, 27, height }, { 32, 1, 26 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 7, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25795), { 0, 0, height }, { { 0, 27, height }, { 32, 1, 26 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 7, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25800), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 11, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 11, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_STANDUP_TRACK_25785), { 0, 0, height }, { { 0, 6, height + 8 }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 10, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 10, height, session.SupportColours); break; } if (direction == 0 || direction == 3) @@ -5558,7 +5558,7 @@ static void StandUpRCTrackBrakes( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); @@ -5629,7 +5629,7 @@ static void StandUpRCTrackLeftEighthToDiag( { { 0, 6, height }, { 32, 20, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -5723,28 +5723,28 @@ static void StandUpRCTrackLeftEighthToDiag( session, direction, session.TrackColours.WithIndex(25646), { 0, 0, height }, { { 16, 16, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25650), { 0, 0, height }, { { 0, 16, height }, { 16, 18, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25654), { 0, 0, height }, { { 0, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25658), { 0, 0, height }, { { 16, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -5791,7 +5791,7 @@ static void StandUpRCTrackRightEighthToDiag( { { 0, 6, height }, { 32, 20, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -5886,28 +5886,28 @@ static void StandUpRCTrackRightEighthToDiag( session, direction, session.TrackColours.WithIndex(25630), { 0, 0, height }, { { 16, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25634), { 0, 0, height }, { { 0, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25638), { 0, 0, height }, { { 0, 16, height }, { 16, 18, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25642), { 0, 0, height }, { { 16, 16, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -5956,28 +5956,28 @@ static void StandUpRCTrackLeftEighthBankToDiag( session, direction, session.TrackColours.WithIndex(25675), { 0, 0, height }, { { 0, 27, height }, { 32, 1, 26 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25679), { 0, 0, height }, { { 0, 27, height }, { 32, 1, 26 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25683), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 4, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_STANDUP_TRACK_25687), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 4, height, session.SupportColours); break; } if (direction == 0 || direction == 3) @@ -6073,28 +6073,28 @@ static void StandUpRCTrackLeftEighthBankToDiag( session, direction, session.TrackColours.WithIndex(25678), { 0, 0, height }, { { 16, 16, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25682), { 0, 0, height }, { { 0, 16, height + 27 }, { 16, 18, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_STANDUP_TRACK_25686), { 0, 0, height }, { { 0, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25690), { 0, 0, height }, { { 16, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 4, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -6125,28 +6125,28 @@ static void StandUpRCTrackRightEighthBankToDiag( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_STANDUP_TRACK_25659), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 4, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25663), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 4, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25667), { 0, 0, height }, { { 0, 27, height }, { 32, 1, 26 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25671), { 0, 0, height }, { { 0, 27, height }, { 32, 1, 26 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); break; } if (direction == 0 || direction == 3) @@ -6243,28 +6243,28 @@ static void StandUpRCTrackRightEighthBankToDiag( session, direction, session.TrackColours.WithIndex(25662), { 0, 0, height }, { { 16, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 4, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_STANDUP_TRACK_25666), { 0, 0, height }, { { 0, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 1, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 1, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25670), { 0, 0, height }, { { 0, 16, height + 27 }, { 16, 18, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25674), { 0, 0, height }, { { 16, 16, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -6436,22 +6436,22 @@ static void StandUpRCTrackDiag25DegUp( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 9, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25766), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 8, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 8, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 8, height, session.SupportColours); break; } } @@ -6461,22 +6461,22 @@ static void StandUpRCTrackDiag25DegUp( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 9, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25704), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 8, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 8, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 8, height, session.SupportColours); break; } } @@ -6599,22 +6599,22 @@ static void StandUpRCTrackDiag60DegUp( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 36, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 36, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25778), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 36, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 36, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 36, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 36, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 34, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 34, height, session.SupportColours); break; } } @@ -6624,22 +6624,22 @@ static void StandUpRCTrackDiag60DegUp( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 36, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 36, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25716), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 36, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 36, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 36, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 36, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 34, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 34, height, session.SupportColours); break; } } @@ -6762,22 +6762,22 @@ static void StandUpRCTrackDiagFlatTo25DegUp( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 4, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25758), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 4, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } } @@ -6787,22 +6787,22 @@ static void StandUpRCTrackDiagFlatTo25DegUp( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 4, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25696), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 4, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } } @@ -6925,22 +6925,22 @@ static void StandUpRCTrackDiag25DegUpTo60DegUp( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 16, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25770), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 16, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 16, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 16, height, session.SupportColours); break; } } @@ -6950,22 +6950,22 @@ static void StandUpRCTrackDiag25DegUpTo60DegUp( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 16, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25708), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 16, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 16, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 16, height, session.SupportColours); break; } } @@ -7088,22 +7088,22 @@ static void StandUpRCTrackDiag60DegUpTo25DegUp( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 23, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 23, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25774), { -16, -16, height }, { { 0, 0, height }, { 16, 16, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 21, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 21, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 23, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 23, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 21, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 21, height, session.SupportColours); break; } } @@ -7113,22 +7113,22 @@ static void StandUpRCTrackDiag60DegUpTo25DegUp( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 23, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 23, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25712), { -16, -16, height }, { { 0, 0, height }, { 16, 16, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 21, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 21, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 23, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 23, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 21, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 21, height, session.SupportColours); break; } } @@ -7251,22 +7251,22 @@ static void StandUpRCTrackDiag25DegUpToFlat( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 6, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25762), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 4, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 6, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 4, height, session.SupportColours); break; } } @@ -7276,22 +7276,22 @@ static void StandUpRCTrackDiag25DegUpToFlat( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 6, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25700), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 4, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 6, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 4, height, session.SupportColours); break; } } @@ -7414,22 +7414,22 @@ static void StandUpRCTrackDiag25DegDown( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 8, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25768), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 8, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 8, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 8, height, session.SupportColours); break; } } @@ -7439,22 +7439,22 @@ static void StandUpRCTrackDiag25DegDown( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 8, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25706), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 8, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 8, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 8, height, session.SupportColours); break; } } @@ -7577,22 +7577,22 @@ static void StandUpRCTrackDiag60DegDown( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 24, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 24, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25780), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 28, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 28, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 24, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 24, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 28, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 28, height, session.SupportColours); break; } } @@ -7602,22 +7602,22 @@ static void StandUpRCTrackDiag60DegDown( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 24, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 24, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25718), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 28, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 28, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 24, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 24, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 28, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 28, height, session.SupportColours); break; } } @@ -7737,22 +7737,22 @@ static void StandUpRCTrackDiagFlatTo25DegDown( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 4, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25764), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 4, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 4, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 4, height, session.SupportColours); break; } } @@ -7762,22 +7762,22 @@ static void StandUpRCTrackDiagFlatTo25DegDown( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 4, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25702), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 4, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 4, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 4, height, session.SupportColours); break; } } @@ -7901,22 +7901,22 @@ static void StandUpRCTrackDiag25DegDownTo60DegDown( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 17, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 17, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25776), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 17, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 17, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 17, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 17, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 17, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 17, height, session.SupportColours); break; } } @@ -7926,22 +7926,22 @@ static void StandUpRCTrackDiag25DegDownTo60DegDown( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 17, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 17, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25714), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 17, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 17, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 17, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 17, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 17, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 17, height, session.SupportColours); break; } } @@ -8064,22 +8064,22 @@ static void StandUpRCTrackDiag60DegDownTo25DegDown( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 8, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25772), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 8, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 8, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 8, height, session.SupportColours); break; } } @@ -8089,22 +8089,22 @@ static void StandUpRCTrackDiag60DegDownTo25DegDown( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 8, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25710), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 8, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 8, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 8, height, session.SupportColours); break; } } @@ -8227,22 +8227,22 @@ static void StandUpRCTrackDiag25DegDownToFlat( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25760), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } } @@ -8252,22 +8252,22 @@ static void StandUpRCTrackDiag25DegDownToFlat( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25698), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } } @@ -8349,22 +8349,22 @@ static void StandUpRCTrackDiagFlatToLeftBank( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25724), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 2, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 2, height, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 4, height, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -8445,22 +8445,22 @@ static void StandUpRCTrackDiagFlatToRightBank( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 3, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25729), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 1, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 1, height, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -8541,22 +8541,22 @@ static void StandUpRCTrackDiagLeftBankToFlat( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25731), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 1, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 1, height, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -8637,22 +8637,22 @@ static void StandUpRCTrackDiagRightBankToFlat( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25726), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -8733,22 +8733,22 @@ static void StandUpRCTrackDiagLeftBankTo25DegUp( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 1, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 1, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25744), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 1, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 1, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 2, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 2, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -8829,22 +8829,22 @@ static void StandUpRCTrackDiagRightBankTo25DegUp( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 2, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 2, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25749), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 1, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 1, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 2, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 2, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -8925,22 +8925,22 @@ static void StandUpRCTrackDiag25DegUpToLeftBank( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 6, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25734), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 4, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 9, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 5, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -9021,22 +9021,22 @@ static void StandUpRCTrackDiag25DegUpToRightBank( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 10, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 10, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25739), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 4, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 8, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 5, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -9114,22 +9114,22 @@ static void StandUpRCTrackDiagLeftBankTo25DegDown( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 4, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25741), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 8, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 4, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 4, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -9208,22 +9208,22 @@ static void StandUpRCTrackDiagRightBankTo25DegDown( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 4, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25736), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 8, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 4, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 4, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -9305,22 +9305,22 @@ static void StandUpRCTrackDiag25DegDownToLeftBank( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25751), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 4, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 7, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -9401,22 +9401,22 @@ static void StandUpRCTrackDiag25DegDownToRightBank( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 8, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25746), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 4, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -9494,22 +9494,22 @@ static void StandUpRCTrackDiagLeftBank( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25720), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 1, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 1, height, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 6, height, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -9587,22 +9587,22 @@ static void StandUpRCTrackDiagRightBank( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 6, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(25722), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 1, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 1, height, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -9628,7 +9628,7 @@ static void StandUpRCTrackBlockBrakes( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); @@ -9645,7 +9645,7 @@ static void StandUpRCTrackFlatTo60DegUp( PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_STANDUP_TRACK_SMALL_FLAT_TO_STEEP + 0), { 0, 0, height }, { { 0, 2, height }, { 32, 27, 4 } }); - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -9655,7 +9655,7 @@ static void StandUpRCTrackFlatTo60DegUp( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_STANDUP_TRACK_SMALL_FLAT_TO_STEEP + 1), { 0, 0, height }, { { 0, 4, height }, { 32, 2, 43 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 4, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 4, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -9665,13 +9665,13 @@ static void StandUpRCTrackFlatTo60DegUp( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_STANDUP_TRACK_SMALL_FLAT_TO_STEEP + 3), { 0, 0, height }, { { 0, 4, height }, { 32, 2, 43 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 4, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 4, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_STANDUP_TRACK_SMALL_FLAT_TO_STEEP + 5), { 0, 0, height }, { { 0, 2, height }, { 32, 27, 4 } }); - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); break; } if (direction == 0 || direction == 3) @@ -9719,7 +9719,7 @@ static void StandUpRCTrack60DegUpToFlat( { 0, 0, height }, { { 0, 2, height }, { 32, 27, 4 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 16, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 16, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -9809,22 +9809,22 @@ static void StandUpRCTrackDiagFlatTo60DegUp( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 7, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_STANDUP_TRACK_SMALL_FLAT_TO_STEEP + 13), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 4 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 7, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 7, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 7, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -9901,22 +9901,22 @@ static void StandUpRCTrackDiag60DegUpToFlat( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 20, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 20, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_STANDUP_TRACK_SMALL_FLAT_TO_STEEP + 17), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 4 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 20, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 20, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 20, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 20, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 20, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 20, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -9993,22 +9993,22 @@ static void StandUpRCTrackDiagFlatTo60DegDown( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 16, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_STANDUP_TRACK_SMALL_FLAT_TO_STEEP + 19), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 4 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 16, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 16, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 16, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -10085,22 +10085,22 @@ static void StandUpRCTrackDiag60DegDownToFlat( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 5, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_STANDUP_TRACK_SMALL_FLAT_TO_STEEP + 15), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 4 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 5, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 5, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 5, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -10147,7 +10147,7 @@ static void StandUpRCTrackFlatTo60DegUpLongBase( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -10184,7 +10184,7 @@ static void StandUpRCTrackFlatTo60DegUpLongBase( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 8, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 8, session.SupportColours); } PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); @@ -10223,7 +10223,7 @@ static void StandUpRCTrackFlatTo60DegUpLongBase( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 10, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 10, height, session.SupportColours); } PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); @@ -10256,7 +10256,7 @@ static void StandUpRCTrackFlatTo60DegUpLongBase( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 19, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 19, height, session.SupportColours); } switch (direction) { @@ -10306,7 +10306,7 @@ static void StandUpRCTrack60DegUpToFlatLongBase( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 24, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 24, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -10349,7 +10349,7 @@ static void StandUpRCTrack60DegUpToFlatLongBase( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 18, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 18, height, session.SupportColours); } PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); @@ -10382,7 +10382,7 @@ static void StandUpRCTrack60DegUpToFlatLongBase( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 13, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 13, height, session.SupportColours); } PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); @@ -10415,7 +10415,7 @@ static void StandUpRCTrack60DegUpToFlatLongBase( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 5, height, session.SupportColours); } switch (direction) { @@ -10529,7 +10529,7 @@ static void StandUpRCTrack60DegUpTo90DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 34, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 34, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -10860,7 +10860,7 @@ static void StandUpRCTrack25DegUpToLeftBanked25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 7, height, session.SupportColours); } break; case 1: @@ -10873,7 +10873,7 @@ static void StandUpRCTrack25DegUpToLeftBanked25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 7, height, session.SupportColours); } break; case 2: @@ -10883,7 +10883,7 @@ static void StandUpRCTrack25DegUpToLeftBanked25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 7, height, session.SupportColours); } break; case 3: @@ -10893,7 +10893,7 @@ static void StandUpRCTrack25DegUpToLeftBanked25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 9, height, session.SupportColours); } break; } @@ -10922,7 +10922,7 @@ static void StandUpRCTrack25DegUpToRightBanked25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 9, height, session.SupportColours); } break; case 1: @@ -10932,7 +10932,7 @@ static void StandUpRCTrack25DegUpToRightBanked25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 7, height, session.SupportColours); } break; case 2: @@ -10945,7 +10945,7 @@ static void StandUpRCTrack25DegUpToRightBanked25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 7, height, session.SupportColours); } break; case 3: @@ -10955,7 +10955,7 @@ static void StandUpRCTrack25DegUpToRightBanked25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 5, height, session.SupportColours); } break; } @@ -10984,7 +10984,7 @@ static void StandUpRCTrackLeftBanked25DegUpTo25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); } break; case 1: @@ -10997,7 +10997,7 @@ static void StandUpRCTrackLeftBanked25DegUpTo25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); } break; case 2: @@ -11007,7 +11007,7 @@ static void StandUpRCTrackLeftBanked25DegUpTo25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); } break; case 3: @@ -11017,7 +11017,7 @@ static void StandUpRCTrackLeftBanked25DegUpTo25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 10, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 10, height, session.SupportColours); } break; } @@ -11046,7 +11046,7 @@ static void StandUpRCTrackRightBanked25DegUpTo25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 10, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 10, height, session.SupportColours); } break; case 1: @@ -11056,7 +11056,7 @@ static void StandUpRCTrackRightBanked25DegUpTo25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); } break; case 2: @@ -11069,7 +11069,7 @@ static void StandUpRCTrackRightBanked25DegUpTo25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); } break; case 3: @@ -11079,7 +11079,7 @@ static void StandUpRCTrackRightBanked25DegUpTo25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 7, height, session.SupportColours); } break; } @@ -11140,7 +11140,7 @@ static void StandUpRCTrackLeftBankedFlatToLeftBanked25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 1, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 1, height, session.SupportColours); } break; case 1: @@ -11150,7 +11150,7 @@ static void StandUpRCTrackLeftBankedFlatToLeftBanked25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); } break; case 2: @@ -11160,7 +11160,7 @@ static void StandUpRCTrackLeftBankedFlatToLeftBanked25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); } break; case 3: @@ -11170,7 +11170,7 @@ static void StandUpRCTrackLeftBankedFlatToLeftBanked25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); } break; } @@ -11199,7 +11199,7 @@ static void StandUpRCTrackRightBankedFlatToRightBanked25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); } break; case 1: @@ -11209,7 +11209,7 @@ static void StandUpRCTrackRightBankedFlatToRightBanked25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); } break; case 2: @@ -11219,7 +11219,7 @@ static void StandUpRCTrackRightBankedFlatToRightBanked25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); } break; case 3: @@ -11229,7 +11229,7 @@ static void StandUpRCTrackRightBankedFlatToRightBanked25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 1, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 1, height, session.SupportColours); } break; } @@ -11258,7 +11258,7 @@ static void StandUpRCTrackLeftBanked25DegUpToLeftBankedFlat( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 5, height, session.SupportColours); } break; case 1: @@ -11268,7 +11268,7 @@ static void StandUpRCTrackLeftBanked25DegUpToLeftBankedFlat( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); } break; case 2: @@ -11278,7 +11278,7 @@ static void StandUpRCTrackLeftBanked25DegUpToLeftBankedFlat( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 7, height, session.SupportColours); } break; case 3: @@ -11288,7 +11288,7 @@ static void StandUpRCTrackLeftBanked25DegUpToLeftBankedFlat( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 11, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 11, height, session.SupportColours); } break; } @@ -11317,7 +11317,7 @@ static void StandUpRCTrackRightBanked25DegUpToRightBankedFlat( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 11, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 11, height, session.SupportColours); } break; case 1: @@ -11327,7 +11327,7 @@ static void StandUpRCTrackRightBanked25DegUpToRightBankedFlat( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); } break; case 2: @@ -11337,7 +11337,7 @@ static void StandUpRCTrackRightBanked25DegUpToRightBankedFlat( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); } break; case 3: @@ -11347,7 +11347,7 @@ static void StandUpRCTrackRightBanked25DegUpToRightBankedFlat( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 5, height, session.SupportColours); } break; } @@ -11408,7 +11408,7 @@ static void StandUpRCTrack25DegUpLeftBanked( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 5, height, session.SupportColours); } break; case 1: @@ -11418,7 +11418,7 @@ static void StandUpRCTrack25DegUpLeftBanked( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); } break; case 2: @@ -11428,7 +11428,7 @@ static void StandUpRCTrack25DegUpLeftBanked( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); } break; case 3: @@ -11438,7 +11438,7 @@ static void StandUpRCTrack25DegUpLeftBanked( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 13, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 13, height, session.SupportColours); } break; } @@ -11467,7 +11467,7 @@ static void StandUpRCTrack25DegUpRightBanked( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 13, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 13, height, session.SupportColours); } break; case 1: @@ -11477,7 +11477,7 @@ static void StandUpRCTrack25DegUpRightBanked( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); } break; case 2: @@ -11487,7 +11487,7 @@ static void StandUpRCTrack25DegUpRightBanked( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); } break; case 3: @@ -11497,7 +11497,7 @@ static void StandUpRCTrack25DegUpRightBanked( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 5, height, session.SupportColours); } break; } @@ -11540,7 +11540,7 @@ static void StandUpRCTrackFlatToLeftBanked25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 1, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 1, height, session.SupportColours); } break; case 1: @@ -11553,7 +11553,7 @@ static void StandUpRCTrackFlatToLeftBanked25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); } break; case 2: @@ -11563,7 +11563,7 @@ static void StandUpRCTrackFlatToLeftBanked25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); } break; case 3: @@ -11573,7 +11573,7 @@ static void StandUpRCTrackFlatToLeftBanked25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); } break; } @@ -11602,7 +11602,7 @@ static void StandUpRCTrackFlatToRightBanked25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); } break; case 1: @@ -11612,7 +11612,7 @@ static void StandUpRCTrackFlatToRightBanked25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); } break; case 2: @@ -11625,7 +11625,7 @@ static void StandUpRCTrackFlatToRightBanked25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); } break; case 3: @@ -11635,7 +11635,7 @@ static void StandUpRCTrackFlatToRightBanked25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 1, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 1, height, session.SupportColours); } break; } @@ -11683,7 +11683,7 @@ static void StandUpRCTrackLeftBanked25DegUpToFlat( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 7, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 7, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -11729,7 +11729,7 @@ static void StandUpRCTrackRightBanked25DegUpToFlat( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 7, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 7, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -11807,7 +11807,7 @@ static void StandUpRCTrackLeftBankedQuarterTurn3Tile25DegUp( { 0, 6, height }, { 32, 20, 3 }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -11848,7 +11848,7 @@ static void StandUpRCTrackLeftBankedQuarterTurn3Tile25DegUp( session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_GENTLE_SMALL_CURVE_BANKED + 1)), { 0, 0, height }, { { 22, 22, height }, { 20, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 7, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -11856,7 +11856,7 @@ static void StandUpRCTrackLeftBankedQuarterTurn3Tile25DegUp( session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_GENTLE_SMALL_CURVE_BANKED + 4)), { 6, 0, height }, { { 27, 0, height }, { 1, 32, 34 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -11864,7 +11864,7 @@ static void StandUpRCTrackLeftBankedQuarterTurn3Tile25DegUp( session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_GENTLE_SMALL_CURVE_BANKED + 6)), { 6, 0, height }, { { 27, 0, height }, { 1, 32, 34 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 9, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -11872,7 +11872,7 @@ static void StandUpRCTrackLeftBankedQuarterTurn3Tile25DegUp( session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_GENTLE_SMALL_CURVE_BANKED + 9)), { 6, 0, height }, { 20, 32, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 9, height, session.SupportColours); break; } switch (direction) @@ -11929,7 +11929,7 @@ static void StandUpRCTrackRightBankedQuarterTurn3Tile25DegUp( { 0, 6, height }, { 32, 20, 3 }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -11966,7 +11966,7 @@ static void StandUpRCTrackRightBankedQuarterTurn3Tile25DegUp( session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_GENTLE_SMALL_CURVE_BANKED + 12)), { 6, 0, height }, { 20, 32, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 9, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -11974,7 +11974,7 @@ static void StandUpRCTrackRightBankedQuarterTurn3Tile25DegUp( session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_GENTLE_SMALL_CURVE_BANKED + 14)), { 6, 0, height }, { { 27, 0, height }, { 1, 32, 34 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 9, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -11982,7 +11982,7 @@ static void StandUpRCTrackRightBankedQuarterTurn3Tile25DegUp( session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_GENTLE_SMALL_CURVE_BANKED + 16)), { 6, 0, height }, { { 27, 0, height }, { 1, 32, 34 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 9, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -11994,7 +11994,7 @@ static void StandUpRCTrackRightBankedQuarterTurn3Tile25DegUp( session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_GENTLE_SMALL_CURVE_BANKED + 18)), { 0, 0, height }, { { 22, 22, height }, { 20, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 7, height, session.SupportColours); break; } switch (direction) @@ -12069,7 +12069,7 @@ static void StandUpRCTrackLeftBankedQuarterTurn525DegUp( { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 10, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 10, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -12209,7 +12209,7 @@ static void StandUpRCTrackLeftBankedQuarterTurn525DegUp( session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_GENTLE_MEDIUM_CURVE_BANKED + 4)), { 0, 0, height }, { { 6, 0, height }, { 20, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 11, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 11, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -12217,7 +12217,7 @@ static void StandUpRCTrackLeftBankedQuarterTurn525DegUp( session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_GENTLE_MEDIUM_CURVE_BANKED + 9)), { 0, 0, height }, { { 27, 0, height }, { 1, 32, 34 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -12225,7 +12225,7 @@ static void StandUpRCTrackLeftBankedQuarterTurn525DegUp( session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_GENTLE_MEDIUM_CURVE_BANKED + 14)), { 0, 0, height }, { { 27, 0, height }, { 1, 32, 34 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -12233,7 +12233,7 @@ static void StandUpRCTrackLeftBankedQuarterTurn525DegUp( session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_GENTLE_MEDIUM_CURVE_BANKED + 19)), { 0, 0, height }, { { 6, 0, height }, { 20, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; } switch (direction) @@ -12290,7 +12290,7 @@ static void StandUpRCTrackRightBankedQuarterTurn525DegUp( { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 10, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 10, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -12430,7 +12430,7 @@ static void StandUpRCTrackRightBankedQuarterTurn525DegUp( session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_GENTLE_MEDIUM_CURVE_BANKED + 24)), { 0, 0, height }, { { 6, 0, height }, { 20, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -12438,7 +12438,7 @@ static void StandUpRCTrackRightBankedQuarterTurn525DegUp( session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_GENTLE_MEDIUM_CURVE_BANKED + 29)), { 0, 0, height }, { { 27, 0, height }, { 1, 32, 34 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -12446,7 +12446,7 @@ static void StandUpRCTrackRightBankedQuarterTurn525DegUp( session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_GENTLE_MEDIUM_CURVE_BANKED + 34)), { 0, 0, height }, { { 27, 0, height }, { 1, 32, 34 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -12454,7 +12454,7 @@ static void StandUpRCTrackRightBankedQuarterTurn525DegUp( session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_GENTLE_MEDIUM_CURVE_BANKED + 39)), { 0, 0, height }, { { 6, 0, height }, { 20, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 11, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 11, height, session.SupportColours); break; } switch (direction) @@ -12509,28 +12509,28 @@ static void StandUpRCTrackLeftEighthToDiagUp25( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_GENTLE_LARGE_CURVE + 0)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 10, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 10, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_GENTLE_LARGE_CURVE + 4)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_GENTLE_LARGE_CURVE + 8)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_GENTLE_LARGE_CURVE + 12)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); break; } if (direction == 0 || direction == 3) @@ -12626,28 +12626,28 @@ static void StandUpRCTrackLeftEighthToDiagUp25( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_GENTLE_LARGE_CURVE + 3)), { 0, 0, height }, { { 16, 16, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 7, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_GENTLE_LARGE_CURVE + 7)), { 0, 0, height }, { { 0, 16, height }, { 16, 18, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 7, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_GENTLE_LARGE_CURVE + 11)), { 0, 0, height }, { { 0, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 3, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_GENTLE_LARGE_CURVE + 15)), { 0, 0, height }, { { 16, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 5, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -12677,28 +12677,28 @@ static void StandUpRCTrackRightEighthToDiagUp25( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_GENTLE_LARGE_CURVE + 16)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_GENTLE_LARGE_CURVE + 20)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_GENTLE_LARGE_CURVE + 24)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_GENTLE_LARGE_CURVE + 28)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 10, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 10, height, session.SupportColours); break; } if (direction == 0 || direction == 3) @@ -12795,28 +12795,28 @@ static void StandUpRCTrackRightEighthToDiagUp25( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_GENTLE_LARGE_CURVE + 19)), { 0, 0, height }, { { 16, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 5, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_GENTLE_LARGE_CURVE + 23)), { 0, 0, height }, { { 0, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 3, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_GENTLE_LARGE_CURVE + 27)), { 0, 0, height }, { { 0, 16, height }, { 16, 18, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 7, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_GENTLE_LARGE_CURVE + 31)), { 0, 0, height }, { { 16, 16, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 7, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -12846,28 +12846,28 @@ static void StandUpRCTrackLeftEighthToOrthogonalUp25( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_GENTLE_LARGE_CURVE + 32)), { 0, 0, height }, { { 0, 16, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 8, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_GENTLE_LARGE_CURVE + 36)), { 0, 0, height }, { { 16, 16, height }, { 16, 18, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 8, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_GENTLE_LARGE_CURVE + 40)), { 0, 0, height }, { { 16, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 6, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_GENTLE_LARGE_CURVE + 44)), { 0, 0, height }, { { 0, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 7, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -12965,28 +12965,28 @@ static void StandUpRCTrackLeftEighthToOrthogonalUp25( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_GENTLE_LARGE_CURVE + 35)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 7, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_GENTLE_LARGE_CURVE + 39)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 7, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_GENTLE_LARGE_CURVE + 43)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 7, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_GENTLE_LARGE_CURVE + 47)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 4, height, session.SupportColours); break; } @@ -13016,28 +13016,28 @@ static void StandUpRCTrackRightEighthToOrthogonalUp25( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_GENTLE_LARGE_CURVE + 48)), { 0, 0, height }, { { 0, 16, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 6, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_GENTLE_LARGE_CURVE + 52)), { 0, 0, height }, { { 16, 16, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 8, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_GENTLE_LARGE_CURVE + 56)), { 0, 0, height }, { { 16, 0, height }, { 16, 18, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 8, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_GENTLE_LARGE_CURVE + 60)), { 0, 0, height }, { { 0, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 7, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -13136,28 +13136,28 @@ static void StandUpRCTrackRightEighthToOrthogonalUp25( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_GENTLE_LARGE_CURVE + 51)), { 0, 0, height }, { { 6, 0, height }, { 20, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 7, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_GENTLE_LARGE_CURVE + 55)), { 0, 0, height }, { { 6, 0, height }, { 20, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 7, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_GENTLE_LARGE_CURVE + 59)), { 0, 0, height }, { { 6, 0, height }, { 20, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 7, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_GENTLE_LARGE_CURVE + 63)), { 0, 0, height }, { { 6, 0, height }, { 20, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 7, height, session.SupportColours); break; } if (direction == 0 || direction == 1) @@ -13280,7 +13280,7 @@ static void StandUpRCTrackDiagUp25ToLeftBankedUp25( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 8, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -13288,15 +13288,15 @@ static void StandUpRCTrackDiagUp25ToLeftBankedUp25( session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_GENTLE_LARGE_CURVE_BANKED + 2)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 10, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 10, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 10, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 10, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 10, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 10, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -13380,7 +13380,7 @@ static void StandUpRCTrackDiagUp25ToRightBankedUp25( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 10, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 10, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -13388,15 +13388,15 @@ static void StandUpRCTrackDiagUp25ToRightBankedUp25( session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_GENTLE_LARGE_CURVE_BANKED + 6)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 10, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 10, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 8, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 10, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 10, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -13480,7 +13480,7 @@ static void StandUpRCTrackDiagLeftBankedUp25ToUp25( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 8, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -13488,15 +13488,15 @@ static void StandUpRCTrackDiagLeftBankedUp25ToUp25( session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_GENTLE_LARGE_CURVE_BANKED + 12)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 9, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 9, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 9, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -13580,7 +13580,7 @@ static void StandUpRCTrackDiagRightBankedUp25ToUp25( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 9, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -13588,15 +13588,15 @@ static void StandUpRCTrackDiagRightBankedUp25ToUp25( session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_GENTLE_LARGE_CURVE_BANKED + 16)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 9, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 8, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 9, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -13708,7 +13708,7 @@ static void StandUpRCTrackDiagLeftBankedFlatToLeftBankedUp25( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 1, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 1, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -13716,15 +13716,15 @@ static void StandUpRCTrackDiagLeftBankedFlatToLeftBankedUp25( session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_GENTLE_LARGE_CURVE_BANKED + 21)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 4, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 6, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 4, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -13804,7 +13804,7 @@ static void StandUpRCTrackDiagRightBankedFlatToRightBankedUp25( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 6, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -13812,15 +13812,15 @@ static void StandUpRCTrackDiagRightBankedFlatToRightBankedUp25( session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_GENTLE_LARGE_CURVE_BANKED + 25)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 4, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 2, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 2, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 3, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -13900,7 +13900,7 @@ static void StandUpRCTrackDiagLeftBankedUp25ToLeftBankedFlat( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 4, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -13908,15 +13908,15 @@ static void StandUpRCTrackDiagLeftBankedUp25ToLeftBankedFlat( session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_GENTLE_LARGE_CURVE_BANKED + 29)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 8, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 11, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 11, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 6, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -13996,7 +13996,7 @@ static void StandUpRCTrackDiagRightBankedUp25ToRightBankedFlat( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 11, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 11, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -14004,15 +14004,15 @@ static void StandUpRCTrackDiagRightBankedUp25ToRightBankedFlat( session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_GENTLE_LARGE_CURVE_BANKED + 33)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 8, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 4, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 6, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -14124,7 +14124,7 @@ static void StandUpRCTrackDiagUp25LeftBanked( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 8, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -14132,15 +14132,15 @@ static void StandUpRCTrackDiagUp25LeftBanked( session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_GENTLE_LARGE_CURVE_BANKED + 37)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 11, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 11, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 13, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 13, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 10, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 10, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -14220,7 +14220,7 @@ static void StandUpRCTrackDiagUp25RightBanked( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 13, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 13, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -14228,15 +14228,15 @@ static void StandUpRCTrackDiagUp25RightBanked( session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_GENTLE_LARGE_CURVE_BANKED + 41)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 11, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 11, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 8, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 10, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 10, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -14334,7 +14334,7 @@ static void StandUpRCTrackDiagFlatToLeftBankedUp25( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 1, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 1, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -14342,15 +14342,15 @@ static void StandUpRCTrackDiagFlatToLeftBankedUp25( session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_GENTLE_LARGE_CURVE_BANKED + 46)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 4, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 4, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 4, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -14434,7 +14434,7 @@ static void StandUpRCTrackDiagFlatToRightBankedUp25( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 4, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -14442,15 +14442,15 @@ static void StandUpRCTrackDiagFlatToRightBankedUp25( session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_GENTLE_LARGE_CURVE_BANKED + 50)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 4, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 1, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 1, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 4, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -14534,7 +14534,7 @@ static void StandUpRCTrackDiagLeftBankedUp25ToFlat( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 5, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -14542,15 +14542,15 @@ static void StandUpRCTrackDiagLeftBankedUp25ToFlat( session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_GENTLE_LARGE_CURVE_BANKED + 56)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 6, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 6, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 6, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -14634,7 +14634,7 @@ static void StandUpRCTrackDiagRightBankedUp25ToFlat( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 6, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -14642,15 +14642,15 @@ static void StandUpRCTrackDiagRightBankedUp25ToFlat( session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_GENTLE_LARGE_CURVE_BANKED + 60)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 6, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 5, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 6, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -14711,7 +14711,7 @@ static void StandUpRCTrackLeftEighthBankToDiagUp25( session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_GENTLE_LARGE_CURVE_BANKED + 64)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 10, height - 4, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 10, height - 4, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -14719,7 +14719,7 @@ static void StandUpRCTrackLeftEighthBankToDiagUp25( session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_GENTLE_LARGE_CURVE_BANKED + 68)), { 0, 0, height }, { { 0, 27, height }, { 32, 1, 32 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 7, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -14727,7 +14727,7 @@ static void StandUpRCTrackLeftEighthBankToDiagUp25( session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_GENTLE_LARGE_CURVE_BANKED + 72)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 9, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -14735,7 +14735,7 @@ static void StandUpRCTrackLeftEighthBankToDiagUp25( session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_GENTLE_LARGE_CURVE_BANKED + 76)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 12, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 12, height, session.SupportColours); break; } if (direction == 0 || direction == 3) @@ -14840,7 +14840,7 @@ static void StandUpRCTrackLeftEighthBankToDiagUp25( session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_GENTLE_LARGE_CURVE_BANKED + 67)), { 0, 0, height }, { { 16, 16, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 1, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 1, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -14848,7 +14848,7 @@ static void StandUpRCTrackLeftEighthBankToDiagUp25( session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_GENTLE_LARGE_CURVE_BANKED + 71)), { 0, 0, height }, { { 0, 0, height + 48 }, { 32, 32, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 7, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -14856,7 +14856,7 @@ static void StandUpRCTrackLeftEighthBankToDiagUp25( session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_GENTLE_LARGE_CURVE_BANKED + 75)), { 0, 0, height }, { { 0, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 7, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -14864,7 +14864,7 @@ static void StandUpRCTrackLeftEighthBankToDiagUp25( session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_GENTLE_LARGE_CURVE_BANKED + 79)), { 0, 0, height }, { { 16, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 8, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -14895,7 +14895,7 @@ static void StandUpRCTrackRightEighthBankToDiagUp25( session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_GENTLE_LARGE_CURVE_BANKED + 80)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 12, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 12, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -14903,7 +14903,7 @@ static void StandUpRCTrackRightEighthBankToDiagUp25( session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_GENTLE_LARGE_CURVE_BANKED + 84)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 9, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -14911,7 +14911,7 @@ static void StandUpRCTrackRightEighthBankToDiagUp25( session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_GENTLE_LARGE_CURVE_BANKED + 88)), { 0, 0, height }, { { 0, 27, height }, { 32, 1, 32 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 7, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -14919,7 +14919,7 @@ static void StandUpRCTrackRightEighthBankToDiagUp25( session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_GENTLE_LARGE_CURVE_BANKED + 92)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 10, height - 4, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 10, height - 4, session.SupportColours); break; } if (direction == 0 || direction == 3) @@ -15025,7 +15025,7 @@ static void StandUpRCTrackRightEighthBankToDiagUp25( session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_GENTLE_LARGE_CURVE_BANKED + 83)), { 0, 0, height }, { { 16, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 8, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -15033,7 +15033,7 @@ static void StandUpRCTrackRightEighthBankToDiagUp25( session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_GENTLE_LARGE_CURVE_BANKED + 87)), { 0, 0, height }, { { 0, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 7, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -15041,7 +15041,7 @@ static void StandUpRCTrackRightEighthBankToDiagUp25( session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_GENTLE_LARGE_CURVE_BANKED + 91)), { 0, 0, height }, { { 0, 0, height + 48 }, { 32, 32, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 6, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -15049,7 +15049,7 @@ static void StandUpRCTrackRightEighthBankToDiagUp25( session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_GENTLE_LARGE_CURVE_BANKED + 95)), { 0, 0, height }, { { 16, 16, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 1, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 1, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -15080,7 +15080,7 @@ static void StandUpRCTrackLeftEighthBankToOrthogonalUp25( session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_GENTLE_LARGE_CURVE_BANKED + 96)), { 0, 0, height }, { { 0, 0, height + 40 }, { 32, 32, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 7, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -15088,7 +15088,7 @@ static void StandUpRCTrackLeftEighthBankToOrthogonalUp25( session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_GENTLE_LARGE_CURVE_BANKED + 100)), { 0, 0, height }, { { 0, 0, height + 32 }, { 32, 32, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 7, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -15096,7 +15096,7 @@ static void StandUpRCTrackLeftEighthBankToOrthogonalUp25( session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_GENTLE_LARGE_CURVE_BANKED + 104)), { 0, 0, height }, { { 16, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 9, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -15104,7 +15104,7 @@ static void StandUpRCTrackLeftEighthBankToOrthogonalUp25( session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_GENTLE_LARGE_CURVE_BANKED + 108)), { 0, 0, height }, { { 0, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 8, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -15211,7 +15211,7 @@ static void StandUpRCTrackLeftEighthBankToOrthogonalUp25( session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_GENTLE_LARGE_CURVE_BANKED + 99)), { 0, 0, height }, { { 0, 27, height }, { 32, 1, 32 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 5, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -15219,7 +15219,7 @@ static void StandUpRCTrackLeftEighthBankToOrthogonalUp25( session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_GENTLE_LARGE_CURVE_BANKED + 103)), { 0, 0, height }, { { 0, 27, height }, { 32, 1, 32 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -15227,7 +15227,7 @@ static void StandUpRCTrackLeftEighthBankToOrthogonalUp25( session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_GENTLE_LARGE_CURVE_BANKED + 107)), { 0, 0, height }, { { 0, 0, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -15235,7 +15235,7 @@ static void StandUpRCTrackLeftEighthBankToOrthogonalUp25( session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_GENTLE_LARGE_CURVE_BANKED + 111)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 11, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 11, height, session.SupportColours); break; } if (direction == 1 || direction == 2) @@ -15264,7 +15264,7 @@ static void StandUpRCTrackRightEighthBankToOrthogonalUp25( session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_GENTLE_LARGE_CURVE_BANKED + 112)), { 0, 0, height }, { { 0, 16, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 9, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -15272,7 +15272,7 @@ static void StandUpRCTrackRightEighthBankToOrthogonalUp25( session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_GENTLE_LARGE_CURVE_BANKED + 116)), { 0, 0, height }, { { 0, 0, height + 32 }, { 32, 32, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 7, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -15280,7 +15280,7 @@ static void StandUpRCTrackRightEighthBankToOrthogonalUp25( session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_GENTLE_LARGE_CURVE_BANKED + 120)), { 0, 0, height }, { { 0, 0, height + 40 }, { 32, 32, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 8, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -15288,7 +15288,7 @@ static void StandUpRCTrackRightEighthBankToOrthogonalUp25( session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_GENTLE_LARGE_CURVE_BANKED + 124)), { 0, 0, height }, { { 0, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 8, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -15396,7 +15396,7 @@ static void StandUpRCTrackRightEighthBankToOrthogonalUp25( session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_GENTLE_LARGE_CURVE_BANKED + 115)), { 0, 0, height }, { { 6, 0, height }, { 20, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -15404,7 +15404,7 @@ static void StandUpRCTrackRightEighthBankToOrthogonalUp25( session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_GENTLE_LARGE_CURVE_BANKED + 119)), { 0, 0, height }, { { 27, 0, height }, { 1, 32, 32 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 7, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -15412,7 +15412,7 @@ static void StandUpRCTrackRightEighthBankToOrthogonalUp25( session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_GENTLE_LARGE_CURVE_BANKED + 123)), { 0, 0, height }, { { 27, 0, height }, { 1, 32, 32 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 7, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -15420,7 +15420,7 @@ static void StandUpRCTrackRightEighthBankToOrthogonalUp25( session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_GENTLE_LARGE_CURVE_BANKED + 127)), { 0, 0, height }, { { 6, 0, height }, { 20, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 10, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 10, height, session.SupportColours); break; } if (direction == 0 || direction == 1) @@ -15489,7 +15489,7 @@ static void StandUpRCTrackLeftBankToLeftQuarterTurn325DegUp( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_STANDUP_TRACK_TURN_BANK_TRANSITION + 0), { 0, 6, height }, { 32, 20, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 4, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -15499,21 +15499,21 @@ static void StandUpRCTrackLeftBankToLeftQuarterTurn325DegUp( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_STANDUP_TRACK_TURN_BANK_TRANSITION + 4), { 0, 6, height }, { { 0, 27, height }, { 32, 1, 26 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_STANDUP_TRACK_TURN_BANK_TRANSITION + 9), { 0, 6, height }, { 32, 20, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 5, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_STANDUP_TRACK_TURN_BANK_TRANSITION + 11), { 0, 6, height }, { 32, 20, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); break; } if (direction == 0 || direction == 3) @@ -15565,7 +15565,7 @@ static void StandUpRCTrackLeftBankToLeftQuarterTurn325DegUp( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_TURN_BANK_TRANSITION + 1)), { 0, 0, height }, { { 22, 22, height }, { 20, 20, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -15575,21 +15575,21 @@ static void StandUpRCTrackLeftBankToLeftQuarterTurn325DegUp( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_STANDUP_TRACK_TURN_BANK_TRANSITION + 8), { 6, 0, height }, { { 27, 0, height }, { 1, 32, 26 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_STANDUP_TRACK_TURN_BANK_TRANSITION + 10), { 6, 0, height }, { { 6, 0, height }, { 20, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 1, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 1, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_STANDUP_TRACK_TURN_BANK_TRANSITION + 13), { 6, 0, height }, { { 6, 0, height }, { 20, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); break; } switch (direction) @@ -15626,14 +15626,14 @@ static void StandUpRCTrackRightBankToRightQuarterTurn325DegUp( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_STANDUP_TRACK_TURN_BANK_TRANSITION + 14), { 0, 6, height }, { 32, 20, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_STANDUP_TRACK_TURN_BANK_TRANSITION + 17), { 0, 6, height }, { 32, 20, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 5, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -15643,14 +15643,14 @@ static void StandUpRCTrackRightBankToRightQuarterTurn325DegUp( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_STANDUP_TRACK_TURN_BANK_TRANSITION + 20), { 0, 6, height }, { { 0, 27, height }, { 32, 1, 26 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_STANDUP_TRACK_TURN_BANK_TRANSITION + 25), { 0, 6, height }, { 32, 20, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 4, height, session.SupportColours); break; } if (direction == 0 || direction == 3) @@ -15701,14 +15701,14 @@ static void StandUpRCTrackRightBankToRightQuarterTurn325DegUp( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_STANDUP_TRACK_TURN_BANK_TRANSITION + 16), { 6, 0, height }, { { 6, 0, height }, { 20, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 5, height - 6, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 5, height - 6, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_STANDUP_TRACK_TURN_BANK_TRANSITION + 18), { 6, 0, height }, { { 6, 0, height }, { 20, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 7, height - 6, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 7, height - 6, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -15718,7 +15718,7 @@ static void StandUpRCTrackRightBankToRightQuarterTurn325DegUp( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_STANDUP_TRACK_TURN_BANK_TRANSITION + 24), { 6, 0, height }, { { 27, 0, height }, { 1, 32, 26 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 9, height - 6, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 9, height - 6, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -15729,7 +15729,7 @@ static void StandUpRCTrackRightBankToRightQuarterTurn325DegUp( session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_TURN_BANK_TRANSITION + 26)), { 0, 0, height }, { { 22, 22, height }, { 20, 20, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 3, height - 6, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 3, height - 6, session.SupportColours); break; } switch (direction) @@ -15801,7 +15801,7 @@ static void StandUpRCTrackLeftLargeCorkscrewUp( break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); if (direction == 0 || direction == 3) { @@ -15825,14 +15825,14 @@ static void StandUpRCTrackLeftLargeCorkscrewUp( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_LARGE_CORKSCREW + 1)), { 0, 0, height }, { { 0, 6, height + 4 }, { 32, 20, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 30, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 30, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_LARGE_CORKSCREW + 6)), { 0, 0, height }, { { 0, 6, height + 48 }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 24, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 24, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -15842,14 +15842,14 @@ static void StandUpRCTrackLeftLargeCorkscrewUp( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_LARGE_CORKSCREW + 12)), { 0, 0, height }, { { 0, 6, height + 76 }, { 30, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 25, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 25, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_LARGE_CORKSCREW + 16)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 19, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 19, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -15908,21 +15908,21 @@ static void StandUpRCTrackLeftLargeCorkscrewUp( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_LARGE_CORKSCREW + 3)), { 0, 0, height }, { { 2, 2, height + 50 }, { 28, 28, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 58, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 58, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_LARGE_CORKSCREW + 8)), { 0, 0, height }, { { 2, 2, height + 50 }, { 28, 28, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 63, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 63, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_LARGE_CORKSCREW + 13)), { 0, 0, height }, { { 2, 2, height + 50 }, { 24, 60, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 60, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 60, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -15932,7 +15932,7 @@ static void StandUpRCTrackLeftLargeCorkscrewUp( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_LARGE_CORKSCREW + 19)), { 0, 0, height }, { { 2, 0, height + 72 }, { 26, 32, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 60, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 60, session.SupportColours); break; } @@ -16019,7 +16019,7 @@ static void StandUpRCTrackRightLargeCorkscrewUp( break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); if (direction == 0 || direction == 3) { @@ -16043,7 +16043,7 @@ static void StandUpRCTrackRightLargeCorkscrewUp( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_LARGE_CORKSCREW + 23)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 21, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 21, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -16053,21 +16053,21 @@ static void StandUpRCTrackRightLargeCorkscrewUp( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_LARGE_CORKSCREW + 31)), { 0, 0, height }, { { 0, 6, height + 76 }, { 30, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 25, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 25, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_LARGE_CORKSCREW + 35)), { 0, 0, height }, { { 0, 6, height + 48 }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 24, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 24, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_LARGE_CORKSCREW + 40)), { 0, 0, height }, { { 0, 6, height + 4 }, { 32, 20, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 30, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 30, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -16130,28 +16130,28 @@ static void StandUpRCTrackRightLargeCorkscrewUp( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_LARGE_CORKSCREW + 26)), { 0, 0, height }, { { 2, 0, height + 72 }, { 26, 32, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 60, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 60, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_LARGE_CORKSCREW + 32)), { 0, 0, height }, { { 2, 2, height + 50 }, { 24, 60, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 60, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 60, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_LARGE_CORKSCREW + 37)), { 0, 0, height }, { { 2, 2, height + 50 }, { 28, 28, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 63, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 63, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_LARGE_CORKSCREW + 42)), { 0, 0, height }, { { 2, 2, height + 50 }, { 28, 28, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 58, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 58, session.SupportColours); break; } PaintUtilSetGeneralSupportHeight(session, height + 64); @@ -16356,7 +16356,7 @@ static void StandUpRCTrackLeftMediumHalfLoopUp( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_MEDIUM_HALF_LOOP + 0)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 7, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -16366,21 +16366,21 @@ static void StandUpRCTrackLeftMediumHalfLoopUp( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_MEDIUM_HALF_LOOP + 8)), { 0, 0, height }, { { 0, 6, height + 44 }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 9, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_MEDIUM_HALF_LOOP + 14)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 7, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_MEDIUM_HALF_LOOP + 19)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); break; } @@ -16438,28 +16438,28 @@ static void StandUpRCTrackLeftMediumHalfLoopUp( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_MEDIUM_HALF_LOOP + 2)), { 0, 0, height }, { { 0, 0, height + 2 }, { 32, 32, 0 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 14, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 14, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_MEDIUM_HALF_LOOP + 11)), { 0, 0, height }, { { 29, 0, height }, { 1, 32, 96 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 17, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 17, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_MEDIUM_HALF_LOOP + 16)), { 0, 0, height }, { { 31, 0, height }, { 1, 32, 96 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 18, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 18, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_MEDIUM_HALF_LOOP + 21)), { 0, 0, height }, { { 0, 0, height }, { 32, 32, 0 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 14, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 14, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -16569,14 +16569,14 @@ static void StandUpRCTrackRightMediumHalfLoopUp( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_MEDIUM_HALF_LOOP + 25)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_MEDIUM_HALF_LOOP + 31)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 7, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -16586,14 +16586,14 @@ static void StandUpRCTrackRightMediumHalfLoopUp( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_MEDIUM_HALF_LOOP + 37)), { 0, 0, height }, { { 0, 6, height + 44 }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 9, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_MEDIUM_HALF_LOOP + 43)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 7, height, session.SupportColours); break; } @@ -16651,28 +16651,28 @@ static void StandUpRCTrackRightMediumHalfLoopUp( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_MEDIUM_HALF_LOOP + 27)), { 0, 0, height }, { { 0, 0, height }, { 32, 32, 0 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 14, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 14, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_MEDIUM_HALF_LOOP + 33)), { 0, 0, height }, { { 31, 0, height }, { 1, 32, 96 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 18, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 18, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_MEDIUM_HALF_LOOP + 40)), { 0, 0, height }, { { 29, 0, height }, { 1, 32, 96 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 16, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_MEDIUM_HALF_LOOP + 45)), { 0, 0, height }, { { 0, 0, height + 2 }, { 32, 32, 0 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 14, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 14, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -16796,28 +16796,28 @@ static void StandUpRCTrackLeftLargeHalfLoopUp( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_LARGE_HALF_LOOP + 0)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 7, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_LARGE_HALF_LOOP + 9)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 7, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_LARGE_HALF_LOOP + 18)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 7, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_LARGE_HALF_LOOP + 27)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 5, height, session.SupportColours); break; } if (direction == 0 || direction == 3) @@ -16836,7 +16836,7 @@ static void StandUpRCTrackLeftLargeHalfLoopUp( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_LARGE_HALF_LOOP + 1)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 12, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 12, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -16846,7 +16846,7 @@ static void StandUpRCTrackLeftLargeHalfLoopUp( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_LARGE_HALF_LOOP + 11)), { 0, 0, height }, { { 0, 6, height + 60 }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 9, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -16856,14 +16856,14 @@ static void StandUpRCTrackLeftLargeHalfLoopUp( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_LARGE_HALF_LOOP + 20)), { 0, 0, height }, { { 0, 6, height + 60 }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 5, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_LARGE_HALF_LOOP + 28)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -16921,28 +16921,28 @@ static void StandUpRCTrackLeftLargeHalfLoopUp( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_LARGE_HALF_LOOP + 4)), { 0, 0, height }, { { 0, 0, height + 2 }, { 32, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 20, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 20, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_LARGE_HALF_LOOP + 14)), { 0, 0, height }, { { 0, 0, height + 200 }, { 32, 16, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 19, height + 8, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 19, height + 8, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_LARGE_HALF_LOOP + 23)), { 0, 0, height }, { { 0, 16, height + 200 }, { 32, 16, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 27, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 27, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_LARGE_HALF_LOOP + 30)), { 0, 0, height }, { { 0, 16, height }, { 32, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 22, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 22, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -17083,28 +17083,28 @@ static void StandUpRCTrackRightLargeHalfLoopUp( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_LARGE_HALF_LOOP + 35)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 5, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_LARGE_HALF_LOOP + 43)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 7, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_LARGE_HALF_LOOP + 52)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 7, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_LARGE_HALF_LOOP + 61)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 7, height, session.SupportColours); break; } if (direction == 0 || direction == 3) @@ -17123,7 +17123,7 @@ static void StandUpRCTrackRightLargeHalfLoopUp( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_LARGE_HALF_LOOP + 36)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -17133,7 +17133,7 @@ static void StandUpRCTrackRightLargeHalfLoopUp( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_LARGE_HALF_LOOP + 45)), { 0, 0, height }, { { 0, 6, height + 60 }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 5, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -17143,14 +17143,14 @@ static void StandUpRCTrackRightLargeHalfLoopUp( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_LARGE_HALF_LOOP + 54)), { 0, 0, height }, { { 0, 6, height + 60 }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 9, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_LARGE_HALF_LOOP + 62)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 12, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 12, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -17208,28 +17208,28 @@ static void StandUpRCTrackRightLargeHalfLoopUp( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_LARGE_HALF_LOOP + 38)), { 0, 0, height }, { { 0, 16, height }, { 32, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 22, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 22, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_LARGE_HALF_LOOP + 48)), { 0, 0, height }, { { 0, 16, height + 200 }, { 32, 16, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 27, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 27, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_LARGE_HALF_LOOP + 57)), { 0, 0, height }, { { 0, 0, height + 200 }, { 32, 16, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 19, height + 8, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 19, height + 8, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_LARGE_HALF_LOOP + 65)), { 0, 0, height }, { { 0, 0, height + 2 }, { 32, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 20, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 20, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -17386,7 +17386,7 @@ static void StandUpRCTrackLeftBarrelRollUpToDown( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_BARREL_ROLL + 1)), { 0, 0, height }, { { 0, 6, height + 26 }, { 32, 20, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -17396,21 +17396,21 @@ static void StandUpRCTrackLeftBarrelRollUpToDown( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_BARREL_ROLL + 5)), { 0, 0, height }, { { 0, 6, height + 28 }, { 32, 20, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_BARREL_ROLL + 8)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_BARREL_ROLL + 13)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 12, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 12, height, session.SupportColours); break; } if (direction == 0 || direction == 3) @@ -17533,14 +17533,14 @@ static void StandUpRCTrackRightBarrelRollUpToDown( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_BARREL_ROLL + 18)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 12, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 12, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_BARREL_ROLL + 23)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -17550,7 +17550,7 @@ static void StandUpRCTrackRightBarrelRollUpToDown( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_BARREL_ROLL + 29)), { 0, 0, height }, { { 0, 6, height + 28 }, { 32, 20, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -17560,7 +17560,7 @@ static void StandUpRCTrackRightBarrelRollUpToDown( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_BARREL_ROLL + 33)), { 0, 0, height }, { { 0, 6, height + 24 }, { 32, 20, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); break; } if (direction == 0 || direction == 3) @@ -17702,7 +17702,7 @@ static void StandUpRCTrackLeftZeroGRollUp( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_ZERO_G_ROLL + 1)), { 0, 0, height }, { { 0, 6, height + 32 }, { 32, 20, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 2, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 2, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -17712,21 +17712,21 @@ static void StandUpRCTrackLeftZeroGRollUp( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_ZERO_G_ROLL + 5)), { 0, 0, height }, { { 0, 31, height }, { 40, 1, 32 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 4, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_ZERO_G_ROLL + 8)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_ZERO_G_ROLL + 13)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 16, height, session.SupportColours); break; } @@ -17826,7 +17826,7 @@ static void StandUpRCTrackLeftZeroGRollUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 36, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 36, session.SupportColours); PaintUtilSetGeneralSupportHeight(session, height + 40); break; } @@ -17846,14 +17846,14 @@ static void StandUpRCTrackRightZeroGRollUp( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_ZERO_G_ROLL + 18)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 16, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_ZERO_G_ROLL + 23)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -17863,7 +17863,7 @@ static void StandUpRCTrackRightZeroGRollUp( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_ZERO_G_ROLL + 29)), { 0, 0, height }, { { 0, 31, height }, { 40, 1, 32 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 4, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -17873,7 +17873,7 @@ static void StandUpRCTrackRightZeroGRollUp( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_ZERO_G_ROLL + 33)), { 0, 0, height }, { { 0, 6, height + 32 }, { 32, 20, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 2, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 2, height, session.SupportColours); break; } if (direction == 0 || direction == 3) @@ -17972,7 +17972,7 @@ static void StandUpRCTrackRightZeroGRollUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 36, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 36, session.SupportColours); PaintUtilSetGeneralSupportHeight(session, height + 40); break; } @@ -18006,14 +18006,14 @@ static void StandUpRCTrackLeftLargeZeroGRollUp( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_LARGE_ZERO_G_ROLL + 0)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 24, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 24, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_LARGE_ZERO_G_ROLL + 5)), { 0, 0, height }, { { 0, 30, height }, { 32, 0, 96 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 26, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 26, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -18023,14 +18023,14 @@ static void StandUpRCTrackLeftLargeZeroGRollUp( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_LARGE_ZERO_G_ROLL + 10)), { 0, 0, height }, { { 0, 30, height }, { 32, 0, 96 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 26, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 26, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_LARGE_ZERO_G_ROLL + 16)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 29, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 29, height, session.SupportColours); break; } if (direction == 0 || direction == 3) @@ -18128,14 +18128,14 @@ static void StandUpRCTrackLeftLargeZeroGRollUp( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_LARGE_ZERO_G_ROLL + 4)), { 0, 0, height }, { { 0, 26, height }, { 32, 0, 32 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 30, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 30, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_LARGE_ZERO_G_ROLL + 8)), { 0, 0, height }, { { 0, 26, height }, { 26, 0, 20 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 30, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 30, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -18145,14 +18145,14 @@ static void StandUpRCTrackLeftLargeZeroGRollUp( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_LARGE_ZERO_G_ROLL + 15)), { 0, 0, height }, { { 0, 6, height + 48 }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 30, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 30, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_LARGE_ZERO_G_ROLL + 20)), { 0, 0, height }, { { 0, 29, height }, { 32, 1, 40 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 32, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 32, session.SupportColours); break; } switch (direction) @@ -18183,7 +18183,7 @@ static void StandUpRCTrackRightLargeZeroGRollUp( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_LARGE_ZERO_G_ROLL + 21)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 29, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 29, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -18193,21 +18193,21 @@ static void StandUpRCTrackRightLargeZeroGRollUp( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_LARGE_ZERO_G_ROLL + 27)), { 0, 0, height }, { { 0, 30, height }, { 32, 0, 96 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 26, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 26, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_LARGE_ZERO_G_ROLL + 33)), { 0, 0, height }, { { 0, 30, height }, { 32, 0, 96 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 26, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 26, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_LARGE_ZERO_G_ROLL + 37)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 24, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 24, height, session.SupportColours); break; } if (direction == 0 || direction == 3) @@ -18306,7 +18306,7 @@ static void StandUpRCTrackRightLargeZeroGRollUp( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_LARGE_ZERO_G_ROLL + 25)), { 0, 0, height }, { { 0, 29, height }, { 32, 1, 40 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 32, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 32, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -18316,21 +18316,21 @@ static void StandUpRCTrackRightLargeZeroGRollUp( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_LARGE_ZERO_G_ROLL + 32)), { 0, 0, height }, { { 0, 6, height + 48 }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 30, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 30, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_LARGE_ZERO_G_ROLL + 36)), { 0, 0, height }, { { 0, 26, height }, { 26, 0, 20 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 30, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 30, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_STANDUP_TRACK_LARGE_ZERO_G_ROLL + 41)), { 0, 0, height }, { { 0, 26, height }, { 32, 0, 32 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 30, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 30, session.SupportColours); break; } switch (direction) diff --git a/src/openrct2/paint/track/coaster/Steeplechase.cpp b/src/openrct2/paint/track/coaster/Steeplechase.cpp index 04167e5a73..f5b079d8df 100644 --- a/src/openrct2/paint/track/coaster/Steeplechase.cpp +++ b/src/openrct2/paint/track/coaster/Steeplechase.cpp @@ -71,7 +71,7 @@ static void SteeplechaseTrackFlat( } } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height, session.SupportColours); PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight); @@ -97,7 +97,7 @@ static void SteeplechaseTrackStation( else { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height, session.SupportColours); } TrackPaintUtilDrawStationTunnel(session, direction, height); PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0); @@ -154,7 +154,7 @@ static void SteeplechaseTrack25DegUp( } } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 8, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -217,7 +217,7 @@ static void SteeplechaseTrackFlatTo25DegUp( } } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, direction == 0 ? 3 : 2, height, + session, supportType.metal, MetalSupportPlace::centre, direction, direction == 0 ? 3 : 2, height, session.SupportColours); if (direction == 0 || direction == 3) { @@ -281,7 +281,7 @@ static void SteeplechaseTrack25DegUpToFlat( } } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, direction <= 1 ? 6 : 5, height, + session, supportType.metal, MetalSupportPlace::centre, direction, direction <= 1 ? 6 : 5, height, session.SupportColours); if (direction == 0 || direction == 3) { @@ -333,25 +333,25 @@ static void SteeplechaseTrackLeftQuarterTurn5( PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(28698), { 0, 6, height }, { 32, 20, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 1, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 1, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(28703), { 0, 6, height }, { 32, 20, 3 }); MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 1, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 1, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(28708), { 0, 6, height }, { 32, 20, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height - 3, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height - 3, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(28693), { 0, 6, height }, { 32, 20, 3 }); MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height - 1, + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height - 1, session.SupportColours); break; } @@ -468,27 +468,27 @@ static void SteeplechaseTrackLeftQuarterTurn5( PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(28694), { 6, 0, height }, { 20, 32, 3 }); MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, DirectionPrev(direction), 0, height - 3, + session, supportType.metal, MetalSupportPlace::centre, DirectionPrev(direction), 0, height - 3, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(28699), { 6, 0, height }, { 20, 32, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(28704), { 6, 0, height }, { 20, 32, 3 }); MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, DirectionPrev(direction), 1, height, + session, supportType.metal, MetalSupportPlace::centre, DirectionPrev(direction), 1, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(28689), { 6, 0, height }, { 20, 32, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height - 2, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height - 2, session.SupportColours); break; } switch (direction) @@ -842,7 +842,7 @@ static void SteeplechaseTrackLeftQuarterTurn3( } constexpr uint8_t _specialValues[] = { 3, 1, 0, 0 }; MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, _specialValues[direction], height, + session, supportType.metal, MetalSupportPlace::centre, direction, _specialValues[direction], height, session.SupportColours); if (direction == 0 || direction == 3) @@ -913,7 +913,7 @@ static void SteeplechaseTrackLeftQuarterTurn3( constexpr uint8_t _specialValues[] = { 0, 1, 3, 0 }; constexpr int8_t _heightOffsets[] = { 0, 0, 0, -3 }; MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, DirectionPrev(direction), _specialValues[direction], + session, supportType.metal, MetalSupportPlace::centre, DirectionPrev(direction), _specialValues[direction], height + _heightOffsets[direction], session.SupportColours); switch (direction) @@ -965,7 +965,7 @@ static void SteeplechaseTrackBrakes( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height, session.SupportColours); PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); @@ -1004,7 +1004,7 @@ static void SteeplechaseTrackLeftEighthToDiag( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -1115,7 +1115,7 @@ static void SteeplechaseTrackLeftEighthToDiag( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::BottomCorner, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, direction, 0, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments( @@ -1161,7 +1161,7 @@ static void SteeplechaseTrackRightEighthToDiag( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -1273,7 +1273,7 @@ static void SteeplechaseTrackRightEighthToDiag( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 0, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments( @@ -1462,7 +1462,7 @@ static void SteeplechaseTrackDiag25DegUp( } } MetalBSupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 6, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments( @@ -1599,7 +1599,7 @@ static void SteeplechaseTrackDiagFlatTo25DegUp( } } MetalBSupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 0, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments( @@ -1736,7 +1736,7 @@ static void SteeplechaseTrackDiag25DegUpToFlat( } } MetalBSupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 4, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments( @@ -1873,7 +1873,7 @@ static void SteeplechaseTrackDiag25DegDown( } } MetalBSupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 6, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments( @@ -2007,7 +2007,7 @@ static void SteeplechaseTrackDiagFlatTo25DegDown( } } MetalBSupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 4, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments( @@ -2145,7 +2145,7 @@ static void SteeplechaseTrackDiag25DegDownToFlat( } } MetalBSupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 0, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments( @@ -2176,7 +2176,7 @@ static void SteeplechaseTrackBlockBrakes( break; } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height, session.SupportColours); PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight); diff --git a/src/openrct2/paint/track/coaster/SuspendedSwingingCoaster.cpp b/src/openrct2/paint/track/coaster/SuspendedSwingingCoaster.cpp index 5e166bef07..f6f015c989 100644 --- a/src/openrct2/paint/track/coaster/SuspendedSwingingCoaster.cpp +++ b/src/openrct2/paint/track/coaster/SuspendedSwingingCoaster.cpp @@ -75,7 +75,7 @@ static void SuspendedSwingingRCTrackFlat( PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height + 44, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height + 44, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -175,19 +175,19 @@ static void SuspendedSwingingRCTrack25DegUp( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 62, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 62, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 62, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 62, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 62, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 62, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 62, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 62, session.SupportColours); break; } } @@ -308,19 +308,19 @@ static void SuspendedSwingingRCTrackFlatTo25DegUp( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 54, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 54, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 54, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 54, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 54, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 54, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 54, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 54, session.SupportColours); break; } } @@ -459,19 +459,19 @@ static void SuspendedSwingingRCTrack60DegUpTo25DegUp( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 76, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 76, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 76, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 76, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 76, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 76, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 76, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 76, session.SupportColours); break; } } @@ -552,19 +552,19 @@ static void SuspendedSwingingRCTrack25DegUpToFlat( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 52, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 52, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 52, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 52, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 52, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 52, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 52, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 52, session.SupportColours); break; } } @@ -671,7 +671,7 @@ static void SuspendedSwingingRCTrackLeftQuarterTurn5( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 44, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 44, session.SupportColours); if (direction == 0 || direction == 3) { @@ -814,7 +814,7 @@ static void SuspendedSwingingRCTrackLeftQuarterTurn5( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 44, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 44, session.SupportColours); switch (direction) { @@ -877,7 +877,7 @@ static void SuspendedSwingingRCTrackLeftQuarterTurn525DegUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 54, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 54, session.SupportColours); if (direction == 0 || direction == 3) { @@ -1010,7 +1010,7 @@ static void SuspendedSwingingRCTrackLeftQuarterTurn525DegUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 54, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 54, session.SupportColours); switch (direction) { @@ -1063,7 +1063,7 @@ static void SuspendedSwingingRCTrackRightQuarterTurn525DegUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 54, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 54, session.SupportColours); if (direction == 0 || direction == 3) { @@ -1196,7 +1196,7 @@ static void SuspendedSwingingRCTrackRightQuarterTurn525DegUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 54, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 54, session.SupportColours); switch (direction) { @@ -1575,7 +1575,7 @@ static void SuspendedSwingingRCTrackLeftQuarterTurn3( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 44, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 44, session.SupportColours); if (direction == 0 || direction == 3) { @@ -1651,7 +1651,7 @@ static void SuspendedSwingingRCTrackLeftQuarterTurn3( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 44, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 44, session.SupportColours); switch (direction) { @@ -1714,7 +1714,7 @@ static void SuspendedSwingingRCTrackLeftQuarterTurn325DegUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 54, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 54, session.SupportColours); if (direction == 0 || direction == 3) { @@ -1758,7 +1758,7 @@ static void SuspendedSwingingRCTrackLeftQuarterTurn325DegUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 54, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 54, session.SupportColours); switch (direction) { @@ -1811,7 +1811,7 @@ static void SuspendedSwingingRCTrackRightQuarterTurn325DegUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 54, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 54, session.SupportColours); if (direction == 0 || direction == 3) { @@ -1855,7 +1855,7 @@ static void SuspendedSwingingRCTrackRightQuarterTurn325DegUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 54, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 54, session.SupportColours); switch (direction) { @@ -1915,7 +1915,7 @@ static void SuspendedSwingingRCTrackBrakes( PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height + 44, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height + 44, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -1963,7 +1963,7 @@ static void SuspendedSwingingRCTrackLeftQuarterHelixLargeUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 46, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 46, session.SupportColours); if (direction == 0 || direction == 3) { @@ -2111,7 +2111,7 @@ static void SuspendedSwingingRCTrackLeftQuarterHelixLargeUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 58, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 58, session.SupportColours); switch (direction) { @@ -2168,7 +2168,7 @@ static void SuspendedSwingingRCTrackRightQuarterHelixLargeUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 46, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 46, session.SupportColours); if (direction == 0 || direction == 3) { @@ -2316,7 +2316,7 @@ static void SuspendedSwingingRCTrackRightQuarterHelixLargeUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 58, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 58, session.SupportColours); switch (direction) { @@ -2373,7 +2373,7 @@ static void SuspendedSwingingRCTrackLeftQuarterHelixLargeDown( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 58, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 58, session.SupportColours); if (direction == 0 || direction == 3) { @@ -2521,7 +2521,7 @@ static void SuspendedSwingingRCTrackLeftQuarterHelixLargeDown( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 46, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 46, session.SupportColours); switch (direction) { @@ -2578,7 +2578,7 @@ static void SuspendedSwingingRCTrackRightQuarterHelixLargeDown( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 58, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 58, session.SupportColours); if (direction == 0 || direction == 3) { @@ -2726,7 +2726,7 @@ static void SuspendedSwingingRCTrackRightQuarterHelixLargeDown( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 46, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 46, session.SupportColours); switch (direction) { @@ -2782,7 +2782,7 @@ static void SuspendedSwingingRCTrackLeftEighthToDiag( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 44, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 44, session.SupportColours); if (direction == 0 || direction == 3) { @@ -2904,19 +2904,19 @@ static void SuspendedSwingingRCTrackLeftEighthToDiag( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + 44, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + 44, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 44, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 44, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 44, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 44, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 44, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 44, session.SupportColours); break; } @@ -2964,7 +2964,7 @@ static void SuspendedSwingingRCTrackRightEighthToDiag( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 44, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 44, session.SupportColours); if (direction == 0 || direction == 3) { @@ -3087,19 +3087,19 @@ static void SuspendedSwingingRCTrackRightEighthToDiag( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 44, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 44, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 44, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 44, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 44, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 44, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + 44, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + 44, session.SupportColours); break; } @@ -3142,7 +3142,7 @@ static void SuspendedSwingingRCTrackDiagFlat( if (trackSequence == 3) MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 0, height + 44, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 0, height + 44, session.SupportColours); PaintUtilSetGeneralSupportHeight(session, height + 48); } @@ -3282,19 +3282,19 @@ static void SuspendedSwingingRCTrackDiag25DegUp( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 56, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 56, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 56, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 56, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 56, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 56, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + 56, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + 56, session.SupportColours); break; } @@ -3382,19 +3382,19 @@ static void SuspendedSwingingRCTrackDiag60DegUp( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 32, height + 44, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 32, height + 44, session.SupportColours); break; case 1: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 36, height + 44, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 36, height + 44, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 32, height + 44, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 32, height + 44, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 36, height + 44, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 36, height + 44, session.SupportColours); break; } @@ -3538,19 +3538,19 @@ static void SuspendedSwingingRCTrackDiagFlatTo25DegUp( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 48, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 48, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 48, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 48, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 48, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 48, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + 48, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + 48, session.SupportColours); break; } @@ -3638,19 +3638,19 @@ static void SuspendedSwingingRCTrackDiag25DegUpTo60DegUp( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 16, height + 44, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 16, height + 44, session.SupportColours); break; case 1: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 16, height + 44, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 16, height + 44, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 16, height + 44, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 16, height + 44, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 16, height + 44, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 16, height + 44, session.SupportColours); break; } @@ -3738,19 +3738,19 @@ static void SuspendedSwingingRCTrackDiag60DegUpTo25DegUp( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 21, height + 44, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 21, height + 44, session.SupportColours); break; case 1: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 21, height + 44, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 21, height + 44, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 21, height + 44, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 21, height + 44, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 21, height + 44, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 21, height + 44, session.SupportColours); break; } @@ -3894,19 +3894,19 @@ static void SuspendedSwingingRCTrackDiag25DegUpToFlat( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 50, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 50, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 50, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 50, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 50, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 50, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + 50, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + 50, session.SupportColours); break; } @@ -4050,19 +4050,19 @@ static void SuspendedSwingingRCTrackDiag25DegDown( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 56, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 56, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 56, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 56, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 56, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 56, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + 56, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + 56, session.SupportColours); break; } @@ -4282,19 +4282,19 @@ static void SuspendedSwingingRCTrackDiagFlatTo25DegDown( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 50, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 50, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 50, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 50, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 50, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 50, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + 50, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + 50, session.SupportColours); break; } break; @@ -4382,19 +4382,19 @@ static void SuspendedSwingingRCTrackDiag25DegDownTo60DegDown( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 17, height + 44, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 17, height + 44, session.SupportColours); break; case 1: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 17, height + 44, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 17, height + 44, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 17, height + 44, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 17, height + 44, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 17, height + 44, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 17, height + 44, session.SupportColours); break; } @@ -4482,19 +4482,19 @@ static void SuspendedSwingingRCTrackDiag60DegDownTo25DegDown( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 8, height + 44, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 8, height + 44, session.SupportColours); break; case 1: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 8, height + 44, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 8, height + 44, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 8, height + 44, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 8, height + 44, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 8, height + 44, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 8, height + 44, session.SupportColours); break; } @@ -4638,19 +4638,19 @@ static void SuspendedSwingingRCTrackDiag25DegDownToFlat( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 48, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 48, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 48, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 48, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 48, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 48, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + 48, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + 48, session.SupportColours); break; } @@ -4683,7 +4683,7 @@ static void SuspendedSwingingRCTrackBlockBrakes( PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height + 44, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height + 44, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); diff --git a/src/openrct2/paint/track/coaster/TwisterRollerCoaster.cpp b/src/openrct2/paint/track/coaster/TwisterRollerCoaster.cpp index 83eb7461a3..cdaa53220d 100644 --- a/src/openrct2/paint/track/coaster/TwisterRollerCoaster.cpp +++ b/src/openrct2/paint/track/coaster/TwisterRollerCoaster.cpp @@ -80,7 +80,7 @@ static void TwisterRCTrackFlat( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); } } else @@ -98,7 +98,7 @@ static void TwisterRCTrackFlat( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); } } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -138,7 +138,7 @@ static void TwisterRCTrackStation( else if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height, session.SupportColours); } TrackPaintUtilDrawStationTunnel(session, direction, height); @@ -177,7 +177,7 @@ static void TwisterRCTrack25DegUp( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); } } else @@ -207,7 +207,7 @@ static void TwisterRCTrack25DegUp( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); } } if (direction == 0 || direction == 3) @@ -253,7 +253,7 @@ static void TwisterRCTrack60DegUp( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 32, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 32, height, session.SupportColours); } } else @@ -283,7 +283,7 @@ static void TwisterRCTrack60DegUp( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 32, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 32, height, session.SupportColours); } } if (direction == 0 || direction == 3) @@ -329,7 +329,7 @@ static void TwisterRCTrackFlatTo25DegUp( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); } } else @@ -359,7 +359,7 @@ static void TwisterRCTrackFlatTo25DegUp( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); } } if (direction == 0 || direction == 3) @@ -411,7 +411,7 @@ static void TwisterRCTrack25DegUpTo60DegUp( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 12, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 12, height, session.SupportColours); } } else @@ -447,7 +447,7 @@ static void TwisterRCTrack25DegUpTo60DegUp( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 12, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 12, height, session.SupportColours); } } if (direction == 0 || direction == 3) @@ -499,7 +499,7 @@ static void TwisterRCTrack60DegUpTo25DegUp( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 20, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 20, height, session.SupportColours); } } else @@ -535,7 +535,7 @@ static void TwisterRCTrack60DegUpTo25DegUp( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 20, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 20, height, session.SupportColours); } } if (direction == 0 || direction == 3) @@ -581,7 +581,7 @@ static void TwisterRCTrack25DegUpToFlat( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); } } else @@ -611,7 +611,7 @@ static void TwisterRCTrack25DegUpToFlat( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); } } if (direction == 0 || direction == 3) @@ -698,7 +698,7 @@ static void TwisterRCTrackLeftQuarterTurn5( { { 0, 6, height }, { 32, 20, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -841,7 +841,7 @@ static void TwisterRCTrackLeftQuarterTurn5( { { 6, 0, height }, { 20, 32, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); switch (direction) { case 2: @@ -905,7 +905,7 @@ static void TwisterRCTrackFlatToLeftBank( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); @@ -947,7 +947,7 @@ static void TwisterRCTrackFlatToRightBank( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); @@ -989,7 +989,7 @@ static void TwisterRCTrackLeftBankToFlat( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); @@ -1031,7 +1031,7 @@ static void TwisterRCTrackRightBankToFlat( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); @@ -1055,28 +1055,28 @@ static void TwisterRCTrackBankedLeftQuarterTurn5( session, direction, session.TrackColours.WithIndex(17290), { 0, 0, height }, { { 0, 27, height }, { 32, 1, 26 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17284), { 0, 0, height }, { { 0, 27, height }, { 32, 1, 26 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17289), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17274), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); break; } if (direction == 0 || direction == 3) @@ -1224,7 +1224,7 @@ static void TwisterRCTrackBankedLeftQuarterTurn5( { { 6, 0, height }, { 20, 32, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); switch (direction) { case 2: @@ -1288,7 +1288,7 @@ static void TwisterRCTrackLeftBankTo25DegUp( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -1337,7 +1337,7 @@ static void TwisterRCTrackRightBankTo25DegUp( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -1386,7 +1386,7 @@ static void TwisterRCTrack25DegUpToLeftBank( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -1435,7 +1435,7 @@ static void TwisterRCTrack25DegUpToRightBank( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -1506,7 +1506,7 @@ static void TwisterRCTrackLeftBank( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); @@ -1550,7 +1550,7 @@ static void TwisterRCTrackLeftQuarterTurn525DegUp( { { 0, 6, height }, { 32, 20, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -1688,7 +1688,7 @@ static void TwisterRCTrackLeftQuarterTurn525DegUp( { { 6, 0, height }, { 20, 32, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); switch (direction) { case 2: @@ -1739,7 +1739,7 @@ static void TwisterRCTrackRightQuarterTurn525DegUp( { { 0, 6, height }, { 32, 20, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -1877,7 +1877,7 @@ static void TwisterRCTrackRightQuarterTurn525DegUp( { { 6, 0, height }, { 20, 32, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); switch (direction) { case 0: @@ -2236,25 +2236,25 @@ static void TwisterRCTrackLeftVerticalLoop( PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17594), { 0, 6, height }, { 32, 20, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17602), { 0, 6, height }, { 32, 20, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17601), { 0, 6, height }, { 32, 20, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17609), { 0, 6, height }, { 32, 20, 7 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); break; } if (direction == 0 || direction == 3) @@ -2278,25 +2278,25 @@ static void TwisterRCTrackLeftVerticalLoop( PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17595), { 0, 0, height }, { 32, 26, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 20, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 20, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17603), { 0, 14, height }, { 32, 2, 63 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 11, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 11, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17600), { 0, 6, height }, { 32, 26, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 16, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17608), { 0, 6, height }, { 32, 26, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 10, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 10, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -2446,25 +2446,25 @@ static void TwisterRCTrackLeftVerticalLoop( PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17600), { 0, 6, height }, { 32, 26, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 16, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17608), { 0, 6, height }, { 32, 26, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 10, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 10, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17595), { 0, 0, height }, { 32, 26, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 20, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 20, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17603), { 0, 14, height }, { 32, 2, 63 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 11, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 11, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -2484,25 +2484,25 @@ static void TwisterRCTrackLeftVerticalLoop( PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17601), { 0, 6, height }, { 32, 20, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17609), { 0, 6, height }, { 32, 20, 7 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17594), { 0, 6, height }, { 32, 20, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17602), { 0, 6, height }, { 32, 20, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; } switch (direction) @@ -2553,7 +2553,7 @@ static void TwisterRCTrackRightVerticalLoop( session, direction, session.TrackColours.WithIndex(17610), { 0, 6, height }, { 32, 20, 3 }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -2567,25 +2567,25 @@ static void TwisterRCTrackRightVerticalLoop( PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17624), { 0, 6, height }, { 32, 26, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17616), { 0, 6, height }, { 32, 26, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 16, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17619), { 0, 14, height }, { 32, 2, 63 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 10, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 10, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17611), { 0, 0, height }, { 32, 26, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 20, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 20, height, session.SupportColours); break; } PaintUtilSetGeneralSupportHeight(session, height + 72); @@ -2699,25 +2699,25 @@ static void TwisterRCTrackRightVerticalLoop( PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17619), { 0, 14, height }, { 32, 2, 63 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 10, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 10, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17611), { 0, 0, height }, { 32, 26, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 20, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 20, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17624), { 0, 6, height }, { 32, 26, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17616), { 0, 6, height }, { 32, 26, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 16, height, session.SupportColours); break; } PaintUtilSetGeneralSupportHeight(session, height + 72); @@ -2742,7 +2742,7 @@ static void TwisterRCTrackRightVerticalLoop( session, direction, session.TrackColours.WithIndex(17617), { 0, 6, height }, { 32, 20, 3 }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); switch (direction) { case 1: @@ -2789,7 +2789,7 @@ static void TwisterRCTrackLeftQuarterTurn3( { { 0, 6, height }, { 32, 20, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -2861,7 +2861,7 @@ static void TwisterRCTrackLeftQuarterTurn3( { { 6, 0, height }, { 20, 32, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); switch (direction) { case 2: @@ -2923,7 +2923,7 @@ static void TwisterRCTrackLeftQuarterTurn3Bank( { { 0, 6, height }, { 32, 20, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -2998,7 +2998,7 @@ static void TwisterRCTrackLeftQuarterTurn3Bank( { { 6, 0, height }, { 20, 32, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); switch (direction) { case 2: @@ -3053,7 +3053,7 @@ static void TwisterRCTrackLeftQuarterTurn325DegUp( session, direction, session.TrackColours.WithIndex(17373), { 0, 6, height }, { 32, 20, 3 }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -3092,7 +3092,7 @@ static void TwisterRCTrackLeftQuarterTurn325DegUp( session, direction, session.TrackColours.WithIndex(17372), { 6, 0, height }, { 20, 32, 3 }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); switch (direction) { case 2: @@ -3139,7 +3139,7 @@ static void TwisterRCTrackRightQuarterTurn325DegUp( session, direction, session.TrackColours.WithIndex(17370), { 0, 6, height }, { 32, 20, 3 }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -3165,25 +3165,25 @@ static void TwisterRCTrackRightQuarterTurn325DegUp( PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17365), { 6, 0, height }, { 20, 32, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17367), { 6, 0, height }, { 20, 32, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17369), { 6, 0, height }, { 20, 32, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 10, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 10, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17371), { 6, 0, height }, { 20, 32, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; } switch (direction) @@ -3256,7 +3256,7 @@ static void TwisterRCTrackLeftHalfBankedHelixUpSmall( { { 0, 6, height }, { 32, 20, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 2, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 2, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -3333,7 +3333,7 @@ static void TwisterRCTrackLeftHalfBankedHelixUpSmall( { { 6, 0, height + 8 }, { 20, 32, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); switch (direction) { case 2: @@ -3380,7 +3380,7 @@ static void TwisterRCTrackLeftHalfBankedHelixUpSmall( { { 6, 0, height }, { 20, 32, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 2, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 2, height, session.SupportColours); switch (direction) { case 0: @@ -3463,7 +3463,7 @@ static void TwisterRCTrackLeftHalfBankedHelixUpSmall( { { 0, 27, height }, { 32, 1, 26 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height + 8, kTunnelGroup, TunnelSubType::Flat); @@ -3514,7 +3514,7 @@ static void TwisterRCTrackRightHalfBankedHelixUpSmall( { { 0, 27, height }, { 32, 1, 26 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 2, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 2, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -3592,7 +3592,7 @@ static void TwisterRCTrackRightHalfBankedHelixUpSmall( { { 6, 0, height }, { 20, 32, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); switch (direction) { case 0: @@ -3639,7 +3639,7 @@ static void TwisterRCTrackRightHalfBankedHelixUpSmall( { { 6, 0, height }, { 20, 32, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 2, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 2, height, session.SupportColours); switch (direction) { case 2: @@ -3721,7 +3721,7 @@ static void TwisterRCTrackRightHalfBankedHelixUpSmall( { { 0, 6, height + 8 }, { 32, 20, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height + 8, kTunnelGroup, TunnelSubType::Flat); @@ -3800,7 +3800,7 @@ static void TwisterRCTrackLeftHalfBankedHelixUpLarge( { { 0, 6, height }, { 32, 20, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 1, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 1, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -3948,7 +3948,7 @@ static void TwisterRCTrackLeftHalfBankedHelixUpLarge( { { 6, 0, height + 8 }, { 20, 32, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 7, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 7, height, session.SupportColours); switch (direction) { case 2: @@ -3995,7 +3995,7 @@ static void TwisterRCTrackLeftHalfBankedHelixUpLarge( { { 6, 0, height }, { 20, 32, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 1, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 1, height, session.SupportColours); switch (direction) { case 0: @@ -4148,7 +4148,7 @@ static void TwisterRCTrackLeftHalfBankedHelixUpLarge( { { 0, 27, height }, { 32, 1, 26 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 7, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 7, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height + 8, kTunnelGroup, TunnelSubType::Flat); @@ -4199,7 +4199,7 @@ static void TwisterRCTrackRightHalfBankedHelixUpLarge( { { 0, 27, height }, { 32, 1, 26 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 1, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 1, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -4328,7 +4328,7 @@ static void TwisterRCTrackRightHalfBankedHelixUpLarge( session, direction, session.TrackColours.WithIndex(17412), { 0, 0, height }, { { 6, 0, height + 8 }, { 20, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 7, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -4338,21 +4338,21 @@ static void TwisterRCTrackRightHalfBankedHelixUpLarge( session, direction, session.TrackColours.WithIndex(17428), { 0, 0, height }, { { 27, 0, height }, { 1, 32, 26 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17422), { 0, 0, height }, { { 27, 0, height }, { 1, 32, 26 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 7, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17427), { 0, 0, height }, { { 6, 0, height }, { 20, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 7, height, session.SupportColours); break; } switch (direction) @@ -4401,7 +4401,7 @@ static void TwisterRCTrackRightHalfBankedHelixUpLarge( { { 6, 0, height }, { 20, 32, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 1, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 1, height, session.SupportColours); switch (direction) { case 2: @@ -4538,28 +4538,28 @@ static void TwisterRCTrackRightHalfBankedHelixUpLarge( session, direction, session.TrackColours.WithIndex(17428), { 0, 0, height }, { { 0, 27, height }, { 32, 1, 26 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17422), { 0, 0, height }, { { 0, 27, height }, { 32, 1, 26 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 7, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17427), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 7, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17412), { 0, 0, height }, { { 0, 6, height + 8 }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 7, height, session.SupportColours); break; } if (direction == 0 || direction == 3) @@ -4733,7 +4733,7 @@ static void TwisterRCTrackBrakes( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); @@ -4769,7 +4769,7 @@ static void TwisterRCTrack25DegUpLeftBanked( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -4812,7 +4812,7 @@ static void TwisterRCTrack25DegUpRightBanked( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -5083,7 +5083,7 @@ static void TwisterRCTrackLeftEighthToDiag( { { 0, 6, height }, { 32, 20, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -5177,28 +5177,28 @@ static void TwisterRCTrackLeftEighthToDiag( session, direction, session.TrackColours.WithIndex(17549), { 0, 0, height }, { { 16, 16, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17553), { 0, 0, height }, { { 0, 16, height }, { 16, 18, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17557), { 0, 0, height }, { { 0, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17561), { 0, 0, height }, { { 16, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -5244,7 +5244,7 @@ static void TwisterRCTrackRightEighthToDiag( { { 0, 6, height }, { 32, 20, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -5339,28 +5339,28 @@ static void TwisterRCTrackRightEighthToDiag( session, direction, session.TrackColours.WithIndex(17533), { 0, 0, height }, { { 16, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17537), { 0, 0, height }, { { 0, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17541), { 0, 0, height }, { { 0, 16, height }, { 16, 18, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17545), { 0, 0, height }, { { 16, 16, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -5422,7 +5422,7 @@ static void TwisterRCTrackLeftEighthBankToDiag( { { 0, 6, height }, { 32, 20, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -5516,28 +5516,28 @@ static void TwisterRCTrackLeftEighthBankToDiag( session, direction, session.TrackColours.WithIndex(17581), { 0, 0, height }, { { 16, 16, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17585), { 0, 0, height }, { { 0, 16, height + 27 }, { 16, 18, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17589), { 0, 0, height }, { { 0, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17593), { 0, 0, height }, { { 16, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -5583,7 +5583,7 @@ static void TwisterRCTrackRightEighthBankToDiag( { { 0, 27, height }, { 32, 1, 26 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -5678,28 +5678,28 @@ static void TwisterRCTrackRightEighthBankToDiag( session, direction, session.TrackColours.WithIndex(17565), { 0, 0, height }, { { 16, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17569), { 0, 0, height }, { { 0, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17573), { 0, 0, height }, { { 0, 16, height + 27 }, { 16, 18, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17577), { 0, 0, height }, { { 16, 16, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -5851,22 +5851,22 @@ static void TwisterRCTrackDiag25DegUp( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 8, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17871), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 8, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 8, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 8, height, session.SupportColours); break; } } @@ -5876,22 +5876,22 @@ static void TwisterRCTrackDiag25DegUp( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 8, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17801), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 8, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 8, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 8, height, session.SupportColours); break; } } @@ -6013,22 +6013,22 @@ static void TwisterRCTrackDiag60DegUp( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 32, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 32, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17883), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 36, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 36, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 32, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 32, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 36, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 36, height, session.SupportColours); break; } } @@ -6038,22 +6038,22 @@ static void TwisterRCTrackDiag60DegUp( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 32, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 32, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17813), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 36, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 36, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 32, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 32, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 36, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 36, height, session.SupportColours); break; } } @@ -6175,22 +6175,22 @@ static void TwisterRCTrackDiagFlatTo25DegUp( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17863), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } } @@ -6200,22 +6200,22 @@ static void TwisterRCTrackDiagFlatTo25DegUp( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17793), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } } @@ -6337,22 +6337,22 @@ static void TwisterRCTrackDiag25DegUpTo60DegUp( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 16, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17875), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 16, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 16, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 16, height, session.SupportColours); break; } } @@ -6362,22 +6362,22 @@ static void TwisterRCTrackDiag25DegUpTo60DegUp( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 16, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17805), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 16, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 16, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 16, height, session.SupportColours); break; } } @@ -6499,22 +6499,22 @@ static void TwisterRCTrackDiag60DegUpTo25DegUp( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 21, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 21, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17879), { -16, -16, height }, { { 0, 0, height }, { 16, 16, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 21, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 21, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 21, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 21, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 21, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 21, height, session.SupportColours); break; } } @@ -6524,22 +6524,22 @@ static void TwisterRCTrackDiag60DegUpTo25DegUp( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 21, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 21, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17809), { -16, -16, height }, { { 0, 0, height }, { 16, 16, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 21, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 21, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 21, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 21, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 21, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 21, height, session.SupportColours); break; } } @@ -6661,22 +6661,22 @@ static void TwisterRCTrackDiag25DegUpToFlat( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 4, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17867), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 4, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 4, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 4, height, session.SupportColours); break; } } @@ -6686,22 +6686,22 @@ static void TwisterRCTrackDiag25DegUpToFlat( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 4, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17797), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 4, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 4, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 4, height, session.SupportColours); break; } } @@ -6823,22 +6823,22 @@ static void TwisterRCTrackDiag25DegDown( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 8, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17873), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 8, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 8, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 8, height, session.SupportColours); break; } } @@ -6848,22 +6848,22 @@ static void TwisterRCTrackDiag25DegDown( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 8, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17803), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 8, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 8, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 8, height, session.SupportColours); break; } } @@ -6985,22 +6985,22 @@ static void TwisterRCTrackDiag60DegDown( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 24, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 24, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17885), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 28, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 28, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 24, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 24, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 28, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 28, height, session.SupportColours); break; } } @@ -7010,22 +7010,22 @@ static void TwisterRCTrackDiag60DegDown( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 24, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 24, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17815), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 28, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 28, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 24, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 24, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 28, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 28, height, session.SupportColours); break; } } @@ -7144,22 +7144,22 @@ static void TwisterRCTrackDiagFlatTo25DegDown( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 4, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17869), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 4, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 4, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 4, height, session.SupportColours); break; } } @@ -7169,22 +7169,22 @@ static void TwisterRCTrackDiagFlatTo25DegDown( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 4, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17799), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 4, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 4, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 4, height, session.SupportColours); break; } } @@ -7307,22 +7307,22 @@ static void TwisterRCTrackDiag25DegDownTo60DegDown( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 17, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 17, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17881), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 17, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 17, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 17, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 17, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 17, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 17, height, session.SupportColours); break; } } @@ -7332,22 +7332,22 @@ static void TwisterRCTrackDiag25DegDownTo60DegDown( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 17, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 17, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17811), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 17, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 17, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 17, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 17, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 17, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 17, height, session.SupportColours); break; } } @@ -7469,22 +7469,22 @@ static void TwisterRCTrackDiag60DegDownTo25DegDown( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 8, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17877), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 8, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 8, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 8, height, session.SupportColours); break; } } @@ -7494,22 +7494,22 @@ static void TwisterRCTrackDiag60DegDownTo25DegDown( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 8, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17807), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 8, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 8, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 8, height, session.SupportColours); break; } } @@ -7631,22 +7631,22 @@ static void TwisterRCTrackDiag25DegDownToFlat( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17865), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } } @@ -7656,22 +7656,22 @@ static void TwisterRCTrackDiag25DegDownToFlat( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17795), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } } @@ -7793,22 +7793,22 @@ static void TwisterRCTrackDiagFlatTo60DegUp( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 5, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17887), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 4 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 5, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 5, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 5, height, session.SupportColours); break; } } @@ -7818,22 +7818,22 @@ static void TwisterRCTrackDiagFlatTo60DegUp( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 5, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17817), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 4 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 5, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 5, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 5, height, session.SupportColours); break; } } @@ -7955,22 +7955,22 @@ static void TwisterRCTrackDiag60DegUpToFlat( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 16, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17891), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 4 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 16, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 16, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 16, height, session.SupportColours); break; } } @@ -7980,22 +7980,22 @@ static void TwisterRCTrackDiag60DegUpToFlat( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 16, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17821), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 4 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 16, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 16, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 16, height, session.SupportColours); break; } } @@ -8117,22 +8117,22 @@ static void TwisterRCTrackDiagFlatTo60DegDown( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 16, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17893), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 4 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 16, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 16, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 16, height, session.SupportColours); break; } } @@ -8142,22 +8142,22 @@ static void TwisterRCTrackDiagFlatTo60DegDown( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 16, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17823), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 4 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 16, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 16, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 16, height, session.SupportColours); break; } } @@ -8279,22 +8279,22 @@ static void TwisterRCTrackDiag60DegDownToFlat( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 5, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17889), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 4 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 5, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 5, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 5, height, session.SupportColours); break; } } @@ -8304,22 +8304,22 @@ static void TwisterRCTrackDiag60DegDownToFlat( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 5, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17819), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 4 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 5, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 5, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 5, height, session.SupportColours); break; } } @@ -8400,22 +8400,22 @@ static void TwisterRCTrackDiagFlatToLeftBank( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17829), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -8495,22 +8495,22 @@ static void TwisterRCTrackDiagFlatToRightBank( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17834), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -8590,22 +8590,22 @@ static void TwisterRCTrackDiagLeftBankToFlat( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17836), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -8685,22 +8685,22 @@ static void TwisterRCTrackDiagRightBankToFlat( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17831), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -8780,22 +8780,22 @@ static void TwisterRCTrackDiagLeftBankTo25DegUp( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17849), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -8875,22 +8875,22 @@ static void TwisterRCTrackDiagRightBankTo25DegUp( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17854), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -8970,22 +8970,22 @@ static void TwisterRCTrackDiag25DegUpToLeftBank( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 4, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17839), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 4, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 4, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 4, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -9065,22 +9065,22 @@ static void TwisterRCTrackDiag25DegUpToRightBank( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 4, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17844), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 4, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 4, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 4, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -9157,22 +9157,22 @@ static void TwisterRCTrackDiagLeftBankTo25DegDown( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 4, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17846), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 4, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 4, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 4, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -9250,22 +9250,22 @@ static void TwisterRCTrackDiagRightBankTo25DegDown( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 4, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17841), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 4, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 4, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 4, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -9346,22 +9346,22 @@ static void TwisterRCTrackDiag25DegDownToLeftBank( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17856), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -9441,22 +9441,22 @@ static void TwisterRCTrackDiag25DegDownToRightBank( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17851), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -9533,22 +9533,22 @@ static void TwisterRCTrackDiagLeftBank( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17825), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -9625,22 +9625,22 @@ static void TwisterRCTrackDiagRightBank( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17827), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -9683,7 +9683,7 @@ static void TwisterRCTrackLeftBankToLeftQuarterTurn325DegUp( session, direction, session.TrackColours.WithIndex(17723), { 0, 6, height }, { 32, 20, 3 }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -9722,7 +9722,7 @@ static void TwisterRCTrackLeftBankToLeftQuarterTurn325DegUp( session, direction, session.TrackColours.WithIndex(17722), { 6, 0, height }, { 20, 32, 3 }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); switch (direction) { case 2: @@ -9772,7 +9772,7 @@ static void TwisterRCTrackRightBankToRightQuarterTurn325DegUp( session, direction, session.TrackColours.WithIndex(17720), { 0, 6, height }, { 32, 20, 3 }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -9798,25 +9798,25 @@ static void TwisterRCTrackRightBankToRightQuarterTurn325DegUp( PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17715), { 6, 0, height }, { 20, 32, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17717), { 6, 0, height }, { 20, 32, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17719), { 6, 0, height }, { 20, 32, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 2, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 2, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17721), { 6, 0, height }, { 20, 32, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); break; } switch (direction) @@ -9852,25 +9852,25 @@ static void TwisterRCTrackLeftQuarterTurn325DegDownToLeftBank( PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17717), { 0, 6, height }, { 32, 20, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17719), { 0, 6, height }, { 32, 20, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 2, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 2, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17721), { 0, 6, height }, { 32, 20, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17715), { 0, 6, height }, { 32, 20, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); break; } if (direction == 0 || direction == 3) @@ -9914,7 +9914,7 @@ static void TwisterRCTrackLeftQuarterTurn325DegDownToLeftBank( session, direction, session.TrackColours.WithIndex(17714), { 6, 0, height }, { 20, 32, 3 }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); switch (direction) { case 2: @@ -9961,7 +9961,7 @@ static void TwisterRCTrackRightQuarterTurn325DegDownToRightBank( session, direction, session.TrackColours.WithIndex(17728), { 0, 6, height }, { 32, 20, 3 }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::SlopeEnd); @@ -10003,7 +10003,7 @@ static void TwisterRCTrackRightQuarterTurn325DegDownToRightBank( session, direction, session.TrackColours.WithIndex(17729), { 6, 0, height }, { 20, 32, 3 }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); switch (direction) { case 0: @@ -10046,7 +10046,7 @@ static void TwisterRCTrackBlockBrakes( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); @@ -10080,7 +10080,7 @@ static void TwisterRCTrackLeftBankedQuarterTurn325DegUp( session, direction, session.TrackColours.WithIndex(18023), { 0, 6, height }, { 32, 20, 3 }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -10121,7 +10121,7 @@ static void TwisterRCTrackLeftBankedQuarterTurn325DegUp( session, direction, session.TrackColours.WithIndex(18022), { 6, 0, height }, { 20, 32, 3 }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); switch (direction) { case 2: @@ -10169,7 +10169,7 @@ static void TwisterRCTrackRightBankedQuarterTurn325DegUp( session, direction, session.TrackColours.WithIndex(18020), { 0, 6, height }, { 32, 20, 3 }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -10195,27 +10195,27 @@ static void TwisterRCTrackRightBankedQuarterTurn325DegUp( PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(18015), { 6, 0, height }, { 20, 32, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(18017), { 6, 0, height }, { { 27, 0, height }, { 1, 32, 34 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(18019), { 6, 0, height }, { { 27, 0, height }, { 1, 32, 34 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 10, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 10, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(18021), { 6, 0, height }, { 20, 32, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; } switch (direction) @@ -10286,7 +10286,7 @@ static void TwisterRCTrackLeftBankedQuarterTurn525DegUp( { { 0, 6, height }, { 32, 20, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -10427,7 +10427,7 @@ static void TwisterRCTrackLeftBankedQuarterTurn525DegUp( { { 6, 0, height }, { 20, 32, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); switch (direction) { case 2: @@ -10478,7 +10478,7 @@ static void TwisterRCTrackRightBankedQuarterTurn525DegUp( { { 0, 6, height }, { 32, 20, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -10619,7 +10619,7 @@ static void TwisterRCTrackRightBankedQuarterTurn525DegUp( { { 6, 0, height }, { 20, 32, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); switch (direction) { case 0: @@ -10690,7 +10690,7 @@ static void TwisterRCTrack25DegUpToLeftBanked25DegUp( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -10736,7 +10736,7 @@ static void TwisterRCTrack25DegUpToRightBanked25DegUp( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -10782,7 +10782,7 @@ static void TwisterRCTrackLeftBanked25DegUpTo25DegUp( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -10828,7 +10828,7 @@ static void TwisterRCTrackRightBanked25DegUpTo25DegUp( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -10903,7 +10903,7 @@ static void TwisterRCTrackLeftBankedFlatToLeftBanked25DegUp( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -10946,7 +10946,7 @@ static void TwisterRCTrackRightBankedFlatToRightBanked25DegUp( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -10989,7 +10989,7 @@ static void TwisterRCTrackLeftBanked25DegUpToLeftBankedFlat( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -11032,7 +11032,7 @@ static void TwisterRCTrackRightBanked25DegUpToRightBankedFlat( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -11110,7 +11110,7 @@ static void TwisterRCTrackFlatToLeftBanked25DegUp( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -11156,7 +11156,7 @@ static void TwisterRCTrackFlatToRightBanked25DegUp( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -11202,7 +11202,7 @@ static void TwisterRCTrackLeftBanked25DegUpToFlat( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -11248,7 +11248,7 @@ static void TwisterRCTrackRightBanked25DegUpToFlat( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -11435,7 +11435,7 @@ static void TwisterRCTrackFlatTo60DegUp( { { 0, 2, height }, { 32, 27, 4 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 1, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 1, height, session.SupportColours); } else { @@ -11468,7 +11468,7 @@ static void TwisterRCTrackFlatTo60DegUp( { { 0, 2, height }, { 32, 27, 4 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 1, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 1, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -11517,7 +11517,7 @@ static void TwisterRCTrack60DegUpToFlat( { { 0, 2, height }, { 32, 27, 4 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 16, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 16, height, session.SupportColours); } else { @@ -11550,7 +11550,7 @@ static void TwisterRCTrack60DegUpToFlat( { { 0, 2, height }, { 32, 27, 4 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 16, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 16, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -11611,7 +11611,7 @@ static void TwisterRCTrackBrakeForDrop( { { 0, 4, height }, { 32, 2, 43 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 16, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 16, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height + 24, kTunnelGroup, TunnelSubType::Flat); @@ -11651,7 +11651,7 @@ static void TwisterRCTrackHalfLoopUp( session, direction, session.TrackColours.WithIndex(17641), { 0, 6, height }, { 32, 20, 7 }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -11668,27 +11668,27 @@ static void TwisterRCTrackHalfLoopUp( session, direction, session.TrackColours.WithIndex(17627), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 20, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 20, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17635), { 0, 14, height }, { { 28, 6, height }, { 3, 20, 63 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 15, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 15, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17632), { 0, 6, height }, { { 28, 6, height }, { 3, 20, 63 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 16, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17640), { 0, 6, height }, { 32, 20, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 16, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0); @@ -11864,7 +11864,7 @@ static void TwisterRCTrackLeftCorkscrewUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 35, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 35, session.SupportColours); switch (direction) { @@ -11910,7 +11910,7 @@ static void TwisterRCTrackRightCorkscrewUp( { { 0, 6, height + 4 }, { 32, 20, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -11986,7 +11986,7 @@ static void TwisterRCTrackRightCorkscrewUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 35, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 35, session.SupportColours); switch (direction) { @@ -12049,7 +12049,7 @@ void TwisterRCTrackFlatTo60DegUpLongBase( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -12086,7 +12086,7 @@ void TwisterRCTrackFlatTo60DegUpLongBase( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 7, height, session.SupportColours); } PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); @@ -12119,7 +12119,7 @@ void TwisterRCTrackFlatTo60DegUpLongBase( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 9, height, session.SupportColours); } PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); @@ -12152,7 +12152,7 @@ void TwisterRCTrackFlatTo60DegUpLongBase( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 18, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 18, height, session.SupportColours); } switch (direction) { @@ -12204,7 +12204,7 @@ void TwisterRCTrack60DegUpToFlatLongBase( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 20, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 20, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -12241,7 +12241,7 @@ void TwisterRCTrack60DegUpToFlatLongBase( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 16, height, session.SupportColours); } PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); @@ -12274,7 +12274,7 @@ void TwisterRCTrack60DegUpToFlatLongBase( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 13, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 13, height, session.SupportColours); } PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); @@ -12307,7 +12307,7 @@ void TwisterRCTrack60DegUpToFlatLongBase( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 5, height, session.SupportColours); } switch (direction) { @@ -12358,7 +12358,7 @@ static void TwisterRCTrackLeftBarrelRollUpToDown( session, direction, session.TrackColours.WithIndex(17666), { 0, 0, height }, { { 0, 6, height + 28 }, { 32, 20, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 2, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 2, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -12368,7 +12368,7 @@ static void TwisterRCTrackLeftBarrelRollUpToDown( session, direction, session.TrackColours.WithIndex(17669), { 0, 0, height }, { { 0, 6, height + 28 }, { 32, 20, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 2, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 2, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -12378,7 +12378,7 @@ static void TwisterRCTrackLeftBarrelRollUpToDown( session, direction, session.TrackColours.WithIndex(17672), { 0, 0, height }, { { 0, 6, height + 28 }, { 32, 20, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 2, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 2, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -12388,7 +12388,7 @@ static void TwisterRCTrackLeftBarrelRollUpToDown( session, direction, session.TrackColours.WithIndex(17675), { 0, 0, height }, { { 0, 6, height + 28 }, { 32, 20, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 2, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 2, height, session.SupportColours); break; } if (direction == 0 || direction == 3) @@ -12526,7 +12526,7 @@ static void TwisterRCTrackRightBarrelRollUpToDown( session, direction, session.TrackColours.WithIndex(17678), { 0, 0, height }, { { 0, 6, height + 28 }, { 32, 20, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 2, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 2, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -12536,7 +12536,7 @@ static void TwisterRCTrackRightBarrelRollUpToDown( session, direction, session.TrackColours.WithIndex(17681), { 0, 0, height }, { { 0, 6, height + 28 }, { 32, 20, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 2, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 2, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -12546,7 +12546,7 @@ static void TwisterRCTrackRightBarrelRollUpToDown( session, direction, session.TrackColours.WithIndex(17684), { 0, 0, height }, { { 0, 6, height + 28 }, { 32, 20, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 2, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 2, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -12556,7 +12556,7 @@ static void TwisterRCTrackRightBarrelRollUpToDown( session, direction, session.TrackColours.WithIndex(17687), { 0, 0, height }, { { 0, 6, height + 28 }, { 32, 20, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 2, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 2, height, session.SupportColours); break; } if (direction == 0 || direction == 3) @@ -12720,7 +12720,7 @@ static void TwisterRCTrackPoweredLift( { { 0, 6, height }, { 32, 20, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -12763,7 +12763,7 @@ void TwisterRCTrackLeftLargeHalfLoopUp( { { 0, 6, height }, { 32, 20, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -12796,7 +12796,7 @@ void TwisterRCTrackLeftLargeHalfLoopUp( { { 0, 6, height }, { 32, 20, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 9, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 9, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); PaintUtilSetGeneralSupportHeight(session, height + 72); @@ -12843,28 +12843,28 @@ void TwisterRCTrackLeftLargeHalfLoopUp( session, direction, session.TrackColours.WithIndex(17735), { 0, 0, height }, { { 0, 0, height }, { 32, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 20, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 20, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17742), { 0, 0, height }, { { 0, 0, height + 200 }, { 32, 16, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 22, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 22, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17749), { 0, 0, height }, { { 0, 16, height + 200 }, { 32, 16, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 20, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 20, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17756), { 0, 0, height }, { { 0, 16, height }, { 32, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 20, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 20, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -13015,7 +13015,7 @@ void TwisterRCTrackRightLargeHalfLoopUp( { { 0, 6, height }, { 32, 20, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -13048,7 +13048,7 @@ void TwisterRCTrackRightLargeHalfLoopUp( { { 0, 6, height }, { 32, 20, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 9, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 9, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); PaintUtilSetGeneralSupportHeight(session, height + 72); @@ -13095,28 +13095,28 @@ void TwisterRCTrackRightLargeHalfLoopUp( session, direction, session.TrackColours.WithIndex(17784), { 0, 0, height }, { { 0, 16, height }, { 32, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 20, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 20, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17777), { 0, 0, height }, { { 0, 16, height + 200 }, { 32, 16, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 20, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 20, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17770), { 0, 0, height }, { { 0, 0, height + 200 }, { 32, 16, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 22, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 22, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17763), { 0, 0, height }, { { 0, 0, height }, { 32, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 20, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 20, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -13385,7 +13385,7 @@ void TwisterRCTrackBooster( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); @@ -13423,7 +13423,7 @@ static void TwisterRCTrackLeftTwistDownToUp( break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height - 5, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height - 5, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -13497,7 +13497,7 @@ static void TwisterRCTrackLeftTwistDownToUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 4, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 4, session.SupportColours); switch (direction) { @@ -13544,7 +13544,7 @@ static void TwisterRCTrackRightTwistDownToUp( break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height - 5, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height - 5, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -13618,7 +13618,7 @@ static void TwisterRCTrackRightTwistDownToUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 4, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 4, session.SupportColours); switch (direction) { @@ -13669,7 +13669,7 @@ static void TwisterRCTrackLeftTwistUpToDown( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 4, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 4, session.SupportColours); if (direction == 0 || direction == 3) { @@ -13732,7 +13732,7 @@ static void TwisterRCTrackLeftTwistUpToDown( break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height - 5, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height - 5, session.SupportColours); switch (direction) { case 1: @@ -13790,7 +13790,7 @@ static void TwisterRCTrackRightTwistUpToDown( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 4, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 4, session.SupportColours); if (direction == 0 || direction == 3) { @@ -13853,7 +13853,7 @@ static void TwisterRCTrackRightTwistUpToDown( break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height - 5, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height - 5, session.SupportColours); switch (direction) { case 1: @@ -13946,7 +13946,7 @@ static void TwisterRCTrackLeftFlyerTwistUp( break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height - 5, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height - 5, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -14023,7 +14023,7 @@ static void TwisterRCTrackLeftFlyerTwistUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 39, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 39, session.SupportColours); switch (direction) { @@ -14071,7 +14071,7 @@ static void TwisterRCTrackRightFlyerTwistUp( break; } MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height - 5, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height - 5, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -14146,7 +14146,7 @@ static void TwisterRCTrackRightFlyerTwistUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 39, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 39, session.SupportColours); switch (direction) { @@ -14189,7 +14189,7 @@ static void TwisterRCTrackFlyerHalfLoopUp( session, direction, session.TrackColours.WithIndex(17641), { 0, 6, height }, { 32, 20, 7 }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -14206,27 +14206,27 @@ static void TwisterRCTrackFlyerHalfLoopUp( session, direction, session.TrackColours.WithIndex(17627), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 20, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 20, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17635), { 0, 14, height }, { { 28, 6, height }, { 3, 20, 63 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 15, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 15, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17632), { 0, 6, height }, { { 28, 6, height }, { 3, 20, 63 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 16, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(17640), { 0, 6, height }, { 32, 20, 3 }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 16, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0); @@ -14325,7 +14325,7 @@ static void TwisterRCTrackLeftEighthToDiagUp25( { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -14419,28 +14419,28 @@ static void TwisterRCTrackLeftEighthToDiagUp25( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_GENTLE_LARGE_CURVE + 3)), { 0, 0, height }, { { 16, 16, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 2, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 2, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_GENTLE_LARGE_CURVE + 7)), { 0, 0, height }, { { 0, 16, height }, { 16, 18, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 3, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_GENTLE_LARGE_CURVE + 11)), { 0, 0, height }, { { 0, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 2, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 2, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_GENTLE_LARGE_CURVE + 15)), { 0, 0, height }, { { 16, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 1, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 1, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -14486,7 +14486,7 @@ static void TwisterRCTrackRightEighthToDiagUp25( { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -14581,28 +14581,28 @@ static void TwisterRCTrackRightEighthToDiagUp25( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_GENTLE_LARGE_CURVE + 19)), { 0, 0, height }, { { 16, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 1, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 1, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_GENTLE_LARGE_CURVE + 23)), { 0, 0, height }, { { 0, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 2, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 2, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_GENTLE_LARGE_CURVE + 27)), { 0, 0, height }, { { 0, 16, height }, { 16, 18, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 3, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_GENTLE_LARGE_CURVE + 31)), { 0, 0, height }, { { 16, 16, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 2, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 2, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -14632,28 +14632,28 @@ static void TwisterRCTrackLeftEighthToOrthogonalUp25( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_GENTLE_LARGE_CURVE + 32)), { 0, 0, height }, { { 0, 16, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 5, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_GENTLE_LARGE_CURVE + 36)), { 0, 0, height }, { { 16, 16, height }, { 16, 18, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 5, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_GENTLE_LARGE_CURVE + 40)), { 0, 0, height }, { { 16, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 3, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_GENTLE_LARGE_CURVE + 44)), { 0, 0, height }, { { 0, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 4, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -14767,7 +14767,7 @@ static void TwisterRCTrackLeftEighthToOrthogonalUp25( { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 4, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 4, height, session.SupportColours); if (direction == 1 || direction == 2) { @@ -14795,28 +14795,28 @@ static void TwisterRCTrackRightEighthToOrthogonalUp25( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_GENTLE_LARGE_CURVE + 48)), { 0, 0, height }, { { 0, 16, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 3, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_GENTLE_LARGE_CURVE + 52)), { 0, 0, height }, { { 16, 16, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 5, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_GENTLE_LARGE_CURVE + 56)), { 0, 0, height }, { { 16, 0, height }, { 16, 18, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 5, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_GENTLE_LARGE_CURVE + 60)), { 0, 0, height }, { { 0, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 4, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -14931,7 +14931,7 @@ static void TwisterRCTrackRightEighthToOrthogonalUp25( { 0, 0, height }, { { 6, 0, height }, { 20, 32, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 4, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 4, height, session.SupportColours); if (direction == 0 || direction == 1) { PaintUtilPushTunnelRotated(session, direction + 1, height + 8, kTunnelGroup, TunnelSubType::SlopeEnd); @@ -15048,22 +15048,22 @@ static void TwisterRCTrackDiagUp25ToLeftBankedUp25( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 5, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_GENTLE_LARGE_CURVE_BANKED + 2)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 10, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 10, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 10, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 10, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 10, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 10, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -15143,22 +15143,22 @@ static void TwisterRCTrackDiagUp25ToRightBankedUp25( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 10, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 10, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_GENTLE_LARGE_CURVE_BANKED + 6)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 10, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 10, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 5, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 10, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 10, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -15242,7 +15242,7 @@ static void TwisterRCTrackDiagLeftBankedUp25ToUp25( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 5, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -15250,15 +15250,15 @@ static void TwisterRCTrackDiagLeftBankedUp25ToUp25( session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_GENTLE_LARGE_CURVE_BANKED + 12)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 9, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 9, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 9, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -15342,7 +15342,7 @@ static void TwisterRCTrackDiagRightBankedUp25ToUp25( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 9, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -15350,15 +15350,15 @@ static void TwisterRCTrackDiagRightBankedUp25ToUp25( session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_GENTLE_LARGE_CURVE_BANKED + 16)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 9, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 5, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 9, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -15470,7 +15470,7 @@ static void TwisterRCTrackDiagLeftBankedFlatToLeftBankedUp25( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -15478,15 +15478,15 @@ static void TwisterRCTrackDiagLeftBankedFlatToLeftBankedUp25( session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_GENTLE_LARGE_CURVE_BANKED + 21)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 4, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 4, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 4, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -15566,7 +15566,7 @@ static void TwisterRCTrackDiagRightBankedFlatToRightBankedUp25( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 4, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -15574,15 +15574,15 @@ static void TwisterRCTrackDiagRightBankedFlatToRightBankedUp25( session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_GENTLE_LARGE_CURVE_BANKED + 25)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 4, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 4, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -15662,7 +15662,7 @@ static void TwisterRCTrackDiagLeftBankedUp25ToLeftBankedFlat( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 4, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -15670,15 +15670,15 @@ static void TwisterRCTrackDiagLeftBankedUp25ToLeftBankedFlat( session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_GENTLE_LARGE_CURVE_BANKED + 29)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 8, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 8, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 8, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -15758,7 +15758,7 @@ static void TwisterRCTrackDiagRightBankedUp25ToRightBankedFlat( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 8, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -15766,15 +15766,15 @@ static void TwisterRCTrackDiagRightBankedUp25ToRightBankedFlat( session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_GENTLE_LARGE_CURVE_BANKED + 33)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 8, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 4, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 8, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -15886,7 +15886,7 @@ static void TwisterRCTrackDiagUp25LeftBanked( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 6, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -15894,15 +15894,15 @@ static void TwisterRCTrackDiagUp25LeftBanked( session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_GENTLE_LARGE_CURVE_BANKED + 37)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 11, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 11, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 11, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 11, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 11, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 11, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -15982,7 +15982,7 @@ static void TwisterRCTrackDiagUp25RightBanked( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 11, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 11, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -15990,15 +15990,15 @@ static void TwisterRCTrackDiagUp25RightBanked( session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_GENTLE_LARGE_CURVE_BANKED + 41)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 11, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 11, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 6, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 11, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 11, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -16096,7 +16096,7 @@ static void TwisterRCTrackDiagFlatToLeftBankedUp25( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -16104,15 +16104,15 @@ static void TwisterRCTrackDiagFlatToLeftBankedUp25( session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_GENTLE_LARGE_CURVE_BANKED + 46)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 4, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 4, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 4, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -16196,7 +16196,7 @@ static void TwisterRCTrackDiagFlatToRightBankedUp25( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 4, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -16204,15 +16204,15 @@ static void TwisterRCTrackDiagFlatToRightBankedUp25( session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_GENTLE_LARGE_CURVE_BANKED + 50)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 4, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 4, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -16296,7 +16296,7 @@ static void TwisterRCTrackDiagLeftBankedUp25ToFlat( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 4, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -16304,15 +16304,15 @@ static void TwisterRCTrackDiagLeftBankedUp25ToFlat( session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_GENTLE_LARGE_CURVE_BANKED + 56)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 6, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 6, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 6, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -16396,7 +16396,7 @@ static void TwisterRCTrackDiagRightBankedUp25ToFlat( { case 0: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 6, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -16404,15 +16404,15 @@ static void TwisterRCTrackDiagRightBankedUp25ToFlat( session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_GENTLE_LARGE_CURVE_BANKED + 60)), { -16, -16, height }, { { -16, -16, height }, { 32, 32, 3 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 6, height, session.SupportColours); break; case 2: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 4, height, session.SupportColours); break; case 3: MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 6, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -16473,7 +16473,7 @@ static void TwisterRCTrackLeftEighthBankToDiagUp25( session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_GENTLE_LARGE_CURVE_BANKED + 64)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 3, height - 4, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 3, height - 4, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -16481,7 +16481,7 @@ static void TwisterRCTrackLeftEighthBankToDiagUp25( session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_GENTLE_LARGE_CURVE_BANKED + 68)), { 0, 0, height }, { { 0, 31, height }, { 32, 1, 32 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -16489,7 +16489,7 @@ static void TwisterRCTrackLeftEighthBankToDiagUp25( session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_GENTLE_LARGE_CURVE_BANKED + 72)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 9, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -16497,7 +16497,7 @@ static void TwisterRCTrackLeftEighthBankToDiagUp25( session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_GENTLE_LARGE_CURVE_BANKED + 76)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 12, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 12, height, session.SupportColours); break; } if (direction == 0 || direction == 3) @@ -16602,7 +16602,7 @@ static void TwisterRCTrackLeftEighthBankToDiagUp25( session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_GENTLE_LARGE_CURVE_BANKED + 67)), { 0, 0, height }, { { 16, 16, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 1, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 1, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -16610,7 +16610,7 @@ static void TwisterRCTrackLeftEighthBankToDiagUp25( session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_GENTLE_LARGE_CURVE_BANKED + 71)), { 0, 0, height }, { { 0, 0, height + 48 }, { 32, 32, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 4, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -16618,7 +16618,7 @@ static void TwisterRCTrackLeftEighthBankToDiagUp25( session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_GENTLE_LARGE_CURVE_BANKED + 75)), { 0, 0, height }, { { 0, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 7, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -16626,7 +16626,7 @@ static void TwisterRCTrackLeftEighthBankToDiagUp25( session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_GENTLE_LARGE_CURVE_BANKED + 79)), { 0, 0, height }, { { 16, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 7, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -16657,7 +16657,7 @@ static void TwisterRCTrackRightEighthBankToDiagUp25( session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_GENTLE_LARGE_CURVE_BANKED + 80)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 12, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 12, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -16665,7 +16665,7 @@ static void TwisterRCTrackRightEighthBankToDiagUp25( session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_GENTLE_LARGE_CURVE_BANKED + 84)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 9, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -16673,7 +16673,7 @@ static void TwisterRCTrackRightEighthBankToDiagUp25( session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_GENTLE_LARGE_CURVE_BANKED + 88)), { 0, 0, height }, { { 0, 31, height }, { 32, 1, 32 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -16681,7 +16681,7 @@ static void TwisterRCTrackRightEighthBankToDiagUp25( session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_GENTLE_LARGE_CURVE_BANKED + 92)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 3, height - 4, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 3, height - 4, session.SupportColours); break; } if (direction == 0 || direction == 3) @@ -16787,7 +16787,7 @@ static void TwisterRCTrackRightEighthBankToDiagUp25( session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_GENTLE_LARGE_CURVE_BANKED + 83)), { 0, 0, height }, { { 16, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 7, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -16795,7 +16795,7 @@ static void TwisterRCTrackRightEighthBankToDiagUp25( session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_GENTLE_LARGE_CURVE_BANKED + 87)), { 0, 0, height }, { { 0, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 7, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -16803,7 +16803,7 @@ static void TwisterRCTrackRightEighthBankToDiagUp25( session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_GENTLE_LARGE_CURVE_BANKED + 91)), { 0, 0, height }, { { 0, 0, height + 48 }, { 32, 32, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 4, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 4, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -16811,7 +16811,7 @@ static void TwisterRCTrackRightEighthBankToDiagUp25( session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_GENTLE_LARGE_CURVE_BANKED + 95)), { 0, 0, height }, { { 16, 16, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 1, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 1, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -16842,7 +16842,7 @@ static void TwisterRCTrackLeftEighthBankToOrthogonalUp25( session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_GENTLE_LARGE_CURVE_BANKED + 96)), { 0, 0, height }, { { 0, 0, height + 40 }, { 32, 32, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 5, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -16850,7 +16850,7 @@ static void TwisterRCTrackLeftEighthBankToOrthogonalUp25( session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_GENTLE_LARGE_CURVE_BANKED + 100)), { 0, 0, height }, { { 0, 0, height + 32 }, { 32, 32, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 7, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -16858,7 +16858,7 @@ static void TwisterRCTrackLeftEighthBankToOrthogonalUp25( session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_GENTLE_LARGE_CURVE_BANKED + 104)), { 0, 0, height }, { { 16, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 9, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -16866,7 +16866,7 @@ static void TwisterRCTrackLeftEighthBankToOrthogonalUp25( session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_GENTLE_LARGE_CURVE_BANKED + 108)), { 0, 0, height }, { { 0, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 8, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -16973,7 +16973,7 @@ static void TwisterRCTrackLeftEighthBankToOrthogonalUp25( session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_GENTLE_LARGE_CURVE_BANKED + 99)), { 0, 0, height }, { { 0, 31, height }, { 32, 1, 32 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -16981,7 +16981,7 @@ static void TwisterRCTrackLeftEighthBankToOrthogonalUp25( session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_GENTLE_LARGE_CURVE_BANKED + 103)), { 0, 0, height }, { { 0, 31, height }, { 32, 1, 32 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -16989,7 +16989,7 @@ static void TwisterRCTrackLeftEighthBankToOrthogonalUp25( session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_GENTLE_LARGE_CURVE_BANKED + 107)), { 0, 0, height }, { { 0, 0, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -16997,7 +16997,7 @@ static void TwisterRCTrackLeftEighthBankToOrthogonalUp25( session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_GENTLE_LARGE_CURVE_BANKED + 111)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 9, height, session.SupportColours); break; } if (direction == 1 || direction == 2) @@ -17026,7 +17026,7 @@ static void TwisterRCTrackRightEighthBankToOrthogonalUp25( session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_GENTLE_LARGE_CURVE_BANKED + 112)), { 0, 0, height }, { { 0, 16, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 9, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -17034,7 +17034,7 @@ static void TwisterRCTrackRightEighthBankToOrthogonalUp25( session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_GENTLE_LARGE_CURVE_BANKED + 116)), { 0, 0, height }, { { 0, 0, height + 32 }, { 32, 32, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 7, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 7, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -17042,7 +17042,7 @@ static void TwisterRCTrackRightEighthBankToOrthogonalUp25( session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_GENTLE_LARGE_CURVE_BANKED + 120)), { 0, 0, height }, { { 0, 0, height + 40 }, { 32, 32, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 5, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -17050,7 +17050,7 @@ static void TwisterRCTrackRightEighthBankToOrthogonalUp25( session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_GENTLE_LARGE_CURVE_BANKED + 124)), { 0, 0, height }, { { 0, 0, height }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 8, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -17158,7 +17158,7 @@ static void TwisterRCTrackRightEighthBankToOrthogonalUp25( session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_GENTLE_LARGE_CURVE_BANKED + 115)), { 0, 0, height }, { { 6, 0, height }, { 20, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -17166,7 +17166,7 @@ static void TwisterRCTrackRightEighthBankToOrthogonalUp25( session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_GENTLE_LARGE_CURVE_BANKED + 119)), { 0, 0, height }, { { 31, 0, height }, { 1, 32, 32 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -17174,7 +17174,7 @@ static void TwisterRCTrackRightEighthBankToOrthogonalUp25( session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_GENTLE_LARGE_CURVE_BANKED + 123)), { 0, 0, height }, { { 31, 0, height }, { 1, 32, 32 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -17182,7 +17182,7 @@ static void TwisterRCTrackRightEighthBankToOrthogonalUp25( session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_GENTLE_LARGE_CURVE_BANKED + 127)), { 0, 0, height }, { { 6, 0, height }, { 20, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 9, height, session.SupportColours); break; } if (direction == 0 || direction == 1) @@ -17268,7 +17268,7 @@ static void TwisterRCTrackLeftLargeCorkscrewUp( break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); if (direction == 0 || direction == 3) { @@ -17292,28 +17292,28 @@ static void TwisterRCTrackLeftLargeCorkscrewUp( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_LARGE_CORKSCREW + 1)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 21, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 21, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_LARGE_CORKSCREW + 6)), { 0, 0, height }, { { 0, 6, height + 48 }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 19, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 19, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_LARGE_CORKSCREW + 11)), { 0, 0, height }, { { 0, 6, height }, { 30, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 20, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 20, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_LARGE_CORKSCREW + 16)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 16, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -17377,28 +17377,28 @@ static void TwisterRCTrackLeftLargeCorkscrewUp( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_LARGE_CORKSCREW + 3)), { 0, 0, height }, { { 2, 2, height + 50 }, { 28, 28, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 63, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 63, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_LARGE_CORKSCREW + 8)), { 0, 0, height }, { { 2, 2, height + 50 }, { 28, 28, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 63, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 63, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_LARGE_CORKSCREW + 13)), { 0, 0, height }, { { 2, 2, height + 50 }, { 24, 28, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 63, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 63, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_LARGE_CORKSCREW + 18)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 63, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 63, session.SupportColours); break; } @@ -17482,7 +17482,7 @@ static void TwisterRCTrackRightLargeCorkscrewUp( break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); if (direction == 0 || direction == 3) { @@ -17506,28 +17506,28 @@ static void TwisterRCTrackRightLargeCorkscrewUp( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_LARGE_CORKSCREW + 21)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 16, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_LARGE_CORKSCREW + 26)), { 0, 0, height }, { { 0, 6, height }, { 30, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 20, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 20, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_LARGE_CORKSCREW + 31)), { 0, 0, height }, { { 0, 6, height + 48 }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 19, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 19, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_LARGE_CORKSCREW + 36)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 21, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 21, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -17592,28 +17592,28 @@ static void TwisterRCTrackRightLargeCorkscrewUp( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_LARGE_CORKSCREW + 23)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 63, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 63, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_LARGE_CORKSCREW + 28)), { 0, 0, height }, { { 2, 2, height + 50 }, { 24, 28, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 63, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 63, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_LARGE_CORKSCREW + 33)), { 0, 0, height }, { { 2, 2, height + 50 }, { 28, 28, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 63, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 63, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_LARGE_CORKSCREW + 38)), { 0, 0, height }, { { 2, 2, height + 50 }, { 28, 28, 0 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 63, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 63, session.SupportColours); break; } PaintUtilSetGeneralSupportHeight(session, height + 64); @@ -17712,7 +17712,7 @@ static void TwisterRCTrackLeftMediumHalfLoopUp( break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 7, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 7, height, session.SupportColours); if (direction == 0 || direction == 3) { @@ -17771,28 +17771,28 @@ static void TwisterRCTrackLeftMediumHalfLoopUp( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_MEDIUM_HALF_LOOP + 2)), { 0, 0, height }, { { 0, 0, height + 2 }, { 32, 32, 0 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 14, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 14, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_MEDIUM_HALF_LOOP + 7)), { 0, 0, height }, { { 29, 0, height }, { 1, 32, 96 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 16, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_MEDIUM_HALF_LOOP + 12)), { 0, 0, height }, { { 31, 0, height }, { 1, 32, 96 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 18, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 18, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_MEDIUM_HALF_LOOP + 17)), { 0, 0, height }, { { 0, 0, height }, { 32, 32, 0 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 14, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 14, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -17910,7 +17910,7 @@ static void TwisterRCTrackRightMediumHalfLoopUp( break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 7, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 7, height, session.SupportColours); if (direction == 0 || direction == 3) { @@ -17969,28 +17969,28 @@ static void TwisterRCTrackRightMediumHalfLoopUp( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_MEDIUM_HALF_LOOP + 22)), { 0, 0, height }, { { 0, 0, height }, { 32, 32, 0 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 14, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 14, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_MEDIUM_HALF_LOOP + 27)), { 0, 0, height }, { { 30, 16, height }, { 0, 32, 96 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 18, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 18, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_MEDIUM_HALF_LOOP + 32)), { 0, 0, height }, { { 29, 0, height }, { 0, 32, 96 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 16, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 16, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_MEDIUM_HALF_LOOP + 37)), { 0, 0, height }, { { 0, 0, height + 2 }, { 32, 32, 0 } }); MetalBSupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 14, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 14, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -18108,7 +18108,7 @@ static void TwisterRCTrackLeftZeroGRollUp( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_ZERO_G_ROLL + 1)), { 0, 0, height }, { { 0, 6, height + 32 }, { 32, 20, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -18118,21 +18118,21 @@ static void TwisterRCTrackLeftZeroGRollUp( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_ZERO_G_ROLL + 5)), { 0, 0, height }, { { 0, 31, height }, { 40, 1, 32 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_ZERO_G_ROLL + 8)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 5, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_ZERO_G_ROLL + 12)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 14, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 14, height, session.SupportColours); break; } @@ -18226,7 +18226,7 @@ static void TwisterRCTrackLeftZeroGRollUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 42, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 42, session.SupportColours); PaintUtilSetGeneralSupportHeight(session, height + 40); break; } @@ -18246,14 +18246,14 @@ static void TwisterRCTrackRightZeroGRollUp( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_ZERO_G_ROLL + 16)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 14, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 14, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_ZERO_G_ROLL + 20)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 5, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 5, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -18263,7 +18263,7 @@ static void TwisterRCTrackRightZeroGRollUp( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_ZERO_G_ROLL + 25)), { 0, 0, height }, { { 0, 31, height }, { 40, 1, 32 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( @@ -18273,7 +18273,7 @@ static void TwisterRCTrackRightZeroGRollUp( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_ZERO_G_ROLL + 29)), { 0, 0, height }, { { 0, 6, height + 32 }, { 32, 20, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); break; } if (direction == 0 || direction == 3) @@ -18366,7 +18366,7 @@ static void TwisterRCTrackRightZeroGRollUp( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 42, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 42, session.SupportColours); PaintUtilSetGeneralSupportHeight(session, height + 40); break; } @@ -18419,7 +18419,7 @@ static void TwisterRCTrackLeftLargeZeroGRollUp( { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 21, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 21, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -18512,14 +18512,14 @@ static void TwisterRCTrackLeftLargeZeroGRollUp( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_LARGE_ZERO_G_ROLL + 4)), { 0, 0, height }, { { 0, 26, height }, { 32, 0, 32 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 25, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 25, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_LARGE_ZERO_G_ROLL + 8)), { 0, 0, height }, { { 0, 26, height }, { 32, 0, 20 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 32, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 32, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -18529,14 +18529,14 @@ static void TwisterRCTrackLeftLargeZeroGRollUp( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_LARGE_ZERO_G_ROLL + 14)), { 0, 0, height }, { { 0, 6, height + 40 }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 36, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 36, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_LARGE_ZERO_G_ROLL + 19)), { 0, 0, height }, { { 0, 18, height }, { 32, 1, 30 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 37, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 37, session.SupportColours); break; } switch (direction) @@ -18586,7 +18586,7 @@ static void TwisterRCTrackRightLargeZeroGRollUp( { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 21, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 21, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -18680,7 +18680,7 @@ static void TwisterRCTrackRightLargeZeroGRollUp( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_LARGE_ZERO_G_ROLL + 24)), { 0, 0, height }, { { 0, 18, height }, { 32, 1, 30 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 37, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 37, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -18690,21 +18690,21 @@ static void TwisterRCTrackRightLargeZeroGRollUp( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_LARGE_ZERO_G_ROLL + 30)), { 0, 0, height }, { { 0, 6, height + 40 }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 36, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 36, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_LARGE_ZERO_G_ROLL + 34)), { 0, 0, height }, { { 0, 26, height }, { 32, 0, 20 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 32, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 32, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_LARGE_ZERO_G_ROLL + 39)), { 0, 0, height }, { { 0, 26, height }, { 40, 0, 32 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 25, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 25, session.SupportColours); break; } switch (direction) @@ -18800,25 +18800,25 @@ static void TwisterRCTrackDiagFlatTo60DegUpLongBase( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 0, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_FLAT_TO_STEEP_DIAGONAL + 3)), { -16, -16, height }, { { -16, -16, height + 0 }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 0, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 0, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_FLAT_TO_STEEP_DIAGONAL + 10)), { -16, -16, height }, { { -20, -20, height + 8 }, { 24, 24, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + 0, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -18871,25 +18871,25 @@ static void TwisterRCTrackDiagFlatTo60DegUpLongBase( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 11, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 11, height + 0, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_FLAT_TO_STEEP_DIAGONAL + 4)), { -16, -16, height }, { { -16, -16, height + 0 }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 11, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 11, height + 0, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 11, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 11, height + 0, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_FLAT_TO_STEEP_DIAGONAL + 11)), { -16, -16, height }, { { -16, -16, height + 32 }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 11, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 11, height + 0, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -18942,22 +18942,22 @@ static void TwisterRCTrackDiagFlatTo60DegUpLongBase( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 19, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 19, height + 0, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_FLAT_TO_STEEP_DIAGONAL + 5)), { -16, -16, height }, { { -16, -16, height + 80 }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 19, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 19, height + 0, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 19, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 19, height + 0, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 19, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 19, height + 0, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -19034,25 +19034,25 @@ static void TwisterRCTrackDiag60DegUpToFlatLongBase( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 28, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 28, height + 0, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_FLAT_TO_STEEP_DIAGONAL + 15)), { -16, -16, height }, { { -16, -16, height + 0 }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 28, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 28, height + 0, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 28, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 28, height + 0, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_FLAT_TO_STEEP_DIAGONAL + 22)), { -16, -16, height }, { { -8, -8, height + 56 }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 28, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 28, height + 0, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -19105,25 +19105,25 @@ static void TwisterRCTrackDiag60DegUpToFlatLongBase( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 10, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 10, height + 0, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_FLAT_TO_STEEP_DIAGONAL + 16)), { -16, -16, height }, { { -16, -16, height + 0 }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 10, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 10, height + 0, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 10, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 10, height + 0, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_FLAT_TO_STEEP_DIAGONAL + 23)), { -16, -16, height }, { { -16, -16, height + 24 }, { 24, 24, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 10, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 10, height + 0, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -19176,22 +19176,22 @@ static void TwisterRCTrackDiag60DegUpToFlatLongBase( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 3, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 3, height + 0, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_FLAT_TO_STEEP_DIAGONAL + 17)), { -16, -16, height }, { { -16, -16, height + 0 }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 3, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 3, height + 0, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 3, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 3, height + 0, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 3, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 3, height + 0, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -19268,25 +19268,25 @@ static void TwisterRCTrackDiagFlatTo60DegDownLongBase( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 24, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 24, height + 0, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_FLAT_TO_STEEP_DIAGONAL + 23)), { -16, -16, height }, { { -16, -16, height + 24 }, { 24, 24, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 24, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 24, height + 0, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 24, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 24, height + 0, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_FLAT_TO_STEEP_DIAGONAL + 16)), { -16, -16, height }, { { -16, -16, height + 0 }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 24, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 24, height + 0, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -19339,25 +19339,25 @@ static void TwisterRCTrackDiagFlatTo60DegDownLongBase( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 58, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 58, height + 0, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_FLAT_TO_STEEP_DIAGONAL + 22)), { -16, -16, height }, { { -8, -8, height + 56 }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 58, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 58, height + 0, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 58, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 58, height + 0, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_FLAT_TO_STEEP_DIAGONAL + 15)), { -16, -16, height }, { { -16, -16, height + 0 }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 58, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 58, height + 0, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -19410,22 +19410,22 @@ static void TwisterRCTrackDiagFlatTo60DegDownLongBase( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 14, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 14, height + 0, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_FLAT_TO_STEEP_DIAGONAL + 21)), { -16, -16, height }, { { -8, -8, height + 0 }, { 16, 16, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 14, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 14, height + 0, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 14, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 14, height + 0, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 14, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 14, height + 0, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -19502,25 +19502,25 @@ static void TwisterRCTrackDiag60DegDownToFlatLongBase( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 38, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 38, height + 0, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_FLAT_TO_STEEP_DIAGONAL + 11)), { -16, -16, height }, { { -16, -16, height + 32 }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 38, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 38, height + 0, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 38, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 38, height + 0, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_FLAT_TO_STEEP_DIAGONAL + 4)), { -16, -16, height }, { { -16, -16, height + 0 }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 38, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 38, height + 0, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -19573,25 +19573,25 @@ static void TwisterRCTrackDiag60DegDownToFlatLongBase( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 12, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 12, height + 0, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_FLAT_TO_STEEP_DIAGONAL + 10)), { -16, -16, height }, { { -8, -8, height + 8 }, { 24, 24, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 12, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 12, height + 0, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 12, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 12, height + 0, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_FLAT_TO_STEEP_DIAGONAL + 3)), { -16, -16, height }, { { -16, -16, height + 0 }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 12, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 12, height + 0, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -19644,22 +19644,22 @@ static void TwisterRCTrackDiag60DegDownToFlatLongBase( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 0, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_FLAT_TO_STEEP_DIAGONAL + 9)), { -16, -16, height }, { { -16, -16, height + 0 }, { 32, 32, 3 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 0, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 0, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + 0, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + 0, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -19744,28 +19744,28 @@ static void TwisterRCTrackLeftEighthDiveLoopUpToOrthogonal( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_DIVE_LOOP + 1)), { -16, -16, height }, { { 0, 31, height + 0 }, { 32, 1, 64 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 4, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 4, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_DIVE_LOOP + 5)), { -16, -16, height }, { { 0, 31, height + 0 }, { 32, 1, 64 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 4, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 4, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_DIVE_LOOP + 9)), { -16, -16, height }, { { 2, 2, height + 4 }, { 28, 28, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 4, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 4, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_DIVE_LOOP + 13)), { -16, -16, height }, { { 2, 2, height + 12 }, { 28, 28, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + 4, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + 4, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -19828,28 +19828,28 @@ static void TwisterRCTrackLeftEighthDiveLoopUpToOrthogonal( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_DIVE_LOOP + 3)), { -16, -16, height }, { { 0, 6, height + 32 }, { 32, 20, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 41, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 41, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_DIVE_LOOP + 7)), { -16, -16, height }, { { 0, 6, height + 32 }, { 32, 20, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 41, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 41, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_DIVE_LOOP + 11)), { -16, -16, height }, { { 0, 6, height + 32 }, { 32, 20, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 41, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 41, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_DIVE_LOOP + 15)), { -16, -16, height }, { { 0, 6, height + 32 }, { 32, 20, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 41, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 41, session.SupportColours); break; } PaintUtilSetGeneralSupportHeight(session, height + 56); @@ -19928,28 +19928,28 @@ static void TwisterRCTrackRightEighthDiveLoopUpToOrthogonal( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_DIVE_LOOP + 17)), { -16, -16, height }, { { 2, 2, height + 4 }, { 28, 28, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 4, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 4, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_DIVE_LOOP + 21)), { -16, -16, height }, { { 31, 0, height + 0 }, { 1, 32, 64 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 4, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 4, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_DIVE_LOOP + 25)), { -16, -16, height }, { { 31, 0, height + 0 }, { 1, 32, 64 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 4, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 4, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_DIVE_LOOP + 29)), { -16, -16, height }, { { 2, 2, height + 12 }, { 28, 28, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + 4, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + 4, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -20012,28 +20012,28 @@ static void TwisterRCTrackRightEighthDiveLoopUpToOrthogonal( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_DIVE_LOOP + 19)), { -16, -16, height }, { { 6, 0, height + 32 }, { 20, 32, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 41, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 41, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_DIVE_LOOP + 23)), { -16, -16, height }, { { 6, 0, height + 32 }, { 20, 32, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 41, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 41, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_DIVE_LOOP + 27)), { -16, -16, height }, { { 6, 0, height + 32 }, { 20, 32, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 41, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 41, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_BM_TRACK_DIVE_LOOP + 31)), { -16, -16, height }, { { 6, 0, height + 32 }, { 20, 32, 1 } }); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 41, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 41, session.SupportColours); break; } PaintUtilSetGeneralSupportHeight(session, height + 56); diff --git a/src/openrct2/paint/track/coaster/WildMouse.cpp b/src/openrct2/paint/track/coaster/WildMouse.cpp index 5257c8bced..26291e6e99 100644 --- a/src/openrct2/paint/track/coaster/WildMouse.cpp +++ b/src/openrct2/paint/track/coaster/WildMouse.cpp @@ -188,7 +188,7 @@ static void WildMouseTrackFlat( PaintAddImageAsParentRotated(session, direction, imageId, { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, -1, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, -1, height, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); @@ -220,7 +220,7 @@ static void WildMouseTrackStation( else if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, -1, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, -1, height, session.SupportColours); } TrackPaintUtilDrawStationTunnel(session, direction, height); PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0); @@ -244,7 +244,7 @@ static void WildMouseTrack25DegUp( PaintAddImageAsParentRotated(session, direction, imageId, { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, -9, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, -9, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -285,11 +285,11 @@ static void WildMouseTrack60DegUp( if (direction == 0 || direction == 3) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, -33, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, -33, height, session.SupportColours); } else { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 32, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 32, height, session.SupportColours); } } if (direction == 0 || direction == 3) @@ -321,7 +321,7 @@ static void WildMouseTrackFlatTo25DegUp( PaintAddImageAsParentRotated(session, direction, imageId, { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, -4, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, -4, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -367,7 +367,7 @@ static void WildMouseTrack25DegUpTo60DegUp( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, -13, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, -13, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -413,7 +413,7 @@ static void WildMouseTrack60DegUpTo25DegUp( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, -21, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, -21, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -444,7 +444,7 @@ static void WildMouseTrack25DegUpToFlat( PaintAddImageAsParentRotated(session, direction, imageId, { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, -7, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, -7, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -540,7 +540,7 @@ static void WildMouseTrackRightQuarterTurn3( { case 0: case 3: - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, -1, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, -1, height, session.SupportColours); break; } @@ -604,7 +604,7 @@ static void WildMouseTrackRightQuarterTurn325DegDown( { case 0: case 3: - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, -9, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, -9, height, session.SupportColours); break; } @@ -673,18 +673,18 @@ static void WildMouseTrackRightQuarterTurn325DegUp( switch (trackSequence) { case 0: - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, -9, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, -9, height, session.SupportColours); break; case 3: if (direction == 2) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, -11, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, -11, height, session.SupportColours); } else { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, -9, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, -9, height, session.SupportColours); } break; } @@ -751,7 +751,7 @@ static void WildMouseTrackLeftQuarterTurn1( PaintAddImageAsParent(session, imageId, { 0, 0, height }, { { 6, 6, height }, { 24, 24, 2 } }); break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, -1, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, -1, height, session.SupportColours); TrackPaintUtilLeftQuarterTurn1TileTunnel( session, kTunnelGroup, direction, height, 0, TunnelSubType::Flat, 0, TunnelSubType::Flat); PaintUtilSetSegmentSupportHeight( @@ -802,7 +802,7 @@ static void WildMouseTrackFlatTo60DegUp( } if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, -5, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, -5, height, session.SupportColours); } if (direction == 0 || direction == 3) { @@ -851,11 +851,11 @@ static void WildMouseTrack60DegUpToFlat( if (direction == 0 || direction == 3) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, -17, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, -17, height, session.SupportColours); } else { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 16, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 16, height, session.SupportColours); } } if (direction == 0 || direction == 3) @@ -895,7 +895,7 @@ static void WildMouseTrackBrakes( PaintAddImageAsParentRotated(session, direction, imageId, { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); @@ -918,7 +918,7 @@ static void WildMouseTrackRotationControlToggle( PaintAddImageAsParentRotated(session, direction, imageId, { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); @@ -935,7 +935,7 @@ static void WildMouseTrackBlockBrakes( PaintAddImageAsParentRotated(session, direction, imageId, { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); diff --git a/src/openrct2/paint/track/coaster/WoodenRollerCoaster.cpp b/src/openrct2/paint/track/coaster/WoodenRollerCoaster.cpp index 17a1134b19..1e9736eb6a 100644 --- a/src/openrct2/paint/track/coaster/WoodenRollerCoaster.cpp +++ b/src/openrct2/paint/track/coaster/WoodenRollerCoaster.cpp @@ -4461,7 +4461,7 @@ static void WoodenRCTrackLeftVerticalLoop( break; } MetalASupportsPaintSetup( - session, MetalSupportType::Boxed, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, MetalSupportType::Boxed, MetalSupportPlace::centre, 8, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -4483,25 +4483,25 @@ static void WoodenRCTrackLeftVerticalLoop( PaintAddImageAsParentRotated( session, direction, WoodenRCGetRailsColour(session).WithIndex(23454), { 0, 0, height }, { 32, 26, 3 }); MetalASupportsPaintSetup( - session, MetalSupportType::Boxed, MetalSupportPlace::Centre, 20, height, session.SupportColours); + session, MetalSupportType::Boxed, MetalSupportPlace::centre, 20, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, WoodenRCGetRailsColour(session).WithIndex(23462), { 0, 14, height }, { 32, 2, 63 }); MetalASupportsPaintSetup( - session, MetalSupportType::Boxed, MetalSupportPlace::Centre, 9, height, session.SupportColours); + session, MetalSupportType::Boxed, MetalSupportPlace::centre, 9, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, WoodenRCGetRailsColour(session).WithIndex(23459), { 0, 6, height }, { 32, 26, 3 }); MetalASupportsPaintSetup( - session, MetalSupportType::Boxed, MetalSupportPlace::Centre, 16, height, session.SupportColours); + session, MetalSupportType::Boxed, MetalSupportPlace::centre, 16, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, WoodenRCGetRailsColour(session).WithIndex(23467), { 0, 6, height }, { 32, 26, 3 }); MetalASupportsPaintSetup( - session, MetalSupportType::Boxed, MetalSupportPlace::Centre, 16, height, session.SupportColours); + session, MetalSupportType::Boxed, MetalSupportPlace::centre, 16, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -4659,25 +4659,25 @@ static void WoodenRCTrackLeftVerticalLoop( PaintAddImageAsParentRotated( session, direction, WoodenRCGetRailsColour(session).WithIndex(23459), { 0, 6, height }, { 32, 26, 3 }); MetalASupportsPaintSetup( - session, MetalSupportType::Boxed, MetalSupportPlace::Centre, 16, height, session.SupportColours); + session, MetalSupportType::Boxed, MetalSupportPlace::centre, 16, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, WoodenRCGetRailsColour(session).WithIndex(23467), { 0, 6, height }, { 32, 26, 3 }); MetalASupportsPaintSetup( - session, MetalSupportType::Boxed, MetalSupportPlace::Centre, 16, height, session.SupportColours); + session, MetalSupportType::Boxed, MetalSupportPlace::centre, 16, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, WoodenRCGetRailsColour(session).WithIndex(23454), { 0, 0, height }, { 32, 26, 3 }); MetalASupportsPaintSetup( - session, MetalSupportType::Boxed, MetalSupportPlace::Centre, 20, height, session.SupportColours); + session, MetalSupportType::Boxed, MetalSupportPlace::centre, 20, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, WoodenRCGetRailsColour(session).WithIndex(23462), { 0, 14, height }, { 32, 2, 63 }); MetalASupportsPaintSetup( - session, MetalSupportType::Boxed, MetalSupportPlace::Centre, 9, height, session.SupportColours); + session, MetalSupportType::Boxed, MetalSupportPlace::centre, 9, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -4711,7 +4711,7 @@ static void WoodenRCTrackLeftVerticalLoop( break; } MetalASupportsPaintSetup( - session, MetalSupportType::Boxed, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, MetalSupportType::Boxed, MetalSupportPlace::centre, 8, height, session.SupportColours); switch (direction) { case 1: @@ -4762,7 +4762,7 @@ static void WoodenRCTrackRightVerticalLoop( break; } MetalASupportsPaintSetup( - session, MetalSupportType::Boxed, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, MetalSupportType::Boxed, MetalSupportPlace::centre, 8, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -4776,25 +4776,25 @@ static void WoodenRCTrackRightVerticalLoop( PaintAddImageAsParentRotated( session, direction, WoodenRCGetRailsColour(session).WithIndex(23483), { 0, 6, height }, { 32, 26, 3 }); MetalASupportsPaintSetup( - session, MetalSupportType::Boxed, MetalSupportPlace::Centre, 16, height, session.SupportColours); + session, MetalSupportType::Boxed, MetalSupportPlace::centre, 16, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, WoodenRCGetRailsColour(session).WithIndex(23475), { 0, 6, height }, { 32, 26, 3 }); MetalASupportsPaintSetup( - session, MetalSupportType::Boxed, MetalSupportPlace::Centre, 16, height, session.SupportColours); + session, MetalSupportType::Boxed, MetalSupportPlace::centre, 16, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, WoodenRCGetRailsColour(session).WithIndex(23478), { 0, 14, height }, { 32, 2, 63 }); MetalASupportsPaintSetup( - session, MetalSupportType::Boxed, MetalSupportPlace::Centre, 9, height, session.SupportColours); + session, MetalSupportType::Boxed, MetalSupportPlace::centre, 9, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, WoodenRCGetRailsColour(session).WithIndex(23470), { 0, 0, height }, { 32, 26, 3 }); MetalASupportsPaintSetup( - session, MetalSupportType::Boxed, MetalSupportPlace::Centre, 20, height, session.SupportColours); + session, MetalSupportType::Boxed, MetalSupportPlace::centre, 20, height, session.SupportColours); break; } PaintUtilSetGeneralSupportHeight(session, height + 72); @@ -4916,25 +4916,25 @@ static void WoodenRCTrackRightVerticalLoop( PaintAddImageAsParentRotated( session, direction, WoodenRCGetRailsColour(session).WithIndex(23478), { 0, 14, height }, { 32, 2, 63 }); MetalASupportsPaintSetup( - session, MetalSupportType::Boxed, MetalSupportPlace::Centre, 9, height, session.SupportColours); + session, MetalSupportType::Boxed, MetalSupportPlace::centre, 9, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, WoodenRCGetRailsColour(session).WithIndex(23470), { 0, 0, height }, { 32, 26, 3 }); MetalASupportsPaintSetup( - session, MetalSupportType::Boxed, MetalSupportPlace::Centre, 20, height, session.SupportColours); + session, MetalSupportType::Boxed, MetalSupportPlace::centre, 20, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, WoodenRCGetRailsColour(session).WithIndex(23483), { 0, 6, height }, { 32, 26, 3 }); MetalASupportsPaintSetup( - session, MetalSupportType::Boxed, MetalSupportPlace::Centre, 16, height, session.SupportColours); + session, MetalSupportType::Boxed, MetalSupportPlace::centre, 16, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, WoodenRCGetRailsColour(session).WithIndex(23475), { 0, 6, height }, { 32, 26, 3 }); MetalASupportsPaintSetup( - session, MetalSupportType::Boxed, MetalSupportPlace::Centre, 16, height, session.SupportColours); + session, MetalSupportType::Boxed, MetalSupportPlace::centre, 16, height, session.SupportColours); break; } PaintUtilSetGeneralSupportHeight(session, height + 72); @@ -4960,7 +4960,7 @@ static void WoodenRCTrackRightVerticalLoop( break; } MetalASupportsPaintSetup( - session, MetalSupportType::Boxed, MetalSupportPlace::Centre, 8, height, session.SupportColours); + session, MetalSupportType::Boxed, MetalSupportPlace::centre, 8, height, session.SupportColours); switch (direction) { case 1: @@ -12395,7 +12395,7 @@ static void WoodenRCTrackLeftMediumHalfLoopUp( } MetalASupportsPaintSetup( - session, MetalSupportType::Boxed, MetalSupportPlace::Centre, 7, height, session.SupportColours); + session, MetalSupportType::Boxed, MetalSupportPlace::centre, 7, height, session.SupportColours); if (direction == 0 || direction == 3) { @@ -12451,21 +12451,21 @@ static void WoodenRCTrackLeftMediumHalfLoopUp( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_WOODEN_RC_MEDIUM_HALF_LOOP + 2), { 0, 0, height }, { { 0, 0, height + 2 }, { 32, 32, 0 } }); MetalBSupportsPaintSetup( - session, MetalSupportType::Boxed, MetalSupportPlace::TopLeftSide, 14, height, session.SupportColours); + session, MetalSupportType::Boxed, MetalSupportPlace::topLeftSide, 14, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_WOODEN_RC_MEDIUM_HALF_LOOP + 7), { 0, 0, height }, { { 29, 0, height }, { 1, 32, 96 } }); MetalBSupportsPaintSetup( - session, MetalSupportType::Boxed, MetalSupportPlace::TopRightSide, 16, height, session.SupportColours); + session, MetalSupportType::Boxed, MetalSupportPlace::topRightSide, 16, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_WOODEN_RC_MEDIUM_HALF_LOOP + 12), { 0, 0, height }, { { 31, 0, height }, { 1, 32, 96 } }); MetalBSupportsPaintSetup( - session, MetalSupportType::Boxed, MetalSupportPlace::BottomRightSide, 18, height, + session, MetalSupportType::Boxed, MetalSupportPlace::bottomRightSide, 18, height, session.SupportColours); break; case 3: @@ -12473,7 +12473,7 @@ static void WoodenRCTrackLeftMediumHalfLoopUp( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_WOODEN_RC_MEDIUM_HALF_LOOP + 17), { 0, 0, height }, { { 0, 0, height }, { 32, 32, 0 } }); MetalBSupportsPaintSetup( - session, MetalSupportType::Boxed, MetalSupportPlace::BottomLeftSide, 14, height, + session, MetalSupportType::Boxed, MetalSupportPlace::bottomLeftSide, 14, height, session.SupportColours); break; } @@ -12603,7 +12603,7 @@ static void WoodenRCTrackRightMediumHalfLoopUp( } MetalASupportsPaintSetup( - session, MetalSupportType::Boxed, MetalSupportPlace::Centre, 7, height, session.SupportColours); + session, MetalSupportType::Boxed, MetalSupportPlace::centre, 7, height, session.SupportColours); if (direction == 0 || direction == 3) { @@ -12659,7 +12659,7 @@ static void WoodenRCTrackRightMediumHalfLoopUp( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_WOODEN_RC_MEDIUM_HALF_LOOP + 22), { 0, 0, height }, { { 0, 0, height }, { 32, 32, 0 } }); MetalBSupportsPaintSetup( - session, MetalSupportType::Boxed, MetalSupportPlace::BottomRightSide, 14, height, + session, MetalSupportType::Boxed, MetalSupportPlace::bottomRightSide, 14, height, session.SupportColours); break; case 1: @@ -12667,7 +12667,7 @@ static void WoodenRCTrackRightMediumHalfLoopUp( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_WOODEN_RC_MEDIUM_HALF_LOOP + 27), { 0, 0, height }, { { 30, 16, height }, { 0, 32, 96 } }); MetalBSupportsPaintSetup( - session, MetalSupportType::Boxed, MetalSupportPlace::BottomLeftSide, 18, height, + session, MetalSupportType::Boxed, MetalSupportPlace::bottomLeftSide, 18, height, session.SupportColours); break; case 2: @@ -12675,14 +12675,14 @@ static void WoodenRCTrackRightMediumHalfLoopUp( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_WOODEN_RC_MEDIUM_HALF_LOOP + 32), { 0, 0, height }, { { 29, 0, height }, { 0, 32, 96 } }); MetalBSupportsPaintSetup( - session, MetalSupportType::Boxed, MetalSupportPlace::TopLeftSide, 16, height, session.SupportColours); + session, MetalSupportType::Boxed, MetalSupportPlace::topLeftSide, 16, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex(SPR_TRACKS_WOODEN_RC_MEDIUM_HALF_LOOP + 37), { 0, 0, height }, { { 0, 0, height + 2 }, { 32, 32, 0 } }); MetalBSupportsPaintSetup( - session, MetalSupportType::Boxed, MetalSupportPlace::TopRightSide, 14, height, session.SupportColours); + session, MetalSupportType::Boxed, MetalSupportPlace::topRightSide, 14, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -12822,7 +12822,7 @@ static void WoodenRCTrackLeftLargeHalfLoopUp( break; } MetalASupportsPaintSetup( - session, MetalSupportType::Boxed, MetalSupportPlace::Centre, 5, height, session.SupportColours); + session, MetalSupportType::Boxed, MetalSupportPlace::centre, 5, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -12839,14 +12839,14 @@ static void WoodenRCTrackLeftLargeHalfLoopUp( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_WOODEN_RC_LARGE_HALF_LOOP + 1)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, MetalSupportType::Boxed, MetalSupportPlace::Centre, 12, height, session.SupportColours); + session, MetalSupportType::Boxed, MetalSupportPlace::centre, 12, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_WOODEN_RC_LARGE_HALF_LOOP + 8)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 9 } }); MetalASupportsPaintSetup( - session, MetalSupportType::Boxed, MetalSupportPlace::Centre, 6, height, session.SupportColours); + session, MetalSupportType::Boxed, MetalSupportPlace::centre, 6, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( @@ -12856,14 +12856,14 @@ static void WoodenRCTrackLeftLargeHalfLoopUp( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_WOODEN_RC_LARGE_HALF_LOOP + 58)), { 0, 0, height }, { { 0, 6, height + 64 }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, MetalSupportType::Boxed, MetalSupportPlace::Centre, 0, height, session.SupportColours); + session, MetalSupportType::Boxed, MetalSupportPlace::centre, 0, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_WOODEN_RC_LARGE_HALF_LOOP + 22)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, MetalSupportType::Boxed, MetalSupportPlace::Centre, 0, height, session.SupportColours); + session, MetalSupportType::Boxed, MetalSupportPlace::centre, 0, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -12915,14 +12915,14 @@ static void WoodenRCTrackLeftLargeHalfLoopUp( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_WOODEN_RC_LARGE_HALF_LOOP + 3)), { 0, 0, height }, { { 0, 0, height }, { 32, 16, 3 } }); MetalASupportsPaintSetup( - session, MetalSupportType::Boxed, MetalSupportPlace::TopLeftSide, 22, height, session.SupportColours); + session, MetalSupportType::Boxed, MetalSupportPlace::topLeftSide, 22, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_WOODEN_RC_LARGE_HALF_LOOP + 10)), { 0, 0, height }, { { 0, 0, height + 200 }, { 32, 16, 0 } }); MetalASupportsPaintSetup( - session, MetalSupportType::Boxed, MetalSupportPlace::TopRightSide, 14, height + 8, + session, MetalSupportType::Boxed, MetalSupportPlace::topRightSide, 14, height + 8, session.SupportColours); break; case 2: @@ -12930,7 +12930,7 @@ static void WoodenRCTrackLeftLargeHalfLoopUp( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_WOODEN_RC_LARGE_HALF_LOOP + 17)), { 0, 0, height }, { { 0, 16, height + 200 }, { 32, 16, 0 } }); MetalASupportsPaintSetup( - session, MetalSupportType::Boxed, MetalSupportPlace::BottomRightSide, 0, height + 21, + session, MetalSupportType::Boxed, MetalSupportPlace::bottomRightSide, 0, height + 21, session.SupportColours); break; case 3: @@ -12938,7 +12938,7 @@ static void WoodenRCTrackLeftLargeHalfLoopUp( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_WOODEN_RC_LARGE_HALF_LOOP + 24)), { 0, 0, height }, { { 0, 16, height }, { 32, 16, 3 } }); MetalASupportsPaintSetup( - session, MetalSupportType::Boxed, MetalSupportPlace::BottomLeftSide, 22, height, + session, MetalSupportType::Boxed, MetalSupportPlace::bottomLeftSide, 22, height, session.SupportColours); break; } @@ -13098,7 +13098,7 @@ static void WoodenRCTrackRightLargeHalfLoopUp( break; } MetalASupportsPaintSetup( - session, MetalSupportType::Boxed, MetalSupportPlace::Centre, 5, height, session.SupportColours); + session, MetalSupportType::Boxed, MetalSupportPlace::centre, 5, height, session.SupportColours); if (direction == 0 || direction == 3) { PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -13115,7 +13115,7 @@ static void WoodenRCTrackRightLargeHalfLoopUp( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_WOODEN_RC_LARGE_HALF_LOOP + 29)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, MetalSupportType::Boxed, MetalSupportPlace::Centre, 0, height, session.SupportColours); + session, MetalSupportType::Boxed, MetalSupportPlace::centre, 0, height, session.SupportColours); break; case 1: PaintAddImageAsParentRotated( @@ -13125,21 +13125,21 @@ static void WoodenRCTrackRightLargeHalfLoopUp( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_WOODEN_RC_LARGE_HALF_LOOP + 61)), { 0, 0, height }, { { 0, 6, height + 64 }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, MetalSupportType::Boxed, MetalSupportPlace::Centre, 0, height, session.SupportColours); + session, MetalSupportType::Boxed, MetalSupportPlace::centre, 0, height, session.SupportColours); break; case 2: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_WOODEN_RC_LARGE_HALF_LOOP + 43)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 9 } }); MetalASupportsPaintSetup( - session, MetalSupportType::Boxed, MetalSupportPlace::Centre, 6, height, session.SupportColours); + session, MetalSupportType::Boxed, MetalSupportPlace::centre, 6, height, session.SupportColours); break; case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_WOODEN_RC_LARGE_HALF_LOOP + 50)), { 0, 0, height }, { { 0, 6, height }, { 32, 20, 3 } }); MetalASupportsPaintSetup( - session, MetalSupportType::Boxed, MetalSupportPlace::Centre, 12, height, session.SupportColours); + session, MetalSupportType::Boxed, MetalSupportPlace::centre, 12, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( @@ -13191,7 +13191,7 @@ static void WoodenRCTrackRightLargeHalfLoopUp( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_WOODEN_RC_LARGE_HALF_LOOP + 31)), { 0, 0, height }, { { 0, 16, height }, { 32, 16, 3 } }); MetalASupportsPaintSetup( - session, MetalSupportType::Boxed, MetalSupportPlace::BottomRightSide, 22, height, + session, MetalSupportType::Boxed, MetalSupportPlace::bottomRightSide, 22, height, session.SupportColours); break; case 1: @@ -13199,7 +13199,7 @@ static void WoodenRCTrackRightLargeHalfLoopUp( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_WOODEN_RC_LARGE_HALF_LOOP + 38)), { 0, 0, height }, { { 0, 16, height + 200 }, { 32, 16, 0 } }); MetalASupportsPaintSetup( - session, MetalSupportType::Boxed, MetalSupportPlace::BottomLeftSide, 0, height + 21, + session, MetalSupportType::Boxed, MetalSupportPlace::bottomLeftSide, 0, height + 21, session.SupportColours); break; case 2: @@ -13207,7 +13207,7 @@ static void WoodenRCTrackRightLargeHalfLoopUp( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_WOODEN_RC_LARGE_HALF_LOOP + 45)), { 0, 0, height }, { { 0, 0, height + 200 }, { 32, 16, 0 } }); MetalASupportsPaintSetup( - session, MetalSupportType::Boxed, MetalSupportPlace::TopLeftSide, 14, height + 8, + session, MetalSupportType::Boxed, MetalSupportPlace::topLeftSide, 14, height + 8, session.SupportColours); break; case 3: @@ -13215,7 +13215,7 @@ static void WoodenRCTrackRightLargeHalfLoopUp( session, direction, session.TrackColours.WithIndex((SPR_TRACKS_WOODEN_RC_LARGE_HALF_LOOP + 52)), { 0, 0, height }, { { 0, 0, height }, { 32, 16, 3 } }); MetalASupportsPaintSetup( - session, MetalSupportType::Boxed, MetalSupportPlace::TopRightSide, 22, height, session.SupportColours); + session, MetalSupportType::Boxed, MetalSupportPlace::topRightSide, 22, height, session.SupportColours); break; } PaintUtilSetSegmentSupportHeight( diff --git a/src/openrct2/paint/track/gentle/CarRide.cpp b/src/openrct2/paint/track/gentle/CarRide.cpp index 09c0e61685..2fd014ff5f 100644 --- a/src/openrct2/paint/track/gentle/CarRide.cpp +++ b/src/openrct2/paint/track/gentle/CarRide.cpp @@ -186,7 +186,7 @@ static void PaintCarRideTrackFlat( PaintUtilPushTunnelRight(session, height, kTunnelGroup, TunnelSubType::Flat); } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments( @@ -227,7 +227,7 @@ static void PaintCarRideTrack25DegUp( break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments( @@ -268,7 +268,7 @@ static void PaintCarRideTrackFlatTo25DegUp( break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments( @@ -309,7 +309,7 @@ static void PaintCarRideTrack25DegUpToFlat( break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments( @@ -359,7 +359,7 @@ static void PaintCarRideStation( else { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height, session.SupportColours); } PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0); @@ -380,7 +380,7 @@ static void PaintCarRideTrackRightQuarterTurn3Tiles( { case 0: case 3: - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); break; } @@ -441,7 +441,7 @@ static void PaintCarRideTrackLeftQuarterTurn1Tile( break; } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); TrackPaintUtilLeftQuarterTurn1TileTunnel( session, kTunnelGroup, direction, height, 0, TunnelSubType::Flat, 0, TunnelSubType::Flat); @@ -534,7 +534,7 @@ static void PaintCarRideTrack60DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 32, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 32, height, session.SupportColours); } PaintUtilSetSegmentSupportHeight( @@ -593,7 +593,7 @@ static void PaintCarRideTrack25DegUpTo60DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 12, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 12, height, session.SupportColours); } PaintUtilSetSegmentSupportHeight( @@ -652,7 +652,7 @@ static void PaintCarRideTrack60DegUpTo25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 20, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 20, height, session.SupportColours); } PaintUtilSetSegmentSupportHeight( @@ -712,7 +712,7 @@ static void PaintCarRideTrackLogBumps( PaintUtilPushTunnelRight(session, height, kTunnelGroup, TunnelSubType::Flat); } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments( diff --git a/src/openrct2/paint/track/gentle/GhostTrain.cpp b/src/openrct2/paint/track/gentle/GhostTrain.cpp index 0a92b4de40..28248286ad 100644 --- a/src/openrct2/paint/track/gentle/GhostTrain.cpp +++ b/src/openrct2/paint/track/gentle/GhostTrain.cpp @@ -227,7 +227,7 @@ static void PaintGhostTrainTrackFlat( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); } PaintUtilSetSegmentSupportHeight( @@ -251,7 +251,7 @@ static void PaintGhostTrainTrack25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); } switch (direction) @@ -302,7 +302,7 @@ static void PaintGhostTrainTrackFlatTo25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); } switch (direction) @@ -341,7 +341,7 @@ static void PaintGhostTrainTrack25DegUpToFlatShared( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); } PaintUtilSetSegmentSupportHeight( @@ -434,7 +434,7 @@ static void PaintGhostTrainStation( else if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height, session.SupportColours); } PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0); @@ -459,7 +459,7 @@ static void PaintGhostTrainTrackRightQuarterTurn3Tiles( { case 0: case 3: - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); break; } @@ -516,7 +516,7 @@ static void PaintGhostTrainTrackLeftQuarterTurn1Tile( session, 3, height, 0, direction, session.TrackColours, kGhostTrainTrackPiecesQuarterTurn1Tile); TrackPaintUtilLeftQuarterTurn1TileTunnel(session, direction, height, 0, tunnelStartImage, 0, tunnelEndImage); - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0); PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight); } @@ -566,7 +566,7 @@ static void PaintGhostTrainTrackBrakes( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); } PaintUtilSetSegmentSupportHeight( diff --git a/src/openrct2/paint/track/gentle/MiniGolf.cpp b/src/openrct2/paint/track/gentle/MiniGolf.cpp index 894df9e14c..71e8d5d3ec 100644 --- a/src/openrct2/paint/track/gentle/MiniGolf.cpp +++ b/src/openrct2/paint/track/gentle/MiniGolf.cpp @@ -512,7 +512,7 @@ static void PaintMiniGolfTrackFlat( PaintUtilPushTunnelLeft(session, height, TunnelType::PathAndMiniGolf); } - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments( @@ -552,7 +552,7 @@ static void PaintMiniGolfTrack25DegUp( imageId = session.TrackColours.WithIndex(kMiniGolfTrackSprites25DegUp[direction][0]); PaintAddImageAsParentRotated(session, direction, imageId, { 0, 0, height }, { 32, 20, 1 }); - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments( @@ -594,7 +594,7 @@ static void PaintMiniGolfTrackFlatTo25DegUp( imageId = session.TrackColours.WithIndex(kMiniGolfTrackSpritesFlatTo25DegUp[direction][0]); PaintAddImageAsParentRotated(session, direction, imageId, { 0, 0, height }, { { 0, 6, height }, { 32, 20, 1 } }); - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments( @@ -636,7 +636,7 @@ static void PaintMiniGolfTrack25DegUpToFlat( imageId = session.TrackColours.WithIndex(kMiniGolfTrackSprites25DegUpToFlat[direction][0]); PaintAddImageAsParentRotated(session, direction, imageId, { 0, 0, height }, { { 0, 6, height }, { 32, 20, 1 } }); - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments( @@ -763,7 +763,7 @@ static void PaintMiniGolfTrackLeftQuarterTurn1Tile( TrackPaintUtilLeftQuarterTurn1TilePaint( session, 1, height, 0, direction, session.TrackColours, kMiniGolfTrackSpritesQuarterTurn1Tile); - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, diff --git a/src/openrct2/paint/track/gentle/MiniHelicopters.cpp b/src/openrct2/paint/track/gentle/MiniHelicopters.cpp index e7805d46ea..b0aab40cb5 100644 --- a/src/openrct2/paint/track/gentle/MiniHelicopters.cpp +++ b/src/openrct2/paint/track/gentle/MiniHelicopters.cpp @@ -50,7 +50,7 @@ static void PaintMiniHelicoptersTrackStation( else if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, -1, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, -1, height, session.SupportColours); } PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0); @@ -80,7 +80,7 @@ static void PaintMiniHelicoptersTrackFlat( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, -1, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, -1, height, session.SupportColours); } PaintUtilSetSegmentSupportHeight( @@ -124,7 +124,7 @@ static void PaintMiniHelicoptersTrackFlatTo25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, -4, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, -4, height, session.SupportColours); } PaintUtilSetSegmentSupportHeight( @@ -168,7 +168,7 @@ static void PaintMiniHelicoptersTrack25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, -9, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, -9, height, session.SupportColours); } PaintUtilSetSegmentSupportHeight( @@ -212,7 +212,7 @@ static void PaintMiniHelicoptersTrack25DegUpToFlat( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, -7, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, -7, height, session.SupportColours); } PaintUtilSetSegmentSupportHeight( @@ -262,7 +262,7 @@ static void PaintMiniHelicoptersTrackLeftQuarterTurn3Tiles( switch (trackSequence) { case 0: - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, -1, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, -1, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments( @@ -279,7 +279,7 @@ static void PaintMiniHelicoptersTrackLeftQuarterTurn3Tiles( 0xFFFF, 0); break; case 3: - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, -1, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, -1, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments( diff --git a/src/openrct2/paint/track/gentle/MonorailCycles.cpp b/src/openrct2/paint/track/gentle/MonorailCycles.cpp index 912349e53b..e3dcdb21a0 100644 --- a/src/openrct2/paint/track/gentle/MonorailCycles.cpp +++ b/src/openrct2/paint/track/gentle/MonorailCycles.cpp @@ -182,7 +182,7 @@ static void PaintMonorailCyclesTrackFlat( } MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, -1, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, -1, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, @@ -219,7 +219,7 @@ static void PaintMonorailCyclesStation( else { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, -1, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, -1, height, session.SupportColours); } PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0); @@ -238,7 +238,7 @@ static void PaintMonorailCyclesTrackLeftQuarterTurn3Tiles( switch (trackSequence) { case 0: - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, -1, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, -1, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments( @@ -255,7 +255,7 @@ static void PaintMonorailCyclesTrackLeftQuarterTurn3Tiles( 0xFFFF, 0); break; case 3: - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, -1, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, -1, height, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments( @@ -314,22 +314,22 @@ static void PaintMonorailCyclesTrackRightQuarterTurn5Tiles( { case 0: MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, supportSpecial, supportHeight, + session, supportType.metal, MetalSupportPlace::centre, direction, supportSpecial, supportHeight, session.SupportColours); break; case 2: MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::BottomRightSide, direction, supportSpecial, supportHeight, + session, supportType.metal, MetalSupportPlace::bottomRightSide, direction, supportSpecial, supportHeight, session.SupportColours); break; case 5: MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::BottomRightSide, DirectionNext(direction), supportSpecial, + session, supportType.metal, MetalSupportPlace::bottomRightSide, DirectionNext(direction), supportSpecial, supportHeight, session.SupportColours); break; case 6: MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, DirectionNext(direction), supportSpecial, supportHeight, + session, supportType.metal, MetalSupportPlace::centre, DirectionNext(direction), supportSpecial, supportHeight, session.SupportColours); break; } diff --git a/src/openrct2/paint/track/transport/Monorail.cpp b/src/openrct2/paint/track/transport/Monorail.cpp index b828949f55..3fb0fe1c63 100644 --- a/src/openrct2/paint/track/transport/Monorail.cpp +++ b/src/openrct2/paint/track/transport/Monorail.cpp @@ -436,7 +436,7 @@ static void PaintMonorailTrackFlat( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); } PaintUtilSetSegmentSupportHeight( @@ -471,7 +471,7 @@ static void PaintMonorailStation( else if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height, session.SupportColours); } PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0); @@ -512,7 +512,7 @@ static void PaintMonorailTrack25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); } PaintUtilSetSegmentSupportHeight( @@ -557,7 +557,7 @@ static void PaintMonorailTrackFlatTo25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); } PaintUtilSetSegmentSupportHeight( @@ -602,7 +602,7 @@ static void PaintMonorailTrack25DegUpToFlat( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); } PaintUtilSetSegmentSupportHeight( @@ -650,7 +650,7 @@ static void PaintMonorailTrackRightQuarterTurn5Tiles( { case 0: case 6: - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); break; } @@ -873,7 +873,7 @@ static void PaintMonorailTrackRightQuarterTurn3Tiles( { case 0: case 3: - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); break; } @@ -930,21 +930,21 @@ static void PaintMonorailTrackLeftEighthToDiag( switch (trackSequence) { case 0: - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); break; case 4: if (direction == 0) MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); if (direction == 1) MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); if (direction == 2) MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); if (direction == 3) MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); break; } @@ -1006,21 +1006,21 @@ static void PaintMonorailTrackRightEighthToDiag( switch (trackSequence) { case 0: - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); break; case 4: if (direction == 0) MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height, session.SupportColours); if (direction == 1) MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height, session.SupportColours); if (direction == 2) MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height, session.SupportColours); if (direction == 3) MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height, session.SupportColours); break; } diff --git a/src/openrct2/paint/track/transport/SuspendedMonorail.cpp b/src/openrct2/paint/track/transport/SuspendedMonorail.cpp index 9f9f38bef9..e369ef564f 100644 --- a/src/openrct2/paint/track/transport/SuspendedMonorail.cpp +++ b/src/openrct2/paint/track/transport/SuspendedMonorail.cpp @@ -49,7 +49,7 @@ static void SuspendedMonorailTrackFlat( PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height + 42, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height + 42, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, TunnelType::InvertedSquare); @@ -120,19 +120,19 @@ static void SuspendedMonorailTrack25DegUp( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 60, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 60, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 60, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 60, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 60, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 60, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 60, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 60, session.SupportColours); break; } } @@ -184,19 +184,19 @@ static void SuspendedMonorailTrackFlatTo25DegUp( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 52, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 52, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 52, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 52, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 52, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 52, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 52, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 52, session.SupportColours); break; } } @@ -248,19 +248,19 @@ static void SuspendedMonorailTrack25DegUpToFlat( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 50, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topRightSide, 0, height + 50, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 50, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomRightSide, 0, height + 50, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 50, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomLeftSide, 0, height + 50, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 50, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topLeftSide, 0, height + 50, session.SupportColours); break; } } @@ -341,7 +341,7 @@ static void SuspendedMonorailTrackLeftQuarterTurn5( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 42, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 42, session.SupportColours); if (direction == 0 || direction == 3) { @@ -484,7 +484,7 @@ static void SuspendedMonorailTrackLeftQuarterTurn5( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 42, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 42, session.SupportColours); switch (direction) { @@ -877,7 +877,7 @@ static void SuspendedMonorailTrackLeftQuarterTurn3( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 42, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 42, session.SupportColours); if (direction == 0 || direction == 3) { @@ -953,7 +953,7 @@ static void SuspendedMonorailTrackLeftQuarterTurn3( direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 42, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 42, session.SupportColours); switch (direction) { @@ -1014,7 +1014,7 @@ static void SuspendedMonorailTrackLeftEighthToDiag( PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 42, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 42, session.SupportColours); if (direction == 0 || direction == 3) { @@ -1136,19 +1136,19 @@ static void SuspendedMonorailTrackLeftEighthToDiag( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + 42, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + 42, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 42, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 42, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 42, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 42, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 42, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 42, session.SupportColours); break; } @@ -1192,7 +1192,7 @@ static void SuspendedMonorailTrackRightEighthToDiag( PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 0, height + 42, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 0, height + 42, session.SupportColours); if (direction == 0 || direction == 3) { @@ -1315,19 +1315,19 @@ static void SuspendedMonorailTrackRightEighthToDiag( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 42, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 42, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 42, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 42, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 42, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 42, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + 42, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + 42, session.SupportColours); break; } @@ -1370,7 +1370,7 @@ static void SuspendedMonorailTrackDiagFlat( if (trackSequence == 3) MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 0, height + 42, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, direction, 0, height + 42, session.SupportColours); PaintUtilSetGeneralSupportHeight(session, height + 48); } @@ -1454,19 +1454,19 @@ static void SuspendedMonorailTrackDiag25DegUp( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 55, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 55, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 55, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 55, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 55, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 55, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + 57, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + 57, session.SupportColours); break; } @@ -1554,19 +1554,19 @@ static void SuspendedMonorailTrackDiagFlatTo25DegUp( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 48, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 48, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 48, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 48, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 48, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 48, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + 50, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + 50, session.SupportColours); break; } @@ -1654,19 +1654,19 @@ static void SuspendedMonorailTrackDiag25DegUpToFlat( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 51, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 51, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 51, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 51, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 51, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 51, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + 51, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + 51, session.SupportColours); break; } @@ -1754,19 +1754,19 @@ static void SuspendedMonorailTrackDiag25DegDown( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 54, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 54, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 54, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 54, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 51, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 51, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + 58, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + 58, session.SupportColours); break; } @@ -1851,19 +1851,19 @@ static void SuspendedMonorailTrackDiagFlatTo25DegDown( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 48, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 48, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 48, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 48, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 48, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 48, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + 48, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + 48, session.SupportColours); break; } break; @@ -1951,19 +1951,19 @@ static void SuspendedMonorailTrackDiag25DegDownToFlat( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 46, session.SupportColours); + session, supportType.metal, MetalSupportPlace::leftCorner, 0, height + 46, session.SupportColours); break; case 1: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 46, session.SupportColours); + session, supportType.metal, MetalSupportPlace::topCorner, 0, height + 46, session.SupportColours); break; case 2: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 46, session.SupportColours); + session, supportType.metal, MetalSupportPlace::rightCorner, 0, height + 46, session.SupportColours); break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + 46, session.SupportColours); + session, supportType.metal, MetalSupportPlace::bottomCorner, 0, height + 46, session.SupportColours); break; } diff --git a/src/openrct2/paint/track/water/DinghySlide.cpp b/src/openrct2/paint/track/water/DinghySlide.cpp index f9734e8dce..b1bb091f36 100644 --- a/src/openrct2/paint/track/water/DinghySlide.cpp +++ b/src/openrct2/paint/track/water/DinghySlide.cpp @@ -241,7 +241,7 @@ static void DinghySlideTrackFlat( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -281,7 +281,7 @@ static void DinghySlideTrackStation( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height, session.SupportColours); } } @@ -319,7 +319,7 @@ static void DinghySlideTrack25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); } if (direction == 0 || direction == 3) @@ -358,7 +358,7 @@ static void DinghySlideTrack60DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 32, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 32, height, session.SupportColours); } if (direction == 0 || direction == 3) @@ -406,7 +406,7 @@ static void DinghySlideTrackFlatTo25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); } if (direction == 0 || direction == 3) @@ -445,7 +445,7 @@ static void DinghySlideTrack25DegUpTo60DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 12, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 12, height, session.SupportColours); } if (direction == 0 || direction == 3) @@ -484,7 +484,7 @@ static void DinghySlideTrack60DegUpTo25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 20, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 20, height, session.SupportColours); } if (direction == 0 || direction == 3) @@ -532,7 +532,7 @@ static void DinghySlideTrack25DegUpToFlat( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); } if (direction == 0 || direction == 3) @@ -659,7 +659,7 @@ static void DinghySlideTrackRightQuarterTurn5( { case 0: case 6: - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); break; } @@ -1025,7 +1025,7 @@ static void DinghySlideTrackRightQuarterTurn3( { case 0: case 3: - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); break; } diff --git a/src/openrct2/paint/track/water/DinghySlideCovered.cpp b/src/openrct2/paint/track/water/DinghySlideCovered.cpp index a6b250bb2b..7bdd0c3e68 100644 --- a/src/openrct2/paint/track/water/DinghySlideCovered.cpp +++ b/src/openrct2/paint/track/water/DinghySlideCovered.cpp @@ -194,7 +194,7 @@ static void DinghySlideTrackCoveredFlat( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -226,7 +226,7 @@ static void DinghySlideTrackCovered25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); } if (direction == 0 || direction == 3) @@ -265,7 +265,7 @@ static void DinghySlideTrackCovered60DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 32, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 32, height, session.SupportColours); } if (direction == 0 || direction == 3) @@ -304,7 +304,7 @@ static void DinghySlideTrackCoveredFlatTo25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); } if (direction == 0 || direction == 3) @@ -343,7 +343,7 @@ static void DinghySlideTrackCovered25DegUpTo60DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 12, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 12, height, session.SupportColours); } if (direction == 0 || direction == 3) @@ -382,7 +382,7 @@ static void DinghySlideTrackCovered60DegUpTo25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 20, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 20, height, session.SupportColours); } if (direction == 0 || direction == 3) @@ -421,7 +421,7 @@ static void DinghySlideTrackCovered25DegUpToFlat( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); } if (direction == 0 || direction == 3) @@ -549,7 +549,7 @@ static void DinghySlideTrackCoveredRightQuarterTurn5( { case 0: case 6: - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); break; } @@ -909,7 +909,7 @@ static void DinghySlideTrackCoveredRightQuarterTurn3( { case 0: case 3: - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); break; } diff --git a/src/openrct2/paint/track/water/LogFlume.cpp b/src/openrct2/paint/track/water/LogFlume.cpp index 968c2eb7f2..ae0f214485 100644 --- a/src/openrct2/paint/track/water/LogFlume.cpp +++ b/src/openrct2/paint/track/water/LogFlume.cpp @@ -180,7 +180,7 @@ static void PaintLogFlumeTrackFlat( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); @@ -207,7 +207,7 @@ static void PaintLogFlumeTrackStation( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, 0, height, session.SupportColours); } } @@ -236,7 +236,7 @@ static void PaintLogFlumeTrack25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); } if (direction == 0 || direction == 3) @@ -270,7 +270,7 @@ static void PaintLogFlumeTrackFlatTo25DegUp( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); } if (direction == 0 || direction == 3) @@ -304,7 +304,7 @@ static void PaintLogFlumeTrack25DegUpToFlat( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); } if (direction == 0 || direction == 3) @@ -338,7 +338,7 @@ static void PaintLogFlumeTrack25DegDown( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); } if (direction == 0 || direction == 3) @@ -372,7 +372,7 @@ static void PaintLogFlumeTrackFlatTo25DegDown( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 6, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 6, height, session.SupportColours); } if (direction == 0 || direction == 3) @@ -406,7 +406,7 @@ static void PaintLogFlumeTrack25DegDownToFlat( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 3, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 3, height, session.SupportColours); } if (direction == 0 || direction == 3) @@ -683,7 +683,7 @@ static void PaintLogFlumeTrackLeftQuarterTurn3Tiles( if (trackSequence != 1 && trackSequence != 2) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); } switch (trackSequence) @@ -773,7 +773,7 @@ static void PaintLogFlumeTrackRightQuarterTurn3Tiles( if (trackSequence != 1 && trackSequence != 2) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); } switch (trackSequence) @@ -856,7 +856,7 @@ static void PaintLogFlumeTrackReverser( PaintAddImageAsParentRotated(session, direction, imageId, { 0, 0, height }, { { 0, 6, height }, { 32, 20, 2 } }); PaintAddImageAsParentRotated(session, direction, frontImageId, { 0, 0, height }, { { 0, 27, height }, { 32, 1, 26 } }); - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 0, height, session.SupportColours); PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::Flat); PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); @@ -886,7 +886,7 @@ static void LogFlumeTrack25Down60( { if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height, kTunnelGroup, TunnelSubType::FlatTo25Deg); @@ -896,7 +896,7 @@ static void LogFlumeTrack25Down60( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height + 12, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height + 12, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height + 24, kTunnelGroup, TunnelSubType::SlopeEnd); @@ -926,7 +926,7 @@ static void LogFlumeTrack60Down( { if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height - 8, kTunnelGroup, TunnelSubType::SlopeStart); @@ -936,7 +936,7 @@ static void LogFlumeTrack60Down( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height + 12, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height + 12, session.SupportColours); } PaintUtilPushTunnelRotated(session, direction, height + 56, kTunnelGroup, TunnelSubType::SlopeEnd); @@ -968,7 +968,7 @@ static void LogFlumeTrack60Down25( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { - MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::Centre, 8, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType.metal, MetalSupportPlace::centre, 8, height, session.SupportColours); } } else @@ -978,7 +978,7 @@ static void LogFlumeTrack60Down25( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, 8, height + 8, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, 8, height + 8, session.SupportColours); } } PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0); diff --git a/src/openrct2/paint/track/water/SubmarineRide.cpp b/src/openrct2/paint/track/water/SubmarineRide.cpp index 8c9ad8c1fe..dac84f48b3 100644 --- a/src/openrct2/paint/track/water/SubmarineRide.cpp +++ b/src/openrct2/paint/track/water/SubmarineRide.cpp @@ -73,7 +73,7 @@ static void SubmarineRidePaintTrackFlat( if (TrackPaintUtilShouldPaintSupports(session.MapPosition)) { MetalASupportsPaintSetupRotated( - session, supportType.metal, MetalSupportPlace::Centre, direction, -1, heightLower, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, direction, -1, heightLower, session.SupportColours); } PaintUtilSetSegmentSupportHeight( @@ -98,7 +98,7 @@ static void SubmarineRidePaintTrackLeftQuarterTurn3Tiles( { case 0: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, -1, height - 16, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, -1, height - 16, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments( @@ -116,7 +116,7 @@ static void SubmarineRidePaintTrackLeftQuarterTurn3Tiles( break; case 3: MetalASupportsPaintSetup( - session, supportType.metal, MetalSupportPlace::Centre, -1, height - 16, session.SupportColours); + session, supportType.metal, MetalSupportPlace::centre, -1, height - 16, session.SupportColours); PaintUtilSetSegmentSupportHeight( session, PaintUtilRotateSegments( diff --git a/src/openrct2/ride/TrackData.cpp b/src/openrct2/ride/TrackData.cpp index 584bf9d3a6..46cff172ea 100644 --- a/src/openrct2/ride/TrackData.cpp +++ b/src/openrct2/ride/TrackData.cpp @@ -4851,7 +4851,7 @@ namespace OpenRCT2::TrackMetaData .clearance = { 0, 0, 0, 0, { 0b1111, 0 }, 0 }, .allowedWallEdges = 0b1010, .woodenSupports = { WoodenSupportSubType::NeSw }, - .metalSupports = { MetalSupportPlace::Centre, true }, + .metalSupports = { MetalSupportPlace::centre, true }, }; static constexpr SequenceDescriptor kEndStationSeq0 = { @@ -4859,7 +4859,7 @@ namespace OpenRCT2::TrackMetaData .flags = TRACK_SEQUENCE_FLAG_DIRECTION_1 | TRACK_SEQUENCE_FLAG_DIRECTION_3 | TRACK_SEQUENCE_FLAG_ORIGIN | TRACK_SEQUENCE_FLAG_DISALLOW_DOORS, .woodenSupports = { WoodenSupportSubType::NeSw }, - .metalSupports = { MetalSupportPlace::Centre, true }, + .metalSupports = { MetalSupportPlace::centre, true }, }; static constexpr SequenceDescriptor kBeginStationSeq0 = { @@ -4867,7 +4867,7 @@ namespace OpenRCT2::TrackMetaData .flags = TRACK_SEQUENCE_FLAG_DIRECTION_1 | TRACK_SEQUENCE_FLAG_DIRECTION_3 | TRACK_SEQUENCE_FLAG_ORIGIN | TRACK_SEQUENCE_FLAG_DISALLOW_DOORS, .woodenSupports = { WoodenSupportSubType::NeSw }, - .metalSupports = { MetalSupportPlace::Centre, true }, + .metalSupports = { MetalSupportPlace::centre, true }, }; static constexpr SequenceDescriptor kMiddleStationSeq0 = { @@ -4875,98 +4875,98 @@ namespace OpenRCT2::TrackMetaData .flags = TRACK_SEQUENCE_FLAG_DIRECTION_1 | TRACK_SEQUENCE_FLAG_DIRECTION_3 | TRACK_SEQUENCE_FLAG_ORIGIN | TRACK_SEQUENCE_FLAG_DISALLOW_DOORS, .woodenSupports = { WoodenSupportSubType::NeSw }, - .metalSupports = { MetalSupportPlace::Centre, true }, + .metalSupports = { MetalSupportPlace::centre, true }, }; static constexpr SequenceDescriptor kUp25Seq0 = { .clearance = { 0, 0, 0, 16, { 0b1111, 0b1100 }, 0 }, .allowedWallEdges = 0b1010, .woodenSupports = { WoodenSupportSubType::NeSw, WoodenSupportTransitionType::Up25Deg }, - .metalSupports = { MetalSupportPlace::Centre, true }, + .metalSupports = { MetalSupportPlace::centre, true }, }; static constexpr SequenceDescriptor kUp60Seq0 = { .clearance = { 0, 0, 0, 64, { 0b1111, 0b1100 }, 0 }, .allowedWallEdges = 0b1010, .woodenSupports = { WoodenSupportSubType::NeSw, WoodenSupportTransitionType::Up60Deg }, - .metalSupports = { MetalSupportPlace::Centre, true }, + .metalSupports = { MetalSupportPlace::centre, true }, }; static constexpr SequenceDescriptor kFlatToUp25Seq0 = { .clearance = { 0, 0, 0, 8, { 0b1111, 0 }, 0 }, .allowedWallEdges = 0b1010, .woodenSupports = { WoodenSupportSubType::NeSw, WoodenSupportTransitionType::FlatToUp25Deg }, - .metalSupports = { MetalSupportPlace::Centre, true }, + .metalSupports = { MetalSupportPlace::centre, true }, }; static constexpr SequenceDescriptor kUp25ToUp60Seq0 = { .clearance = { 0, 0, 0, 32, { 0b1111, 0b1100 }, 0 }, .allowedWallEdges = 0b1010, .woodenSupports = { WoodenSupportSubType::NeSw, WoodenSupportTransitionType::Up25DegToUp60Deg }, - .metalSupports = { MetalSupportPlace::Centre, true }, + .metalSupports = { MetalSupportPlace::centre, true }, }; static constexpr SequenceDescriptor kUp60ToUp25Seq0 = { .clearance = { 0, 0, 0, 32, { 0b1111, 0b1100 }, 0 }, .allowedWallEdges = 0b1010, .woodenSupports = { WoodenSupportSubType::NeSw, WoodenSupportTransitionType::Up60DegToUp25Deg }, - .metalSupports = { MetalSupportPlace::Centre, true }, + .metalSupports = { MetalSupportPlace::centre, true }, }; static constexpr SequenceDescriptor kUp25ToFlatSeq0 = { .clearance = { 0, 0, 0, 8, { 0b1111, 0b1100 }, 0 }, .allowedWallEdges = 0b1010, .woodenSupports = { WoodenSupportSubType::NeSw, WoodenSupportTransitionType::Up25DegToFlat }, - .metalSupports = { MetalSupportPlace::Centre, true }, + .metalSupports = { MetalSupportPlace::centre, true }, }; static constexpr SequenceDescriptor kDown25Seq0 = { .clearance = { 0, 0, 0, 16, { 0b1111, 0b0011 }, 0 }, .allowedWallEdges = 0b1010, .woodenSupports = { WoodenSupportSubType::NeSw, WoodenSupportTransitionType::Down25Deg }, - .metalSupports = { MetalSupportPlace::Centre, true }, + .metalSupports = { MetalSupportPlace::centre, true }, }; static constexpr SequenceDescriptor kDown60Seq0 = { .clearance = { 0, 0, 0, 64, { 0b1111, 0b0011 }, 0 }, .allowedWallEdges = 0b1010, .woodenSupports = { WoodenSupportSubType::NeSw, WoodenSupportTransitionType::Down60Deg }, - .metalSupports = { MetalSupportPlace::Centre, true }, + .metalSupports = { MetalSupportPlace::centre, true }, }; static constexpr SequenceDescriptor kFlatToDown25Seq0 = { .clearance = { 0, 0, 0, 8, { 0b1111, 0b0011 }, 0 }, .allowedWallEdges = 0b1010, .woodenSupports = { WoodenSupportSubType::NeSw, WoodenSupportTransitionType::FlatToDown25Deg }, - .metalSupports = { MetalSupportPlace::Centre, true }, + .metalSupports = { MetalSupportPlace::centre, true }, }; static constexpr SequenceDescriptor kDown25ToDown60Seq0 = { .clearance = { 0, 0, 0, 32, { 0b1111, 0b0011 }, 0 }, .allowedWallEdges = 0b1010, .woodenSupports = { WoodenSupportSubType::NeSw, WoodenSupportTransitionType::Down25DegToDown60Deg }, - .metalSupports = { MetalSupportPlace::Centre, true }, + .metalSupports = { MetalSupportPlace::centre, true }, }; static constexpr SequenceDescriptor kDown60ToDown25Seq0 = { .clearance = { 0, 0, 0, 32, { 0b1111, 0b0011 }, 0 }, .allowedWallEdges = 0b1010, .woodenSupports = { WoodenSupportSubType::NeSw, WoodenSupportTransitionType::Down60DegToDown25Deg }, - .metalSupports = { MetalSupportPlace::Centre, true }, + .metalSupports = { MetalSupportPlace::centre, true }, }; static constexpr SequenceDescriptor kDown25ToFlatSeq0 = { .clearance = { 0, 0, 0, 8, { 0b1111, 0 }, 0 }, .allowedWallEdges = 0b1010, .woodenSupports = { WoodenSupportSubType::NeSw, WoodenSupportTransitionType::Down25DegToFlat }, - .metalSupports = { MetalSupportPlace::Centre, true }, + .metalSupports = { MetalSupportPlace::centre, true }, }; static constexpr SequenceDescriptor kLeftQuarterTurn5TilesSeq0 = { .clearance = { 0, 0, 0, 0, { 0b1111, 0 }, 0 }, .allowedWallEdges = 0b0010, .woodenSupports = { WoodenSupportSubType::NeSw }, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, }; static constexpr SequenceDescriptor kLeftQuarterTurn5TilesSeq1 = { @@ -5002,7 +5002,7 @@ namespace OpenRCT2::TrackMetaData .clearance = { -64, -64, 0, 0, { 0b1111, 0 }, 0 }, .allowedWallEdges = 0b0001, .woodenSupports = { WoodenSupportSubType::NwSe }, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, .extraSupportRotation = -1, }; @@ -5010,7 +5010,7 @@ namespace OpenRCT2::TrackMetaData .clearance = { 0, 0, 0, 0, { 0b1111, 0 }, 0 }, .allowedWallEdges = 0b1000, .woodenSupports = { WoodenSupportSubType::NeSw }, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, }; static constexpr SequenceDescriptor kRightQuarterTurn5TilesSeq1 = { @@ -5046,7 +5046,7 @@ namespace OpenRCT2::TrackMetaData .clearance = { -64, 64, 0, 0, { 0b1111, 0 }, 0 }, .allowedWallEdges = 0b0001, .woodenSupports = { WoodenSupportSubType::NwSe }, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, .extraSupportRotation = 1, }; @@ -5054,35 +5054,35 @@ namespace OpenRCT2::TrackMetaData .clearance = { 0, 0, 0, 0, { 0b1111, 0 }, 0 }, .allowedWallEdges = 0b1010, .woodenSupports = { WoodenSupportSubType::NeSw }, - .metalSupports = { MetalSupportPlace::Centre, true }, + .metalSupports = { MetalSupportPlace::centre, true }, }; static constexpr SequenceDescriptor kFlatToRightBankSeq0 = { .clearance = { 0, 0, 0, 0, { 0b1111, 0 }, 0 }, .allowedWallEdges = 0b1010, .woodenSupports = { WoodenSupportSubType::NeSw }, - .metalSupports = { MetalSupportPlace::Centre, true }, + .metalSupports = { MetalSupportPlace::centre, true }, }; static constexpr SequenceDescriptor kLeftBankToFlatSeq0 = { .clearance = { 0, 0, 0, 0, { 0b1111, 0 }, 0 }, .allowedWallEdges = 0b1010, .woodenSupports = { WoodenSupportSubType::NeSw }, - .metalSupports = { MetalSupportPlace::Centre, true }, + .metalSupports = { MetalSupportPlace::centre, true }, }; static constexpr SequenceDescriptor kRightBankToFlatSeq0 = { .clearance = { 0, 0, 0, 0, { 0b1111, 0 }, 0 }, .allowedWallEdges = 0b1010, .woodenSupports = { WoodenSupportSubType::NeSw }, - .metalSupports = { MetalSupportPlace::Centre, true }, + .metalSupports = { MetalSupportPlace::centre, true }, }; static constexpr SequenceDescriptor kBankedLeftQuarterTurn5TilesSeq0 = { .clearance = { 0, 0, 0, 0, { 0b1111, 0 }, 0 }, .allowedWallEdges = 0b0010, .woodenSupports = { WoodenSupportSubType::NeSw }, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, }; static constexpr SequenceDescriptor kBankedLeftQuarterTurn5TilesSeq1 = { @@ -5118,7 +5118,7 @@ namespace OpenRCT2::TrackMetaData .clearance = { -64, -64, 0, 0, { 0b1111, 0 }, 0 }, .allowedWallEdges = 0b0001, .woodenSupports = { WoodenSupportSubType::NwSe }, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, .extraSupportRotation = -1, }; @@ -5126,7 +5126,7 @@ namespace OpenRCT2::TrackMetaData .clearance = { 0, 0, 0, 0, { 0b1111, 0 }, 0 }, .allowedWallEdges = 0b1000, .woodenSupports = { WoodenSupportSubType::NeSw }, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, }; static constexpr SequenceDescriptor kBankedRightQuarterTurn5TilesSeq1 = { @@ -5162,7 +5162,7 @@ namespace OpenRCT2::TrackMetaData .clearance = { -64, 64, 0, 0, { 0b1111, 0 }, 0 }, .allowedWallEdges = 0b0001, .woodenSupports = { WoodenSupportSubType::NwSe }, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, .extraSupportRotation = 1, }; @@ -5170,77 +5170,77 @@ namespace OpenRCT2::TrackMetaData .clearance = { 0, 0, 0, 8, { 0b1111, 0 }, 0 }, .allowedWallEdges = 0b1010, .woodenSupports = { WoodenSupportSubType::NeSw, WoodenSupportTransitionType::FlatToUp25Deg }, - .metalSupports = { MetalSupportPlace::Centre, true }, + .metalSupports = { MetalSupportPlace::centre, true }, }; static constexpr SequenceDescriptor kRightBankToUp25Seq0 = { .clearance = { 0, 0, 0, 8, { 0b1111, 0 }, 0 }, .allowedWallEdges = 0b1010, .woodenSupports = { WoodenSupportSubType::NeSw, WoodenSupportTransitionType::FlatToUp25Deg }, - .metalSupports = { MetalSupportPlace::Centre, true }, + .metalSupports = { MetalSupportPlace::centre, true }, }; static constexpr SequenceDescriptor kUp25ToLeftBankSeq0 = { .clearance = { 0, 0, 0, 8, { 0b1111, 0b1100 }, 0 }, .allowedWallEdges = 0b1010, .woodenSupports = { WoodenSupportSubType::NeSw, WoodenSupportTransitionType::Up25DegToFlat }, - .metalSupports = { MetalSupportPlace::Centre, true }, + .metalSupports = { MetalSupportPlace::centre, true }, }; static constexpr SequenceDescriptor kUp25ToRightBankSeq0 = { .clearance = { 0, 0, 0, 8, { 0b1111, 0b1100 }, 0 }, .allowedWallEdges = 0b1010, .woodenSupports = { WoodenSupportSubType::NeSw, WoodenSupportTransitionType::Up25DegToFlat }, - .metalSupports = { MetalSupportPlace::Centre, true }, + .metalSupports = { MetalSupportPlace::centre, true }, }; static constexpr SequenceDescriptor kLeftBankToDown25Seq0 = { .clearance = { 0, 0, 0, 8, { 0b1111, 0b0011 }, 0 }, .allowedWallEdges = 0b1010, .woodenSupports = { WoodenSupportSubType::NeSw, WoodenSupportTransitionType::FlatToDown25Deg }, - .metalSupports = { MetalSupportPlace::Centre, true }, + .metalSupports = { MetalSupportPlace::centre, true }, }; static constexpr SequenceDescriptor kRightBankToDown25Seq0 = { .clearance = { 0, 0, 0, 8, { 0b1111, 0b0011 }, 0 }, .allowedWallEdges = 0b1010, .woodenSupports = { WoodenSupportSubType::NeSw, WoodenSupportTransitionType::FlatToDown25Deg }, - .metalSupports = { MetalSupportPlace::Centre, true }, + .metalSupports = { MetalSupportPlace::centre, true }, }; static constexpr SequenceDescriptor kDown25ToLeftBankSeq0 = { .clearance = { 0, 0, 0, 8, { 0b1111, 0 }, 0 }, .allowedWallEdges = 0b1010, .woodenSupports = { WoodenSupportSubType::NeSw, WoodenSupportTransitionType::Down25DegToFlat }, - .metalSupports = { MetalSupportPlace::Centre, true }, + .metalSupports = { MetalSupportPlace::centre, true }, }; static constexpr SequenceDescriptor kDown25ToRightBankSeq0 = { .clearance = { 0, 0, 0, 8, { 0b1111, 0 }, 0 }, .allowedWallEdges = 0b1010, .woodenSupports = { WoodenSupportSubType::NeSw, WoodenSupportTransitionType::Down25DegToFlat }, - .metalSupports = { MetalSupportPlace::Centre, true }, + .metalSupports = { MetalSupportPlace::centre, true }, }; static constexpr SequenceDescriptor kLeftBankSeq0 = { .clearance = { 0, 0, 0, 0, { 0b1111, 0 }, 0 }, .allowedWallEdges = 0b1010, .woodenSupports = { WoodenSupportSubType::NeSw }, - .metalSupports = { MetalSupportPlace::Centre, true }, + .metalSupports = { MetalSupportPlace::centre, true }, }; static constexpr SequenceDescriptor kRightBankSeq0 = { .clearance = { 0, 0, 0, 0, { 0b1111, 0 }, 0 }, .allowedWallEdges = 0b1010, .woodenSupports = { WoodenSupportSubType::NeSw }, - .metalSupports = { MetalSupportPlace::Centre, true }, + .metalSupports = { MetalSupportPlace::centre, true }, }; static constexpr SequenceDescriptor kLeftQuarterTurn5TilesUp25Seq0 = { .clearance = { 0, 0, 0, 16, { 0b1111, 0b1100 }, 0 }, .allowedWallEdges = 0b0010, .woodenSupports = { WoodenSupportSubType::NeSw, WoodenSupportTransitionType::Up25Deg }, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, }; static constexpr SequenceDescriptor kLeftQuarterTurn5TilesUp25Seq1 = { @@ -5274,7 +5274,7 @@ namespace OpenRCT2::TrackMetaData .clearance = { -64, -64, 48, 16, { 0b1111, 0b0110 }, 0 }, .allowedWallEdges = 0b0001, .woodenSupports = { WoodenSupportSubType::NeSw, WoodenSupportTransitionType::Up25Deg }, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, .extraSupportRotation = -1, }; @@ -5282,7 +5282,7 @@ namespace OpenRCT2::TrackMetaData .clearance = { 0, 0, 0, 16, { 0b1111, 0b1100 }, 0 }, .allowedWallEdges = 0b1000, .woodenSupports = { WoodenSupportSubType::NeSw, WoodenSupportTransitionType::Up25Deg }, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, }; static constexpr SequenceDescriptor kRightQuarterTurn5TilesUp25Seq1 = { @@ -5316,7 +5316,7 @@ namespace OpenRCT2::TrackMetaData .clearance = { -64, 64, 48, 16, { 0b1111, 0b1001 }, 0 }, .allowedWallEdges = 0b0001, .woodenSupports = { WoodenSupportSubType::NeSw, WoodenSupportTransitionType::Up25Deg }, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, .extraSupportRotation = 1, }; @@ -5324,7 +5324,7 @@ namespace OpenRCT2::TrackMetaData .clearance = { 0, 0, 48, 16, { 0b1111, 0b0011 }, 0 }, .allowedWallEdges = 0b0010, .woodenSupports = { WoodenSupportSubType::NeSw, WoodenSupportTransitionType::Down25Deg }, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, }; static constexpr SequenceDescriptor kLeftQuarterTurn5TilesDown25Seq1 = { @@ -5358,7 +5358,7 @@ namespace OpenRCT2::TrackMetaData .clearance = { -64, -64, 0, 16, { 0b1111, 0b1001 }, 0 }, .allowedWallEdges = 0b0001, .woodenSupports = { WoodenSupportSubType::NeSw, WoodenSupportTransitionType::Up25Deg }, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, .extraSupportRotation = -1, }; @@ -5366,7 +5366,7 @@ namespace OpenRCT2::TrackMetaData .clearance = { 0, 0, 48, 16, { 0b1111, 0b0011 }, 0 }, .allowedWallEdges = 0b1000, .woodenSupports = { WoodenSupportSubType::NeSw, WoodenSupportTransitionType::Down25Deg }, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, }; static constexpr SequenceDescriptor kRightQuarterTurn5TilesDown25Seq1 = { @@ -5400,7 +5400,7 @@ namespace OpenRCT2::TrackMetaData .clearance = { -64, 64, 0, 16, { 0b1111, 0b0110 }, 0 }, .allowedWallEdges = 0b0001, .woodenSupports = { WoodenSupportSubType::NeSw, WoodenSupportTransitionType::Up25Deg }, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, .extraSupportRotation = 1, }; @@ -5455,7 +5455,7 @@ namespace OpenRCT2::TrackMetaData static constexpr SequenceDescriptor kLeftVerticalLoopSeq0 = { .clearance = { 0, 0, 0, 16, { 0b1111, 0b1100 }, 0 }, .allowedWallEdges = 0b0010, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, }; static constexpr SequenceDescriptor kLeftVerticalLoopSeq1 = { @@ -5497,13 +5497,13 @@ namespace OpenRCT2::TrackMetaData static constexpr SequenceDescriptor kLeftVerticalLoopSeq9 = { .clearance = { -32, -32, 0, 16, { 0b1111, 0b0011 }, 0 }, .allowedWallEdges = 0b1000, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, }; static constexpr SequenceDescriptor kRightVerticalLoopSeq0 = { .clearance = { 0, 0, 0, 16, { 0b1111, 0b1100 }, 0 }, .allowedWallEdges = 0b1000, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, }; static constexpr SequenceDescriptor kRightVerticalLoopSeq1 = { @@ -5545,14 +5545,14 @@ namespace OpenRCT2::TrackMetaData static constexpr SequenceDescriptor kRightVerticalLoopSeq9 = { .clearance = { -32, 32, 0, 16, { 0b1111, 0b0011 }, 0 }, .allowedWallEdges = 0b0010, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, }; static constexpr SequenceDescriptor kLeftQuarterTurn3TilesSeq0 = { .clearance = { 0, 0, 0, 0, { 0b0111, 0 }, 0 }, .allowedWallEdges = 0b0010, .woodenSupports = { WoodenSupportSubType::Corner3 }, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, }; static constexpr SequenceDescriptor kLeftQuarterTurn3TilesSeq1 = { @@ -5569,7 +5569,7 @@ namespace OpenRCT2::TrackMetaData .clearance = { -32, -32, 0, 0, { 0b0111, 0 }, 0 }, .allowedWallEdges = 0b0001, .woodenSupports = { WoodenSupportSubType::Corner3 }, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, .extraSupportRotation = -1, }; @@ -5577,7 +5577,7 @@ namespace OpenRCT2::TrackMetaData .clearance = { 0, 0, 0, 0, { 0b1011, 0 }, 0 }, .allowedWallEdges = 0b1000, .woodenSupports = { WoodenSupportSubType::Corner2 }, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, }; static constexpr SequenceDescriptor kRightQuarterTurn3TilesSeq1 = { @@ -5594,7 +5594,7 @@ namespace OpenRCT2::TrackMetaData .clearance = { -32, 32, 0, 0, { 0b1011, 0 }, 0 }, .allowedWallEdges = 0b0001, .woodenSupports = { WoodenSupportSubType::Corner2 }, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, .extraSupportRotation = 1, }; @@ -5602,7 +5602,7 @@ namespace OpenRCT2::TrackMetaData .clearance = { 0, 0, 0, 0, { 0b0111, 0 }, 0 }, .allowedWallEdges = 0b0010, .woodenSupports = { WoodenSupportSubType::Corner3 }, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, }; static constexpr SequenceDescriptor kLeftBankedQuarterTurn3TilesSeq1 = { @@ -5619,7 +5619,7 @@ namespace OpenRCT2::TrackMetaData .clearance = { -32, -32, 0, 0, { 0b0111, 0 }, 0 }, .allowedWallEdges = 0b0001, .woodenSupports = { WoodenSupportSubType::Corner3 }, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, .extraSupportRotation = -1, }; @@ -5627,7 +5627,7 @@ namespace OpenRCT2::TrackMetaData .clearance = { 0, 0, 0, 0, { 0b1011, 0 }, 0 }, .allowedWallEdges = 0b1000, .woodenSupports = { WoodenSupportSubType::Corner2 }, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, }; static constexpr SequenceDescriptor kRightBankedQuarterTurn3TilesSeq1 = { @@ -5644,7 +5644,7 @@ namespace OpenRCT2::TrackMetaData .clearance = { -32, 32, 0, 0, { 0b1011, 0 }, 0 }, .allowedWallEdges = 0b0001, .woodenSupports = { WoodenSupportSubType::Corner2 }, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, .extraSupportRotation = 1, }; @@ -5652,7 +5652,7 @@ namespace OpenRCT2::TrackMetaData .clearance = { 0, 0, 0, 16, { 0b0111, 0b0100 }, 0 }, .allowedWallEdges = 0b0010, .woodenSupports = { WoodenSupportSubType::Corner3 }, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, }; static constexpr SequenceDescriptor kLeftQuarterTurn3TilesUp25Seq1 = { @@ -5669,7 +5669,7 @@ namespace OpenRCT2::TrackMetaData .clearance = { -32, -32, 16, 16, { 0b0111, 0b0110 }, 0 }, .allowedWallEdges = 0b0001, .woodenSupports = { WoodenSupportSubType::Corner3 }, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, .extraSupportRotation = -1, }; @@ -5677,7 +5677,7 @@ namespace OpenRCT2::TrackMetaData .clearance = { 0, 0, 0, 16, { 0b1011, 0b1000 }, 0 }, .allowedWallEdges = 0b1000, .woodenSupports = { WoodenSupportSubType::Corner3 }, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, }; static constexpr SequenceDescriptor kRightQuarterTurn3TilesUp25Seq1 = { @@ -5694,7 +5694,7 @@ namespace OpenRCT2::TrackMetaData .clearance = { -32, 32, 16, 16, { 0b1011, 0b1001 }, 0 }, .allowedWallEdges = 0b0001, .woodenSupports = { WoodenSupportSubType::Corner3 }, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, .extraSupportRotation = 1, }; @@ -5702,7 +5702,7 @@ namespace OpenRCT2::TrackMetaData .clearance = { 0, 0, 16, 16, { 0b0111, 0b0011 }, 0 }, .allowedWallEdges = 0b0010, .woodenSupports = { WoodenSupportSubType::Corner3 }, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, }; static constexpr SequenceDescriptor kLeftQuarterTurn3TilesDown25Seq1 = { @@ -5719,7 +5719,7 @@ namespace OpenRCT2::TrackMetaData .clearance = { -32, -32, 0, 16, { 0b0111, 0b0001 }, 0 }, .allowedWallEdges = 0b0001, .woodenSupports = { WoodenSupportSubType::Corner3 }, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, .extraSupportRotation = -1, }; @@ -5727,7 +5727,7 @@ namespace OpenRCT2::TrackMetaData .clearance = { 0, 0, 16, 16, { 0b1011, 0b0011 }, 0 }, .allowedWallEdges = 0b1000, .woodenSupports = { WoodenSupportSubType::Corner3 }, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, }; static constexpr SequenceDescriptor kRightQuarterTurn3TilesDown25Seq1 = { @@ -5744,7 +5744,7 @@ namespace OpenRCT2::TrackMetaData .clearance = { -32, 32, 0, 16, { 0b1011, 0b0010 }, 0 }, .allowedWallEdges = 0b0001, .woodenSupports = { WoodenSupportSubType::Corner3 }, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, .extraSupportRotation = 1, }; @@ -5752,20 +5752,20 @@ namespace OpenRCT2::TrackMetaData .clearance = { 0, 0, 0, 0, { 0b0111, 0 }, 0 }, .allowedWallEdges = 0b0011, .woodenSupports = { WoodenSupportSubType::Corner3 }, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, }; static constexpr SequenceDescriptor kRightQuarterTurn1TileSeq0 = { .clearance = { 0, 0, 0, 0, { 0b1011, 0 }, 0 }, .allowedWallEdges = 0b1001, .woodenSupports = { WoodenSupportSubType::Corner2 }, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, }; static constexpr SequenceDescriptor kLeftTwistDownToUpSeq0 = { .clearance = { 0, 0, 0, 0, { 0b1111, 0 }, 0 }, .allowedWallEdges = 0b1010, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, }; static constexpr SequenceDescriptor kLeftTwistDownToUpSeq1 = { @@ -5781,7 +5781,7 @@ namespace OpenRCT2::TrackMetaData static constexpr SequenceDescriptor kRightTwistDownToUpSeq0 = { .clearance = { 0, 0, 0, 0, { 0b1111, 0 }, 0 }, .allowedWallEdges = 0b1010, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, }; static constexpr SequenceDescriptor kRightTwistDownToUpSeq1 = { @@ -5807,7 +5807,7 @@ namespace OpenRCT2::TrackMetaData static constexpr SequenceDescriptor kLeftTwistUpToDownSeq2 = { .clearance = { -64, 0, -16, 0, { 0b1111, 0 }, 0 }, .allowedWallEdges = 0b1010, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, }; static constexpr SequenceDescriptor kRightTwistUpToDownSeq0 = { @@ -5823,19 +5823,19 @@ namespace OpenRCT2::TrackMetaData static constexpr SequenceDescriptor kRightTwistUpToDownSeq2 = { .clearance = { -64, 0, -16, 0, { 0b1111, 0 }, 0 }, .allowedWallEdges = 0b1010, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, }; static constexpr SequenceDescriptor kHalfLoopUpSeq0 = { .clearance = { 0, 0, 0, 16, { 0b1111, 0b1100 }, 0 }, .allowedWallEdges = 0b1010, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, }; static constexpr SequenceDescriptor kHalfLoopUpSeq1 = { .clearance = { -32, 0, 16, 16, { 0b1111, 0b1100 }, 0 }, .allowedWallEdges = 0b1010, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, }; static constexpr SequenceDescriptor kHalfLoopUpSeq2 = { @@ -5859,19 +5859,19 @@ namespace OpenRCT2::TrackMetaData static constexpr SequenceDescriptor kHalfLoopDownSeq2 = { .clearance = { 0, 0, -136, 16, { 0b1111, 0b1100 }, 0 }, .allowedWallEdges = 0b1010, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, }; static constexpr SequenceDescriptor kHalfLoopDownSeq3 = { .clearance = { 32, 0, -152, 16, { 0b1111, 0b1100 }, 0 }, .allowedWallEdges = 0b1010, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, }; static constexpr SequenceDescriptor kLeftCorkscrewUpSeq0 = { .clearance = { 0, 0, 0, 16, { 0b1111, 0 }, 0 }, .allowedWallEdges = 0b1010, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, }; static constexpr SequenceDescriptor kLeftCorkscrewUpSeq1 = { @@ -5882,13 +5882,13 @@ namespace OpenRCT2::TrackMetaData static constexpr SequenceDescriptor kLeftCorkscrewUpSeq2 = { .clearance = { -32, -32, 48, 16, { 0b1111, 0 }, 0 }, .allowedWallEdges = 0b0101, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, }; static constexpr SequenceDescriptor kRightCorkscrewUpSeq0 = { .clearance = { 0, 0, 0, 16, { 0b1111, 0 }, 0 }, .allowedWallEdges = 0b1010, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, }; static constexpr SequenceDescriptor kRightCorkscrewUpSeq1 = { @@ -5899,13 +5899,13 @@ namespace OpenRCT2::TrackMetaData static constexpr SequenceDescriptor kRightCorkscrewUpSeq2 = { .clearance = { -32, 32, 48, 16, { 0b1111, 0 }, 0 }, .allowedWallEdges = 0b0101, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, }; static constexpr SequenceDescriptor kLeftCorkscrewDownSeq0 = { .clearance = { 0, 0, -32, 16, { 0b1111, 0 }, 0 }, .allowedWallEdges = 0b1010, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, }; static constexpr SequenceDescriptor kLeftCorkscrewDownSeq1 = { @@ -5916,13 +5916,13 @@ namespace OpenRCT2::TrackMetaData static constexpr SequenceDescriptor kLeftCorkscrewDownSeq2 = { .clearance = { -32, -32, -80, 16, { 0b1111, 0 }, 0 }, .allowedWallEdges = 0b0101, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, }; static constexpr SequenceDescriptor kRightCorkscrewDownSeq0 = { .clearance = { 0, 0, -32, 16, { 0b1111, 0 }, 0 }, .allowedWallEdges = 0b1010, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, }; static constexpr SequenceDescriptor kRightCorkscrewDownSeq1 = { @@ -5933,35 +5933,35 @@ namespace OpenRCT2::TrackMetaData static constexpr SequenceDescriptor kRightCorkscrewDownSeq2 = { .clearance = { -32, 32, -80, 16, { 0b1111, 0 }, 0 }, .allowedWallEdges = 0b0101, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, }; static constexpr SequenceDescriptor kFlatToUp60Seq0 = { .clearance = { 0, 0, 0, 24, { 0b1111, 0 }, 0 }, .allowedWallEdges = 0b1010, .woodenSupports = { WoodenSupportSubType::NeSw, WoodenSupportTransitionType::FlatToUp60Deg }, - .metalSupports = { MetalSupportPlace::Centre, true }, + .metalSupports = { MetalSupportPlace::centre, true }, }; static constexpr SequenceDescriptor kUp60ToFlatSeq0 = { .clearance = { 0, 0, 0, 24, { 0b1111, 0b1100 }, 0 }, .allowedWallEdges = 0b1010, .woodenSupports = { WoodenSupportSubType::NeSw, WoodenSupportTransitionType::Up60DegToFlat }, - .metalSupports = { MetalSupportPlace::Centre, true }, + .metalSupports = { MetalSupportPlace::centre, true }, }; static constexpr SequenceDescriptor kFlatToDown60Seq0 = { .clearance = { 0, 0, 0, 24, { 0b1111, 0b0011 }, 0 }, .allowedWallEdges = 0b1010, .woodenSupports = { WoodenSupportSubType::NeSw, WoodenSupportTransitionType::FlatToDown60Deg }, - .metalSupports = { MetalSupportPlace::Centre, true }, + .metalSupports = { MetalSupportPlace::centre, true }, }; static constexpr SequenceDescriptor kDown60ToFlatSeq0 = { .clearance = { 0, 0, 0, 24, { 0b1111, 0 }, 0 }, .allowedWallEdges = 0b1010, .woodenSupports = { WoodenSupportSubType::NeSw, WoodenSupportTransitionType::Down60DegToFlat }, - .metalSupports = { MetalSupportPlace::Centre, true }, + .metalSupports = { MetalSupportPlace::centre, true }, }; static constexpr SequenceDescriptor kTowerBaseSeq0 = { @@ -6029,85 +6029,85 @@ namespace OpenRCT2::TrackMetaData static constexpr SequenceDescriptor kFlatCoveredSeq0 = { .clearance = { 0, 0, 0, 0, { 0b1111, 0 }, 0 }, .allowedWallEdges = 0b1010, - .metalSupports = { MetalSupportPlace::Centre, true }, + .metalSupports = { MetalSupportPlace::centre, true }, }; static constexpr SequenceDescriptor kUp25CoveredSeq0 = { .clearance = { 0, 0, 0, 16, { 0b1111, 0b1100 }, 0 }, .allowedWallEdges = 0b1010, - .metalSupports = { MetalSupportPlace::Centre, true }, + .metalSupports = { MetalSupportPlace::centre, true }, }; static constexpr SequenceDescriptor kUp60CoveredSeq0 = { .clearance = { 0, 0, 0, 64, { 0b1111, 0b1100 }, 0 }, .allowedWallEdges = 0b1010, - .metalSupports = { MetalSupportPlace::Centre, true }, + .metalSupports = { MetalSupportPlace::centre, true }, }; static constexpr SequenceDescriptor kFlatToUp25CoveredSeq0 = { .clearance = { 0, 0, 0, 8, { 0b1111, 0 }, 0 }, .allowedWallEdges = 0b1010, - .metalSupports = { MetalSupportPlace::Centre, true }, + .metalSupports = { MetalSupportPlace::centre, true }, }; static constexpr SequenceDescriptor kUp25ToUp60CoveredSeq0 = { .clearance = { 0, 0, 0, 32, { 0b1111, 0b1100 }, 0 }, .allowedWallEdges = 0b1010, - .metalSupports = { MetalSupportPlace::Centre, true }, + .metalSupports = { MetalSupportPlace::centre, true }, }; static constexpr SequenceDescriptor kUp60ToUp25CoveredSeq0 = { .clearance = { 0, 0, 0, 32, { 0b1111, 0b1100 }, 0 }, .allowedWallEdges = 0b1010, - .metalSupports = { MetalSupportPlace::Centre, true }, + .metalSupports = { MetalSupportPlace::centre, true }, }; static constexpr SequenceDescriptor kUp25ToFlatCoveredSeq0 = { .clearance = { 0, 0, 0, 8, { 0b1111, 0b1100 }, 0 }, .allowedWallEdges = 0b1010, - .metalSupports = { MetalSupportPlace::Centre, true }, + .metalSupports = { MetalSupportPlace::centre, true }, }; static constexpr SequenceDescriptor kDown25CoveredSeq0 = { .clearance = { 0, 0, 0, 16, { 0b1111, 0b0011 }, 0 }, .allowedWallEdges = 0b1010, - .metalSupports = { MetalSupportPlace::Centre, true }, + .metalSupports = { MetalSupportPlace::centre, true }, }; static constexpr SequenceDescriptor kDown60CoveredSeq0 = { .clearance = { 0, 0, 0, 64, { 0b1111, 0b0011 }, 0 }, .allowedWallEdges = 0b1010, - .metalSupports = { MetalSupportPlace::Centre, true }, + .metalSupports = { MetalSupportPlace::centre, true }, }; static constexpr SequenceDescriptor kFlatToDown25CoveredSeq0 = { .clearance = { 0, 0, 0, 8, { 0b1111, 0b0011 }, 0 }, .allowedWallEdges = 0b1010, - .metalSupports = { MetalSupportPlace::Centre, true }, + .metalSupports = { MetalSupportPlace::centre, true }, }; static constexpr SequenceDescriptor kDown25ToDown60CoveredSeq0 = { .clearance = { 0, 0, 0, 32, { 0b1111, 0b0011 }, 0 }, .allowedWallEdges = 0b1010, - .metalSupports = { MetalSupportPlace::Centre, true }, + .metalSupports = { MetalSupportPlace::centre, true }, }; static constexpr SequenceDescriptor kDown60ToDown25CoveredSeq0 = { .clearance = { 0, 0, 0, 32, { 0b1111, 0b0011 }, 0 }, .allowedWallEdges = 0b1010, - .metalSupports = { MetalSupportPlace::Centre, true }, + .metalSupports = { MetalSupportPlace::centre, true }, }; static constexpr SequenceDescriptor kDown25ToFlatCoveredSeq0 = { .clearance = { 0, 0, 0, 8, { 0b1111, 0 }, 0 }, .allowedWallEdges = 0b1010, - .metalSupports = { MetalSupportPlace::Centre, true }, + .metalSupports = { MetalSupportPlace::centre, true }, }; static constexpr SequenceDescriptor kLeftQuarterTurn5TilesCoveredSeq0 = { .clearance = { 0, 0, 0, 0, { 0b1111, 0 }, 0 }, .allowedWallEdges = 0b0010, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, }; static constexpr SequenceDescriptor kLeftQuarterTurn5TilesCoveredSeq1 = { @@ -6137,14 +6137,14 @@ namespace OpenRCT2::TrackMetaData static constexpr SequenceDescriptor kLeftQuarterTurn5TilesCoveredSeq6 = { .clearance = { -64, -64, 0, 0, { 0b1111, 0 }, 0 }, .allowedWallEdges = 0b0001, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, .extraSupportRotation = -1, }; static constexpr SequenceDescriptor kRightQuarterTurn5TilesCoveredSeq0 = { .clearance = { 0, 0, 0, 0, { 0b1111, 0 }, 0 }, .allowedWallEdges = 0b1000, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, }; static constexpr SequenceDescriptor kRightQuarterTurn5TilesCoveredSeq1 = { @@ -6174,7 +6174,7 @@ namespace OpenRCT2::TrackMetaData static constexpr SequenceDescriptor kRightQuarterTurn5TilesCoveredSeq6 = { .clearance = { -64, 64, 0, 0, { 0b1111, 0 }, 0 }, .allowedWallEdges = 0b0001, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, .extraSupportRotation = 1, }; @@ -6221,7 +6221,7 @@ namespace OpenRCT2::TrackMetaData static constexpr SequenceDescriptor kLeftQuarterTurn3TilesCoveredSeq0 = { .clearance = { 0, 0, 0, 0, { 0b0111, 0 }, 0 }, .allowedWallEdges = 0b0010, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, }; static constexpr SequenceDescriptor kLeftQuarterTurn3TilesCoveredSeq1 = { @@ -6237,14 +6237,14 @@ namespace OpenRCT2::TrackMetaData static constexpr SequenceDescriptor kLeftQuarterTurn3TilesCoveredSeq3 = { .clearance = { -32, -32, 0, 0, { 0b0111, 0 }, 0 }, .allowedWallEdges = 0b0001, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, .extraSupportRotation = -1, }; static constexpr SequenceDescriptor kRightQuarterTurn3TilesCoveredSeq0 = { .clearance = { 0, 0, 0, 0, { 0b1011, 0 }, 0 }, .allowedWallEdges = 0b1000, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, }; static constexpr SequenceDescriptor kRightQuarterTurn3TilesCoveredSeq1 = { @@ -6260,7 +6260,7 @@ namespace OpenRCT2::TrackMetaData static constexpr SequenceDescriptor kRightQuarterTurn3TilesCoveredSeq3 = { .clearance = { -32, 32, 0, 0, { 0b1011, 0 }, 0 }, .allowedWallEdges = 0b0001, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, .extraSupportRotation = 1, }; @@ -6268,7 +6268,7 @@ namespace OpenRCT2::TrackMetaData .clearance = { 0, 0, 0, 0, { 0b0111, 0 }, 0 }, .allowedWallEdges = 0b0010, .woodenSupports = { WoodenSupportSubType::Corner3 }, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, }; static constexpr SequenceDescriptor kLeftHalfBankedHelixUpSmallSeq1 = { @@ -6286,7 +6286,7 @@ namespace OpenRCT2::TrackMetaData .clearance = { -32, -32, 0, 4, { 0b0111, 0 }, 0 }, .allowedWallEdges = 0b0001, .woodenSupports = { WoodenSupportSubType::Corner3 }, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, .extraSupportRotation = -1, }; @@ -6294,7 +6294,7 @@ namespace OpenRCT2::TrackMetaData .clearance = { -32, -64, 8, 0, { 0b1011, 0 }, 0 }, .allowedWallEdges = 0b0001, .woodenSupports = { WoodenSupportSubType::Corner2 }, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, .extraSupportRotation = -1, }; @@ -6313,7 +6313,7 @@ namespace OpenRCT2::TrackMetaData .clearance = { 0, -96, 8, 4, { 0b1011, 0 }, 0 }, .allowedWallEdges = 0b1000, .woodenSupports = { WoodenSupportSubType::Corner2 }, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, .extraSupportRotation = -2, }; @@ -6321,7 +6321,7 @@ namespace OpenRCT2::TrackMetaData .clearance = { 0, 0, 0, 0, { 0b1011, 0 }, 0 }, .allowedWallEdges = 0b1000, .woodenSupports = { WoodenSupportSubType::Corner2 }, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, }; static constexpr SequenceDescriptor kRightHalfBankedHelixUpSmallSeq1 = { @@ -6339,7 +6339,7 @@ namespace OpenRCT2::TrackMetaData .clearance = { -32, 32, 0, 4, { 0b1011, 0 }, 0 }, .allowedWallEdges = 0b0001, .woodenSupports = { WoodenSupportSubType::Corner2 }, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, .extraSupportRotation = 1, }; @@ -6347,7 +6347,7 @@ namespace OpenRCT2::TrackMetaData .clearance = { -32, 64, 8, 0, { 0b0111, 0 }, 0 }, .allowedWallEdges = 0b0001, .woodenSupports = { WoodenSupportSubType::Corner3 }, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, .extraSupportRotation = 1, }; @@ -6366,7 +6366,7 @@ namespace OpenRCT2::TrackMetaData .clearance = { 0, 96, 8, 4, { 0b0111, 0 }, 0 }, .allowedWallEdges = 0b0010, .woodenSupports = { WoodenSupportSubType::Corner3 }, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, .extraSupportRotation = 2, }; @@ -6374,7 +6374,7 @@ namespace OpenRCT2::TrackMetaData .clearance = { 0, 0, 8, 4, { 0b0111, 0 }, 0 }, .allowedWallEdges = 0b0010, .woodenSupports = { WoodenSupportSubType::Corner2 }, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, }; static constexpr SequenceDescriptor kLeftHalfBankedHelixDownSmallSeq1 = { @@ -6392,7 +6392,7 @@ namespace OpenRCT2::TrackMetaData .clearance = { -32, -32, 8, 0, { 0b0111, 0 }, 0 }, .allowedWallEdges = 0b0001, .woodenSupports = { WoodenSupportSubType::Corner2 }, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, .extraSupportRotation = -1, }; @@ -6400,7 +6400,7 @@ namespace OpenRCT2::TrackMetaData .clearance = { -32, -64, 0, 4, { 0b1011, 0 }, 0 }, .allowedWallEdges = 0b0001, .woodenSupports = { WoodenSupportSubType::Corner3 }, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, .extraSupportRotation = -1, }; @@ -6419,7 +6419,7 @@ namespace OpenRCT2::TrackMetaData .clearance = { 0, -96, 0, 0, { 0b1011, 0 }, 0 }, .allowedWallEdges = 0b1000, .woodenSupports = { WoodenSupportSubType::Corner3 }, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, .extraSupportRotation = -2, }; @@ -6427,7 +6427,7 @@ namespace OpenRCT2::TrackMetaData .clearance = { 0, 0, 8, 4, { 0b1011, 0 }, 0 }, .allowedWallEdges = 0b1000, .woodenSupports = { WoodenSupportSubType::Corner3 }, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, }; static constexpr SequenceDescriptor kRightHalfBankedHelixDownSmallSeq1 = { @@ -6445,7 +6445,7 @@ namespace OpenRCT2::TrackMetaData .clearance = { -32, 32, 8, 0, { 0b1011, 0 }, 0 }, .allowedWallEdges = 0b0001, .woodenSupports = { WoodenSupportSubType::Corner3 }, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, .extraSupportRotation = 1, }; @@ -6453,7 +6453,7 @@ namespace OpenRCT2::TrackMetaData .clearance = { -32, 64, 0, 4, { 0b0111, 0 }, 0 }, .allowedWallEdges = 0b0001, .woodenSupports = { WoodenSupportSubType::Corner2 }, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, .extraSupportRotation = 1, }; @@ -6472,7 +6472,7 @@ namespace OpenRCT2::TrackMetaData .clearance = { 0, 96, 0, 0, { 0b0111, 0 }, 0 }, .allowedWallEdges = 0b0010, .woodenSupports = { WoodenSupportSubType::Corner2 }, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, .extraSupportRotation = 2, }; @@ -6480,7 +6480,7 @@ namespace OpenRCT2::TrackMetaData .clearance = { 0, 0, 0, 0, { 0b1111, 0 }, 0 }, .allowedWallEdges = 0b0010, .woodenSupports = { WoodenSupportSubType::NeSw }, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, }; static constexpr SequenceDescriptor kLeftHalfBankedHelixUpLargeSeq1 = { @@ -6514,7 +6514,7 @@ namespace OpenRCT2::TrackMetaData .clearance = { -64, -64, 0, 4, { 0b1111, 0 }, 0 }, .allowedWallEdges = 0b0001, .woodenSupports = { WoodenSupportSubType::NwSe }, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, .extraSupportRotation = -1, }; @@ -6522,7 +6522,7 @@ namespace OpenRCT2::TrackMetaData .clearance = { -64, -96, 8, 0, { 0b1111, 0 }, 0 }, .allowedWallEdges = 0b0001, .woodenSupports = { WoodenSupportSubType::NwSe }, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, .extraSupportRotation = -1, }; @@ -6557,7 +6557,7 @@ namespace OpenRCT2::TrackMetaData .clearance = { 0, -160, 8, 4, { 0b1111, 0 }, 0 }, .allowedWallEdges = 0b1000, .woodenSupports = { WoodenSupportSubType::NeSw }, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, .extraSupportRotation = -2, }; @@ -6565,7 +6565,7 @@ namespace OpenRCT2::TrackMetaData .clearance = { 0, 0, 0, 0, { 0b1111, 0 }, 0 }, .allowedWallEdges = 0b1000, .woodenSupports = { WoodenSupportSubType::NeSw }, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, }; static constexpr SequenceDescriptor kRightHalfBankedHelixUpLargeSeq1 = { @@ -6599,7 +6599,7 @@ namespace OpenRCT2::TrackMetaData .clearance = { -64, 64, 0, 4, { 0b1111, 0 }, 0 }, .allowedWallEdges = 0b0001, .woodenSupports = { WoodenSupportSubType::NwSe }, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, .extraSupportRotation = 1, }; @@ -6607,7 +6607,7 @@ namespace OpenRCT2::TrackMetaData .clearance = { -64, 96, 8, 0, { 0b1111, 0 }, 0 }, .allowedWallEdges = 0b0001, .woodenSupports = { WoodenSupportSubType::NwSe }, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, .extraSupportRotation = 1, }; @@ -6642,7 +6642,7 @@ namespace OpenRCT2::TrackMetaData .clearance = { 0, 160, 8, 4, { 0b1111, 0 }, 0 }, .allowedWallEdges = 0b0010, .woodenSupports = { WoodenSupportSubType::NeSw }, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, .extraSupportRotation = 2, }; @@ -6650,7 +6650,7 @@ namespace OpenRCT2::TrackMetaData .clearance = { 0, 0, 8, 4, { 0b1111, 0 }, 0 }, .allowedWallEdges = 0b0010, .woodenSupports = { WoodenSupportSubType::NeSw }, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, }; static constexpr SequenceDescriptor kLeftHalfBankedHelixDownLargeSeq1 = { @@ -6684,7 +6684,7 @@ namespace OpenRCT2::TrackMetaData .clearance = { -64, -64, 8, 0, { 0b1111, 0 }, 0 }, .allowedWallEdges = 0b0001, .woodenSupports = { WoodenSupportSubType::NwSe }, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, .extraSupportRotation = -1, }; @@ -6692,7 +6692,7 @@ namespace OpenRCT2::TrackMetaData .clearance = { -64, -96, 0, 4, { 0b1111, 0 }, 0 }, .allowedWallEdges = 0b0001, .woodenSupports = { WoodenSupportSubType::NwSe }, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, .extraSupportRotation = -1, }; @@ -6727,7 +6727,7 @@ namespace OpenRCT2::TrackMetaData .clearance = { 0, -160, 0, 0, { 0b1111, 0 }, 0 }, .allowedWallEdges = 0b1000, .woodenSupports = { WoodenSupportSubType::NeSw }, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, .extraSupportRotation = -2, }; @@ -6735,7 +6735,7 @@ namespace OpenRCT2::TrackMetaData .clearance = { 0, 0, 8, 4, { 0b1111, 0 }, 0 }, .allowedWallEdges = 0b1000, .woodenSupports = { WoodenSupportSubType::NeSw }, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, }; static constexpr SequenceDescriptor kRightHalfBankedHelixDownLargeSeq1 = { @@ -6769,7 +6769,7 @@ namespace OpenRCT2::TrackMetaData .clearance = { -64, 64, 8, 0, { 0b1111, 0 }, 0 }, .allowedWallEdges = 0b0001, .woodenSupports = { WoodenSupportSubType::NwSe }, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, .extraSupportRotation = 1, }; @@ -6777,7 +6777,7 @@ namespace OpenRCT2::TrackMetaData .clearance = { -64, 96, 0, 4, { 0b1111, 0 }, 0 }, .allowedWallEdges = 0b0001, .woodenSupports = { WoodenSupportSubType::NwSe }, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, .extraSupportRotation = 1, }; @@ -6812,7 +6812,7 @@ namespace OpenRCT2::TrackMetaData .clearance = { 0, 160, 0, 0, { 0b1111, 0 }, 0 }, .allowedWallEdges = 0b0010, .woodenSupports = { WoodenSupportSubType::NeSw }, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, .extraSupportRotation = 2, }; @@ -6820,42 +6820,42 @@ namespace OpenRCT2::TrackMetaData .clearance = { 0, 0, 0, 64, { 0b1111, 0 }, 0 }, .allowedWallEdges = 0b0011, .woodenSupports = { WoodenSupportSubType::Corner3 }, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, }; static constexpr SequenceDescriptor kRightQuarterTurn1TileUp60Seq0 = { .clearance = { 0, 0, 0, 64, { 0b1111, 0 }, 0 }, .allowedWallEdges = 0b1001, .woodenSupports = { WoodenSupportSubType::Corner2 }, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, }; static constexpr SequenceDescriptor kLeftQuarterTurn1TileDown60Seq0 = { .clearance = { 0, 0, 0, 64, { 0b1111, 0 }, 0 }, .allowedWallEdges = 0b0011, .woodenSupports = { WoodenSupportSubType::Corner2 }, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, }; static constexpr SequenceDescriptor kRightQuarterTurn1TileDown60Seq0 = { .clearance = { 0, 0, 0, 64, { 0b1111, 0 }, 0 }, .allowedWallEdges = 0b1001, .woodenSupports = { WoodenSupportSubType::Corner3 }, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, }; static constexpr SequenceDescriptor kBrakesSeq0 = { .clearance = { 0, 0, 0, 0, { 0b1111, 0 }, 0 }, .allowedWallEdges = 0b1010, .woodenSupports = { WoodenSupportSubType::NeSw }, - .metalSupports = { MetalSupportPlace::Centre, true }, + .metalSupports = { MetalSupportPlace::centre, true }, }; static constexpr SequenceDescriptor kBoosterSeq0 = { .clearance = { 0, 0, 0, 0, { 0b1111, 0 }, 0 }, .allowedWallEdges = 0b1010, .woodenSupports = { WoodenSupportSubType::NeSw }, - .metalSupports = { MetalSupportPlace::Centre, true }, + .metalSupports = { MetalSupportPlace::centre, true }, }; static constexpr SequenceDescriptor kMazeSeq0 = { @@ -6943,7 +6943,7 @@ namespace OpenRCT2::TrackMetaData static constexpr SequenceDescriptor kLeftQuarterBankedHelixLargeUpSeq0 = { .clearance = { 0, 0, 0, 0, { 0b1111, 0 }, 0 }, .allowedWallEdges = 0b0010, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, }; static constexpr SequenceDescriptor kLeftQuarterBankedHelixLargeUpSeq1 = { @@ -6973,14 +6973,14 @@ namespace OpenRCT2::TrackMetaData static constexpr SequenceDescriptor kLeftQuarterBankedHelixLargeUpSeq6 = { .clearance = { -64, -64, 0, 12, { 0b1111, 0 }, 0 }, .allowedWallEdges = 0b0001, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, .extraSupportRotation = -1, }; static constexpr SequenceDescriptor kRightQuarterBankedHelixLargeUpSeq0 = { .clearance = { 0, 0, 0, 0, { 0b1111, 0 }, 0 }, .allowedWallEdges = 0b1000, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, }; static constexpr SequenceDescriptor kRightQuarterBankedHelixLargeUpSeq1 = { @@ -7010,14 +7010,14 @@ namespace OpenRCT2::TrackMetaData static constexpr SequenceDescriptor kRightQuarterBankedHelixLargeUpSeq6 = { .clearance = { -64, 64, 0, 12, { 0b1111, 0 }, 0 }, .allowedWallEdges = 0b0001, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, .extraSupportRotation = 1, }; static constexpr SequenceDescriptor kLeftQuarterBankedHelixLargeDownSeq0 = { .clearance = { 0, 0, 0, 12, { 0b1111, 0 }, 0 }, .allowedWallEdges = 0b0010, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, }; static constexpr SequenceDescriptor kLeftQuarterBankedHelixLargeDownSeq1 = { @@ -7047,14 +7047,14 @@ namespace OpenRCT2::TrackMetaData static constexpr SequenceDescriptor kLeftQuarterBankedHelixLargeDownSeq6 = { .clearance = { -64, -64, 0, 0, { 0b1111, 0 }, 0 }, .allowedWallEdges = 0b0001, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, .extraSupportRotation = -1, }; static constexpr SequenceDescriptor kRightQuarterBankedHelixLargeDownSeq0 = { .clearance = { 0, 0, 0, 12, { 0b1111, 0 }, 0 }, .allowedWallEdges = 0b1000, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, }; static constexpr SequenceDescriptor kRightQuarterBankedHelixLargeDownSeq1 = { @@ -7084,14 +7084,14 @@ namespace OpenRCT2::TrackMetaData static constexpr SequenceDescriptor kRightQuarterBankedHelixLargeDownSeq6 = { .clearance = { -64, 64, 0, 0, { 0b1111, 0 }, 0 }, .allowedWallEdges = 0b0001, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, .extraSupportRotation = 1, }; static constexpr SequenceDescriptor kLeftQuarterHelixLargeUpSeq0 = { .clearance = { 0, 0, 0, 0, { 0b1111, 0 }, 0 }, .allowedWallEdges = 0b0010, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, }; static constexpr SequenceDescriptor kLeftQuarterHelixLargeUpSeq1 = { @@ -7121,14 +7121,14 @@ namespace OpenRCT2::TrackMetaData static constexpr SequenceDescriptor kLeftQuarterHelixLargeUpSeq6 = { .clearance = { -64, -64, 0, 12, { 0b1111, 0 }, 0 }, .allowedWallEdges = 0b0001, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, .extraSupportRotation = -1, }; static constexpr SequenceDescriptor kRightQuarterHelixLargeUpSeq0 = { .clearance = { 0, 0, 0, 0, { 0b1111, 0 }, 0 }, .allowedWallEdges = 0b1000, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, }; static constexpr SequenceDescriptor kRightQuarterHelixLargeUpSeq1 = { @@ -7158,14 +7158,14 @@ namespace OpenRCT2::TrackMetaData static constexpr SequenceDescriptor kRightQuarterHelixLargeUpSeq6 = { .clearance = { -64, 64, 0, 12, { 0b1111, 0 }, 0 }, .allowedWallEdges = 0b0001, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, .extraSupportRotation = 1, }; static constexpr SequenceDescriptor kLeftQuarterHelixLargeDownSeq0 = { .clearance = { 0, 0, 0, 12, { 0b1111, 0 }, 0 }, .allowedWallEdges = 0b0010, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, }; static constexpr SequenceDescriptor kLeftQuarterHelixLargeDownSeq1 = { @@ -7195,14 +7195,14 @@ namespace OpenRCT2::TrackMetaData static constexpr SequenceDescriptor kLeftQuarterHelixLargeDownSeq6 = { .clearance = { -64, -64, 0, 0, { 0b1111, 0 }, 0 }, .allowedWallEdges = 0b0001, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, .extraSupportRotation = -1, }; static constexpr SequenceDescriptor kRightQuarterHelixLargeDownSeq0 = { .clearance = { 0, 0, 0, 12, { 0b1111, 0 }, 0 }, .allowedWallEdges = 0b1000, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, }; static constexpr SequenceDescriptor kRightQuarterHelixLargeDownSeq1 = { @@ -7232,7 +7232,7 @@ namespace OpenRCT2::TrackMetaData static constexpr SequenceDescriptor kRightQuarterHelixLargeDownSeq6 = { .clearance = { -64, 64, 0, 0, { 0b1111, 0 }, 0 }, .allowedWallEdges = 0b0001, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, .extraSupportRotation = 1, }; @@ -7240,14 +7240,14 @@ namespace OpenRCT2::TrackMetaData .clearance = { 0, 0, 0, 16, { 0b1111, 0b1100 }, 0 }, .allowedWallEdges = 0b1010, .woodenSupports = { WoodenSupportSubType::NeSw, WoodenSupportTransitionType::Up25Deg }, - .metalSupports = { MetalSupportPlace::Centre, true }, + .metalSupports = { MetalSupportPlace::centre, true }, }; static constexpr SequenceDescriptor kUp25RightBankedSeq0 = { .clearance = { 0, 0, 0, 16, { 0b1111, 0b1100 }, 0 }, .allowedWallEdges = 0b1010, .woodenSupports = { WoodenSupportSubType::NeSw, WoodenSupportTransitionType::Up25Deg }, - .metalSupports = { MetalSupportPlace::Centre, true }, + .metalSupports = { MetalSupportPlace::centre, true }, }; static constexpr SequenceDescriptor kWaterfallSeq0 = { @@ -7272,14 +7272,14 @@ namespace OpenRCT2::TrackMetaData .clearance = { 0, 0, 0, 16, { 0b1111, 0b0011 }, 0 }, .allowedWallEdges = 0b1010, .woodenSupports = { WoodenSupportSubType::NeSw, WoodenSupportTransitionType::Down25Deg }, - .metalSupports = { MetalSupportPlace::Centre, true }, + .metalSupports = { MetalSupportPlace::centre, true }, }; static constexpr SequenceDescriptor kDown25RightBankedSeq0 = { .clearance = { 0, 0, 0, 16, { 0b1111, 0b0011 }, 0 }, .allowedWallEdges = 0b1010, .woodenSupports = { WoodenSupportSubType::NeSw, WoodenSupportTransitionType::Down25Deg }, - .metalSupports = { MetalSupportPlace::Centre, true }, + .metalSupports = { MetalSupportPlace::centre, true }, }; static constexpr SequenceDescriptor kWatersplashSeq0 = { @@ -7316,56 +7316,56 @@ namespace OpenRCT2::TrackMetaData .clearance = { 0, 0, 0, 8, { 0b1111, 0 }, 0 }, .allowedWallEdges = 0b1010, .woodenSupports = { WoodenSupportSubType::NeSw, WoodenSupportTransitionType::FlatToUp60DegLongBaseSeq0 }, - .metalSupports = { MetalSupportPlace::Centre, true }, + .metalSupports = { MetalSupportPlace::centre, true }, }; static constexpr SequenceDescriptor kFlatToUp60LongBaseSeq1 = { .clearance = { -32, 0, 0, 16, { 0b1111, 0 }, 0 }, .allowedWallEdges = 0b1010, .woodenSupports = { WoodenSupportSubType::NeSw, WoodenSupportTransitionType::FlatToUp60DegLongBaseSeq1 }, - .metalSupports = { MetalSupportPlace::Centre, true }, + .metalSupports = { MetalSupportPlace::centre, true }, }; static constexpr SequenceDescriptor kFlatToUp60LongBaseSeq2 = { .clearance = { -64, 0, 16, 24, { 0b1111, 0 }, 0 }, .allowedWallEdges = 0b1010, .woodenSupports = { WoodenSupportSubType::NeSw, WoodenSupportTransitionType::FlatToUp60DegLongBaseSeq2 }, - .metalSupports = { MetalSupportPlace::Centre, true }, + .metalSupports = { MetalSupportPlace::centre, true }, }; static constexpr SequenceDescriptor kFlatToUp60LongBaseSeq3 = { .clearance = { -96, 0, 40, 48, { 0b1111, 0 }, 0 }, .allowedWallEdges = 0b1010, .woodenSupports = { WoodenSupportSubType::NeSw, WoodenSupportTransitionType::FlatToUp60DegLongBaseSeq3 }, - .metalSupports = { MetalSupportPlace::Centre, true }, + .metalSupports = { MetalSupportPlace::centre, true }, }; static constexpr SequenceDescriptor kUp60ToFlatLongBaseSeq0 = { .clearance = { 0, 0, 0, 48, { 0b1111, 0 }, 0 }, .allowedWallEdges = 0b1010, .woodenSupports = { WoodenSupportSubType::NeSw, WoodenSupportTransitionType::Up60DegToFlatLongBaseSeq0 }, - .metalSupports = { MetalSupportPlace::Centre, true }, + .metalSupports = { MetalSupportPlace::centre, true }, }; static constexpr SequenceDescriptor kUp60ToFlatLongBaseSeq1 = { .clearance = { -32, 0, 40, 48, { 0b1111, 0 }, 0 }, .allowedWallEdges = 0b1010, .woodenSupports = { WoodenSupportSubType::NeSw, WoodenSupportTransitionType::Up60DegToFlatLongBaseSeq1 }, - .metalSupports = { MetalSupportPlace::Centre, true }, + .metalSupports = { MetalSupportPlace::centre, true }, }; static constexpr SequenceDescriptor kUp60ToFlatLongBaseSeq2 = { .clearance = { -64, 0, 64, 24, { 0b1111, 0 }, 0 }, .allowedWallEdges = 0b1010, .woodenSupports = { WoodenSupportSubType::NeSw, WoodenSupportTransitionType::Up60DegToFlatLongBaseSeq2 }, - .metalSupports = { MetalSupportPlace::Centre, true }, + .metalSupports = { MetalSupportPlace::centre, true }, }; static constexpr SequenceDescriptor kUp60ToFlatLongBaseSeq3 = { .clearance = { -96, 0, 80, 8, { 0b1111, 0 }, 0 }, .allowedWallEdges = 0b1010, .woodenSupports = { WoodenSupportSubType::NeSw, WoodenSupportTransitionType::Up60DegToFlatLongBaseSeq3 }, - .metalSupports = { MetalSupportPlace::Centre, true }, + .metalSupports = { MetalSupportPlace::centre, true }, }; static constexpr SequenceDescriptor kWhirlpoolSeq0 = { @@ -7378,80 +7378,80 @@ namespace OpenRCT2::TrackMetaData .clearance = { 0, 0, 40, 48, { 0b1111, 0 }, 0 }, .allowedWallEdges = 0b1010, .woodenSupports = { WoodenSupportSubType::NeSw, WoodenSupportTransitionType::Down60DegToFlatLongBaseSeq0 }, - .metalSupports = { MetalSupportPlace::Centre, true }, + .metalSupports = { MetalSupportPlace::centre, true }, }; static constexpr SequenceDescriptor kDown60ToFlatLongBaseSeq1 = { .clearance = { -32, 0, 16, 24, { 0b1111, 0 }, 0 }, .allowedWallEdges = 0b1010, .woodenSupports = { WoodenSupportSubType::NeSw, WoodenSupportTransitionType::Down60DegToFlatLongBaseSeq1 }, - .metalSupports = { MetalSupportPlace::Centre, true }, + .metalSupports = { MetalSupportPlace::centre, true }, }; static constexpr SequenceDescriptor kDown60ToFlatLongBaseSeq2 = { .clearance = { -64, 0, 0, 16, { 0b1111, 0 }, 0 }, .allowedWallEdges = 0b1010, .woodenSupports = { WoodenSupportSubType::NeSw, WoodenSupportTransitionType::Down60DegToFlatLongBaseSeq2 }, - .metalSupports = { MetalSupportPlace::Centre, true }, + .metalSupports = { MetalSupportPlace::centre, true }, }; static constexpr SequenceDescriptor kDown60ToFlatLongBaseSeq3 = { .clearance = { -96, 0, 0, 8, { 0b1111, 0 }, 0 }, .allowedWallEdges = 0b1010, .woodenSupports = { WoodenSupportSubType::NeSw, WoodenSupportTransitionType::Down60DegToFlatLongBaseSeq3 }, - .metalSupports = { MetalSupportPlace::Centre, true }, + .metalSupports = { MetalSupportPlace::centre, true }, }; static constexpr SequenceDescriptor kFlatToDown60LongBaseSeq0 = { .clearance = { 0, 0, 80, 8, { 0b1111, 0 }, 0 }, .allowedWallEdges = 0b1010, .woodenSupports = { WoodenSupportSubType::NeSw, WoodenSupportTransitionType::FlatToDown60DegLongBaseSeq0 }, - .metalSupports = { MetalSupportPlace::Centre, true }, + .metalSupports = { MetalSupportPlace::centre, true }, }; static constexpr SequenceDescriptor kFlatToDown60LongBaseSeq1 = { .clearance = { -32, 0, 64, 24, { 0b1111, 0 }, 0 }, .allowedWallEdges = 0b1010, .woodenSupports = { WoodenSupportSubType::NeSw, WoodenSupportTransitionType::FlatToDown60DegLongBaseSeq1 }, - .metalSupports = { MetalSupportPlace::Centre, true }, + .metalSupports = { MetalSupportPlace::centre, true }, }; static constexpr SequenceDescriptor kFlatToDown60LongBaseSeq2 = { .clearance = { -64, 0, 40, 48, { 0b1111, 0 }, 0 }, .allowedWallEdges = 0b1010, .woodenSupports = { WoodenSupportSubType::NeSw, WoodenSupportTransitionType::FlatToDown60DegLongBaseSeq2 }, - .metalSupports = { MetalSupportPlace::Centre, true }, + .metalSupports = { MetalSupportPlace::centre, true }, }; static constexpr SequenceDescriptor kFlatToDown60LongBaseSeq3 = { .clearance = { -96, 0, 0, 48, { 0b1111, 0 }, 0 }, .allowedWallEdges = 0b1010, .woodenSupports = { WoodenSupportSubType::NeSw, WoodenSupportTransitionType::FlatToDown60DegLongBaseSeq3 }, - .metalSupports = { MetalSupportPlace::Centre, true }, + .metalSupports = { MetalSupportPlace::centre, true }, }; static constexpr SequenceDescriptor kCableLiftHillSeq0 = { .clearance = { 0, 0, 0, 8, { 0b1111, 0b1100 }, 0 }, .allowedWallEdges = 0b1010, - .metalSupports = { MetalSupportPlace::Centre, true }, + .metalSupports = { MetalSupportPlace::centre, true }, }; static constexpr SequenceDescriptor kCableLiftHillSeq1 = { .clearance = { -32, 0, 0, 8, { 0b1111, 0b0011 }, 0 }, .allowedWallEdges = 0b1010, - .metalSupports = { MetalSupportPlace::Centre, true }, + .metalSupports = { MetalSupportPlace::centre, true }, }; static constexpr SequenceDescriptor kCableLiftHillSeq2 = { .clearance = { -64, 0, -32, 32, { 0b1111, 0b0011 }, 0 }, .allowedWallEdges = 0b1010, - .metalSupports = { MetalSupportPlace::Centre, true }, + .metalSupports = { MetalSupportPlace::centre, true }, }; static constexpr SequenceDescriptor kCableLiftHillSeq3 = { .clearance = { -96, 0, -96, 64, { 0b1111, 0b0011 }, 0 }, .allowedWallEdges = 0b1010, - .metalSupports = { MetalSupportPlace::Centre, true }, + .metalSupports = { MetalSupportPlace::centre, true }, }; static constexpr SequenceDescriptor kReverseFreefallSlopeSeq0 = { @@ -7557,14 +7557,14 @@ namespace OpenRCT2::TrackMetaData .clearance = { 0, 0, 0, 24, { 0b1111, 0b0011 }, 0 }, .allowedWallEdges = 0b1010, .woodenSupports = { WoodenSupportSubType::NeSw }, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, }; static constexpr SequenceDescriptor kLeftEighthToDiagSeq0 = { .clearance = { 0, 0, 0, 0, { 0b1111, 0 }, 0 }, .allowedWallEdges = 0b0010, .woodenSupports = { WoodenSupportSubType::NeSw }, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, }; static constexpr SequenceDescriptor kLeftEighthToDiagSeq1 = { @@ -7587,14 +7587,14 @@ namespace OpenRCT2::TrackMetaData static constexpr SequenceDescriptor kLeftEighthToDiagSeq4 = { .clearance = { -64, -32, 0, 0, { 0b0001, 0 }, 0 }, - .metalSupports = { MetalSupportPlace::BottomCorner }, + .metalSupports = { MetalSupportPlace::bottomCorner }, }; static constexpr SequenceDescriptor kRightEighthToDiagSeq0 = { .clearance = { 0, 0, 0, 0, { 0b1111, 0 }, 0 }, .allowedWallEdges = 0b1000, .woodenSupports = { WoodenSupportSubType::NeSw }, - .metalSupports = { MetalSupportPlace::Centre }, + .metalSupports = { MetalSupportPlace::centre }, }; static constexpr SequenceDescriptor kRightEighthToDiagSeq1 = { @@ -7617,7 +7617,7 @@ namespace OpenRCT2::TrackMetaData static constexpr SequenceDescriptor kRightEighthToDiagSeq4 = { .clearance = { -64, 32, 0, 0, { 0b0010, 0 }, 0 }, - .metalSupports = { MetalSupportPlace::LeftCorner }, + .metalSupports = { MetalSupportPlace::leftCorner }, }; static constexpr SequenceDescriptor kLeftEighthToOrthogonalSeq0 = { diff --git a/src/openrct2/ride/TrackData.h b/src/openrct2/ride/TrackData.h index 2b321faf3c..cd12b5d585 100644 --- a/src/openrct2/ride/TrackData.h +++ b/src/openrct2/ride/TrackData.h @@ -84,7 +84,7 @@ namespace OpenRCT2::TrackMetaData struct SequenceMetalSupport { - MetalSupportPlace place = MetalSupportPlace::None; + MetalSupportPlace place = MetalSupportPlace::none; uint8_t alternates = false; }; diff --git a/src/openrct2/ride/TrackPaint.cpp b/src/openrct2/ride/TrackPaint.cpp index b532da97ad..ad3132dc59 100644 --- a/src/openrct2/ride/TrackPaint.cpp +++ b/src/openrct2/ride/TrackPaint.cpp @@ -1230,7 +1230,7 @@ void TrackPaintUtilDiagTilesPaintExtra( session, thickness, height, direction, trackSequence, sprites, defaultDiagTileOffsets, defaultDiagBoundLengths, nullptr); - if (SupportedSequences::kDiagStraightFlat[trackSequence] != MetalSupportPlace::None) + if (SupportedSequences::kDiagStraightFlat[trackSequence] != MetalSupportPlace::none) { MetalASupportsPaintSetupRotated( session, supportType, SupportedSequences::kDiagStraightFlat[trackSequence], direction, 0, height, @@ -1929,7 +1929,7 @@ void TrackPaintUtilLeftCorkscrewUpSupports(PaintSession& session, Direction dire 0xFFFF, 0); } MetalASupportsPaintSetupRotated( - session, MetalSupportType::Tubes, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours); + session, MetalSupportType::Tubes, MetalSupportPlace::centre, direction, 0, height, session.SupportColours); if (direction != 2) { PaintUtilSetSegmentSupportHeight( @@ -2066,28 +2066,28 @@ void DrawSBendLeftSupports( { case 0: MetalASupportsPaintSetupRotated( - session, supportType, MetalSupportPlace::Centre, direction, specialA, height, session.SupportColours); + session, supportType, MetalSupportPlace::centre, direction, specialA, height, session.SupportColours); break; case 1: if (direction == 0) MetalASupportsPaintSetupRotated( - session, supportType, MetalSupportPlace::TopLeftSide, direction, specialA, height, session.SupportColours); + session, supportType, MetalSupportPlace::topLeftSide, direction, specialA, height, session.SupportColours); if (direction == 1) MetalASupportsPaintSetupRotated( - session, supportType, MetalSupportPlace::TopLeftSide, direction, specialB, height, session.SupportColours); + session, supportType, MetalSupportPlace::topLeftSide, direction, specialB, height, session.SupportColours); break; case 2: if (direction == 2) MetalASupportsPaintSetupRotated( - session, supportType, MetalSupportPlace::BottomRightSide, direction, specialA, height, + session, supportType, MetalSupportPlace::bottomRightSide, direction, specialA, height, session.SupportColours); if (direction == 3) MetalASupportsPaintSetupRotated( - session, supportType, MetalSupportPlace::BottomRightSide, direction, specialB, height, + session, supportType, MetalSupportPlace::bottomRightSide, direction, specialB, height, session.SupportColours); break; case 3: - MetalASupportsPaintSetup(session, supportType, MetalSupportPlace::Centre, specialA, height, session.SupportColours); + MetalASupportsPaintSetup(session, supportType, MetalSupportPlace::centre, specialA, height, session.SupportColours); break; } } @@ -2100,29 +2100,29 @@ void DrawSBendRightSupports( { case 0: MetalASupportsPaintSetupRotated( - session, supportType, MetalSupportPlace::Centre, direction, specialA, height, session.SupportColours); + session, supportType, MetalSupportPlace::centre, direction, specialA, height, session.SupportColours); break; case 1: if (direction == 0) MetalASupportsPaintSetupRotated( - session, supportType, MetalSupportPlace::BottomRightSide, direction, specialA, height, + session, supportType, MetalSupportPlace::bottomRightSide, direction, specialA, height, session.SupportColours); if (direction == 1) MetalASupportsPaintSetupRotated( - session, supportType, MetalSupportPlace::BottomRightSide, direction, specialB, height, + session, supportType, MetalSupportPlace::bottomRightSide, direction, specialB, height, session.SupportColours); break; case 2: if (direction == 2) MetalASupportsPaintSetupRotated( - session, supportType, MetalSupportPlace::TopLeftSide, direction, specialA, height, session.SupportColours); + session, supportType, MetalSupportPlace::topLeftSide, direction, specialA, height, session.SupportColours); if (direction == 3) MetalASupportsPaintSetupRotated( - session, supportType, MetalSupportPlace::TopLeftSide, direction, specialB, height, session.SupportColours); + session, supportType, MetalSupportPlace::topLeftSide, direction, specialB, height, session.SupportColours); break; case 3: MetalASupportsPaintSetupRotated( - session, supportType, MetalSupportPlace::Centre, direction, specialA, height, session.SupportColours); + session, supportType, MetalSupportPlace::centre, direction, specialA, height, session.SupportColours); break; } } diff --git a/src/openrct2/ride/TrackPaint.h b/src/openrct2/ride/TrackPaint.h index f375a79e14..664391c363 100644 --- a/src/openrct2/ride/TrackPaint.h +++ b/src/openrct2/ride/TrackPaint.h @@ -86,10 +86,10 @@ constexpr uint8_t kTrackMap1x4[][4] = { }; constexpr MetalSupportPlace kDiagSupportPlacement[] = { - MetalSupportPlace::LeftCorner, - MetalSupportPlace::TopCorner, - MetalSupportPlace::RightCorner, - MetalSupportPlace::BottomCorner, + MetalSupportPlace::leftCorner, + MetalSupportPlace::topCorner, + MetalSupportPlace::rightCorner, + MetalSupportPlace::bottomCorner, }; enum