mirror of https://github.com/OpenRCT2/OpenRCT2.git
Use kDefaultGeneralSupportHeight throughout
This commit is contained in:
parent
2f68c7e823
commit
288575c4ff
|
@ -370,6 +370,7 @@
|
|||
<ClInclude Include="paint\tile_element\Paint.TileElement.h" />
|
||||
<ClInclude Include="paint\tile_element\Segment.h" />
|
||||
<ClInclude Include="paint\track\Segment.h" />
|
||||
<ClInclude Include="paint\track\Support.h" />
|
||||
<ClInclude Include="paint\VirtualFloor.h" />
|
||||
<ClInclude Include="ParkImporter.h" />
|
||||
<ClInclude Include="park\Legacy.h" />
|
||||
|
|
|
@ -0,0 +1,14 @@
|
|||
/*****************************************************************************
|
||||
* Copyright (c) 2014-2024 OpenRCT2 developers
|
||||
*
|
||||
* For a complete list of all authors, please refer to contributors.md
|
||||
* Interested in contributing? Visit https://github.com/OpenRCT2/OpenRCT2
|
||||
*
|
||||
* OpenRCT2 is licensed under the GNU General Public License version 3.
|
||||
*****************************************************************************/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "../support/MetalSupports.h"
|
||||
|
||||
constexpr int8_t kDefaultGeneralSupportHeight = 32;
|
|
@ -14,6 +14,7 @@
|
|||
#include "../../paint/tile_element/Paint.TileElement.h"
|
||||
#include "../../paint/tile_element/Segment.h"
|
||||
#include "../../paint/track/Segment.h"
|
||||
#include "../../paint/track/Support.h"
|
||||
#include "../../sprites.h"
|
||||
#include "../../world/Map.h"
|
||||
#include "../RideData.h"
|
||||
|
@ -189,7 +190,7 @@ static void AirPoweredVerticalRCTrackFlat(
|
|||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_SQUARE_FLAT);
|
||||
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
static void AirPoweredVerticalRCTrackStation(
|
||||
|
@ -218,7 +219,7 @@ static void AirPoweredVerticalRCTrackStation(
|
|||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_SQUARE_FLAT);
|
||||
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
static void AirPoweredVerticalRCTrackRightQuarterTurn5(
|
||||
|
@ -315,7 +316,7 @@ static void AirPoweredVerticalRCTrackRightQuarterTurn5(
|
|||
break;
|
||||
}
|
||||
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
static void AirPoweredVerticalRCTrackLeftQuarterTurn5(
|
||||
|
@ -353,7 +354,7 @@ static void AirPoweredVerticalRCTrackFlatToLeftBank(
|
|||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_SQUARE_FLAT);
|
||||
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AFB84 */
|
||||
|
@ -383,7 +384,7 @@ static void AirPoweredVerticalRCTrackFlatToRightBank(
|
|||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_SQUARE_FLAT);
|
||||
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
static void AirPoweredVerticalRCTrackLeftBankToFlat(
|
||||
|
@ -507,7 +508,7 @@ static void AirPoweredVerticalRCTrackBankedRightQuarterTurn5(
|
|||
break;
|
||||
}
|
||||
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
static void AirPoweredVerticalRCTrackBankedLeftQuarterTurn5(
|
||||
|
@ -546,7 +547,7 @@ static void AirPoweredVerticalRCTrackLeftBank(
|
|||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_SQUARE_FLAT);
|
||||
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
static void AirPoweredVerticalRCTrackRightBank(
|
||||
|
@ -576,7 +577,7 @@ static void AirPoweredVerticalRCTrackBrakes(
|
|||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_SQUARE_FLAT);
|
||||
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
static void AirPoweredVerticalRCTrackVerticalSlopeUp(
|
||||
|
@ -987,7 +988,7 @@ static void AirPoweredVerticalRCTrackBooster(
|
|||
WoodenASupportsPaintSetupRotated(
|
||||
session, kSupportType, WoodenSupportSubType::NeSw, direction, height, session.SupportColours);
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
static void AirPoweredVerticalRCTrackOnridePhoto(
|
||||
|
@ -1011,7 +1012,7 @@ static void AirPoweredVerticalRCTrackOnridePhoto(
|
|||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_SQUARE_FLAT);
|
||||
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
TRACK_PAINT_FUNCTION GetTrackPaintFunctionAirPoweredVerticalRC(int32_t trackType)
|
||||
|
|
|
@ -20,6 +20,7 @@
|
|||
#include "../../paint/support/MetalSupports.h"
|
||||
#include "../../paint/tile_element/Segment.h"
|
||||
#include "../../paint/track/Segment.h"
|
||||
#include "../../paint/track/Support.h"
|
||||
#include "../../sprites.h"
|
||||
#include "../../world/Map.h"
|
||||
#include "../RideData.h"
|
||||
|
@ -93,7 +94,7 @@ namespace AlpineRC
|
|||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_0);
|
||||
PaintUtilSetSegmentSupportHeight(
|
||||
session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
static void TrackStation(
|
||||
|
@ -126,7 +127,7 @@ namespace AlpineRC
|
|||
TrackPaintUtilDrawStation2(session, ride, direction, height, trackElement, 4, 7);
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_SQUARE_FLAT);
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
static void Track25DegUp(
|
||||
|
@ -438,10 +439,10 @@ namespace AlpineRC
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -475,7 +476,7 @@ namespace AlpineRC
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -521,7 +522,7 @@ namespace AlpineRC
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -579,10 +580,10 @@ namespace AlpineRC
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -616,7 +617,7 @@ namespace AlpineRC
|
|||
PaintSegment::topRightSide, PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -650,10 +651,10 @@ namespace AlpineRC
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 4:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 5:
|
||||
switch (direction)
|
||||
|
@ -687,7 +688,7 @@ namespace AlpineRC
|
|||
PaintSegment::topLeftSide, PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 6:
|
||||
switch (direction)
|
||||
|
@ -733,7 +734,7 @@ namespace AlpineRC
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -785,7 +786,7 @@ namespace AlpineRC
|
|||
}
|
||||
PaintUtilSetSegmentSupportHeight(
|
||||
session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -819,7 +820,7 @@ namespace AlpineRC
|
|||
PaintSegment::topRightSide, PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -853,7 +854,7 @@ namespace AlpineRC
|
|||
PaintSegment::topRightSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
PaintUtilSetSegmentSupportHeight(
|
||||
|
@ -864,7 +865,7 @@ namespace AlpineRC
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 4:
|
||||
switch (direction)
|
||||
|
@ -908,7 +909,7 @@ namespace AlpineRC
|
|||
PaintSegment::topRightSide, PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -952,7 +953,7 @@ namespace AlpineRC
|
|||
}
|
||||
PaintUtilSetSegmentSupportHeight(
|
||||
session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -986,7 +987,7 @@ namespace AlpineRC
|
|||
PaintSegment::topRightSide, PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -1020,7 +1021,7 @@ namespace AlpineRC
|
|||
PaintSegment::topRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
PaintUtilSetSegmentSupportHeight(
|
||||
|
@ -1031,7 +1032,7 @@ namespace AlpineRC
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 4:
|
||||
switch (direction)
|
||||
|
@ -1075,7 +1076,7 @@ namespace AlpineRC
|
|||
PaintSegment::topRightSide, PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -1134,7 +1135,7 @@ namespace AlpineRC
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
if (trackElement.HasChain())
|
||||
|
@ -1168,7 +1169,7 @@ namespace AlpineRC
|
|||
PaintSegment::topRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
if (trackElement.HasChain())
|
||||
|
@ -1202,7 +1203,7 @@ namespace AlpineRC
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
if (trackElement.HasChain())
|
||||
|
@ -1268,7 +1269,7 @@ namespace AlpineRC
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -2375,7 +2376,7 @@ namespace AlpineRC
|
|||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_0);
|
||||
PaintUtilSetSegmentSupportHeight(
|
||||
session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
static void TrackFlatToRightBank(
|
||||
|
@ -2420,7 +2421,7 @@ namespace AlpineRC
|
|||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_0);
|
||||
PaintUtilSetSegmentSupportHeight(
|
||||
session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
static void TrackLeftBankToFlat(
|
||||
|
@ -2709,7 +2710,7 @@ namespace AlpineRC
|
|||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_0);
|
||||
PaintUtilSetSegmentSupportHeight(
|
||||
session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
static void TrackRightBank(
|
||||
|
@ -2743,7 +2744,7 @@ namespace AlpineRC
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -2767,7 +2768,7 @@ namespace AlpineRC
|
|||
PaintSegment::topRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -2787,7 +2788,7 @@ namespace AlpineRC
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -2823,7 +2824,7 @@ namespace AlpineRC
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -2852,7 +2853,7 @@ namespace AlpineRC
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -2872,7 +2873,7 @@ namespace AlpineRC
|
|||
PaintSegment::topRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -2896,7 +2897,7 @@ namespace AlpineRC
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -2932,7 +2933,7 @@ namespace AlpineRC
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -2961,7 +2962,7 @@ namespace AlpineRC
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -2985,7 +2986,7 @@ namespace AlpineRC
|
|||
PaintSegment::topRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -3005,7 +3006,7 @@ namespace AlpineRC
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -3041,7 +3042,7 @@ namespace AlpineRC
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -3070,7 +3071,7 @@ namespace AlpineRC
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -3090,7 +3091,7 @@ namespace AlpineRC
|
|||
PaintSegment::topRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -3114,7 +3115,7 @@ namespace AlpineRC
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -3150,7 +3151,7 @@ namespace AlpineRC
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -4047,7 +4048,7 @@ namespace AlpineRC
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -4067,7 +4068,7 @@ namespace AlpineRC
|
|||
PaintSegment::topRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -4087,7 +4088,7 @@ namespace AlpineRC
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -4123,7 +4124,7 @@ namespace AlpineRC
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -4152,7 +4153,7 @@ namespace AlpineRC
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -4172,7 +4173,7 @@ namespace AlpineRC
|
|||
PaintSegment::topRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -4192,7 +4193,7 @@ namespace AlpineRC
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -4228,7 +4229,7 @@ namespace AlpineRC
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -4281,10 +4282,10 @@ namespace AlpineRC
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -4318,7 +4319,7 @@ namespace AlpineRC
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -4367,7 +4368,7 @@ namespace AlpineRC
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -4428,10 +4429,10 @@ namespace AlpineRC
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -4465,7 +4466,7 @@ namespace AlpineRC
|
|||
PaintSegment::topRightSide, PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -4499,10 +4500,10 @@ namespace AlpineRC
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 4:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 5:
|
||||
switch (direction)
|
||||
|
@ -4536,7 +4537,7 @@ namespace AlpineRC
|
|||
PaintSegment::topLeftSide, PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 6:
|
||||
switch (direction)
|
||||
|
@ -4585,7 +4586,7 @@ namespace AlpineRC
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -4637,7 +4638,7 @@ namespace AlpineRC
|
|||
}
|
||||
PaintUtilSetSegmentSupportHeight(
|
||||
session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -4671,7 +4672,7 @@ namespace AlpineRC
|
|||
PaintSegment::topRightSide, PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -4705,7 +4706,7 @@ namespace AlpineRC
|
|||
PaintSegment::topRightSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
PaintUtilSetSegmentSupportHeight(
|
||||
|
@ -4716,7 +4717,7 @@ namespace AlpineRC
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 4:
|
||||
switch (direction)
|
||||
|
@ -4760,7 +4761,7 @@ namespace AlpineRC
|
|||
PaintSegment::topRightSide, PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -4804,7 +4805,7 @@ namespace AlpineRC
|
|||
}
|
||||
PaintUtilSetSegmentSupportHeight(
|
||||
session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -4838,7 +4839,7 @@ namespace AlpineRC
|
|||
PaintSegment::topRightSide, PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -4872,7 +4873,7 @@ namespace AlpineRC
|
|||
PaintSegment::topRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
PaintUtilSetSegmentSupportHeight(
|
||||
|
@ -4883,7 +4884,7 @@ namespace AlpineRC
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 4:
|
||||
switch (direction)
|
||||
|
@ -4927,7 +4928,7 @@ namespace AlpineRC
|
|||
PaintSegment::topRightSide, PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -5642,7 +5643,7 @@ namespace AlpineRC
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -5681,7 +5682,7 @@ namespace AlpineRC
|
|||
PaintSegment::topRightSide, PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -5720,7 +5721,7 @@ namespace AlpineRC
|
|||
PaintSegment::topRightSide, PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -5766,7 +5767,7 @@ namespace AlpineRC
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -5816,7 +5817,7 @@ namespace AlpineRC
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -5855,7 +5856,7 @@ namespace AlpineRC
|
|||
PaintSegment::topRightSide, PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -5894,7 +5895,7 @@ namespace AlpineRC
|
|||
PaintSegment::topRightSide, PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -5940,7 +5941,7 @@ namespace AlpineRC
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -5993,10 +5994,10 @@ namespace AlpineRC
|
|||
PaintSegment::topRightSide, PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -6030,7 +6031,7 @@ namespace AlpineRC
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -6079,7 +6080,7 @@ namespace AlpineRC
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 4:
|
||||
switch (direction)
|
||||
|
@ -6128,10 +6129,10 @@ namespace AlpineRC
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 5:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 6:
|
||||
switch (direction)
|
||||
|
@ -6165,7 +6166,7 @@ namespace AlpineRC
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 7:
|
||||
switch (direction)
|
||||
|
@ -6209,7 +6210,7 @@ namespace AlpineRC
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -6262,10 +6263,10 @@ namespace AlpineRC
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -6299,7 +6300,7 @@ namespace AlpineRC
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -6348,7 +6349,7 @@ namespace AlpineRC
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 4:
|
||||
switch (direction)
|
||||
|
@ -6397,10 +6398,10 @@ namespace AlpineRC
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 5:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 6:
|
||||
switch (direction)
|
||||
|
@ -6434,7 +6435,7 @@ namespace AlpineRC
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 7:
|
||||
switch (direction)
|
||||
|
@ -6478,7 +6479,7 @@ namespace AlpineRC
|
|||
PaintSegment::topRightSide, PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -6557,10 +6558,10 @@ namespace AlpineRC
|
|||
PaintSegment::topRightSide, PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -6594,7 +6595,7 @@ namespace AlpineRC
|
|||
PaintSegment::topRightSide, PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -6628,10 +6629,10 @@ namespace AlpineRC
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 4:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 5:
|
||||
switch (direction)
|
||||
|
@ -6665,7 +6666,7 @@ namespace AlpineRC
|
|||
PaintSegment::topLeftSide, PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 6:
|
||||
switch (direction)
|
||||
|
@ -6714,7 +6715,7 @@ namespace AlpineRC
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 7:
|
||||
switch (direction)
|
||||
|
@ -6763,10 +6764,10 @@ namespace AlpineRC
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 8:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 9:
|
||||
switch (direction)
|
||||
|
@ -6800,7 +6801,7 @@ namespace AlpineRC
|
|||
PaintSegment::topLeftSide, PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 10:
|
||||
switch (direction)
|
||||
|
@ -6834,10 +6835,10 @@ namespace AlpineRC
|
|||
PaintSegment::topRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 11:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 12:
|
||||
switch (direction)
|
||||
|
@ -6871,7 +6872,7 @@ namespace AlpineRC
|
|||
PaintSegment::topRightSide, PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 13:
|
||||
switch (direction)
|
||||
|
@ -6915,7 +6916,7 @@ namespace AlpineRC
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -6967,10 +6968,10 @@ namespace AlpineRC
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -7004,7 +7005,7 @@ namespace AlpineRC
|
|||
PaintSegment::topRightSide, PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -7038,10 +7039,10 @@ namespace AlpineRC
|
|||
PaintSegment::topRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 4:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 5:
|
||||
switch (direction)
|
||||
|
@ -7075,7 +7076,7 @@ namespace AlpineRC
|
|||
PaintSegment::topLeftSide, PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 6:
|
||||
switch (direction)
|
||||
|
@ -7129,7 +7130,7 @@ namespace AlpineRC
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 7:
|
||||
switch (direction)
|
||||
|
@ -7178,10 +7179,10 @@ namespace AlpineRC
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 8:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 9:
|
||||
switch (direction)
|
||||
|
@ -7215,7 +7216,7 @@ namespace AlpineRC
|
|||
PaintSegment::topLeftSide, PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 10:
|
||||
switch (direction)
|
||||
|
@ -7249,10 +7250,10 @@ namespace AlpineRC
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 11:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 12:
|
||||
switch (direction)
|
||||
|
@ -7286,7 +7287,7 @@ namespace AlpineRC
|
|||
PaintSegment::topRightSide, PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 13:
|
||||
switch (direction)
|
||||
|
@ -7335,7 +7336,7 @@ namespace AlpineRC
|
|||
PaintSegment::topRightSide, PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -7394,7 +7395,7 @@ namespace AlpineRC
|
|||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_0);
|
||||
PaintUtilSetSegmentSupportHeight(
|
||||
session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
static void TrackLeftBankToLeftQuarterTurn3Tile25DegUp(
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
#include "../../paint/tile_element/Paint.TileElement.h"
|
||||
#include "../../paint/tile_element/Segment.h"
|
||||
#include "../../paint/track/Segment.h"
|
||||
#include "../../paint/track/Support.h"
|
||||
#include "../../sprites.h"
|
||||
#include "../../world/Map.h"
|
||||
#include "../RideData.h"
|
||||
|
@ -97,7 +98,7 @@ static void BobsleighRCTrackFlat(
|
|||
}
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_0);
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
static void BobsleighRCTrackStation(
|
||||
|
@ -121,7 +122,7 @@ static void BobsleighRCTrackStation(
|
|||
TrackPaintUtilDrawStation(session, ride, direction, height, trackElement);
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_SQUARE_FLAT);
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x006FE5C4 */
|
||||
|
@ -507,10 +508,10 @@ static void BobsleighRCTrackLeftQuarterTurn5(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -556,7 +557,7 @@ static void BobsleighRCTrackLeftQuarterTurn5(
|
|||
PaintSegment::topRightSide, PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -602,10 +603,10 @@ static void BobsleighRCTrackLeftQuarterTurn5(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 4:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 5:
|
||||
switch (direction)
|
||||
|
@ -651,7 +652,7 @@ static void BobsleighRCTrackLeftQuarterTurn5(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 6:
|
||||
switch (direction)
|
||||
|
@ -707,7 +708,7 @@ static void BobsleighRCTrackLeftQuarterTurn5(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -767,7 +768,7 @@ static void BobsleighRCTrackFlatToLeftBank(
|
|||
}
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_0);
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x006FE654 */
|
||||
|
@ -816,7 +817,7 @@ static void BobsleighRCTrackFlatToRightBank(
|
|||
}
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_0);
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x006FE664 */
|
||||
|
@ -865,7 +866,7 @@ static void BobsleighRCTrackLeftBankToFlat(
|
|||
}
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_0);
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x006FE674 */
|
||||
|
@ -914,7 +915,7 @@ static void BobsleighRCTrackRightBankToFlat(
|
|||
}
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_0);
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x006FE684 */
|
||||
|
@ -973,10 +974,10 @@ static void BobsleighRCTrackBankedLeftQuarterTurn5(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -1022,7 +1023,7 @@ static void BobsleighRCTrackBankedLeftQuarterTurn5(
|
|||
PaintSegment::topRightSide, PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -1068,10 +1069,10 @@ static void BobsleighRCTrackBankedLeftQuarterTurn5(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 4:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 5:
|
||||
switch (direction)
|
||||
|
@ -1117,7 +1118,7 @@ static void BobsleighRCTrackBankedLeftQuarterTurn5(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 6:
|
||||
switch (direction)
|
||||
|
@ -1173,7 +1174,7 @@ static void BobsleighRCTrackBankedLeftQuarterTurn5(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -1489,7 +1490,7 @@ static void BobsleighRCTrackLeftBank(
|
|||
}
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_0);
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x006FE734 */
|
||||
|
@ -1556,7 +1557,7 @@ static void BobsleighRCTrackSBendLeft(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -1606,7 +1607,7 @@ static void BobsleighRCTrackSBendLeft(
|
|||
PaintSegment::topRightSide, PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -1656,7 +1657,7 @@ static void BobsleighRCTrackSBendLeft(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -1712,7 +1713,7 @@ static void BobsleighRCTrackSBendLeft(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -1773,7 +1774,7 @@ static void BobsleighRCTrackSBendRight(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -1823,7 +1824,7 @@ static void BobsleighRCTrackSBendRight(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -1873,7 +1874,7 @@ static void BobsleighRCTrackSBendRight(
|
|||
PaintSegment::topRightSide, PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -1929,7 +1930,7 @@ static void BobsleighRCTrackSBendRight(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -1990,10 +1991,10 @@ static void BobsleighRCTrackLeftQuarterTurn3(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -2039,7 +2040,7 @@ static void BobsleighRCTrackLeftQuarterTurn3(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -2095,7 +2096,7 @@ static void BobsleighRCTrackLeftQuarterTurn3(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -2165,10 +2166,10 @@ static void BobsleighRCTrackLeftQuarterTurn3Bank(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -2214,7 +2215,7 @@ static void BobsleighRCTrackLeftQuarterTurn3Bank(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -2270,7 +2271,7 @@ static void BobsleighRCTrackLeftQuarterTurn3Bank(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -2340,10 +2341,10 @@ static void BobsleighRCTrackLeftHalfBankedHelixUpSmall(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -2389,7 +2390,7 @@ static void BobsleighRCTrackLeftHalfBankedHelixUpSmall(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -2445,7 +2446,7 @@ static void BobsleighRCTrackLeftHalfBankedHelixUpSmall(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 4:
|
||||
switch (direction)
|
||||
|
@ -2501,10 +2502,10 @@ static void BobsleighRCTrackLeftHalfBankedHelixUpSmall(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 5:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 6:
|
||||
switch (direction)
|
||||
|
@ -2550,7 +2551,7 @@ static void BobsleighRCTrackLeftHalfBankedHelixUpSmall(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 7:
|
||||
switch (direction)
|
||||
|
@ -2601,7 +2602,7 @@ static void BobsleighRCTrackLeftHalfBankedHelixUpSmall(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -2662,10 +2663,10 @@ static void BobsleighRCTrackRightHalfBankedHelixUpSmall(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -2711,7 +2712,7 @@ static void BobsleighRCTrackRightHalfBankedHelixUpSmall(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -2767,7 +2768,7 @@ static void BobsleighRCTrackRightHalfBankedHelixUpSmall(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 4:
|
||||
switch (direction)
|
||||
|
@ -2823,10 +2824,10 @@ static void BobsleighRCTrackRightHalfBankedHelixUpSmall(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 5:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 6:
|
||||
switch (direction)
|
||||
|
@ -2872,7 +2873,7 @@ static void BobsleighRCTrackRightHalfBankedHelixUpSmall(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 7:
|
||||
switch (direction)
|
||||
|
@ -2923,7 +2924,7 @@ static void BobsleighRCTrackRightHalfBankedHelixUpSmall(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -3012,10 +3013,10 @@ static void BobsleighRCTrackLeftHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -3061,7 +3062,7 @@ static void BobsleighRCTrackLeftHalfBankedHelixUpLarge(
|
|||
PaintSegment::topRightSide, PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -3107,10 +3108,10 @@ static void BobsleighRCTrackLeftHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 4:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 5:
|
||||
switch (direction)
|
||||
|
@ -3156,7 +3157,7 @@ static void BobsleighRCTrackLeftHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 6:
|
||||
switch (direction)
|
||||
|
@ -3212,7 +3213,7 @@ static void BobsleighRCTrackLeftHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 7:
|
||||
switch (direction)
|
||||
|
@ -3268,10 +3269,10 @@ static void BobsleighRCTrackLeftHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 8:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 9:
|
||||
switch (direction)
|
||||
|
@ -3317,7 +3318,7 @@ static void BobsleighRCTrackLeftHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 10:
|
||||
switch (direction)
|
||||
|
@ -3362,10 +3363,10 @@ static void BobsleighRCTrackLeftHalfBankedHelixUpLarge(
|
|||
PaintSegment::topCorner, PaintSegment::centre, PaintSegment::topLeftSide, PaintSegment::topRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 11:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 12:
|
||||
switch (direction)
|
||||
|
@ -3411,7 +3412,7 @@ static void BobsleighRCTrackLeftHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 13:
|
||||
switch (direction)
|
||||
|
@ -3462,7 +3463,7 @@ static void BobsleighRCTrackLeftHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -3523,10 +3524,10 @@ static void BobsleighRCTrackRightHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -3572,7 +3573,7 @@ static void BobsleighRCTrackRightHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -3617,10 +3618,10 @@ static void BobsleighRCTrackRightHalfBankedHelixUpLarge(
|
|||
PaintSegment::topCorner, PaintSegment::centre, PaintSegment::topLeftSide, PaintSegment::topRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 4:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 5:
|
||||
switch (direction)
|
||||
|
@ -3666,7 +3667,7 @@ static void BobsleighRCTrackRightHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 6:
|
||||
switch (direction)
|
||||
|
@ -3722,7 +3723,7 @@ static void BobsleighRCTrackRightHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 7:
|
||||
switch (direction)
|
||||
|
@ -3778,10 +3779,10 @@ static void BobsleighRCTrackRightHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 8:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 9:
|
||||
switch (direction)
|
||||
|
@ -3827,7 +3828,7 @@ static void BobsleighRCTrackRightHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 10:
|
||||
switch (direction)
|
||||
|
@ -3873,10 +3874,10 @@ static void BobsleighRCTrackRightHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 11:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 12:
|
||||
switch (direction)
|
||||
|
@ -3922,7 +3923,7 @@ static void BobsleighRCTrackRightHalfBankedHelixUpLarge(
|
|||
PaintSegment::topRightSide, PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 13:
|
||||
switch (direction)
|
||||
|
@ -3973,7 +3974,7 @@ static void BobsleighRCTrackRightHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -4038,7 +4039,7 @@ static void BobsleighRCTrackBrakes(
|
|||
}
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_0);
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x006FE864 */
|
||||
|
@ -4074,7 +4075,7 @@ static void BobsleighRCTrackBlockBrakes(
|
|||
}
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_0);
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
static void BobsleighRCTrackOnRidePhoto(
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -9,6 +9,7 @@
|
|||
|
||||
#include "../../paint/tile_element/Segment.h"
|
||||
#include "../../paint/track/Segment.h"
|
||||
#include "../../paint/track/Support.h"
|
||||
#include "../../sprites.h"
|
||||
#include "../Track.h"
|
||||
#include "../TrackPaint.h"
|
||||
|
@ -163,7 +164,7 @@ static void classicStandUpRCTrackFlatToLeftBank(
|
|||
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_0);
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
static void classicStandUpRCTrackFlatToRightBank(
|
||||
|
@ -187,7 +188,7 @@ static void classicStandUpRCTrackFlatToRightBank(
|
|||
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_0);
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
static void classicStandUpRCTrackLeftBankToFlat(
|
||||
|
@ -380,7 +381,7 @@ static void classicStandUpRCTrackBankedRightQuarterTurn5(
|
|||
}
|
||||
}
|
||||
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
static void classicStandUpRCTrackBankedLeftQuarterTurn5(
|
||||
|
@ -569,7 +570,7 @@ static void classicStandUpRCTrackLeftBank(
|
|||
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_0);
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
static void classicStandUpRCTrackRightBank(
|
||||
|
@ -612,7 +613,7 @@ static void classicStandUpRCTrackLeftEighthBankToDiag(
|
|||
}
|
||||
PaintUtilSetSegmentSupportHeight(
|
||||
session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -646,7 +647,7 @@ static void classicStandUpRCTrackLeftEighthBankToDiag(
|
|||
PaintSegment::topRightSide, PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -680,7 +681,7 @@ static void classicStandUpRCTrackLeftEighthBankToDiag(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
PaintUtilSetSegmentSupportHeight(
|
||||
|
@ -691,7 +692,7 @@ static void classicStandUpRCTrackLeftEighthBankToDiag(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 4:
|
||||
switch (direction)
|
||||
|
@ -728,7 +729,7 @@ static void classicStandUpRCTrackLeftEighthBankToDiag(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -765,7 +766,7 @@ static void classicStandUpRCTrackRightEighthBankToDiag(
|
|||
}
|
||||
PaintUtilSetSegmentSupportHeight(
|
||||
session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -799,7 +800,7 @@ static void classicStandUpRCTrackRightEighthBankToDiag(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -833,7 +834,7 @@ static void classicStandUpRCTrackRightEighthBankToDiag(
|
|||
PaintSegment::topRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
PaintUtilSetSegmentSupportHeight(
|
||||
|
@ -844,7 +845,7 @@ static void classicStandUpRCTrackRightEighthBankToDiag(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 4:
|
||||
switch (direction)
|
||||
|
@ -881,7 +882,7 @@ static void classicStandUpRCTrackRightEighthBankToDiag(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -997,7 +998,7 @@ static void classicStandUpRCTrackRightBankedQuarterTurn3(
|
|||
break;
|
||||
}
|
||||
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
static void classicStandUpRCTrackLeftBankedQuarterTurn3(
|
||||
|
@ -1065,7 +1066,7 @@ static inline void classicStandUpRCTrackDiagFlatWithBank(
|
|||
|
||||
PaintUtilSetSegmentSupportHeight(
|
||||
session, PaintUtilRotateSegments(BlockedSegments::kDiagStraightFlat[trackSequence], direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
static void classicStandUpRCTrackDiagFlatToLeftBank(
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
#include "../../paint/tile_element/Paint.TileElement.h"
|
||||
#include "../../paint/tile_element/Segment.h"
|
||||
#include "../../paint/track/Segment.h"
|
||||
#include "../../paint/track/Support.h"
|
||||
#include "../../sprites.h"
|
||||
#include "../../world/Map.h"
|
||||
#include "../RideData.h"
|
||||
|
@ -260,7 +261,7 @@ static void ClassicWoodenRCTrackFlatToLeftBank(
|
|||
session, kSupportType, WoodenSupportSubType::NeSw, direction, height, session.SupportColours);
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_SQUARE_FLAT);
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
static void ClassicWoodenRCTrackFlatToRightBank(
|
||||
|
@ -294,7 +295,7 @@ static void ClassicWoodenRCTrackFlatToRightBank(
|
|||
session, kSupportType, WoodenSupportSubType::NeSw, direction, height, session.SupportColours);
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_SQUARE_FLAT);
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
static void ClassicWoodenRCTrackLeftBankToFlat(
|
||||
|
@ -341,7 +342,7 @@ static void ClassicWoodenRCTrackLeftBank(
|
|||
session, kSupportType, WoodenSupportSubType::NeSw, direction, height, session.SupportColours);
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_SQUARE_FLAT);
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
static void ClassicWoodenRCTrackRightBank(
|
||||
|
@ -802,7 +803,7 @@ static void ClassicWoodenRCTrackBankedRightQuarterTurn5(
|
|||
WoodenASupportsPaintSetup(session, kSupportType, supportType[direction][trackSequence], height, session.SupportColours);
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(blockedSegments[trackSequence], direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
static void ClassicWoodenRCTrackBankedLeftQuarterTurn5(
|
||||
|
@ -966,7 +967,7 @@ static void ClassicWoodenRCTrackRightQuarterTurn3Bank(
|
|||
}
|
||||
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(blockedSegments[trackSequence], direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
static void ClassicWoodenRCTrackLeftQuarterTurn3Bank(
|
||||
|
@ -1172,7 +1173,7 @@ static void ClassicWoodenRCTrackLeftEighthBankToDiag(
|
|||
WoodenRCTrackPaintBb<true>(session, &imageIds[direction][trackSequence][1], height);
|
||||
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(blockedSegments[trackSequence], direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
static void ClassicWoodenRCTrackRightEighthBankToDiag(
|
||||
|
@ -1370,7 +1371,7 @@ static void ClassicWoodenRCTrackRightEighthBankToDiag(
|
|||
WoodenRCTrackPaintBb<true>(session, &imageIds[direction][trackSequence][1], height);
|
||||
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(blockedSegments[trackSequence], direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
static void ClassicWoodenRCTrackLeftEighthBankToOrthogonal(
|
||||
|
@ -1500,7 +1501,7 @@ static void ClassicWoodenRCTrackDiagFlatToLeftBank(
|
|||
WoodenRCTrackPaintBb<true>(session, &imageIds[direction][trackSequence][0], height);
|
||||
WoodenRCTrackPaintBb<true>(session, &imageIds[direction][trackSequence][1], height);
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
static void ClassicWoodenRCTrackDiagFlatToRightBank(
|
||||
|
@ -1614,7 +1615,7 @@ static void ClassicWoodenRCTrackDiagFlatToRightBank(
|
|||
WoodenRCTrackPaintBb<true>(session, &imageIds[direction][trackSequence][0], height);
|
||||
WoodenRCTrackPaintBb<true>(session, &imageIds[direction][trackSequence][1], height);
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
static void ClassicWoodenRCTrackDiagLeftBankToFlat(
|
||||
|
@ -1730,7 +1731,7 @@ static void ClassicWoodenRCTrackDiagLeftBank(
|
|||
WoodenRCTrackPaintBb<true>(session, &imageIds[direction][trackSequence][0], height);
|
||||
WoodenRCTrackPaintBb<true>(session, &imageIds[direction][trackSequence][1], height);
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
static void ClassicWoodenRCTrackDiagRightBank(
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
#include "../../paint/tile_element/Paint.TileElement.h"
|
||||
#include "../../paint/tile_element/Segment.h"
|
||||
#include "../../paint/track/Segment.h"
|
||||
#include "../../paint/track/Support.h"
|
||||
#include "../../sprites.h"
|
||||
#include "../../world/Map.h"
|
||||
#include "../RideData.h"
|
||||
|
@ -5544,7 +5545,7 @@ static void CompactInvertedRCTrack90DegUp(
|
|||
PaintUtilSetVerticalTunnel(session, height + 32);
|
||||
PaintUtilSetSegmentSupportHeight(
|
||||
session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
break;
|
||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -14,6 +14,7 @@
|
|||
#include "../../paint/tile_element/Paint.TileElement.h"
|
||||
#include "../../paint/tile_element/Segment.h"
|
||||
#include "../../paint/track/Segment.h"
|
||||
#include "../../paint/track/Support.h"
|
||||
#include "../../sprites.h"
|
||||
#include "../../world/Map.h"
|
||||
#include "../RideData.h"
|
||||
|
@ -165,7 +166,7 @@ static void GigaRCTrackFlat(
|
|||
}
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_SQUARE_FLAT);
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
static void GigaRCTrackStation(
|
||||
|
@ -199,7 +200,7 @@ static void GigaRCTrackStation(
|
|||
TrackPaintUtilDrawStation2(session, ride, direction, height, trackElement, 9, 11);
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_SQUARE_FLAT);
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AD684 */
|
||||
|
@ -870,10 +871,10 @@ static void GigaRCTrackLeftQuarterTurn5(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -907,7 +908,7 @@ static void GigaRCTrackLeftQuarterTurn5(
|
|||
PaintSegment::topRightSide, PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -941,10 +942,10 @@ static void GigaRCTrackLeftQuarterTurn5(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 4:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 5:
|
||||
switch (direction)
|
||||
|
@ -978,7 +979,7 @@ static void GigaRCTrackLeftQuarterTurn5(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 6:
|
||||
switch (direction)
|
||||
|
@ -1022,7 +1023,7 @@ static void GigaRCTrackLeftQuarterTurn5(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -1076,7 +1077,7 @@ static void GigaRCTrackFlatToLeftBank(
|
|||
}
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_SQUARE_FLAT);
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AD774 */
|
||||
|
@ -1119,7 +1120,7 @@ static void GigaRCTrackFlatToRightBank(
|
|||
}
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_SQUARE_FLAT);
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AD784 */
|
||||
|
@ -1162,7 +1163,7 @@ static void GigaRCTrackLeftBankToFlat(
|
|||
}
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_SQUARE_FLAT);
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AD794 */
|
||||
|
@ -1205,7 +1206,7 @@ static void GigaRCTrackRightBankToFlat(
|
|||
}
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_SQUARE_FLAT);
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AD7A4 */
|
||||
|
@ -1255,10 +1256,10 @@ static void GigaRCTrackBankedLeftQuarterTurn5(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -1292,7 +1293,7 @@ static void GigaRCTrackBankedLeftQuarterTurn5(
|
|||
PaintSegment::topRightSide, PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -1326,10 +1327,10 @@ static void GigaRCTrackBankedLeftQuarterTurn5(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 4:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 5:
|
||||
switch (direction)
|
||||
|
@ -1363,7 +1364,7 @@ static void GigaRCTrackBankedLeftQuarterTurn5(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 6:
|
||||
switch (direction)
|
||||
|
@ -1410,7 +1411,7 @@ static void GigaRCTrackBankedLeftQuarterTurn5(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -1690,7 +1691,7 @@ static void GigaRCTrackLeftBank(
|
|||
}
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_SQUARE_FLAT);
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AD854 */
|
||||
|
@ -2154,7 +2155,7 @@ static void GigaRCTrackSBendLeft(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -2190,7 +2191,7 @@ static void GigaRCTrackSBendLeft(
|
|||
PaintSegment::topRightSide, PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -2226,7 +2227,7 @@ static void GigaRCTrackSBendLeft(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -2270,7 +2271,7 @@ static void GigaRCTrackSBendLeft(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -2319,7 +2320,7 @@ static void GigaRCTrackSBendRight(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -2355,7 +2356,7 @@ static void GigaRCTrackSBendRight(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -2391,7 +2392,7 @@ static void GigaRCTrackSBendRight(
|
|||
PaintSegment::topRightSide, PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -2435,7 +2436,7 @@ static void GigaRCTrackSBendRight(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -2484,10 +2485,10 @@ static void GigaRCTrackLeftQuarterTurn3(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -2521,7 +2522,7 @@ static void GigaRCTrackLeftQuarterTurn3(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -2565,7 +2566,7 @@ static void GigaRCTrackLeftQuarterTurn3(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -2626,10 +2627,10 @@ static void GigaRCTrackLeftQuarterTurn3Bank(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -2663,7 +2664,7 @@ static void GigaRCTrackLeftQuarterTurn3Bank(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -2710,7 +2711,7 @@ static void GigaRCTrackLeftQuarterTurn3Bank(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -2978,10 +2979,10 @@ static void GigaRCTrackLeftHalfBankedHelixUpSmall(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -3015,7 +3016,7 @@ static void GigaRCTrackLeftHalfBankedHelixUpSmall(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -3062,7 +3063,7 @@ static void GigaRCTrackLeftHalfBankedHelixUpSmall(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 4:
|
||||
switch (direction)
|
||||
|
@ -3109,10 +3110,10 @@ static void GigaRCTrackLeftHalfBankedHelixUpSmall(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 5:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 6:
|
||||
switch (direction)
|
||||
|
@ -3146,7 +3147,7 @@ static void GigaRCTrackLeftHalfBankedHelixUpSmall(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 7:
|
||||
switch (direction)
|
||||
|
@ -3188,7 +3189,7 @@ static void GigaRCTrackLeftHalfBankedHelixUpSmall(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -3240,10 +3241,10 @@ static void GigaRCTrackRightHalfBankedHelixUpSmall(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -3277,7 +3278,7 @@ static void GigaRCTrackRightHalfBankedHelixUpSmall(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -3324,7 +3325,7 @@ static void GigaRCTrackRightHalfBankedHelixUpSmall(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 4:
|
||||
switch (direction)
|
||||
|
@ -3371,10 +3372,10 @@ static void GigaRCTrackRightHalfBankedHelixUpSmall(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 5:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 6:
|
||||
switch (direction)
|
||||
|
@ -3408,7 +3409,7 @@ static void GigaRCTrackRightHalfBankedHelixUpSmall(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 7:
|
||||
switch (direction)
|
||||
|
@ -3450,7 +3451,7 @@ static void GigaRCTrackRightHalfBankedHelixUpSmall(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -3530,10 +3531,10 @@ static void GigaRCTrackLeftHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -3567,7 +3568,7 @@ static void GigaRCTrackLeftHalfBankedHelixUpLarge(
|
|||
PaintSegment::topRightSide, PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -3601,10 +3602,10 @@ static void GigaRCTrackLeftHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 4:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 5:
|
||||
switch (direction)
|
||||
|
@ -3638,7 +3639,7 @@ static void GigaRCTrackLeftHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 6:
|
||||
switch (direction)
|
||||
|
@ -3685,7 +3686,7 @@ static void GigaRCTrackLeftHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 7:
|
||||
switch (direction)
|
||||
|
@ -3732,10 +3733,10 @@ static void GigaRCTrackLeftHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 8:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 9:
|
||||
switch (direction)
|
||||
|
@ -3769,7 +3770,7 @@ static void GigaRCTrackLeftHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 10:
|
||||
switch (direction)
|
||||
|
@ -3802,10 +3803,10 @@ static void GigaRCTrackLeftHalfBankedHelixUpLarge(
|
|||
PaintSegment::topCorner, PaintSegment::centre, PaintSegment::topLeftSide, PaintSegment::topRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 11:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 12:
|
||||
switch (direction)
|
||||
|
@ -3839,7 +3840,7 @@ static void GigaRCTrackLeftHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 13:
|
||||
switch (direction)
|
||||
|
@ -3881,7 +3882,7 @@ static void GigaRCTrackLeftHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -3933,10 +3934,10 @@ static void GigaRCTrackRightHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -3970,7 +3971,7 @@ static void GigaRCTrackRightHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -4003,10 +4004,10 @@ static void GigaRCTrackRightHalfBankedHelixUpLarge(
|
|||
PaintSegment::topCorner, PaintSegment::centre, PaintSegment::topLeftSide, PaintSegment::topRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 4:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 5:
|
||||
switch (direction)
|
||||
|
@ -4040,7 +4041,7 @@ static void GigaRCTrackRightHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 6:
|
||||
switch (direction)
|
||||
|
@ -4094,7 +4095,7 @@ static void GigaRCTrackRightHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 7:
|
||||
switch (direction)
|
||||
|
@ -4141,10 +4142,10 @@ static void GigaRCTrackRightHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 8:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 9:
|
||||
switch (direction)
|
||||
|
@ -4178,7 +4179,7 @@ static void GigaRCTrackRightHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 10:
|
||||
switch (direction)
|
||||
|
@ -4212,10 +4213,10 @@ static void GigaRCTrackRightHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 11:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 12:
|
||||
switch (direction)
|
||||
|
@ -4249,7 +4250,7 @@ static void GigaRCTrackRightHalfBankedHelixUpLarge(
|
|||
PaintSegment::topRightSide, PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 13:
|
||||
switch (direction)
|
||||
|
@ -4298,7 +4299,7 @@ static void GigaRCTrackRightHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -4469,7 +4470,7 @@ static void GigaRCTrackBrakes(
|
|||
}
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_SQUARE_FLAT);
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x008ADC84 */
|
||||
|
@ -5284,7 +5285,7 @@ static void GigaRCTrackLeftEighthToDiag(
|
|||
}
|
||||
PaintUtilSetSegmentSupportHeight(
|
||||
session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -5318,7 +5319,7 @@ static void GigaRCTrackLeftEighthToDiag(
|
|||
PaintSegment::topRightSide, PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -5352,7 +5353,7 @@ static void GigaRCTrackLeftEighthToDiag(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
PaintUtilSetSegmentSupportHeight(
|
||||
|
@ -5363,7 +5364,7 @@ static void GigaRCTrackLeftEighthToDiag(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 4:
|
||||
switch (direction)
|
||||
|
@ -5405,7 +5406,7 @@ static void GigaRCTrackLeftEighthToDiag(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -5448,7 +5449,7 @@ static void GigaRCTrackRightEighthToDiag(
|
|||
}
|
||||
PaintUtilSetSegmentSupportHeight(
|
||||
session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -5482,7 +5483,7 @@ static void GigaRCTrackRightEighthToDiag(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -5516,7 +5517,7 @@ static void GigaRCTrackRightEighthToDiag(
|
|||
PaintSegment::topRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
PaintUtilSetSegmentSupportHeight(
|
||||
|
@ -5527,7 +5528,7 @@ static void GigaRCTrackRightEighthToDiag(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 4:
|
||||
switch (direction)
|
||||
|
@ -5569,7 +5570,7 @@ static void GigaRCTrackRightEighthToDiag(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -5630,7 +5631,7 @@ static void GigaRCTrackLeftEighthBankToDiag(
|
|||
}
|
||||
PaintUtilSetSegmentSupportHeight(
|
||||
session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -5664,7 +5665,7 @@ static void GigaRCTrackLeftEighthBankToDiag(
|
|||
PaintSegment::topRightSide, PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -5698,7 +5699,7 @@ static void GigaRCTrackLeftEighthBankToDiag(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
PaintUtilSetSegmentSupportHeight(
|
||||
|
@ -5709,7 +5710,7 @@ static void GigaRCTrackLeftEighthBankToDiag(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 4:
|
||||
switch (direction)
|
||||
|
@ -5751,7 +5752,7 @@ static void GigaRCTrackLeftEighthBankToDiag(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -5794,7 +5795,7 @@ static void GigaRCTrackRightEighthBankToDiag(
|
|||
}
|
||||
PaintUtilSetSegmentSupportHeight(
|
||||
session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -5828,7 +5829,7 @@ static void GigaRCTrackRightEighthBankToDiag(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -5862,7 +5863,7 @@ static void GigaRCTrackRightEighthBankToDiag(
|
|||
PaintSegment::topRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
PaintUtilSetSegmentSupportHeight(
|
||||
|
@ -5873,7 +5874,7 @@ static void GigaRCTrackRightEighthBankToDiag(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 4:
|
||||
switch (direction)
|
||||
|
@ -5915,7 +5916,7 @@ static void GigaRCTrackRightEighthBankToDiag(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -5958,7 +5959,7 @@ static void GigaRCTrackDiagFlat(
|
|||
|
||||
PaintUtilSetSegmentSupportHeight(
|
||||
session, PaintUtilRotateSegments(BlockedSegments::kDiagStraightFlat[trackSequence], direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x008ADB04 */
|
||||
|
@ -7591,7 +7592,7 @@ static void GigaRCTrackDiagFlatToLeftBank(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -7612,7 +7613,7 @@ static void GigaRCTrackDiagFlatToLeftBank(
|
|||
PaintSegment::topCorner, PaintSegment::centre, PaintSegment::topLeftSide, PaintSegment::topRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -7631,7 +7632,7 @@ static void GigaRCTrackDiagFlatToLeftBank(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -7664,7 +7665,7 @@ static void GigaRCTrackDiagFlatToLeftBank(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -7693,7 +7694,7 @@ static void GigaRCTrackDiagFlatToRightBank(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -7711,7 +7712,7 @@ static void GigaRCTrackDiagFlatToRightBank(
|
|||
PaintSegment::topCorner, PaintSegment::centre, PaintSegment::topLeftSide, PaintSegment::topRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -7733,7 +7734,7 @@ static void GigaRCTrackDiagFlatToRightBank(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -7766,7 +7767,7 @@ static void GigaRCTrackDiagFlatToRightBank(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -7795,7 +7796,7 @@ static void GigaRCTrackDiagLeftBankToFlat(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -7816,7 +7817,7 @@ static void GigaRCTrackDiagLeftBankToFlat(
|
|||
PaintSegment::topCorner, PaintSegment::centre, PaintSegment::topLeftSide, PaintSegment::topRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -7835,7 +7836,7 @@ static void GigaRCTrackDiagLeftBankToFlat(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -7868,7 +7869,7 @@ static void GigaRCTrackDiagLeftBankToFlat(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -7897,7 +7898,7 @@ static void GigaRCTrackDiagRightBankToFlat(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -7915,7 +7916,7 @@ static void GigaRCTrackDiagRightBankToFlat(
|
|||
PaintSegment::topCorner, PaintSegment::centre, PaintSegment::topLeftSide, PaintSegment::topRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -7937,7 +7938,7 @@ static void GigaRCTrackDiagRightBankToFlat(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -7970,7 +7971,7 @@ static void GigaRCTrackDiagRightBankToFlat(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -8811,7 +8812,7 @@ static void GigaRCTrackDiagLeftBank(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -8829,7 +8830,7 @@ static void GigaRCTrackDiagLeftBank(
|
|||
PaintSegment::topCorner, PaintSegment::centre, PaintSegment::topLeftSide, PaintSegment::topRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -8848,7 +8849,7 @@ static void GigaRCTrackDiagLeftBank(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -8881,7 +8882,7 @@ static void GigaRCTrackDiagLeftBank(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -8910,7 +8911,7 @@ static void GigaRCTrackDiagRightBank(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -8928,7 +8929,7 @@ static void GigaRCTrackDiagRightBank(
|
|||
PaintSegment::topCorner, PaintSegment::centre, PaintSegment::topLeftSide, PaintSegment::topRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -8947,7 +8948,7 @@ static void GigaRCTrackDiagRightBank(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -8980,7 +8981,7 @@ static void GigaRCTrackDiagRightBank(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -9004,7 +9005,7 @@ static void GigaRCTrackBlockBrakes(
|
|||
}
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_SQUARE_FLAT);
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x008ADCC4 */
|
||||
|
@ -10308,7 +10309,7 @@ static void GigaRCTrackBooster(
|
|||
}
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_SQUARE_FLAT);
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
static void GigaRCTrackPoweredLift(
|
||||
|
@ -10368,7 +10369,7 @@ static void GigaRCTrack90DegUp(
|
|||
PaintUtilSetVerticalTunnel(session, height + 32);
|
||||
PaintUtilSetSegmentSupportHeight(
|
||||
session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
break;
|
||||
|
@ -10688,7 +10689,7 @@ static void GigaRCTrackLeftBarrelRollUpToDown(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -10856,7 +10857,7 @@ static void GigaRCTrackRightBarrelRollUpToDown(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -17950,7 +17951,7 @@ static void GigaRCTrackDiagBrakes(
|
|||
}
|
||||
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
TRACK_PAINT_FUNCTION GetTrackPaintFunctionGigaRC(int32_t trackType)
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
#include "../../paint/tile_element/Paint.TileElement.h"
|
||||
#include "../../paint/tile_element/Segment.h"
|
||||
#include "../../paint/track/Segment.h"
|
||||
#include "../../paint/track/Support.h"
|
||||
#include "../../sprites.h"
|
||||
#include "../../world/Map.h"
|
||||
#include "../RideData.h"
|
||||
|
@ -95,7 +96,7 @@ static void HeartlineTwisterRCTrackFlat(
|
|||
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_0);
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
static void HeartlineTwisterRCTrackStation(
|
||||
|
@ -119,7 +120,7 @@ static void HeartlineTwisterRCTrackStation(
|
|||
TrackPaintUtilDrawStation(session, ride, direction, height, trackElement);
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_SQUARE_FLAT);
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x0087695C */
|
||||
|
@ -926,7 +927,7 @@ static void HeartlineTwisterRCTrackHeartlineTransferUp(
|
|||
session, kSupportType, WoodenSupportSubType::NeSw, direction, height, session.SupportColours);
|
||||
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -973,7 +974,7 @@ static void HeartlineTwisterRCTrackHeartlineTransferUp(
|
|||
PaintUtilPushTunnelRotated(session, direction, height - 16, TUNNEL_0);
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -1030,7 +1031,7 @@ static void HeartlineTwisterRCTrackHeartlineTransferDown(
|
|||
PaintUtilPushTunnelRotated(session, direction, height - 16, TUNNEL_0);
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -1141,7 +1142,7 @@ static void HeartlineTwisterRCTrackHeartlineTransferDown(
|
|||
session, kSupportType, WoodenSupportSubType::NeSw, direction, height, session.SupportColours);
|
||||
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -1434,7 +1435,7 @@ static void HeartlineTwisterRCTrackLeftHeartlineRoll(
|
|||
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_0);
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x00876A5C */
|
||||
|
@ -1673,7 +1674,7 @@ static void HeartlineTwisterRCTrackRightHeartlineRoll(
|
|||
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_0);
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
TRACK_PAINT_FUNCTION GetTrackPaintFunctionHeartlineTwisterRC(int32_t trackType)
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -14,6 +14,7 @@
|
|||
#include "../../paint/tile_element/Paint.TileElement.h"
|
||||
#include "../../paint/tile_element/Segment.h"
|
||||
#include "../../paint/track/Segment.h"
|
||||
#include "../../paint/track/Support.h"
|
||||
#include "../../sprites.h"
|
||||
#include "../../world/Map.h"
|
||||
#include "../RideData.h"
|
||||
|
@ -79,7 +80,7 @@ static void InvertedHairpinRCTrackFlat(
|
|||
}
|
||||
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x00890D84, 0x00890D94, 0x00890DA4 */
|
||||
|
@ -107,7 +108,7 @@ static void InvertedHairpinRCTrackStation(
|
|||
TrackPaintUtilDrawStationInverted(session, ride, direction, height, trackElement, STATION_VARIANT_1);
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_SQUARE_FLAT);
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x00890CC4 */
|
||||
|
@ -738,10 +739,10 @@ static void InvertedHairpinRCTrackLeftQuarterTurn3(
|
|||
{
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_0);
|
||||
}
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -775,7 +776,7 @@ static void InvertedHairpinRCTrackLeftQuarterTurn3(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -821,7 +822,7 @@ static void InvertedHairpinRCTrackLeftQuarterTurn3(
|
|||
PaintUtilPushTunnelLeft(session, height, TUNNEL_0);
|
||||
break;
|
||||
}
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -1094,7 +1095,7 @@ static void InvertedHairpinRCTrackLeftQuarterTurn1(
|
|||
PaintUtilPushTunnelLeft(session, height, TUNNEL_0);
|
||||
break;
|
||||
}
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x00890E74 */
|
||||
|
@ -1332,7 +1333,7 @@ static void InvertedHairpinRCTrackBrakes(
|
|||
}
|
||||
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x00890E84 */
|
||||
|
@ -1363,7 +1364,7 @@ static void InvertedHairpinRCTrackBlockBrakes(
|
|||
}
|
||||
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
TRACK_PAINT_FUNCTION GetTrackPaintFunctionInvertedHairpinRC(int32_t trackType)
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
#include "../../paint/tile_element/Paint.TileElement.h"
|
||||
#include "../../paint/tile_element/Segment.h"
|
||||
#include "../../paint/track/Segment.h"
|
||||
#include "../../paint/track/Support.h"
|
||||
#include "../../sprites.h"
|
||||
#include "../../world/Map.h"
|
||||
#include "../RideData.h"
|
||||
|
@ -481,7 +482,7 @@ static void InvertedImpulseRCTrack90DegUp(
|
|||
PaintUtilSetVerticalTunnel(session, height + 32);
|
||||
PaintUtilSetSegmentSupportHeight(
|
||||
session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
break;
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
#include "../../paint/support/MetalSupports.h"
|
||||
#include "../../paint/tile_element/Segment.h"
|
||||
#include "../../paint/track/Segment.h"
|
||||
#include "../../paint/track/Support.h"
|
||||
#include "../../sprites.h"
|
||||
#include "../../world/Map.h"
|
||||
#include "../RideData.h"
|
||||
|
@ -1875,7 +1876,7 @@ static void JuniorRCPaintTrackFlat(
|
|||
PaintUtilRotateSegments(
|
||||
EnumsToFlags(PaintSegment::bottomLeftSide, PaintSegment::centre, PaintSegment::topRightSide), direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
template<JuniorRCSubType TSubType>
|
||||
|
@ -1935,7 +1936,7 @@ static void JuniorRCPaintStation(
|
|||
TrackPaintUtilDrawStation(session, ride, direction, height, trackElement);
|
||||
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
template<JuniorRCSubType TSubType>
|
||||
|
@ -2147,7 +2148,7 @@ static void JuniorRCRightQuarterTurn5TilesPaintSetup(
|
|||
break;
|
||||
}
|
||||
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
static constexpr uint8_t junior_rc_left_quarter_turn_5_tiles_to_right_turn_map[] = {
|
||||
|
@ -2211,7 +2212,7 @@ static void JuniorRCFlatToLeftBankPaintSetup(
|
|||
PaintUtilRotateSegments(
|
||||
EnumsToFlags(PaintSegment::centre, PaintSegment::bottomLeftSide, PaintSegment::topRightSide), direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -2262,7 +2263,7 @@ static void JuniorRCFlatToRightBankPaintSetup(
|
|||
PaintUtilRotateSegments(
|
||||
EnumsToFlags(PaintSegment::centre, PaintSegment::bottomLeftSide, PaintSegment::topRightSide), direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
static void JuniorRCLeftBankToFlatPaintSetup(
|
||||
|
@ -2455,7 +2456,7 @@ static void JuniorRCBankedRightQuarterTurn5TilesPaintSetup(
|
|||
break;
|
||||
}
|
||||
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/* rct2: 0x008AB000 */
|
||||
|
@ -2809,7 +2810,7 @@ static void JuniorRCLeftBankPaintSetup(
|
|||
PaintUtilRotateSegments(
|
||||
EnumsToFlags(PaintSegment::centre, PaintSegment::bottomLeftSide, PaintSegment::topRightSide), direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -3156,7 +3157,7 @@ static void JuniorRCSBendLeftPaintSetup(
|
|||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(blockedSegments, (direction & 1)), 0xFFFF, 0);
|
||||
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/* rct2: 0x008AAE60, 0x0051BBC0, 0x0051BE06, 0x0051C04E, 0x0051C068 */
|
||||
|
@ -3264,7 +3265,7 @@ static void JuniorRCSBendRightPaintSetup(
|
|||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(blockedSegments, (direction & 1)), 0xFFFF, 0);
|
||||
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AAEB0, 0x0051C0E0, 0x0051C2C1, 0x0051C47F, 0x0051C61D */
|
||||
|
@ -3309,7 +3310,7 @@ static void JuniorRCRightQuarterTurn3TilesPaintSetup(
|
|||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(blockedSegments, direction), 0xFFFF, 0);
|
||||
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AAEA0 */
|
||||
|
@ -3428,7 +3429,7 @@ static void JuniorRCRightQuarterTurn3TilesBankPaintSetup(
|
|||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(blockedSegments, direction), 0xFFFF, 0);
|
||||
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
static void JuniorRCPaintTrackRightQuarterTurn3Tiles25DegUp(
|
||||
|
@ -3705,7 +3706,7 @@ static void JuniorRCRightHalfBankedHelixUpSmallPaintSetup(
|
|||
break;
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(blockedSegments, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AB110, 0x0052BD80, 0x0052BFD4, 0x0052C23B, 0x0052C450 */
|
||||
|
@ -3778,7 +3779,7 @@ static void JuniorRCRightHalfBankedHelixDownSmallPaintSetup(
|
|||
break;
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(blockedSegments, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AB0E0 */
|
||||
|
@ -3915,7 +3916,7 @@ static void JuniorRCRightHalfBankedHelixUpLargePaintSetup(
|
|||
break;
|
||||
}
|
||||
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AB150, 0x0052D778, 0x0052DB27, 0x0052DEEA, 0x0052E26B */
|
||||
|
@ -4022,7 +4023,7 @@ static void JuniorRCRightHalfBankedHelixDownLargePaintSetup(
|
|||
break;
|
||||
}
|
||||
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AB120 */
|
||||
|
@ -4089,7 +4090,7 @@ static void JuniorRCBrakePaintSetup(
|
|||
PaintUtilRotateSegments(
|
||||
EnumsToFlags(PaintSegment::centre, PaintSegment::bottomLeftSide, PaintSegment::topRightSide), direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -4128,7 +4129,7 @@ static void JuniorRCBlockBrakePaintSetup(
|
|||
PaintUtilRotateSegments(
|
||||
EnumsToFlags(PaintSegment::centre, PaintSegment::bottomLeftSide, PaintSegment::topRightSide), direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AAF80 */
|
||||
|
@ -4201,7 +4202,7 @@ static void JuniorRCLeftEighthToDiagPaintSetup(
|
|||
}
|
||||
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(blockedSegments, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AAF90 */
|
||||
|
@ -4274,7 +4275,7 @@ static void JuniorRCRightEighthToDiagPaintSetup(
|
|||
}
|
||||
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(blockedSegments, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AAFA0 */
|
||||
|
@ -4446,7 +4447,7 @@ static void JuniorRCLeftEighthToDiagBankPaintSetup(
|
|||
}
|
||||
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(blockedSegments, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
static constexpr CoordsXY junior_rc_right_eighth_to_diag_bank_bound_lengths[4][4] = {
|
||||
|
@ -4600,7 +4601,7 @@ static void JuniorRCRightEighthToDiagBankPaintSetup(
|
|||
}
|
||||
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(blockedSegments, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AB180 */
|
||||
|
@ -4639,7 +4640,7 @@ static void JuniorRCPaintTrackDiagFlat(
|
|||
|
||||
int32_t blockedSegments = BlockedSegments::kDiagStraightFlat[trackSequence];
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(blockedSegments, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
static void JuniorRCTrackDiagBrakes(
|
||||
|
@ -4930,7 +4931,7 @@ static void JuniorRCDiagFlatToLeftBankPaintSetup(
|
|||
|
||||
int32_t blockedSegments = BlockedSegments::kDiagStraightFlat[trackSequence];
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(blockedSegments, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AB1D0 */
|
||||
|
@ -4957,7 +4958,7 @@ static void JuniorRCDiagFlatToRightBankPaintSetup(
|
|||
|
||||
int32_t blockedSegments = BlockedSegments::kDiagStraightFlat[trackSequence];
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(blockedSegments, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AB1E0 */
|
||||
|
@ -4984,7 +4985,7 @@ static void JuniorRCDiagLeftBankToFlatPaintSetup(
|
|||
|
||||
int32_t blockedSegments = BlockedSegments::kDiagStraightFlat[trackSequence];
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(blockedSegments, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AB1F0 */
|
||||
|
@ -5011,7 +5012,7 @@ static void JuniorRCDiagRightBankToFlatPaintSetup(
|
|||
|
||||
int32_t blockedSegments = BlockedSegments::kDiagStraightFlat[trackSequence];
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(blockedSegments, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AB220 */
|
||||
|
@ -5263,7 +5264,7 @@ static void JuniorRCDiagLeftBankPaintSetup(
|
|||
|
||||
int32_t blockedSegments = BlockedSegments::kDiagStraightFlat[trackSequence];
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(blockedSegments, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AB1B0 */
|
||||
|
@ -5285,7 +5286,7 @@ static void JuniorRCDiagRightBankPaintSetup(
|
|||
|
||||
int32_t blockedSegments = BlockedSegments::kDiagStraightFlat[trackSequence];
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(blockedSegments, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
static constexpr CoordsXY junior_rc_60_deg_up_bound_offsets[4] = {
|
||||
|
@ -5894,7 +5895,7 @@ static void JuniorRCBoosterPaintSetup(
|
|||
PaintUtilRotateSegments(
|
||||
EnumsToFlags(PaintSegment::centre, PaintSegment::bottomLeftSide, PaintSegment::topRightSide), direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
static void JuniorRCTrackOnRidePhoto(
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
#include "../../paint/tile_element/Paint.TileElement.h"
|
||||
#include "../../paint/tile_element/Segment.h"
|
||||
#include "../../paint/track/Segment.h"
|
||||
#include "../../paint/track/Support.h"
|
||||
#include "../../sprites.h"
|
||||
#include "../../world/Map.h"
|
||||
#include "../RideData.h"
|
||||
|
@ -99,7 +100,7 @@ static void LayDownRCTrackFlat(
|
|||
}
|
||||
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x00824B8C, 0x00824B9C, 0x00824BAC */
|
||||
|
@ -127,7 +128,7 @@ static void LayDownRCTrackStation(
|
|||
TrackPaintUtilDrawStationInverted(session, ride, direction, height, trackElement, STATION_VARIANT_1);
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_SQUARE_INVERTED_9);
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x0082492C */
|
||||
|
@ -659,10 +660,10 @@ static void LayDownRCTrackLeftQuarterTurn5(
|
|||
{
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_0);
|
||||
}
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -696,7 +697,7 @@ static void LayDownRCTrackLeftQuarterTurn5(
|
|||
PaintSegment::topRightSide, PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -730,10 +731,10 @@ static void LayDownRCTrackLeftQuarterTurn5(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 4:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 5:
|
||||
switch (direction)
|
||||
|
@ -767,7 +768,7 @@ static void LayDownRCTrackLeftQuarterTurn5(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 6:
|
||||
switch (direction)
|
||||
|
@ -813,7 +814,7 @@ static void LayDownRCTrackLeftQuarterTurn5(
|
|||
PaintUtilPushTunnelLeft(session, height, TUNNEL_0);
|
||||
break;
|
||||
}
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -870,7 +871,7 @@ static void LayDownRCTrackFlatToLeftBank(
|
|||
}
|
||||
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x00824A1C */
|
||||
|
@ -916,7 +917,7 @@ static void LayDownRCTrackFlatToRightBank(
|
|||
}
|
||||
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x00824A2C */
|
||||
|
@ -962,7 +963,7 @@ static void LayDownRCTrackLeftBankToFlat(
|
|||
}
|
||||
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x00824A3C */
|
||||
|
@ -1008,7 +1009,7 @@ static void LayDownRCTrackRightBankToFlat(
|
|||
}
|
||||
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x00824A4C */
|
||||
|
@ -1057,10 +1058,10 @@ static void LayDownRCTrackBankedLeftQuarterTurn5(
|
|||
{
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_0);
|
||||
}
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -1092,7 +1093,7 @@ static void LayDownRCTrackBankedLeftQuarterTurn5(
|
|||
PaintSegment::topRightSide, PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -1125,10 +1126,10 @@ static void LayDownRCTrackBankedLeftQuarterTurn5(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 4:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 5:
|
||||
switch (direction)
|
||||
|
@ -1160,7 +1161,7 @@ static void LayDownRCTrackBankedLeftQuarterTurn5(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 6:
|
||||
switch (direction)
|
||||
|
@ -1206,7 +1207,7 @@ static void LayDownRCTrackBankedLeftQuarterTurn5(
|
|||
PaintUtilPushTunnelLeft(session, height, TUNNEL_0);
|
||||
break;
|
||||
}
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -1579,7 +1580,7 @@ static void LayDownRCTrackLeftBank(
|
|||
}
|
||||
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x00824AFC */
|
||||
|
@ -2023,7 +2024,7 @@ static void LayDownRCTrackSBendLeft(
|
|||
{
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_0);
|
||||
}
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -2070,7 +2071,7 @@ static void LayDownRCTrackSBendLeft(
|
|||
break;
|
||||
}
|
||||
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -2117,7 +2118,7 @@ static void LayDownRCTrackSBendLeft(
|
|||
break;
|
||||
}
|
||||
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -2163,7 +2164,7 @@ static void LayDownRCTrackSBendLeft(
|
|||
PaintUtilPushTunnelLeft(session, height, TUNNEL_0);
|
||||
break;
|
||||
}
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -2214,7 +2215,7 @@ static void LayDownRCTrackSBendRight(
|
|||
{
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_0);
|
||||
}
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -2261,7 +2262,7 @@ static void LayDownRCTrackSBendRight(
|
|||
break;
|
||||
}
|
||||
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -2308,7 +2309,7 @@ static void LayDownRCTrackSBendRight(
|
|||
break;
|
||||
}
|
||||
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -2354,7 +2355,7 @@ static void LayDownRCTrackSBendRight(
|
|||
PaintUtilPushTunnelLeft(session, height, TUNNEL_0);
|
||||
break;
|
||||
}
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -2405,10 +2406,10 @@ static void LayDownRCTrackLeftQuarterTurn3(
|
|||
{
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_0);
|
||||
}
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -2442,7 +2443,7 @@ static void LayDownRCTrackLeftQuarterTurn3(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -2488,7 +2489,7 @@ static void LayDownRCTrackLeftQuarterTurn3(
|
|||
PaintUtilPushTunnelLeft(session, height, TUNNEL_0);
|
||||
break;
|
||||
}
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -2548,10 +2549,10 @@ static void LayDownRCTrackLeftQuarterTurn3Bank(
|
|||
{
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_0);
|
||||
}
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -2585,7 +2586,7 @@ static void LayDownRCTrackLeftQuarterTurn3Bank(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -2631,7 +2632,7 @@ static void LayDownRCTrackLeftQuarterTurn3Bank(
|
|||
PaintUtilPushTunnelLeft(session, height, TUNNEL_0);
|
||||
break;
|
||||
}
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -2989,7 +2990,7 @@ static void LayDownRCTrackBrakes(
|
|||
}
|
||||
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x00824D6C */
|
||||
|
@ -3068,7 +3069,7 @@ static void LayDownRCTrackLeftEighthToDiag(
|
|||
{
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_0);
|
||||
}
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -3102,7 +3103,7 @@ static void LayDownRCTrackLeftEighthToDiag(
|
|||
PaintSegment::topRightSide, PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -3136,7 +3137,7 @@ static void LayDownRCTrackLeftEighthToDiag(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
PaintUtilSetSegmentSupportHeight(
|
||||
|
@ -3147,7 +3148,7 @@ static void LayDownRCTrackLeftEighthToDiag(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 4:
|
||||
switch (direction)
|
||||
|
@ -3202,7 +3203,7 @@ static void LayDownRCTrackLeftEighthToDiag(
|
|||
break;
|
||||
}
|
||||
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -3247,7 +3248,7 @@ static void LayDownRCTrackRightEighthToDiag(
|
|||
{
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_0);
|
||||
}
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -3281,7 +3282,7 @@ static void LayDownRCTrackRightEighthToDiag(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -3315,7 +3316,7 @@ static void LayDownRCTrackRightEighthToDiag(
|
|||
PaintSegment::topRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
PaintUtilSetSegmentSupportHeight(
|
||||
|
@ -3326,7 +3327,7 @@ static void LayDownRCTrackRightEighthToDiag(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 4:
|
||||
switch (direction)
|
||||
|
@ -3381,7 +3382,7 @@ static void LayDownRCTrackRightEighthToDiag(
|
|||
break;
|
||||
}
|
||||
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -3450,7 +3451,7 @@ static void LayDownRCTrackLeftEighthBankToDiag(
|
|||
{
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_0);
|
||||
}
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -3484,7 +3485,7 @@ static void LayDownRCTrackLeftEighthBankToDiag(
|
|||
PaintSegment::topRightSide, PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -3518,7 +3519,7 @@ static void LayDownRCTrackLeftEighthBankToDiag(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
PaintUtilSetSegmentSupportHeight(
|
||||
|
@ -3529,7 +3530,7 @@ static void LayDownRCTrackLeftEighthBankToDiag(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 4:
|
||||
switch (direction)
|
||||
|
@ -3584,7 +3585,7 @@ static void LayDownRCTrackLeftEighthBankToDiag(
|
|||
break;
|
||||
}
|
||||
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -3635,7 +3636,7 @@ static void LayDownRCTrackRightEighthBankToDiag(
|
|||
{
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_0);
|
||||
}
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -3669,7 +3670,7 @@ static void LayDownRCTrackRightEighthBankToDiag(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -3703,7 +3704,7 @@ static void LayDownRCTrackRightEighthBankToDiag(
|
|||
PaintSegment::topRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
PaintUtilSetSegmentSupportHeight(
|
||||
|
@ -3714,7 +3715,7 @@ static void LayDownRCTrackRightEighthBankToDiag(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 4:
|
||||
switch (direction)
|
||||
|
@ -3769,7 +3770,7 @@ static void LayDownRCTrackRightEighthBankToDiag(
|
|||
break;
|
||||
}
|
||||
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -3815,7 +3816,7 @@ static void LayDownRCTrackDiagFlat(
|
|||
MetalASupportsPaintSetupRotated(
|
||||
session, kSupportType, MetalSupportPlace::LeftCorner, direction, 0, height + 33, session.SupportColours);
|
||||
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
static void LayDownRCTrackDiagBrakes(
|
||||
|
@ -3835,7 +3836,7 @@ static void LayDownRCTrackDiagBrakes(
|
|||
MetalASupportsPaintSetup(
|
||||
session, kSupportType, kDiagSupportPlacement[direction], 0, height + 33, session.SupportColours);
|
||||
}
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
static void LayDownRCTrackDiagBlockBrakes(
|
||||
|
@ -5319,7 +5320,7 @@ static void LayDownRCTrackDiagFlatToLeftBank(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -5337,7 +5338,7 @@ static void LayDownRCTrackDiagFlatToLeftBank(
|
|||
PaintSegment::topCorner, PaintSegment::centre, PaintSegment::topLeftSide, PaintSegment::topRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -5356,7 +5357,7 @@ static void LayDownRCTrackDiagFlatToLeftBank(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -5396,7 +5397,7 @@ static void LayDownRCTrackDiagFlatToLeftBank(
|
|||
break;
|
||||
}
|
||||
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -5425,7 +5426,7 @@ static void LayDownRCTrackDiagFlatToRightBank(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -5443,7 +5444,7 @@ static void LayDownRCTrackDiagFlatToRightBank(
|
|||
PaintSegment::topCorner, PaintSegment::centre, PaintSegment::topLeftSide, PaintSegment::topRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -5462,7 +5463,7 @@ static void LayDownRCTrackDiagFlatToRightBank(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -5502,7 +5503,7 @@ static void LayDownRCTrackDiagFlatToRightBank(
|
|||
break;
|
||||
}
|
||||
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -5531,7 +5532,7 @@ static void LayDownRCTrackDiagLeftBankToFlat(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -5549,7 +5550,7 @@ static void LayDownRCTrackDiagLeftBankToFlat(
|
|||
PaintSegment::topCorner, PaintSegment::centre, PaintSegment::topLeftSide, PaintSegment::topRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -5568,7 +5569,7 @@ static void LayDownRCTrackDiagLeftBankToFlat(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -5608,7 +5609,7 @@ static void LayDownRCTrackDiagLeftBankToFlat(
|
|||
break;
|
||||
}
|
||||
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -5637,7 +5638,7 @@ static void LayDownRCTrackDiagRightBankToFlat(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -5655,7 +5656,7 @@ static void LayDownRCTrackDiagRightBankToFlat(
|
|||
PaintSegment::topCorner, PaintSegment::centre, PaintSegment::topLeftSide, PaintSegment::topRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -5674,7 +5675,7 @@ static void LayDownRCTrackDiagRightBankToFlat(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -5714,7 +5715,7 @@ static void LayDownRCTrackDiagRightBankToFlat(
|
|||
break;
|
||||
}
|
||||
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -6585,7 +6586,7 @@ static void LayDownRCTrackDiagLeftBank(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -6603,7 +6604,7 @@ static void LayDownRCTrackDiagLeftBank(
|
|||
PaintSegment::topCorner, PaintSegment::centre, PaintSegment::topLeftSide, PaintSegment::topRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -6622,7 +6623,7 @@ static void LayDownRCTrackDiagLeftBank(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -6662,7 +6663,7 @@ static void LayDownRCTrackDiagLeftBank(
|
|||
break;
|
||||
}
|
||||
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -6691,7 +6692,7 @@ static void LayDownRCTrackDiagRightBank(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -6709,7 +6710,7 @@ static void LayDownRCTrackDiagRightBank(
|
|||
PaintSegment::topCorner, PaintSegment::centre, PaintSegment::topLeftSide, PaintSegment::topRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -6728,7 +6729,7 @@ static void LayDownRCTrackDiagRightBank(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -6768,7 +6769,7 @@ static void LayDownRCTrackDiagRightBank(
|
|||
break;
|
||||
}
|
||||
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -6816,7 +6817,7 @@ static void LayDownRCTrackLeftFlyerTwistDown(
|
|||
{
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_0);
|
||||
}
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -6847,7 +6848,7 @@ static void LayDownRCTrackLeftFlyerTwistDown(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -6887,7 +6888,7 @@ static void LayDownRCTrackLeftFlyerTwistDown(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -6934,7 +6935,7 @@ static void LayDownRCTrackRightFlyerTwistDown(
|
|||
{
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_0);
|
||||
}
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -6964,7 +6965,7 @@ static void LayDownRCTrackRightFlyerTwistDown(
|
|||
PaintSegment::topRightSide, PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -7004,7 +7005,7 @@ static void LayDownRCTrackRightFlyerTwistDown(
|
|||
PaintSegment::topRightSide, PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -7302,7 +7303,7 @@ static void LayDownRCTrackBlockBrakes(
|
|||
}
|
||||
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
static void LayDownRCTrackLeftQuarterBankedHelixLargeUp(
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
#include "../../paint/tile_element/Paint.TileElement.h"
|
||||
#include "../../paint/tile_element/Segment.h"
|
||||
#include "../../paint/track/Segment.h"
|
||||
#include "../../paint/track/Support.h"
|
||||
#include "../../sprites.h"
|
||||
#include "../../world/Map.h"
|
||||
#include "../RideData.h"
|
||||
|
@ -66,7 +67,7 @@ static void LimLaunchedRCTrackStation(
|
|||
TrackPaintUtilDrawStation(session, ride, direction, height, trackElement);
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_SQUARE_FLAT);
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A65E0 */
|
||||
|
@ -635,7 +636,7 @@ static void LimLaunchedRCTrackLeftTwistDownToUp(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -797,7 +798,7 @@ static void LimLaunchedRCTrackRightTwistDownToUp(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -1060,7 +1061,7 @@ static void LimLaunchedRCTrackLeftTwistUpToDown(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -1222,7 +1223,7 @@ static void LimLaunchedRCTrackRightTwistUpToDown(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -1507,7 +1508,7 @@ static void LimLaunchedRCTrackBrakes(
|
|||
}
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_0);
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A6C10 */
|
||||
|
@ -1544,7 +1545,7 @@ static void LimLaunchedRCTrack90DegUp(
|
|||
PaintUtilSetVerticalTunnel(session, height + 32);
|
||||
PaintUtilSetSegmentSupportHeight(
|
||||
session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
break;
|
||||
|
@ -1828,7 +1829,7 @@ static void LimLaunchedRCTrackBlockBrakes(
|
|||
}
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_0);
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
static void LimLaunchedRCTrackLeftQuarterTurn190DegUp(
|
||||
|
@ -2002,7 +2003,7 @@ static void LimLaunchedRCTrackLeftBarrelRollUpToDown(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -2170,7 +2171,7 @@ static void LimLaunchedRCTrackRightBarrelRollUpToDown(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -5714,7 +5715,7 @@ static void LimLaunchedRCTrackBooster(
|
|||
}
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_0);
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
TRACK_PAINT_FUNCTION GetTrackPaintFunctionLimLaunchedRC(int32_t trackType)
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
#include "../../paint/tile_element/Paint.TileElement.h"
|
||||
#include "../../paint/tile_element/Segment.h"
|
||||
#include "../../paint/track/Segment.h"
|
||||
#include "../../paint/track/Support.h"
|
||||
#include "../../sprites.h"
|
||||
#include "../../world/Map.h"
|
||||
#include "../RideData.h"
|
||||
|
@ -93,7 +94,7 @@ static void LoopingRCTrackFlat(
|
|||
}
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_0);
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
static void LoopingRCTrackStation(
|
||||
|
@ -124,7 +125,7 @@ static void LoopingRCTrackStation(
|
|||
TrackPaintUtilDrawStation(session, ride, direction, height, trackElement);
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_SQUARE_FLAT);
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A6380 */
|
||||
|
@ -705,10 +706,10 @@ static void LoopingRCTrackLeftQuarterTurn5(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -742,7 +743,7 @@ static void LoopingRCTrackLeftQuarterTurn5(
|
|||
PaintSegment::topRightSide, PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -776,10 +777,10 @@ static void LoopingRCTrackLeftQuarterTurn5(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 4:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 5:
|
||||
switch (direction)
|
||||
|
@ -813,7 +814,7 @@ static void LoopingRCTrackLeftQuarterTurn5(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 6:
|
||||
switch (direction)
|
||||
|
@ -857,7 +858,7 @@ static void LoopingRCTrackLeftQuarterTurn5(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -911,7 +912,7 @@ static void LoopingRCTrackFlatToLeftBank(
|
|||
}
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_0);
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A6470 */
|
||||
|
@ -954,7 +955,7 @@ static void LoopingRCTrackFlatToRightBank(
|
|||
}
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_0);
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A6480 */
|
||||
|
@ -997,7 +998,7 @@ static void LoopingRCTrackLeftBankToFlat(
|
|||
}
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_0);
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A6490 */
|
||||
|
@ -1040,7 +1041,7 @@ static void LoopingRCTrackRightBankToFlat(
|
|||
}
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_0);
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A64A0 */
|
||||
|
@ -1090,10 +1091,10 @@ static void LoopingRCTrackBankedLeftQuarterTurn5(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -1127,7 +1128,7 @@ static void LoopingRCTrackBankedLeftQuarterTurn5(
|
|||
PaintSegment::topRightSide, PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -1161,10 +1162,10 @@ static void LoopingRCTrackBankedLeftQuarterTurn5(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 4:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 5:
|
||||
switch (direction)
|
||||
|
@ -1198,7 +1199,7 @@ static void LoopingRCTrackBankedLeftQuarterTurn5(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 6:
|
||||
switch (direction)
|
||||
|
@ -1245,7 +1246,7 @@ static void LoopingRCTrackBankedLeftQuarterTurn5(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -1525,7 +1526,7 @@ static void LoopingRCTrackLeftBank(
|
|||
}
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_0);
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A6550 */
|
||||
|
@ -1989,7 +1990,7 @@ static void LoopingRCTrackSBendLeft(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -2025,7 +2026,7 @@ static void LoopingRCTrackSBendLeft(
|
|||
PaintSegment::topRightSide, PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -2061,7 +2062,7 @@ static void LoopingRCTrackSBendLeft(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -2105,7 +2106,7 @@ static void LoopingRCTrackSBendLeft(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -2154,7 +2155,7 @@ static void LoopingRCTrackSBendRight(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -2190,7 +2191,7 @@ static void LoopingRCTrackSBendRight(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -2226,7 +2227,7 @@ static void LoopingRCTrackSBendRight(
|
|||
PaintSegment::topRightSide, PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -2270,7 +2271,7 @@ static void LoopingRCTrackSBendRight(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -2903,10 +2904,10 @@ static void LoopingRCTrackLeftQuarterTurn3(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -2940,7 +2941,7 @@ static void LoopingRCTrackLeftQuarterTurn3(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -2984,7 +2985,7 @@ static void LoopingRCTrackLeftQuarterTurn3(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -3045,10 +3046,10 @@ static void LoopingRCTrackLeftQuarterTurn3Bank(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -3082,7 +3083,7 @@ static void LoopingRCTrackLeftQuarterTurn3Bank(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -3129,7 +3130,7 @@ static void LoopingRCTrackLeftQuarterTurn3Bank(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -3397,10 +3398,10 @@ static void LoopingRCTrackLeftHalfBankedHelixUpSmall(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -3434,7 +3435,7 @@ static void LoopingRCTrackLeftHalfBankedHelixUpSmall(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -3481,7 +3482,7 @@ static void LoopingRCTrackLeftHalfBankedHelixUpSmall(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 4:
|
||||
switch (direction)
|
||||
|
@ -3528,10 +3529,10 @@ static void LoopingRCTrackLeftHalfBankedHelixUpSmall(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 5:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 6:
|
||||
switch (direction)
|
||||
|
@ -3565,7 +3566,7 @@ static void LoopingRCTrackLeftHalfBankedHelixUpSmall(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 7:
|
||||
switch (direction)
|
||||
|
@ -3607,7 +3608,7 @@ static void LoopingRCTrackLeftHalfBankedHelixUpSmall(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -3659,10 +3660,10 @@ static void LoopingRCTrackRightHalfBankedHelixUpSmall(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -3696,7 +3697,7 @@ static void LoopingRCTrackRightHalfBankedHelixUpSmall(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -3743,7 +3744,7 @@ static void LoopingRCTrackRightHalfBankedHelixUpSmall(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 4:
|
||||
switch (direction)
|
||||
|
@ -3790,10 +3791,10 @@ static void LoopingRCTrackRightHalfBankedHelixUpSmall(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 5:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 6:
|
||||
switch (direction)
|
||||
|
@ -3827,7 +3828,7 @@ static void LoopingRCTrackRightHalfBankedHelixUpSmall(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 7:
|
||||
switch (direction)
|
||||
|
@ -3869,7 +3870,7 @@ static void LoopingRCTrackRightHalfBankedHelixUpSmall(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -3949,10 +3950,10 @@ static void LoopingRCTrackLeftHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -3986,7 +3987,7 @@ static void LoopingRCTrackLeftHalfBankedHelixUpLarge(
|
|||
PaintSegment::topRightSide, PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -4020,10 +4021,10 @@ static void LoopingRCTrackLeftHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 4:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 5:
|
||||
switch (direction)
|
||||
|
@ -4057,7 +4058,7 @@ static void LoopingRCTrackLeftHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 6:
|
||||
switch (direction)
|
||||
|
@ -4104,7 +4105,7 @@ static void LoopingRCTrackLeftHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 7:
|
||||
switch (direction)
|
||||
|
@ -4151,10 +4152,10 @@ static void LoopingRCTrackLeftHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 8:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 9:
|
||||
switch (direction)
|
||||
|
@ -4188,7 +4189,7 @@ static void LoopingRCTrackLeftHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 10:
|
||||
switch (direction)
|
||||
|
@ -4221,10 +4222,10 @@ static void LoopingRCTrackLeftHalfBankedHelixUpLarge(
|
|||
PaintSegment::topCorner, PaintSegment::centre, PaintSegment::topLeftSide, PaintSegment::topRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 11:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 12:
|
||||
switch (direction)
|
||||
|
@ -4258,7 +4259,7 @@ static void LoopingRCTrackLeftHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 13:
|
||||
switch (direction)
|
||||
|
@ -4300,7 +4301,7 @@ static void LoopingRCTrackLeftHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -4352,10 +4353,10 @@ static void LoopingRCTrackRightHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -4389,7 +4390,7 @@ static void LoopingRCTrackRightHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -4422,10 +4423,10 @@ static void LoopingRCTrackRightHalfBankedHelixUpLarge(
|
|||
PaintSegment::topCorner, PaintSegment::centre, PaintSegment::topLeftSide, PaintSegment::topRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 4:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 5:
|
||||
switch (direction)
|
||||
|
@ -4459,7 +4460,7 @@ static void LoopingRCTrackRightHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 6:
|
||||
switch (direction)
|
||||
|
@ -4506,7 +4507,7 @@ static void LoopingRCTrackRightHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 7:
|
||||
switch (direction)
|
||||
|
@ -4553,10 +4554,10 @@ static void LoopingRCTrackRightHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 8:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 9:
|
||||
switch (direction)
|
||||
|
@ -4590,7 +4591,7 @@ static void LoopingRCTrackRightHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 10:
|
||||
switch (direction)
|
||||
|
@ -4624,10 +4625,10 @@ static void LoopingRCTrackRightHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 11:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 12:
|
||||
switch (direction)
|
||||
|
@ -4661,7 +4662,7 @@ static void LoopingRCTrackRightHalfBankedHelixUpLarge(
|
|||
PaintSegment::topRightSide, PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 13:
|
||||
switch (direction)
|
||||
|
@ -4703,7 +4704,7 @@ static void LoopingRCTrackRightHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -4874,7 +4875,7 @@ static void LoopingRCTrackBrakes(
|
|||
}
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_0);
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A6A40 */
|
||||
|
@ -5055,7 +5056,7 @@ static void LoopingRCTrackLeftEighthToDiag(
|
|||
}
|
||||
PaintUtilSetSegmentSupportHeight(
|
||||
session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -5089,7 +5090,7 @@ static void LoopingRCTrackLeftEighthToDiag(
|
|||
PaintSegment::topRightSide, PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -5123,7 +5124,7 @@ static void LoopingRCTrackLeftEighthToDiag(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
PaintUtilSetSegmentSupportHeight(
|
||||
|
@ -5134,7 +5135,7 @@ static void LoopingRCTrackLeftEighthToDiag(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 4:
|
||||
switch (direction)
|
||||
|
@ -5176,7 +5177,7 @@ static void LoopingRCTrackLeftEighthToDiag(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -5219,7 +5220,7 @@ static void LoopingRCTrackRightEighthToDiag(
|
|||
}
|
||||
PaintUtilSetSegmentSupportHeight(
|
||||
session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -5253,7 +5254,7 @@ static void LoopingRCTrackRightEighthToDiag(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -5287,7 +5288,7 @@ static void LoopingRCTrackRightEighthToDiag(
|
|||
PaintSegment::topRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
PaintUtilSetSegmentSupportHeight(
|
||||
|
@ -5298,7 +5299,7 @@ static void LoopingRCTrackRightEighthToDiag(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 4:
|
||||
switch (direction)
|
||||
|
@ -5340,7 +5341,7 @@ static void LoopingRCTrackRightEighthToDiag(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -5401,7 +5402,7 @@ static void LoopingRCTrackLeftEighthBankToDiag(
|
|||
}
|
||||
PaintUtilSetSegmentSupportHeight(
|
||||
session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -5435,7 +5436,7 @@ static void LoopingRCTrackLeftEighthBankToDiag(
|
|||
PaintSegment::topRightSide, PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -5469,7 +5470,7 @@ static void LoopingRCTrackLeftEighthBankToDiag(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
PaintUtilSetSegmentSupportHeight(
|
||||
|
@ -5480,7 +5481,7 @@ static void LoopingRCTrackLeftEighthBankToDiag(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 4:
|
||||
switch (direction)
|
||||
|
@ -5522,7 +5523,7 @@ static void LoopingRCTrackLeftEighthBankToDiag(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -5565,7 +5566,7 @@ static void LoopingRCTrackRightEighthBankToDiag(
|
|||
}
|
||||
PaintUtilSetSegmentSupportHeight(
|
||||
session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -5599,7 +5600,7 @@ static void LoopingRCTrackRightEighthBankToDiag(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -5633,7 +5634,7 @@ static void LoopingRCTrackRightEighthBankToDiag(
|
|||
PaintSegment::topRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
PaintUtilSetSegmentSupportHeight(
|
||||
|
@ -5644,7 +5645,7 @@ static void LoopingRCTrackRightEighthBankToDiag(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 4:
|
||||
switch (direction)
|
||||
|
@ -5686,7 +5687,7 @@ static void LoopingRCTrackRightEighthBankToDiag(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -5729,7 +5730,7 @@ static void LoopingRCTrackDiagFlat(
|
|||
|
||||
PaintUtilSetSegmentSupportHeight(
|
||||
session, PaintUtilRotateSegments(BlockedSegments::kDiagStraightFlat[trackSequence], direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
static constexpr CoordsXYZ diagBrakeBoundsOffsets[4] = {
|
||||
|
@ -5757,7 +5758,7 @@ static void LoopingRCTrackDiagBrakes(
|
|||
}
|
||||
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A67C0 */
|
||||
|
@ -7810,7 +7811,7 @@ static void LoopingRCTrackDiagFlatToLeftBank(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -7831,7 +7832,7 @@ static void LoopingRCTrackDiagFlatToLeftBank(
|
|||
PaintSegment::topCorner, PaintSegment::centre, PaintSegment::topLeftSide, PaintSegment::topRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -7850,7 +7851,7 @@ static void LoopingRCTrackDiagFlatToLeftBank(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -7883,7 +7884,7 @@ static void LoopingRCTrackDiagFlatToLeftBank(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -7912,7 +7913,7 @@ static void LoopingRCTrackDiagFlatToRightBank(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -7930,7 +7931,7 @@ static void LoopingRCTrackDiagFlatToRightBank(
|
|||
PaintSegment::topCorner, PaintSegment::centre, PaintSegment::topLeftSide, PaintSegment::topRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -7952,7 +7953,7 @@ static void LoopingRCTrackDiagFlatToRightBank(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -7985,7 +7986,7 @@ static void LoopingRCTrackDiagFlatToRightBank(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -8014,7 +8015,7 @@ static void LoopingRCTrackDiagLeftBankToFlat(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -8035,7 +8036,7 @@ static void LoopingRCTrackDiagLeftBankToFlat(
|
|||
PaintSegment::topCorner, PaintSegment::centre, PaintSegment::topLeftSide, PaintSegment::topRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -8054,7 +8055,7 @@ static void LoopingRCTrackDiagLeftBankToFlat(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -8087,7 +8088,7 @@ static void LoopingRCTrackDiagLeftBankToFlat(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -8116,7 +8117,7 @@ static void LoopingRCTrackDiagRightBankToFlat(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -8134,7 +8135,7 @@ static void LoopingRCTrackDiagRightBankToFlat(
|
|||
PaintSegment::topCorner, PaintSegment::centre, PaintSegment::topLeftSide, PaintSegment::topRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -8156,7 +8157,7 @@ static void LoopingRCTrackDiagRightBankToFlat(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -8189,7 +8190,7 @@ static void LoopingRCTrackDiagRightBankToFlat(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -9030,7 +9031,7 @@ static void LoopingRCTrackDiagLeftBank(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -9048,7 +9049,7 @@ static void LoopingRCTrackDiagLeftBank(
|
|||
PaintSegment::topCorner, PaintSegment::centre, PaintSegment::topLeftSide, PaintSegment::topRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -9067,7 +9068,7 @@ static void LoopingRCTrackDiagLeftBank(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -9100,7 +9101,7 @@ static void LoopingRCTrackDiagLeftBank(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -9129,7 +9130,7 @@ static void LoopingRCTrackDiagRightBank(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -9147,7 +9148,7 @@ static void LoopingRCTrackDiagRightBank(
|
|||
PaintSegment::topCorner, PaintSegment::centre, PaintSegment::topLeftSide, PaintSegment::topRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -9166,7 +9167,7 @@ static void LoopingRCTrackDiagRightBank(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -9199,7 +9200,7 @@ static void LoopingRCTrackDiagRightBank(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -9236,7 +9237,7 @@ static void LoopingRCTrackBlockBrakes(
|
|||
}
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_0);
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A6BC0 */
|
||||
|
@ -10540,7 +10541,7 @@ static void LoopingRCTrackBooster(
|
|||
}
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_0);
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
TRACK_PAINT_FUNCTION GetTrackPaintFunctionLoopingRC(int32_t trackType)
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
#include "../../paint/tile_element/Paint.TileElement.h"
|
||||
#include "../../paint/tile_element/Segment.h"
|
||||
#include "../../paint/track/Segment.h"
|
||||
#include "../../paint/track/Support.h"
|
||||
#include "../../sprites.h"
|
||||
#include "../../world/Map.h"
|
||||
#include "../RideData.h"
|
||||
|
@ -53,7 +54,7 @@ static void MineRideTrackFlat(
|
|||
}
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_SQUARE_FLAT);
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
static void MineRideTrackStation(
|
||||
|
@ -77,7 +78,7 @@ static void MineRideTrackStation(
|
|||
TrackPaintUtilDrawStation2(session, ride, direction, height, trackElement, 9, 11);
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_SQUARE_FLAT);
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x008B08E0 */
|
||||
|
@ -329,10 +330,10 @@ static void MineRideTrackLeftQuarterTurn5(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -366,7 +367,7 @@ static void MineRideTrackLeftQuarterTurn5(
|
|||
PaintSegment::topRightSide, PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -400,10 +401,10 @@ static void MineRideTrackLeftQuarterTurn5(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 4:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 5:
|
||||
switch (direction)
|
||||
|
@ -437,7 +438,7 @@ static void MineRideTrackLeftQuarterTurn5(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 6:
|
||||
switch (direction)
|
||||
|
@ -488,7 +489,7 @@ static void MineRideTrackLeftQuarterTurn5(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -556,7 +557,7 @@ static void MineRideTrackFlatToLeftBank(
|
|||
}
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_SQUARE_FLAT);
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x008B0970 */
|
||||
|
@ -613,7 +614,7 @@ static void MineRideTrackFlatToRightBank(
|
|||
}
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_SQUARE_FLAT);
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x008B0980 */
|
||||
|
@ -670,7 +671,7 @@ static void MineRideTrackLeftBankToFlat(
|
|||
}
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_SQUARE_FLAT);
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x008B0990 */
|
||||
|
@ -727,7 +728,7 @@ static void MineRideTrackRightBankToFlat(
|
|||
}
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_SQUARE_FLAT);
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x008B09A0 */
|
||||
|
@ -784,10 +785,10 @@ static void MineRideTrackBankedLeftQuarterTurn5(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -821,7 +822,7 @@ static void MineRideTrackBankedLeftQuarterTurn5(
|
|||
PaintSegment::topRightSide, PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -855,10 +856,10 @@ static void MineRideTrackBankedLeftQuarterTurn5(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 4:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 5:
|
||||
switch (direction)
|
||||
|
@ -892,7 +893,7 @@ static void MineRideTrackBankedLeftQuarterTurn5(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 6:
|
||||
switch (direction)
|
||||
|
@ -946,7 +947,7 @@ static void MineRideTrackBankedLeftQuarterTurn5(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -1296,7 +1297,7 @@ static void MineRideTrackLeftBank(
|
|||
}
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_SQUARE_FLAT);
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x008B0A50 */
|
||||
|
@ -1358,7 +1359,7 @@ static void MineRideTrackSBendLeft(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -1394,7 +1395,7 @@ static void MineRideTrackSBendLeft(
|
|||
PaintSegment::topRightSide, PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -1430,7 +1431,7 @@ static void MineRideTrackSBendLeft(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -1481,7 +1482,7 @@ static void MineRideTrackSBendLeft(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -1537,7 +1538,7 @@ static void MineRideTrackSBendRight(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -1574,7 +1575,7 @@ static void MineRideTrackSBendRight(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -1611,7 +1612,7 @@ static void MineRideTrackSBendRight(
|
|||
PaintSegment::topRightSide, PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -1662,7 +1663,7 @@ static void MineRideTrackSBendRight(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -1718,10 +1719,10 @@ static void MineRideTrackLeftQuarterTurn3(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -1755,7 +1756,7 @@ static void MineRideTrackLeftQuarterTurn3(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -1806,7 +1807,7 @@ static void MineRideTrackLeftQuarterTurn3(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -1874,10 +1875,10 @@ static void MineRideTrackLeftQuarterTurn3Bank(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -1911,7 +1912,7 @@ static void MineRideTrackLeftQuarterTurn3Bank(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -1965,7 +1966,7 @@ static void MineRideTrackLeftQuarterTurn3Bank(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -2033,10 +2034,10 @@ static void MineRideTrackLeftHalfBankedHelixUpSmall(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -2070,7 +2071,7 @@ static void MineRideTrackLeftHalfBankedHelixUpSmall(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -2124,7 +2125,7 @@ static void MineRideTrackLeftHalfBankedHelixUpSmall(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 4:
|
||||
switch (direction)
|
||||
|
@ -2178,10 +2179,10 @@ static void MineRideTrackLeftHalfBankedHelixUpSmall(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 5:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 6:
|
||||
switch (direction)
|
||||
|
@ -2215,7 +2216,7 @@ static void MineRideTrackLeftHalfBankedHelixUpSmall(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 7:
|
||||
switch (direction)
|
||||
|
@ -2264,7 +2265,7 @@ static void MineRideTrackLeftHalfBankedHelixUpSmall(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -2323,10 +2324,10 @@ static void MineRideTrackRightHalfBankedHelixUpSmall(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -2360,7 +2361,7 @@ static void MineRideTrackRightHalfBankedHelixUpSmall(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -2414,7 +2415,7 @@ static void MineRideTrackRightHalfBankedHelixUpSmall(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 4:
|
||||
switch (direction)
|
||||
|
@ -2468,10 +2469,10 @@ static void MineRideTrackRightHalfBankedHelixUpSmall(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 5:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 6:
|
||||
switch (direction)
|
||||
|
@ -2505,7 +2506,7 @@ static void MineRideTrackRightHalfBankedHelixUpSmall(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 7:
|
||||
switch (direction)
|
||||
|
@ -2554,7 +2555,7 @@ static void MineRideTrackRightHalfBankedHelixUpSmall(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -2641,10 +2642,10 @@ static void MineRideTrackLeftHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -2678,7 +2679,7 @@ static void MineRideTrackLeftHalfBankedHelixUpLarge(
|
|||
PaintSegment::topRightSide, PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -2712,10 +2713,10 @@ static void MineRideTrackLeftHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 4:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 5:
|
||||
switch (direction)
|
||||
|
@ -2749,7 +2750,7 @@ static void MineRideTrackLeftHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 6:
|
||||
switch (direction)
|
||||
|
@ -2803,7 +2804,7 @@ static void MineRideTrackLeftHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 7:
|
||||
switch (direction)
|
||||
|
@ -2857,10 +2858,10 @@ static void MineRideTrackLeftHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 8:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 9:
|
||||
switch (direction)
|
||||
|
@ -2894,7 +2895,7 @@ static void MineRideTrackLeftHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 10:
|
||||
switch (direction)
|
||||
|
@ -2927,10 +2928,10 @@ static void MineRideTrackLeftHalfBankedHelixUpLarge(
|
|||
PaintSegment::topCorner, PaintSegment::centre, PaintSegment::topLeftSide, PaintSegment::topRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 11:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 12:
|
||||
switch (direction)
|
||||
|
@ -2964,7 +2965,7 @@ static void MineRideTrackLeftHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 13:
|
||||
switch (direction)
|
||||
|
@ -3013,7 +3014,7 @@ static void MineRideTrackLeftHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -3072,10 +3073,10 @@ static void MineRideTrackRightHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -3109,7 +3110,7 @@ static void MineRideTrackRightHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -3142,10 +3143,10 @@ static void MineRideTrackRightHalfBankedHelixUpLarge(
|
|||
PaintSegment::topCorner, PaintSegment::centre, PaintSegment::topLeftSide, PaintSegment::topRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 4:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 5:
|
||||
switch (direction)
|
||||
|
@ -3179,7 +3180,7 @@ static void MineRideTrackRightHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 6:
|
||||
switch (direction)
|
||||
|
@ -3233,7 +3234,7 @@ static void MineRideTrackRightHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 7:
|
||||
switch (direction)
|
||||
|
@ -3287,10 +3288,10 @@ static void MineRideTrackRightHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 8:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 9:
|
||||
switch (direction)
|
||||
|
@ -3324,7 +3325,7 @@ static void MineRideTrackRightHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 10:
|
||||
switch (direction)
|
||||
|
@ -3358,10 +3359,10 @@ static void MineRideTrackRightHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 11:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 12:
|
||||
switch (direction)
|
||||
|
@ -3395,7 +3396,7 @@ static void MineRideTrackRightHalfBankedHelixUpLarge(
|
|||
PaintSegment::topRightSide, PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 13:
|
||||
switch (direction)
|
||||
|
@ -3444,7 +3445,7 @@ static void MineRideTrackRightHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -3560,7 +3561,7 @@ static void MineRideTrackLeftEighthToDiag(
|
|||
}
|
||||
PaintUtilSetSegmentSupportHeight(
|
||||
session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -3594,7 +3595,7 @@ static void MineRideTrackLeftEighthToDiag(
|
|||
PaintSegment::topRightSide, PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -3628,7 +3629,7 @@ static void MineRideTrackLeftEighthToDiag(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
PaintUtilSetSegmentSupportHeight(
|
||||
|
@ -3639,7 +3640,7 @@ static void MineRideTrackLeftEighthToDiag(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 4:
|
||||
switch (direction)
|
||||
|
@ -3681,7 +3682,7 @@ static void MineRideTrackLeftEighthToDiag(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -3731,7 +3732,7 @@ static void MineRideTrackRightEighthToDiag(
|
|||
}
|
||||
PaintUtilSetSegmentSupportHeight(
|
||||
session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -3765,7 +3766,7 @@ static void MineRideTrackRightEighthToDiag(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -3799,7 +3800,7 @@ static void MineRideTrackRightEighthToDiag(
|
|||
PaintSegment::topRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
PaintUtilSetSegmentSupportHeight(
|
||||
|
@ -3810,7 +3811,7 @@ static void MineRideTrackRightEighthToDiag(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 4:
|
||||
switch (direction)
|
||||
|
@ -3852,7 +3853,7 @@ static void MineRideTrackRightEighthToDiag(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -3920,7 +3921,7 @@ static void MineRideTrackLeftEighthBankToDiag(
|
|||
}
|
||||
PaintUtilSetSegmentSupportHeight(
|
||||
session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -3954,7 +3955,7 @@ static void MineRideTrackLeftEighthBankToDiag(
|
|||
PaintSegment::topRightSide, PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -3988,7 +3989,7 @@ static void MineRideTrackLeftEighthBankToDiag(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
PaintUtilSetSegmentSupportHeight(
|
||||
|
@ -3999,7 +4000,7 @@ static void MineRideTrackLeftEighthBankToDiag(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 4:
|
||||
switch (direction)
|
||||
|
@ -4041,7 +4042,7 @@ static void MineRideTrackLeftEighthBankToDiag(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -4091,7 +4092,7 @@ static void MineRideTrackRightEighthBankToDiag(
|
|||
}
|
||||
PaintUtilSetSegmentSupportHeight(
|
||||
session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -4125,7 +4126,7 @@ static void MineRideTrackRightEighthBankToDiag(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -4159,7 +4160,7 @@ static void MineRideTrackRightEighthBankToDiag(
|
|||
PaintSegment::topRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
PaintUtilSetSegmentSupportHeight(
|
||||
|
@ -4170,7 +4171,7 @@ static void MineRideTrackRightEighthBankToDiag(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 4:
|
||||
switch (direction)
|
||||
|
@ -4212,7 +4213,7 @@ static void MineRideTrackRightEighthBankToDiag(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -4251,7 +4252,7 @@ static void MineRideTrackDiagFlat(
|
|||
|
||||
PaintUtilSetSegmentSupportHeight(
|
||||
session, PaintUtilRotateSegments(BlockedSegments::kDiagStraightFlat[trackSequence], direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x008B0C30 */
|
||||
|
@ -4874,7 +4875,7 @@ static void MineRideTrackDiagFlatToLeftBank(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -4895,7 +4896,7 @@ static void MineRideTrackDiagFlatToLeftBank(
|
|||
PaintSegment::topCorner, PaintSegment::centre, PaintSegment::topLeftSide, PaintSegment::topRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -4914,7 +4915,7 @@ static void MineRideTrackDiagFlatToLeftBank(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -4947,7 +4948,7 @@ static void MineRideTrackDiagFlatToLeftBank(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -4976,7 +4977,7 @@ static void MineRideTrackDiagFlatToRightBank(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -4994,7 +4995,7 @@ static void MineRideTrackDiagFlatToRightBank(
|
|||
PaintSegment::topCorner, PaintSegment::centre, PaintSegment::topLeftSide, PaintSegment::topRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -5016,7 +5017,7 @@ static void MineRideTrackDiagFlatToRightBank(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -5049,7 +5050,7 @@ static void MineRideTrackDiagFlatToRightBank(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -5078,7 +5079,7 @@ static void MineRideTrackDiagLeftBankToFlat(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -5099,7 +5100,7 @@ static void MineRideTrackDiagLeftBankToFlat(
|
|||
PaintSegment::topCorner, PaintSegment::centre, PaintSegment::topLeftSide, PaintSegment::topRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -5118,7 +5119,7 @@ static void MineRideTrackDiagLeftBankToFlat(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -5151,7 +5152,7 @@ static void MineRideTrackDiagLeftBankToFlat(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -5180,7 +5181,7 @@ static void MineRideTrackDiagRightBankToFlat(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -5198,7 +5199,7 @@ static void MineRideTrackDiagRightBankToFlat(
|
|||
PaintSegment::topCorner, PaintSegment::centre, PaintSegment::topLeftSide, PaintSegment::topRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -5220,7 +5221,7 @@ static void MineRideTrackDiagRightBankToFlat(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -5253,7 +5254,7 @@ static void MineRideTrackDiagRightBankToFlat(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -6098,7 +6099,7 @@ static void MineRideTrackDiagLeftBank(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -6116,7 +6117,7 @@ static void MineRideTrackDiagLeftBank(
|
|||
PaintSegment::topCorner, PaintSegment::centre, PaintSegment::topLeftSide, PaintSegment::topRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -6135,7 +6136,7 @@ static void MineRideTrackDiagLeftBank(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -6168,7 +6169,7 @@ static void MineRideTrackDiagLeftBank(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -6197,7 +6198,7 @@ static void MineRideTrackDiagRightBank(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -6215,7 +6216,7 @@ static void MineRideTrackDiagRightBank(
|
|||
PaintSegment::topCorner, PaintSegment::centre, PaintSegment::topLeftSide, PaintSegment::topRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -6234,7 +6235,7 @@ static void MineRideTrackDiagRightBank(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -6267,7 +6268,7 @@ static void MineRideTrackDiagRightBank(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -14,6 +14,7 @@
|
|||
#include "../../paint/tile_element/Paint.TileElement.h"
|
||||
#include "../../paint/tile_element/Segment.h"
|
||||
#include "../../paint/track/Segment.h"
|
||||
#include "../../paint/track/Support.h"
|
||||
#include "../../sprites.h"
|
||||
#include "../../world/Map.h"
|
||||
#include "../RideData.h"
|
||||
|
@ -115,7 +116,7 @@ static void MiniRCTrackFlat(
|
|||
}
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_SQUARE_FLAT);
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
static void MiniRCTrackStation(
|
||||
|
@ -149,7 +150,7 @@ static void MiniRCTrackStation(
|
|||
TrackPaintUtilDrawStation2(session, ride, direction, height, trackElement, 9, 11);
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_SQUARE_FLAT);
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A4ACC */
|
||||
|
@ -764,10 +765,10 @@ static void MiniRCTrackLeftQuarterTurn5(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -801,7 +802,7 @@ static void MiniRCTrackLeftQuarterTurn5(
|
|||
PaintSegment::topRightSide, PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -835,10 +836,10 @@ static void MiniRCTrackLeftQuarterTurn5(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 4:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 5:
|
||||
switch (direction)
|
||||
|
@ -872,7 +873,7 @@ static void MiniRCTrackLeftQuarterTurn5(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 6:
|
||||
switch (direction)
|
||||
|
@ -923,7 +924,7 @@ static void MiniRCTrackLeftQuarterTurn5(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -991,7 +992,7 @@ static void MiniRCTrackFlatToLeftBank(
|
|||
}
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_SQUARE_FLAT);
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A4BBC */
|
||||
|
@ -1048,7 +1049,7 @@ static void MiniRCTrackFlatToRightBank(
|
|||
}
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_SQUARE_FLAT);
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A4BCC */
|
||||
|
@ -1105,7 +1106,7 @@ static void MiniRCTrackLeftBankToFlat(
|
|||
}
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_SQUARE_FLAT);
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A4BDC */
|
||||
|
@ -1162,7 +1163,7 @@ static void MiniRCTrackRightBankToFlat(
|
|||
}
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_SQUARE_FLAT);
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A4BEC */
|
||||
|
@ -1219,10 +1220,10 @@ static void MiniRCTrackBankedLeftQuarterTurn5(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -1256,7 +1257,7 @@ static void MiniRCTrackBankedLeftQuarterTurn5(
|
|||
PaintSegment::topRightSide, PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -1290,10 +1291,10 @@ static void MiniRCTrackBankedLeftQuarterTurn5(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 4:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 5:
|
||||
switch (direction)
|
||||
|
@ -1327,7 +1328,7 @@ static void MiniRCTrackBankedLeftQuarterTurn5(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 6:
|
||||
switch (direction)
|
||||
|
@ -1381,7 +1382,7 @@ static void MiniRCTrackBankedLeftQuarterTurn5(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -1731,7 +1732,7 @@ static void MiniRCTrackLeftBank(
|
|||
}
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_SQUARE_FLAT);
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A4C9C */
|
||||
|
@ -2230,7 +2231,7 @@ static void MiniRCTrackSBendLeft(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -2266,7 +2267,7 @@ static void MiniRCTrackSBendLeft(
|
|||
PaintSegment::topRightSide, PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -2302,7 +2303,7 @@ static void MiniRCTrackSBendLeft(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -2353,7 +2354,7 @@ static void MiniRCTrackSBendLeft(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -2409,7 +2410,7 @@ static void MiniRCTrackSBendRight(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -2446,7 +2447,7 @@ static void MiniRCTrackSBendRight(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -2483,7 +2484,7 @@ static void MiniRCTrackSBendRight(
|
|||
PaintSegment::topRightSide, PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -2534,7 +2535,7 @@ static void MiniRCTrackSBendRight(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -2590,10 +2591,10 @@ static void MiniRCTrackLeftQuarterTurn3(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -2627,7 +2628,7 @@ static void MiniRCTrackLeftQuarterTurn3(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -2678,7 +2679,7 @@ static void MiniRCTrackLeftQuarterTurn3(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -2746,10 +2747,10 @@ static void MiniRCTrackLeftQuarterTurn3Bank(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -2783,7 +2784,7 @@ static void MiniRCTrackLeftQuarterTurn3Bank(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -2837,7 +2838,7 @@ static void MiniRCTrackLeftQuarterTurn3Bank(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -3133,10 +3134,10 @@ static void MiniRCTrackLeftHalfBankedHelixUpSmall(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -3170,7 +3171,7 @@ static void MiniRCTrackLeftHalfBankedHelixUpSmall(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -3224,7 +3225,7 @@ static void MiniRCTrackLeftHalfBankedHelixUpSmall(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 4:
|
||||
switch (direction)
|
||||
|
@ -3278,10 +3279,10 @@ static void MiniRCTrackLeftHalfBankedHelixUpSmall(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 5:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 6:
|
||||
switch (direction)
|
||||
|
@ -3315,7 +3316,7 @@ static void MiniRCTrackLeftHalfBankedHelixUpSmall(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 7:
|
||||
switch (direction)
|
||||
|
@ -3364,7 +3365,7 @@ static void MiniRCTrackLeftHalfBankedHelixUpSmall(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -3423,10 +3424,10 @@ static void MiniRCTrackRightHalfBankedHelixUpSmall(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -3460,7 +3461,7 @@ static void MiniRCTrackRightHalfBankedHelixUpSmall(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -3514,7 +3515,7 @@ static void MiniRCTrackRightHalfBankedHelixUpSmall(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 4:
|
||||
switch (direction)
|
||||
|
@ -3568,10 +3569,10 @@ static void MiniRCTrackRightHalfBankedHelixUpSmall(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 5:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 6:
|
||||
switch (direction)
|
||||
|
@ -3605,7 +3606,7 @@ static void MiniRCTrackRightHalfBankedHelixUpSmall(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 7:
|
||||
switch (direction)
|
||||
|
@ -3654,7 +3655,7 @@ static void MiniRCTrackRightHalfBankedHelixUpSmall(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -3741,10 +3742,10 @@ static void MiniRCTrackLeftHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -3778,7 +3779,7 @@ static void MiniRCTrackLeftHalfBankedHelixUpLarge(
|
|||
PaintSegment::topRightSide, PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -3812,10 +3813,10 @@ static void MiniRCTrackLeftHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 4:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 5:
|
||||
switch (direction)
|
||||
|
@ -3849,7 +3850,7 @@ static void MiniRCTrackLeftHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 6:
|
||||
switch (direction)
|
||||
|
@ -3903,7 +3904,7 @@ static void MiniRCTrackLeftHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 7:
|
||||
switch (direction)
|
||||
|
@ -3957,10 +3958,10 @@ static void MiniRCTrackLeftHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 8:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 9:
|
||||
switch (direction)
|
||||
|
@ -3994,7 +3995,7 @@ static void MiniRCTrackLeftHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 10:
|
||||
switch (direction)
|
||||
|
@ -4027,10 +4028,10 @@ static void MiniRCTrackLeftHalfBankedHelixUpLarge(
|
|||
PaintSegment::topCorner, PaintSegment::centre, PaintSegment::topLeftSide, PaintSegment::topRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 11:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 12:
|
||||
switch (direction)
|
||||
|
@ -4064,7 +4065,7 @@ static void MiniRCTrackLeftHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 13:
|
||||
switch (direction)
|
||||
|
@ -4113,7 +4114,7 @@ static void MiniRCTrackLeftHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -4172,10 +4173,10 @@ static void MiniRCTrackRightHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -4209,7 +4210,7 @@ static void MiniRCTrackRightHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -4242,10 +4243,10 @@ static void MiniRCTrackRightHalfBankedHelixUpLarge(
|
|||
PaintSegment::topCorner, PaintSegment::centre, PaintSegment::topLeftSide, PaintSegment::topRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 4:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 5:
|
||||
switch (direction)
|
||||
|
@ -4279,7 +4280,7 @@ static void MiniRCTrackRightHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 6:
|
||||
switch (direction)
|
||||
|
@ -4333,7 +4334,7 @@ static void MiniRCTrackRightHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 7:
|
||||
switch (direction)
|
||||
|
@ -4387,10 +4388,10 @@ static void MiniRCTrackRightHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 8:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 9:
|
||||
switch (direction)
|
||||
|
@ -4424,7 +4425,7 @@ static void MiniRCTrackRightHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 10:
|
||||
switch (direction)
|
||||
|
@ -4458,10 +4459,10 @@ static void MiniRCTrackRightHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 11:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 12:
|
||||
switch (direction)
|
||||
|
@ -4495,7 +4496,7 @@ static void MiniRCTrackRightHalfBankedHelixUpLarge(
|
|||
PaintSegment::topRightSide, PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 13:
|
||||
switch (direction)
|
||||
|
@ -4544,7 +4545,7 @@ static void MiniRCTrackRightHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -4714,7 +4715,7 @@ static void MiniRCTrackBrakes(
|
|||
}
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_SQUARE_FLAT);
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A50CC */
|
||||
|
@ -4932,7 +4933,7 @@ static void MiniRCTrackLeftEighthToDiag(
|
|||
}
|
||||
PaintUtilSetSegmentSupportHeight(
|
||||
session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -4966,7 +4967,7 @@ static void MiniRCTrackLeftEighthToDiag(
|
|||
PaintSegment::topRightSide, PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -5000,7 +5001,7 @@ static void MiniRCTrackLeftEighthToDiag(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
PaintUtilSetSegmentSupportHeight(
|
||||
|
@ -5011,7 +5012,7 @@ static void MiniRCTrackLeftEighthToDiag(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 4:
|
||||
switch (direction)
|
||||
|
@ -5053,7 +5054,7 @@ static void MiniRCTrackLeftEighthToDiag(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -5103,7 +5104,7 @@ static void MiniRCTrackRightEighthToDiag(
|
|||
}
|
||||
PaintUtilSetSegmentSupportHeight(
|
||||
session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -5137,7 +5138,7 @@ static void MiniRCTrackRightEighthToDiag(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -5171,7 +5172,7 @@ static void MiniRCTrackRightEighthToDiag(
|
|||
PaintSegment::topRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
PaintUtilSetSegmentSupportHeight(
|
||||
|
@ -5182,7 +5183,7 @@ static void MiniRCTrackRightEighthToDiag(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 4:
|
||||
switch (direction)
|
||||
|
@ -5224,7 +5225,7 @@ static void MiniRCTrackRightEighthToDiag(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -5292,7 +5293,7 @@ static void MiniRCTrackLeftEighthBankToDiag(
|
|||
}
|
||||
PaintUtilSetSegmentSupportHeight(
|
||||
session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -5326,7 +5327,7 @@ static void MiniRCTrackLeftEighthBankToDiag(
|
|||
PaintSegment::topRightSide, PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -5360,7 +5361,7 @@ static void MiniRCTrackLeftEighthBankToDiag(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
PaintUtilSetSegmentSupportHeight(
|
||||
|
@ -5371,7 +5372,7 @@ static void MiniRCTrackLeftEighthBankToDiag(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 4:
|
||||
switch (direction)
|
||||
|
@ -5413,7 +5414,7 @@ static void MiniRCTrackLeftEighthBankToDiag(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -5463,7 +5464,7 @@ static void MiniRCTrackRightEighthBankToDiag(
|
|||
}
|
||||
PaintUtilSetSegmentSupportHeight(
|
||||
session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -5497,7 +5498,7 @@ static void MiniRCTrackRightEighthBankToDiag(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -5531,7 +5532,7 @@ static void MiniRCTrackRightEighthBankToDiag(
|
|||
PaintSegment::topRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
PaintUtilSetSegmentSupportHeight(
|
||||
|
@ -5542,7 +5543,7 @@ static void MiniRCTrackRightEighthBankToDiag(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 4:
|
||||
switch (direction)
|
||||
|
@ -5584,7 +5585,7 @@ static void MiniRCTrackRightEighthBankToDiag(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -5627,7 +5628,7 @@ static void MiniRCTrackDiagFlat(
|
|||
|
||||
PaintUtilSetSegmentSupportHeight(
|
||||
session, PaintUtilRotateSegments(BlockedSegments::kDiagStraightFlat[trackSequence], direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A4F4C */
|
||||
|
@ -7290,7 +7291,7 @@ static void MiniRCTrackDiagFlatToLeftBank(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -7311,7 +7312,7 @@ static void MiniRCTrackDiagFlatToLeftBank(
|
|||
PaintSegment::topCorner, PaintSegment::centre, PaintSegment::topLeftSide, PaintSegment::topRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -7330,7 +7331,7 @@ static void MiniRCTrackDiagFlatToLeftBank(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -7363,7 +7364,7 @@ static void MiniRCTrackDiagFlatToLeftBank(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -7392,7 +7393,7 @@ static void MiniRCTrackDiagFlatToRightBank(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -7410,7 +7411,7 @@ static void MiniRCTrackDiagFlatToRightBank(
|
|||
PaintSegment::topCorner, PaintSegment::centre, PaintSegment::topLeftSide, PaintSegment::topRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -7432,7 +7433,7 @@ static void MiniRCTrackDiagFlatToRightBank(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -7465,7 +7466,7 @@ static void MiniRCTrackDiagFlatToRightBank(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -7494,7 +7495,7 @@ static void MiniRCTrackDiagLeftBankToFlat(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -7515,7 +7516,7 @@ static void MiniRCTrackDiagLeftBankToFlat(
|
|||
PaintSegment::topCorner, PaintSegment::centre, PaintSegment::topLeftSide, PaintSegment::topRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -7534,7 +7535,7 @@ static void MiniRCTrackDiagLeftBankToFlat(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -7567,7 +7568,7 @@ static void MiniRCTrackDiagLeftBankToFlat(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -7596,7 +7597,7 @@ static void MiniRCTrackDiagRightBankToFlat(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -7614,7 +7615,7 @@ static void MiniRCTrackDiagRightBankToFlat(
|
|||
PaintSegment::topCorner, PaintSegment::centre, PaintSegment::topLeftSide, PaintSegment::topRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -7636,7 +7637,7 @@ static void MiniRCTrackDiagRightBankToFlat(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -7669,7 +7670,7 @@ static void MiniRCTrackDiagRightBankToFlat(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -8514,7 +8515,7 @@ static void MiniRCTrackDiagLeftBank(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -8532,7 +8533,7 @@ static void MiniRCTrackDiagLeftBank(
|
|||
PaintSegment::topCorner, PaintSegment::centre, PaintSegment::topLeftSide, PaintSegment::topRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -8551,7 +8552,7 @@ static void MiniRCTrackDiagLeftBank(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -8584,7 +8585,7 @@ static void MiniRCTrackDiagLeftBank(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -8613,7 +8614,7 @@ static void MiniRCTrackDiagRightBank(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -8631,7 +8632,7 @@ static void MiniRCTrackDiagRightBank(
|
|||
PaintSegment::topCorner, PaintSegment::centre, PaintSegment::topLeftSide, PaintSegment::topRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -8650,7 +8651,7 @@ static void MiniRCTrackDiagRightBank(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -8683,7 +8684,7 @@ static void MiniRCTrackDiagRightBank(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -8717,7 +8718,7 @@ static void MiniRCTrackBlockBrakes(
|
|||
}
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_SQUARE_FLAT);
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A510C */
|
||||
|
@ -10451,7 +10452,7 @@ static void MiniRCTrackBooster(
|
|||
}
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_SQUARE_FLAT);
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
TRACK_PAINT_FUNCTION GetTrackPaintFunctionMiniRC(int32_t trackType)
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
#include "../../paint/tile_element/Paint.TileElement.h"
|
||||
#include "../../paint/tile_element/Segment.h"
|
||||
#include "../../paint/track/Segment.h"
|
||||
#include "../../paint/track/Support.h"
|
||||
#include "../../sprites.h"
|
||||
#include "../../world/Map.h"
|
||||
#include "../RideData.h"
|
||||
|
@ -111,7 +112,7 @@ static void MiniSuspendedRCTrackStation(
|
|||
TrackPaintUtilDrawStationInverted(session, ride, direction, height, trackElement, STATION_VARIANT_1);
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_SQUARE_FLAT);
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AFEAC */
|
||||
|
@ -1094,10 +1095,10 @@ static void MiniSuspendedRCTrackLeftQuarterTurn3(
|
|||
{
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_0);
|
||||
}
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -1127,7 +1128,7 @@ static void MiniSuspendedRCTrackLeftQuarterTurn3(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -1181,7 +1182,7 @@ static void MiniSuspendedRCTrackLeftQuarterTurn3(
|
|||
PaintUtilPushTunnelLeft(session, height, TUNNEL_0);
|
||||
break;
|
||||
}
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -14,6 +14,7 @@
|
|||
#include "../../paint/tile_element/Paint.TileElement.h"
|
||||
#include "../../paint/tile_element/Segment.h"
|
||||
#include "../../paint/track/Segment.h"
|
||||
#include "../../paint/track/Support.h"
|
||||
#include "../../sprites.h"
|
||||
#include "../../world/Map.h"
|
||||
#include "../RideData.h"
|
||||
|
@ -219,7 +220,7 @@ static void PaintReverseFreefallRCFlat(
|
|||
WoodenASupportsPaintSetupRotated(
|
||||
session, kSupportType, WoodenSupportSubType::NeSw, direction, height, session.SupportColours);
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
static void PaintReverseFreefallRCStation(
|
||||
|
@ -260,7 +261,7 @@ static void PaintReverseFreefallRCStation(
|
|||
TrackPaintUtilDrawNarrowStationPlatform(session, ride, direction, height, 5, trackElement);
|
||||
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
static void PaintReverseFreefallRCSlope(
|
||||
|
@ -427,7 +428,7 @@ static void PaintReverseFreefallRCOnridePhoto(
|
|||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_SQUARE_FLAT);
|
||||
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
TRACK_PAINT_FUNCTION GetTrackPaintFunctionReverseFreefallRC(int32_t trackType)
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
#include "../../paint/tile_element/Paint.TileElement.h"
|
||||
#include "../../paint/tile_element/Segment.h"
|
||||
#include "../../paint/track/Segment.h"
|
||||
#include "../../paint/track/Support.h"
|
||||
#include "../../sprites.h"
|
||||
#include "../../world/Map.h"
|
||||
#include "../RideData.h"
|
||||
|
@ -96,7 +97,7 @@ static void ReverserRCTrackFlat(
|
|||
}
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_SQUARE_FLAT);
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
static void ReverserRCTrackStation(
|
||||
|
@ -121,7 +122,7 @@ static void ReverserRCTrackStation(
|
|||
TrackPaintUtilDrawStation2(session, ride, direction, height, trackElement, 9, 11);
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_SQUARE_FLAT);
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x0086E66C */
|
||||
|
@ -467,7 +468,7 @@ static void ReverserRCTrackLeftQuarterTurn5(
|
|||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_SQUARE_FLAT);
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
PaintUtilSetSegmentSupportHeight(
|
||||
|
@ -476,7 +477,7 @@ static void ReverserRCTrackLeftQuarterTurn5(
|
|||
EnumsToFlags(PaintSegment::rightCorner, PaintSegment::topRightSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -514,7 +515,7 @@ static void ReverserRCTrackLeftQuarterTurn5(
|
|||
PaintSegment::topRightSide, PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -553,7 +554,7 @@ static void ReverserRCTrackLeftQuarterTurn5(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 4:
|
||||
PaintUtilSetSegmentSupportHeight(
|
||||
|
@ -562,7 +563,7 @@ static void ReverserRCTrackLeftQuarterTurn5(
|
|||
EnumsToFlags(PaintSegment::rightCorner, PaintSegment::topRightSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 5:
|
||||
switch (direction)
|
||||
|
@ -600,7 +601,7 @@ static void ReverserRCTrackLeftQuarterTurn5(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 6:
|
||||
switch (direction)
|
||||
|
@ -640,7 +641,7 @@ static void ReverserRCTrackLeftQuarterTurn5(
|
|||
break;
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -698,7 +699,7 @@ static void ReverserRCTrackSBendLeft(
|
|||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_SQUARE_FLAT);
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -740,7 +741,7 @@ static void ReverserRCTrackSBendLeft(
|
|||
PaintSegment::topRightSide, PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -782,7 +783,7 @@ static void ReverserRCTrackSBendLeft(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -826,7 +827,7 @@ static void ReverserRCTrackSBendLeft(
|
|||
break;
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -875,7 +876,7 @@ static void ReverserRCTrackSBendRight(
|
|||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_SQUARE_FLAT);
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -917,7 +918,7 @@ static void ReverserRCTrackSBendRight(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -959,7 +960,7 @@ static void ReverserRCTrackSBendRight(
|
|||
PaintSegment::topRightSide, PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -1003,7 +1004,7 @@ static void ReverserRCTrackSBendRight(
|
|||
break;
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -1052,10 +1053,10 @@ static void ReverserRCTrackLeftQuarterTurn3(
|
|||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_SQUARE_FLAT);
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -1089,7 +1090,7 @@ static void ReverserRCTrackLeftQuarterTurn3(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -1133,7 +1134,7 @@ static void ReverserRCTrackLeftQuarterTurn3(
|
|||
break;
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -1171,7 +1172,7 @@ static void ReverserRCTrackBrakes(
|
|||
}
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_SQUARE_FLAT);
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x0086E76C */
|
||||
|
@ -1218,7 +1219,7 @@ static void ReverserRCTrackLeftReverser(
|
|||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_SQUARE_FLAT);
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -1253,7 +1254,7 @@ static void ReverserRCTrackLeftReverser(
|
|||
break;
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -1288,7 +1289,7 @@ static void ReverserRCTrackLeftReverser(
|
|||
break;
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -1323,7 +1324,7 @@ static void ReverserRCTrackLeftReverser(
|
|||
break;
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 4:
|
||||
switch (direction)
|
||||
|
@ -1358,7 +1359,7 @@ static void ReverserRCTrackLeftReverser(
|
|||
break;
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 5:
|
||||
switch (direction)
|
||||
|
@ -1402,7 +1403,7 @@ static void ReverserRCTrackLeftReverser(
|
|||
break;
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -1451,7 +1452,7 @@ static void ReverserRCTrackRightReverser(
|
|||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_SQUARE_FLAT);
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -1486,7 +1487,7 @@ static void ReverserRCTrackRightReverser(
|
|||
break;
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -1521,7 +1522,7 @@ static void ReverserRCTrackRightReverser(
|
|||
break;
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -1556,7 +1557,7 @@ static void ReverserRCTrackRightReverser(
|
|||
break;
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 4:
|
||||
switch (direction)
|
||||
|
@ -1591,7 +1592,7 @@ static void ReverserRCTrackRightReverser(
|
|||
break;
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 5:
|
||||
switch (direction)
|
||||
|
@ -1635,7 +1636,7 @@ static void ReverserRCTrackRightReverser(
|
|||
break;
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
#include "../../paint/tile_element/Paint.TileElement.h"
|
||||
#include "../../paint/tile_element/Segment.h"
|
||||
#include "../../paint/track/Segment.h"
|
||||
#include "../../paint/track/Support.h"
|
||||
#include "../../sprites.h"
|
||||
#include "../../world/Map.h"
|
||||
#include "../RideData.h"
|
||||
|
@ -144,7 +145,7 @@ static void SideFrictionRCTrackFlat(
|
|||
}
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_SQUARE_FLAT);
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x007784AC, 0x007784BC, 0x007784CC */
|
||||
|
@ -167,7 +168,7 @@ static void SideFrictionRCTrackStation(
|
|||
TrackPaintUtilDrawStation2(session, ride, direction, height, trackElement, 9, 11);
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_SQUARE_FLAT);
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x007783AC */
|
||||
|
@ -597,7 +598,7 @@ static void SideFrictionRCTrackLeftQuarterTurn5(
|
|||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_SQUARE_FLAT);
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
PaintUtilSetSegmentSupportHeight(
|
||||
|
@ -606,7 +607,7 @@ static void SideFrictionRCTrackLeftQuarterTurn5(
|
|||
EnumsToFlags(PaintSegment::rightCorner, PaintSegment::topRightSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -656,7 +657,7 @@ static void SideFrictionRCTrackLeftQuarterTurn5(
|
|||
PaintSegment::topRightSide, PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -707,7 +708,7 @@ static void SideFrictionRCTrackLeftQuarterTurn5(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 4:
|
||||
PaintUtilSetSegmentSupportHeight(
|
||||
|
@ -716,7 +717,7 @@ static void SideFrictionRCTrackLeftQuarterTurn5(
|
|||
EnumsToFlags(PaintSegment::rightCorner, PaintSegment::topRightSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 5:
|
||||
switch (direction)
|
||||
|
@ -766,7 +767,7 @@ static void SideFrictionRCTrackLeftQuarterTurn5(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 6:
|
||||
switch (direction)
|
||||
|
@ -818,7 +819,7 @@ static void SideFrictionRCTrackLeftQuarterTurn5(
|
|||
break;
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -888,7 +889,7 @@ static void SideFrictionRCTrackSBendLeft(
|
|||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_SQUARE_FLAT);
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -942,7 +943,7 @@ static void SideFrictionRCTrackSBendLeft(
|
|||
PaintSegment::topRightSide, PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -996,7 +997,7 @@ static void SideFrictionRCTrackSBendLeft(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -1052,7 +1053,7 @@ static void SideFrictionRCTrackSBendLeft(
|
|||
break;
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -1113,7 +1114,7 @@ static void SideFrictionRCTrackSBendRight(
|
|||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_SQUARE_FLAT);
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -1167,7 +1168,7 @@ static void SideFrictionRCTrackSBendRight(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -1221,7 +1222,7 @@ static void SideFrictionRCTrackSBendRight(
|
|||
PaintSegment::topRightSide, PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -1277,7 +1278,7 @@ static void SideFrictionRCTrackSBendRight(
|
|||
break;
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -1338,10 +1339,10 @@ static void SideFrictionRCTrackLeftQuarterTurn3(
|
|||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_SQUARE_FLAT);
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -1387,7 +1388,7 @@ static void SideFrictionRCTrackLeftQuarterTurn3(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -1443,7 +1444,7 @@ static void SideFrictionRCTrackLeftQuarterTurn3(
|
|||
break;
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -1487,7 +1488,7 @@ static void SideFrictionRCTrackBrakes(
|
|||
}
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_SQUARE_FLAT);
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x007785DC */
|
||||
|
@ -1546,7 +1547,7 @@ static void SideFrictionRCTrackLeftEighthToDiag(
|
|||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_SQUARE_FLAT);
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -1593,7 +1594,7 @@ static void SideFrictionRCTrackLeftEighthToDiag(
|
|||
break;
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -1640,7 +1641,7 @@ static void SideFrictionRCTrackLeftEighthToDiag(
|
|||
break;
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -1663,7 +1664,7 @@ static void SideFrictionRCTrackLeftEighthToDiag(
|
|||
break;
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 4:
|
||||
switch (direction)
|
||||
|
@ -1702,7 +1703,7 @@ static void SideFrictionRCTrackLeftEighthToDiag(
|
|||
break;
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -1763,7 +1764,7 @@ static void SideFrictionRCTrackRightEighthToDiag(
|
|||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_SQUARE_FLAT);
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -1810,7 +1811,7 @@ static void SideFrictionRCTrackRightEighthToDiag(
|
|||
break;
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -1857,7 +1858,7 @@ static void SideFrictionRCTrackRightEighthToDiag(
|
|||
break;
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -1880,7 +1881,7 @@ static void SideFrictionRCTrackRightEighthToDiag(
|
|||
break;
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 4:
|
||||
switch (direction)
|
||||
|
@ -1919,7 +1920,7 @@ static void SideFrictionRCTrackRightEighthToDiag(
|
|||
break;
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -1981,7 +1982,7 @@ static void SideFrictionRCTrackDiagFlat(
|
|||
}
|
||||
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x0077853C */
|
||||
|
@ -3014,7 +3015,7 @@ static void SideFrictionRCTrack25DegUpTo60DegUp(
|
|||
PaintUtilPushTunnelRotated(session, direction, height + 8, TUNNEL_SQUARE_8);
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
static void SideFrictionRCTrack60DegDownTo25DegDown(
|
||||
|
@ -3085,7 +3086,7 @@ static void SideFrictionRCTrack60DegUpTo25DegUp(
|
|||
PaintUtilPushTunnelRotated(session, direction, height + 8, TUNNEL_SQUARE_8);
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
static void SideFrictionRCTrack25DegDownTo60DegDown(
|
||||
|
@ -3191,7 +3192,7 @@ static void SideFrictionRCTrackDiag60DegUpTo25DegUp(
|
|||
break;
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -3212,7 +3213,7 @@ static void SideFrictionRCTrackDiag60DegUpTo25DegUp(
|
|||
session, kSupportType, WoodenSupportSubType::Corner0, direction, height + 16, session.SupportColours);
|
||||
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -3233,7 +3234,7 @@ static void SideFrictionRCTrackDiag60DegUpTo25DegUp(
|
|||
session, kSupportType, WoodenSupportSubType::Corner2, direction, height + 16, session.SupportColours);
|
||||
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -3246,7 +3247,7 @@ static void SideFrictionRCTrackDiag60DegUpTo25DegUp(
|
|||
break;
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -3275,7 +3276,7 @@ static void SideFrictionRCTrackDiag25DegUpTo60DegUp(
|
|||
break;
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -3295,7 +3296,7 @@ static void SideFrictionRCTrackDiag25DegUpTo60DegUp(
|
|||
session, kSupportType, WoodenSupportSubType::Corner0, direction, height + 16, session.SupportColours);
|
||||
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -3315,7 +3316,7 @@ static void SideFrictionRCTrackDiag25DegUpTo60DegUp(
|
|||
session, kSupportType, WoodenSupportSubType::Corner2, direction, height + 16, session.SupportColours);
|
||||
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -3328,7 +3329,7 @@ static void SideFrictionRCTrackDiag25DegUpTo60DegUp(
|
|||
break;
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -14,6 +14,7 @@
|
|||
#include "../../paint/tile_element/Paint.TileElement.h"
|
||||
#include "../../paint/tile_element/Segment.h"
|
||||
#include "../../paint/track/Segment.h"
|
||||
#include "../../paint/track/Support.h"
|
||||
#include "../../sprites.h"
|
||||
#include "../../world/Map.h"
|
||||
#include "../RideData.h"
|
||||
|
@ -109,7 +110,7 @@ static void StandUpRCTrackFlat(
|
|||
}
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_0);
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7384, 0x008A7394, 0x008A73A4 */
|
||||
|
@ -144,7 +145,7 @@ static void StandUpRCTrackStation(
|
|||
TrackPaintUtilDrawStation2(session, ride, direction, height, trackElement, 9, 11);
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_SQUARE_FLAT);
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7124 */
|
||||
|
@ -685,10 +686,10 @@ static void StandUpRCTrackLeftQuarterTurn5(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -718,7 +719,7 @@ static void StandUpRCTrackLeftQuarterTurn5(
|
|||
PaintSegment::topRightSide, PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -748,10 +749,10 @@ static void StandUpRCTrackLeftQuarterTurn5(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 4:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 5:
|
||||
switch (direction)
|
||||
|
@ -781,7 +782,7 @@ static void StandUpRCTrackLeftQuarterTurn5(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 6:
|
||||
switch (direction)
|
||||
|
@ -821,7 +822,7 @@ static void StandUpRCTrackLeftQuarterTurn5(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -865,7 +866,7 @@ static void StandUpRCTrackFlatToLeftBank(
|
|||
}
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_0);
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7214 */
|
||||
|
@ -898,7 +899,7 @@ static void StandUpRCTrackFlatToRightBank(
|
|||
}
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_0);
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7224 */
|
||||
|
@ -931,7 +932,7 @@ static void StandUpRCTrackLeftBankToFlat(
|
|||
}
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_0);
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7234 */
|
||||
|
@ -964,7 +965,7 @@ static void StandUpRCTrackRightBankToFlat(
|
|||
}
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_0);
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7244 */
|
||||
|
@ -1014,10 +1015,10 @@ static void StandUpRCTrackBankedLeftQuarterTurn5(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -1051,7 +1052,7 @@ static void StandUpRCTrackBankedLeftQuarterTurn5(
|
|||
PaintSegment::topRightSide, PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -1085,10 +1086,10 @@ static void StandUpRCTrackBankedLeftQuarterTurn5(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 4:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 5:
|
||||
switch (direction)
|
||||
|
@ -1122,7 +1123,7 @@ static void StandUpRCTrackBankedLeftQuarterTurn5(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 6:
|
||||
switch (direction)
|
||||
|
@ -1169,7 +1170,7 @@ static void StandUpRCTrackBankedLeftQuarterTurn5(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -1405,7 +1406,7 @@ static void StandUpRCTrackLeftBank(
|
|||
}
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_0);
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A72F4 */
|
||||
|
@ -2089,7 +2090,7 @@ static void StandUpRCTrackSBendLeft(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -2123,7 +2124,7 @@ static void StandUpRCTrackSBendLeft(
|
|||
PaintSegment::topRightSide, PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -2157,7 +2158,7 @@ static void StandUpRCTrackSBendLeft(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -2197,7 +2198,7 @@ static void StandUpRCTrackSBendLeft(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -2242,7 +2243,7 @@ static void StandUpRCTrackSBendRight(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -2276,7 +2277,7 @@ static void StandUpRCTrackSBendRight(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -2310,7 +2311,7 @@ static void StandUpRCTrackSBendRight(
|
|||
PaintSegment::topRightSide, PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -2350,7 +2351,7 @@ static void StandUpRCTrackSBendRight(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -2907,10 +2908,10 @@ static void StandUpRCTrackLeftQuarterTurn3(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -2940,7 +2941,7 @@ static void StandUpRCTrackLeftQuarterTurn3(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -2980,7 +2981,7 @@ static void StandUpRCTrackLeftQuarterTurn3(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -3041,10 +3042,10 @@ static void StandUpRCTrackLeftQuarterTurn3Bank(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -3078,7 +3079,7 @@ static void StandUpRCTrackLeftQuarterTurn3Bank(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -3125,7 +3126,7 @@ static void StandUpRCTrackLeftQuarterTurn3Bank(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -3897,10 +3898,10 @@ static void StandUpRCTrackLeftHalfBankedHelixUpSmall(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -3934,7 +3935,7 @@ static void StandUpRCTrackLeftHalfBankedHelixUpSmall(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -3981,7 +3982,7 @@ static void StandUpRCTrackLeftHalfBankedHelixUpSmall(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 4:
|
||||
switch (direction)
|
||||
|
@ -4028,10 +4029,10 @@ static void StandUpRCTrackLeftHalfBankedHelixUpSmall(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 5:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 6:
|
||||
switch (direction)
|
||||
|
@ -4065,7 +4066,7 @@ static void StandUpRCTrackLeftHalfBankedHelixUpSmall(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 7:
|
||||
switch (direction)
|
||||
|
@ -4107,7 +4108,7 @@ static void StandUpRCTrackLeftHalfBankedHelixUpSmall(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -4159,10 +4160,10 @@ static void StandUpRCTrackRightHalfBankedHelixUpSmall(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -4196,7 +4197,7 @@ static void StandUpRCTrackRightHalfBankedHelixUpSmall(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -4243,7 +4244,7 @@ static void StandUpRCTrackRightHalfBankedHelixUpSmall(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 4:
|
||||
switch (direction)
|
||||
|
@ -4290,10 +4291,10 @@ static void StandUpRCTrackRightHalfBankedHelixUpSmall(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 5:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 6:
|
||||
switch (direction)
|
||||
|
@ -4327,7 +4328,7 @@ static void StandUpRCTrackRightHalfBankedHelixUpSmall(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 7:
|
||||
switch (direction)
|
||||
|
@ -4369,7 +4370,7 @@ static void StandUpRCTrackRightHalfBankedHelixUpSmall(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -4449,10 +4450,10 @@ static void StandUpRCTrackLeftHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -4486,7 +4487,7 @@ static void StandUpRCTrackLeftHalfBankedHelixUpLarge(
|
|||
PaintSegment::topRightSide, PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -4520,10 +4521,10 @@ static void StandUpRCTrackLeftHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 4:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 5:
|
||||
switch (direction)
|
||||
|
@ -4557,7 +4558,7 @@ static void StandUpRCTrackLeftHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 6:
|
||||
switch (direction)
|
||||
|
@ -4604,7 +4605,7 @@ static void StandUpRCTrackLeftHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 7:
|
||||
switch (direction)
|
||||
|
@ -4651,10 +4652,10 @@ static void StandUpRCTrackLeftHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 8:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 9:
|
||||
switch (direction)
|
||||
|
@ -4688,7 +4689,7 @@ static void StandUpRCTrackLeftHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 10:
|
||||
switch (direction)
|
||||
|
@ -4721,10 +4722,10 @@ static void StandUpRCTrackLeftHalfBankedHelixUpLarge(
|
|||
PaintSegment::topCorner, PaintSegment::centre, PaintSegment::topLeftSide, PaintSegment::topRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 11:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 12:
|
||||
switch (direction)
|
||||
|
@ -4758,7 +4759,7 @@ static void StandUpRCTrackLeftHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 13:
|
||||
switch (direction)
|
||||
|
@ -4800,7 +4801,7 @@ static void StandUpRCTrackLeftHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -4852,10 +4853,10 @@ static void StandUpRCTrackRightHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -4889,7 +4890,7 @@ static void StandUpRCTrackRightHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -4922,10 +4923,10 @@ static void StandUpRCTrackRightHalfBankedHelixUpLarge(
|
|||
PaintSegment::topCorner, PaintSegment::centre, PaintSegment::topLeftSide, PaintSegment::topRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 4:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 5:
|
||||
switch (direction)
|
||||
|
@ -4959,7 +4960,7 @@ static void StandUpRCTrackRightHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 6:
|
||||
switch (direction)
|
||||
|
@ -5006,7 +5007,7 @@ static void StandUpRCTrackRightHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 7:
|
||||
switch (direction)
|
||||
|
@ -5053,10 +5054,10 @@ static void StandUpRCTrackRightHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 8:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 9:
|
||||
switch (direction)
|
||||
|
@ -5090,7 +5091,7 @@ static void StandUpRCTrackRightHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 10:
|
||||
switch (direction)
|
||||
|
@ -5124,10 +5125,10 @@ static void StandUpRCTrackRightHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 11:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 12:
|
||||
switch (direction)
|
||||
|
@ -5161,7 +5162,7 @@ static void StandUpRCTrackRightHalfBankedHelixUpLarge(
|
|||
PaintSegment::topRightSide, PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 13:
|
||||
switch (direction)
|
||||
|
@ -5203,7 +5204,7 @@ static void StandUpRCTrackRightHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -5260,7 +5261,7 @@ static void StandUpRCTrackBrakes(
|
|||
}
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_0);
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A74A4 */
|
||||
|
@ -5337,7 +5338,7 @@ static void StandUpRCTrackLeftEighthToDiag(
|
|||
}
|
||||
PaintUtilSetSegmentSupportHeight(
|
||||
session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -5371,7 +5372,7 @@ static void StandUpRCTrackLeftEighthToDiag(
|
|||
PaintSegment::topRightSide, PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -5405,7 +5406,7 @@ static void StandUpRCTrackLeftEighthToDiag(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
PaintUtilSetSegmentSupportHeight(
|
||||
|
@ -5416,7 +5417,7 @@ static void StandUpRCTrackLeftEighthToDiag(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 4:
|
||||
switch (direction)
|
||||
|
@ -5458,7 +5459,7 @@ static void StandUpRCTrackLeftEighthToDiag(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -5501,7 +5502,7 @@ static void StandUpRCTrackRightEighthToDiag(
|
|||
}
|
||||
PaintUtilSetSegmentSupportHeight(
|
||||
session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -5535,7 +5536,7 @@ static void StandUpRCTrackRightEighthToDiag(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -5569,7 +5570,7 @@ static void StandUpRCTrackRightEighthToDiag(
|
|||
PaintSegment::topRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
PaintUtilSetSegmentSupportHeight(
|
||||
|
@ -5580,7 +5581,7 @@ static void StandUpRCTrackRightEighthToDiag(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 4:
|
||||
switch (direction)
|
||||
|
@ -5622,7 +5623,7 @@ static void StandUpRCTrackRightEighthToDiag(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -5683,7 +5684,7 @@ static void StandUpRCTrackLeftEighthBankToDiag(
|
|||
}
|
||||
PaintUtilSetSegmentSupportHeight(
|
||||
session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -5717,7 +5718,7 @@ static void StandUpRCTrackLeftEighthBankToDiag(
|
|||
PaintSegment::topRightSide, PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -5751,7 +5752,7 @@ static void StandUpRCTrackLeftEighthBankToDiag(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
PaintUtilSetSegmentSupportHeight(
|
||||
|
@ -5762,7 +5763,7 @@ static void StandUpRCTrackLeftEighthBankToDiag(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 4:
|
||||
switch (direction)
|
||||
|
@ -5804,7 +5805,7 @@ static void StandUpRCTrackLeftEighthBankToDiag(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -5847,7 +5848,7 @@ static void StandUpRCTrackRightEighthBankToDiag(
|
|||
}
|
||||
PaintUtilSetSegmentSupportHeight(
|
||||
session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -5881,7 +5882,7 @@ static void StandUpRCTrackRightEighthBankToDiag(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -5915,7 +5916,7 @@ static void StandUpRCTrackRightEighthBankToDiag(
|
|||
PaintSegment::topRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
PaintUtilSetSegmentSupportHeight(
|
||||
|
@ -5926,7 +5927,7 @@ static void StandUpRCTrackRightEighthBankToDiag(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 4:
|
||||
switch (direction)
|
||||
|
@ -5968,7 +5969,7 @@ static void StandUpRCTrackRightEighthBankToDiag(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -6010,7 +6011,7 @@ static void StandUpRCTrackDiagFlat(
|
|||
|
||||
PaintUtilSetSegmentSupportHeight(
|
||||
session, PaintUtilRotateSegments(BlockedSegments::kDiagStraightFlat[trackSequence], direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
static void StandUpRCTrackDiagBrakes(
|
||||
|
@ -6028,7 +6029,7 @@ static void StandUpRCTrackDiagBrakes(
|
|||
|
||||
int32_t blockedSegments = BlockedSegments::kDiagStraightFlat[trackSequence];
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(blockedSegments, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
static void StandUpRCTrackDiagBlockBrakes(
|
||||
|
@ -6046,7 +6047,7 @@ static void StandUpRCTrackDiagBlockBrakes(
|
|||
|
||||
int32_t blockedSegments = BlockedSegments::kDiagStraightFlat[trackSequence];
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(blockedSegments, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A7524 */
|
||||
|
@ -8099,7 +8100,7 @@ static void StandUpRCTrackDiagFlatToLeftBank(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -8120,7 +8121,7 @@ static void StandUpRCTrackDiagFlatToLeftBank(
|
|||
PaintSegment::topCorner, PaintSegment::centre, PaintSegment::topLeftSide, PaintSegment::topRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -8139,7 +8140,7 @@ static void StandUpRCTrackDiagFlatToLeftBank(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -8172,7 +8173,7 @@ static void StandUpRCTrackDiagFlatToLeftBank(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -8201,7 +8202,7 @@ static void StandUpRCTrackDiagFlatToRightBank(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -8219,7 +8220,7 @@ static void StandUpRCTrackDiagFlatToRightBank(
|
|||
PaintSegment::topCorner, PaintSegment::centre, PaintSegment::topLeftSide, PaintSegment::topRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -8241,7 +8242,7 @@ static void StandUpRCTrackDiagFlatToRightBank(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -8274,7 +8275,7 @@ static void StandUpRCTrackDiagFlatToRightBank(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -8303,7 +8304,7 @@ static void StandUpRCTrackDiagLeftBankToFlat(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -8324,7 +8325,7 @@ static void StandUpRCTrackDiagLeftBankToFlat(
|
|||
PaintSegment::topCorner, PaintSegment::centre, PaintSegment::topLeftSide, PaintSegment::topRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -8343,7 +8344,7 @@ static void StandUpRCTrackDiagLeftBankToFlat(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -8376,7 +8377,7 @@ static void StandUpRCTrackDiagLeftBankToFlat(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -8405,7 +8406,7 @@ static void StandUpRCTrackDiagRightBankToFlat(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -8423,7 +8424,7 @@ static void StandUpRCTrackDiagRightBankToFlat(
|
|||
PaintSegment::topCorner, PaintSegment::centre, PaintSegment::topLeftSide, PaintSegment::topRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -8445,7 +8446,7 @@ static void StandUpRCTrackDiagRightBankToFlat(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -8478,7 +8479,7 @@ static void StandUpRCTrackDiagRightBankToFlat(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -9319,7 +9320,7 @@ static void StandUpRCTrackDiagLeftBank(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -9337,7 +9338,7 @@ static void StandUpRCTrackDiagLeftBank(
|
|||
PaintSegment::topCorner, PaintSegment::centre, PaintSegment::topLeftSide, PaintSegment::topRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -9356,7 +9357,7 @@ static void StandUpRCTrackDiagLeftBank(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -9389,7 +9390,7 @@ static void StandUpRCTrackDiagLeftBank(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -9418,7 +9419,7 @@ static void StandUpRCTrackDiagRightBank(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -9436,7 +9437,7 @@ static void StandUpRCTrackDiagRightBank(
|
|||
PaintSegment::topCorner, PaintSegment::centre, PaintSegment::topLeftSide, PaintSegment::topRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -9455,7 +9456,7 @@ static void StandUpRCTrackDiagRightBank(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -9488,7 +9489,7 @@ static void StandUpRCTrackDiagRightBank(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -9509,7 +9510,7 @@ static void StandUpRCTrackBlockBrakes(
|
|||
}
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_0);
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
TRACK_PAINT_FUNCTION GetTrackPaintFunctionStandUpRC(int32_t trackType)
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
#include "../../paint/tile_element/Paint.TileElement.h"
|
||||
#include "../../paint/tile_element/Segment.h"
|
||||
#include "../../paint/track/Segment.h"
|
||||
#include "../../paint/track/Support.h"
|
||||
#include "../../sprites.h"
|
||||
#include "../../world/Map.h"
|
||||
#include "../RideData.h"
|
||||
|
@ -74,7 +75,7 @@ static void SteeplechaseTrackFlat(
|
|||
}
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_0);
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
static void SteeplechaseTrackStation(
|
||||
|
@ -98,7 +99,7 @@ static void SteeplechaseTrackStation(
|
|||
TrackPaintUtilDrawStation(session, ride, direction, height, trackElement);
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_SQUARE_FLAT);
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A59B8 */
|
||||
|
@ -391,10 +392,10 @@ static void SteeplechaseTrackLeftQuarterTurn5(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -424,7 +425,7 @@ static void SteeplechaseTrackLeftQuarterTurn5(
|
|||
PaintSegment::topRightSide, PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -454,10 +455,10 @@ static void SteeplechaseTrackLeftQuarterTurn5(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 4:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 5:
|
||||
switch (direction)
|
||||
|
@ -487,7 +488,7 @@ static void SteeplechaseTrackLeftQuarterTurn5(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 6:
|
||||
switch (direction)
|
||||
|
@ -534,7 +535,7 @@ static void SteeplechaseTrackLeftQuarterTurn5(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -595,7 +596,7 @@ static void SteeplechaseTrackSBendLeft(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -630,7 +631,7 @@ static void SteeplechaseTrackSBendLeft(
|
|||
PaintSegment::topRightSide, PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -665,7 +666,7 @@ static void SteeplechaseTrackSBendLeft(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -712,7 +713,7 @@ static void SteeplechaseTrackSBendLeft(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -764,7 +765,7 @@ static void SteeplechaseTrackSBendRight(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -799,7 +800,7 @@ static void SteeplechaseTrackSBendRight(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -834,7 +835,7 @@ static void SteeplechaseTrackSBendRight(
|
|||
PaintSegment::topRightSide, PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -881,7 +882,7 @@ static void SteeplechaseTrackSBendRight(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -933,10 +934,10 @@ static void SteeplechaseTrackLeftQuarterTurn3(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -966,7 +967,7 @@ static void SteeplechaseTrackLeftQuarterTurn3(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -1013,7 +1014,7 @@ static void SteeplechaseTrackLeftQuarterTurn3(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -1050,7 +1051,7 @@ static void SteeplechaseTrackBrakes(
|
|||
}
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_0);
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A5AD8 */
|
||||
|
@ -1098,7 +1099,7 @@ static void SteeplechaseTrackLeftEighthToDiag(
|
|||
}
|
||||
PaintUtilSetSegmentSupportHeight(
|
||||
session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -1132,7 +1133,7 @@ static void SteeplechaseTrackLeftEighthToDiag(
|
|||
PaintSegment::topRightSide, PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -1166,7 +1167,7 @@ static void SteeplechaseTrackLeftEighthToDiag(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
PaintUtilSetSegmentSupportHeight(
|
||||
|
@ -1177,7 +1178,7 @@ static void SteeplechaseTrackLeftEighthToDiag(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 4:
|
||||
switch (direction)
|
||||
|
@ -1219,7 +1220,7 @@ static void SteeplechaseTrackLeftEighthToDiag(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -1269,7 +1270,7 @@ static void SteeplechaseTrackRightEighthToDiag(
|
|||
}
|
||||
PaintUtilSetSegmentSupportHeight(
|
||||
session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -1303,7 +1304,7 @@ static void SteeplechaseTrackRightEighthToDiag(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -1337,7 +1338,7 @@ static void SteeplechaseTrackRightEighthToDiag(
|
|||
PaintSegment::topRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
PaintUtilSetSegmentSupportHeight(
|
||||
|
@ -1348,7 +1349,7 @@ static void SteeplechaseTrackRightEighthToDiag(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 4:
|
||||
switch (direction)
|
||||
|
@ -1391,7 +1392,7 @@ static void SteeplechaseTrackRightEighthToDiag(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -1433,7 +1434,7 @@ static void SteeplechaseTrackDiagFlat(
|
|||
|
||||
PaintUtilSetSegmentSupportHeight(
|
||||
session, PaintUtilRotateSegments(BlockedSegments::kDiagStraightFlat[trackSequence], direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
static void SteeplechaseTrackDiagBrakes(
|
||||
|
@ -1451,7 +1452,7 @@ static void SteeplechaseTrackDiagBrakes(
|
|||
|
||||
int32_t blockedSegments = BlockedSegments::kDiagStraightFlat[trackSequence];
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(blockedSegments, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A5B38 */
|
||||
|
@ -2513,7 +2514,7 @@ static void SteeplechaseTrackBlockBrakes(
|
|||
}
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_0);
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
TRACK_PAINT_FUNCTION GetTrackPaintFunctionSteeplechase(int32_t trackType)
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
#include "../../paint/support/WoodenSupports.h"
|
||||
#include "../../paint/tile_element/Segment.h"
|
||||
#include "../../paint/track/Segment.h"
|
||||
#include "../../paint/track/Support.h"
|
||||
#include "../Track.h"
|
||||
#include "../TrackPaint.h"
|
||||
#include "../Vehicle.h"
|
||||
|
@ -250,7 +251,7 @@ static void PaintVirginiaReelTrackFlat(
|
|||
session, kSupportType, WoodenSupportSubType::NeSw, direction, height, session.SupportColours);
|
||||
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x00811274 */
|
||||
|
@ -485,7 +486,7 @@ static void PaintVirginiaReelStation(
|
|||
TrackPaintUtilDrawStation(session, ride, direction, height, trackElement);
|
||||
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x00811304 */
|
||||
|
@ -518,7 +519,7 @@ static void PaintVirginiaReelTrackLeftQuarterTurn3Tiles(
|
|||
break;
|
||||
}
|
||||
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
static constexpr uint8_t virginia_reel_right_quarter_turn_3_tiles_to_left_turn_map[] = {
|
||||
|
@ -566,7 +567,7 @@ static void PaintVirginiaReelTrackLeftQuarterTurn1Tile(
|
|||
}
|
||||
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x00811334 */
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
#include "../../paint/tile_element/Paint.TileElement.h"
|
||||
#include "../../paint/tile_element/Segment.h"
|
||||
#include "../../paint/track/Segment.h"
|
||||
#include "../../paint/track/Support.h"
|
||||
#include "../../sprites.h"
|
||||
#include "../../world/Map.h"
|
||||
#include "../RideData.h"
|
||||
|
@ -188,7 +189,7 @@ static void WildMouseTrackFlat(
|
|||
}
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_0);
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
static void WildMouseTrackStation(
|
||||
|
@ -223,7 +224,7 @@ static void WildMouseTrackStation(
|
|||
TrackPaintUtilDrawStation(session, ride, direction, height, trackElement);
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_SQUARE_FLAT);
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x0078B1F4 */
|
||||
|
@ -559,7 +560,7 @@ static void WildMouseTrackRightQuarterTurn3(
|
|||
break;
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(blockedSegments, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
static void WildMouseTrackRightQuarterTurn325DegDown(
|
||||
|
@ -752,7 +753,7 @@ static void WildMouseTrackLeftQuarterTurn1(
|
|||
PaintSegment::leftCorner, PaintSegment::centre, PaintSegment::topLeftSide, PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x0078B3A4 */
|
||||
|
@ -891,7 +892,7 @@ static void WildMouseTrackBrakes(
|
|||
}
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_0);
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x0078B3C4 */
|
||||
|
@ -914,7 +915,7 @@ static void WildMouseTrackRotationControlToggle(
|
|||
}
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_0);
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x0078B3B4 */
|
||||
|
@ -931,7 +932,7 @@ static void WildMouseTrackBlockBrakes(
|
|||
}
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_0);
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
TRACK_PAINT_FUNCTION GetTrackPaintFunctionWildMouse(int32_t trackType)
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
#include "../../paint/tile_element/Paint.TileElement.h"
|
||||
#include "../../paint/tile_element/Segment.h"
|
||||
#include "../../paint/track/Segment.h"
|
||||
#include "../../paint/track/Support.h"
|
||||
#include "../../sprites.h"
|
||||
#include "../../world/Map.h"
|
||||
#include "../RideData.h"
|
||||
|
@ -509,7 +510,7 @@ static void WoodenRCTrackFlat(
|
|||
session, kSupportType, WoodenSupportSubType::NeSw, direction, height, session.SupportColours);
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_SQUARE_FLAT);
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
template<bool isClassic>
|
||||
|
@ -543,7 +544,7 @@ static void WoodenRCTrackStation(
|
|||
TrackPaintUtilDrawStation2(session, ride, direction, height, trackElement, 9, 11);
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_SQUARE_FLAT);
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AC578 */
|
||||
|
@ -1505,7 +1506,7 @@ static void WoodenRCTrackRightQuarterTurn5(
|
|||
break;
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(blockedSegments, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
template<bool isClassic>
|
||||
|
@ -1563,7 +1564,7 @@ static void WoodenRCTrackFlatToLeftBank(
|
|||
session, kSupportType, WoodenSupportSubType::NeSw, direction, height, session.SupportColours);
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_SQUARE_FLAT);
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AC668 */
|
||||
|
@ -1612,7 +1613,7 @@ static void WoodenRCTrackFlatToRightBank(
|
|||
session, kSupportType, WoodenSupportSubType::NeSw, direction, height, session.SupportColours);
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_SQUARE_FLAT);
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AC678 */
|
||||
|
@ -1979,7 +1980,7 @@ static void WoodenRCTrackBankedRightQuarterTurn5(
|
|||
break;
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(blockedSegments, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
template<bool isClassic>
|
||||
|
@ -2275,7 +2276,7 @@ static void WoodenRCTrackLeftBank(
|
|||
session, kSupportType, WoodenSupportSubType::NeSw, direction, height, session.SupportColours);
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_SQUARE_FLAT);
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AC748 */
|
||||
|
@ -3103,7 +3104,7 @@ static void WoodenRCTrackSBendLeft(
|
|||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_SQUARE_FLAT);
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -3169,7 +3170,7 @@ static void WoodenRCTrackSBendLeft(
|
|||
PaintSegment::topRightSide, PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -3235,7 +3236,7 @@ static void WoodenRCTrackSBendLeft(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -3303,7 +3304,7 @@ static void WoodenRCTrackSBendLeft(
|
|||
break;
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -3377,7 +3378,7 @@ static void WoodenRCTrackSBendRight(
|
|||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_SQUARE_FLAT);
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -3443,7 +3444,7 @@ static void WoodenRCTrackSBendRight(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -3509,7 +3510,7 @@ static void WoodenRCTrackSBendRight(
|
|||
PaintSegment::topRightSide, PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -3577,7 +3578,7 @@ static void WoodenRCTrackSBendRight(
|
|||
break;
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -4201,10 +4202,10 @@ static void WoodenRCTrackLeftQuarterTurn3(
|
|||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_SQUARE_FLAT);
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -4262,7 +4263,7 @@ static void WoodenRCTrackLeftQuarterTurn3(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -4330,7 +4331,7 @@ static void WoodenRCTrackLeftQuarterTurn3(
|
|||
break;
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -4420,10 +4421,10 @@ static void WoodenRCTrackLeftQuarterTurn3Bank(
|
|||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_SQUARE_FLAT);
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -4487,7 +4488,7 @@ static void WoodenRCTrackLeftQuarterTurn3Bank(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -4561,7 +4562,7 @@ static void WoodenRCTrackLeftQuarterTurn3Bank(
|
|||
break;
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -5010,7 +5011,7 @@ static void WoodenRCTrackLeftHalfBankedHelixUpSmall(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -5032,7 +5033,7 @@ static void WoodenRCTrackLeftHalfBankedHelixUpSmall(
|
|||
session, kSupportType, WoodenSupportSubType::Corner0, height, session.SupportColours);
|
||||
break;
|
||||
}
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -5096,7 +5097,7 @@ static void WoodenRCTrackLeftHalfBankedHelixUpSmall(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -5185,7 +5186,7 @@ static void WoodenRCTrackLeftHalfBankedHelixUpSmall(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 4:
|
||||
switch (direction)
|
||||
|
@ -5274,7 +5275,7 @@ static void WoodenRCTrackLeftHalfBankedHelixUpSmall(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 5:
|
||||
switch (direction)
|
||||
|
@ -5296,7 +5297,7 @@ static void WoodenRCTrackLeftHalfBankedHelixUpSmall(
|
|||
session, kSupportType, WoodenSupportSubType::Corner3, height, session.SupportColours);
|
||||
break;
|
||||
}
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 6:
|
||||
switch (direction)
|
||||
|
@ -5360,7 +5361,7 @@ static void WoodenRCTrackLeftHalfBankedHelixUpSmall(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 7:
|
||||
switch (direction)
|
||||
|
@ -5444,7 +5445,7 @@ static void WoodenRCTrackLeftHalfBankedHelixUpSmall(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -5539,7 +5540,7 @@ static void WoodenRCTrackRightHalfBankedHelixUpSmall(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -5561,7 +5562,7 @@ static void WoodenRCTrackRightHalfBankedHelixUpSmall(
|
|||
session, kSupportType, WoodenSupportSubType::Corner3, height, session.SupportColours);
|
||||
break;
|
||||
}
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -5625,7 +5626,7 @@ static void WoodenRCTrackRightHalfBankedHelixUpSmall(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -5714,7 +5715,7 @@ static void WoodenRCTrackRightHalfBankedHelixUpSmall(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 4:
|
||||
switch (direction)
|
||||
|
@ -5803,7 +5804,7 @@ static void WoodenRCTrackRightHalfBankedHelixUpSmall(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 5:
|
||||
switch (direction)
|
||||
|
@ -5825,7 +5826,7 @@ static void WoodenRCTrackRightHalfBankedHelixUpSmall(
|
|||
session, kSupportType, WoodenSupportSubType::Corner0, height, session.SupportColours);
|
||||
break;
|
||||
}
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 6:
|
||||
switch (direction)
|
||||
|
@ -5888,7 +5889,7 @@ static void WoodenRCTrackRightHalfBankedHelixUpSmall(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 7:
|
||||
switch (direction)
|
||||
|
@ -5972,7 +5973,7 @@ static void WoodenRCTrackRightHalfBankedHelixUpSmall(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -6092,7 +6093,7 @@ static void WoodenRCTrackLeftHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
PaintUtilSetSegmentSupportHeight(
|
||||
|
@ -6101,7 +6102,7 @@ static void WoodenRCTrackLeftHalfBankedHelixUpLarge(
|
|||
EnumsToFlags(PaintSegment::rightCorner, PaintSegment::topRightSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
48, 0x20);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -6167,7 +6168,7 @@ static void WoodenRCTrackLeftHalfBankedHelixUpLarge(
|
|||
PaintSegment::topRightSide, PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -6241,7 +6242,7 @@ static void WoodenRCTrackLeftHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 4:
|
||||
PaintUtilSetSegmentSupportHeight(
|
||||
|
@ -6250,7 +6251,7 @@ static void WoodenRCTrackLeftHalfBankedHelixUpLarge(
|
|||
EnumsToFlags(PaintSegment::rightCorner, PaintSegment::topRightSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
48, 0x20);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 5:
|
||||
switch (direction)
|
||||
|
@ -6316,7 +6317,7 @@ static void WoodenRCTrackLeftHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 6:
|
||||
switch (direction)
|
||||
|
@ -6399,7 +6400,7 @@ static void WoodenRCTrackLeftHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 7:
|
||||
switch (direction)
|
||||
|
@ -6482,7 +6483,7 @@ static void WoodenRCTrackLeftHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 8:
|
||||
PaintUtilSetSegmentSupportHeight(
|
||||
|
@ -6490,7 +6491,7 @@ static void WoodenRCTrackLeftHalfBankedHelixUpLarge(
|
|||
PaintUtilRotateSegments(
|
||||
EnumsToFlags(PaintSegment::topCorner, PaintSegment::topLeftSide, PaintSegment::topRightSide), direction),
|
||||
48, 0x20);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 9:
|
||||
switch (direction)
|
||||
|
@ -6556,7 +6557,7 @@ static void WoodenRCTrackLeftHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 10:
|
||||
switch (direction)
|
||||
|
@ -6629,7 +6630,7 @@ static void WoodenRCTrackLeftHalfBankedHelixUpLarge(
|
|||
PaintSegment::topCorner, PaintSegment::centre, PaintSegment::topLeftSide, PaintSegment::topRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 11:
|
||||
PaintUtilSetSegmentSupportHeight(
|
||||
|
@ -6637,7 +6638,7 @@ static void WoodenRCTrackLeftHalfBankedHelixUpLarge(
|
|||
PaintUtilRotateSegments(
|
||||
EnumsToFlags(PaintSegment::topCorner, PaintSegment::topLeftSide, PaintSegment::topRightSide), direction),
|
||||
48, 0x20);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 12:
|
||||
switch (direction)
|
||||
|
@ -6703,7 +6704,7 @@ static void WoodenRCTrackLeftHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 13:
|
||||
switch (direction)
|
||||
|
@ -6781,7 +6782,7 @@ static void WoodenRCTrackLeftHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -6870,7 +6871,7 @@ static void WoodenRCTrackRightHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
PaintUtilSetSegmentSupportHeight(
|
||||
|
@ -6878,7 +6879,7 @@ static void WoodenRCTrackRightHalfBankedHelixUpLarge(
|
|||
PaintUtilRotateSegments(
|
||||
EnumsToFlags(PaintSegment::topCorner, PaintSegment::topLeftSide, PaintSegment::topRightSide), direction),
|
||||
48, 0x20);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -6944,7 +6945,7 @@ static void WoodenRCTrackRightHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -7017,7 +7018,7 @@ static void WoodenRCTrackRightHalfBankedHelixUpLarge(
|
|||
PaintSegment::topCorner, PaintSegment::centre, PaintSegment::topLeftSide, PaintSegment::topRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 4:
|
||||
PaintUtilSetSegmentSupportHeight(
|
||||
|
@ -7025,7 +7026,7 @@ static void WoodenRCTrackRightHalfBankedHelixUpLarge(
|
|||
PaintUtilRotateSegments(
|
||||
EnumsToFlags(PaintSegment::topCorner, PaintSegment::topLeftSide, PaintSegment::topRightSide), direction),
|
||||
48, 0x20);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 5:
|
||||
switch (direction)
|
||||
|
@ -7091,7 +7092,7 @@ static void WoodenRCTrackRightHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 6:
|
||||
switch (direction)
|
||||
|
@ -7174,7 +7175,7 @@ static void WoodenRCTrackRightHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 7:
|
||||
switch (direction)
|
||||
|
@ -7257,7 +7258,7 @@ static void WoodenRCTrackRightHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 8:
|
||||
PaintUtilSetSegmentSupportHeight(
|
||||
|
@ -7266,7 +7267,7 @@ static void WoodenRCTrackRightHalfBankedHelixUpLarge(
|
|||
EnumsToFlags(PaintSegment::rightCorner, PaintSegment::topRightSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
48, 0x20);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 9:
|
||||
switch (direction)
|
||||
|
@ -7332,7 +7333,7 @@ static void WoodenRCTrackRightHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomLeftSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 10:
|
||||
switch (direction)
|
||||
|
@ -7406,7 +7407,7 @@ static void WoodenRCTrackRightHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 11:
|
||||
PaintUtilSetSegmentSupportHeight(
|
||||
|
@ -7415,7 +7416,7 @@ static void WoodenRCTrackRightHalfBankedHelixUpLarge(
|
|||
EnumsToFlags(PaintSegment::rightCorner, PaintSegment::topRightSide, PaintSegment::bottomRightSide),
|
||||
direction),
|
||||
48, 0x20);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 12:
|
||||
switch (direction)
|
||||
|
@ -7481,7 +7482,7 @@ static void WoodenRCTrackRightHalfBankedHelixUpLarge(
|
|||
PaintSegment::topRightSide, PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 13:
|
||||
switch (direction)
|
||||
|
@ -7559,7 +7560,7 @@ static void WoodenRCTrackRightHalfBankedHelixUpLarge(
|
|||
PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -7773,7 +7774,7 @@ static void WoodenRCTrackBrakes(
|
|||
session, kSupportType, WoodenSupportSubType::NeSw, direction, height, session.SupportColours);
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_SQUARE_FLAT);
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x008ACC78 */
|
||||
|
@ -8562,7 +8563,7 @@ static void WoodenRCTrackLeftEighthToDiag(
|
|||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_SQUARE_FLAT);
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -8621,7 +8622,7 @@ static void WoodenRCTrackLeftEighthToDiag(
|
|||
break;
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -8680,7 +8681,7 @@ static void WoodenRCTrackLeftEighthToDiag(
|
|||
break;
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -8703,7 +8704,7 @@ static void WoodenRCTrackLeftEighthToDiag(
|
|||
break;
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 4:
|
||||
switch (direction)
|
||||
|
@ -8754,7 +8755,7 @@ static void WoodenRCTrackLeftEighthToDiag(
|
|||
break;
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -8828,7 +8829,7 @@ static void WoodenRCTrackRightEighthToDiag(
|
|||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_SQUARE_FLAT);
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -8887,7 +8888,7 @@ static void WoodenRCTrackRightEighthToDiag(
|
|||
break;
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -8946,7 +8947,7 @@ static void WoodenRCTrackRightEighthToDiag(
|
|||
break;
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -8969,7 +8970,7 @@ static void WoodenRCTrackRightEighthToDiag(
|
|||
break;
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 4:
|
||||
switch (direction)
|
||||
|
@ -9020,7 +9021,7 @@ static void WoodenRCTrackRightEighthToDiag(
|
|||
break;
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -9114,7 +9115,7 @@ static void WoodenRCTrackLeftEighthBankToDiag(
|
|||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_SQUARE_FLAT);
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -9173,7 +9174,7 @@ static void WoodenRCTrackLeftEighthBankToDiag(
|
|||
break;
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -9232,7 +9233,7 @@ static void WoodenRCTrackLeftEighthBankToDiag(
|
|||
break;
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -9255,7 +9256,7 @@ static void WoodenRCTrackLeftEighthBankToDiag(
|
|||
break;
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 4:
|
||||
switch (direction)
|
||||
|
@ -9306,7 +9307,7 @@ static void WoodenRCTrackLeftEighthBankToDiag(
|
|||
break;
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -9380,7 +9381,7 @@ static void WoodenRCTrackRightEighthBankToDiag(
|
|||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_SQUARE_FLAT);
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -9439,7 +9440,7 @@ static void WoodenRCTrackRightEighthBankToDiag(
|
|||
break;
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -9498,7 +9499,7 @@ static void WoodenRCTrackRightEighthBankToDiag(
|
|||
break;
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -9521,7 +9522,7 @@ static void WoodenRCTrackRightEighthBankToDiag(
|
|||
break;
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 4:
|
||||
switch (direction)
|
||||
|
@ -9572,7 +9573,7 @@ static void WoodenRCTrackRightEighthBankToDiag(
|
|||
break;
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -9737,7 +9738,7 @@ static void WoodenRCTrackDiagBrakes(
|
|||
|
||||
int32_t blockedSegments = BlockedSegments::kDiagStraightFlat[trackSequence];
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(blockedSegments, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
template<bool isClassic>
|
||||
|
@ -10007,7 +10008,7 @@ static void WoodenRCTrackDiagBlockBrakes(
|
|||
|
||||
int32_t blockedSegments = BlockedSegments::kDiagStraightFlat[trackSequence];
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(blockedSegments, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AC888 */
|
||||
|
@ -10175,7 +10176,7 @@ static void WoodenRCTrackDiagFlat(
|
|||
}
|
||||
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AC8B8 */
|
||||
|
@ -11842,7 +11843,7 @@ static void WoodenRCTrackDiagFlatToLeftBank(
|
|||
break;
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -11877,7 +11878,7 @@ static void WoodenRCTrackDiagFlatToLeftBank(
|
|||
break;
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -11912,7 +11913,7 @@ static void WoodenRCTrackDiagFlatToLeftBank(
|
|||
break;
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -11927,7 +11928,7 @@ static void WoodenRCTrackDiagFlatToLeftBank(
|
|||
break;
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -11953,7 +11954,7 @@ static void WoodenRCTrackDiagFlatToRightBank(
|
|||
break;
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -11988,7 +11989,7 @@ static void WoodenRCTrackDiagFlatToRightBank(
|
|||
break;
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -12023,7 +12024,7 @@ static void WoodenRCTrackDiagFlatToRightBank(
|
|||
break;
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -12038,7 +12039,7 @@ static void WoodenRCTrackDiagFlatToRightBank(
|
|||
break;
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -12064,7 +12065,7 @@ static void WoodenRCTrackDiagLeftBankToFlat(
|
|||
break;
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -12099,7 +12100,7 @@ static void WoodenRCTrackDiagLeftBankToFlat(
|
|||
break;
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -12134,7 +12135,7 @@ static void WoodenRCTrackDiagLeftBankToFlat(
|
|||
break;
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -12149,7 +12150,7 @@ static void WoodenRCTrackDiagLeftBankToFlat(
|
|||
break;
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -12175,7 +12176,7 @@ static void WoodenRCTrackDiagRightBankToFlat(
|
|||
break;
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -12210,7 +12211,7 @@ static void WoodenRCTrackDiagRightBankToFlat(
|
|||
break;
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -12245,7 +12246,7 @@ static void WoodenRCTrackDiagRightBankToFlat(
|
|||
break;
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -12260,7 +12261,7 @@ static void WoodenRCTrackDiagRightBankToFlat(
|
|||
break;
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -13070,7 +13071,7 @@ static void WoodenRCTrackDiagLeftBank(
|
|||
break;
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -13105,7 +13106,7 @@ static void WoodenRCTrackDiagLeftBank(
|
|||
break;
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -13140,7 +13141,7 @@ static void WoodenRCTrackDiagLeftBank(
|
|||
break;
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -13155,7 +13156,7 @@ static void WoodenRCTrackDiagLeftBank(
|
|||
break;
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -13181,7 +13182,7 @@ static void WoodenRCTrackDiagRightBank(
|
|||
break;
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 1:
|
||||
switch (direction)
|
||||
|
@ -13216,7 +13217,7 @@ static void WoodenRCTrackDiagRightBank(
|
|||
break;
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 2:
|
||||
switch (direction)
|
||||
|
@ -13251,7 +13252,7 @@ static void WoodenRCTrackDiagRightBank(
|
|||
break;
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
case 3:
|
||||
switch (direction)
|
||||
|
@ -13266,7 +13267,7 @@ static void WoodenRCTrackDiagRightBank(
|
|||
break;
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -13934,7 +13935,7 @@ static void WoodenRCTrackBlockBrakes(
|
|||
session, kSupportType, WoodenSupportSubType::NeSw, direction, height, session.SupportColours);
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_SQUARE_FLAT);
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x008ACCB8 */
|
||||
|
@ -16046,7 +16047,7 @@ static void WoodenRCTrackBooster(
|
|||
session, kSupportType, WoodenSupportSubType::NeSw, direction, height, session.SupportColours);
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_SQUARE_FLAT);
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
template<bool isClassic> TRACK_PAINT_FUNCTION GetTrackPaintFunctionWoodenAndClassicWoodenRC(int32_t trackType)
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
#include "../../paint/tile_element/Paint.TileElement.h"
|
||||
#include "../../paint/tile_element/Segment.h"
|
||||
#include "../../paint/track/Segment.h"
|
||||
#include "../../paint/track/Support.h"
|
||||
#include "../../sprites.h"
|
||||
#include "../../world/Map.h"
|
||||
#include "../RideData.h"
|
||||
|
@ -150,7 +151,7 @@ static void WoodenWildMouseTrackFlat(
|
|||
direction),
|
||||
height, 0x20);
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
static void WoodenWildMouseTrackStation(
|
||||
|
@ -175,7 +176,7 @@ static void WoodenWildMouseTrackStation(
|
|||
TrackPaintUtilDrawStation(session, ride, direction, height, trackElement);
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_SQUARE_FLAT);
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A5474 */
|
||||
|
@ -557,7 +558,7 @@ static void WoodenWildMouseTrackRightQuarterTurn3(
|
|||
break;
|
||||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(blockedSegments, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
static void WoodenWildMouseTrackLeftQuarterTurn3(
|
||||
|
@ -599,7 +600,7 @@ static void WoodenWildMouseTrackLeftQuarterTurn1(
|
|||
session, kSupportType, WoodenSupportSubType::Corner3, direction, height, session.SupportColours);
|
||||
TrackPaintUtilLeftQuarterTurn1TileTunnel(session, direction, height, 0, TUNNEL_0, 0, TUNNEL_0);
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x008A55D4 */
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
#include "../../paint/support/WoodenSupports.h"
|
||||
#include "../../paint/tile_element/Segment.h"
|
||||
#include "../../paint/track/Segment.h"
|
||||
#include "../../paint/track/Support.h"
|
||||
#include "../../world/Map.h"
|
||||
#include "../RideData.h"
|
||||
#include "../Track.h"
|
||||
|
@ -191,7 +192,7 @@ static void PaintCarRideTrackFlat(
|
|||
PaintUtilRotateSegments(
|
||||
EnumsToFlags(PaintSegment::bottomLeftSide, PaintSegment::centre, PaintSegment::topRightSide), direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x006F72D8 */
|
||||
|
@ -383,7 +384,7 @@ static void PaintCarRideStation(
|
|||
TrackPaintUtilDrawStation(session, ride, direction, height, trackElement);
|
||||
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x006F7378 */
|
||||
|
@ -422,7 +423,7 @@ static void PaintCarRideTrackRightQuarterTurn3Tiles(
|
|||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(blockedSegments, direction), 0xFFFF, 0);
|
||||
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x006F7368 */
|
||||
|
@ -465,7 +466,7 @@ static void PaintCarRideTrackLeftQuarterTurn1Tile(
|
|||
TrackPaintUtilLeftQuarterTurn1TileTunnel(session, direction, height, 0, TUNNEL_0, 0, TUNNEL_0);
|
||||
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x006F7398 */
|
||||
|
@ -508,7 +509,7 @@ static void PaintCarRideTrackSpinningTunnel(
|
|||
GetStationColourScheme(session, trackElement));
|
||||
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x006F73B8 */
|
||||
|
@ -736,7 +737,7 @@ static void PaintCarRideTrackLogBumps(
|
|||
PaintUtilRotateSegments(
|
||||
EnumsToFlags(PaintSegment::bottomLeftSide, PaintSegment::centre, PaintSegment::topRightSide), direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
#include "../../paint/support/WoodenSupports.h"
|
||||
#include "../../paint/tile_element/Segment.h"
|
||||
#include "../../paint/track/Segment.h"
|
||||
#include "../../paint/track/Support.h"
|
||||
#include "../../world/Map.h"
|
||||
#include "../RideData.h"
|
||||
#include "../Track.h"
|
||||
|
@ -202,7 +203,7 @@ static void PaintGhostTrainTrackFlat(
|
|||
PaintUtilRotateSegments(
|
||||
EnumsToFlags(PaintSegment::bottomLeftSide, PaintSegment::centre, PaintSegment::topRightSide), direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x00770BFC */
|
||||
|
@ -410,7 +411,7 @@ static void PaintGhostTrainStation(
|
|||
TrackPaintUtilDrawStation(session, ride, direction, height, trackElement);
|
||||
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x00770C9C */
|
||||
|
@ -453,7 +454,7 @@ static void PaintGhostTrainTrackRightQuarterTurn3Tiles(
|
|||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(blockedSegments, direction), 0xFFFF, 0);
|
||||
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x00770CAC */
|
||||
|
@ -489,7 +490,7 @@ static void PaintGhostTrainTrackLeftQuarterTurn1Tile(
|
|||
|
||||
MetalASupportsPaintSetup(session, kSupportType, MetalSupportPlace::Centre, 0, height, session.SupportColours);
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x00770CBC */
|
||||
|
@ -519,7 +520,7 @@ static void PaintGhostTrainTrackSpinningTunnel(
|
|||
GetStationColourScheme(session, trackElement));
|
||||
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x00770CDC */
|
||||
|
@ -544,7 +545,7 @@ static void PaintGhostTrainTrackBrakes(
|
|||
PaintUtilRotateSegments(
|
||||
EnumsToFlags(PaintSegment::bottomLeftSide, PaintSegment::centre, PaintSegment::topRightSide), direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
#include "../../paint/tile_element/Paint.Surface.h"
|
||||
#include "../../paint/tile_element/Segment.h"
|
||||
#include "../../paint/track/Segment.h"
|
||||
#include "../../paint/track/Support.h"
|
||||
#include "../../sprites.h"
|
||||
#include "../../world/Map.h"
|
||||
#include "../Ride.h"
|
||||
|
@ -183,7 +184,7 @@ static void MazePaintSetup(
|
|||
PaintUtilSetSegmentSupportHeight(session, EnumToFlag(PaintSegment::centre), height + 12, 0x20);
|
||||
}
|
||||
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
#include "../../paint/support/WoodenSupports.h"
|
||||
#include "../../paint/tile_element/Segment.h"
|
||||
#include "../../paint/track/Segment.h"
|
||||
#include "../../paint/track/Support.h"
|
||||
#include "../../world/Map.h"
|
||||
#include "../../world/Surface.h"
|
||||
#include "../../world/tile_element/Slope.h"
|
||||
|
@ -518,7 +519,7 @@ static void PaintMiniGolfTrackFlat(
|
|||
}
|
||||
}
|
||||
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x0087F11C */
|
||||
|
@ -733,7 +734,7 @@ static void PaintMiniGolfStation(
|
|||
session, WoodenSupportType::Truss, WoodenSupportSubType::NeSw, direction, height, session.SupportColours);
|
||||
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x0087F1AC */
|
||||
|
@ -818,7 +819,7 @@ static void PaintMiniGolfTrackLeftQuarterTurn1Tile(
|
|||
}
|
||||
}
|
||||
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x0087F1BC */
|
||||
|
@ -839,7 +840,7 @@ static void PaintMiniGolfHoleAb(
|
|||
session, WoodenSupportType::Truss, WoodenSupportSubType::NeSw, direction, height, session.SupportColours);
|
||||
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
|
||||
if ((direction == 0 && trackSequence == 0) || (direction == 2 && trackSequence == 1))
|
||||
{
|
||||
|
@ -912,7 +913,7 @@ static void PaintMiniGolfHoleC(
|
|||
session, WoodenSupportType::Truss, WoodenSupportSubType::NeSw, direction, height, session.SupportColours);
|
||||
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
|
||||
if ((direction == 0 && trackSequence == 0) || (direction == 2 && trackSequence == 1))
|
||||
{
|
||||
|
@ -984,7 +985,7 @@ static void PaintMiniGolfHoleD(
|
|||
session, WoodenSupportType::Truss, supportType, height, session.SupportColours);
|
||||
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
|
||||
switch ((direction << 4) | trackSequence)
|
||||
{
|
||||
|
@ -1078,7 +1079,7 @@ static void PaintMiniGolfHoleE(
|
|||
session, WoodenSupportType::Truss, supportType, height, session.SupportColours);
|
||||
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
|
||||
switch ((direction << 4) | trackSequence)
|
||||
{
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
#include "../../paint/support/WoodenSupports.h"
|
||||
#include "../../paint/tile_element/Segment.h"
|
||||
#include "../../paint/track/Segment.h"
|
||||
#include "../../paint/track/Support.h"
|
||||
#include "../../world/Map.h"
|
||||
#include "../RideData.h"
|
||||
#include "../Track.h"
|
||||
|
@ -51,7 +52,7 @@ static void PaintMiniHelicoptersTrackStation(
|
|||
TrackPaintUtilDrawStation(session, ride, direction, height, trackElement);
|
||||
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x0081F348 */
|
||||
|
@ -86,7 +87,7 @@ static void PaintMiniHelicoptersTrackFlat(
|
|||
PaintUtilRotateSegments(
|
||||
EnumsToFlags(PaintSegment::bottomLeftSide, PaintSegment::centre, PaintSegment::topRightSide), direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x0081F368 */
|
||||
|
@ -291,7 +292,7 @@ static void PaintMiniHelicoptersTrackLeftQuarterTurn3Tiles(
|
|||
break;
|
||||
}
|
||||
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
static constexpr uint8_t MiniHelicoptersRightQuarterTurn3TilesToLeftTurnMap[] = {
|
||||
|
@ -326,7 +327,7 @@ static void PaintMiniHelicoptersTrackLeftQuarterTurn1Tile(
|
|||
PaintSegment::leftCorner, PaintSegment::topLeftSide, PaintSegment::centre, PaintSegment::bottomLeftSide),
|
||||
direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x0081F418 */
|
||||
|
@ -361,7 +362,7 @@ static void PaintMiniHelicoptersTrackSpinningTunnel(
|
|||
GetStationColourScheme(session, trackElement));
|
||||
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
#include "../../paint/support/MetalSupports.h"
|
||||
#include "../../paint/tile_element/Segment.h"
|
||||
#include "../../paint/track/Segment.h"
|
||||
#include "../../paint/track/Support.h"
|
||||
#include "../../world/Map.h"
|
||||
#include "../Track.h"
|
||||
#include "../TrackPaint.h"
|
||||
|
@ -189,7 +190,7 @@ static void PaintMonorailCyclesTrackFlat(
|
|||
PaintUtilRotateSegments(
|
||||
EnumsToFlags(PaintSegment::bottomLeftSide, PaintSegment::centre, PaintSegment::topRightSide), direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x0088ADD8 */
|
||||
|
@ -222,7 +223,7 @@ static void PaintMonorailCyclesStation(
|
|||
TrackPaintUtilDrawStation(session, ride, direction, height, trackElement);
|
||||
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x0088AD88 */
|
||||
|
@ -270,7 +271,7 @@ static void PaintMonorailCyclesTrackLeftQuarterTurn3Tiles(
|
|||
break;
|
||||
}
|
||||
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
static constexpr uint8_t monorail_cycles_right_quarter_turn_3_tiles_to_left_turn_map[] = {
|
||||
|
@ -437,7 +438,7 @@ static void PaintMonorailCyclesTrackRightQuarterTurn5Tiles(
|
|||
break;
|
||||
}
|
||||
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x0088ADA8 */
|
||||
|
@ -564,7 +565,7 @@ static void PaintMonorailCyclesTrackSBendLeft(
|
|||
0xFFFF, 0);
|
||||
break;
|
||||
}
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x*/
|
||||
|
@ -682,7 +683,7 @@ static void PaintMonorailCyclesTrackSBendRight(
|
|||
0xFFFF, 0);
|
||||
break;
|
||||
}
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
#include "../../paint/support/WoodenSupports.h"
|
||||
#include "../../paint/tile_element/Segment.h"
|
||||
#include "../../paint/track/Segment.h"
|
||||
#include "../../paint/track/Support.h"
|
||||
#include "../../world/Map.h"
|
||||
#include "../Ride.h"
|
||||
#include "../Track.h"
|
||||
|
@ -160,7 +161,7 @@ static void PaintObservationTowerBase(
|
|||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, blockedSegments, 0xFFFF, 0);
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll & ~blockedSegments, height + 2, 0x20);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x0070DD7C */
|
||||
|
@ -186,7 +187,7 @@ static void PaintObservationTowerSection(
|
|||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
|
||||
PaintUtilSetVerticalTunnel(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
#include "../../paint/support/WoodenSupports.h"
|
||||
#include "../../paint/tile_element/Segment.h"
|
||||
#include "../../paint/track/Segment.h"
|
||||
#include "../../paint/track/Support.h"
|
||||
#include "../../sprites.h"
|
||||
#include "../../world/Map.h"
|
||||
#include "../Ride.h"
|
||||
|
@ -69,7 +70,7 @@ static void PaintFacility(
|
|||
}
|
||||
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
|
||||
if (direction == 1 || direction == 2)
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_SQUARE_FLAT);
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
#include "../../paint/support/WoodenSupports.h"
|
||||
#include "../../paint/tile_element/Segment.h"
|
||||
#include "../../paint/track/Segment.h"
|
||||
#include "../../paint/track/Support.h"
|
||||
#include "../../world/Map.h"
|
||||
#include "../Ride.h"
|
||||
#include "../Track.h"
|
||||
|
@ -159,7 +160,7 @@ static void PaintGoKartsTrackFlat(
|
|||
session, kSupportType, WoodenSupportSubType::NeSw, direction, height, session.SupportColours);
|
||||
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x0074A758 */
|
||||
|
@ -457,7 +458,7 @@ static void PaintGoKartsStation(
|
|||
session, kSupportType, WoodenSupportSubType::NeSw, direction, height, session.SupportColours);
|
||||
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x0074A7E8 */
|
||||
|
@ -528,7 +529,7 @@ static void PaintGoKartsTrackLeftQuarterTurn1Tile(
|
|||
session, kSupportType, WoodenSupportSubType::NeSw, direction, height, session.SupportColours);
|
||||
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x0074A7F8 */
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
#include "../../paint/support/WoodenSupports.h"
|
||||
#include "../../paint/tile_element/Segment.h"
|
||||
#include "../../paint/track/Segment.h"
|
||||
#include "../../paint/track/Support.h"
|
||||
#include "../Ride.h"
|
||||
#include "../Track.h"
|
||||
#include "../TrackPaint.h"
|
||||
|
@ -168,7 +169,7 @@ static void PaintLaunchedFreefallBase(
|
|||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, blockedSegments, 0xFFFF, 0);
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll & ~blockedSegments, height + 2, 0x20);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x006FD208 */
|
||||
|
@ -194,7 +195,7 @@ static void PaintLaunchedFreefallTowerSection(
|
|||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
|
||||
PaintUtilSetVerticalTunnel(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
#include "../../paint/support/WoodenSupports.h"
|
||||
#include "../../paint/tile_element/Segment.h"
|
||||
#include "../../paint/track/Segment.h"
|
||||
#include "../../paint/track/Support.h"
|
||||
#include "../Ride.h"
|
||||
#include "../Track.h"
|
||||
#include "../TrackPaint.h"
|
||||
|
@ -182,7 +183,7 @@ static void PaintRotoDropBase(
|
|||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, blockedSegments, 0xFFFF, 0);
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll & ~blockedSegments, height + 2, 0x20);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x008861A4 */
|
||||
|
@ -216,7 +217,7 @@ static void PaintRotoDropTowerSection(
|
|||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
|
||||
PaintUtilSetVerticalTunnel(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
#include "../../paint/support/WoodenSupports.h"
|
||||
#include "../../paint/tile_element/Segment.h"
|
||||
#include "../../paint/track/Segment.h"
|
||||
#include "../../paint/track/Support.h"
|
||||
#include "../../world/Map.h"
|
||||
#include "../Ride.h"
|
||||
#include "../RideData.h"
|
||||
|
@ -271,7 +272,7 @@ static void ChairliftPaintStationNeSw(
|
|||
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilPushTunnelLeft(session, height, TUNNEL_SQUARE_FLAT);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
static void ChairliftPaintStationSeNw(
|
||||
|
@ -367,7 +368,7 @@ static void ChairliftPaintStationSeNw(
|
|||
}
|
||||
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x00744068 */
|
||||
|
@ -404,7 +405,7 @@ static void ChairliftPaintFlat(
|
|||
}
|
||||
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x00743FD8 */
|
||||
|
@ -645,7 +646,7 @@ static void ChairliftPaintLeftQuarterTurn1Tile(
|
|||
height);
|
||||
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x00744048 */
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
#include "../../paint/support/WoodenSupports.h"
|
||||
#include "../../paint/tile_element/Segment.h"
|
||||
#include "../../paint/track/Segment.h"
|
||||
#include "../../paint/track/Support.h"
|
||||
#include "../Track.h"
|
||||
#include "../TrackPaint.h"
|
||||
|
||||
|
@ -118,7 +119,7 @@ static void PaintLiftBase(
|
|||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, blockedSegments, 0xFFFF, 0);
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll & ~blockedSegments, height + 2, 0x20);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x0076C6DC */
|
||||
|
@ -136,7 +137,7 @@ static void PaintLiftTowerSection(
|
|||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
|
||||
PaintUtilSetVerticalTunnel(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
#include "../../paint/support/WoodenSupports.h"
|
||||
#include "../../paint/tile_element/Segment.h"
|
||||
#include "../../paint/track/Segment.h"
|
||||
#include "../../paint/track/Support.h"
|
||||
#include "../../sprites.h"
|
||||
#include "../../world/Map.h"
|
||||
#include "../RideData.h"
|
||||
|
@ -700,7 +701,7 @@ static void PaintMiniatureRailwayTrackFlat(
|
|||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_SQUARE_FLAT);
|
||||
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AD170, 0x008AD180, 0x008AD190 */
|
||||
|
@ -1083,7 +1084,7 @@ static void PaintMiniatureRailwayTrackRightQuarterTurn5Tiles(
|
|||
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(blockedSegments, direction), 0xFFFF, 0);
|
||||
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AD130 */
|
||||
|
@ -1203,7 +1204,7 @@ static void PaintMiniatureRailwayTrackSBendLeft(
|
|||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(blockedSegments, direction & 1), 0xFFFF, 0);
|
||||
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
static constexpr WoodenSupportSubType s_bend_right_supports_type[NumOrthogonalDirections][4] = {
|
||||
|
@ -1314,7 +1315,7 @@ static void PaintMiniatureRailwayTrackSBendRight(
|
|||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(blockedSegments, direction & 1), 0xFFFF, 0);
|
||||
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
static constexpr uint32_t miniature_railway_right_quarter_turn_3_tile_track_floor[4][3] = {
|
||||
|
@ -1424,7 +1425,7 @@ static void PaintMiniatureRailwayTrackRightQuarterTurn3Tiles(
|
|||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(blockedSegments, direction), 0xFFFF, 0);
|
||||
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AD1A0 */
|
||||
|
@ -1603,7 +1604,7 @@ static void PaintMiniatureRailwayTrackLeftEighthToDiag(
|
|||
}
|
||||
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
static constexpr uint32_t miniature_railway_floor_track_pieces_right_eight_to_diag[4][5] = {
|
||||
|
@ -1770,7 +1771,7 @@ static void PaintMiniatureRailwayTrackRightEighthToDiag(
|
|||
}
|
||||
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AD1E0 */
|
||||
|
@ -1862,7 +1863,7 @@ static void MiniatureRailwayTrackDiagFlat(
|
|||
}
|
||||
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AD230 */
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
#include "../../paint/support/MetalSupports.h"
|
||||
#include "../../paint/tile_element/Segment.h"
|
||||
#include "../../paint/track/Segment.h"
|
||||
#include "../../paint/track/Support.h"
|
||||
#include "../../world/Map.h"
|
||||
#include "../RideData.h"
|
||||
#include "../Track.h"
|
||||
|
@ -443,7 +444,7 @@ static void PaintMonorailTrackFlat(
|
|||
PaintUtilRotateSegments(
|
||||
EnumsToFlags(PaintSegment::bottomLeftSide, PaintSegment::centre, PaintSegment::topRightSide), direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AE25C, 0x008AE26C, 0x008AE27C */
|
||||
|
@ -494,7 +495,7 @@ static void PaintMonorailStation(
|
|||
TrackPaintUtilDrawStation(session, ride, direction, height, trackElement);
|
||||
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AE1BC */
|
||||
|
@ -722,7 +723,7 @@ static void PaintMonorailTrackRightQuarterTurn5Tiles(
|
|||
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(blockedSegments, direction), 0xFFFF, 0);
|
||||
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AE21C */
|
||||
|
@ -830,7 +831,7 @@ static void PaintMonorailTrackSBendLeft(
|
|||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(blockedSegments, direction & 1), 0xFFFF, 0);
|
||||
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AE24C */
|
||||
|
@ -926,7 +927,7 @@ static void PaintMonorailTrackSBendRight(
|
|||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(blockedSegments, direction & 1), 0xFFFF, 0);
|
||||
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AE29C */
|
||||
|
@ -965,7 +966,7 @@ static void PaintMonorailTrackRightQuarterTurn3Tiles(
|
|||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(blockedSegments, direction), 0xFFFF, 0);
|
||||
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AE28C */
|
||||
|
@ -1054,7 +1055,7 @@ static void PaintMonorailTrackLeftEighthToDiag(
|
|||
}
|
||||
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(blockedSegments, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AE32C */
|
||||
|
@ -1130,7 +1131,7 @@ static void PaintMonorailTrackRightEighthToDiag(
|
|||
}
|
||||
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(blockedSegments, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AE33C */
|
||||
|
@ -1167,7 +1168,7 @@ static void PaintMonorailTrackDiagFlat(
|
|||
|
||||
int32_t blockedSegments = BlockedSegments::kDiagStraightFlat[trackSequence];
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(blockedSegments, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x008AE2DC */
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
#include "../../paint/Paint.h"
|
||||
#include "../../paint/tile_element/Segment.h"
|
||||
#include "../../paint/track/Segment.h"
|
||||
#include "../../paint/track/Support.h"
|
||||
#include "../Ride.h"
|
||||
#include "../Track.h"
|
||||
#include "../TrackPaint.h"
|
||||
|
@ -87,7 +88,7 @@ static void PaintBoatHireStation(
|
|||
}
|
||||
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x008B0E80 */
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
#include "../../paint/support/MetalSupports.h"
|
||||
#include "../../paint/tile_element/Segment.h"
|
||||
#include "../../paint/track/Segment.h"
|
||||
#include "../../paint/track/Support.h"
|
||||
#include "../Track.h"
|
||||
#include "../TrackPaint.h"
|
||||
|
||||
|
@ -245,7 +246,7 @@ static void DinghySlideTrackFlat(
|
|||
PaintUtilRotateSegments(
|
||||
EnumsToFlags(PaintSegment::bottomLeftSide, PaintSegment::centre, PaintSegment::topRightSide), direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
static void DinghySlideTrackStation(
|
||||
|
@ -273,7 +274,7 @@ static void DinghySlideTrackStation(
|
|||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_SQUARE_FLAT);
|
||||
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
static void DinghySlideTrack25DegUp(
|
||||
|
@ -718,7 +719,7 @@ static void DinghySlideTrackRightQuarterTurn5(
|
|||
break;
|
||||
}
|
||||
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
static void DinghySlideTrackLeftQuarterTurn5(
|
||||
|
@ -856,7 +857,7 @@ static void DinghySlideTrackSBendLeft(
|
|||
}
|
||||
}
|
||||
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
static void DinghySlideTrackSBendRight(
|
||||
|
@ -981,7 +982,7 @@ static void DinghySlideTrackSBendRight(
|
|||
}
|
||||
}
|
||||
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
static void DinghySlideTrackRightQuarterTurn3(
|
||||
|
@ -1063,7 +1064,7 @@ static void DinghySlideTrackRightQuarterTurn3(
|
|||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(blockedSegments, direction), 0xFFFF, 0);
|
||||
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
static void DinghySlideTrackLeftQuarterTurn3(
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
#include "../../paint/support/MetalSupports.h"
|
||||
#include "../../paint/tile_element/Segment.h"
|
||||
#include "../../paint/track/Segment.h"
|
||||
#include "../../paint/track/Support.h"
|
||||
#include "../Track.h"
|
||||
#include "../TrackPaint.h"
|
||||
|
||||
|
@ -201,7 +202,7 @@ static void DinghySlideTrackCoveredFlat(
|
|||
PaintUtilRotateSegments(
|
||||
EnumsToFlags(PaintSegment::bottomLeftSide, PaintSegment::centre, PaintSegment::topRightSide), direction),
|
||||
0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
static void DinghySlideTrackCovered25DegUp(
|
||||
|
@ -619,7 +620,7 @@ static void DinghySlideTrackCoveredRightQuarterTurn5(
|
|||
break;
|
||||
}
|
||||
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
static void DinghySlideTrackCoveredLeftQuarterTurn5(
|
||||
|
@ -750,7 +751,7 @@ static void DinghySlideTrackCoveredSBendLeft(
|
|||
}
|
||||
}
|
||||
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
static void DinghySlideTrackCoveredSBendRight(
|
||||
|
@ -875,7 +876,7 @@ static void DinghySlideTrackCoveredSBendRight(
|
|||
}
|
||||
}
|
||||
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
static void DinghySlideTrackCoveredRightQuarterTurn3(
|
||||
|
@ -957,7 +958,7 @@ static void DinghySlideTrackCoveredRightQuarterTurn3(
|
|||
}
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(blockedSegments, direction), 0xFFFF, 0);
|
||||
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
static void DinghySlideTrackCoveredLeftQuarterTurn3(
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
#include "../../paint/support/MetalSupports.h"
|
||||
#include "../../paint/tile_element/Segment.h"
|
||||
#include "../../paint/track/Segment.h"
|
||||
#include "../../paint/track/Support.h"
|
||||
#include "../../sprites.h"
|
||||
#include "../Track.h"
|
||||
#include "../TrackPaint.h"
|
||||
|
@ -182,7 +183,7 @@ static void PaintLogFlumeTrackFlat(
|
|||
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_0);
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
static void PaintLogFlumeTrackStation(
|
||||
|
@ -210,7 +211,7 @@ static void PaintLogFlumeTrackStation(
|
|||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_SQUARE_FLAT);
|
||||
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
static void PaintLogFlumeTrack25DegUp(
|
||||
|
@ -537,7 +538,7 @@ static void PaintLogFlumeTrackSBendLeft(
|
|||
}
|
||||
}
|
||||
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
static void PaintLogFlumeTrackSBendRight(
|
||||
|
@ -662,7 +663,7 @@ static void PaintLogFlumeTrackSBendRight(
|
|||
}
|
||||
}
|
||||
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
static void PaintLogFlumeTrackLeftQuarterTurn3Tiles(
|
||||
|
@ -758,7 +759,7 @@ static void PaintLogFlumeTrackLeftQuarterTurn3Tiles(
|
|||
break;
|
||||
}
|
||||
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
static void PaintLogFlumeTrackRightQuarterTurn3Tiles(
|
||||
|
@ -854,7 +855,7 @@ static void PaintLogFlumeTrackRightQuarterTurn3Tiles(
|
|||
break;
|
||||
}
|
||||
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
static void PaintLogFlumeTrackOnRidePhoto(
|
||||
|
@ -897,7 +898,7 @@ static void PaintLogFlumeTrackReverser(
|
|||
|
||||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_0);
|
||||
PaintUtilSetSegmentSupportHeight(session, PaintUtilRotateSegments(BlockedSegments::kStraightFlat, direction), 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
// Steep Additions added by OpenRCT2
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
#include "../../paint/support/WoodenSupports.h"
|
||||
#include "../../paint/tile_element/Segment.h"
|
||||
#include "../../paint/track/Segment.h"
|
||||
#include "../../paint/track/Support.h"
|
||||
#include "../../scenario/Scenario.h"
|
||||
#include "../../world/Map.h"
|
||||
#include "../Track.h"
|
||||
|
@ -313,7 +314,7 @@ static void PaintRiverRapidsTrackFlat(
|
|||
}
|
||||
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x007576C0 */
|
||||
|
@ -323,7 +324,7 @@ static void PaintRiverRapidsStation(
|
|||
{
|
||||
PaintRiverRapidsTrackFlat(session, ride, trackSequence, direction, height, trackElement);
|
||||
TrackPaintUtilDrawNarrowStationPlatform(session, ride, direction, height, 12, trackElement);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
static void PaintRiverRapidsTrack25Deg(PaintSession& session, uint8_t direction, int32_t height, const uint32_t sprites[4][2])
|
||||
|
@ -629,7 +630,7 @@ static void PaintRiverRapidsTrackLeftQuarterTurn1Tile(
|
|||
WoodenASupportsPaintSetupRotated(
|
||||
session, kSupportType, WoodenSupportSubType::NeSw, direction, height, session.SupportColours);
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x00757700 */
|
||||
|
@ -687,7 +688,7 @@ static void PaintRiverRapidsTrackRightQuarterTurn1Tile(
|
|||
WoodenASupportsPaintSetupRotated(
|
||||
session, kSupportType, WoodenSupportSubType::NwSe, direction, height, session.SupportColours);
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x00757710 */
|
||||
|
@ -800,7 +801,7 @@ static void PaintRiverRapidsTrackRapids(
|
|||
}
|
||||
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x00757740 */
|
||||
|
@ -870,7 +871,7 @@ static void PaintRiverRapidsTrackWhirlpool(
|
|||
}
|
||||
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
#include "../../paint/support/WoodenSupports.h"
|
||||
#include "../../paint/tile_element/Segment.h"
|
||||
#include "../../paint/track/Segment.h"
|
||||
#include "../../paint/track/Support.h"
|
||||
#include "../Track.h"
|
||||
#include "../TrackPaint.h"
|
||||
#include "../Vehicle.h"
|
||||
|
@ -777,7 +778,7 @@ static void PaintSplashBoatsTrackFlat(
|
|||
}
|
||||
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x0089B1A0 */
|
||||
|
@ -812,7 +813,7 @@ static void PaintSplashBoatsStation(
|
|||
PaintUtilPushTunnelRotated(session, direction, height, TUNNEL_SQUARE_FLAT);
|
||||
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x0089B1D0 */
|
||||
|
@ -943,7 +944,7 @@ static void PaintSplashBoatsTrackLeftQuarterTurn5Tiles(
|
|||
break;
|
||||
}
|
||||
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x0089B1D0 */
|
||||
|
@ -1072,7 +1073,7 @@ static void PaintSplashBoatsTrackRightQuarterTurn5Tiles(
|
|||
break;
|
||||
}
|
||||
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x0089B180 */
|
||||
|
@ -1182,7 +1183,7 @@ static void PaintSplashBoatsTrackSBendLeft(
|
|||
}
|
||||
}
|
||||
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
/** rct2: 0x0089B190 */
|
||||
|
@ -1292,7 +1293,7 @@ static void PaintSplashBoatsTrackSBendRight(
|
|||
}
|
||||
}
|
||||
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
static void PaintSplashBoatsTrackOnRidePhoto(
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
#include "../../paint/support/MetalSupports.h"
|
||||
#include "../../paint/tile_element/Segment.h"
|
||||
#include "../../paint/track/Segment.h"
|
||||
#include "../../paint/track/Support.h"
|
||||
#include "../RideData.h"
|
||||
#include "../Track.h"
|
||||
#include "../TrackPaint.h"
|
||||
|
@ -96,7 +97,7 @@ static void SubmarineRidePaintTrackStation(
|
|||
}
|
||||
|
||||
PaintUtilSetSegmentSupportHeight(session, kSegmentsAll, 0xFFFF, 0);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + 32);
|
||||
PaintUtilSetGeneralSupportHeight(session, height + kDefaultGeneralSupportHeight);
|
||||
}
|
||||
|
||||
static void SubmarineRidePaintTrackFlat(
|
||||
|
|
Loading…
Reference in New Issue