mirror of https://github.com/OpenRCT2/OpenRCT2.git
Rename DiagSupportPlacement to kDiagSupportPlacement
This commit is contained in:
parent
81e068c7b2
commit
8cc240f527
|
@ -51,13 +51,6 @@ static constexpr TileCoordsXY EntranceOffsetEdgeNW[] = {
|
|||
{ -1, 0 },
|
||||
};
|
||||
|
||||
const MetalSupportPlace DiagSupportPlacement[] = {
|
||||
MetalSupportPlace::LeftCorner,
|
||||
MetalSupportPlace::TopCorner,
|
||||
MetalSupportPlace::RightCorner,
|
||||
MetalSupportPlace::BottomCorner,
|
||||
};
|
||||
|
||||
const uint32_t floorSpritesCork[] = {
|
||||
SPR_FLOOR_CORK_SE_SW,
|
||||
SPR_FLOOR_CORK_SW,
|
||||
|
|
|
@ -84,7 +84,12 @@ constexpr uint8_t kTrackMap1x4[][4] = {
|
|||
{ 0, 1, 2, 3 },
|
||||
};
|
||||
|
||||
extern const MetalSupportPlace DiagSupportPlacement[];
|
||||
constexpr MetalSupportPlace kDiagSupportPlacement[] = {
|
||||
MetalSupportPlace::LeftCorner,
|
||||
MetalSupportPlace::TopCorner,
|
||||
MetalSupportPlace::RightCorner,
|
||||
MetalSupportPlace::BottomCorner,
|
||||
};
|
||||
|
||||
enum
|
||||
{
|
||||
|
|
|
@ -14495,7 +14495,7 @@ static void BolligerMabillardTrackDiagBrakes(
|
|||
|
||||
if (trackSequence == 3)
|
||||
{
|
||||
MetalASupportsPaintSetup(session, supportType, DiagSupportPlacement[direction], 0, height, session.SupportColours);
|
||||
MetalASupportsPaintSetup(session, supportType, kDiagSupportPlacement[direction], 0, height, session.SupportColours);
|
||||
}
|
||||
|
||||
int32_t blockedSegments = BlockedSegments::kDiagStraightFlat[trackSequence];
|
||||
|
@ -14514,7 +14514,7 @@ static void BolligerMabillardTrackDiagBlockBrakes(
|
|||
|
||||
if (trackSequence == 3)
|
||||
{
|
||||
MetalASupportsPaintSetup(session, supportType, DiagSupportPlacement[direction], 0, height, session.SupportColours);
|
||||
MetalASupportsPaintSetup(session, supportType, kDiagSupportPlacement[direction], 0, height, session.SupportColours);
|
||||
}
|
||||
|
||||
int32_t blockedSegments = BlockedSegments::kDiagStraightFlat[trackSequence];
|
||||
|
|
|
@ -6526,7 +6526,7 @@ static void CorkscrewRCTrackDiagBrakes(
|
|||
if (trackSequence == 3)
|
||||
{
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportType::Tubes, DiagSupportPlacement[direction], 0, height, session.SupportColours);
|
||||
session, MetalSupportType::Tubes, kDiagSupportPlacement[direction], 0, height, session.SupportColours);
|
||||
}
|
||||
|
||||
int32_t blockedSegments = BlockedSegments::kDiagStraightFlat[trackSequence];
|
||||
|
@ -6545,7 +6545,7 @@ static void CorkscrewRCTrackDiagBlockBrakes(
|
|||
if (trackSequence == 3)
|
||||
{
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportType::Tubes, DiagSupportPlacement[direction], 0, height, session.SupportColours);
|
||||
session, MetalSupportType::Tubes, kDiagSupportPlacement[direction], 0, height, session.SupportColours);
|
||||
}
|
||||
|
||||
int32_t blockedSegments = BlockedSegments::kDiagStraightFlat[trackSequence];
|
||||
|
|
|
@ -10055,7 +10055,7 @@ static void FlyingRCTrackDiagBrakesInverted(
|
|||
if (trackSequence == 3)
|
||||
{
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportType::Boxed, DiagSupportPlacement[direction], 0, height + 39, session.SupportColours);
|
||||
session, MetalSupportType::Boxed, kDiagSupportPlacement[direction], 0, height + 39, session.SupportColours);
|
||||
}
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 48, 0x20);
|
||||
}
|
||||
|
|
|
@ -18255,7 +18255,7 @@ static void GigaRCTrackDiagBrakes(
|
|||
if (trackSequence == 3)
|
||||
{
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportType::Tubes, DiagSupportPlacement[direction], 0, height, session.SupportColours);
|
||||
session, MetalSupportType::Tubes, kDiagSupportPlacement[direction], 0, height, session.SupportColours);
|
||||
}
|
||||
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
|
|
|
@ -6396,7 +6396,7 @@ inline void InvertedRCTrackDiagFlatBase(
|
|||
if (trackSequence == 3)
|
||||
{
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportType::Boxed, DiagSupportPlacement[direction], 0, height + 44, session.SupportColours);
|
||||
session, MetalSupportType::Boxed, kDiagSupportPlacement[direction], 0, height + 44, session.SupportColours);
|
||||
}
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 48, 0x20);
|
||||
}
|
||||
|
|
|
@ -4640,7 +4640,7 @@ static void JuniorRCPaintTrackDiagFlat(
|
|||
if (trackSequence == 3)
|
||||
{
|
||||
MetalASupportsPaintSetup(
|
||||
session, (direction & 1) ? MetalSupportType::ForkAlt : MetalSupportType::Fork, DiagSupportPlacement[direction], 0,
|
||||
session, (direction & 1) ? MetalSupportType::ForkAlt : MetalSupportType::Fork, kDiagSupportPlacement[direction], 0,
|
||||
height, session.SupportColours);
|
||||
}
|
||||
|
||||
|
@ -4660,7 +4660,7 @@ static void JuniorRCTrackDiagBrakes(
|
|||
if (trackSequence == 3)
|
||||
{
|
||||
MetalASupportsPaintSetup(
|
||||
session, (direction & 1) ? MetalSupportType::ForkAlt : MetalSupportType::Fork, DiagSupportPlacement[direction], 0,
|
||||
session, (direction & 1) ? MetalSupportType::ForkAlt : MetalSupportType::Fork, kDiagSupportPlacement[direction], 0,
|
||||
height, session.SupportColours);
|
||||
}
|
||||
|
||||
|
@ -4680,7 +4680,7 @@ static void JuniorRCTrackDiagBlockBrakes(
|
|||
if (trackSequence == 3)
|
||||
{
|
||||
MetalASupportsPaintSetup(
|
||||
session, (direction & 1) ? MetalSupportType::ForkAlt : MetalSupportType::Fork, DiagSupportPlacement[direction], 0,
|
||||
session, (direction & 1) ? MetalSupportType::ForkAlt : MetalSupportType::Fork, kDiagSupportPlacement[direction], 0,
|
||||
height, session.SupportColours);
|
||||
}
|
||||
|
||||
|
@ -4702,7 +4702,7 @@ static void JuniorRCPaintTrackDiag25DegUp(
|
|||
if (trackSequence == 3)
|
||||
{
|
||||
MetalBSupportsPaintSetup(
|
||||
session, (direction & 1) ? MetalSupportType::ForkAlt : MetalSupportType::Fork, DiagSupportPlacement[direction], 8,
|
||||
session, (direction & 1) ? MetalSupportType::ForkAlt : MetalSupportType::Fork, kDiagSupportPlacement[direction], 8,
|
||||
height, session.SupportColours);
|
||||
}
|
||||
|
||||
|
@ -4724,7 +4724,7 @@ static void JuniorRCPaintTrackDiagFlatTo25DegUp(
|
|||
if (trackSequence == 3)
|
||||
{
|
||||
MetalBSupportsPaintSetup(
|
||||
session, (direction & 1) ? MetalSupportType::ForkAlt : MetalSupportType::Fork, DiagSupportPlacement[direction], 0,
|
||||
session, (direction & 1) ? MetalSupportType::ForkAlt : MetalSupportType::Fork, kDiagSupportPlacement[direction], 0,
|
||||
height, session.SupportColours);
|
||||
}
|
||||
|
||||
|
@ -4747,7 +4747,7 @@ static void JuniorRCPaintTrackDiagFlatTo60DegUp(
|
|||
if (trackSequence == 3)
|
||||
{
|
||||
MetalBSupportsPaintSetup(
|
||||
session, (direction & 1) ? MetalSupportType::ForkAlt : MetalSupportType::Fork, DiagSupportPlacement[direction], 0,
|
||||
session, (direction & 1) ? MetalSupportType::ForkAlt : MetalSupportType::Fork, kDiagSupportPlacement[direction], 0,
|
||||
height + 6, session.SupportColours);
|
||||
}
|
||||
|
||||
|
@ -4769,7 +4769,7 @@ static void JuniorRCPaintTrackDiag25DegUpToFlat(
|
|||
if (trackSequence == 3)
|
||||
{
|
||||
MetalBSupportsPaintSetup(
|
||||
session, (direction & 1) ? MetalSupportType::ForkAlt : MetalSupportType::Fork, DiagSupportPlacement[direction], 4,
|
||||
session, (direction & 1) ? MetalSupportType::ForkAlt : MetalSupportType::Fork, kDiagSupportPlacement[direction], 4,
|
||||
height, session.SupportColours);
|
||||
}
|
||||
|
||||
|
@ -4792,7 +4792,7 @@ static void JuniorRCPaintTrackDiag60DegUpToFlat(
|
|||
if (trackSequence == 3)
|
||||
{
|
||||
MetalBSupportsPaintSetup(
|
||||
session, (direction & 1) ? MetalSupportType::ForkAlt : MetalSupportType::Fork, DiagSupportPlacement[direction], 4,
|
||||
session, (direction & 1) ? MetalSupportType::ForkAlt : MetalSupportType::Fork, kDiagSupportPlacement[direction], 4,
|
||||
height + 13, session.SupportColours);
|
||||
}
|
||||
|
||||
|
@ -4814,7 +4814,7 @@ static void JuniorRCPaintTrackDiag25DegDown(
|
|||
if (trackSequence == 3)
|
||||
{
|
||||
MetalBSupportsPaintSetup(
|
||||
session, (direction & 1) ? MetalSupportType::ForkAlt : MetalSupportType::Fork, DiagSupportPlacement[direction], 8,
|
||||
session, (direction & 1) ? MetalSupportType::ForkAlt : MetalSupportType::Fork, kDiagSupportPlacement[direction], 8,
|
||||
height, session.SupportColours);
|
||||
}
|
||||
|
||||
|
@ -4836,7 +4836,7 @@ static void JuniorRCPaintTrackDiagFlatTo25DegDown(
|
|||
if (trackSequence == 3)
|
||||
{
|
||||
MetalBSupportsPaintSetup(
|
||||
session, (direction & 1) ? MetalSupportType::ForkAlt : MetalSupportType::Fork, DiagSupportPlacement[direction], 4,
|
||||
session, (direction & 1) ? MetalSupportType::ForkAlt : MetalSupportType::Fork, kDiagSupportPlacement[direction], 4,
|
||||
height, session.SupportColours);
|
||||
}
|
||||
|
||||
|
@ -4859,7 +4859,7 @@ static void JuniorRCPaintTrackDiagFlatTo60DegDown(
|
|||
if (trackSequence == 3)
|
||||
{
|
||||
MetalBSupportsPaintSetup(
|
||||
session, (direction & 1) ? MetalSupportType::ForkAlt : MetalSupportType::Fork, DiagSupportPlacement[direction], 4,
|
||||
session, (direction & 1) ? MetalSupportType::ForkAlt : MetalSupportType::Fork, kDiagSupportPlacement[direction], 4,
|
||||
height + 7, session.SupportColours);
|
||||
}
|
||||
|
||||
|
@ -4881,7 +4881,7 @@ static void JuniorRCPaintTrackDiag25DegDownToFlat(
|
|||
if (trackSequence == 3)
|
||||
{
|
||||
MetalBSupportsPaintSetup(
|
||||
session, (direction & 1) ? MetalSupportType::ForkAlt : MetalSupportType::Fork, DiagSupportPlacement[direction], 0,
|
||||
session, (direction & 1) ? MetalSupportType::ForkAlt : MetalSupportType::Fork, kDiagSupportPlacement[direction], 0,
|
||||
height, session.SupportColours);
|
||||
}
|
||||
|
||||
|
@ -4904,7 +4904,7 @@ static void JuniorRCPaintTrackDiag60DegDownToFlat(
|
|||
if (trackSequence == 3)
|
||||
{
|
||||
MetalBSupportsPaintSetup(
|
||||
session, (direction & 1) ? MetalSupportType::ForkAlt : MetalSupportType::Fork, DiagSupportPlacement[direction], 0,
|
||||
session, (direction & 1) ? MetalSupportType::ForkAlt : MetalSupportType::Fork, kDiagSupportPlacement[direction], 0,
|
||||
height, session.SupportColours);
|
||||
}
|
||||
|
||||
|
@ -4931,7 +4931,7 @@ static void JuniorRCDiagFlatToLeftBankPaintSetup(
|
|||
if (trackSequence == 3)
|
||||
{
|
||||
MetalASupportsPaintSetup(
|
||||
session, (direction & 1) ? MetalSupportType::ForkAlt : MetalSupportType::Fork, DiagSupportPlacement[direction], 0,
|
||||
session, (direction & 1) ? MetalSupportType::ForkAlt : MetalSupportType::Fork, kDiagSupportPlacement[direction], 0,
|
||||
height, session.SupportColours);
|
||||
}
|
||||
|
||||
|
@ -4958,7 +4958,7 @@ static void JuniorRCDiagFlatToRightBankPaintSetup(
|
|||
if (trackSequence == 3)
|
||||
{
|
||||
MetalASupportsPaintSetup(
|
||||
session, (direction & 1) ? MetalSupportType::ForkAlt : MetalSupportType::Fork, DiagSupportPlacement[direction], 0,
|
||||
session, (direction & 1) ? MetalSupportType::ForkAlt : MetalSupportType::Fork, kDiagSupportPlacement[direction], 0,
|
||||
height, session.SupportColours);
|
||||
}
|
||||
|
||||
|
@ -4985,7 +4985,7 @@ static void JuniorRCDiagLeftBankToFlatPaintSetup(
|
|||
if (trackSequence == 3)
|
||||
{
|
||||
MetalASupportsPaintSetup(
|
||||
session, (direction & 1) ? MetalSupportType::ForkAlt : MetalSupportType::Fork, DiagSupportPlacement[direction], 0,
|
||||
session, (direction & 1) ? MetalSupportType::ForkAlt : MetalSupportType::Fork, kDiagSupportPlacement[direction], 0,
|
||||
height, session.SupportColours);
|
||||
}
|
||||
|
||||
|
@ -5012,7 +5012,7 @@ static void JuniorRCDiagRightBankToFlatPaintSetup(
|
|||
if (trackSequence == 3)
|
||||
{
|
||||
MetalASupportsPaintSetup(
|
||||
session, (direction & 1) ? MetalSupportType::ForkAlt : MetalSupportType::Fork, DiagSupportPlacement[direction], 0,
|
||||
session, (direction & 1) ? MetalSupportType::ForkAlt : MetalSupportType::Fork, kDiagSupportPlacement[direction], 0,
|
||||
height, session.SupportColours);
|
||||
}
|
||||
|
||||
|
@ -5039,7 +5039,7 @@ static void JuniorRCDiagLeftBankTo25DegUpPaintSetup(
|
|||
if (trackSequence == 3)
|
||||
{
|
||||
MetalBSupportsPaintSetup(
|
||||
session, (direction & 1) ? MetalSupportType::ForkAlt : MetalSupportType::Fork, DiagSupportPlacement[direction], 0,
|
||||
session, (direction & 1) ? MetalSupportType::ForkAlt : MetalSupportType::Fork, kDiagSupportPlacement[direction], 0,
|
||||
height, session.SupportColours);
|
||||
}
|
||||
|
||||
|
@ -5066,7 +5066,7 @@ static void JuniorRCDiagRightBankTo25DegUpPaintSetup(
|
|||
if (trackSequence == 3)
|
||||
{
|
||||
MetalBSupportsPaintSetup(
|
||||
session, (direction & 1) ? MetalSupportType::ForkAlt : MetalSupportType::Fork, DiagSupportPlacement[direction], 0,
|
||||
session, (direction & 1) ? MetalSupportType::ForkAlt : MetalSupportType::Fork, kDiagSupportPlacement[direction], 0,
|
||||
height, session.SupportColours);
|
||||
}
|
||||
|
||||
|
@ -5093,7 +5093,7 @@ static void JuniorRCDiag25DegUpToLeftBankPaintSetup(
|
|||
if (trackSequence == 3)
|
||||
{
|
||||
MetalBSupportsPaintSetup(
|
||||
session, (direction & 1) ? MetalSupportType::ForkAlt : MetalSupportType::Fork, DiagSupportPlacement[direction], 4,
|
||||
session, (direction & 1) ? MetalSupportType::ForkAlt : MetalSupportType::Fork, kDiagSupportPlacement[direction], 4,
|
||||
height, session.SupportColours);
|
||||
}
|
||||
|
||||
|
@ -5120,7 +5120,7 @@ static void JuniorRCDiag25DegUpToRightBankPaintSetup(
|
|||
if (trackSequence == 3)
|
||||
{
|
||||
MetalBSupportsPaintSetup(
|
||||
session, (direction & 1) ? MetalSupportType::ForkAlt : MetalSupportType::Fork, DiagSupportPlacement[direction], 4,
|
||||
session, (direction & 1) ? MetalSupportType::ForkAlt : MetalSupportType::Fork, kDiagSupportPlacement[direction], 4,
|
||||
height, session.SupportColours);
|
||||
}
|
||||
|
||||
|
@ -5147,7 +5147,7 @@ static void JuniorRCDiagLeftBankTo25DegDownPaintSetup(
|
|||
if (trackSequence == 3)
|
||||
{
|
||||
MetalBSupportsPaintSetup(
|
||||
session, (direction & 1) ? MetalSupportType::ForkAlt : MetalSupportType::Fork, DiagSupportPlacement[direction], 4,
|
||||
session, (direction & 1) ? MetalSupportType::ForkAlt : MetalSupportType::Fork, kDiagSupportPlacement[direction], 4,
|
||||
height, session.SupportColours);
|
||||
}
|
||||
|
||||
|
@ -5174,7 +5174,7 @@ static void JuniorRCDiagRightBankTo25DegDownPaintSetup(
|
|||
if (trackSequence == 3)
|
||||
{
|
||||
MetalBSupportsPaintSetup(
|
||||
session, (direction & 1) ? MetalSupportType::ForkAlt : MetalSupportType::Fork, DiagSupportPlacement[direction], 4,
|
||||
session, (direction & 1) ? MetalSupportType::ForkAlt : MetalSupportType::Fork, kDiagSupportPlacement[direction], 4,
|
||||
height, session.SupportColours);
|
||||
}
|
||||
|
||||
|
@ -5201,7 +5201,7 @@ static void JuniorRCDiag25DegDownToLeftBankPaintSetup(
|
|||
if (trackSequence == 3)
|
||||
{
|
||||
MetalBSupportsPaintSetup(
|
||||
session, (direction & 1) ? MetalSupportType::ForkAlt : MetalSupportType::Fork, DiagSupportPlacement[direction], 0,
|
||||
session, (direction & 1) ? MetalSupportType::ForkAlt : MetalSupportType::Fork, kDiagSupportPlacement[direction], 0,
|
||||
height, session.SupportColours);
|
||||
}
|
||||
|
||||
|
@ -5228,7 +5228,7 @@ static void JuniorRCDiag25DegDownToRightBankPaintSetup(
|
|||
if (trackSequence == 3)
|
||||
{
|
||||
MetalBSupportsPaintSetup(
|
||||
session, (direction & 1) ? MetalSupportType::ForkAlt : MetalSupportType::Fork, DiagSupportPlacement[direction], 0,
|
||||
session, (direction & 1) ? MetalSupportType::ForkAlt : MetalSupportType::Fork, kDiagSupportPlacement[direction], 0,
|
||||
height, session.SupportColours);
|
||||
}
|
||||
|
||||
|
@ -5264,7 +5264,7 @@ static void JuniorRCDiagLeftBankPaintSetup(
|
|||
if (trackSequence == 3)
|
||||
{
|
||||
MetalASupportsPaintSetup(
|
||||
session, (direction & 1) ? MetalSupportType::ForkAlt : MetalSupportType::Fork, DiagSupportPlacement[direction], 0,
|
||||
session, (direction & 1) ? MetalSupportType::ForkAlt : MetalSupportType::Fork, kDiagSupportPlacement[direction], 0,
|
||||
height, session.SupportColours);
|
||||
}
|
||||
|
||||
|
@ -5286,7 +5286,7 @@ static void JuniorRCDiagRightBankPaintSetup(
|
|||
if (trackSequence == 3)
|
||||
{
|
||||
MetalASupportsPaintSetup(
|
||||
session, (direction & 1) ? MetalSupportType::ForkAlt : MetalSupportType::Fork, DiagSupportPlacement[direction], 0,
|
||||
session, (direction & 1) ? MetalSupportType::ForkAlt : MetalSupportType::Fork, kDiagSupportPlacement[direction], 0,
|
||||
height, session.SupportColours);
|
||||
}
|
||||
|
||||
|
@ -5540,7 +5540,7 @@ static void JuniorRCPaintTrackDiag60DegUp(
|
|||
if (trackSequence == 3)
|
||||
{
|
||||
MetalBSupportsPaintSetup(
|
||||
session, (direction & 1) ? MetalSupportType::ForkAlt : MetalSupportType::Fork, DiagSupportPlacement[direction], 36,
|
||||
session, (direction & 1) ? MetalSupportType::ForkAlt : MetalSupportType::Fork, kDiagSupportPlacement[direction], 36,
|
||||
height, session.SupportColours);
|
||||
}
|
||||
|
||||
|
@ -5563,7 +5563,7 @@ static void JuniorRCPaintTrackDiag60DegDown(
|
|||
if (trackSequence == 3)
|
||||
{
|
||||
MetalBSupportsPaintSetup(
|
||||
session, (direction & 1) ? MetalSupportType::ForkAlt : MetalSupportType::Fork, DiagSupportPlacement[direction], 28,
|
||||
session, (direction & 1) ? MetalSupportType::ForkAlt : MetalSupportType::Fork, kDiagSupportPlacement[direction], 28,
|
||||
height, session.SupportColours);
|
||||
}
|
||||
|
||||
|
@ -5586,7 +5586,7 @@ static void JuniorRCPaintTrackDiag25DegUpTo60DegUp(
|
|||
if (trackSequence == 3)
|
||||
{
|
||||
MetalBSupportsPaintSetup(
|
||||
session, (direction & 1) ? MetalSupportType::ForkAlt : MetalSupportType::Fork, DiagSupportPlacement[direction], 16,
|
||||
session, (direction & 1) ? MetalSupportType::ForkAlt : MetalSupportType::Fork, kDiagSupportPlacement[direction], 16,
|
||||
height, session.SupportColours);
|
||||
}
|
||||
|
||||
|
@ -5619,7 +5619,7 @@ static void JuniorRCPaintTrackDiag60DegUpTo25DegUp(
|
|||
if (trackSequence == 3)
|
||||
{
|
||||
MetalBSupportsPaintSetup(
|
||||
session, (direction & 1) ? MetalSupportType::ForkAlt : MetalSupportType::Fork, DiagSupportPlacement[direction], 21,
|
||||
session, (direction & 1) ? MetalSupportType::ForkAlt : MetalSupportType::Fork, kDiagSupportPlacement[direction], 21,
|
||||
height, session.SupportColours);
|
||||
}
|
||||
|
||||
|
@ -5652,7 +5652,7 @@ static void JuniorRCPaintTrackDiag25DegDownTo60DegDown(
|
|||
if (trackSequence == 3)
|
||||
{
|
||||
MetalBSupportsPaintSetup(
|
||||
session, (direction & 1) ? MetalSupportType::ForkAlt : MetalSupportType::Fork, DiagSupportPlacement[direction], 17,
|
||||
session, (direction & 1) ? MetalSupportType::ForkAlt : MetalSupportType::Fork, kDiagSupportPlacement[direction], 17,
|
||||
height, session.SupportColours);
|
||||
}
|
||||
|
||||
|
@ -5675,7 +5675,7 @@ static void JuniorRCPaintTrackDiag60DegDownTo25DegDown(
|
|||
if (trackSequence == 3)
|
||||
{
|
||||
MetalBSupportsPaintSetup(
|
||||
session, (direction & 1) ? MetalSupportType::ForkAlt : MetalSupportType::Fork, DiagSupportPlacement[direction], 8,
|
||||
session, (direction & 1) ? MetalSupportType::ForkAlt : MetalSupportType::Fork, kDiagSupportPlacement[direction], 8,
|
||||
height, session.SupportColours);
|
||||
}
|
||||
|
||||
|
|
|
@ -3917,7 +3917,7 @@ static void LayDownRCTrackDiagBrakes(
|
|||
if (trackSequence == 3)
|
||||
{
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportType::TubesInverted, DiagSupportPlacement[direction], 0, height + 33, session.SupportColours);
|
||||
session, MetalSupportType::TubesInverted, kDiagSupportPlacement[direction], 0, height + 33, session.SupportColours);
|
||||
}
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32, 0x20);
|
||||
}
|
||||
|
@ -3937,7 +3937,7 @@ static void LayDownRCTrackDiagBlockBrakes(
|
|||
if (trackSequence == 3)
|
||||
{
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportType::TubesInverted, DiagSupportPlacement[direction], 0, height + 33, session.SupportColours);
|
||||
session, MetalSupportType::TubesInverted, kDiagSupportPlacement[direction], 0, height + 33, session.SupportColours);
|
||||
}
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 33, 0x20);
|
||||
}
|
||||
|
|
|
@ -5942,7 +5942,7 @@ static void LoopingRCTrackDiagBrakes(
|
|||
if (trackSequence == 3)
|
||||
{
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportType::Tubes, DiagSupportPlacement[direction], 0, height, session.SupportColours);
|
||||
session, MetalSupportType::Tubes, kDiagSupportPlacement[direction], 0, height, session.SupportColours);
|
||||
}
|
||||
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
|
|
|
@ -7663,7 +7663,7 @@ static void MultiDimensionRCTrackDiagBrakes(
|
|||
if (trackSequence == 3)
|
||||
{
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportType::TubesInverted, DiagSupportPlacement[direction], 0, height + 36,
|
||||
session, MetalSupportType::TubesInverted, kDiagSupportPlacement[direction], 0, height + 36,
|
||||
session.SupportColours);
|
||||
}
|
||||
}
|
||||
|
@ -7676,7 +7676,7 @@ static void MultiDimensionRCTrackDiagBrakes(
|
|||
if (trackSequence == 3)
|
||||
{
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportType::TubesInverted, DiagSupportPlacement[direction], 0, height, session.SupportColours);
|
||||
session, MetalSupportType::TubesInverted, kDiagSupportPlacement[direction], 0, height, session.SupportColours);
|
||||
}
|
||||
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(blockedSegments, direction), 0xFFFF, 0);
|
||||
|
@ -7701,7 +7701,7 @@ static void MultiDimensionRCTrackDiagBlockBrakes(
|
|||
if (trackSequence == 3)
|
||||
{
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportType::TubesInverted, DiagSupportPlacement[direction], 0, height + 36,
|
||||
session, MetalSupportType::TubesInverted, kDiagSupportPlacement[direction], 0, height + 36,
|
||||
session.SupportColours);
|
||||
}
|
||||
}
|
||||
|
@ -7714,7 +7714,7 @@ static void MultiDimensionRCTrackDiagBlockBrakes(
|
|||
if (trackSequence == 3)
|
||||
{
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportType::TubesInverted, DiagSupportPlacement[direction], 0, height, session.SupportColours);
|
||||
session, MetalSupportType::TubesInverted, kDiagSupportPlacement[direction], 0, height, session.SupportColours);
|
||||
}
|
||||
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(blockedSegments, direction), 0xFFFF, 0);
|
||||
|
|
|
@ -6197,7 +6197,7 @@ static void StandUpRCTrackDiagBrakes(
|
|||
if (trackSequence == 3)
|
||||
{
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportType::Tubes, DiagSupportPlacement[direction], 8, height, session.SupportColours);
|
||||
session, MetalSupportType::Tubes, kDiagSupportPlacement[direction], 8, height, session.SupportColours);
|
||||
}
|
||||
|
||||
int32_t blockedSegments = BlockedSegments::kDiagStraightFlat[trackSequence];
|
||||
|
@ -6216,7 +6216,7 @@ static void StandUpRCTrackDiagBlockBrakes(
|
|||
if (trackSequence == 3)
|
||||
{
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportType::Tubes, DiagSupportPlacement[direction], 8, height, session.SupportColours);
|
||||
session, MetalSupportType::Tubes, kDiagSupportPlacement[direction], 8, height, session.SupportColours);
|
||||
}
|
||||
|
||||
int32_t blockedSegments = BlockedSegments::kDiagStraightFlat[trackSequence];
|
||||
|
|
|
@ -1556,7 +1556,7 @@ static void SteeplechaseTrackDiagBrakes(
|
|||
if (trackSequence == 3)
|
||||
{
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportType::Stick, DiagSupportPlacement[direction], 0, height, session.SupportColours);
|
||||
session, MetalSupportType::Stick, kDiagSupportPlacement[direction], 0, height, session.SupportColours);
|
||||
}
|
||||
|
||||
int32_t blockedSegments = BlockedSegments::kDiagStraightFlat[trackSequence];
|
||||
|
|
|
@ -1167,7 +1167,7 @@ static void PaintMonorailTrackDiagFlat(
|
|||
if (trackSequence == 3)
|
||||
{
|
||||
MetalASupportsPaintSetup(
|
||||
session, MetalSupportType::Boxed, DiagSupportPlacement[direction], 0, height, session.SupportColours);
|
||||
session, MetalSupportType::Boxed, kDiagSupportPlacement[direction], 0, height, session.SupportColours);
|
||||
}
|
||||
|
||||
int32_t blockedSegments = BlockedSegments::kDiagStraightFlat[trackSequence];
|
||||
|
@ -1189,7 +1189,7 @@ static void PaintMonorailTrackDiag25DegUp(
|
|||
if (trackSequence == 3)
|
||||
{
|
||||
MetalBSupportsPaintSetup(
|
||||
session, MetalSupportType::Boxed, DiagSupportPlacement[direction], 8, height, session.SupportColours);
|
||||
session, MetalSupportType::Boxed, kDiagSupportPlacement[direction], 8, height, session.SupportColours);
|
||||
}
|
||||
|
||||
int32_t blockedSegments = BlockedSegments::kDiagStraightFlat[trackSequence];
|
||||
|
@ -1211,7 +1211,7 @@ static void PaintMonorailTrackDiagFlatTo25DegUp(
|
|||
if (trackSequence == 3)
|
||||
{
|
||||
MetalBSupportsPaintSetup(
|
||||
session, MetalSupportType::Boxed, DiagSupportPlacement[direction], 0, height, session.SupportColours);
|
||||
session, MetalSupportType::Boxed, kDiagSupportPlacement[direction], 0, height, session.SupportColours);
|
||||
}
|
||||
|
||||
int32_t blockedSegments = BlockedSegments::kDiagStraightFlat[trackSequence];
|
||||
|
@ -1233,7 +1233,7 @@ static void PaintMonorailTrackDiag25DegUpToFlat(
|
|||
if (trackSequence == 3)
|
||||
{
|
||||
MetalBSupportsPaintSetup(
|
||||
session, MetalSupportType::Boxed, DiagSupportPlacement[direction], 4, height, session.SupportColours);
|
||||
session, MetalSupportType::Boxed, kDiagSupportPlacement[direction], 4, height, session.SupportColours);
|
||||
}
|
||||
|
||||
int32_t blockedSegments = BlockedSegments::kDiagStraightFlat[trackSequence];
|
||||
|
@ -1255,7 +1255,7 @@ static void PaintMonorailTrackDiag25DegDown(
|
|||
if (trackSequence == 3)
|
||||
{
|
||||
MetalBSupportsPaintSetup(
|
||||
session, MetalSupportType::Boxed, DiagSupportPlacement[direction], 8, height, session.SupportColours);
|
||||
session, MetalSupportType::Boxed, kDiagSupportPlacement[direction], 8, height, session.SupportColours);
|
||||
}
|
||||
|
||||
int32_t blockedSegments = BlockedSegments::kDiagStraightFlat[trackSequence];
|
||||
|
@ -1277,7 +1277,7 @@ static void PaintMonorailTrackDiagFlatTo25DegDown(
|
|||
if (trackSequence == 3)
|
||||
{
|
||||
MetalBSupportsPaintSetup(
|
||||
session, MetalSupportType::Boxed, DiagSupportPlacement[direction], 4, height, session.SupportColours);
|
||||
session, MetalSupportType::Boxed, kDiagSupportPlacement[direction], 4, height, session.SupportColours);
|
||||
}
|
||||
|
||||
int32_t blockedSegments = BlockedSegments::kDiagStraightFlat[trackSequence];
|
||||
|
@ -1299,7 +1299,7 @@ static void PaintMonorailTrackDiag25DegDownToFlat(
|
|||
if (trackSequence == 3)
|
||||
{
|
||||
MetalBSupportsPaintSetup(
|
||||
session, MetalSupportType::Boxed, DiagSupportPlacement[direction], 0, height, session.SupportColours);
|
||||
session, MetalSupportType::Boxed, kDiagSupportPlacement[direction], 0, height, session.SupportColours);
|
||||
}
|
||||
|
||||
int32_t blockedSegments = BlockedSegments::kDiagStraightFlat[trackSequence];
|
||||
|
|
Loading…
Reference in New Issue