1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-15 11:03:00 +01:00

Fix Wooden RC small banked turns blocking more supports than RCT2

This commit is contained in:
mix
2025-10-18 16:20:07 +01:00
committed by GitHub
parent 33d239dc5c
commit d325703d09
4 changed files with 4 additions and 2 deletions

View File

@@ -14,6 +14,7 @@
- Fix: [#25363] The Mine Train Coaster flat-to-steep track pieces do not block all metal supports.
- Fix: [#25369] The Go-Karts medium turns and small flat and sloped turns do not block metal supports correctly.
- Fix: [#25370] The Hybrid Coaster diagonal brakes and block brakes do not block metal supports consistently.
- Fix: [#25371] The Wooden Roller Coaster small banked turns block too many metal supports.
0.4.27 (2025-10-04)
------------------------------------------------------------------------

View File

@@ -27,6 +27,7 @@ enum class PaintSegment : uint16_t
topLeft = 7,
centre = 8,
};
constexpr uint16_t kSegmentsNone = 0;
constexpr int32_t kSegmentsAll = EnumsToFlags(
PaintSegment::top, PaintSegment::left, PaintSegment::right, PaintSegment::bottom, PaintSegment::centre,
PaintSegment::topLeft, PaintSegment::topRight, PaintSegment::bottomLeft, PaintSegment::bottomRight);

View File

@@ -1070,7 +1070,7 @@ static void ClassicWoodenRCTrackRightQuarterTurn3Bank(
static constexpr int blockedSegments[4] = {
kSegmentsAll,
kSegmentsAll,
kSegmentsNone,
EnumsToFlags(PaintSegment::bottom, PaintSegment::centre, PaintSegment::bottomLeft, PaintSegment::bottomRight),
kSegmentsAll,
};

View File

@@ -298,7 +298,7 @@ static void WoodenRCTrackLeftQuarterTurn3Bank(
static constexpr int blockedSegments[4] = {
kSegmentsAll,
kSegmentsAll,
kSegmentsNone,
EnumsToFlags(PaintSegment::left, PaintSegment::centre, PaintSegment::topLeft, PaintSegment::bottomLeft),
kSegmentsAll,
};