mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-15 11:03:00 +01:00
Fix Side-Friction train appearing through slopes (#22857)
This commit is contained in:
@@ -29,6 +29,7 @@
|
||||
- Fix: [#22729] Invisibility settings persist after reloading OpenRCT2.
|
||||
- Fix: [#22734] Support clearance above steep Side-Friction track is too low.
|
||||
- Fix: [#22774] Fix entities leaving stale pixels on the screen when the framerate is uncapped.
|
||||
- Fix: [#22857] Side-Friction Roller Coaster train clips through slopes.
|
||||
- Fix: [objects#346] Invalid refund price for Brick Base Block scenery item.
|
||||
|
||||
0.4.14 (2024-09-01)
|
||||
|
||||
@@ -193,7 +193,7 @@ static void SideFrictionRCTrack25DegUp(
|
||||
{ { 0, 2, height }, { 32, 27, 2 } });
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session.TrackColours.WithIndex(21691), { 0, 0, height },
|
||||
{ { 0, 26, height + 5 }, { 32, 1, 9 } });
|
||||
{ { 0, 26, height + 5 }, { 32, 1, 20 } });
|
||||
break;
|
||||
case 2:
|
||||
PaintAddImageAsParentRotated(
|
||||
@@ -201,7 +201,7 @@ static void SideFrictionRCTrack25DegUp(
|
||||
{ { 0, 2, height }, { 32, 27, 2 } });
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session.TrackColours.WithIndex(21692), { 0, 0, height },
|
||||
{ { 0, 26, height + 5 }, { 32, 1, 9 } });
|
||||
{ { 0, 26, height + 5 }, { 32, 1, 20 } });
|
||||
break;
|
||||
case 3:
|
||||
PaintAddImageAsParentRotated(
|
||||
@@ -231,7 +231,7 @@ static void SideFrictionRCTrack25DegUp(
|
||||
{ { 0, 2, height }, { 32, 27, 2 } });
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session.TrackColours.WithIndex(21635), { 0, 0, height },
|
||||
{ { 0, 26, height + 5 }, { 32, 1, 9 } });
|
||||
{ { 0, 26, height + 5 }, { 32, 1, 20 } });
|
||||
break;
|
||||
case 2:
|
||||
PaintAddImageAsParentRotated(
|
||||
@@ -239,7 +239,7 @@ static void SideFrictionRCTrack25DegUp(
|
||||
{ { 0, 2, height }, { 32, 27, 2 } });
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session.TrackColours.WithIndex(21636), { 0, 0, height },
|
||||
{ { 0, 26, height + 5 }, { 32, 1, 9 } });
|
||||
{ { 0, 26, height + 5 }, { 32, 1, 20 } });
|
||||
break;
|
||||
case 3:
|
||||
PaintAddImageAsParentRotated(
|
||||
@@ -288,7 +288,7 @@ static void SideFrictionRCTrackFlatTo25DegUp(
|
||||
{ { 0, 2, height }, { 32, 27, 2 } });
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session.TrackColours.WithIndex(21683), { 0, 0, height },
|
||||
{ { 0, 26, height + 5 }, { 32, 1, 9 } });
|
||||
{ { 0, 26, height + 5 }, { 32, 1, 16 } });
|
||||
break;
|
||||
case 2:
|
||||
PaintAddImageAsParentRotated(
|
||||
@@ -296,7 +296,7 @@ static void SideFrictionRCTrackFlatTo25DegUp(
|
||||
{ { 0, 2, height }, { 32, 27, 2 } });
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session.TrackColours.WithIndex(21684), { 0, 0, height },
|
||||
{ { 0, 26, height + 5 }, { 32, 1, 9 } });
|
||||
{ { 0, 26, height + 5 }, { 32, 1, 16 } });
|
||||
break;
|
||||
case 3:
|
||||
PaintAddImageAsParentRotated(
|
||||
@@ -326,7 +326,7 @@ static void SideFrictionRCTrackFlatTo25DegUp(
|
||||
{ { 0, 2, height }, { 32, 27, 2 } });
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session.TrackColours.WithIndex(21627), { 0, 0, height },
|
||||
{ { 0, 26, height + 5 }, { 32, 1, 9 } });
|
||||
{ { 0, 26, height + 5 }, { 32, 1, 16 } });
|
||||
break;
|
||||
case 2:
|
||||
PaintAddImageAsParentRotated(
|
||||
@@ -334,7 +334,7 @@ static void SideFrictionRCTrackFlatTo25DegUp(
|
||||
{ { 0, 2, height }, { 32, 27, 2 } });
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session.TrackColours.WithIndex(21628), { 0, 0, height },
|
||||
{ { 0, 26, height + 5 }, { 32, 1, 9 } });
|
||||
{ { 0, 26, height + 5 }, { 32, 1, 16 } });
|
||||
break;
|
||||
case 3:
|
||||
PaintAddImageAsParentRotated(
|
||||
@@ -383,7 +383,7 @@ static void SideFrictionRCTrack25DegUpToFlat(
|
||||
{ { 0, 2, height }, { 32, 27, 2 } });
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session.TrackColours.WithIndex(21687), { 0, 0, height },
|
||||
{ { 0, 26, height + 5 }, { 32, 1, 9 } });
|
||||
{ { 0, 26, height + 5 }, { 32, 1, 16 } });
|
||||
break;
|
||||
case 2:
|
||||
PaintAddImageAsParentRotated(
|
||||
@@ -391,7 +391,7 @@ static void SideFrictionRCTrack25DegUpToFlat(
|
||||
{ { 0, 2, height }, { 32, 27, 2 } });
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session.TrackColours.WithIndex(21688), { 0, 0, height },
|
||||
{ { 0, 26, height + 5 }, { 32, 1, 9 } });
|
||||
{ { 0, 26, height + 5 }, { 32, 1, 16 } });
|
||||
break;
|
||||
case 3:
|
||||
PaintAddImageAsParentRotated(
|
||||
@@ -421,7 +421,7 @@ static void SideFrictionRCTrack25DegUpToFlat(
|
||||
{ { 0, 2, height }, { 32, 27, 2 } });
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session.TrackColours.WithIndex(21631), { 0, 0, height },
|
||||
{ { 0, 26, height + 5 }, { 32, 1, 9 } });
|
||||
{ { 0, 26, height + 5 }, { 32, 1, 16 } });
|
||||
break;
|
||||
case 2:
|
||||
PaintAddImageAsParentRotated(
|
||||
@@ -429,7 +429,7 @@ static void SideFrictionRCTrack25DegUpToFlat(
|
||||
{ { 0, 2, height }, { 32, 27, 2 } });
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session.TrackColours.WithIndex(21632), { 0, 0, height },
|
||||
{ { 0, 26, height + 5 }, { 32, 1, 9 } });
|
||||
{ { 0, 26, height + 5 }, { 32, 1, 16 } });
|
||||
break;
|
||||
case 3:
|
||||
PaintAddImageAsParentRotated(
|
||||
@@ -2594,7 +2594,7 @@ static void SideFrictionRCTrack25DegUpTo60DegUp(
|
||||
{ 0, 0, height }, { { 0, 2, height }, { 32, 27, 2 } });
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session.TrackColours.WithIndex(SPR_SIDE_FRICTION_25_DEG_UP_TO_60_DEG_UP_DIR_1_B),
|
||||
{ 0, 0, height }, { { 0, 26, height + 5 }, { 32, 1, 9 } });
|
||||
{ 0, 0, height }, { { 0, 26, height + 5 }, { 32, 1, 40 } });
|
||||
break;
|
||||
case 2:
|
||||
PaintAddImageAsParentRotated(
|
||||
@@ -2602,7 +2602,7 @@ static void SideFrictionRCTrack25DegUpTo60DegUp(
|
||||
{ 0, 0, height }, { { 0, 2, height }, { 32, 27, 2 } });
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session.TrackColours.WithIndex(SPR_SIDE_FRICTION_25_DEG_UP_TO_60_DEG_UP_DIR_2_B),
|
||||
{ 0, 0, height }, { { 0, 26, height + 5 }, { 32, 1, 9 } });
|
||||
{ 0, 0, height }, { { 0, 26, height + 5 }, { 32, 1, 40 } });
|
||||
break;
|
||||
case 3:
|
||||
PaintAddImageAsParentRotated(
|
||||
@@ -2655,7 +2655,7 @@ static void SideFrictionRCTrack60DegUpTo25DegUp(
|
||||
{ 0, 0, height }, { { 0, 2, height }, { 32, 27, 2 } });
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session.TrackColours.WithIndex(SPR_SIDE_FRICTION_60_DEG_UP_TO_25_DEG_UP_DIR_1_B),
|
||||
{ 0, 0, height }, { { 0, 26, height + 5 }, { 32, 1, 9 } });
|
||||
{ 0, 0, height }, { { 0, 26, height + 5 }, { 32, 1, 36 } });
|
||||
break;
|
||||
case 2:
|
||||
PaintAddImageAsParentRotated(
|
||||
@@ -2663,7 +2663,7 @@ static void SideFrictionRCTrack60DegUpTo25DegUp(
|
||||
{ 0, 0, height }, { { 0, 2, height }, { 32, 27, 2 } });
|
||||
PaintAddImageAsParentRotated(
|
||||
session, direction, session.TrackColours.WithIndex(SPR_SIDE_FRICTION_60_DEG_UP_TO_25_DEG_UP_DIR_2_B),
|
||||
{ 0, 0, height }, { { 0, 26, height + 5 }, { 32, 1, 9 } });
|
||||
{ 0, 0, height }, { { 0, 26, height + 5 }, { 32, 1, 36 } });
|
||||
break;
|
||||
case 3:
|
||||
PaintAddImageAsParentRotated(
|
||||
|
||||
Reference in New Issue
Block a user