From a74acee961a412e8a981c92efe94beedec42cdef Mon Sep 17 00:00:00 2001 From: Karst Date: Thu, 21 Jul 2022 01:57:49 -0500 Subject: [PATCH] Fix: Wrong boundboxes for tunnels & terrain. (#17312) * Edit Boundboxes * Make all code consistent Eight is the magic number --- distribution/changelog.txt | 2 + src/openrct2/ride/TrackPaint.cpp | 16 ++--- src/openrct2/ride/coaster/AlpineCoaster.cpp | 16 ++--- .../ride/coaster/BobsleighCoaster.cpp | 16 ++--- .../ride/coaster/BolligerMabillardTrack.hpp | 64 ++++++++++++------- .../ride/coaster/CorkscrewRollerCoaster.cpp | 16 ++--- .../ride/coaster/FlyingRollerCoaster.cpp | 64 ++++++++++++------- src/openrct2/ride/coaster/GigaCoaster.cpp | 16 ++--- src/openrct2/ride/coaster/HybridCoaster.cpp | 16 ++--- .../ride/coaster/LayDownRollerCoaster.cpp | 16 ++--- .../ride/coaster/LoopingRollerCoaster.cpp | 16 ++--- src/openrct2/ride/coaster/MineRide.cpp | 16 ++--- .../ride/coaster/MineTrainCoaster.cpp | 18 +++--- .../ride/coaster/MiniRollerCoaster.cpp | 16 ++--- .../coaster/MultiDimensionRollerCoaster.cpp | 16 ++--- .../ride/coaster/SingleRailRollerCoaster.cpp | 16 ++--- .../ride/coaster/StandUpRollerCoaster.cpp | 16 ++--- .../ride/coaster/WoodenRollerCoaster.cpp | 32 +++++----- 18 files changed, 211 insertions(+), 177 deletions(-) diff --git a/distribution/changelog.txt b/distribution/changelog.txt index 3145278b41..54ae1cf1ce 100644 --- a/distribution/changelog.txt +++ b/distribution/changelog.txt @@ -4,8 +4,10 @@ - Feature: [#16662] Show a warning message when g2.dat is mismatched. - Change: [#17319] Giant screenshots are now cropped to the horizontal view-clipping selection. - Change: [#17499] Update error text when using vehicle incompatible with TD6 and add error when using incompatible track elements. +- Fix: [#7466] Coaster track not drawn at tunnel exit. - Fix: [#16392] Scenery on sloped surface is placed at wrong height. - Fix: [#16476] The game sometimes crashes when demolishing a maze. +- Fix: [#17312] (Flying) Inline Twist appearing under the surface when placed on ground level. - Fix: [#17444] “Manta Ray” boats slowed down too much in “Ayers Rock” scenario (original bug). - Fix: [#17503] Parks with staff with an ID of 0 have all staff windows focus on that staff - Fix: [#17553] Crash when moving invention list items to empty list diff --git a/src/openrct2/ride/TrackPaint.cpp b/src/openrct2/ride/TrackPaint.cpp index 04fac377a4..dc5888f832 100644 --- a/src/openrct2/ride/TrackPaint.cpp +++ b/src/openrct2/ride/TrackPaint.cpp @@ -987,12 +987,12 @@ constexpr CoordsXY defaultRightHelixUpSmallQuarterBoundLengths[4][3][2] = { constexpr CoordsXYZ defaultRightHelixUpSmallQuarterBoundOffsets[4][3][2] = { { - { { 0, 6, 0 }, { 0, 0, 0 } }, + { { 0, 6, 8 }, { 0, 0, 0 } }, { { 16, 16, 0 }, { 0, 0, 0 } }, - { { 6, 0, 0 }, { 0, 0, 0 } }, + { { 6, 0, 8 }, { 0, 0, 0 } }, }, { - { { 6, 0, 0 }, { 0, 0, 0 } }, + { { 6, 0, 8 }, { 0, 0, 0 } }, { { 16, 0, 0 }, { 0, 0, 0 } }, { { 0, 6, 0 }, { 0, 27, 0 } }, }, @@ -1002,7 +1002,7 @@ constexpr CoordsXYZ defaultRightHelixUpSmallQuarterBoundOffsets[4][3][2] = { { { 0, 0, 0 }, { 27, 0, 0 } }, }, { - { { 6, 0, 0 }, { 27, 0, 0 } }, + { { 6, 0, 8 }, { 27, 0, 0 } }, { { 0, 16, 0 }, { 0, 0, 0 } }, { { 0, 6, 0 }, { 0, 0, 0 } }, }, @@ -1052,14 +1052,14 @@ void track_paint_util_right_helix_up_small_quarter_tiles_paint( constexpr CoordsXYZ defaultRightHelixUpLargeQuarterBoundOffsets[4][5][2] = { { - { { 0, 6, 0 }, { 0, 0, 0 } }, + { { 0, 6, 8 }, { 0, 0, 0 } }, { { 0, 16, 0 }, { 0, 0, 0 } }, { { 0, 0, 0 }, { 0, 0, 0 } }, { { 16, 0, 0 }, { 0, 0, 0 } }, - { { 6, 0, 0 }, { 0, 0, 0 } }, + { { 6, 0, 8 }, { 0, 0, 0 } }, }, { - { { 6, 0, 0 }, { 0, 0, 0 } }, + { { 6, 0, 8 }, { 0, 0, 0 } }, { { 16, 0, 0 }, { 0, 0, 0 } }, { { 0, 16, 0 }, { 0, 0, 0 } }, { { 0, 0, 0 }, { 0, 0, 0 } }, @@ -1073,7 +1073,7 @@ constexpr CoordsXYZ defaultRightHelixUpLargeQuarterBoundOffsets[4][5][2] = { { { 0, 0, 0 }, { 27, 0, 0 } }, }, { - { { 6, 0, 0 }, { 27, 0, 0 } }, + { { 6, 0, 8 }, { 27, 0, 0 } }, { { 0, 0, 0 }, { 0, 0, 0 } }, { { 16, 0, 0 }, { 0, 0, 0 } }, { { 0, 16, 0 }, { 0, 0, 0 } }, diff --git a/src/openrct2/ride/coaster/AlpineCoaster.cpp b/src/openrct2/ride/coaster/AlpineCoaster.cpp index 24a42395b6..0dd82723b5 100644 --- a/src/openrct2/ride/coaster/AlpineCoaster.cpp +++ b/src/openrct2/ride/coaster/AlpineCoaster.cpp @@ -5481,7 +5481,7 @@ namespace AlpineRC case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | (SPR_G2_ALPINE_TRACK_SMALL_HELIX + 13), - { 0, 0, height }, { 20, 32, 3 }, { 6, 0, height }); + { 0, 0, height }, { 20, 32, 3 }, { 6, 0, height + 8 }); break; } metal_a_supports_paint_setup( @@ -5585,7 +5585,7 @@ namespace AlpineRC case 0: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | (SPR_G2_ALPINE_TRACK_SMALL_HELIX + 13), - { 0, 0, height }, { 32, 20, 3 }, { 0, 6, height }); + { 0, 0, height }, { 32, 20, 3 }, { 0, 6, height + 8 }); break; case 1: PaintAddImageAsParentRotated( @@ -5706,7 +5706,7 @@ namespace AlpineRC case 0: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | (SPR_G2_ALPINE_TRACK_SMALL_HELIX + 16), - { 0, 0, height }, { 20, 32, 3 }, { 6, 0, height }); + { 0, 0, height }, { 20, 32, 3 }, { 6, 0, height + 8 }); break; case 1: PaintAddImageAsParentRotated( @@ -5846,7 +5846,7 @@ namespace AlpineRC case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | (SPR_G2_ALPINE_TRACK_SMALL_HELIX + 16), - { 0, 0, height }, { 32, 20, 3 }, { 0, 6, height }); + { 0, 0, height }, { 32, 20, 3 }, { 0, 6, height + 8 }); break; } metal_a_supports_paint_setup( @@ -6058,7 +6058,7 @@ namespace AlpineRC case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | (SPR_G2_ALPINE_TRACK_LARGE_HELIX + 21), - { 0, 0, height }, { 20, 32, 3 }, { 6, 0, height }); + { 0, 0, height }, { 20, 32, 3 }, { 6, 0, height + 8 }); break; } metal_a_supports_paint_setup( @@ -6227,7 +6227,7 @@ namespace AlpineRC case 0: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | (SPR_G2_ALPINE_TRACK_LARGE_HELIX + 21), - { 0, 0, height }, { 32, 20, 3 }, { 0, 6, height }); + { 0, 0, height }, { 32, 20, 3 }, { 0, 6, height + 8 }); break; case 1: PaintAddImageAsParentRotated( @@ -6412,7 +6412,7 @@ namespace AlpineRC case 0: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | (SPR_G2_ALPINE_TRACK_LARGE_HELIX + 26), - { 0, 0, height }, { 20, 32, 3 }, { 6, 0, height }); + { 0, 0, height }, { 20, 32, 3 }, { 6, 0, height + 8 }); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 9, height, session.TrackColours[SCHEME_SUPPORTS]); break; @@ -6628,7 +6628,7 @@ namespace AlpineRC case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | (SPR_G2_ALPINE_TRACK_LARGE_HELIX + 26), - { 0, 0, height }, { 32, 20, 3 }, { 0, 6, height }); + { 0, 0, height }, { 32, 20, 3 }, { 0, 6, height + 8 }); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 9, height, session.TrackColours[SCHEME_SUPPORTS]); break; diff --git a/src/openrct2/ride/coaster/BobsleighCoaster.cpp b/src/openrct2/ride/coaster/BobsleighCoaster.cpp index c4299060ec..166db98609 100644 --- a/src/openrct2/ride/coaster/BobsleighCoaster.cpp +++ b/src/openrct2/ride/coaster/BobsleighCoaster.cpp @@ -2209,7 +2209,7 @@ static void bobsleigh_rc_track_left_half_banked_helix_up_small( case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 14884, { 0, 0, height }, { 32, 20, 2 }, - { 0, 6, height }); + { 0, 6, height + 8 }); PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 14896, { 0, 0, height }, { 32, 20, 0 }, { 0, 6, height + 27 }); @@ -2419,7 +2419,7 @@ static void bobsleigh_rc_track_left_half_banked_helix_up_small( case 0: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 14882, { 0, 0, height }, { 32, 20, 2 }, - { 0, 6, height }); + { 0, 6, height + 8 }); PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 14894, { 0, 0, height }, { 32, 20, 0 }, { 0, 6, height + 27 }); @@ -2564,7 +2564,7 @@ static void bobsleigh_rc_track_right_half_banked_helix_up_small( case 0: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 14860, { 0, 0, height }, { 20, 32, 2 }, - { 6, 0, height }); + { 6, 0, height + 8 }); PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 14872, { 0, 0, height }, { 20, 32, 0 }, { 6, 0, height + 27 }); @@ -2733,7 +2733,7 @@ static void bobsleigh_rc_track_right_half_banked_helix_up_small( case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 14860, { 0, 0, height }, { 32, 20, 2 }, - { 0, 6, height }); + { 0, 6, height + 8 }); PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 14872, { 0, 0, height }, { 32, 20, 0 }, { 0, 6, height + 27 }); @@ -2996,7 +2996,7 @@ static void bobsleigh_rc_track_left_half_banked_helix_up_large( case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 14946, { 0, 0, height }, { 20, 32, 2 }, - { 6, 0, height }); + { 6, 0, height + 8 }); PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 14966, { 0, 0, height }, { 20, 32, 0 }, { 6, 0, height + 27 }); @@ -3206,7 +3206,7 @@ static void bobsleigh_rc_track_left_half_banked_helix_up_large( case 0: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 14946, { 0, 0, height }, { 32, 20, 2 }, - { 0, 6, height }); + { 0, 6, height + 8 }); PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 14966, { 0, 0, height }, { 32, 20, 0 }, { 0, 6, height + 27 }); @@ -3440,7 +3440,7 @@ static void bobsleigh_rc_track_right_half_banked_helix_up_large( case 0: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 14910, { 0, 0, height }, { 20, 32, 2 }, - { 6, 0, height }); + { 6, 0, height + 8 }); PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 14930, { 0, 0, height }, { 20, 32, 0 }, { 6, 0, height + 27 }); @@ -3698,7 +3698,7 @@ static void bobsleigh_rc_track_right_half_banked_helix_up_large( case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 14910, { 0, 0, height }, { 32, 20, 2 }, - { 0, 6, height }); + { 0, 6, height + 8 }); PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 14930, { 0, 0, height }, { 32, 20, 0 }, { 0, 6, height + 27 }); diff --git a/src/openrct2/ride/coaster/BolligerMabillardTrack.hpp b/src/openrct2/ride/coaster/BolligerMabillardTrack.hpp index 9ab6383a5d..53799c9090 100644 --- a/src/openrct2/ride/coaster/BolligerMabillardTrack.hpp +++ b/src/openrct2/ride/coaster/BolligerMabillardTrack.hpp @@ -3172,7 +3172,7 @@ static void bolliger_mabillard_track_left_half_banked_helix_up_small( case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 17394, { 0, 0, height }, { 20, 32, 3 }, - { 6, 0, height }); + { 6, 0, height + 8 }); break; } metal_a_supports_paint_setup(session, supportType, 4, 6, height, session.TrackColours[SCHEME_SUPPORTS]); @@ -3269,7 +3269,7 @@ static void bolliger_mabillard_track_left_half_banked_helix_up_small( case 0: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 17394, { 0, 0, height }, { 32, 20, 3 }, - { 0, 6, height }); + { 0, 6, height + 8 }); break; case 1: PaintAddImageAsParentRotated( @@ -3384,7 +3384,7 @@ static void bolliger_mabillard_track_right_half_banked_helix_up_small( case 0: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 17382, { 0, 0, height }, { 20, 32, 3 }, - { 6, 0, height }); + { 6, 0, height + 8 }); break; case 1: PaintAddImageAsParentRotated( @@ -3517,7 +3517,7 @@ static void bolliger_mabillard_track_right_half_banked_helix_up_small( case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 17382, { 0, 0, height }, { 32, 20, 3 }, - { 0, 6, height }); + { 0, 6, height + 8 }); break; } metal_a_supports_paint_setup(session, supportType, 4, 6, height, session.TrackColours[SCHEME_SUPPORTS]); @@ -3727,7 +3727,7 @@ static void bolliger_mabillard_track_left_half_banked_helix_up_large( case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 17430, { 0, 0, height }, { 20, 32, 3 }, - { 6, 0, height }); + { 6, 0, height + 8 }); break; } metal_a_supports_paint_setup(session, supportType, 4, 7, height, session.TrackColours[SCHEME_SUPPORTS]); @@ -3889,7 +3889,7 @@ static void bolliger_mabillard_track_left_half_banked_helix_up_large( case 0: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 17430, { 0, 0, height }, { 32, 20, 3 }, - { 0, 6, height }); + { 0, 6, height + 8 }); break; case 1: PaintAddImageAsParentRotated( @@ -4069,7 +4069,7 @@ static void bolliger_mabillard_track_right_half_banked_helix_up_large( case 0: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 17412, { 0, 0, height }, { 20, 32, 3 }, - { 6, 0, height }); + { 6, 0, height + 8 }); metal_a_supports_paint_setup(session, supportType, 4, 7, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -4273,7 +4273,7 @@ static void bolliger_mabillard_track_right_half_banked_helix_up_large( case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 17412, { 0, 0, height }, { 32, 20, 3 }, - { 0, 6, height }); + { 0, 6, height + 8 }); metal_a_supports_paint_setup(session, supportType, 4, 7, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -12497,19 +12497,23 @@ static void bolliger_mabillard_track_left_twist_down_to_up( { case 0: PaintAddImageAsParentRotated( - session, direction, session.TrackColours[SCHEME_TRACK] | 27430, { 0, 6, height - 5 }, { 32, 20, 3 }); + session, direction, session.TrackColours[SCHEME_TRACK] | 27430, { 0, 6, height - 5 }, { 32, 20, 3 }, + { 0, 0, height + 8 }); break; case 1: PaintAddImageAsParentRotated( - session, direction, session.TrackColours[SCHEME_TRACK] | 27436, { 0, 6, height - 5 }, { 32, 20, 3 }); + session, direction, session.TrackColours[SCHEME_TRACK] | 27436, { 0, 6, height - 5 }, { 32, 20, 3 }, + { 0, 0, height + 8 }); break; case 2: PaintAddImageAsParentRotated( - session, direction, session.TrackColours[SCHEME_TRACK] | 27429, { 0, 6, height - 5 }, { 32, 20, 3 }); + session, direction, session.TrackColours[SCHEME_TRACK] | 27429, { 0, 6, height - 5 }, { 32, 20, 3 }, + { 0, 0, height + 8 }); break; case 3: PaintAddImageAsParentRotated( - session, direction, session.TrackColours[SCHEME_TRACK] | 27435, { 0, 6, height - 5 }, { 32, 20, 3 }); + session, direction, session.TrackColours[SCHEME_TRACK] | 27435, { 0, 6, height - 5 }, { 32, 20, 3 }, + { 0, 0, height + 8 }); break; } metal_a_supports_paint_setup(session, supportType, 4, 0, height - 5, session.TrackColours[SCHEME_SUPPORTS]); @@ -12604,19 +12608,23 @@ static void bolliger_mabillard_track_right_twist_down_to_up( { case 0: PaintAddImageAsParentRotated( - session, direction, session.TrackColours[SCHEME_TRACK] | 27442, { 0, 6, height - 5 }, { 32, 20, 3 }); + session, direction, session.TrackColours[SCHEME_TRACK] | 27442, { 0, 6, height - 5 }, { 32, 20, 3 }, + { 0, 0, height + 8 }); break; case 1: PaintAddImageAsParentRotated( - session, direction, session.TrackColours[SCHEME_TRACK] | 27448, { 0, 6, height - 5 }, { 32, 20, 3 }); + session, direction, session.TrackColours[SCHEME_TRACK] | 27448, { 0, 6, height - 5 }, { 32, 20, 3 }, + { 0, 0, height + 8 }); break; case 2: PaintAddImageAsParentRotated( - session, direction, session.TrackColours[SCHEME_TRACK] | 27441, { 0, 6, height - 5 }, { 32, 20, 3 }); + session, direction, session.TrackColours[SCHEME_TRACK] | 27441, { 0, 6, height - 5 }, { 32, 20, 3 }, + { 0, 0, height + 8 }); break; case 3: PaintAddImageAsParentRotated( - session, direction, session.TrackColours[SCHEME_TRACK] | 27447, { 0, 6, height - 5 }, { 32, 20, 3 }); + session, direction, session.TrackColours[SCHEME_TRACK] | 27447, { 0, 6, height - 5 }, { 32, 20, 3 }, + { 0, 0, height + 8 }); break; } metal_a_supports_paint_setup(session, supportType, 4, 0, height - 5, session.TrackColours[SCHEME_SUPPORTS]); @@ -12771,19 +12779,23 @@ static void bolliger_mabillard_track_left_twist_up_to_down( { case 0: PaintAddImageAsParentRotated( - session, direction, session.TrackColours[SCHEME_TRACK] | 27429, { 0, 6, height - 5 }, { 32, 20, 3 }); + session, direction, session.TrackColours[SCHEME_TRACK] | 27429, { 0, 6, height - 5 }, { 32, 20, 3 }, + { 0, 0, height + 8 }); break; case 1: PaintAddImageAsParentRotated( - session, direction, session.TrackColours[SCHEME_TRACK] | 27435, { 0, 6, height - 5 }, { 32, 20, 3 }); + session, direction, session.TrackColours[SCHEME_TRACK] | 27435, { 0, 6, height - 5 }, { 32, 20, 3 }, + { 0, 0, height + 8 }); break; case 2: PaintAddImageAsParentRotated( - session, direction, session.TrackColours[SCHEME_TRACK] | 27430, { 0, 6, height - 5 }, { 32, 20, 3 }); + session, direction, session.TrackColours[SCHEME_TRACK] | 27430, { 0, 6, height - 5 }, { 32, 20, 3 }, + { 0, 0, height + 8 }); break; case 3: PaintAddImageAsParentRotated( - session, direction, session.TrackColours[SCHEME_TRACK] | 27436, { 0, 6, height - 5 }, { 32, 20, 3 }); + session, direction, session.TrackColours[SCHEME_TRACK] | 27436, { 0, 6, height - 5 }, { 32, 20, 3 }, + { 0, 0, height + 8 }); break; } metal_a_supports_paint_setup(session, supportType, 4, 0, height - 5, session.TrackColours[SCHEME_SUPPORTS]); @@ -12878,19 +12890,23 @@ static void bolliger_mabillard_track_right_twist_up_to_down( { case 0: PaintAddImageAsParentRotated( - session, direction, session.TrackColours[SCHEME_TRACK] | 27441, { 0, 6, height - 5 }, { 32, 20, 3 }); + session, direction, session.TrackColours[SCHEME_TRACK] | 27441, { 0, 6, height - 5 }, { 32, 20, 3 }, + { 0, 0, height + 8 }); break; case 1: PaintAddImageAsParentRotated( - session, direction, session.TrackColours[SCHEME_TRACK] | 27447, { 0, 6, height - 5 }, { 32, 20, 3 }); + session, direction, session.TrackColours[SCHEME_TRACK] | 27447, { 0, 6, height - 5 }, { 32, 20, 3 }, + { 0, 0, height + 8 }); break; case 2: PaintAddImageAsParentRotated( - session, direction, session.TrackColours[SCHEME_TRACK] | 27442, { 0, 6, height - 5 }, { 32, 20, 3 }); + session, direction, session.TrackColours[SCHEME_TRACK] | 27442, { 0, 6, height - 5 }, { 32, 20, 3 }, + { 0, 0, height + 8 }); break; case 3: PaintAddImageAsParentRotated( - session, direction, session.TrackColours[SCHEME_TRACK] | 27448, { 0, 6, height - 5 }, { 32, 20, 3 }); + session, direction, session.TrackColours[SCHEME_TRACK] | 27448, { 0, 6, height - 5 }, { 32, 20, 3 }, + { 0, 0, height + 8 }); break; } metal_a_supports_paint_setup(session, supportType, 4, 0, height - 5, session.TrackColours[SCHEME_SUPPORTS]); diff --git a/src/openrct2/ride/coaster/CorkscrewRollerCoaster.cpp b/src/openrct2/ride/coaster/CorkscrewRollerCoaster.cpp index 6c1901cb94..bec939fdca 100644 --- a/src/openrct2/ride/coaster/CorkscrewRollerCoaster.cpp +++ b/src/openrct2/ride/coaster/CorkscrewRollerCoaster.cpp @@ -3580,7 +3580,7 @@ static void corkscrew_rc_track_left_half_banked_helix_up_small( case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 16476, { 0, 0, height }, { 20, 32, 3 }, - { 6, 0, height }); + { 6, 0, height + 8 }); break; } metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 4, 6, height, session.TrackColours[SCHEME_SUPPORTS]); @@ -3677,7 +3677,7 @@ static void corkscrew_rc_track_left_half_banked_helix_up_small( case 0: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 16476, { 0, 0, height }, { 32, 20, 3 }, - { 0, 6, height }); + { 0, 6, height + 8 }); break; case 1: PaintAddImageAsParentRotated( @@ -3792,7 +3792,7 @@ static void corkscrew_rc_track_right_half_banked_helix_up_small( case 0: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 16464, { 0, 0, height }, { 20, 32, 3 }, - { 6, 0, height }); + { 6, 0, height + 8 }); break; case 1: PaintAddImageAsParentRotated( @@ -3925,7 +3925,7 @@ static void corkscrew_rc_track_right_half_banked_helix_up_small( case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 16464, { 0, 0, height }, { 32, 20, 3 }, - { 0, 6, height }); + { 0, 6, height + 8 }); break; } metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 4, 6, height, session.TrackColours[SCHEME_SUPPORTS]); @@ -4134,7 +4134,7 @@ static void corkscrew_rc_track_left_half_banked_helix_up_large( case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 16440, { 0, 0, height }, { 20, 32, 3 }, - { 6, 0, height }); + { 6, 0, height + 8 }); break; } metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 4, 7, height, session.TrackColours[SCHEME_SUPPORTS]); @@ -4296,7 +4296,7 @@ static void corkscrew_rc_track_left_half_banked_helix_up_large( case 0: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 16440, { 0, 0, height }, { 32, 20, 3 }, - { 0, 6, height }); + { 0, 6, height + 8 }); break; case 1: PaintAddImageAsParentRotated( @@ -4476,7 +4476,7 @@ static void corkscrew_rc_track_right_half_banked_helix_up_large( case 0: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 16422, { 0, 0, height }, { 20, 32, 3 }, - { 6, 0, height }); + { 6, 0, height + 8 }); break; case 1: PaintAddImageAsParentRotated( @@ -4674,7 +4674,7 @@ static void corkscrew_rc_track_right_half_banked_helix_up_large( case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 16422, { 0, 0, height }, { 32, 20, 3 }, - { 0, 6, height }); + { 0, 6, height + 8 }); break; } metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 4, 7, height, session.TrackColours[SCHEME_SUPPORTS]); diff --git a/src/openrct2/ride/coaster/FlyingRollerCoaster.cpp b/src/openrct2/ride/coaster/FlyingRollerCoaster.cpp index 6b749912cb..44b29c44fe 100644 --- a/src/openrct2/ride/coaster/FlyingRollerCoaster.cpp +++ b/src/openrct2/ride/coaster/FlyingRollerCoaster.cpp @@ -5139,7 +5139,7 @@ static void flying_rc_track_left_half_banked_helix_up_small( case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 17394, { 0, 0, height }, { 20, 32, 3 }, - { 6, 0, height }); + { 6, 0, height + 8 }); break; } metal_a_supports_paint_setup( @@ -5238,7 +5238,7 @@ static void flying_rc_track_left_half_banked_helix_up_small( case 0: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 17394, { 0, 0, height }, { 32, 20, 3 }, - { 0, 6, height }); + { 0, 6, height + 8 }); break; case 1: PaintAddImageAsParentRotated( @@ -5355,7 +5355,7 @@ static void flying_rc_track_right_half_banked_helix_up_small( case 0: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 17382, { 0, 0, height }, { 20, 32, 3 }, - { 6, 0, height }); + { 6, 0, height + 8 }); break; case 1: PaintAddImageAsParentRotated( @@ -5490,7 +5490,7 @@ static void flying_rc_track_right_half_banked_helix_up_small( case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 17382, { 0, 0, height }, { 32, 20, 3 }, - { 0, 6, height }); + { 0, 6, height + 8 }); break; } metal_a_supports_paint_setup( @@ -5700,7 +5700,7 @@ static void flying_rc_track_left_half_banked_helix_up_large( case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 17430, { 0, 0, height }, { 20, 32, 3 }, - { 6, 0, height }); + { 6, 0, height + 8 }); break; } metal_a_supports_paint_setup( @@ -5864,7 +5864,7 @@ static void flying_rc_track_left_half_banked_helix_up_large( case 0: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 17430, { 0, 0, height }, { 32, 20, 3 }, - { 0, 6, height }); + { 0, 6, height + 8 }); break; case 1: PaintAddImageAsParentRotated( @@ -6046,7 +6046,7 @@ static void flying_rc_track_right_half_banked_helix_up_large( case 0: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 17412, { 0, 0, height }, { 20, 32, 3 }, - { 6, 0, height }); + { 6, 0, height + 8 }); break; case 1: PaintAddImageAsParentRotated( @@ -6246,7 +6246,7 @@ static void flying_rc_track_right_half_banked_helix_up_large( case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 17412, { 0, 0, height }, { 32, 20, 3 }, - { 0, 6, height }); + { 0, 6, height + 8 }); break; } metal_a_supports_paint_setup( @@ -14593,19 +14593,23 @@ static void flying_rc_track_left_flyer_twist_up( { case 0: PaintAddImageAsParentRotated( - session, direction, session.TrackColours[SCHEME_TRACK] | 27430, { 0, 6, height - 5 }, { 32, 20, 3 }); + session, direction, session.TrackColours[SCHEME_TRACK] | 27430, { 0, 6, height - 5 }, { 32, 20, 3 }, + { 0, 6, height + 8 }); break; case 1: PaintAddImageAsParentRotated( - session, direction, session.TrackColours[SCHEME_TRACK] | 27436, { 0, 6, height - 5 }, { 32, 20, 3 }); + session, direction, session.TrackColours[SCHEME_TRACK] | 27436, { 0, 6, height - 5 }, { 32, 20, 3 }, + { 0, 6, height + 8 }); break; case 2: PaintAddImageAsParentRotated( - session, direction, session.TrackColours[SCHEME_TRACK] | 27429, { 0, 6, height - 5 }, { 32, 20, 3 }); + session, direction, session.TrackColours[SCHEME_TRACK] | 27429, { 0, 6, height - 5 }, { 32, 20, 3 }, + { 0, 6, height + 8 }); break; case 3: PaintAddImageAsParentRotated( - session, direction, session.TrackColours[SCHEME_TRACK] | 27435, { 0, 6, height - 5 }, { 32, 20, 3 }); + session, direction, session.TrackColours[SCHEME_TRACK] | 27435, { 0, 6, height - 5 }, { 32, 20, 3 }, + { 0, 6, height + 8 }); break; } metal_a_supports_paint_setup( @@ -14705,19 +14709,23 @@ static void flying_rc_track_right_flyer_twist_up( { case 0: PaintAddImageAsParentRotated( - session, direction, session.TrackColours[SCHEME_TRACK] | 27442, { 0, 6, height - 5 }, { 32, 20, 3 }); + session, direction, session.TrackColours[SCHEME_TRACK] | 27442, { 0, 6, height - 5 }, { 32, 20, 3 }, + { 0, 6, height + 8 }); break; case 1: PaintAddImageAsParentRotated( - session, direction, session.TrackColours[SCHEME_TRACK] | 27448, { 0, 6, height - 5 }, { 32, 20, 3 }); + session, direction, session.TrackColours[SCHEME_TRACK] | 27448, { 0, 6, height - 5 }, { 32, 20, 3 }, + { 0, 6, height + 8 }); break; case 2: PaintAddImageAsParentRotated( - session, direction, session.TrackColours[SCHEME_TRACK] | 27441, { 0, 6, height - 5 }, { 32, 20, 3 }); + session, direction, session.TrackColours[SCHEME_TRACK] | 27441, { 0, 6, height - 5 }, { 32, 20, 3 }, + { 0, 6, height + 8 }); break; case 3: PaintAddImageAsParentRotated( - session, direction, session.TrackColours[SCHEME_TRACK] | 27447, { 0, 6, height - 5 }, { 32, 20, 3 }); + session, direction, session.TrackColours[SCHEME_TRACK] | 27447, { 0, 6, height - 5 }, { 32, 20, 3 }, + { 0, 6, height + 8 }); break; } metal_a_supports_paint_setup( @@ -14879,19 +14887,23 @@ static void flying_rc_track_left_flyer_twist_down( { case 0: PaintAddImageAsParentRotated( - session, direction, session.TrackColours[SCHEME_TRACK] | 27429, { 0, 6, height - 5 }, { 32, 20, 3 }); + session, direction, session.TrackColours[SCHEME_TRACK] | 27429, { 0, 6, height - 5 }, { 32, 20, 3 }, + { 0, 6, height + 8 }); break; case 1: PaintAddImageAsParentRotated( - session, direction, session.TrackColours[SCHEME_TRACK] | 27435, { 0, 6, height - 5 }, { 32, 20, 3 }); + session, direction, session.TrackColours[SCHEME_TRACK] | 27435, { 0, 6, height - 5 }, { 32, 20, 3 }, + { 0, 6, height + 8 }); break; case 2: PaintAddImageAsParentRotated( - session, direction, session.TrackColours[SCHEME_TRACK] | 27430, { 0, 6, height - 5 }, { 32, 20, 3 }); + session, direction, session.TrackColours[SCHEME_TRACK] | 27430, { 0, 6, height - 5 }, { 32, 20, 3 }, + { 0, 6, height + 8 }); break; case 3: PaintAddImageAsParentRotated( - session, direction, session.TrackColours[SCHEME_TRACK] | 27436, { 0, 6, height - 5 }, { 32, 20, 3 }); + session, direction, session.TrackColours[SCHEME_TRACK] | 27436, { 0, 6, height - 5 }, { 32, 20, 3 }, + { 0, 6, height + 8 }); break; } metal_a_supports_paint_setup( @@ -14989,19 +15001,23 @@ static void flying_rc_track_right_flyer_twist_down( { case 0: PaintAddImageAsParentRotated( - session, direction, session.TrackColours[SCHEME_TRACK] | 27441, { 0, 6, height - 5 }, { 32, 20, 3 }); + session, direction, session.TrackColours[SCHEME_TRACK] | 27441, { 0, 6, height - 5 }, { 32, 20, 3 }, + { 0, 6, height + 8 }); break; case 1: PaintAddImageAsParentRotated( - session, direction, session.TrackColours[SCHEME_TRACK] | 27447, { 0, 6, height - 5 }, { 32, 20, 3 }); + session, direction, session.TrackColours[SCHEME_TRACK] | 27447, { 0, 6, height - 5 }, { 32, 20, 3 }, + { 0, 6, height + 8 }); break; case 2: PaintAddImageAsParentRotated( - session, direction, session.TrackColours[SCHEME_TRACK] | 27442, { 0, 6, height - 5 }, { 32, 20, 3 }); + session, direction, session.TrackColours[SCHEME_TRACK] | 27442, { 0, 6, height - 5 }, { 32, 20, 3 }, + { 0, 6, height + 8 }); break; case 3: PaintAddImageAsParentRotated( - session, direction, session.TrackColours[SCHEME_TRACK] | 27448, { 0, 6, height - 5 }, { 32, 20, 3 }); + session, direction, session.TrackColours[SCHEME_TRACK] | 27448, { 0, 6, height - 5 }, { 32, 20, 3 }, + { 0, 6, height + 8 }); break; } metal_a_supports_paint_setup( diff --git a/src/openrct2/ride/coaster/GigaCoaster.cpp b/src/openrct2/ride/coaster/GigaCoaster.cpp index 8d9303fe54..9a6ba59764 100644 --- a/src/openrct2/ride/coaster/GigaCoaster.cpp +++ b/src/openrct2/ride/coaster/GigaCoaster.cpp @@ -2809,7 +2809,7 @@ static void giga_rc_track_left_half_banked_helix_up_small( case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 18324, { 0, 0, height }, { 20, 32, 3 }, - { 6, 0, height }); + { 6, 0, height + 8 }); break; } metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 4, 6, height, session.TrackColours[SCHEME_SUPPORTS]); @@ -2906,7 +2906,7 @@ static void giga_rc_track_left_half_banked_helix_up_small( case 0: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 18324, { 0, 0, height }, { 32, 20, 3 }, - { 0, 6, height }); + { 0, 6, height + 8 }); break; case 1: PaintAddImageAsParentRotated( @@ -3021,7 +3021,7 @@ static void giga_rc_track_right_half_banked_helix_up_small( case 0: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 18312, { 0, 0, height }, { 20, 32, 3 }, - { 6, 0, height }); + { 6, 0, height + 8 }); break; case 1: PaintAddImageAsParentRotated( @@ -3154,7 +3154,7 @@ static void giga_rc_track_right_half_banked_helix_up_small( case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 18312, { 0, 0, height }, { 32, 20, 3 }, - { 0, 6, height }); + { 0, 6, height + 8 }); break; } metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 4, 6, height, session.TrackColours[SCHEME_SUPPORTS]); @@ -3362,7 +3362,7 @@ static void giga_rc_track_left_half_banked_helix_up_large( case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 18360, { 0, 0, height }, { 20, 32, 3 }, - { 6, 0, height }); + { 6, 0, height + 8 }); break; } metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 4, 7, height, session.TrackColours[SCHEME_SUPPORTS]); @@ -3524,7 +3524,7 @@ static void giga_rc_track_left_half_banked_helix_up_large( case 0: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 18360, { 0, 0, height }, { 32, 20, 3 }, - { 0, 6, height }); + { 0, 6, height + 8 }); break; case 1: PaintAddImageAsParentRotated( @@ -3704,7 +3704,7 @@ static void giga_rc_track_right_half_banked_helix_up_large( case 0: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 18342, { 0, 0, height }, { 20, 32, 3 }, - { 6, 0, height }); + { 6, 0, height + 8 }); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES, 4, 7, height, session.TrackColours[SCHEME_SUPPORTS]); break; @@ -3915,7 +3915,7 @@ static void giga_rc_track_right_half_banked_helix_up_large( case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 18342, { 0, 0, height }, { 32, 20, 3 }, - { 0, 6, height }); + { 0, 6, height + 8 }); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES, 4, 7, height, session.TrackColours[SCHEME_SUPPORTS]); break; diff --git a/src/openrct2/ride/coaster/HybridCoaster.cpp b/src/openrct2/ride/coaster/HybridCoaster.cpp index 15f79c377a..9b31e8e5aa 100644 --- a/src/openrct2/ride/coaster/HybridCoaster.cpp +++ b/src/openrct2/ride/coaster/HybridCoaster.cpp @@ -8152,7 +8152,7 @@ namespace HybridRC case 3: PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SMALL_HELIX + 15), - { 0, 0, height }, { 32, 32, 3 }, { 6, 0, height }); + { 0, 0, height }, { 32, 32, 3 }, { 6, 0, height + 8 }); wooden_a_supports_paint_setup(session, 0, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -8271,7 +8271,7 @@ namespace HybridRC case 0: PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SMALL_HELIX + 15), - { 0, 0, height }, { 32, 20, 3 }, { 0, 6, height }); + { 0, 0, height }, { 32, 20, 3 }, { 0, 6, height + 8 }); wooden_a_supports_paint_setup(session, 0, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -8413,7 +8413,7 @@ namespace HybridRC case 0: PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SMALL_HELIX + 18), - { 0, 0, height }, { 32, 32, 3 }, { 6, 0, height }); + { 0, 0, height }, { 32, 32, 3 }, { 6, 0, height + 8 }); wooden_a_supports_paint_setup(session, 1, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -8580,7 +8580,7 @@ namespace HybridRC case 3: PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_SMALL_HELIX + 18), - { 0, 0, height }, { 32, 20, 3 }, { 0, 6, height }); + { 0, 0, height }, { 32, 20, 3 }, { 0, 6, height + 8 }); wooden_a_supports_paint_setup(session, 1, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -8816,7 +8816,7 @@ namespace HybridRC case 3: PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 24), - { 0, 0, height }, { 28, 32, 3 }, { 6, 0, height }); + { 0, 0, height }, { 28, 32, 3 }, { 6, 0, height + 8 }); wooden_a_supports_paint_setup(session, 0, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -9003,7 +9003,7 @@ namespace HybridRC case 0: PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 24), - { 0, 0, height }, { 32, 20, 3 }, { 0, 6, height }); + { 0, 0, height }, { 32, 20, 3 }, { 0, 6, height + 8 }); wooden_a_supports_paint_setup(session, 0, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -9213,7 +9213,7 @@ namespace HybridRC case 0: PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 29), - { 0, 0, height }, { 20, 32, 3 }, { 6, 0, height }); + { 0, 0, height }, { 20, 32, 3 }, { 6, 0, height + 8 }); wooden_a_supports_paint_setup(session, 1, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -9448,7 +9448,7 @@ namespace HybridRC case 3: PaintAddImageAsParentRotated( session, direction, GetTrackColour(session) | (SPR_G2_HYBRID_TRACK_LARGE_HELIX + 29), - { 0, 0, height }, { 32, 20, 3 }, { 0, 6, height }); + { 0, 0, height }, { 32, 20, 3 }, { 0, 6, height + 8 }); wooden_a_supports_paint_setup(session, 1, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; } diff --git a/src/openrct2/ride/coaster/LayDownRollerCoaster.cpp b/src/openrct2/ride/coaster/LayDownRollerCoaster.cpp index 8ab197a9fe..6ba6c21bb8 100644 --- a/src/openrct2/ride/coaster/LayDownRollerCoaster.cpp +++ b/src/openrct2/ride/coaster/LayDownRollerCoaster.cpp @@ -5782,7 +5782,7 @@ static void lay_down_rc_track_left_half_banked_helix_up_small( case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 16476, { 0, 0, height }, { 20, 32, 3 }, - { 6, 0, height }); + { 6, 0, height + 8 }); break; } metal_a_supports_paint_setup( @@ -5881,7 +5881,7 @@ static void lay_down_rc_track_left_half_banked_helix_up_small( case 0: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 16476, { 0, 0, height }, { 32, 20, 3 }, - { 0, 6, height }); + { 0, 6, height + 8 }); break; case 1: PaintAddImageAsParentRotated( @@ -5998,7 +5998,7 @@ static void lay_down_rc_track_right_half_banked_helix_up_small( case 0: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 16464, { 0, 0, height }, { 20, 32, 3 }, - { 6, 0, height }); + { 6, 0, height + 8 }); break; case 1: PaintAddImageAsParentRotated( @@ -6133,7 +6133,7 @@ static void lay_down_rc_track_right_half_banked_helix_up_small( case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 16464, { 0, 0, height }, { 32, 20, 3 }, - { 0, 6, height }); + { 0, 6, height + 8 }); break; } metal_a_supports_paint_setup( @@ -6343,7 +6343,7 @@ static void lay_down_rc_track_left_half_banked_helix_up_large( case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 16440, { 0, 0, height }, { 20, 32, 3 }, - { 6, 0, height }); + { 6, 0, height + 8 }); break; } metal_a_supports_paint_setup( @@ -6507,7 +6507,7 @@ static void lay_down_rc_track_left_half_banked_helix_up_large( case 0: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 16440, { 0, 0, height }, { 32, 20, 3 }, - { 0, 6, height }); + { 0, 6, height + 8 }); break; case 1: PaintAddImageAsParentRotated( @@ -6689,7 +6689,7 @@ static void lay_down_rc_track_right_half_banked_helix_up_large( case 0: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 16422, { 0, 0, height }, { 20, 32, 3 }, - { 6, 0, height }); + { 6, 0, height + 8 }); break; case 1: PaintAddImageAsParentRotated( @@ -6889,7 +6889,7 @@ static void lay_down_rc_track_right_half_banked_helix_up_large( case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 16422, { 0, 0, height }, { 32, 20, 3 }, - { 0, 6, height }); + { 0, 6, height + 8 }); break; } metal_a_supports_paint_setup( diff --git a/src/openrct2/ride/coaster/LoopingRollerCoaster.cpp b/src/openrct2/ride/coaster/LoopingRollerCoaster.cpp index 58e1e49481..804a3dc816 100644 --- a/src/openrct2/ride/coaster/LoopingRollerCoaster.cpp +++ b/src/openrct2/ride/coaster/LoopingRollerCoaster.cpp @@ -3221,7 +3221,7 @@ static void looping_rc_track_left_half_banked_helix_up_small( case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 15160, { 0, 0, height }, { 20, 32, 3 }, - { 6, 0, height }); + { 6, 0, height + 8 }); break; } metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 4, 6, height, session.TrackColours[SCHEME_SUPPORTS]); @@ -3318,7 +3318,7 @@ static void looping_rc_track_left_half_banked_helix_up_small( case 0: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 15160, { 0, 0, height }, { 32, 20, 3 }, - { 0, 6, height }); + { 0, 6, height + 8 }); break; case 1: PaintAddImageAsParentRotated( @@ -3433,7 +3433,7 @@ static void looping_rc_track_right_half_banked_helix_up_small( case 0: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 15148, { 0, 0, height }, { 20, 32, 3 }, - { 6, 0, height }); + { 6, 0, height + 8 }); break; case 1: PaintAddImageAsParentRotated( @@ -3566,7 +3566,7 @@ static void looping_rc_track_right_half_banked_helix_up_small( case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 15148, { 0, 0, height }, { 32, 20, 3 }, - { 0, 6, height }); + { 0, 6, height + 8 }); break; } metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 4, 6, height, session.TrackColours[SCHEME_SUPPORTS]); @@ -3774,7 +3774,7 @@ static void looping_rc_track_left_half_banked_helix_up_large( case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 15238, { 0, 0, height }, { 20, 32, 3 }, - { 6, 0, height }); + { 6, 0, height + 8 }); break; } metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 4, 7, height, session.TrackColours[SCHEME_SUPPORTS]); @@ -3936,7 +3936,7 @@ static void looping_rc_track_left_half_banked_helix_up_large( case 0: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 15238, { 0, 0, height }, { 32, 20, 3 }, - { 0, 6, height }); + { 0, 6, height + 8 }); break; case 1: PaintAddImageAsParentRotated( @@ -4116,7 +4116,7 @@ static void looping_rc_track_right_half_banked_helix_up_large( case 0: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 15220, { 0, 0, height }, { 20, 32, 3 }, - { 6, 0, height }); + { 6, 0, height + 8 }); break; case 1: PaintAddImageAsParentRotated( @@ -4314,7 +4314,7 @@ static void looping_rc_track_right_half_banked_helix_up_large( case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 15220, { 0, 0, height }, { 32, 20, 3 }, - { 0, 6, height }); + { 0, 6, height + 8 }); break; } metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 4, 7, height, session.TrackColours[SCHEME_SUPPORTS]); diff --git a/src/openrct2/ride/coaster/MineRide.cpp b/src/openrct2/ride/coaster/MineRide.cpp index 9f3cfdd2fd..54dfaef9aa 100644 --- a/src/openrct2/ride/coaster/MineRide.cpp +++ b/src/openrct2/ride/coaster/MineRide.cpp @@ -1985,7 +1985,7 @@ static void mine_ride_track_left_half_banked_helix_up_small( case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 19490, { 0, 0, height }, { 20, 32, 3 }, - { 6, 0, height }); + { 6, 0, height + 8 }); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 12, height, session.TrackColours[SCHEME_SUPPORTS]); break; @@ -2090,7 +2090,7 @@ static void mine_ride_track_left_half_banked_helix_up_small( case 0: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 19490, { 0, 0, height }, { 32, 20, 3 }, - { 0, 6, height }); + { 0, 6, height + 8 }); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 12, height, session.TrackColours[SCHEME_SUPPORTS]); break; @@ -2219,7 +2219,7 @@ static void mine_ride_track_right_half_banked_helix_up_small( case 0: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 19478, { 0, 0, height }, { 20, 32, 3 }, - { 6, 0, height }); + { 6, 0, height + 8 }); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 12, height, session.TrackColours[SCHEME_SUPPORTS]); break; @@ -2372,7 +2372,7 @@ static void mine_ride_track_right_half_banked_helix_up_small( case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 19478, { 0, 0, height }, { 32, 20, 3 }, - { 0, 6, height }); + { 0, 6, height + 8 }); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 12, height, session.TrackColours[SCHEME_SUPPORTS]); break; @@ -2594,7 +2594,7 @@ static void mine_ride_track_left_half_banked_helix_up_large( case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 19526, { 0, 0, height }, { 20, 32, 3 }, - { 6, 0, height }); + { 6, 0, height + 8 }); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 13, height, session.TrackColours[SCHEME_SUPPORTS]); break; @@ -2764,7 +2764,7 @@ static void mine_ride_track_left_half_banked_helix_up_large( case 0: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 19526, { 0, 0, height }, { 32, 20, 3 }, - { 0, 6, height }); + { 0, 6, height + 8 }); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 13, height, session.TrackColours[SCHEME_SUPPORTS]); break; @@ -2958,7 +2958,7 @@ static void mine_ride_track_right_half_banked_helix_up_large( case 0: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 19508, { 0, 0, height }, { 20, 32, 3 }, - { 6, 0, height }); + { 6, 0, height + 8 }); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 13, height, session.TrackColours[SCHEME_SUPPORTS]); break; @@ -3176,7 +3176,7 @@ static void mine_ride_track_right_half_banked_helix_up_large( case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 19508, { 0, 0, height }, { 32, 20, 3 }, - { 0, 6, height }); + { 0, 6, height + 8 }); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 13, height, session.TrackColours[SCHEME_SUPPORTS]); break; diff --git a/src/openrct2/ride/coaster/MineTrainCoaster.cpp b/src/openrct2/ride/coaster/MineTrainCoaster.cpp index 998dddd54e..f400b65ca1 100644 --- a/src/openrct2/ride/coaster/MineTrainCoaster.cpp +++ b/src/openrct2/ride/coaster/MineTrainCoaster.cpp @@ -2762,7 +2762,7 @@ static void mine_train_rc_track_left_half_banked_helix_up_small( case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 20300, { 0, 0, height }, { 20, 32, 1 }, - { 6, 0, height }); + { 6, 0, height + 8 }); wooden_a_supports_paint_setup(session, 10, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -2881,7 +2881,7 @@ static void mine_train_rc_track_left_half_banked_helix_up_small( case 0: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 20300, { 0, 0, height }, { 32, 20, 1 }, - { 0, 6, height }); + { 0, 6, height + 8 }); wooden_a_supports_paint_setup(session, 10, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -3021,7 +3021,7 @@ static void mine_train_rc_track_right_half_banked_helix_up_small( case 0: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 20288, { 0, 0, height }, { 20, 32, 1 }, - { 6, 0, height }); + { 6, 0, height + 8 }); wooden_a_supports_paint_setup(session, 10, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -3182,7 +3182,7 @@ static void mine_train_rc_track_right_half_banked_helix_up_small( case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 20288, { 0, 0, height }, { 32, 20, 1 }, - { 0, 6, height }); + { 0, 6, height + 8 }); wooden_a_supports_paint_setup(session, 10, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -3426,7 +3426,7 @@ static void mine_train_rc_track_left_half_banked_helix_up_large( case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 20336, { 0, 0, height }, { 20, 32, 1 }, - { 6, 0, height }); + { 6, 0, height + 8 }); wooden_a_supports_paint_setup(session, 6, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -3619,7 +3619,7 @@ static void mine_train_rc_track_left_half_banked_helix_up_large( case 0: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 20336, { 0, 0, height }, { 32, 20, 1 }, - { 0, 6, height }); + { 0, 6, height + 8 }); wooden_a_supports_paint_setup(session, 6, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -3827,7 +3827,7 @@ static void mine_train_rc_track_right_half_banked_helix_up_large( case 0: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 20318, { 0, 0, height }, { 20, 32, 1 }, - { 6, 0, height }); + { 6, 0, height + 8 }); wooden_a_supports_paint_setup(session, 7, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -4056,7 +4056,7 @@ static void mine_train_rc_track_right_half_banked_helix_up_large( case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 20318, { 0, 0, height }, { 32, 20, 1 }, - { 0, 6, height }); + { 0, 6, height + 8 }); wooden_a_supports_paint_setup(session, 7, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -4524,7 +4524,7 @@ static void mine_train_rc_track_left_eighth_bank_to_diag( case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 20496, { 0, 0, height }, { 32, 32, 1 }, - { 0, 0, height }); + { 0, 27, height }); wooden_a_supports_paint_setup(session, 7, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; } diff --git a/src/openrct2/ride/coaster/MiniRollerCoaster.cpp b/src/openrct2/ride/coaster/MiniRollerCoaster.cpp index 07c9731589..4ec7e3885b 100644 --- a/src/openrct2/ride/coaster/MiniRollerCoaster.cpp +++ b/src/openrct2/ride/coaster/MiniRollerCoaster.cpp @@ -3019,7 +3019,7 @@ static void mini_rc_track_left_half_banked_helix_up_small( case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 18986, { 0, 0, height }, { 20, 32, 3 }, - { 6, 0, height }); + { 6, 0, height + 8 }); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 12, height, session.TrackColours[SCHEME_SUPPORTS]); break; @@ -3124,7 +3124,7 @@ static void mini_rc_track_left_half_banked_helix_up_small( case 0: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 18986, { 0, 0, height }, { 32, 20, 3 }, - { 0, 6, height }); + { 0, 6, height + 8 }); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 12, height, session.TrackColours[SCHEME_SUPPORTS]); break; @@ -3253,7 +3253,7 @@ static void mini_rc_track_right_half_banked_helix_up_small( case 0: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 18974, { 0, 0, height }, { 20, 32, 3 }, - { 6, 0, height }); + { 6, 0, height + 8 }); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 12, height, session.TrackColours[SCHEME_SUPPORTS]); break; @@ -3406,7 +3406,7 @@ static void mini_rc_track_right_half_banked_helix_up_small( case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 18974, { 0, 0, height }, { 32, 20, 3 }, - { 0, 6, height }); + { 0, 6, height + 8 }); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 12, height, session.TrackColours[SCHEME_SUPPORTS]); break; @@ -3628,7 +3628,7 @@ static void mini_rc_track_left_half_banked_helix_up_large( case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 19022, { 0, 0, height }, { 20, 32, 3 }, - { 6, 0, height }); + { 6, 0, height + 8 }); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 13, height, session.TrackColours[SCHEME_SUPPORTS]); break; @@ -3798,7 +3798,7 @@ static void mini_rc_track_left_half_banked_helix_up_large( case 0: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 19022, { 0, 0, height }, { 32, 20, 3 }, - { 0, 6, height }); + { 0, 6, height + 8 }); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK, 4, 13, height, session.TrackColours[SCHEME_SUPPORTS]); break; @@ -3992,7 +3992,7 @@ static void mini_rc_track_right_half_banked_helix_up_large( case 0: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 19004, { 0, 0, height }, { 20, 32, 3 }, - { 6, 0, height }); + { 6, 0, height + 8 }); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 13, height, session.TrackColours[SCHEME_SUPPORTS]); break; @@ -4210,7 +4210,7 @@ static void mini_rc_track_right_half_banked_helix_up_large( case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 19004, { 0, 0, height }, { 32, 20, 3 }, - { 0, 6, height }); + { 0, 6, height + 8 }); metal_a_supports_paint_setup( session, METAL_SUPPORTS_FORK_ALT, 4, 13, height, session.TrackColours[SCHEME_SUPPORTS]); break; diff --git a/src/openrct2/ride/coaster/MultiDimensionRollerCoaster.cpp b/src/openrct2/ride/coaster/MultiDimensionRollerCoaster.cpp index 9970e806f1..b946b52289 100644 --- a/src/openrct2/ride/coaster/MultiDimensionRollerCoaster.cpp +++ b/src/openrct2/ride/coaster/MultiDimensionRollerCoaster.cpp @@ -3875,7 +3875,7 @@ static void multi_dimension_rc_track_left_half_banked_helix_up_small( case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 16192, { 0, 0, height }, { 20, 32, 3 }, - { 6, 0, height }); + { 6, 0, height + 8 }); break; } metal_a_supports_paint_setup( @@ -3972,7 +3972,7 @@ static void multi_dimension_rc_track_left_half_banked_helix_up_small( case 0: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 16192, { 0, 0, height }, { 32, 20, 3 }, - { 0, 6, height }); + { 0, 6, height + 8 }); break; case 1: PaintAddImageAsParentRotated( @@ -4085,7 +4085,7 @@ static void multi_dimension_rc_track_right_half_banked_helix_up_small( case 0: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 16180, { 0, 0, height }, { 20, 32, 3 }, - { 6, 0, height }); + { 6, 0, height + 8 }); break; case 1: PaintAddImageAsParentRotated( @@ -4218,7 +4218,7 @@ static void multi_dimension_rc_track_right_half_banked_helix_up_small( case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 16180, { 0, 0, height }, { 32, 20, 3 }, - { 0, 6, height }); + { 0, 6, height + 8 }); break; } metal_a_supports_paint_setup( @@ -4426,7 +4426,7 @@ static void multi_dimension_rc_track_left_half_banked_helix_up_large( case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 16156, { 0, 0, height }, { 20, 32, 3 }, - { 6, 0, height }); + { 6, 0, height + 8 }); break; } metal_a_supports_paint_setup( @@ -4588,7 +4588,7 @@ static void multi_dimension_rc_track_left_half_banked_helix_up_large( case 0: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 16156, { 0, 0, height }, { 32, 20, 3 }, - { 0, 6, height }); + { 0, 6, height + 8 }); break; case 1: PaintAddImageAsParentRotated( @@ -4766,7 +4766,7 @@ static void multi_dimension_rc_track_right_half_banked_helix_up_large( case 0: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 16138, { 0, 0, height }, { 20, 32, 3 }, - { 6, 0, height }); + { 6, 0, height + 8 }); break; case 1: PaintAddImageAsParentRotated( @@ -4964,7 +4964,7 @@ static void multi_dimension_rc_track_right_half_banked_helix_up_large( case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 16138, { 0, 0, height }, { 32, 20, 3 }, - { 0, 6, height }); + { 0, 6, height + 8 }); break; } metal_a_supports_paint_setup( diff --git a/src/openrct2/ride/coaster/SingleRailRollerCoaster.cpp b/src/openrct2/ride/coaster/SingleRailRollerCoaster.cpp index 1dc79411e0..e82b223aa8 100644 --- a/src/openrct2/ride/coaster/SingleRailRollerCoaster.cpp +++ b/src/openrct2/ride/coaster/SingleRailRollerCoaster.cpp @@ -8552,7 +8552,7 @@ namespace SingleRailRC PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | (SPR_G2_SINGLE_RAIL_TRACK_SMALL_HELIX + 13), { 0, 0, height }, - { 20, 32, 3 }, { 6, 0, height }); + { 20, 32, 3 }, { 6, 0, height + 8 }); break; } metal_a_supports_paint_setup( @@ -8657,7 +8657,7 @@ namespace SingleRailRC PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | (SPR_G2_SINGLE_RAIL_TRACK_SMALL_HELIX + 13), { 0, 0, height }, - { 32, 20, 3 }, { 0, 6, height }); + { 32, 20, 3 }, { 0, 6, height + 8 }); break; case 1: PaintAddImageAsParentRotated( @@ -8787,7 +8787,7 @@ namespace SingleRailRC PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | (SPR_G2_SINGLE_RAIL_TRACK_SMALL_HELIX + 16), { 0, 0, height }, - { 20, 32, 3 }, { 6, 0, height }); + { 20, 32, 3 }, { 6, 0, height + 8 }); break; case 1: PaintAddImageAsParentRotated( @@ -8943,7 +8943,7 @@ namespace SingleRailRC PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | (SPR_G2_SINGLE_RAIL_TRACK_SMALL_HELIX + 16), { 0, 0, height }, - { 32, 20, 3 }, { 0, 6, height }); + { 32, 20, 3 }, { 0, 6, height + 8 }); break; } metal_a_supports_paint_setup( @@ -9165,7 +9165,7 @@ namespace SingleRailRC PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | (SPR_G2_SINGLE_RAIL_TRACK_LARGE_HELIX + 21), { 0, 0, height }, - { 20, 32, 3 }, { 6, 0, height }); + { 20, 32, 3 }, { 6, 0, height + 8 }); break; } metal_a_supports_paint_setup( @@ -9341,7 +9341,7 @@ namespace SingleRailRC PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | (SPR_G2_SINGLE_RAIL_TRACK_LARGE_HELIX + 21), { 0, 0, height }, - { 32, 20, 3 }, { 0, 6, height }); + { 32, 20, 3 }, { 0, 6, height + 8 }); break; case 1: PaintAddImageAsParentRotated( @@ -9545,7 +9545,7 @@ namespace SingleRailRC PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | (SPR_G2_SINGLE_RAIL_TRACK_LARGE_HELIX + 26), { 0, 0, height }, - { 20, 32, 3 }, { 6, 0, height }); + { 20, 32, 3 }, { 6, 0, height + 8 }); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES, 4, 7, height, session.TrackColours[SCHEME_SUPPORTS]); break; @@ -9786,7 +9786,7 @@ namespace SingleRailRC PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | (SPR_G2_SINGLE_RAIL_TRACK_LARGE_HELIX + 26), { 0, 0, height }, - { 32, 20, 3 }, { 0, 6, height }); + { 32, 20, 3 }, { 0, 6, height + 8 }); metal_a_supports_paint_setup( session, METAL_SUPPORTS_TUBES, 4, 7, height, session.TrackColours[SCHEME_SUPPORTS]); break; diff --git a/src/openrct2/ride/coaster/StandUpRollerCoaster.cpp b/src/openrct2/ride/coaster/StandUpRollerCoaster.cpp index be2e6f4778..2938fcd8f8 100644 --- a/src/openrct2/ride/coaster/StandUpRollerCoaster.cpp +++ b/src/openrct2/ride/coaster/StandUpRollerCoaster.cpp @@ -3715,7 +3715,7 @@ static void stand_up_rc_track_left_half_banked_helix_up_small( case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 25839, { 0, 0, height }, { 20, 32, 3 }, - { 6, 0, height }); + { 6, 0, height + 8 }); break; } metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 4, 6, height, session.TrackColours[SCHEME_SUPPORTS]); @@ -3812,7 +3812,7 @@ static void stand_up_rc_track_left_half_banked_helix_up_small( case 0: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 25839, { 0, 0, height }, { 32, 20, 3 }, - { 0, 6, height }); + { 0, 6, height + 8 }); break; case 1: PaintAddImageAsParentRotated( @@ -3927,7 +3927,7 @@ static void stand_up_rc_track_right_half_banked_helix_up_small( case 0: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 25827, { 0, 0, height }, { 20, 32, 3 }, - { 6, 0, height }); + { 6, 0, height + 8 }); break; case 1: PaintAddImageAsParentRotated( @@ -4060,7 +4060,7 @@ static void stand_up_rc_track_right_half_banked_helix_up_small( case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 25827, { 0, 0, height }, { 32, 20, 3 }, - { 0, 6, height }); + { 0, 6, height + 8 }); break; } metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 4, 6, height, session.TrackColours[SCHEME_SUPPORTS]); @@ -4268,7 +4268,7 @@ static void stand_up_rc_track_left_half_banked_helix_up_large( case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 25803, { 0, 0, height }, { 20, 32, 3 }, - { 6, 0, height }); + { 6, 0, height + 8 }); break; } metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 4, 7, height, session.TrackColours[SCHEME_SUPPORTS]); @@ -4430,7 +4430,7 @@ static void stand_up_rc_track_left_half_banked_helix_up_large( case 0: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 25803, { 0, 0, height }, { 32, 20, 3 }, - { 0, 6, height }); + { 0, 6, height + 8 }); break; case 1: PaintAddImageAsParentRotated( @@ -4610,7 +4610,7 @@ static void stand_up_rc_track_right_half_banked_helix_up_large( case 0: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 25785, { 0, 0, height }, { 20, 32, 3 }, - { 6, 0, height }); + { 6, 0, height + 8 }); break; case 1: PaintAddImageAsParentRotated( @@ -4808,7 +4808,7 @@ static void stand_up_rc_track_right_half_banked_helix_up_large( case 3: PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 25785, { 0, 0, height }, { 32, 20, 3 }, - { 0, 6, height }); + { 0, 6, height + 8 }); break; } metal_a_supports_paint_setup(session, METAL_SUPPORTS_TUBES, 4, 7, height, session.TrackColours[SCHEME_SUPPORTS]); diff --git a/src/openrct2/ride/coaster/WoodenRollerCoaster.cpp b/src/openrct2/ride/coaster/WoodenRollerCoaster.cpp index 8719bcc8f8..da6ce7b638 100644 --- a/src/openrct2/ride/coaster/WoodenRollerCoaster.cpp +++ b/src/openrct2/ride/coaster/WoodenRollerCoaster.cpp @@ -4707,10 +4707,10 @@ static void wooden_rc_track_left_half_banked_helix_up_small( case 3: PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | SPR_WOODEN_RC_SMALL_RIGHT_BANKED_TURN_36, - { 0, 0, height }, { 20, 32, 2 }, { 6, 0, height }); + { 0, 0, height }, { 20, 32, 2 }, { 6, 0, height + 8 }); PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24743, { 0, 0, height }, { 20, 32, 2 }, - { 6, 0, height }); + { 6, 0, height + 8 }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | SPR_WOODEN_RC_SMALL_RIGHT_BANKED_TURN_48, { 0, 0, height }, { 20, 32, 0 }, { 6, 0, height + 27 }); @@ -4880,10 +4880,10 @@ static void wooden_rc_track_left_half_banked_helix_up_small( case 0: PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | SPR_WOODEN_RC_SMALL_RIGHT_BANKED_TURN_36, - { 0, 0, height }, { 32, 20, 2 }, { 0, 6, height }); + { 0, 0, height }, { 32, 20, 2 }, { 0, 6, height + 8 }); PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24743, { 0, 0, height }, { 32, 20, 2 }, - { 0, 6, height }); + { 0, 6, height + 8 }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | SPR_WOODEN_RC_SMALL_RIGHT_BANKED_TURN_48, { 0, 0, height }, { 32, 20, 0 }, { 0, 6, height + 27 }); @@ -5086,10 +5086,10 @@ static void wooden_rc_track_right_half_banked_helix_up_small( case 0: PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | SPR_WOODEN_RC_SMALL_RIGHT_BANKED_TURN_20, - { 0, 0, height }, { 20, 32, 2 }, { 6, 0, height }); + { 0, 0, height }, { 20, 32, 2 }, { 6, 0, height + 8 }); PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24727, { 0, 0, height }, { 20, 32, 2 }, - { 6, 0, height }); + { 6, 0, height + 8 }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | SPR_WOODEN_RC_SMALL_RIGHT_BANKED_TURN_32, { 0, 0, height }, { 20, 32, 0 }, { 6, 0, height + 27 }); @@ -5325,10 +5325,10 @@ static void wooden_rc_track_right_half_banked_helix_up_small( case 3: PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | SPR_WOODEN_RC_SMALL_RIGHT_BANKED_TURN_20, - { 0, 0, height }, { 32, 20, 2 }, { 0, 6, height }); + { 0, 0, height }, { 32, 20, 2 }, { 0, 6, height + 8 }); PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24727, { 0, 0, height }, { 32, 20, 2 }, - { 0, 6, height }); + { 0, 6, height + 8 }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | SPR_WOODEN_RC_SMALL_RIGHT_BANKED_TURN_32, { 0, 0, height }, { 32, 20, 0 }, { 0, 6, height + 27 }); @@ -5675,10 +5675,10 @@ static void wooden_rc_track_left_half_banked_helix_up_large( case 3: PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23695, { 0, 0, height }, { 20, 32, 2 }, - { 6, 0, height }); + { 6, 0, height + 8 }); PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24561, { 0, 0, height }, { 20, 32, 2 }, - { 6, 0, height }); + { 6, 0, height + 8 }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23715, { 0, 0, height }, { 20, 32, 0 }, { 6, 0, height + 27 }); @@ -5964,10 +5964,10 @@ static void wooden_rc_track_left_half_banked_helix_up_large( case 0: PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23695, { 0, 0, height }, { 32, 20, 2 }, - { 0, 6, height }); + { 0, 6, height + 8 }); PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24561, { 0, 0, height }, { 32, 20, 2 }, - { 0, 6, height }); + { 0, 6, height + 8 }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23715, { 0, 0, height }, { 32, 20, 0 }, { 0, 6, height + 27 }); @@ -6286,10 +6286,10 @@ static void wooden_rc_track_right_half_banked_helix_up_large( case 0: PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23669, { 0, 0, height }, { 20, 32, 2 }, - { 6, 0, height }); + { 6, 0, height + 8 }); PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24535, { 0, 0, height }, { 20, 32, 2 }, - { 6, 0, height }); + { 6, 0, height + 8 }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23689, { 0, 0, height }, { 20, 32, 0 }, { 6, 0, height + 27 }); @@ -6641,10 +6641,10 @@ static void wooden_rc_track_right_half_banked_helix_up_large( case 3: PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23669, { 0, 0, height }, { 32, 20, 2 }, - { 0, 6, height }); + { 0, 6, height + 8 }); PaintAddImageAsChildRotated( session, direction, wooden_rc_get_rails_colour(session) | 24535, { 0, 0, height }, { 32, 20, 2 }, - { 0, 6, height }); + { 0, 6, height + 8 }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23689, { 0, 0, height }, { 32, 20, 0 }, { 0, 6, height + 27 });