forked from rosebudai/OpenRCT2-Web
Rename enum members of MetalSupportPlace to lowerCamelCase
This commit is contained in:
46 files changed
+5868
-5868
No files matched your search
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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 };
|
||||
}
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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,
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
@@ -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)
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
@@ -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);
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
@@ -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(
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
@@ -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)
|
||||
{
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
@@ -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(
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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;
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
@@ -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);
|
||||
|
||||
@@ -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(
|
||||
|
||||
@@ -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(
|
||||
|
||||
@@ -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(
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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(
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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(
|
||||
|
||||
+192
-192
File diff suppressed because it is too large.
Load diff
@@ -84,7 +84,7 @@ namespace OpenRCT2::TrackMetaData
|
||||
|
||||
struct SequenceMetalSupport
|
||||
{
|
||||
MetalSupportPlace place = MetalSupportPlace::None;
|
||||
MetalSupportPlace place = MetalSupportPlace::none;
|
||||
uint8_t alternates = false;
|
||||
};
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in new issue
Block a user