forked from rosebudai/OpenRCT2-Web
Replace usages of MetalSupportGraphic with MetalSupportType
This commit is contained in:
14 files changed
+892
-3797
No files matched your search
File diff suppressed because it is too large.
Load diff
@@ -9911,8 +9911,8 @@ static void FlyingRCTrackDiagBrakesInverted(
|
||||
|
||||
if (trackSequence == 3)
|
||||
{
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportGraphic::Boxed, kDiagSupportPlacement[direction], 0, height + 39, session.SupportColours);
|
||||
MetalASupportsPaintSetupRotated(
|
||||
session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 0, height + 39, session.SupportColours);
|
||||
}
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 48);
|
||||
}
|
||||
|
||||
@@ -3093,22 +3093,6 @@ static void JuniorRCSBendLeftPaintSetup(
|
||||
{
|
||||
PaintUtilPushTunnelLeft(session, height, TunnelType::StandardFlat);
|
||||
}
|
||||
|
||||
switch (trackSequence)
|
||||
{
|
||||
case 0:
|
||||
MetalASupportsPaintSetup(
|
||||
session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours);
|
||||
break;
|
||||
case 1:
|
||||
MetalASupportsPaintSetup(
|
||||
session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height, session.SupportColours);
|
||||
break;
|
||||
case 3:
|
||||
MetalASupportsPaintSetup(
|
||||
session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours);
|
||||
break;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -3116,22 +3100,21 @@ static void JuniorRCSBendLeftPaintSetup(
|
||||
{
|
||||
PaintUtilPushTunnelRight(session, height, TunnelType::StandardFlat);
|
||||
}
|
||||
|
||||
switch (trackSequence)
|
||||
{
|
||||
case 0:
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportGraphic::ForkAlt, MetalSupportPlace::Centre, 0, height, session.SupportColours);
|
||||
break;
|
||||
case 1:
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportGraphic::ForkAlt, MetalSupportPlace::TopRightSide, 0, height, session.SupportColours);
|
||||
break;
|
||||
case 3:
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportGraphic::ForkAlt, MetalSupportPlace::Centre, 0, height, session.SupportColours);
|
||||
break;
|
||||
}
|
||||
}
|
||||
switch (trackSequence)
|
||||
{
|
||||
case 0:
|
||||
MetalASupportsPaintSetupRotated(
|
||||
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);
|
||||
break;
|
||||
case 3:
|
||||
MetalASupportsPaintSetupRotated(
|
||||
session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours);
|
||||
break;
|
||||
}
|
||||
|
||||
int32_t blockedSegments = 0;
|
||||
@@ -3203,22 +3186,6 @@ static void JuniorRCSBendRightPaintSetup(
|
||||
{
|
||||
PaintUtilPushTunnelLeft(session, height, TunnelType::StandardFlat);
|
||||
}
|
||||
|
||||
switch (trackSequence)
|
||||
{
|
||||
case 0:
|
||||
MetalASupportsPaintSetup(
|
||||
session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours);
|
||||
break;
|
||||
case 1:
|
||||
MetalASupportsPaintSetup(
|
||||
session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height, session.SupportColours);
|
||||
break;
|
||||
case 3:
|
||||
MetalASupportsPaintSetup(
|
||||
session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours);
|
||||
break;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -3226,23 +3193,22 @@ static void JuniorRCSBendRightPaintSetup(
|
||||
{
|
||||
PaintUtilPushTunnelRight(session, height, TunnelType::StandardFlat);
|
||||
}
|
||||
|
||||
switch (trackSequence)
|
||||
{
|
||||
case 0:
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportGraphic::ForkAlt, MetalSupportPlace::Centre, 0, height, session.SupportColours);
|
||||
break;
|
||||
case 1:
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportGraphic::ForkAlt, MetalSupportPlace::BottomLeftSide, 0, height,
|
||||
session.SupportColours);
|
||||
break;
|
||||
case 3:
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportGraphic::ForkAlt, MetalSupportPlace::Centre, 0, height, session.SupportColours);
|
||||
break;
|
||||
}
|
||||
}
|
||||
switch (trackSequence)
|
||||
{
|
||||
case 0:
|
||||
MetalASupportsPaintSetupRotated(
|
||||
session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours);
|
||||
break;
|
||||
case 1:
|
||||
MetalASupportsPaintSetupRotated(
|
||||
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);
|
||||
break;
|
||||
}
|
||||
|
||||
int32_t blockedSegments = 0;
|
||||
@@ -4149,18 +4115,9 @@ static void JuniorRCLeftEighthToDiagPaintSetup(
|
||||
session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours);
|
||||
break;
|
||||
case 4:
|
||||
if (direction == 0)
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportGraphic::ForkAlt, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours);
|
||||
if (direction == 1)
|
||||
MetalASupportsPaintSetup(
|
||||
session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours);
|
||||
if (direction == 2)
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportGraphic::ForkAlt, MetalSupportPlace::TopCorner, 0, height, session.SupportColours);
|
||||
if (direction == 3)
|
||||
MetalASupportsPaintSetup(
|
||||
session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours);
|
||||
MetalASupportsPaintSetupRotated(
|
||||
session, supportType.metal, MetalSupportPlace::LeftCorner, DirectionPrev(direction), 0, height,
|
||||
session.SupportColours);
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -4221,18 +4178,9 @@ static void JuniorRCRightEighthToDiagPaintSetup(
|
||||
session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours);
|
||||
break;
|
||||
case 4:
|
||||
if (direction == 0)
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportGraphic::ForkAlt, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours);
|
||||
if (direction == 1)
|
||||
MetalASupportsPaintSetup(
|
||||
session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours);
|
||||
if (direction == 2)
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportGraphic::ForkAlt, MetalSupportPlace::RightCorner, 0, height, session.SupportColours);
|
||||
if (direction == 3)
|
||||
MetalASupportsPaintSetup(
|
||||
session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours);
|
||||
MetalASupportsPaintSetupRotated(
|
||||
session, supportType.metal, MetalSupportPlace::BottomCorner, DirectionNext(direction), 0, height,
|
||||
session.SupportColours);
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -4392,18 +4340,8 @@ static void JuniorRCLeftEighthToDiagBankPaintSetup(
|
||||
session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours);
|
||||
break;
|
||||
case 4:
|
||||
if (direction == 0)
|
||||
MetalASupportsPaintSetup(
|
||||
session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours);
|
||||
if (direction == 1)
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportGraphic::ForkAlt, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours);
|
||||
if (direction == 2)
|
||||
MetalASupportsPaintSetup(
|
||||
session, supportType.metal, MetalSupportPlace::TopCorner, 0, height, session.SupportColours);
|
||||
if (direction == 3)
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportGraphic::ForkAlt, MetalSupportPlace::RightCorner, 0, height, session.SupportColours);
|
||||
MetalASupportsPaintSetupRotated(
|
||||
session, supportType.metal, MetalSupportPlace::BottomCorner, direction, 0, height, session.SupportColours);
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -4545,18 +4483,8 @@ static void JuniorRCRightEighthToDiagBankPaintSetup(
|
||||
session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours);
|
||||
break;
|
||||
case 4:
|
||||
if (direction == 0)
|
||||
MetalASupportsPaintSetup(
|
||||
session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height, session.SupportColours);
|
||||
if (direction == 1)
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportGraphic::ForkAlt, MetalSupportPlace::TopCorner, 0, height, session.SupportColours);
|
||||
if (direction == 2)
|
||||
MetalASupportsPaintSetup(
|
||||
session, supportType.metal, MetalSupportPlace::RightCorner, 0, height, session.SupportColours);
|
||||
if (direction == 3)
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportGraphic::ForkAlt, MetalSupportPlace::BottomCorner, 0, height, session.SupportColours);
|
||||
MetalASupportsPaintSetupRotated(
|
||||
session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 0, height, session.SupportColours);
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -4641,7 +4569,7 @@ static void JuniorRCTrackDiagBrakes(
|
||||
if (trackSequence == 3)
|
||||
{
|
||||
MetalASupportsPaintSetupRotated(
|
||||
session, supportType.metal, kDiagSupportPlacement[direction], direction, 0, height, session.SupportColours);
|
||||
session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 0, height, session.SupportColours);
|
||||
}
|
||||
|
||||
int32_t blockedSegments = BlockedSegments::kDiagStraightFlat[trackSequence];
|
||||
@@ -4660,7 +4588,7 @@ static void JuniorRCTrackDiagBlockBrakes(
|
||||
if (trackSequence == 3)
|
||||
{
|
||||
MetalASupportsPaintSetupRotated(
|
||||
session, supportType.metal, kDiagSupportPlacement[direction], direction, 0, height, session.SupportColours);
|
||||
session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 0, height, session.SupportColours);
|
||||
}
|
||||
|
||||
int32_t blockedSegments = BlockedSegments::kDiagStraightFlat[trackSequence];
|
||||
@@ -4681,7 +4609,7 @@ static void JuniorRCPaintTrackDiag25DegUp(
|
||||
if (trackSequence == 3)
|
||||
{
|
||||
MetalBSupportsPaintSetupRotated(
|
||||
session, supportType.metal, kDiagSupportPlacement[direction], direction, 8, height, session.SupportColours);
|
||||
session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 8, height, session.SupportColours);
|
||||
}
|
||||
|
||||
int32_t blockedSegments = BlockedSegments::kDiagStraightFlat[trackSequence];
|
||||
@@ -4702,7 +4630,7 @@ static void JuniorRCPaintTrackDiagFlatTo25DegUp(
|
||||
if (trackSequence == 3)
|
||||
{
|
||||
MetalBSupportsPaintSetupRotated(
|
||||
session, supportType.metal, kDiagSupportPlacement[direction], direction, 0, height, session.SupportColours);
|
||||
session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 0, height, session.SupportColours);
|
||||
}
|
||||
|
||||
int32_t blockedSegments = BlockedSegments::kDiagStraightFlat[trackSequence];
|
||||
@@ -4724,7 +4652,7 @@ static void JuniorRCPaintTrackDiagFlatTo60DegUp(
|
||||
if (trackSequence == 3)
|
||||
{
|
||||
MetalBSupportsPaintSetupRotated(
|
||||
session, supportType.metal, kDiagSupportPlacement[direction], direction, 0, height + 6, session.SupportColours);
|
||||
session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 0, height + 6, session.SupportColours);
|
||||
}
|
||||
|
||||
int32_t blockedSegments = BlockedSegments::kDiagStraightFlat[trackSequence];
|
||||
@@ -4745,7 +4673,7 @@ static void JuniorRCPaintTrackDiag25DegUpToFlat(
|
||||
if (trackSequence == 3)
|
||||
{
|
||||
MetalBSupportsPaintSetupRotated(
|
||||
session, supportType.metal, kDiagSupportPlacement[direction], direction, 4, height, session.SupportColours);
|
||||
session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 4, height, session.SupportColours);
|
||||
}
|
||||
|
||||
int32_t blockedSegments = BlockedSegments::kDiagStraightFlat[trackSequence];
|
||||
@@ -4767,7 +4695,7 @@ static void JuniorRCPaintTrackDiag60DegUpToFlat(
|
||||
if (trackSequence == 3)
|
||||
{
|
||||
MetalBSupportsPaintSetupRotated(
|
||||
session, supportType.metal, kDiagSupportPlacement[direction], direction, 4, height + 13, session.SupportColours);
|
||||
session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 4, height + 13, session.SupportColours);
|
||||
}
|
||||
|
||||
int32_t blockedSegments = BlockedSegments::kDiagStraightFlat[trackSequence];
|
||||
@@ -4788,7 +4716,7 @@ static void JuniorRCPaintTrackDiag25DegDown(
|
||||
if (trackSequence == 3)
|
||||
{
|
||||
MetalBSupportsPaintSetupRotated(
|
||||
session, supportType.metal, kDiagSupportPlacement[direction], direction, 8, height, session.SupportColours);
|
||||
session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 8, height, session.SupportColours);
|
||||
}
|
||||
|
||||
int32_t blockedSegments = BlockedSegments::kDiagStraightFlat[trackSequence];
|
||||
@@ -4809,7 +4737,7 @@ static void JuniorRCPaintTrackDiagFlatTo25DegDown(
|
||||
if (trackSequence == 3)
|
||||
{
|
||||
MetalBSupportsPaintSetupRotated(
|
||||
session, supportType.metal, kDiagSupportPlacement[direction], direction, 4, height, session.SupportColours);
|
||||
session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 4, height, session.SupportColours);
|
||||
}
|
||||
|
||||
int32_t blockedSegments = BlockedSegments::kDiagStraightFlat[trackSequence];
|
||||
@@ -4831,7 +4759,7 @@ static void JuniorRCPaintTrackDiagFlatTo60DegDown(
|
||||
if (trackSequence == 3)
|
||||
{
|
||||
MetalBSupportsPaintSetupRotated(
|
||||
session, supportType.metal, kDiagSupportPlacement[direction], direction, 4, height + 7, session.SupportColours);
|
||||
session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 4, height + 7, session.SupportColours);
|
||||
}
|
||||
|
||||
int32_t blockedSegments = BlockedSegments::kDiagStraightFlat[trackSequence];
|
||||
@@ -4852,7 +4780,7 @@ static void JuniorRCPaintTrackDiag25DegDownToFlat(
|
||||
if (trackSequence == 3)
|
||||
{
|
||||
MetalBSupportsPaintSetupRotated(
|
||||
session, supportType.metal, kDiagSupportPlacement[direction], direction, 0, height, session.SupportColours);
|
||||
session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 0, height, session.SupportColours);
|
||||
}
|
||||
|
||||
int32_t blockedSegments = BlockedSegments::kDiagStraightFlat[trackSequence];
|
||||
@@ -4874,7 +4802,7 @@ static void JuniorRCPaintTrackDiag60DegDownToFlat(
|
||||
if (trackSequence == 3)
|
||||
{
|
||||
MetalBSupportsPaintSetupRotated(
|
||||
session, supportType.metal, kDiagSupportPlacement[direction], direction, 0, height, session.SupportColours);
|
||||
session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 0, height, session.SupportColours);
|
||||
}
|
||||
|
||||
int32_t blockedSegments = BlockedSegments::kDiagStraightFlat[trackSequence];
|
||||
@@ -4900,7 +4828,7 @@ static void JuniorRCDiagFlatToLeftBankPaintSetup(
|
||||
if (trackSequence == 3)
|
||||
{
|
||||
MetalASupportsPaintSetupRotated(
|
||||
session, supportType.metal, kDiagSupportPlacement[direction], direction, 0, height, session.SupportColours);
|
||||
session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 0, height, session.SupportColours);
|
||||
}
|
||||
|
||||
int32_t blockedSegments = BlockedSegments::kDiagStraightFlat[trackSequence];
|
||||
@@ -4926,7 +4854,7 @@ static void JuniorRCDiagFlatToRightBankPaintSetup(
|
||||
if (trackSequence == 3)
|
||||
{
|
||||
MetalASupportsPaintSetupRotated(
|
||||
session, supportType.metal, kDiagSupportPlacement[direction], direction, 0, height, session.SupportColours);
|
||||
session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 0, height, session.SupportColours);
|
||||
}
|
||||
|
||||
int32_t blockedSegments = BlockedSegments::kDiagStraightFlat[trackSequence];
|
||||
@@ -4952,7 +4880,7 @@ static void JuniorRCDiagLeftBankToFlatPaintSetup(
|
||||
if (trackSequence == 3)
|
||||
{
|
||||
MetalASupportsPaintSetupRotated(
|
||||
session, supportType.metal, kDiagSupportPlacement[direction], direction, 0, height, session.SupportColours);
|
||||
session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 0, height, session.SupportColours);
|
||||
}
|
||||
|
||||
int32_t blockedSegments = BlockedSegments::kDiagStraightFlat[trackSequence];
|
||||
@@ -4978,7 +4906,7 @@ static void JuniorRCDiagRightBankToFlatPaintSetup(
|
||||
if (trackSequence == 3)
|
||||
{
|
||||
MetalASupportsPaintSetupRotated(
|
||||
session, supportType.metal, kDiagSupportPlacement[direction], direction, 0, height, session.SupportColours);
|
||||
session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 0, height, session.SupportColours);
|
||||
}
|
||||
|
||||
int32_t blockedSegments = BlockedSegments::kDiagStraightFlat[trackSequence];
|
||||
@@ -5004,7 +4932,7 @@ static void JuniorRCDiagLeftBankTo25DegUpPaintSetup(
|
||||
if (trackSequence == 3)
|
||||
{
|
||||
MetalBSupportsPaintSetupRotated(
|
||||
session, supportType.metal, kDiagSupportPlacement[direction], direction, 0, height, session.SupportColours);
|
||||
session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 0, height, session.SupportColours);
|
||||
}
|
||||
|
||||
int32_t blockedSegments = BlockedSegments::kDiagStraightFlat[trackSequence];
|
||||
@@ -5030,7 +4958,7 @@ static void JuniorRCDiagRightBankTo25DegUpPaintSetup(
|
||||
if (trackSequence == 3)
|
||||
{
|
||||
MetalBSupportsPaintSetupRotated(
|
||||
session, supportType.metal, kDiagSupportPlacement[direction], direction, 0, height, session.SupportColours);
|
||||
session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 0, height, session.SupportColours);
|
||||
}
|
||||
|
||||
int32_t blockedSegments = BlockedSegments::kDiagStraightFlat[trackSequence];
|
||||
@@ -5056,7 +4984,7 @@ static void JuniorRCDiag25DegUpToLeftBankPaintSetup(
|
||||
if (trackSequence == 3)
|
||||
{
|
||||
MetalBSupportsPaintSetupRotated(
|
||||
session, supportType.metal, kDiagSupportPlacement[direction], direction, 4, height, session.SupportColours);
|
||||
session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 4, height, session.SupportColours);
|
||||
}
|
||||
|
||||
int32_t blockedSegments = BlockedSegments::kDiagStraightFlat[trackSequence];
|
||||
@@ -5082,7 +5010,7 @@ static void JuniorRCDiag25DegUpToRightBankPaintSetup(
|
||||
if (trackSequence == 3)
|
||||
{
|
||||
MetalBSupportsPaintSetupRotated(
|
||||
session, supportType.metal, kDiagSupportPlacement[direction], direction, 4, height, session.SupportColours);
|
||||
session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 4, height, session.SupportColours);
|
||||
}
|
||||
|
||||
int32_t blockedSegments = BlockedSegments::kDiagStraightFlat[trackSequence];
|
||||
@@ -5108,7 +5036,7 @@ static void JuniorRCDiagLeftBankTo25DegDownPaintSetup(
|
||||
if (trackSequence == 3)
|
||||
{
|
||||
MetalBSupportsPaintSetupRotated(
|
||||
session, supportType.metal, kDiagSupportPlacement[direction], direction, 4, height, session.SupportColours);
|
||||
session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 4, height, session.SupportColours);
|
||||
}
|
||||
|
||||
int32_t blockedSegments = BlockedSegments::kDiagStraightFlat[trackSequence];
|
||||
@@ -5134,7 +5062,7 @@ static void JuniorRCDiagRightBankTo25DegDownPaintSetup(
|
||||
if (trackSequence == 3)
|
||||
{
|
||||
MetalBSupportsPaintSetupRotated(
|
||||
session, supportType.metal, kDiagSupportPlacement[direction], direction, 4, height, session.SupportColours);
|
||||
session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 4, height, session.SupportColours);
|
||||
}
|
||||
|
||||
int32_t blockedSegments = BlockedSegments::kDiagStraightFlat[trackSequence];
|
||||
@@ -5160,7 +5088,7 @@ static void JuniorRCDiag25DegDownToLeftBankPaintSetup(
|
||||
if (trackSequence == 3)
|
||||
{
|
||||
MetalBSupportsPaintSetupRotated(
|
||||
session, supportType.metal, kDiagSupportPlacement[direction], direction, 0, height, session.SupportColours);
|
||||
session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 0, height, session.SupportColours);
|
||||
}
|
||||
|
||||
int32_t blockedSegments = BlockedSegments::kDiagStraightFlat[trackSequence];
|
||||
@@ -5186,7 +5114,7 @@ static void JuniorRCDiag25DegDownToRightBankPaintSetup(
|
||||
if (trackSequence == 3)
|
||||
{
|
||||
MetalBSupportsPaintSetupRotated(
|
||||
session, supportType.metal, kDiagSupportPlacement[direction], direction, 0, height, session.SupportColours);
|
||||
session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 0, height, session.SupportColours);
|
||||
}
|
||||
|
||||
int32_t blockedSegments = BlockedSegments::kDiagStraightFlat[trackSequence];
|
||||
@@ -5221,7 +5149,7 @@ static void JuniorRCDiagLeftBankPaintSetup(
|
||||
if (trackSequence == 3)
|
||||
{
|
||||
MetalASupportsPaintSetupRotated(
|
||||
session, supportType.metal, kDiagSupportPlacement[direction], direction, 0, height, session.SupportColours);
|
||||
session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 0, height, session.SupportColours);
|
||||
}
|
||||
|
||||
int32_t blockedSegments = BlockedSegments::kDiagStraightFlat[trackSequence];
|
||||
@@ -5242,7 +5170,7 @@ static void JuniorRCDiagRightBankPaintSetup(
|
||||
if (trackSequence == 3)
|
||||
{
|
||||
MetalASupportsPaintSetupRotated(
|
||||
session, supportType.metal, kDiagSupportPlacement[direction], direction, 0, height, session.SupportColours);
|
||||
session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 0, height, session.SupportColours);
|
||||
}
|
||||
|
||||
int32_t blockedSegments = BlockedSegments::kDiagStraightFlat[trackSequence];
|
||||
@@ -5494,7 +5422,7 @@ static void JuniorRCPaintTrackDiag60DegUp(
|
||||
if (trackSequence == 3)
|
||||
{
|
||||
MetalBSupportsPaintSetupRotated(
|
||||
session, supportType.metal, kDiagSupportPlacement[direction], direction, 36, height, session.SupportColours);
|
||||
session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 36, height, session.SupportColours);
|
||||
}
|
||||
|
||||
int32_t blockedSegments = BlockedSegments::kDiagStraightFlat[trackSequence];
|
||||
@@ -5516,7 +5444,7 @@ static void JuniorRCPaintTrackDiag60DegDown(
|
||||
if (trackSequence == 3)
|
||||
{
|
||||
MetalBSupportsPaintSetupRotated(
|
||||
session, supportType.metal, kDiagSupportPlacement[direction], direction, 28, height, session.SupportColours);
|
||||
session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 28, height, session.SupportColours);
|
||||
}
|
||||
|
||||
int32_t blockedSegments = BlockedSegments::kDiagStraightFlat[trackSequence];
|
||||
@@ -5538,7 +5466,7 @@ static void JuniorRCPaintTrackDiag25DegUpTo60DegUp(
|
||||
if (trackSequence == 3)
|
||||
{
|
||||
MetalBSupportsPaintSetupRotated(
|
||||
session, supportType.metal, kDiagSupportPlacement[direction], direction, 16, height, session.SupportColours);
|
||||
session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 16, height, session.SupportColours);
|
||||
}
|
||||
|
||||
int32_t blockedSegments = BlockedSegments::kDiagStraightFlat[trackSequence];
|
||||
@@ -5570,7 +5498,7 @@ static void JuniorRCPaintTrackDiag60DegUpTo25DegUp(
|
||||
if (trackSequence == 3)
|
||||
{
|
||||
MetalBSupportsPaintSetupRotated(
|
||||
session, supportType.metal, kDiagSupportPlacement[direction], direction, 21, height, session.SupportColours);
|
||||
session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 21, height, session.SupportColours);
|
||||
}
|
||||
|
||||
int32_t blockedSegments = BlockedSegments::kDiagStraightFlat[trackSequence];
|
||||
@@ -5602,7 +5530,7 @@ static void JuniorRCPaintTrackDiag25DegDownTo60DegDown(
|
||||
if (trackSequence == 3)
|
||||
{
|
||||
MetalBSupportsPaintSetupRotated(
|
||||
session, supportType.metal, kDiagSupportPlacement[direction], direction, 17, height, session.SupportColours);
|
||||
session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 17, height, session.SupportColours);
|
||||
}
|
||||
|
||||
int32_t blockedSegments = BlockedSegments::kDiagStraightFlat[trackSequence];
|
||||
@@ -5624,7 +5552,7 @@ static void JuniorRCPaintTrackDiag60DegDownTo25DegDown(
|
||||
if (trackSequence == 3)
|
||||
{
|
||||
MetalBSupportsPaintSetupRotated(
|
||||
session, supportType.metal, kDiagSupportPlacement[direction], direction, 8, height, session.SupportColours);
|
||||
session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 8, height, session.SupportColours);
|
||||
}
|
||||
|
||||
int32_t blockedSegments = BlockedSegments::kDiagStraightFlat[trackSequence];
|
||||
|
||||
@@ -2355,9 +2355,9 @@ static void LoopingRCTrackLeftVerticalLoop(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session.TrackColours.WithIndex(15350), { 16, 0, height },
|
||||
{ { 16, 0, height }, { 3, 16, 119 } });
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportGraphic::ThickCentred, MetalSupportPlace::LeftCorner, 0, height - 8,
|
||||
session.TrackColours);
|
||||
MetalASupportsPaintSetupRotated(
|
||||
session, MetalSupportType::Thick, MetalSupportPlace::RightCorner, DirectionReverse(direction), 0,
|
||||
height - 8, session.TrackColours);
|
||||
PaintAddImageAsChildRotated(
|
||||
session, direction, session.TrackColours.WithIndex(15364), { 16, 0, height },
|
||||
{ { 16, 0, height }, { 3, 16, 119 } });
|
||||
@@ -2366,9 +2366,9 @@ static void LoopingRCTrackLeftVerticalLoop(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session.TrackColours.WithIndex(15358), { 12, 0, height },
|
||||
{ { 12, 0, height }, { 3, 16, 119 } });
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportGraphic::ThickAltCentred, MetalSupportPlace::TopCorner, 0, height - 8,
|
||||
session.TrackColours);
|
||||
MetalASupportsPaintSetupRotated(
|
||||
session, MetalSupportType::Thick, MetalSupportPlace::RightCorner, DirectionReverse(direction), 0,
|
||||
height - 8, session.TrackColours);
|
||||
PaintAddImageAsChildRotated(
|
||||
session, direction, session.TrackColours.WithIndex(15366), { 12, 0, height },
|
||||
{ { 12, 0, height }, { 3, 16, 119 } });
|
||||
@@ -2377,9 +2377,9 @@ static void LoopingRCTrackLeftVerticalLoop(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session.TrackColours.WithIndex(15353), { 10, 16, height },
|
||||
{ { 10, 16, height }, { 4, 16, 119 } });
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportGraphic::Thick, MetalSupportPlace::RightCorner, 0, height - 8,
|
||||
session.TrackColours);
|
||||
MetalASupportsPaintSetupRotated(
|
||||
session, MetalSupportType::Thick, MetalSupportPlace::RightCorner, DirectionReverse(direction), 0,
|
||||
height - 8, session.TrackColours);
|
||||
PaintAddImageAsChildRotated(
|
||||
session, direction, session.TrackColours.WithIndex(15365), { 10, 16, height },
|
||||
{ { 10, 16, height }, { 4, 16, 119 } });
|
||||
@@ -2388,9 +2388,9 @@ static void LoopingRCTrackLeftVerticalLoop(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session.TrackColours.WithIndex(15361), { 16, 16, height },
|
||||
{ { 16, 16, height }, { 2, 16, 119 } });
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportGraphic::ThickAlt, MetalSupportPlace::BottomCorner, 0, height - 8,
|
||||
session.TrackColours);
|
||||
MetalASupportsPaintSetupRotated(
|
||||
session, MetalSupportType::Thick, MetalSupportPlace::RightCorner, DirectionReverse(direction), 0,
|
||||
height - 8, session.TrackColours);
|
||||
PaintAddImageAsChildRotated(
|
||||
session, direction, session.TrackColours.WithIndex(15367), { 16, 16, height },
|
||||
{ { 16, 16, height }, { 2, 16, 119 } });
|
||||
@@ -2479,8 +2479,8 @@ static void LoopingRCTrackLeftVerticalLoop(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session.TrackColours.WithIndex(15353), { 10, 16, height },
|
||||
{ { 10, 16, height }, { 4, 16, 119 } });
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportGraphic::Thick, MetalSupportPlace::RightCorner, 0, height - 8,
|
||||
MetalASupportsPaintSetupRotated(
|
||||
session, MetalSupportType::Thick, MetalSupportPlace::RightCorner, direction, 0, height - 8,
|
||||
session.TrackColours);
|
||||
PaintAddImageAsChildRotated(
|
||||
session, direction, session.TrackColours.WithIndex(15365), { 10, 16, height },
|
||||
@@ -2490,8 +2490,8 @@ static void LoopingRCTrackLeftVerticalLoop(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session.TrackColours.WithIndex(15361), { 16, 16, height },
|
||||
{ { 16, 16, height }, { 2, 16, 119 } });
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportGraphic::ThickAlt, MetalSupportPlace::BottomCorner, 0, height - 8,
|
||||
MetalASupportsPaintSetupRotated(
|
||||
session, MetalSupportType::Thick, MetalSupportPlace::RightCorner, direction, 0, height - 8,
|
||||
session.TrackColours);
|
||||
PaintAddImageAsChildRotated(
|
||||
session, direction, session.TrackColours.WithIndex(15367), { 16, 16, height },
|
||||
@@ -2501,8 +2501,8 @@ static void LoopingRCTrackLeftVerticalLoop(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session.TrackColours.WithIndex(15350), { 16, 0, height },
|
||||
{ { 16, 0, height }, { 3, 16, 119 } });
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportGraphic::ThickCentred, MetalSupportPlace::LeftCorner, 0, height - 8,
|
||||
MetalASupportsPaintSetupRotated(
|
||||
session, MetalSupportType::Thick, MetalSupportPlace::RightCorner, direction, 0, height - 8,
|
||||
session.TrackColours);
|
||||
PaintAddImageAsChildRotated(
|
||||
session, direction, session.TrackColours.WithIndex(15364), { 16, 0, height },
|
||||
@@ -2512,8 +2512,8 @@ static void LoopingRCTrackLeftVerticalLoop(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session.TrackColours.WithIndex(15358), { 12, 0, height },
|
||||
{ { 12, 0, height }, { 3, 16, 119 } });
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportGraphic::ThickAltCentred, MetalSupportPlace::TopCorner, 0, height - 8,
|
||||
MetalASupportsPaintSetupRotated(
|
||||
session, MetalSupportType::Thick, MetalSupportPlace::RightCorner, direction, 0, height - 8,
|
||||
session.TrackColours);
|
||||
PaintAddImageAsChildRotated(
|
||||
session, direction, session.TrackColours.WithIndex(15366), { 12, 0, height },
|
||||
@@ -2664,8 +2664,8 @@ static void LoopingRCTrackRightVerticalLoop(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session.TrackColours.WithIndex(15381), { 16, 16, height },
|
||||
{ { 16, 16, height }, { 2, 16, 119 } });
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportGraphic::Thick, MetalSupportPlace::BottomCorner, 0, height - 8,
|
||||
MetalASupportsPaintSetupRotated(
|
||||
session, MetalSupportType::Thick, MetalSupportPlace::BottomCorner, direction, 0, height - 8,
|
||||
session.TrackColours);
|
||||
PaintAddImageAsChildRotated(
|
||||
session, direction, session.TrackColours.WithIndex(15384), { 16, 16, height },
|
||||
@@ -2675,8 +2675,8 @@ static void LoopingRCTrackRightVerticalLoop(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session.TrackColours.WithIndex(15373), { 10, 16, height },
|
||||
{ { 10, 16, height }, { 4, 16, 119 } });
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportGraphic::ThickAlt, MetalSupportPlace::LeftCorner, 0, height - 8,
|
||||
MetalASupportsPaintSetupRotated(
|
||||
session, MetalSupportType::Thick, MetalSupportPlace::BottomCorner, direction, 0, height - 8,
|
||||
session.TrackColours);
|
||||
PaintAddImageAsChildRotated(
|
||||
session, direction, session.TrackColours.WithIndex(15386), { 10, 16, height },
|
||||
@@ -2686,8 +2686,8 @@ static void LoopingRCTrackRightVerticalLoop(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session.TrackColours.WithIndex(15378), { 12, 0, height },
|
||||
{ { 12, 0, height }, { 3, 16, 119 } });
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportGraphic::ThickCentred, MetalSupportPlace::TopCorner, 0, height - 8,
|
||||
MetalASupportsPaintSetupRotated(
|
||||
session, MetalSupportType::Thick, MetalSupportPlace::BottomCorner, direction, 0, height - 8,
|
||||
session.TrackColours);
|
||||
PaintAddImageAsChildRotated(
|
||||
session, direction, session.TrackColours.WithIndex(15385), { 12, 0, height },
|
||||
@@ -2697,8 +2697,8 @@ static void LoopingRCTrackRightVerticalLoop(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session.TrackColours.WithIndex(15370), { 16, 0, height },
|
||||
{ { 16, 0, height }, { 2, 16, 119 } });
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportGraphic::ThickAltCentred, MetalSupportPlace::RightCorner, 0, height - 8,
|
||||
MetalASupportsPaintSetupRotated(
|
||||
session, MetalSupportType::Thick, MetalSupportPlace::BottomCorner, direction, 0, height - 8,
|
||||
session.TrackColours);
|
||||
PaintAddImageAsChildRotated(
|
||||
session, direction, session.TrackColours.WithIndex(15387), { 16, 0, height },
|
||||
@@ -2764,9 +2764,9 @@ static void LoopingRCTrackRightVerticalLoop(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session.TrackColours.WithIndex(15378), { 12, 0, height },
|
||||
{ { 12, 0, height }, { 3, 16, 119 } });
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportGraphic::ThickCentred, MetalSupportPlace::TopCorner, 0, height - 8,
|
||||
session.TrackColours);
|
||||
MetalASupportsPaintSetupRotated(
|
||||
session, MetalSupportType::Thick, MetalSupportPlace::BottomCorner, DirectionReverse(direction), 0,
|
||||
height - 8, session.TrackColours);
|
||||
PaintAddImageAsChildRotated(
|
||||
session, direction, session.TrackColours.WithIndex(15385), { 12, 0, height },
|
||||
{ { 12, 0, height }, { 3, 16, 119 } });
|
||||
@@ -2775,9 +2775,9 @@ static void LoopingRCTrackRightVerticalLoop(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session.TrackColours.WithIndex(15370), { 16, 0, height },
|
||||
{ { 16, 0, height }, { 2, 16, 119 } });
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportGraphic::ThickAltCentred, MetalSupportPlace::RightCorner, 0, height - 8,
|
||||
session.TrackColours);
|
||||
MetalASupportsPaintSetupRotated(
|
||||
session, MetalSupportType::Thick, MetalSupportPlace::BottomCorner, DirectionReverse(direction), 0,
|
||||
height - 8, session.TrackColours);
|
||||
PaintAddImageAsChildRotated(
|
||||
session, direction, session.TrackColours.WithIndex(15387), { 16, 0, height },
|
||||
{ { 16, 0, height }, { 2, 16, 119 } });
|
||||
@@ -2786,9 +2786,9 @@ static void LoopingRCTrackRightVerticalLoop(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session.TrackColours.WithIndex(15381), { 16, 16, height },
|
||||
{ { 16, 16, height }, { 2, 16, 119 } });
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportGraphic::Thick, MetalSupportPlace::BottomCorner, 0, height - 8,
|
||||
session.TrackColours);
|
||||
MetalASupportsPaintSetupRotated(
|
||||
session, MetalSupportType::Thick, MetalSupportPlace::BottomCorner, DirectionReverse(direction), 0,
|
||||
height - 8, session.TrackColours);
|
||||
PaintAddImageAsChildRotated(
|
||||
session, direction, session.TrackColours.WithIndex(15384), { 16, 16, height },
|
||||
{ { 16, 16, height }, { 2, 16, 119 } });
|
||||
@@ -2797,9 +2797,9 @@ static void LoopingRCTrackRightVerticalLoop(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session.TrackColours.WithIndex(15373), { 10, 16, height },
|
||||
{ { 10, 16, height }, { 4, 16, 119 } });
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportGraphic::ThickAlt, MetalSupportPlace::LeftCorner, 0, height - 8,
|
||||
session.TrackColours);
|
||||
MetalASupportsPaintSetupRotated(
|
||||
session, MetalSupportType::Thick, MetalSupportPlace::BottomCorner, DirectionReverse(direction), 0,
|
||||
height - 8, session.TrackColours);
|
||||
PaintAddImageAsChildRotated(
|
||||
session, direction, session.TrackColours.WithIndex(15386), { 10, 16, height },
|
||||
{ { 10, 16, height }, { 4, 16, 119 } });
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
@@ -69,19 +69,8 @@ static void MiniSuspendedRCTrackFlat(
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
if (TrackPaintUtilShouldPaintSupports(session.MapPosition))
|
||||
{
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
case 2:
|
||||
MetalASupportsPaintSetup(
|
||||
session, supportType.metal, MetalSupportPlace::Centre, 0, height + 30, session.SupportColours);
|
||||
break;
|
||||
case 1:
|
||||
case 3:
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportGraphic::ForkAlt, MetalSupportPlace::Centre, 0, height + 30, session.SupportColours);
|
||||
break;
|
||||
}
|
||||
MetalASupportsPaintSetupRotated(
|
||||
session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height + 30, session.SupportColours);
|
||||
}
|
||||
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TunnelType::StandardFlat);
|
||||
@@ -176,27 +165,8 @@ static void MiniSuspendedRCTrack25DegUp(
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
if (TrackPaintUtilShouldPaintSupports(session.MapPosition))
|
||||
{
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
MetalASupportsPaintSetup(
|
||||
session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 46, session.SupportColours);
|
||||
break;
|
||||
case 1:
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportGraphic::ForkAlt, MetalSupportPlace::BottomRightSide, 0, height + 46,
|
||||
session.SupportColours);
|
||||
break;
|
||||
case 2:
|
||||
MetalASupportsPaintSetup(
|
||||
session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 46, session.SupportColours);
|
||||
break;
|
||||
case 3:
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportGraphic::ForkAlt, MetalSupportPlace::TopLeftSide, 0, height + 46,
|
||||
session.SupportColours);
|
||||
break;
|
||||
}
|
||||
MetalASupportsPaintSetupRotated(
|
||||
session, supportType.metal, MetalSupportPlace::TopRightSide, direction, 0, height + 46, session.SupportColours);
|
||||
}
|
||||
|
||||
if (direction == 0 || direction == 3)
|
||||
@@ -271,27 +241,8 @@ static void MiniSuspendedRCTrackFlatTo25DegUp(
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
if (TrackPaintUtilShouldPaintSupports(session.MapPosition))
|
||||
{
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
MetalASupportsPaintSetup(
|
||||
session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 38, session.SupportColours);
|
||||
break;
|
||||
case 1:
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportGraphic::ForkAlt, MetalSupportPlace::BottomRightSide, 0, height + 38,
|
||||
session.SupportColours);
|
||||
break;
|
||||
case 2:
|
||||
MetalASupportsPaintSetup(
|
||||
session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 38, session.SupportColours);
|
||||
break;
|
||||
case 3:
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportGraphic::ForkAlt, MetalSupportPlace::TopLeftSide, 0, height + 38,
|
||||
session.SupportColours);
|
||||
break;
|
||||
}
|
||||
MetalASupportsPaintSetupRotated(
|
||||
session, supportType.metal, MetalSupportPlace::TopRightSide, direction, 0, height + 38, session.SupportColours);
|
||||
}
|
||||
|
||||
if (direction == 0 || direction == 3)
|
||||
@@ -366,27 +317,8 @@ static void MiniSuspendedRCTrack25DegUpToFlat(
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
if (TrackPaintUtilShouldPaintSupports(session.MapPosition))
|
||||
{
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
MetalASupportsPaintSetup(
|
||||
session, supportType.metal, MetalSupportPlace::TopRightSide, 0, height + 38, session.SupportColours);
|
||||
break;
|
||||
case 1:
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportGraphic::ForkAlt, MetalSupportPlace::BottomRightSide, 0, height + 38,
|
||||
session.SupportColours);
|
||||
break;
|
||||
case 2:
|
||||
MetalASupportsPaintSetup(
|
||||
session, supportType.metal, MetalSupportPlace::BottomLeftSide, 0, height + 38, session.SupportColours);
|
||||
break;
|
||||
case 3:
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportGraphic::ForkAlt, MetalSupportPlace::TopLeftSide, 0, height + 38,
|
||||
session.SupportColours);
|
||||
break;
|
||||
}
|
||||
MetalASupportsPaintSetupRotated(
|
||||
session, supportType.metal, MetalSupportPlace::TopRightSide, direction, 0, height + 38, session.SupportColours);
|
||||
}
|
||||
|
||||
if (direction == 0 || direction == 3)
|
||||
@@ -460,20 +392,8 @@ static void MiniSuspendedRCTrackLeftQuarterTurn5(
|
||||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
case 2:
|
||||
MetalASupportsPaintSetup(
|
||||
session, supportType.metal, MetalSupportPlace::Centre, 0, height + 30, session.SupportColours);
|
||||
break;
|
||||
case 1:
|
||||
case 3:
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportGraphic::ForkAlt, MetalSupportPlace::Centre, 0, height + 30,
|
||||
session.SupportColours);
|
||||
break;
|
||||
}
|
||||
MetalASupportsPaintSetupRotated(
|
||||
session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height + 30, session.SupportColours);
|
||||
|
||||
if (direction == 0 || direction == 3)
|
||||
{
|
||||
@@ -606,20 +526,9 @@ static void MiniSuspendedRCTrackLeftQuarterTurn5(
|
||||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
case 2:
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportGraphic::ForkAlt, MetalSupportPlace::Centre, 0, height + 30,
|
||||
session.SupportColours);
|
||||
break;
|
||||
case 1:
|
||||
case 3:
|
||||
MetalASupportsPaintSetup(
|
||||
session, supportType.metal, MetalSupportPlace::Centre, 0, height + 30, session.SupportColours);
|
||||
break;
|
||||
}
|
||||
MetalASupportsPaintSetupRotated(
|
||||
session, supportType.metal, MetalSupportPlace::Centre, DirectionPrev(direction), 0, height + 30,
|
||||
session.SupportColours);
|
||||
|
||||
switch (direction)
|
||||
{
|
||||
@@ -680,20 +589,8 @@ static void MiniSuspendedRCTrackSBendLeft(
|
||||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
case 2:
|
||||
MetalASupportsPaintSetup(
|
||||
session, supportType.metal, MetalSupportPlace::Centre, 0, height + 30, session.SupportColours);
|
||||
break;
|
||||
case 1:
|
||||
case 3:
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportGraphic::ForkAlt, MetalSupportPlace::Centre, 0, height + 30,
|
||||
session.SupportColours);
|
||||
break;
|
||||
}
|
||||
MetalASupportsPaintSetupRotated(
|
||||
session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height + 30, session.SupportColours);
|
||||
|
||||
if (direction == 0 || direction == 3)
|
||||
{
|
||||
@@ -733,12 +630,9 @@ static void MiniSuspendedRCTrackSBendLeft(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
MetalASupportsPaintSetup(
|
||||
session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 30, session.SupportColours);
|
||||
break;
|
||||
case 1:
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportGraphic::ForkAlt, MetalSupportPlace::TopRightSide, 0, height + 30,
|
||||
MetalASupportsPaintSetupRotated(
|
||||
session, supportType.metal, MetalSupportPlace::TopLeftSide, direction, 0, height + 30,
|
||||
session.SupportColours);
|
||||
break;
|
||||
}
|
||||
@@ -777,12 +671,9 @@ static void MiniSuspendedRCTrackSBendLeft(
|
||||
switch (direction)
|
||||
{
|
||||
case 2:
|
||||
MetalASupportsPaintSetup(
|
||||
session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height + 30, session.SupportColours);
|
||||
break;
|
||||
case 3:
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportGraphic::ForkAlt, MetalSupportPlace::TopRightSide, 0, height + 30,
|
||||
MetalASupportsPaintSetupRotated(
|
||||
session, supportType.metal, MetalSupportPlace::BottomRightSide, direction, 0, height + 30,
|
||||
session.SupportColours);
|
||||
break;
|
||||
}
|
||||
@@ -818,20 +709,8 @@ static void MiniSuspendedRCTrackSBendLeft(
|
||||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
case 2:
|
||||
MetalASupportsPaintSetup(
|
||||
session, supportType.metal, MetalSupportPlace::Centre, 0, height + 30, session.SupportColours);
|
||||
break;
|
||||
case 1:
|
||||
case 3:
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportGraphic::ForkAlt, MetalSupportPlace::Centre, 0, height + 30,
|
||||
session.SupportColours);
|
||||
break;
|
||||
}
|
||||
MetalASupportsPaintSetupRotated(
|
||||
session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height + 30, session.SupportColours);
|
||||
|
||||
switch (direction)
|
||||
{
|
||||
@@ -883,20 +762,8 @@ static void MiniSuspendedRCTrackSBendRight(
|
||||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
case 2:
|
||||
MetalASupportsPaintSetup(
|
||||
session, supportType.metal, MetalSupportPlace::Centre, 0, height + 30, session.SupportColours);
|
||||
break;
|
||||
case 1:
|
||||
case 3:
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportGraphic::ForkAlt, MetalSupportPlace::Centre, 0, height + 30,
|
||||
session.SupportColours);
|
||||
break;
|
||||
}
|
||||
MetalASupportsPaintSetupRotated(
|
||||
session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height + 30, session.SupportColours);
|
||||
|
||||
if (direction == 0 || direction == 3)
|
||||
{
|
||||
@@ -936,12 +803,9 @@ static void MiniSuspendedRCTrackSBendRight(
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
MetalASupportsPaintSetup(
|
||||
session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 30, session.SupportColours);
|
||||
break;
|
||||
case 1:
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportGraphic::ForkAlt, MetalSupportPlace::BottomLeftSide, 0, height + 30,
|
||||
MetalASupportsPaintSetupRotated(
|
||||
session, supportType.metal, MetalSupportPlace::BottomRightSide, direction, 0, height + 30,
|
||||
session.SupportColours);
|
||||
break;
|
||||
}
|
||||
@@ -980,12 +844,9 @@ static void MiniSuspendedRCTrackSBendRight(
|
||||
switch (direction)
|
||||
{
|
||||
case 2:
|
||||
MetalASupportsPaintSetup(
|
||||
session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height + 30, session.SupportColours);
|
||||
break;
|
||||
case 3:
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportGraphic::ForkAlt, MetalSupportPlace::BottomLeftSide, 0, height + 30,
|
||||
MetalASupportsPaintSetupRotated(
|
||||
session, supportType.metal, MetalSupportPlace::TopLeftSide, direction, 0, height + 30,
|
||||
session.SupportColours);
|
||||
break;
|
||||
}
|
||||
@@ -1021,20 +882,8 @@ static void MiniSuspendedRCTrackSBendRight(
|
||||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
case 2:
|
||||
MetalASupportsPaintSetup(
|
||||
session, supportType.metal, MetalSupportPlace::Centre, 0, height + 30, session.SupportColours);
|
||||
break;
|
||||
case 1:
|
||||
case 3:
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportGraphic::ForkAlt, MetalSupportPlace::Centre, 0, height + 30,
|
||||
session.SupportColours);
|
||||
break;
|
||||
}
|
||||
MetalASupportsPaintSetupRotated(
|
||||
session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height + 30, session.SupportColours);
|
||||
|
||||
switch (direction)
|
||||
{
|
||||
@@ -1086,20 +935,8 @@ static void MiniSuspendedRCTrackLeftQuarterTurn3(
|
||||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
case 2:
|
||||
MetalASupportsPaintSetup(
|
||||
session, supportType.metal, MetalSupportPlace::Centre, 0, height + 30, session.SupportColours);
|
||||
break;
|
||||
case 1:
|
||||
case 3:
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportGraphic::ForkAlt, MetalSupportPlace::Centre, 0, height + 30,
|
||||
session.SupportColours);
|
||||
break;
|
||||
}
|
||||
MetalASupportsPaintSetupRotated(
|
||||
session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height + 30, session.SupportColours);
|
||||
|
||||
if (direction == 0 || direction == 3)
|
||||
{
|
||||
@@ -1169,20 +1006,9 @@ static void MiniSuspendedRCTrackLeftQuarterTurn3(
|
||||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
case 2:
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportGraphic::ForkAlt, MetalSupportPlace::Centre, 0, height + 30,
|
||||
session.SupportColours);
|
||||
break;
|
||||
case 1:
|
||||
case 3:
|
||||
MetalASupportsPaintSetup(
|
||||
session, supportType.metal, MetalSupportPlace::Centre, 0, height + 30, session.SupportColours);
|
||||
break;
|
||||
}
|
||||
MetalASupportsPaintSetupRotated(
|
||||
session, supportType.metal, MetalSupportPlace::Centre, DirectionPrev(direction), 0, height + 30,
|
||||
session.SupportColours);
|
||||
|
||||
switch (direction)
|
||||
{
|
||||
@@ -1247,20 +1073,8 @@ static void MiniSuspendedRCTrackLeftEighthToDiag(
|
||||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
case 2:
|
||||
MetalASupportsPaintSetup(
|
||||
session, supportType.metal, MetalSupportPlace::Centre, 0, height + 30, session.SupportColours);
|
||||
break;
|
||||
case 1:
|
||||
case 3:
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportGraphic::ForkAlt, MetalSupportPlace::Centre, 0, height + 30,
|
||||
session.SupportColours);
|
||||
break;
|
||||
}
|
||||
MetalASupportsPaintSetupRotated(
|
||||
session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height + 30, session.SupportColours);
|
||||
|
||||
if (direction == 0 || direction == 3)
|
||||
{
|
||||
@@ -1380,27 +1194,8 @@ static void MiniSuspendedRCTrackLeftEighthToDiag(
|
||||
PaintSegment::topRightSide, PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
MetalASupportsPaintSetup(
|
||||
session, supportType.metal, MetalSupportPlace::BottomCorner, 0, height + 30, session.SupportColours);
|
||||
break;
|
||||
case 1:
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportGraphic::ForkAlt, MetalSupportPlace::LeftCorner, 0, height + 30,
|
||||
session.SupportColours);
|
||||
break;
|
||||
case 2:
|
||||
MetalASupportsPaintSetup(
|
||||
session, supportType.metal, MetalSupportPlace::TopCorner, 0, height + 30, session.SupportColours);
|
||||
break;
|
||||
case 3:
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportGraphic::ForkAlt, MetalSupportPlace::RightCorner, 0, height + 30,
|
||||
session.SupportColours);
|
||||
break;
|
||||
}
|
||||
MetalASupportsPaintSetupRotated(
|
||||
session, supportType.metal, MetalSupportPlace::BottomCorner, direction, 0, height + 30, session.SupportColours);
|
||||
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 48);
|
||||
break;
|
||||
@@ -1447,20 +1242,8 @@ static void MiniSuspendedRCTrackRightEighthToDiag(
|
||||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
case 2:
|
||||
MetalASupportsPaintSetup(
|
||||
session, supportType.metal, MetalSupportPlace::Centre, 0, height + 30, session.SupportColours);
|
||||
break;
|
||||
case 1:
|
||||
case 3:
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportGraphic::ForkAlt, MetalSupportPlace::Centre, 0, height + 30,
|
||||
session.SupportColours);
|
||||
break;
|
||||
}
|
||||
MetalASupportsPaintSetupRotated(
|
||||
session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height + 30, session.SupportColours);
|
||||
|
||||
if (direction == 0 || direction == 3)
|
||||
{
|
||||
@@ -1580,27 +1363,8 @@ static void MiniSuspendedRCTrackRightEighthToDiag(
|
||||
PaintSegment::topRightSide, PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
MetalASupportsPaintSetup(
|
||||
session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 30, session.SupportColours);
|
||||
break;
|
||||
case 1:
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportGraphic::ForkAlt, MetalSupportPlace::TopCorner, 0, height + 30,
|
||||
session.SupportColours);
|
||||
break;
|
||||
case 2:
|
||||
MetalASupportsPaintSetup(
|
||||
session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 30, session.SupportColours);
|
||||
break;
|
||||
case 3:
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportGraphic::ForkAlt, MetalSupportPlace::BottomCorner, 0, height + 30,
|
||||
session.SupportColours);
|
||||
break;
|
||||
}
|
||||
MetalASupportsPaintSetupRotated(
|
||||
session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 0, height + 30, session.SupportColours);
|
||||
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 48);
|
||||
break;
|
||||
@@ -1781,27 +1545,8 @@ static void MiniSuspendedRCTrackDiag25DegUp(
|
||||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
MetalASupportsPaintSetup(
|
||||
session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 42, session.SupportColours);
|
||||
break;
|
||||
case 1:
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportGraphic::ForkAlt, MetalSupportPlace::TopCorner, 0, height + 42,
|
||||
session.SupportColours);
|
||||
break;
|
||||
case 2:
|
||||
MetalASupportsPaintSetup(
|
||||
session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 42, session.SupportColours);
|
||||
break;
|
||||
case 3:
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportGraphic::ForkAlt, MetalSupportPlace::BottomCorner, 0, height + 42,
|
||||
session.SupportColours);
|
||||
break;
|
||||
}
|
||||
MetalASupportsPaintSetupRotated(
|
||||
session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 0, height + 42, session.SupportColours);
|
||||
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 72);
|
||||
break;
|
||||
@@ -1945,27 +1690,8 @@ static void MiniSuspendedRCTrackDiagFlatTo25DegUp(
|
||||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
MetalASupportsPaintSetup(
|
||||
session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 34, session.SupportColours);
|
||||
break;
|
||||
case 1:
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportGraphic::ForkAlt, MetalSupportPlace::TopCorner, 0, height + 34,
|
||||
session.SupportColours);
|
||||
break;
|
||||
case 2:
|
||||
MetalASupportsPaintSetup(
|
||||
session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 34, session.SupportColours);
|
||||
break;
|
||||
case 3:
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportGraphic::ForkAlt, MetalSupportPlace::BottomCorner, 0, height + 34,
|
||||
session.SupportColours);
|
||||
break;
|
||||
}
|
||||
MetalASupportsPaintSetupRotated(
|
||||
session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 0, height + 34, session.SupportColours);
|
||||
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 64);
|
||||
break;
|
||||
@@ -2109,27 +1835,8 @@ static void MiniSuspendedRCTrackDiag25DegUpToFlat(
|
||||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
MetalBSupportsPaintSetup(
|
||||
session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 36, session.SupportColours);
|
||||
break;
|
||||
case 1:
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportGraphic::ForkAlt, MetalSupportPlace::TopCorner, 0, height + 36,
|
||||
session.SupportColours);
|
||||
break;
|
||||
case 2:
|
||||
MetalASupportsPaintSetup(
|
||||
session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 36, session.SupportColours);
|
||||
break;
|
||||
case 3:
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportGraphic::ForkAlt, MetalSupportPlace::BottomCorner, 0, height + 36,
|
||||
session.SupportColours);
|
||||
break;
|
||||
}
|
||||
MetalBSupportsPaintSetupRotated(
|
||||
session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 0, height + 36, session.SupportColours);
|
||||
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 72);
|
||||
break;
|
||||
@@ -2273,27 +1980,8 @@ static void MiniSuspendedRCTrackDiag25DegDown(
|
||||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
MetalASupportsPaintSetup(
|
||||
session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 42, session.SupportColours);
|
||||
break;
|
||||
case 1:
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportGraphic::ForkAlt, MetalSupportPlace::TopCorner, 0, height + 42,
|
||||
session.SupportColours);
|
||||
break;
|
||||
case 2:
|
||||
MetalASupportsPaintSetup(
|
||||
session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 42, session.SupportColours);
|
||||
break;
|
||||
case 3:
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportGraphic::ForkAlt, MetalSupportPlace::BottomCorner, 0, height + 42,
|
||||
session.SupportColours);
|
||||
break;
|
||||
}
|
||||
MetalASupportsPaintSetupRotated(
|
||||
session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 0, height + 42, session.SupportColours);
|
||||
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 72);
|
||||
break;
|
||||
@@ -2434,27 +2122,8 @@ static void MiniSuspendedRCTrackDiagFlatTo25DegDown(
|
||||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
MetalASupportsPaintSetup(
|
||||
session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 36, session.SupportColours);
|
||||
break;
|
||||
case 1:
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportGraphic::ForkAlt, MetalSupportPlace::TopCorner, 0, height + 36,
|
||||
session.SupportColours);
|
||||
break;
|
||||
case 2:
|
||||
MetalASupportsPaintSetup(
|
||||
session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 36, session.SupportColours);
|
||||
break;
|
||||
case 3:
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportGraphic::ForkAlt, MetalSupportPlace::BottomCorner, 0, height + 36,
|
||||
session.SupportColours);
|
||||
break;
|
||||
}
|
||||
MetalASupportsPaintSetupRotated(
|
||||
session, supportType.metal, MetalSupportPlace::LeftCorner, direction, 0, height + 36, session.SupportColours);
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -2598,27 +2267,8 @@ static void MiniSuspendedRCTrackDiag25DegDownToFlat(
|
||||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
switch (direction)
|
||||
{
|
||||
case 0:
|
||||
MetalASupportsPaintSetup(
|
||||
session, supportType.metal, MetalSupportPlace::LeftCorner, 0, height + 34, session.SupportColours);
|
||||
break;
|
||||
case 1:
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportGraphic::ForkAlt, MetalSupportPlace::TopCorner, 0, height + 34,
|
||||
session.SupportColours);
|
||||
break;
|
||||
case 2:
|
||||
MetalASupportsPaintSetup(
|
||||
session, supportType.metal, MetalSupportPlace::RightCorner, 0, height + 34, session.SupportColours);
|
||||
break;
|
||||
case 3:
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportGraphic::ForkAlt, MetalSupportPlace::BottomCorner, 0, height + 34,
|
||||
session.SupportColours);
|
||||
break;
|
||||
}
|
||||
MetalASupportsPaintSetupRotated(
|
||||
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
@@ -3622,7 +3622,7 @@ static void WoodenRCTrackLeftVerticalLoop(
|
||||
break;
|
||||
}
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportGraphic::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, TunnelType::SquareSlopeStart);
|
||||
@@ -3644,25 +3644,25 @@ static void WoodenRCTrackLeftVerticalLoop(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, WoodenRCGetRailsColour(session).WithIndex(23454), { 0, 0, height }, { 32, 26, 3 });
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportGraphic::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, MetalSupportGraphic::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, MetalSupportGraphic::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, MetalSupportGraphic::Boxed, MetalSupportPlace::Centre, 16, height, session.SupportColours);
|
||||
session, MetalSupportType::Boxed, MetalSupportPlace::Centre, 16, height, session.SupportColours);
|
||||
break;
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(
|
||||
@@ -3824,25 +3824,25 @@ static void WoodenRCTrackLeftVerticalLoop(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, WoodenRCGetRailsColour(session).WithIndex(23459), { 0, 6, height }, { 32, 26, 3 });
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportGraphic::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, MetalSupportGraphic::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, MetalSupportGraphic::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, MetalSupportGraphic::Boxed, MetalSupportPlace::Centre, 9, height, session.SupportColours);
|
||||
session, MetalSupportType::Boxed, MetalSupportPlace::Centre, 9, height, session.SupportColours);
|
||||
break;
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(
|
||||
@@ -3876,7 +3876,7 @@ static void WoodenRCTrackLeftVerticalLoop(
|
||||
break;
|
||||
}
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportGraphic::Boxed, MetalSupportPlace::Centre, 8, height, session.SupportColours);
|
||||
session, MetalSupportType::Boxed, MetalSupportPlace::Centre, 8, height, session.SupportColours);
|
||||
switch (direction)
|
||||
{
|
||||
case 1:
|
||||
@@ -3927,7 +3927,7 @@ static void WoodenRCTrackRightVerticalLoop(
|
||||
break;
|
||||
}
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportGraphic::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, TunnelType::SquareSlopeStart);
|
||||
@@ -3941,25 +3941,25 @@ static void WoodenRCTrackRightVerticalLoop(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, WoodenRCGetRailsColour(session).WithIndex(23483), { 0, 6, height }, { 32, 26, 3 });
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportGraphic::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, MetalSupportGraphic::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, MetalSupportGraphic::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, MetalSupportGraphic::Boxed, MetalSupportPlace::Centre, 20, height, session.SupportColours);
|
||||
session, MetalSupportType::Boxed, MetalSupportPlace::Centre, 20, height, session.SupportColours);
|
||||
break;
|
||||
}
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 72);
|
||||
@@ -4081,25 +4081,25 @@ static void WoodenRCTrackRightVerticalLoop(
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, WoodenRCGetRailsColour(session).WithIndex(23478), { 0, 14, height }, { 32, 2, 63 });
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportGraphic::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, MetalSupportGraphic::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, MetalSupportGraphic::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, MetalSupportGraphic::Boxed, MetalSupportPlace::Centre, 16, height, session.SupportColours);
|
||||
session, MetalSupportType::Boxed, MetalSupportPlace::Centre, 16, height, session.SupportColours);
|
||||
break;
|
||||
}
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 72);
|
||||
@@ -4125,7 +4125,7 @@ static void WoodenRCTrackRightVerticalLoop(
|
||||
break;
|
||||
}
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportGraphic::Boxed, MetalSupportPlace::Centre, 8, height, session.SupportColours);
|
||||
session, MetalSupportType::Boxed, MetalSupportPlace::Centre, 8, height, session.SupportColours);
|
||||
switch (direction)
|
||||
{
|
||||
case 1:
|
||||
|
||||
@@ -456,22 +456,6 @@ static void PaintMonorailCyclesTrackSBendLeft(
|
||||
{
|
||||
PaintUtilPushTunnelLeft(session, height, TunnelType::StandardFlat);
|
||||
}
|
||||
|
||||
switch (trackSequence)
|
||||
{
|
||||
case 0:
|
||||
MetalASupportsPaintSetup(
|
||||
session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours);
|
||||
break;
|
||||
case 1:
|
||||
MetalASupportsPaintSetup(
|
||||
session, supportType.metal, MetalSupportPlace::TopLeftSide, 0, height, session.SupportColours);
|
||||
break;
|
||||
case 3:
|
||||
MetalASupportsPaintSetup(
|
||||
session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours);
|
||||
break;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -479,22 +463,22 @@ static void PaintMonorailCyclesTrackSBendLeft(
|
||||
{
|
||||
PaintUtilPushTunnelRight(session, height, TunnelType::StandardFlat);
|
||||
}
|
||||
}
|
||||
|
||||
switch (trackSequence)
|
||||
{
|
||||
case 0:
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportGraphic::StickAlt, MetalSupportPlace::Centre, 0, height, session.SupportColours);
|
||||
break;
|
||||
case 1:
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportGraphic::StickAlt, MetalSupportPlace::TopRightSide, 0, height, session.SupportColours);
|
||||
break;
|
||||
case 3:
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportGraphic::StickAlt, MetalSupportPlace::Centre, 0, height - 2, session.SupportColours);
|
||||
break;
|
||||
}
|
||||
switch (trackSequence)
|
||||
{
|
||||
case 0:
|
||||
MetalASupportsPaintSetupRotated(
|
||||
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);
|
||||
break;
|
||||
case 3:
|
||||
MetalASupportsPaintSetupRotated(
|
||||
session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours);
|
||||
break;
|
||||
}
|
||||
|
||||
switch (trackSequence)
|
||||
@@ -576,22 +560,6 @@ static void PaintMonorailCyclesTrackSBendRight(
|
||||
{
|
||||
PaintUtilPushTunnelLeft(session, height, TunnelType::StandardFlat);
|
||||
}
|
||||
|
||||
switch (trackSequence)
|
||||
{
|
||||
case 0:
|
||||
MetalASupportsPaintSetup(
|
||||
session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours);
|
||||
break;
|
||||
case 1:
|
||||
MetalASupportsPaintSetup(
|
||||
session, supportType.metal, MetalSupportPlace::BottomRightSide, 0, height - 2, session.SupportColours);
|
||||
break;
|
||||
case 3:
|
||||
MetalASupportsPaintSetup(
|
||||
session, supportType.metal, MetalSupportPlace::Centre, 0, height, session.SupportColours);
|
||||
break;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -599,23 +567,22 @@ static void PaintMonorailCyclesTrackSBendRight(
|
||||
{
|
||||
PaintUtilPushTunnelRight(session, height, TunnelType::StandardFlat);
|
||||
}
|
||||
|
||||
switch (trackSequence)
|
||||
{
|
||||
case 0:
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportGraphic::StickAlt, MetalSupportPlace::Centre, 0, height, session.SupportColours);
|
||||
break;
|
||||
case 1:
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportGraphic::StickAlt, MetalSupportPlace::BottomLeftSide, 0, height,
|
||||
session.SupportColours);
|
||||
break;
|
||||
case 3:
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportGraphic::StickAlt, MetalSupportPlace::Centre, 0, height, session.SupportColours);
|
||||
break;
|
||||
}
|
||||
}
|
||||
switch (trackSequence)
|
||||
{
|
||||
case 0:
|
||||
MetalASupportsPaintSetupRotated(
|
||||
session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours);
|
||||
break;
|
||||
case 1:
|
||||
MetalASupportsPaintSetupRotated(
|
||||
session, supportType.metal, MetalSupportPlace::BottomRightSide, direction & 1, 0, height - 2,
|
||||
session.SupportColours);
|
||||
break;
|
||||
case 3:
|
||||
MetalASupportsPaintSetupRotated(
|
||||
session, supportType.metal, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours);
|
||||
break;
|
||||
}
|
||||
|
||||
switch (trackSequence)
|
||||
|
||||
@@ -224,20 +224,7 @@ static void PaintMagicCarpet(
|
||||
{
|
||||
case 0:
|
||||
case 2:
|
||||
if (direction & 1)
|
||||
{
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportGraphic::Tubes, MetalSupportPlace::TopRightSide, 0, height, session.SupportColours);
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportGraphic::Tubes, MetalSupportPlace::BottomLeftSide, 0, height, session.SupportColours);
|
||||
}
|
||||
else
|
||||
{
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportGraphic::Tubes, MetalSupportPlace::TopLeftSide, 0, height, session.SupportColours);
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportGraphic::Tubes, MetalSupportPlace::BottomRightSide, 0, height, session.SupportColours);
|
||||
}
|
||||
DrawSupportsSideBySide(session, direction, height, session.SupportColours, MetalSupportType::Tubes);
|
||||
const StationObject* stationObject = ride.GetStationObject();
|
||||
|
||||
if (stationObject != nullptr && !(stationObject->Flags & STATION_OBJECT_FLAGS::NO_PLATFORMS))
|
||||
|
||||
@@ -138,20 +138,7 @@ static void PaintSwingingInverterShip(
|
||||
|
||||
if (relativeTrackSequence != 1 && relativeTrackSequence != 3)
|
||||
{
|
||||
if (direction & 1)
|
||||
{
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportGraphic::Tubes, MetalSupportPlace::TopRightSide, 0, height, session.SupportColours);
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportGraphic::Tubes, MetalSupportPlace::BottomLeftSide, 0, height, session.SupportColours);
|
||||
}
|
||||
else
|
||||
{
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportGraphic::Tubes, MetalSupportPlace::TopLeftSide, 0, height, session.SupportColours);
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportGraphic::Tubes, MetalSupportPlace::BottomRightSide, 0, height, session.SupportColours);
|
||||
}
|
||||
DrawSupportsSideBySide(session, direction, height, session.SupportColours, MetalSupportType::Tubes);
|
||||
|
||||
if (stationObject != nullptr && !(stationObject->Flags & STATION_OBJECT_FLAGS::NO_PLATFORMS))
|
||||
{
|
||||
|
||||
@@ -169,29 +169,13 @@ static void PaintSwingingShip(
|
||||
WoodenASupportsPaintSetupRotated(
|
||||
session, WoodenSupportType::Truss, WoodenSupportSubType::NeSw, direction, height, session.SupportColours);
|
||||
}
|
||||
else if (direction & 1)
|
||||
{
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportGraphic::Tubes, MetalSupportPlace::TopRightSide, 0, height, session.SupportColours);
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportGraphic::Tubes, MetalSupportPlace::BottomLeftSide, 0, height, session.SupportColours);
|
||||
|
||||
if (stationObject != nullptr && !(stationObject->Flags & STATION_OBJECT_FLAGS::NO_PLATFORMS))
|
||||
{
|
||||
imageId = session.SupportColours.WithIndex(SPR_STATION_BASE_A_NW_SE);
|
||||
PaintAddImageAsParent(session, imageId, { 0, 0, height }, { 32, 32, 1 });
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportGraphic::Tubes, MetalSupportPlace::TopLeftSide, 0, height, session.SupportColours);
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportGraphic::Tubes, MetalSupportPlace::BottomRightSide, 0, height, session.SupportColours);
|
||||
|
||||
DrawSupportsSideBySide(session, direction, height, session.SupportColours, MetalSupportType::Tubes);
|
||||
if (stationObject != nullptr && !(stationObject->Flags & STATION_OBJECT_FLAGS::NO_PLATFORMS))
|
||||
{
|
||||
imageId = session.SupportColours.WithIndex(SPR_STATION_BASE_A_SW_NE);
|
||||
ImageIndex base = (direction & 1) ? SPR_STATION_BASE_A_NW_SE : SPR_STATION_BASE_A_SW_NE;
|
||||
imageId = session.SupportColours.WithIndex(base);
|
||||
PaintAddImageAsParent(session, imageId, { 0, 0, height }, { 32, 32, 1 });
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1910,7 +1910,8 @@ void TrackPaintUtilLeftCorkscrewUpSupports(PaintSession& session, Direction dire
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
}
|
||||
MetalASupportsPaintSetup(session, MetalSupportGraphic::Tubes, MetalSupportPlace::Centre, 0, height, session.SupportColours);
|
||||
MetalASupportsPaintSetupRotated(
|
||||
session, MetalSupportType::Tubes, MetalSupportPlace::Centre, direction, 0, height, session.SupportColours);
|
||||
if (direction != 2)
|
||||
{
|
||||
PaintUtilSetSegmentSupportHeight(
|
||||
|
||||
Reference in new issue
Block a user