diff --git a/src/openrct2/paint/Paint.h b/src/openrct2/paint/Paint.h index 7840737d42..b243949d98 100644 --- a/src/openrct2/paint/Paint.h +++ b/src/openrct2/paint/Paint.h @@ -319,10 +319,6 @@ paint_struct* PaintAddImageAsChild( paint_session& session, ImageId image_id, const CoordsXYZ& offset, const CoordsXYZ& boundBoxLength, const CoordsXYZ& boundBoxOffset); -paint_struct* PaintAddImageAsChildRotated( - paint_session& session, uint8_t direction, uint32_t image_id, int32_t x_offset, int32_t y_offset, - int32_t bound_box_length_x, int32_t bound_box_length_y, int32_t bound_box_length_z, int32_t z_offset, - int32_t bound_box_offset_x, int32_t bound_box_offset_y, int32_t bound_box_offset_z); paint_struct* PaintAddImageAsChildRotated( paint_session& session, const uint8_t direction, const uint32_t image_id, const CoordsXYZ& offset, const CoordsXYZ& boundBoxSize, const CoordsXYZ& boundBoxOffset); diff --git a/src/openrct2/paint/PaintHelpers.cpp b/src/openrct2/paint/PaintHelpers.cpp index 5bc4b211de..6d9c8a0ce2 100644 --- a/src/openrct2/paint/PaintHelpers.cpp +++ b/src/openrct2/paint/PaintHelpers.cpp @@ -38,23 +38,6 @@ paint_struct* PaintAddImageAsParentRotated( return PaintAddImageAsParent(session, image_id, offset, boundBoxSize); } -paint_struct* PaintAddImageAsChildRotated( - paint_session& session, uint8_t direction, uint32_t image_id, int32_t x_offset, int32_t y_offset, - int32_t bound_box_length_x, int32_t bound_box_length_y, int32_t bound_box_length_z, int32_t z_offset, - int32_t bound_box_offset_x, int32_t bound_box_offset_y, int32_t bound_box_offset_z) -{ - if (direction & 1) - { - return PaintAddImageAsChild( - session, image_id, y_offset, x_offset, bound_box_length_y, bound_box_length_x, bound_box_length_z, z_offset, - bound_box_offset_y, bound_box_offset_x, bound_box_offset_z); - } - - return PaintAddImageAsChild( - session, image_id, x_offset, y_offset, bound_box_length_x, bound_box_length_y, bound_box_length_z, z_offset, - bound_box_offset_x, bound_box_offset_y, bound_box_offset_z); -} - paint_struct* PaintAddImageAsChildRotated( paint_session& session, const uint8_t direction, const uint32_t image_id, const CoordsXYZ& offset, const CoordsXYZ& boundBoxSize, const CoordsXYZ& boundBoxOffset) diff --git a/src/openrct2/ride/coaster/AirPoweredVerticalCoaster.cpp b/src/openrct2/ride/coaster/AirPoweredVerticalCoaster.cpp index bc1e4cb5e7..4ef19445af 100644 --- a/src/openrct2/ride/coaster/AirPoweredVerticalCoaster.cpp +++ b/src/openrct2/ride/coaster/AirPoweredVerticalCoaster.cpp @@ -213,7 +213,8 @@ static void air_powered_vertical_rc_track_station( session, direction, imageIds[direction][1] | session.TrackColours[SCHEME_MISC], { 0, 0, height - 2 }, { 32, 28, 1 }, { 0, 2, height }); PaintAddImageAsChildRotated( - session, direction, imageIds[direction][0] | session.TrackColours[SCHEME_TRACK], 0, 0, 32, 20, 1, height, 0, 6, height); + session, direction, imageIds[direction][0] | session.TrackColours[SCHEME_TRACK], { 0, 0, height }, { 32, 20, 1 }, + { 0, 6, height }); wooden_a_supports_paint_setup(session, direction & 1, 0, height, session.TrackColours[SCHEME_SUPPORTS]); @@ -663,7 +664,8 @@ static void air_powered_vertical_rc_track_vertical_slope_up( bbHeight = bbHeights12[trackSequence]; PaintAddImageAsParentRotated( session, direction, supportsImageId, { 0, 0, height }, { 20, 32, bbHeight }, { 0, 6, height }); - PaintAddImageAsChildRotated(session, direction, trackImageId, 0, 0, 20, 32, bbHeight, height, 0, 6, height); + PaintAddImageAsChildRotated( + session, direction, trackImageId, { 0, 0, height }, { 20, 32, bbHeight }, { 0, 6, height }); wooden_a_supports_paint_setup(session, 0, 0, height, session.TrackColours[SCHEME_SUPPORTS]); @@ -681,14 +683,16 @@ static void air_powered_vertical_rc_track_vertical_slope_up( PaintAddImageAsParentRotated( session, direction, supportsImageId, { 0, 0, height }, { 32, 20, bbHeight }, { 0, 6, height }); - PaintAddImageAsChildRotated(session, direction, trackImageId, 0, 0, 32, 20, bbHeight, height, 0, 6, height); + PaintAddImageAsChildRotated( + session, direction, trackImageId, { 0, 0, height }, { 32, 20, bbHeight }, { 0, 6, height }); } else { bbHeight = bbHeights12[trackSequence]; PaintAddImageAsParentRotated( session, direction, supportsImageId, { 0, 0, height }, { 32, 20, bbHeight }, { 0, 6, height }); - PaintAddImageAsChildRotated(session, direction, trackImageId, 0, 0, 32, 20, bbHeight, height, 0, 6, height); + PaintAddImageAsChildRotated( + session, direction, trackImageId, { 0, 0, height }, { 32, 20, bbHeight }, { 0, 6, height }); } wooden_a_supports_paint_setup(session, direction & 1, 0, height, session.TrackColours[SCHEME_SUPPORTS]); @@ -707,14 +711,16 @@ static void air_powered_vertical_rc_track_vertical_slope_up( bbHeight = bbHeights03[trackSequence]; PaintAddImageAsParentRotated( session, direction, supportsImageId, { 0, 0, height }, { 32, 20, bbHeight }, { 0, 6, height }); - PaintAddImageAsChildRotated(session, direction, trackImageId, 0, 0, 32, 20, bbHeight, height, 0, 6, height); + PaintAddImageAsChildRotated( + session, direction, trackImageId, { 0, 0, height }, { 32, 20, bbHeight }, { 0, 6, height }); } else { bbHeight = bbHeights12[trackSequence]; PaintAddImageAsParentRotated( session, direction, trackImageId, { 0, 0, height }, { 32, 20, bbHeight }, { 0, 6, height }); - PaintAddImageAsChildRotated(session, direction, supportsImageId, 0, 0, 32, 20, bbHeight, height, 0, 6, height); + PaintAddImageAsChildRotated( + session, direction, supportsImageId, { 0, 0, height }, { 32, 20, bbHeight }, { 0, 6, height }); } wooden_a_supports_paint_setup(session, direction & 1, 0, height, session.TrackColours[SCHEME_SUPPORTS]); @@ -734,7 +740,8 @@ static void air_powered_vertical_rc_track_vertical_slope_up( floorImageId = SPR_FLOOR_PLANKS | session.TrackColours[SCHEME_SUPPORTS]; } PaintAddImageAsParent(session, floorImageId, { 0, 0, height }, { 26, 26, 126 }, { 3, 3, height }); - PaintAddImageAsChildRotated(session, direction, supportsImageId, 0, 0, 26, 26, 126, height, 3, 3, height); + PaintAddImageAsChildRotated( + session, direction, supportsImageId, { 0, 0, height }, { 26, 26, 126 }, { 3, 3, height }); } else { @@ -749,13 +756,15 @@ static void air_powered_vertical_rc_track_vertical_slope_up( { PaintAddImageAsParentRotated( session, direction, supportsImageId, { 0, 0, height }, { 5, 20, 79 }, { 0, 6, height + 128 }); - PaintAddImageAsChildRotated(session, direction, trackImageId, 0, 0, 5, 20, 79, height, 0, 6, height + 128); + PaintAddImageAsChildRotated( + session, direction, trackImageId, { 0, 0, height }, { 5, 20, 79 }, { 0, 6, height + 128 }); } else { PaintAddImageAsParentRotated( session, direction, trackImageId, { 0, 0, height }, { 1, 20, 126 }, { 27, 6, height }); - PaintAddImageAsChildRotated(session, direction, supportsImageId, 0, 0, 1, 20, 126, height, 27, 6, height); + PaintAddImageAsChildRotated( + session, direction, supportsImageId, { 0, 0, height }, { 1, 20, 126 }, { 27, 6, height }); } wooden_a_supports_paint_setup(session, direction & 1, 0, height, session.TrackColours[SCHEME_SUPPORTS]); @@ -842,12 +851,12 @@ static void air_powered_vertical_rc_track_vertical_top( if (direction == 0) { PaintAddImageAsParentRotated(session, direction, imageIdS, { 0, 0, height }, { 32, 20, 15 }, { 0, 6, height }); - PaintAddImageAsChildRotated(session, direction, imageIdT, 0, 0, 31, 20, 15, height, 1, 6, height); + PaintAddImageAsChildRotated(session, direction, imageIdT, { 0, 0, height }, { 31, 20, 15 }, { 1, 6, height }); } else { PaintAddImageAsParentRotated(session, direction, imageIdS, { 0, 0, height }, { 5, 20, 1 }, { 24, 6, height }); - PaintAddImageAsChildRotated(session, direction, imageIdT, 0, 0, 5, 20, 1, height, 24, 6, height); + PaintAddImageAsChildRotated(session, direction, imageIdT, { 0, 0, height }, { 5, 20, 1 }, { 24, 6, height }); } break; case 1: @@ -880,12 +889,12 @@ static void air_powered_vertical_rc_track_vertical_top( if (direction == 0) { PaintAddImageAsParentRotated(session, direction, imageIdS, { 0, 0, height }, { 5, 20, 1 }, { 24, 6, height }); - PaintAddImageAsChildRotated(session, direction, imageIdT, 0, 0, 5, 20, 1, height, 24, 6, height); + PaintAddImageAsChildRotated(session, direction, imageIdT, { 0, 0, height }, { 5, 20, 1 }, { 24, 6, height }); } else { PaintAddImageAsParentRotated(session, direction, imageIdS, { 0, 0, height }, { 32, 20, 15 }, { 0, 6, height }); - PaintAddImageAsChildRotated(session, direction, imageIdT, 0, 0, 32, 20, 15, height, 0, 6, height); + PaintAddImageAsChildRotated(session, direction, imageIdT, { 0, 0, height }, { 32, 20, 15 }, { 0, 6, height }); } break; } diff --git a/src/openrct2/ride/coaster/CompactInvertedCoaster.cpp b/src/openrct2/ride/coaster/CompactInvertedCoaster.cpp index 9a9c2b5a3b..c8a599242f 100644 --- a/src/openrct2/ride/coaster/CompactInvertedCoaster.cpp +++ b/src/openrct2/ride/coaster/CompactInvertedCoaster.cpp @@ -91,8 +91,8 @@ static void compact_inverted_rc_track_station( session, direction, imageIds[direction][1] | session.TrackColours[SCHEME_TRACK], { 0, 0, height + 29 }, { 32, 20, 3 }, { 0, 6, height + 29 }); PaintAddImageAsChildRotated( - session, direction, imageIds[direction][2] | session.TrackColours[SCHEME_SUPPORTS], 0, 6, 32, 20, 3, height + 29, 0, 6, - height + 29); + session, direction, imageIds[direction][2] | session.TrackColours[SCHEME_SUPPORTS], { 0, 6, height + 29 }, + { 32, 20, 3 }, { 0, 6, height + 29 }); track_paint_util_draw_station_metal_supports_2(session, direction, height, session.TrackColours[SCHEME_SUPPORTS], 11); track_paint_util_draw_station_inverted(session, ride, direction, height, trackElement, STATION_VARIANT_TALL); paint_util_push_tunnel_rotated(session, direction, height, TUNNEL_SQUARE_INVERTED_9); diff --git a/src/openrct2/ride/coaster/FlyingRollerCoaster.cpp b/src/openrct2/ride/coaster/FlyingRollerCoaster.cpp index 67cd5c9fd9..6b749912cb 100644 --- a/src/openrct2/ride/coaster/FlyingRollerCoaster.cpp +++ b/src/openrct2/ride/coaster/FlyingRollerCoaster.cpp @@ -157,8 +157,8 @@ static void flying_rc_track_station( session, direction, imageIds[direction][1] | session.TrackColours[SCHEME_TRACK], { 0, 0, height + 24 }, { 32, 20, 3 }, { 0, 6, height + 24 }); PaintAddImageAsChildRotated( - session, direction, imageIds[direction][2] | session.TrackColours[SCHEME_SUPPORTS], 0, 6, 32, 20, 1, height + 24, 0, - 6, height + 24); + session, direction, imageIds[direction][2] | session.TrackColours[SCHEME_SUPPORTS], { 0, 6, height + 24 }, + { 32, 20, 1 }, { 0, 6, height + 24 }); track_paint_util_draw_station_metal_supports_2(session, direction, height, session.TrackColours[SCHEME_SUPPORTS], 11); track_paint_util_draw_station_inverted(session, ride, direction, height, trackElement, STATION_VARIANT_1); } diff --git a/src/openrct2/ride/coaster/HeartlineTwisterCoaster.cpp b/src/openrct2/ride/coaster/HeartlineTwisterCoaster.cpp index abe43d4b1a..04dd8c5ee9 100644 --- a/src/openrct2/ride/coaster/HeartlineTwisterCoaster.cpp +++ b/src/openrct2/ride/coaster/HeartlineTwisterCoaster.cpp @@ -839,14 +839,14 @@ static void heartline_twister_rc_track_heartline_transfer_up( session, direction, session.TrackColours[SCHEME_TRACK] | 21314, { 0, 0, height + 8 }, { 32, 20, 2 }, { 0, 6, height + 8 }); PaintAddImageAsChildRotated( - session, direction, session.TrackColours[SCHEME_TRACK] | 21308, 0, 0, 32, 20, 2, height + 16, 0, 6, - height + 16); + session, direction, session.TrackColours[SCHEME_TRACK] | 21308, { 0, 0, height + 16 }, { 32, 20, 2 }, + { 0, 6, height + 16 }); PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 21318, { 0, 0, height + 8 }, { 32, 1, 34 }, { 0, 27, height + 8 }); PaintAddImageAsChildRotated( - session, direction, session.TrackColours[SCHEME_TRACK] | 21312, 0, 0, 32, 1, 34, height + 16, 0, 27, - height + 16); + session, direction, session.TrackColours[SCHEME_TRACK] | 21312, { 0, 0, height + 16 }, { 32, 1, 34 }, + { 0, 27, height + 16 }); wooden_a_supports_paint_setup(session, 6, 5, height + 8, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -854,14 +854,14 @@ static void heartline_twister_rc_track_heartline_transfer_up( session, direction, session.TrackColours[SCHEME_TRACK] | 21315, { 0, 0, height + 8 }, { 32, 20, 2 }, { 0, 6, height + 8 }); PaintAddImageAsChildRotated( - session, direction, session.TrackColours[SCHEME_TRACK] | 21309, 0, 0, 32, 20, 2, height + 16, 0, 6, - height + 16); + session, direction, session.TrackColours[SCHEME_TRACK] | 21309, { 0, 0, height + 16 }, { 32, 20, 2 }, + { 0, 6, height + 16 }); PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 21319, { 0, 0, height + 8 }, { 32, 1, 34 }, { 0, 27, height + 8 }); PaintAddImageAsChildRotated( - session, direction, session.TrackColours[SCHEME_TRACK] | 21313, 0, 0, 32, 1, 34, height + 16, 0, 27, - height + 16); + session, direction, session.TrackColours[SCHEME_TRACK] | 21313, { 0, 0, height + 16 }, { 32, 1, 34 }, + { 0, 27, height + 16 }); wooden_a_supports_paint_setup(session, 7, 6, height + 8, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -869,14 +869,14 @@ static void heartline_twister_rc_track_heartline_transfer_up( session, direction, session.TrackColours[SCHEME_TRACK] | 21316, { 0, 0, height + 8 }, { 32, 20, 2 }, { 0, 6, height + 8 }); PaintAddImageAsChildRotated( - session, direction, session.TrackColours[SCHEME_TRACK] | 21306, 0, 0, 32, 20, 2, height + 16, 0, 6, - height + 16); + session, direction, session.TrackColours[SCHEME_TRACK] | 21306, { 0, 0, height + 16 }, { 32, 20, 2 }, + { 0, 6, height + 16 }); PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 21320, { 0, 0, height + 8 }, { 32, 1, 34 }, { 0, 27, height + 8 }); PaintAddImageAsChildRotated( - session, direction, session.TrackColours[SCHEME_TRACK] | 21310, 0, 0, 32, 1, 34, height + 16, 0, 27, - height + 16); + session, direction, session.TrackColours[SCHEME_TRACK] | 21310, { 0, 0, height + 16 }, { 32, 1, 34 }, + { 0, 27, height + 16 }); wooden_a_supports_paint_setup(session, 6, 7, height + 8, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -884,14 +884,14 @@ static void heartline_twister_rc_track_heartline_transfer_up( session, direction, session.TrackColours[SCHEME_TRACK] | 21317, { 0, 0, height + 8 }, { 32, 20, 2 }, { 0, 6, height + 8 }); PaintAddImageAsChildRotated( - session, direction, session.TrackColours[SCHEME_TRACK] | 21307, 0, 0, 32, 20, 2, height + 16, 0, 6, - height + 16); + session, direction, session.TrackColours[SCHEME_TRACK] | 21307, { 0, 0, height + 16 }, { 32, 20, 2 }, + { 0, 6, height + 16 }); PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 21321, { 0, 0, height + 8 }, { 32, 1, 34 }, { 0, 27, height + 8 }); PaintAddImageAsChildRotated( - session, direction, session.TrackColours[SCHEME_TRACK] | 21311, 0, 0, 32, 1, 34, height + 16, 0, 27, - height + 16); + session, direction, session.TrackColours[SCHEME_TRACK] | 21311, { 0, 0, height + 16 }, { 32, 1, 34 }, + { 0, 27, height + 16 }); wooden_a_supports_paint_setup(session, 7, 8, height + 8, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -1053,14 +1053,14 @@ static void heartline_twister_rc_track_heartline_transfer_down( session, direction, session.TrackColours[SCHEME_TRACK] | 21314, { 0, 0, height + 8 }, { 32, 20, 2 }, { 0, 6, height + 8 }); PaintAddImageAsChildRotated( - session, direction, session.TrackColours[SCHEME_TRACK] | 21308, 0, 0, 32, 20, 2, height + 16, 0, 6, - height + 16); + session, direction, session.TrackColours[SCHEME_TRACK] | 21308, { 0, 0, height + 16 }, { 32, 20, 2 }, + { 0, 6, height + 16 }); PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 21318, { 0, 0, height + 8 }, { 32, 1, 34 }, { 0, 27, height + 8 }); PaintAddImageAsChildRotated( - session, direction, session.TrackColours[SCHEME_TRACK] | 21312, 0, 0, 32, 1, 34, height + 16, 0, 27, - height + 16); + session, direction, session.TrackColours[SCHEME_TRACK] | 21312, { 0, 0, height + 16 }, { 32, 1, 34 }, + { 0, 27, height + 16 }); wooden_a_supports_paint_setup(session, 6, 5, height + 8, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -1068,14 +1068,14 @@ static void heartline_twister_rc_track_heartline_transfer_down( session, direction, session.TrackColours[SCHEME_TRACK] | 21315, { 0, 0, height + 8 }, { 32, 20, 2 }, { 0, 6, height + 8 }); PaintAddImageAsChildRotated( - session, direction, session.TrackColours[SCHEME_TRACK] | 21309, 0, 0, 32, 20, 2, height + 16, 0, 6, - height + 16); + session, direction, session.TrackColours[SCHEME_TRACK] | 21309, { 0, 0, height + 16 }, { 32, 20, 2 }, + { 0, 6, height + 16 }); PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 21319, { 0, 0, height + 8 }, { 32, 1, 34 }, { 0, 27, height + 8 }); PaintAddImageAsChildRotated( - session, direction, session.TrackColours[SCHEME_TRACK] | 21313, 0, 0, 32, 1, 34, height + 16, 0, 27, - height + 16); + session, direction, session.TrackColours[SCHEME_TRACK] | 21313, { 0, 0, height + 16 }, { 32, 1, 34 }, + { 0, 27, height + 16 }); wooden_a_supports_paint_setup(session, 7, 6, height + 8, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -1083,14 +1083,14 @@ static void heartline_twister_rc_track_heartline_transfer_down( session, direction, session.TrackColours[SCHEME_TRACK] | 21316, { 0, 0, height + 8 }, { 32, 20, 2 }, { 0, 6, height + 8 }); PaintAddImageAsChildRotated( - session, direction, session.TrackColours[SCHEME_TRACK] | 21306, 0, 0, 32, 20, 2, height + 16, 0, 6, - height + 16); + session, direction, session.TrackColours[SCHEME_TRACK] | 21306, { 0, 0, height + 16 }, { 32, 20, 2 }, + { 0, 6, height + 16 }); PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 21320, { 0, 0, height + 8 }, { 32, 1, 34 }, { 0, 27, height + 8 }); PaintAddImageAsChildRotated( - session, direction, session.TrackColours[SCHEME_TRACK] | 21310, 0, 0, 32, 1, 34, height + 16, 0, 27, - height + 16); + session, direction, session.TrackColours[SCHEME_TRACK] | 21310, { 0, 0, height + 16 }, { 32, 1, 34 }, + { 0, 27, height + 16 }); wooden_a_supports_paint_setup(session, 6, 7, height + 8, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -1098,14 +1098,14 @@ static void heartline_twister_rc_track_heartline_transfer_down( session, direction, session.TrackColours[SCHEME_TRACK] | 21317, { 0, 0, height + 8 }, { 32, 20, 2 }, { 0, 6, height + 8 }); PaintAddImageAsChildRotated( - session, direction, session.TrackColours[SCHEME_TRACK] | 21307, 0, 0, 32, 20, 2, height + 16, 0, 6, - height + 16); + session, direction, session.TrackColours[SCHEME_TRACK] | 21307, { 0, 0, height + 16 }, { 32, 20, 2 }, + { 0, 6, height + 16 }); PaintAddImageAsParentRotated( session, direction, session.TrackColours[SCHEME_TRACK] | 21321, { 0, 0, height + 8 }, { 32, 1, 34 }, { 0, 27, height + 8 }); PaintAddImageAsChildRotated( - session, direction, session.TrackColours[SCHEME_TRACK] | 21311, 0, 0, 32, 1, 34, height + 16, 0, 27, - height + 16); + session, direction, session.TrackColours[SCHEME_TRACK] | 21311, { 0, 0, height + 16 }, { 32, 1, 34 }, + { 0, 27, height + 16 }); wooden_a_supports_paint_setup(session, 7, 8, height + 8, session.TrackColours[SCHEME_SUPPORTS]); break; } diff --git a/src/openrct2/ride/coaster/InvertedHairpinCoaster.cpp b/src/openrct2/ride/coaster/InvertedHairpinCoaster.cpp index 169820b2e6..2688ff598e 100644 --- a/src/openrct2/ride/coaster/InvertedHairpinCoaster.cpp +++ b/src/openrct2/ride/coaster/InvertedHairpinCoaster.cpp @@ -99,8 +99,8 @@ static void inverted_hairpin_rc_track_station( session, direction, imageIds[direction][1] | session.TrackColours[SCHEME_TRACK], { 0, 0, height + 24 }, { 32, 20, 3 }, { 0, 6, height + 24 }); PaintAddImageAsChildRotated( - session, direction, imageIds[direction][2] | session.TrackColours[SCHEME_SUPPORTS], 0, 6, 32, 20, 1, height + 24, 0, 6, - height + 24); + session, direction, imageIds[direction][2] | session.TrackColours[SCHEME_SUPPORTS], { 0, 6, height + 24 }, + { 32, 20, 1 }, { 0, 6, height + 24 }); track_paint_util_draw_station_metal_supports_2(session, direction, height, session.TrackColours[SCHEME_SUPPORTS], 11); track_paint_util_draw_station_inverted(session, ride, direction, height, trackElement, STATION_VARIANT_1); paint_util_push_tunnel_rotated(session, direction, height, TUNNEL_SQUARE_FLAT); diff --git a/src/openrct2/ride/coaster/InvertedImpulseCoaster.cpp b/src/openrct2/ride/coaster/InvertedImpulseCoaster.cpp index 996af4a645..32f8b17e50 100644 --- a/src/openrct2/ride/coaster/InvertedImpulseCoaster.cpp +++ b/src/openrct2/ride/coaster/InvertedImpulseCoaster.cpp @@ -70,8 +70,8 @@ static void inverted_impulse_rc_track_station( session, direction, imageIds[direction][1] | session.TrackColours[SCHEME_TRACK], { 0, 0, height + 29 }, { 32, 20, 3 }, { 0, 6, height + 29 }); PaintAddImageAsChildRotated( - session, direction, imageIds[direction][2] | session.TrackColours[SCHEME_SUPPORTS], 0, 6, 32, 20, 3, height + 29, 0, 6, - height + 29); + session, direction, imageIds[direction][2] | session.TrackColours[SCHEME_SUPPORTS], { 0, 6, height + 29 }, + { 32, 20, 3 }, { 0, 6, height + 29 }); track_paint_util_draw_station_metal_supports_2(session, direction, height, session.TrackColours[SCHEME_SUPPORTS], 11); track_paint_util_draw_station_inverted(session, ride, direction, height, trackElement, STATION_VARIANT_TALL); paint_util_push_tunnel_rotated(session, direction, height, TUNNEL_SQUARE_INVERTED_9); diff --git a/src/openrct2/ride/coaster/InvertedRollerCoaster.cpp b/src/openrct2/ride/coaster/InvertedRollerCoaster.cpp index 2ae917aade..1f9c2dbb7e 100644 --- a/src/openrct2/ride/coaster/InvertedRollerCoaster.cpp +++ b/src/openrct2/ride/coaster/InvertedRollerCoaster.cpp @@ -90,8 +90,8 @@ static void inverted_rc_track_station( session, direction, imageIds[direction][1] | session.TrackColours[SCHEME_TRACK], { 0, 0, height + 29 }, { 32, 20, 3 }, { 0, 6, height + 29 }); PaintAddImageAsChildRotated( - session, direction, imageIds[direction][2] | session.TrackColours[SCHEME_SUPPORTS], 0, 6, 32, 20, 3, height + 29, 0, 6, - height + 29); + session, direction, imageIds[direction][2] | session.TrackColours[SCHEME_SUPPORTS], { 0, 6, height + 29 }, + { 32, 20, 3 }, { 0, 6, height + 29 }); track_paint_util_draw_station_metal_supports_2(session, direction, height, session.TrackColours[SCHEME_SUPPORTS], 3); track_paint_util_draw_station_inverted(session, ride, direction, height, trackElement, STATION_VARIANT_TALL); paint_util_push_tunnel_rotated(session, direction, height, TUNNEL_SQUARE_INVERTED_9); diff --git a/src/openrct2/ride/coaster/LayDownRollerCoaster.cpp b/src/openrct2/ride/coaster/LayDownRollerCoaster.cpp index 088d35b9da..8ab197a9fe 100644 --- a/src/openrct2/ride/coaster/LayDownRollerCoaster.cpp +++ b/src/openrct2/ride/coaster/LayDownRollerCoaster.cpp @@ -157,8 +157,8 @@ static void lay_down_rc_track_station( session, direction, imageIds[direction][1] | session.TrackColours[SCHEME_TRACK], { 0, 0, height + 24 }, { 32, 20, 3 }, { 0, 6, height + 24 }); PaintAddImageAsChildRotated( - session, direction, imageIds[direction][2] | session.TrackColours[SCHEME_SUPPORTS], 0, 6, 32, 20, 1, height + 24, 0, - 6, height + 24); + session, direction, imageIds[direction][2] | session.TrackColours[SCHEME_SUPPORTS], { 0, 6, height + 24 }, + { 32, 20, 1 }, { 0, 6, height + 24 }); track_paint_util_draw_station_metal_supports_2(session, direction, height, session.TrackColours[SCHEME_SUPPORTS], 11); track_paint_util_draw_station_inverted(session, ride, direction, height, trackElement, STATION_VARIANT_1); paint_util_push_tunnel_rotated(session, direction, height, TUNNEL_SQUARE_INVERTED_9); diff --git a/src/openrct2/ride/coaster/LoopingRollerCoaster.cpp b/src/openrct2/ride/coaster/LoopingRollerCoaster.cpp index ebf5a6768a..4d03c381cd 100644 --- a/src/openrct2/ride/coaster/LoopingRollerCoaster.cpp +++ b/src/openrct2/ride/coaster/LoopingRollerCoaster.cpp @@ -2224,8 +2224,8 @@ static void looping_rc_track_left_vertical_loop( metal_a_supports_paint_setup( session, METAL_SUPPORTS_THICK_CENTRED, 1, 0, height - 8, session.TrackColours[SCHEME_TRACK]); PaintAddImageAsChildRotated( - session, direction, session.TrackColours[SCHEME_TRACK] | 15364, 16, 0, 3, 16, 119, height, 16, 0, - height); + session, direction, session.TrackColours[SCHEME_TRACK] | 15364, { 16, 0, height }, { 3, 16, 119 }, + { 16, 0, height }); break; case 1: PaintAddImageAsParentRotated( @@ -2234,8 +2234,8 @@ static void looping_rc_track_left_vertical_loop( metal_a_supports_paint_setup( session, METAL_SUPPORTS_THICK_ALT_CENTRED, 0, 0, height - 8, session.TrackColours[SCHEME_TRACK]); PaintAddImageAsChildRotated( - session, direction, session.TrackColours[SCHEME_TRACK] | 15366, 12, 0, 3, 16, 119, height, 12, 0, - height); + session, direction, session.TrackColours[SCHEME_TRACK] | 15366, { 12, 0, height }, { 3, 16, 119 }, + { 12, 0, height }); break; case 2: PaintAddImageAsParentRotated( @@ -2244,8 +2244,8 @@ static void looping_rc_track_left_vertical_loop( metal_a_supports_paint_setup( session, METAL_SUPPORTS_THICK, 2, 0, height - 8, session.TrackColours[SCHEME_TRACK]); PaintAddImageAsChildRotated( - session, direction, session.TrackColours[SCHEME_TRACK] | 15365, 10, 16, 4, 16, 119, height, 10, 16, - height); + session, direction, session.TrackColours[SCHEME_TRACK] | 15365, { 10, 16, height }, { 4, 16, 119 }, + { 10, 16, height }); break; case 3: PaintAddImageAsParentRotated( @@ -2254,8 +2254,8 @@ static void looping_rc_track_left_vertical_loop( metal_a_supports_paint_setup( session, METAL_SUPPORTS_THICK_ALT, 3, 0, height - 8, session.TrackColours[SCHEME_TRACK]); PaintAddImageAsChildRotated( - session, direction, session.TrackColours[SCHEME_TRACK] | 15367, 16, 16, 2, 16, 119, height, 16, 16, - height); + session, direction, session.TrackColours[SCHEME_TRACK] | 15367, { 16, 16, height }, { 2, 16, 119 }, + { 16, 16, height }); break; } paint_util_set_segment_support_height( @@ -2332,8 +2332,8 @@ static void looping_rc_track_left_vertical_loop( metal_a_supports_paint_setup( session, METAL_SUPPORTS_THICK, 2, 0, height - 8, session.TrackColours[SCHEME_TRACK]); PaintAddImageAsChildRotated( - session, direction, session.TrackColours[SCHEME_TRACK] | 15365, 10, 16, 4, 16, 119, height, 10, 16, - height); + session, direction, session.TrackColours[SCHEME_TRACK] | 15365, { 10, 16, height }, { 4, 16, 119 }, + { 10, 16, height }); break; case 1: PaintAddImageAsParentRotated( @@ -2342,8 +2342,8 @@ static void looping_rc_track_left_vertical_loop( metal_a_supports_paint_setup( session, METAL_SUPPORTS_THICK_ALT, 3, 0, height - 8, session.TrackColours[SCHEME_TRACK]); PaintAddImageAsChildRotated( - session, direction, session.TrackColours[SCHEME_TRACK] | 15367, 16, 16, 2, 16, 119, height, 16, 16, - height); + session, direction, session.TrackColours[SCHEME_TRACK] | 15367, { 16, 16, height }, { 2, 16, 119 }, + { 16, 16, height }); break; case 2: PaintAddImageAsParentRotated( @@ -2352,8 +2352,8 @@ static void looping_rc_track_left_vertical_loop( metal_a_supports_paint_setup( session, METAL_SUPPORTS_THICK_CENTRED, 1, 0, height - 8, session.TrackColours[SCHEME_TRACK]); PaintAddImageAsChildRotated( - session, direction, session.TrackColours[SCHEME_TRACK] | 15364, 16, 0, 3, 16, 119, height, 16, 0, - height); + session, direction, session.TrackColours[SCHEME_TRACK] | 15364, { 16, 0, height }, { 3, 16, 119 }, + { 16, 0, height }); break; case 3: PaintAddImageAsParentRotated( @@ -2362,8 +2362,8 @@ static void looping_rc_track_left_vertical_loop( metal_a_supports_paint_setup( session, METAL_SUPPORTS_THICK_ALT_CENTRED, 0, 0, height - 8, session.TrackColours[SCHEME_TRACK]); PaintAddImageAsChildRotated( - session, direction, session.TrackColours[SCHEME_TRACK] | 15366, 12, 0, 3, 16, 119, height, 12, 0, - height); + session, direction, session.TrackColours[SCHEME_TRACK] | 15366, { 12, 0, height }, { 3, 16, 119 }, + { 12, 0, height }); break; } paint_util_set_segment_support_height( @@ -2501,8 +2501,8 @@ static void looping_rc_track_right_vertical_loop( metal_a_supports_paint_setup( session, METAL_SUPPORTS_THICK, 3, 0, height - 8, session.TrackColours[SCHEME_TRACK]); PaintAddImageAsChildRotated( - session, direction, session.TrackColours[SCHEME_TRACK] | 15384, 16, 16, 2, 16, 119, height, 16, 16, - height); + session, direction, session.TrackColours[SCHEME_TRACK] | 15384, { 16, 16, height }, { 2, 16, 119 }, + { 16, 16, height }); break; case 1: PaintAddImageAsParentRotated( @@ -2511,8 +2511,8 @@ static void looping_rc_track_right_vertical_loop( metal_a_supports_paint_setup( session, METAL_SUPPORTS_THICK_ALT, 1, 0, height - 8, session.TrackColours[SCHEME_TRACK]); PaintAddImageAsChildRotated( - session, direction, session.TrackColours[SCHEME_TRACK] | 15386, 10, 16, 4, 16, 119, height, 10, 16, - height); + session, direction, session.TrackColours[SCHEME_TRACK] | 15386, { 10, 16, height }, { 4, 16, 119 }, + { 10, 16, height }); break; case 2: PaintAddImageAsParentRotated( @@ -2521,8 +2521,8 @@ static void looping_rc_track_right_vertical_loop( metal_a_supports_paint_setup( session, METAL_SUPPORTS_THICK_CENTRED, 0, 0, height - 8, session.TrackColours[SCHEME_TRACK]); PaintAddImageAsChildRotated( - session, direction, session.TrackColours[SCHEME_TRACK] | 15385, 12, 0, 3, 16, 119, height, 12, 0, - height); + session, direction, session.TrackColours[SCHEME_TRACK] | 15385, { 12, 0, height }, { 3, 16, 119 }, + { 12, 0, height }); break; case 3: PaintAddImageAsParentRotated( @@ -2531,8 +2531,8 @@ static void looping_rc_track_right_vertical_loop( metal_a_supports_paint_setup( session, METAL_SUPPORTS_THICK_ALT_CENTRED, 2, 0, height - 8, session.TrackColours[SCHEME_TRACK]); PaintAddImageAsChildRotated( - session, direction, session.TrackColours[SCHEME_TRACK] | 15387, 16, 0, 2, 16, 119, height, 16, 0, - height); + session, direction, session.TrackColours[SCHEME_TRACK] | 15387, { 16, 0, height }, { 2, 16, 119 }, + { 16, 0, height }); break; } paint_util_set_general_support_height(session, height + 168, 0x20); @@ -2597,8 +2597,8 @@ static void looping_rc_track_right_vertical_loop( metal_a_supports_paint_setup( session, METAL_SUPPORTS_THICK_CENTRED, 0, 0, height - 8, session.TrackColours[SCHEME_TRACK]); PaintAddImageAsChildRotated( - session, direction, session.TrackColours[SCHEME_TRACK] | 15385, 12, 0, 3, 16, 119, height, 12, 0, - height); + session, direction, session.TrackColours[SCHEME_TRACK] | 15385, { 12, 0, height }, { 3, 16, 119 }, + { 12, 0, height }); break; case 1: PaintAddImageAsParentRotated( @@ -2607,8 +2607,8 @@ static void looping_rc_track_right_vertical_loop( metal_a_supports_paint_setup( session, METAL_SUPPORTS_THICK_ALT_CENTRED, 2, 0, height - 8, session.TrackColours[SCHEME_TRACK]); PaintAddImageAsChildRotated( - session, direction, session.TrackColours[SCHEME_TRACK] | 15387, 16, 0, 2, 16, 119, height, 16, 0, - height); + session, direction, session.TrackColours[SCHEME_TRACK] | 15387, { 16, 0, height }, { 2, 16, 119 }, + { 16, 0, height }); break; case 2: PaintAddImageAsParentRotated( @@ -2617,8 +2617,8 @@ static void looping_rc_track_right_vertical_loop( metal_a_supports_paint_setup( session, METAL_SUPPORTS_THICK, 3, 0, height - 8, session.TrackColours[SCHEME_TRACK]); PaintAddImageAsChildRotated( - session, direction, session.TrackColours[SCHEME_TRACK] | 15384, 16, 16, 2, 16, 119, height, 16, 16, - height); + session, direction, session.TrackColours[SCHEME_TRACK] | 15384, { 16, 16, height }, { 2, 16, 119 }, + { 16, 16, height }); break; case 3: PaintAddImageAsParentRotated( @@ -2627,8 +2627,8 @@ static void looping_rc_track_right_vertical_loop( metal_a_supports_paint_setup( session, METAL_SUPPORTS_THICK_ALT, 1, 0, height - 8, session.TrackColours[SCHEME_TRACK]); PaintAddImageAsChildRotated( - session, direction, session.TrackColours[SCHEME_TRACK] | 15386, 10, 16, 4, 16, 119, height, 10, 16, - height); + session, direction, session.TrackColours[SCHEME_TRACK] | 15386, { 10, 16, height }, { 4, 16, 119 }, + { 10, 16, height }); break; } paint_util_set_general_support_height(session, height + 168, 0x20); diff --git a/src/openrct2/ride/coaster/MineTrainCoaster.cpp b/src/openrct2/ride/coaster/MineTrainCoaster.cpp index 54747d527b..998dddd54e 100644 --- a/src/openrct2/ride/coaster/MineTrainCoaster.cpp +++ b/src/openrct2/ride/coaster/MineTrainCoaster.cpp @@ -109,14 +109,14 @@ static void mine_train_rc_track_station( { bool isClosed = trackElement.BlockBrakeClosed(); PaintAddImageAsChildRotated( - session, direction, _MineTrainBlockBrakeImages[direction][isClosed] | session.TrackColours[SCHEME_TRACK], 0, 0, 32, - 20, 1, height, 0, 0, height); + session, direction, _MineTrainBlockBrakeImages[direction][isClosed] | session.TrackColours[SCHEME_TRACK], + { 0, 0, height }, { 32, 20, 1 }, { 0, 0, height }); } else { PaintAddImageAsChildRotated( - session, direction, imageIds[direction][0] | session.TrackColours[SCHEME_TRACK], 0, 0, 32, 20, 1, height, 0, 0, - height); + session, direction, imageIds[direction][0] | session.TrackColours[SCHEME_TRACK], { 0, 0, height }, { 32, 20, 1 }, + { 0, 0, height }); } track_paint_util_draw_station_metal_supports_2(session, direction, height, session.TrackColours[SCHEME_SUPPORTS], 3); track_paint_util_draw_station(session, ride, direction, height, trackElement); diff --git a/src/openrct2/ride/coaster/MiniSuspendedCoaster.cpp b/src/openrct2/ride/coaster/MiniSuspendedCoaster.cpp index ec853a65c5..d0381bb46f 100644 --- a/src/openrct2/ride/coaster/MiniSuspendedCoaster.cpp +++ b/src/openrct2/ride/coaster/MiniSuspendedCoaster.cpp @@ -97,8 +97,8 @@ static void mini_suspended_rc_track_station( PaintAddImageAsParentRotated( session, direction, imageIds[direction][1] | session.TrackColours[SCHEME_TRACK], { 0, 6, height + 24 }, { 32, 20, 1 }); PaintAddImageAsChildRotated( - session, direction, imageIds[direction][2] | session.TrackColours[SCHEME_SUPPORTS], 0, 6, 32, 20, 1, height + 24, 0, 2, - height); + session, direction, imageIds[direction][2] | session.TrackColours[SCHEME_SUPPORTS], { 0, 6, height + 24 }, + { 32, 20, 1 }, { 0, 2, height }); track_paint_util_draw_station_metal_supports_2(session, direction, height, session.TrackColours[SCHEME_SUPPORTS], 3); track_paint_util_draw_station_inverted(session, ride, direction, height, trackElement, STATION_VARIANT_1); paint_util_push_tunnel_rotated(session, direction, height, TUNNEL_SQUARE_FLAT); diff --git a/src/openrct2/ride/coaster/ReverseFreefallCoaster.cpp b/src/openrct2/ride/coaster/ReverseFreefallCoaster.cpp index 6f2459019c..37bd4d591a 100644 --- a/src/openrct2/ride/coaster/ReverseFreefallCoaster.cpp +++ b/src/openrct2/ride/coaster/ReverseFreefallCoaster.cpp @@ -285,7 +285,8 @@ static void paint_reverse_freefall_rc_slope( bbHeight = bbHeights03[trackSequence]; PaintAddImageAsParentRotated( session, direction, supportsImageId, { 0, 0, height }, { 32, 20, bbHeight }, { 0, 6, height }); - PaintAddImageAsChildRotated(session, direction, trackImageId, 0, 0, 32, 20, bbHeight, height, 0, 6, height); + PaintAddImageAsChildRotated( + session, direction, trackImageId, { 0, 0, height }, { 32, 20, bbHeight }, { 0, 6, height }); int32_t tunnelOffset = tunnelOffsets03[trackSequence]; if (direction & 1) @@ -302,7 +303,8 @@ static void paint_reverse_freefall_rc_slope( bbHeight = bbHeights12[trackSequence]; PaintAddImageAsParentRotated( session, direction, trackImageId, { 0, 0, height }, { 32, 20, bbHeight }, { 0, 6, height }); - PaintAddImageAsChildRotated(session, direction, supportsImageId, 0, 0, 32, 20, bbHeight, height, 0, 6, height); + PaintAddImageAsChildRotated( + session, direction, supportsImageId, { 0, 0, height }, { 32, 20, bbHeight }, { 0, 6, height }); } wooden_a_supports_paint_setup(session, direction & 1, 0, height, session.TrackColours[SCHEME_SUPPORTS]); @@ -323,8 +325,8 @@ static void paint_reverse_freefall_rc_slope( } PaintAddImageAsParent(session, floorImageId, { 0, 0, height }, { 26, 26, 126 }, { 3, 3, height }); PaintAddImageAsChildRotated( - session, direction, supportsImageId, 0, 0, isDirection03 ? 26 : 18, 26, 126, height, isDirection03 ? 3 : 11, - 3, height); + session, direction, supportsImageId, { 0, 0, height }, { isDirection03 ? 26 : 18, 26, 126 }, + { isDirection03 ? 3 : 11, 3, height }); } else { @@ -340,13 +342,15 @@ static void paint_reverse_freefall_rc_slope( { PaintAddImageAsParentRotated( session, direction, supportsImageId, { 0, 0, height }, { 5, 20, 79 }, { 0, 6, height + 128 }); - PaintAddImageAsChildRotated(session, direction, trackImageId, 0, 0, 5, 20, 79, height, 0, 6, height + 128); + PaintAddImageAsChildRotated( + session, direction, trackImageId, { 0, 0, height }, { 5, 20, 79 }, { 0, 6, height + 128 }); } else { PaintAddImageAsParentRotated( session, direction, trackImageId, { 0, 0, height }, { 1, 20, 126 }, { 27, 6, height }); - PaintAddImageAsChildRotated(session, direction, supportsImageId, 0, 0, 1, 20, 126, height, 27, 6, height); + PaintAddImageAsChildRotated( + session, direction, supportsImageId, { 0, 0, height }, { 1, 20, 126 }, { 27, 6, height }); } wooden_a_supports_paint_setup(session, direction & 1, 0, height, session.TrackColours[SCHEME_SUPPORTS]); paint_util_set_segment_support_height(session, SEGMENTS_ALL, 0xFFFF, 0); diff --git a/src/openrct2/ride/coaster/ReverserRollerCoaster.cpp b/src/openrct2/ride/coaster/ReverserRollerCoaster.cpp index 8eab2adc06..83b4464dcb 100644 --- a/src/openrct2/ride/coaster/ReverserRollerCoaster.cpp +++ b/src/openrct2/ride/coaster/ReverserRollerCoaster.cpp @@ -110,7 +110,8 @@ static void reverser_rc_track_station( session, direction, imageIds[direction][1] | session.TrackColours[SCHEME_MISC], { 0, 0, height }, { 32, 27, 2 }, { 0, 2, height }); PaintAddImageAsChildRotated( - session, direction, imageIds[direction][0] | session.TrackColours[SCHEME_TRACK], 0, 0, 32, 27, 2, height, 0, 2, height); + session, direction, imageIds[direction][0] | session.TrackColours[SCHEME_TRACK], { 0, 0, height }, { 32, 27, 2 }, + { 0, 2, height }); wooden_a_supports_paint_setup(session, direction & 1, 0, height, session.TrackColours[SCHEME_SUPPORTS]); track_paint_util_draw_station_2(session, ride, direction, height, trackElement, 9, 11); paint_util_push_tunnel_rotated(session, direction, height, TUNNEL_SQUARE_FLAT); diff --git a/src/openrct2/ride/coaster/Steeplechase.cpp b/src/openrct2/ride/coaster/Steeplechase.cpp index 7015ea1a91..b9f2be4096 100644 --- a/src/openrct2/ride/coaster/Steeplechase.cpp +++ b/src/openrct2/ride/coaster/Steeplechase.cpp @@ -84,7 +84,8 @@ static void steeplechase_track_station( session, direction, imageIds[direction][1] | session.TrackColours[SCHEME_MISC], { 0, 0, height - 2 }, { 32, 28, 3 }, { 0, 2, height }); PaintAddImageAsChildRotated( - session, direction, imageIds[direction][0] | session.TrackColours[SCHEME_TRACK], 0, 6, 32, 20, 3, height, 0, 0, height); + session, direction, imageIds[direction][0] | session.TrackColours[SCHEME_TRACK], { 0, 6, height }, { 32, 20, 3 }, + { 0, 0, height }); track_paint_util_draw_station_metal_supports_2(session, direction, height, session.TrackColours[SCHEME_SUPPORTS], 3); track_paint_util_draw_station(session, ride, direction, height, trackElement); paint_util_push_tunnel_rotated(session, direction, height, TUNNEL_SQUARE_FLAT); diff --git a/src/openrct2/ride/coaster/SuspendedSwingingCoaster.cpp b/src/openrct2/ride/coaster/SuspendedSwingingCoaster.cpp index 3ca2d1b75b..f6ed859efb 100644 --- a/src/openrct2/ride/coaster/SuspendedSwingingCoaster.cpp +++ b/src/openrct2/ride/coaster/SuspendedSwingingCoaster.cpp @@ -90,8 +90,8 @@ static void suspended_swinging_rc_track_station( session, direction, imageIds[direction][1] | session.TrackColours[SCHEME_TRACK], { 0, 0, height + 29 }, { 32, 20, 3 }, { 0, 6, height + 29 }); PaintAddImageAsChildRotated( - session, direction, imageIds[direction][2] | session.TrackColours[SCHEME_SUPPORTS], 0, 6, 32, 20, 3, height + 29, 0, 6, - height + 29); + session, direction, imageIds[direction][2] | session.TrackColours[SCHEME_SUPPORTS], { 0, 6, height + 29 }, + { 32, 20, 3 }, { 0, 6, height + 29 }); track_paint_util_draw_station_metal_supports_2(session, direction, height, session.TrackColours[SCHEME_SUPPORTS], 0); track_paint_util_draw_station_inverted(session, ride, direction, height, trackElement, STATION_VARIANT_TALL); paint_util_push_tunnel_rotated(session, direction, height, TUNNEL_SQUARE_INVERTED_9); diff --git a/src/openrct2/ride/coaster/WildMouse.cpp b/src/openrct2/ride/coaster/WildMouse.cpp index 9956421abd..efd3400055 100644 --- a/src/openrct2/ride/coaster/WildMouse.cpp +++ b/src/openrct2/ride/coaster/WildMouse.cpp @@ -207,14 +207,14 @@ static void wild_mouse_track_station( { bool isClosed = trackElement.BlockBrakeClosed(); PaintAddImageAsChildRotated( - session, direction, _wild_mouse_block_brakes_image_ids[direction][isClosed] | session.TrackColours[SCHEME_TRACK], 0, - 0, 32, 20, 2, height, 0, 0, height); + session, direction, _wild_mouse_block_brakes_image_ids[direction][isClosed] | session.TrackColours[SCHEME_TRACK], + { 0, 0, height }, { 32, 20, 2 }, { 0, 0, height }); } else { PaintAddImageAsChildRotated( - session, direction, _wild_mouse_brakes_image_ids[direction] | session.TrackColours[SCHEME_TRACK], 0, 0, 32, 20, 2, - height, 0, 0, height); + session, direction, _wild_mouse_brakes_image_ids[direction] | session.TrackColours[SCHEME_TRACK], { 0, 0, height }, + { 32, 20, 2 }, { 0, 0, height }); } track_paint_util_draw_station_metal_supports(session, direction, height, session.TrackColours[SCHEME_SUPPORTS]); track_paint_util_draw_station(session, ride, direction, height, trackElement); diff --git a/src/openrct2/ride/coaster/WoodenRollerCoaster.cpp b/src/openrct2/ride/coaster/WoodenRollerCoaster.cpp index 8211ad442d..1463059ee4 100644 --- a/src/openrct2/ride/coaster/WoodenRollerCoaster.cpp +++ b/src/openrct2/ride/coaster/WoodenRollerCoaster.cpp @@ -416,8 +416,9 @@ static paint_struct* wooden_rc_track_paint( { bound_box_length_x, bound_box_length_y, bound_box_length_z }, { bound_box_offset_x, bound_box_offset_y, bound_box_offset_z }); return PaintAddImageAsChildRotated( - session, direction, railsImageId, x_offset, y_offset, bound_box_length_x, bound_box_length_y, bound_box_length_z, - z_offset, bound_box_offset_x, bound_box_offset_y, bound_box_offset_z); + session, direction, railsImageId, { x_offset, y_offset, z_offset }, + { bound_box_length_x, bound_box_length_y, bound_box_length_z }, + { bound_box_offset_x, bound_box_offset_y, bound_box_offset_z }); } static void wooden_rc_track_paint_bb(paint_session& session, const sprite_bb_2* bb, int16_t height) @@ -2125,7 +2126,8 @@ static void wooden_rc_track_left_quarter_turn_5_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 23781, { 0, 0, height }, { 32, 27, 2 }, { 0, 2, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24647, 0, 0, 32, 27, 2, height, 0, 2, height); + session, direction, wooden_rc_get_rails_colour(session) | 24647, { 0, 0, height }, { 32, 27, 2 }, + { 0, 2, height }); wooden_a_supports_paint_setup(session, 0, 9, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -2133,13 +2135,14 @@ static void wooden_rc_track_left_quarter_turn_5_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 23786, { 0, 0, height }, { 32, 27, 2 }, { 0, 2, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24652, 0, 0, 32, 27, 2, height, 0, 2, height); + session, direction, wooden_rc_get_rails_colour(session) | 24652, { 0, 0, height }, { 32, 27, 2 }, + { 0, 2, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23812, { 0, 0, height }, { 32, 27, 0 }, { 0, 2, height + 67 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24678, 0, 0, 32, 27, 0, height, 0, 2, - height + 67); + session, direction, wooden_rc_get_rails_colour(session) | 24678, { 0, 0, height }, { 32, 27, 0 }, + { 0, 2, height + 67 }); wooden_a_supports_paint_setup(session, 1, 10, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -2147,7 +2150,8 @@ static void wooden_rc_track_left_quarter_turn_5_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 23791, { 0, 0, height }, { 32, 27, 2 }, { 0, 2, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24657, 0, 0, 32, 27, 2, height, 0, 2, height); + session, direction, wooden_rc_get_rails_colour(session) | 24657, { 0, 0, height }, { 32, 27, 2 }, + { 0, 2, height }); wooden_a_supports_paint_setup(session, 0, 11, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -2155,7 +2159,8 @@ static void wooden_rc_track_left_quarter_turn_5_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 23796, { 0, 0, height }, { 32, 27, 2 }, { 0, 2, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24662, 0, 0, 32, 27, 2, height, 0, 2, height); + session, direction, wooden_rc_get_rails_colour(session) | 24662, { 0, 0, height }, { 32, 27, 2 }, + { 0, 2, height }); wooden_a_supports_paint_setup(session, 1, 12, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -2179,7 +2184,8 @@ static void wooden_rc_track_left_quarter_turn_5_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 23782, { 0, 0, height }, { 32, 16, 2 }, { 0, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24648, 0, 0, 32, 16, 2, height, 0, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24648, { 0, 0, height }, { 32, 16, 2 }, + { 0, 0, height }); wooden_a_supports_paint_setup(session, 5, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -2187,13 +2193,14 @@ static void wooden_rc_track_left_quarter_turn_5_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 23787, { 0, 0, height }, { 32, 16, 2 }, { 0, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24653, 0, 0, 32, 16, 2, height, 0, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24653, { 0, 0, height }, { 32, 16, 2 }, + { 0, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23813, { 0, 0, height }, { 32, 16, 0 }, { 0, 0, height + 67 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24679, 0, 0, 32, 16, 0, height, 0, 0, - height + 67); + session, direction, wooden_rc_get_rails_colour(session) | 24679, { 0, 0, height }, { 32, 16, 0 }, + { 0, 0, height + 67 }); wooden_a_supports_paint_setup(session, 2, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -2201,8 +2208,8 @@ static void wooden_rc_track_left_quarter_turn_5_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 23792, { 0, 0, height }, { 32, 16, 2 }, { 0, 16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24658, 0, 0, 32, 16, 2, height, 0, 16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24658, { 0, 0, height }, { 32, 16, 2 }, + { 0, 16, height }); wooden_a_supports_paint_setup(session, 3, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -2210,14 +2217,14 @@ static void wooden_rc_track_left_quarter_turn_5_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 23797, { 0, 0, height }, { 32, 16, 2 }, { 0, 16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24663, 0, 0, 32, 16, 2, height, 0, 16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24663, { 0, 0, height }, { 32, 16, 2 }, + { 0, 16, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23819, { 0, 0, height }, { 32, 16, 0 }, { 0, 16, height + 67 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24685, 0, 0, 32, 16, 0, height, 0, 16, - height + 67); + session, direction, wooden_rc_get_rails_colour(session) | 24685, { 0, 0, height }, { 32, 16, 0 }, + { 0, 16, height + 67 }); wooden_a_supports_paint_setup(session, 4, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -2236,8 +2243,8 @@ static void wooden_rc_track_left_quarter_turn_5_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 23783, { 0, 0, height }, { 16, 16, 2 }, { 0, 16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24649, 0, 0, 16, 16, 2, height, 0, 16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24649, { 0, 0, height }, { 16, 16, 2 }, + { 0, 16, height }); wooden_a_supports_paint_setup(session, 3, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -2245,14 +2252,14 @@ static void wooden_rc_track_left_quarter_turn_5_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 23788, { 0, 0, height }, { 16, 16, 2 }, { 16, 16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24654, 0, 0, 16, 16, 2, height, 16, 16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24654, { 0, 0, height }, { 16, 16, 2 }, + { 16, 16, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23814, { 0, 0, height }, { 16, 16, 0 }, { 16, 16, height + 59 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24680, 0, 0, 16, 16, 0, height, 16, 16, - height + 59); + session, direction, wooden_rc_get_rails_colour(session) | 24680, { 0, 0, height }, { 16, 16, 0 }, + { 16, 16, height + 59 }); wooden_a_supports_paint_setup(session, 4, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -2260,8 +2267,8 @@ static void wooden_rc_track_left_quarter_turn_5_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 23793, { 0, 0, height }, { 16, 16, 2 }, { 16, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24659, 0, 0, 16, 16, 2, height, 16, 0, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24659, { 0, 0, height }, { 16, 16, 2 }, + { 16, 0, height }); wooden_a_supports_paint_setup(session, 5, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -2269,13 +2276,14 @@ static void wooden_rc_track_left_quarter_turn_5_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 23798, { 0, 0, height }, { 16, 16, 2 }, { 0, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24664, 0, 0, 16, 16, 2, height, 0, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24664, { 0, 0, height }, { 16, 16, 2 }, + { 0, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23820, { 0, 0, height }, { 16, 16, 0 }, { 0, 0, height + 59 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24686, 0, 0, 16, 16, 0, height, 0, 0, - height + 59); + session, direction, wooden_rc_get_rails_colour(session) | 24686, { 0, 0, height }, { 16, 16, 0 }, + { 0, 0, height + 59 }); wooden_a_supports_paint_setup(session, 2, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -2300,8 +2308,8 @@ static void wooden_rc_track_left_quarter_turn_5_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 23784, { 0, 0, height }, { 16, 32, 2 }, { 16, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24650, 0, 0, 16, 32, 2, height, 16, 0, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24650, { 0, 0, height }, { 16, 32, 2 }, + { 16, 0, height }); wooden_a_supports_paint_setup(session, 5, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -2309,13 +2317,14 @@ static void wooden_rc_track_left_quarter_turn_5_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 23789, { 0, 0, height }, { 16, 32, 2 }, { 0, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24655, 0, 0, 16, 32, 2, height, 0, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24655, { 0, 0, height }, { 16, 32, 2 }, + { 0, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23815, { 0, 0, height }, { 16, 32, 0 }, { 0, 0, height + 67 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24681, 0, 0, 16, 32, 0, height, 0, 0, - height + 67); + session, direction, wooden_rc_get_rails_colour(session) | 24681, { 0, 0, height }, { 16, 32, 0 }, + { 0, 0, height + 67 }); wooden_a_supports_paint_setup(session, 2, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -2323,13 +2332,14 @@ static void wooden_rc_track_left_quarter_turn_5_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 23794, { 0, 0, height }, { 16, 32, 2 }, { 0, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24660, 0, 0, 16, 32, 2, height, 0, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24660, { 0, 0, height }, { 16, 32, 2 }, + { 0, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23817, { 0, 0, height }, { 16, 32, 0 }, { 0, 0, height + 67 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24683, 0, 0, 16, 32, 0, height, 0, 0, - height + 67); + session, direction, wooden_rc_get_rails_colour(session) | 24683, { 0, 0, height }, { 16, 32, 0 }, + { 0, 0, height + 67 }); wooden_a_supports_paint_setup(session, 3, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -2337,14 +2347,14 @@ static void wooden_rc_track_left_quarter_turn_5_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 23799, { 0, 0, height }, { 16, 32, 2 }, { 16, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24665, 0, 0, 16, 32, 2, height, 16, 0, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24665, { 0, 0, height }, { 16, 32, 2 }, + { 16, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23821, { 0, 0, height }, { 16, 32, 0 }, { 16, 0, height + 67 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24687, 0, 0, 16, 32, 0, height, 16, 0, - height + 67); + session, direction, wooden_rc_get_rails_colour(session) | 24687, { 0, 0, height }, { 16, 32, 0 }, + { 16, 0, height + 67 }); wooden_a_supports_paint_setup(session, 4, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -2363,7 +2373,8 @@ static void wooden_rc_track_left_quarter_turn_5_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 23785, { 0, 0, height }, { 27, 32, 2 }, { 2, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24651, 0, 0, 27, 32, 2, height, 2, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24651, { 0, 0, height }, { 27, 32, 2 }, + { 2, 0, height }); wooden_a_supports_paint_setup(session, 1, 12, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -2371,13 +2382,14 @@ static void wooden_rc_track_left_quarter_turn_5_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 23790, { 0, 0, height }, { 27, 32, 2 }, { 2, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24656, 0, 0, 27, 32, 2, height, 2, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24656, { 0, 0, height }, { 27, 32, 2 }, + { 2, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23816, { 0, 0, height }, { 27, 32, 0 }, { 2, 0, height + 67 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24682, 0, 0, 27, 32, 0, height, 2, 0, - height + 67); + session, direction, wooden_rc_get_rails_colour(session) | 24682, { 0, 0, height }, { 27, 32, 0 }, + { 2, 0, height + 67 }); wooden_a_supports_paint_setup(session, 0, 9, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -2385,13 +2397,14 @@ static void wooden_rc_track_left_quarter_turn_5_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 23795, { 0, 0, height }, { 27, 32, 2 }, { 2, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24661, 0, 0, 27, 32, 2, height, 2, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24661, { 0, 0, height }, { 27, 32, 2 }, + { 2, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23818, { 0, 0, height }, { 27, 32, 0 }, { 2, 0, height + 67 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24684, 0, 0, 27, 32, 0, height, 2, 0, - height + 67); + session, direction, wooden_rc_get_rails_colour(session) | 24684, { 0, 0, height }, { 27, 32, 0 }, + { 2, 0, height + 67 }); wooden_a_supports_paint_setup(session, 1, 10, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -2399,13 +2412,14 @@ static void wooden_rc_track_left_quarter_turn_5_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 23800, { 0, 0, height }, { 27, 32, 2 }, { 2, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24666, 0, 0, 27, 32, 2, height, 2, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24666, { 0, 0, height }, { 27, 32, 2 }, + { 2, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23822, { 0, 0, height }, { 27, 32, 0 }, { 2, 0, height + 67 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24688, 0, 0, 27, 32, 0, height, 2, 0, - height + 67); + session, direction, wooden_rc_get_rails_colour(session) | 24688, { 0, 0, height }, { 27, 32, 0 }, + { 2, 0, height + 67 }); wooden_a_supports_paint_setup(session, 0, 11, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -2439,7 +2453,8 @@ static void wooden_rc_track_right_quarter_turn_5_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 23761, { 0, 0, height }, { 32, 27, 2 }, { 0, 2, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24627, 0, 0, 32, 27, 2, height, 0, 2, height); + session, direction, wooden_rc_get_rails_colour(session) | 24627, { 0, 0, height }, { 32, 27, 2 }, + { 0, 2, height }); wooden_a_supports_paint_setup(session, 0, 9, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -2447,7 +2462,8 @@ static void wooden_rc_track_right_quarter_turn_5_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 23766, { 0, 0, height }, { 32, 27, 2 }, { 0, 2, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24632, 0, 0, 32, 27, 2, height, 0, 2, height); + session, direction, wooden_rc_get_rails_colour(session) | 24632, { 0, 0, height }, { 32, 27, 2 }, + { 0, 2, height }); wooden_a_supports_paint_setup(session, 1, 10, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -2455,13 +2471,14 @@ static void wooden_rc_track_right_quarter_turn_5_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 23771, { 0, 0, height }, { 32, 27, 2 }, { 0, 2, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24637, 0, 0, 32, 27, 2, height, 0, 2, height); + session, direction, wooden_rc_get_rails_colour(session) | 24637, { 0, 0, height }, { 32, 27, 2 }, + { 0, 2, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23807, { 0, 0, height }, { 32, 27, 0 }, { 0, 2, height + 67 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24673, 0, 0, 32, 27, 0, height, 0, 2, - height + 67); + session, direction, wooden_rc_get_rails_colour(session) | 24673, { 0, 0, height }, { 32, 27, 0 }, + { 0, 2, height + 67 }); wooden_a_supports_paint_setup(session, 0, 11, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -2469,7 +2486,8 @@ static void wooden_rc_track_right_quarter_turn_5_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 23776, { 0, 0, height }, { 32, 27, 2 }, { 0, 2, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24642, 0, 0, 32, 27, 2, height, 0, 2, height); + session, direction, wooden_rc_get_rails_colour(session) | 24642, { 0, 0, height }, { 32, 27, 2 }, + { 0, 2, height }); wooden_a_supports_paint_setup(session, 1, 12, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -2493,14 +2511,14 @@ static void wooden_rc_track_right_quarter_turn_5_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 23762, { 0, 0, height }, { 32, 16, 2 }, { 0, 16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24628, 0, 0, 32, 16, 2, height, 0, 16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24628, { 0, 0, height }, { 32, 16, 2 }, + { 0, 16, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23801, { 0, 0, height }, { 32, 16, 0 }, { 0, 16, height + 67 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24667, 0, 0, 32, 16, 0, height, 0, 16, - height + 67); + session, direction, wooden_rc_get_rails_colour(session) | 24667, { 0, 0, height }, { 32, 16, 0 }, + { 0, 16, height + 67 }); wooden_a_supports_paint_setup(session, 4, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -2508,8 +2526,8 @@ static void wooden_rc_track_right_quarter_turn_5_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 23767, { 0, 0, height }, { 32, 16, 2 }, { 0, 16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24633, 0, 0, 32, 16, 2, height, 0, 16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24633, { 0, 0, height }, { 32, 16, 2 }, + { 0, 16, height }); wooden_a_supports_paint_setup(session, 5, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -2517,13 +2535,14 @@ static void wooden_rc_track_right_quarter_turn_5_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 23772, { 0, 0, height }, { 32, 16, 2 }, { 0, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24638, 0, 0, 32, 16, 2, height, 0, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24638, { 0, 0, height }, { 32, 16, 2 }, + { 0, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23808, { 0, 0, height }, { 32, 16, 0 }, { 0, 0, height + 67 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24674, 0, 0, 32, 16, 0, height, 0, 0, - height + 67); + session, direction, wooden_rc_get_rails_colour(session) | 24674, { 0, 0, height }, { 32, 16, 0 }, + { 0, 0, height + 67 }); wooden_a_supports_paint_setup(session, 2, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -2531,7 +2550,8 @@ static void wooden_rc_track_right_quarter_turn_5_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 23777, { 0, 0, height }, { 32, 16, 2 }, { 0, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24643, 0, 0, 32, 16, 2, height, 0, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24643, { 0, 0, height }, { 32, 16, 2 }, + { 0, 0, height }); wooden_a_supports_paint_setup(session, 3, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -2550,13 +2570,14 @@ static void wooden_rc_track_right_quarter_turn_5_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 23763, { 0, 0, height }, { 16, 16, 2 }, { 0, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24629, 0, 0, 16, 16, 2, height, 0, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24629, { 0, 0, height }, { 16, 16, 2 }, + { 0, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23802, { 0, 0, height }, { 16, 16, 0 }, { 0, 0, height + 59 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24668, 0, 0, 16, 16, 0, height, 0, 0, - height + 59); + session, direction, wooden_rc_get_rails_colour(session) | 24668, { 0, 0, height }, { 16, 16, 0 }, + { 0, 0, height + 59 }); wooden_a_supports_paint_setup(session, 2, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -2564,8 +2585,8 @@ static void wooden_rc_track_right_quarter_turn_5_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 23768, { 0, 0, height }, { 16, 16, 2 }, { 16, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24634, 0, 0, 16, 16, 2, height, 16, 0, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24634, { 0, 0, height }, { 16, 16, 2 }, + { 16, 0, height }); wooden_a_supports_paint_setup(session, 3, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -2573,14 +2594,14 @@ static void wooden_rc_track_right_quarter_turn_5_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 23773, { 0, 0, height }, { 16, 16, 2 }, { 16, 16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24639, 0, 0, 16, 16, 2, height, 16, 16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24639, { 0, 0, height }, { 16, 16, 2 }, + { 16, 16, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23809, { 0, 0, height }, { 16, 16, 0 }, { 16, 16, height + 59 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24675, 0, 0, 16, 16, 0, height, 16, 16, - height + 59); + session, direction, wooden_rc_get_rails_colour(session) | 24675, { 0, 0, height }, { 16, 16, 0 }, + { 16, 16, height + 59 }); wooden_a_supports_paint_setup(session, 4, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -2588,8 +2609,8 @@ static void wooden_rc_track_right_quarter_turn_5_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 23778, { 0, 0, height }, { 16, 16, 2 }, { 0, 16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24644, 0, 0, 16, 16, 2, height, 0, 16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24644, { 0, 0, height }, { 16, 16, 2 }, + { 0, 16, height }); wooden_a_supports_paint_setup(session, 5, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -2614,14 +2635,14 @@ static void wooden_rc_track_right_quarter_turn_5_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 23764, { 0, 0, height }, { 16, 32, 2 }, { 16, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24630, 0, 0, 16, 32, 2, height, 16, 0, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24630, { 0, 0, height }, { 16, 32, 2 }, + { 16, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23803, { 0, 0, height }, { 16, 32, 0 }, { 16, 0, height + 67 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24669, 0, 0, 16, 32, 0, height, 16, 0, - height + 67); + session, direction, wooden_rc_get_rails_colour(session) | 24669, { 0, 0, height }, { 16, 32, 0 }, + { 16, 0, height + 67 }); wooden_a_supports_paint_setup(session, 4, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -2629,13 +2650,14 @@ static void wooden_rc_track_right_quarter_turn_5_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 23769, { 0, 0, height }, { 16, 32, 2 }, { 0, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24635, 0, 0, 16, 32, 2, height, 0, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24635, { 0, 0, height }, { 16, 32, 2 }, + { 0, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23805, { 0, 0, height }, { 16, 32, 0 }, { 0, 0, height + 67 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24671, 0, 0, 16, 32, 0, height, 0, 0, - height + 67); + session, direction, wooden_rc_get_rails_colour(session) | 24671, { 0, 0, height }, { 16, 32, 0 }, + { 0, 0, height + 67 }); wooden_a_supports_paint_setup(session, 5, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -2643,13 +2665,14 @@ static void wooden_rc_track_right_quarter_turn_5_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 23774, { 0, 0, height }, { 16, 32, 2 }, { 0, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24640, 0, 0, 16, 32, 2, height, 0, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24640, { 0, 0, height }, { 16, 32, 2 }, + { 0, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23810, { 0, 0, height }, { 16, 32, 0 }, { 0, 0, height + 67 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24676, 0, 0, 16, 32, 0, height, 0, 0, - height + 67); + session, direction, wooden_rc_get_rails_colour(session) | 24676, { 0, 0, height }, { 16, 32, 0 }, + { 0, 0, height + 67 }); wooden_a_supports_paint_setup(session, 2, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -2657,8 +2680,8 @@ static void wooden_rc_track_right_quarter_turn_5_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 23779, { 0, 0, height }, { 16, 32, 2 }, { 16, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24645, 0, 0, 16, 32, 2, height, 16, 0, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24645, { 0, 0, height }, { 16, 32, 2 }, + { 16, 0, height }); wooden_a_supports_paint_setup(session, 3, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -2677,13 +2700,14 @@ static void wooden_rc_track_right_quarter_turn_5_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 23765, { 0, 0, height }, { 27, 32, 2 }, { 2, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24631, 0, 0, 27, 32, 2, height, 2, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24631, { 0, 0, height }, { 27, 32, 2 }, + { 2, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23804, { 0, 0, height }, { 27, 32, 0 }, { 2, 0, height + 67 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24670, 0, 0, 27, 32, 0, height, 2, 0, - height + 67); + session, direction, wooden_rc_get_rails_colour(session) | 24670, { 0, 0, height }, { 27, 32, 0 }, + { 2, 0, height + 67 }); wooden_a_supports_paint_setup(session, 1, 10, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -2691,13 +2715,14 @@ static void wooden_rc_track_right_quarter_turn_5_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 23770, { 0, 0, height }, { 27, 32, 2 }, { 2, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24636, 0, 0, 27, 32, 2, height, 2, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24636, { 0, 0, height }, { 27, 32, 2 }, + { 2, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23806, { 0, 0, height }, { 27, 32, 0 }, { 2, 0, height + 67 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24672, 0, 0, 27, 32, 0, height, 2, 0, - height + 67); + session, direction, wooden_rc_get_rails_colour(session) | 24672, { 0, 0, height }, { 27, 32, 0 }, + { 2, 0, height + 67 }); wooden_a_supports_paint_setup(session, 0, 11, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -2705,13 +2730,14 @@ static void wooden_rc_track_right_quarter_turn_5_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 23775, { 0, 0, height }, { 27, 32, 2 }, { 2, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24641, 0, 0, 27, 32, 2, height, 2, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24641, { 0, 0, height }, { 27, 32, 2 }, + { 2, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23811, { 0, 0, height }, { 27, 32, 0 }, { 2, 0, height + 67 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24677, 0, 0, 27, 32, 0, height, 2, 0, - height + 67); + session, direction, wooden_rc_get_rails_colour(session) | 24677, { 0, 0, height }, { 27, 32, 0 }, + { 2, 0, height + 67 }); wooden_a_supports_paint_setup(session, 1, 12, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -2719,7 +2745,8 @@ static void wooden_rc_track_right_quarter_turn_5_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 23780, { 0, 0, height }, { 27, 32, 2 }, { 2, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24646, 0, 0, 27, 32, 2, height, 2, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24646, { 0, 0, height }, { 27, 32, 2 }, + { 2, 0, height }); wooden_a_supports_paint_setup(session, 0, 9, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -2771,7 +2798,8 @@ static void wooden_rc_track_s_bend_left( session, direction, wooden_rc_get_track_colour(session) | 23725, { 0, 0, height }, { 32, 25, 2 }, { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24591, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 24591, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); wooden_a_supports_paint_setup(session, 0, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -2779,13 +2807,14 @@ static void wooden_rc_track_s_bend_left( session, direction, wooden_rc_get_track_colour(session) | 23729, { 0, 0, height }, { 32, 25, 2 }, { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24595, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 24595, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23741, { 0, 0, height }, { 32, 25, 0 }, { 0, 3, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24607, 0, 0, 32, 25, 0, height, 0, 3, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24607, { 0, 0, height }, { 32, 25, 0 }, + { 0, 3, height + 27 }); wooden_a_supports_paint_setup(session, 1, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -2793,7 +2822,8 @@ static void wooden_rc_track_s_bend_left( session, direction, wooden_rc_get_track_colour(session) | 23728, { 0, 0, height }, { 32, 25, 2 }, { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24594, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 24594, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); wooden_a_supports_paint_setup(session, 0, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -2801,13 +2831,14 @@ static void wooden_rc_track_s_bend_left( session, direction, wooden_rc_get_track_colour(session) | 23732, { 0, 0, height }, { 32, 25, 2 }, { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24598, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 24598, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23744, { 0, 0, height }, { 32, 27, 0 }, { 0, 2, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24610, 0, 0, 32, 27, 0, height, 0, 2, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24610, { 0, 0, height }, { 32, 27, 0 }, + { 0, 2, height + 27 }); wooden_a_supports_paint_setup(session, 1, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -2826,7 +2857,8 @@ static void wooden_rc_track_s_bend_left( session, direction, wooden_rc_get_track_colour(session) | 23726, { 0, 0, height }, { 32, 26, 2 }, { 0, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24592, 0, 0, 32, 26, 2, height, 0, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24592, { 0, 0, height }, { 32, 26, 2 }, + { 0, 0, height }); wooden_a_supports_paint_setup(session, 5, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -2834,13 +2866,14 @@ static void wooden_rc_track_s_bend_left( session, direction, wooden_rc_get_track_colour(session) | 23730, { 0, 0, height }, { 32, 26, 2 }, { 0, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24596, 0, 0, 32, 26, 2, height, 0, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24596, { 0, 0, height }, { 32, 26, 2 }, + { 0, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23742, { 0, 0, height }, { 32, 26, 0 }, { 0, 0, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24608, 0, 0, 32, 26, 0, height, 0, 0, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24608, { 0, 0, height }, { 32, 26, 0 }, + { 0, 0, height + 27 }); wooden_a_supports_paint_setup(session, 2, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -2848,7 +2881,8 @@ static void wooden_rc_track_s_bend_left( session, direction, wooden_rc_get_track_colour(session) | 23727, { 0, 0, height }, { 32, 26, 2 }, { 0, 6, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24593, 0, 0, 32, 26, 2, height, 0, 6, height); + session, direction, wooden_rc_get_rails_colour(session) | 24593, { 0, 0, height }, { 32, 26, 2 }, + { 0, 6, height }); wooden_a_supports_paint_setup(session, 3, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -2856,13 +2890,14 @@ static void wooden_rc_track_s_bend_left( session, direction, wooden_rc_get_track_colour(session) | 23731, { 0, 0, height }, { 32, 26, 2 }, { 0, 6, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24597, 0, 0, 32, 26, 2, height, 0, 6, height); + session, direction, wooden_rc_get_rails_colour(session) | 24597, { 0, 0, height }, { 32, 26, 2 }, + { 0, 6, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23743, { 0, 0, height }, { 32, 26, 0 }, { 0, 6, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24609, 0, 0, 32, 26, 0, height, 0, 6, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24609, { 0, 0, height }, { 32, 26, 0 }, + { 0, 6, height + 27 }); wooden_a_supports_paint_setup(session, 4, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -2881,7 +2916,8 @@ static void wooden_rc_track_s_bend_left( session, direction, wooden_rc_get_track_colour(session) | 23727, { 0, 0, height }, { 32, 26, 2 }, { 0, 6, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24593, 0, 0, 32, 26, 2, height, 0, 6, height); + session, direction, wooden_rc_get_rails_colour(session) | 24593, { 0, 0, height }, { 32, 26, 2 }, + { 0, 6, height }); wooden_a_supports_paint_setup(session, 3, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -2889,13 +2925,14 @@ static void wooden_rc_track_s_bend_left( session, direction, wooden_rc_get_track_colour(session) | 23731, { 0, 0, height }, { 32, 26, 2 }, { 0, 6, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24597, 0, 0, 32, 26, 2, height, 0, 6, height); + session, direction, wooden_rc_get_rails_colour(session) | 24597, { 0, 0, height }, { 32, 26, 2 }, + { 0, 6, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23743, { 0, 0, height }, { 32, 26, 0 }, { 0, 6, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24609, 0, 0, 32, 26, 0, height, 0, 6, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24609, { 0, 0, height }, { 32, 26, 0 }, + { 0, 6, height + 27 }); wooden_a_supports_paint_setup(session, 4, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -2903,7 +2940,8 @@ static void wooden_rc_track_s_bend_left( session, direction, wooden_rc_get_track_colour(session) | 23726, { 0, 0, height }, { 32, 26, 2 }, { 0, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24592, 0, 0, 32, 26, 2, height, 0, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24592, { 0, 0, height }, { 32, 26, 2 }, + { 0, 0, height }); wooden_a_supports_paint_setup(session, 5, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -2911,13 +2949,14 @@ static void wooden_rc_track_s_bend_left( session, direction, wooden_rc_get_track_colour(session) | 23730, { 0, 0, height }, { 32, 26, 2 }, { 0, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24596, 0, 0, 32, 26, 2, height, 0, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24596, { 0, 0, height }, { 32, 26, 2 }, + { 0, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23742, { 0, 0, height }, { 32, 26, 0 }, { 0, 0, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24608, 0, 0, 32, 26, 0, height, 0, 0, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24608, { 0, 0, height }, { 32, 26, 0 }, + { 0, 0, height + 27 }); wooden_a_supports_paint_setup(session, 2, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -2936,7 +2975,8 @@ static void wooden_rc_track_s_bend_left( session, direction, wooden_rc_get_track_colour(session) | 23728, { 0, 0, height }, { 32, 25, 2 }, { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24594, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 24594, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); wooden_a_supports_paint_setup(session, 0, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -2944,13 +2984,14 @@ static void wooden_rc_track_s_bend_left( session, direction, wooden_rc_get_track_colour(session) | 23732, { 0, 0, height }, { 32, 25, 2 }, { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24598, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 24598, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23744, { 0, 0, height }, { 32, 27, 0 }, { 0, 2, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24610, 0, 0, 32, 27, 0, height, 0, 2, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24610, { 0, 0, height }, { 32, 27, 0 }, + { 0, 2, height + 27 }); wooden_a_supports_paint_setup(session, 1, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -2958,7 +2999,8 @@ static void wooden_rc_track_s_bend_left( session, direction, wooden_rc_get_track_colour(session) | 23725, { 0, 0, height }, { 32, 25, 2 }, { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24591, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 24591, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); wooden_a_supports_paint_setup(session, 0, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -2966,13 +3008,14 @@ static void wooden_rc_track_s_bend_left( session, direction, wooden_rc_get_track_colour(session) | 23729, { 0, 0, height }, { 32, 25, 2 }, { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24595, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 24595, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23741, { 0, 0, height }, { 32, 25, 0 }, { 0, 3, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24607, 0, 0, 32, 25, 0, height, 0, 3, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24607, { 0, 0, height }, { 32, 25, 0 }, + { 0, 3, height + 27 }); wooden_a_supports_paint_setup(session, 1, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -3006,13 +3049,14 @@ static void wooden_rc_track_s_bend_right( session, direction, wooden_rc_get_track_colour(session) | 23733, { 0, 0, height }, { 32, 25, 2 }, { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24599, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 24599, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23745, { 0, 0, height }, { 32, 25, 0 }, { 0, 3, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24611, 0, 0, 32, 25, 0, height, 0, 3, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24611, { 0, 0, height }, { 32, 25, 0 }, + { 0, 3, height + 27 }); wooden_a_supports_paint_setup(session, 0, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -3020,7 +3064,8 @@ static void wooden_rc_track_s_bend_right( session, direction, wooden_rc_get_track_colour(session) | 23737, { 0, 0, height }, { 32, 25, 2 }, { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24603, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 24603, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); wooden_a_supports_paint_setup(session, 1, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -3028,13 +3073,14 @@ static void wooden_rc_track_s_bend_right( session, direction, wooden_rc_get_track_colour(session) | 23736, { 0, 0, height }, { 32, 25, 2 }, { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24602, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 24602, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23748, { 0, 0, height }, { 32, 25, 0 }, { 0, 3, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24614, 0, 0, 32, 25, 0, height, 0, 3, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24614, { 0, 0, height }, { 32, 25, 0 }, + { 0, 3, height + 27 }); wooden_a_supports_paint_setup(session, 0, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -3042,7 +3088,8 @@ static void wooden_rc_track_s_bend_right( session, direction, wooden_rc_get_track_colour(session) | 23740, { 0, 0, height }, { 32, 25, 2 }, { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24606, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 24606, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); wooden_a_supports_paint_setup(session, 1, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -3061,13 +3108,14 @@ static void wooden_rc_track_s_bend_right( session, direction, wooden_rc_get_track_colour(session) | 23734, { 0, 0, height }, { 32, 26, 2 }, { 0, 6, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24600, 0, 0, 32, 26, 2, height, 0, 6, height); + session, direction, wooden_rc_get_rails_colour(session) | 24600, { 0, 0, height }, { 32, 26, 2 }, + { 0, 6, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23746, { 0, 0, height }, { 32, 26, 0 }, { 0, 6, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24612, 0, 0, 32, 26, 0, height, 0, 6, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24612, { 0, 0, height }, { 32, 26, 0 }, + { 0, 6, height + 27 }); wooden_a_supports_paint_setup(session, 4, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -3075,7 +3123,8 @@ static void wooden_rc_track_s_bend_right( session, direction, wooden_rc_get_track_colour(session) | 23738, { 0, 0, height }, { 32, 26, 2 }, { 0, 6, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24604, 0, 0, 32, 26, 2, height, 0, 6, height); + session, direction, wooden_rc_get_rails_colour(session) | 24604, { 0, 0, height }, { 32, 26, 2 }, + { 0, 6, height }); wooden_a_supports_paint_setup(session, 5, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -3083,13 +3132,14 @@ static void wooden_rc_track_s_bend_right( session, direction, wooden_rc_get_track_colour(session) | 23735, { 0, 0, height }, { 32, 26, 2 }, { 0, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24601, 0, 0, 32, 26, 2, height, 0, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24601, { 0, 0, height }, { 32, 26, 2 }, + { 0, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23747, { 0, 0, height }, { 32, 26, 0 }, { 0, 0, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24613, 0, 0, 32, 26, 0, height, 0, 0, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24613, { 0, 0, height }, { 32, 26, 0 }, + { 0, 0, height + 27 }); wooden_a_supports_paint_setup(session, 2, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -3097,7 +3147,8 @@ static void wooden_rc_track_s_bend_right( session, direction, wooden_rc_get_track_colour(session) | 23739, { 0, 0, height }, { 32, 26, 2 }, { 0, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24605, 0, 0, 32, 26, 2, height, 0, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24605, { 0, 0, height }, { 32, 26, 2 }, + { 0, 0, height }); wooden_a_supports_paint_setup(session, 3, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -3116,13 +3167,14 @@ static void wooden_rc_track_s_bend_right( session, direction, wooden_rc_get_track_colour(session) | 23735, { 0, 0, height }, { 32, 26, 2 }, { 0, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24601, 0, 0, 32, 26, 2, height, 0, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24601, { 0, 0, height }, { 32, 26, 2 }, + { 0, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23747, { 0, 0, height }, { 32, 26, 0 }, { 0, 0, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24613, 0, 0, 32, 26, 0, height, 0, 0, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24613, { 0, 0, height }, { 32, 26, 0 }, + { 0, 0, height + 27 }); wooden_a_supports_paint_setup(session, 2, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -3130,7 +3182,8 @@ static void wooden_rc_track_s_bend_right( session, direction, wooden_rc_get_track_colour(session) | 23739, { 0, 0, height }, { 32, 26, 2 }, { 0, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24605, 0, 0, 32, 26, 2, height, 0, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24605, { 0, 0, height }, { 32, 26, 2 }, + { 0, 0, height }); wooden_a_supports_paint_setup(session, 3, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -3138,13 +3191,14 @@ static void wooden_rc_track_s_bend_right( session, direction, wooden_rc_get_track_colour(session) | 23734, { 0, 0, height }, { 32, 26, 2 }, { 0, 6, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24600, 0, 0, 32, 26, 2, height, 0, 6, height); + session, direction, wooden_rc_get_rails_colour(session) | 24600, { 0, 0, height }, { 32, 26, 2 }, + { 0, 6, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23746, { 0, 0, height }, { 32, 26, 0 }, { 0, 6, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24612, 0, 0, 32, 26, 0, height, 0, 6, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24612, { 0, 0, height }, { 32, 26, 0 }, + { 0, 6, height + 27 }); wooden_a_supports_paint_setup(session, 4, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -3152,7 +3206,8 @@ static void wooden_rc_track_s_bend_right( session, direction, wooden_rc_get_track_colour(session) | 23738, { 0, 0, height }, { 32, 26, 2 }, { 0, 6, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24604, 0, 0, 32, 26, 2, height, 0, 6, height); + session, direction, wooden_rc_get_rails_colour(session) | 24604, { 0, 0, height }, { 32, 26, 2 }, + { 0, 6, height }); wooden_a_supports_paint_setup(session, 5, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -3171,13 +3226,14 @@ static void wooden_rc_track_s_bend_right( session, direction, wooden_rc_get_track_colour(session) | 23736, { 0, 0, height }, { 32, 25, 2 }, { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24602, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 24602, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23748, { 0, 0, height }, { 32, 25, 0 }, { 0, 3, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24614, 0, 0, 32, 25, 0, height, 0, 3, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24614, { 0, 0, height }, { 32, 25, 0 }, + { 0, 3, height + 27 }); wooden_a_supports_paint_setup(session, 0, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -3185,7 +3241,8 @@ static void wooden_rc_track_s_bend_right( session, direction, wooden_rc_get_track_colour(session) | 23740, { 0, 0, height }, { 32, 25, 2 }, { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24606, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 24606, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); wooden_a_supports_paint_setup(session, 1, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -3193,13 +3250,14 @@ static void wooden_rc_track_s_bend_right( session, direction, wooden_rc_get_track_colour(session) | 23733, { 0, 0, height }, { 32, 25, 2 }, { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24599, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 24599, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23745, { 0, 0, height }, { 32, 25, 0 }, { 0, 3, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24611, 0, 0, 32, 25, 0, height, 0, 3, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24611, { 0, 0, height }, { 32, 25, 0 }, + { 0, 3, height + 27 }); wooden_a_supports_paint_setup(session, 0, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -3207,7 +3265,8 @@ static void wooden_rc_track_s_bend_right( session, direction, wooden_rc_get_track_colour(session) | 23737, { 0, 0, height }, { 32, 25, 2 }, { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24603, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 24603, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); wooden_a_supports_paint_setup(session, 1, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -3723,7 +3782,8 @@ static void wooden_rc_track_left_quarter_turn_3( session, direction, wooden_rc_get_track_colour(session) | 23828, { 0, 6, height }, { 32, 20, 2 }, { 0, 6, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24694, 0, 6, 32, 20, 2, height, 0, 6, height); + session, direction, wooden_rc_get_rails_colour(session) | 24694, { 0, 6, height }, { 32, 20, 2 }, + { 0, 6, height }); wooden_a_supports_paint_setup(session, 5, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -3731,13 +3791,14 @@ static void wooden_rc_track_left_quarter_turn_3( session, direction, wooden_rc_get_track_colour(session) | 23831, { 0, 6, height }, { 32, 20, 2 }, { 0, 6, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24697, 0, 6, 32, 20, 2, height, 0, 6, height); + session, direction, wooden_rc_get_rails_colour(session) | 24697, { 0, 6, height }, { 32, 20, 2 }, + { 0, 6, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23840, { 0, 6, height }, { 32, 20, 0 }, { 0, 6, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24706, 0, 6, 32, 20, 0, height, 0, 6, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24706, { 0, 6, height }, { 32, 20, 0 }, + { 0, 6, height + 27 }); wooden_a_supports_paint_setup(session, 2, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -3745,7 +3806,8 @@ static void wooden_rc_track_left_quarter_turn_3( session, direction, wooden_rc_get_track_colour(session) | 23834, { 0, 6, height }, { 32, 20, 2 }, { 0, 6, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24700, 0, 6, 32, 20, 2, height, 0, 6, height); + session, direction, wooden_rc_get_rails_colour(session) | 24700, { 0, 6, height }, { 32, 20, 2 }, + { 0, 6, height }); wooden_a_supports_paint_setup(session, 3, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -3753,13 +3815,14 @@ static void wooden_rc_track_left_quarter_turn_3( session, direction, wooden_rc_get_track_colour(session) | 23825, { 0, 6, height }, { 32, 20, 2 }, { 0, 6, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24691, 0, 6, 32, 20, 2, height, 0, 6, height); + session, direction, wooden_rc_get_rails_colour(session) | 24691, { 0, 6, height }, { 32, 20, 2 }, + { 0, 6, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23837, { 0, 6, height }, { 32, 20, 0 }, { 0, 6, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24703, 0, 6, 32, 20, 0, height, 0, 6, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24703, { 0, 6, height }, { 32, 20, 0 }, + { 0, 6, height + 27 }); wooden_a_supports_paint_setup(session, 4, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -3781,43 +3844,44 @@ static void wooden_rc_track_left_quarter_turn_3( session, direction, wooden_rc_get_track_colour(session) | 23827, { 16, 0, height }, { 16, 16, 2 }, { 16, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24693, 16, 0, 16, 16, 2, height, 16, 0, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24693, { 16, 0, height }, { 16, 16, 2 }, + { 16, 0, height }); break; case 1: PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23830, { 0, 0, height }, { 16, 16, 2 }, { 0, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24696, 0, 0, 16, 16, 2, height, 0, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24696, { 0, 0, height }, { 16, 16, 2 }, + { 0, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23839, { 0, 0, height }, { 16, 16, 0 }, { 0, 0, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24705, 0, 0, 16, 16, 0, height, 0, 0, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24705, { 0, 0, height }, { 16, 16, 0 }, + { 0, 0, height + 27 }); break; case 2: PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23833, { 0, 16, height }, { 16, 16, 2 }, { 0, 16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24699, 0, 16, 16, 16, 2, height, 0, 16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24699, { 0, 16, height }, { 16, 16, 2 }, + { 0, 16, height }); break; case 3: PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23824, { 16, 16, height }, { 16, 16, 2 }, { 16, 16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24690, 16, 16, 16, 16, 2, height, 16, 16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24690, { 16, 16, height }, { 16, 16, 2 }, + { 16, 16, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23836, { 16, 16, height }, { 16, 16, 0 }, { 16, 16, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24702, 16, 16, 16, 16, 0, height, 16, 16, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24702, { 16, 16, height }, { 16, 16, 0 }, + { 16, 16, height + 27 }); break; } paint_util_set_segment_support_height( @@ -3832,7 +3896,8 @@ static void wooden_rc_track_left_quarter_turn_3( session, direction, wooden_rc_get_track_colour(session) | 23826, { 6, 0, height }, { 20, 32, 2 }, { 6, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24692, 6, 0, 20, 32, 2, height, 6, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24692, { 6, 0, height }, { 20, 32, 2 }, + { 6, 0, height }); wooden_a_supports_paint_setup(session, 5, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -3840,13 +3905,14 @@ static void wooden_rc_track_left_quarter_turn_3( session, direction, wooden_rc_get_track_colour(session) | 23829, { 6, 0, height }, { 20, 32, 2 }, { 6, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24695, 6, 0, 20, 32, 2, height, 6, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24695, { 6, 0, height }, { 20, 32, 2 }, + { 6, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23838, { 6, 0, height }, { 20, 32, 0 }, { 6, 0, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24704, 6, 0, 20, 32, 0, height, 6, 0, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24704, { 6, 0, height }, { 20, 32, 0 }, + { 6, 0, height + 27 }); wooden_a_supports_paint_setup(session, 2, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -3854,7 +3920,8 @@ static void wooden_rc_track_left_quarter_turn_3( session, direction, wooden_rc_get_track_colour(session) | 23832, { 6, 0, height }, { 20, 32, 2 }, { 6, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24698, 6, 0, 20, 32, 2, height, 6, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24698, { 6, 0, height }, { 20, 32, 2 }, + { 6, 0, height }); wooden_a_supports_paint_setup(session, 3, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -3862,13 +3929,14 @@ static void wooden_rc_track_left_quarter_turn_3( session, direction, wooden_rc_get_track_colour(session) | 23823, { 6, 0, height }, { 20, 32, 2 }, { 6, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24689, 6, 0, 20, 32, 2, height, 6, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24689, { 6, 0, height }, { 20, 32, 2 }, + { 6, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23835, { 6, 0, height }, { 20, 32, 0 }, { 6, 0, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24701, 6, 0, 20, 32, 0, height, 6, 0, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24701, { 6, 0, height }, { 20, 32, 0 }, + { 6, 0, height + 27 }); wooden_a_supports_paint_setup(session, 4, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -3911,7 +3979,8 @@ static void wooden_rc_track_left_quarter_turn_3_bank( session, direction, wooden_rc_get_track_colour(session) | 23846, { 0, 0, height }, { 32, 20, 2 }, { 0, 6, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24712, 0, 0, 32, 20, 2, height, 0, 6, height); + session, direction, wooden_rc_get_rails_colour(session) | 24712, { 0, 0, height }, { 32, 20, 2 }, + { 0, 6, height }); wooden_a_supports_paint_setup(session, 5, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -3919,13 +3988,14 @@ static void wooden_rc_track_left_quarter_turn_3_bank( session, direction, wooden_rc_get_track_colour(session) | 23849, { 0, 0, height }, { 32, 20, 2 }, { 0, 6, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24715, 0, 0, 32, 20, 2, height, 0, 6, height); + session, direction, wooden_rc_get_rails_colour(session) | 24715, { 0, 0, height }, { 32, 20, 2 }, + { 0, 6, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23858, { 0, 0, height }, { 32, 20, 0 }, { 0, 6, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24724, 0, 0, 32, 20, 0, height, 0, 6, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24724, { 0, 0, height }, { 32, 20, 0 }, + { 0, 6, height + 27 }); wooden_a_supports_paint_setup(session, 2, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -3933,7 +4003,8 @@ static void wooden_rc_track_left_quarter_turn_3_bank( session, direction, wooden_rc_get_track_colour(session) | 23852, { 0, 0, height }, { 32, 20, 2 }, { 0, 6, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24718, 0, 0, 32, 20, 2, height, 0, 6, height); + session, direction, wooden_rc_get_rails_colour(session) | 24718, { 0, 0, height }, { 32, 20, 2 }, + { 0, 6, height }); wooden_a_supports_paint_setup(session, 3, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -3941,13 +4012,14 @@ static void wooden_rc_track_left_quarter_turn_3_bank( session, direction, wooden_rc_get_track_colour(session) | 23843, { 0, 0, height }, { 32, 20, 2 }, { 0, 6, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24709, 0, 0, 32, 20, 2, height, 0, 6, height); + session, direction, wooden_rc_get_rails_colour(session) | 24709, { 0, 0, height }, { 32, 20, 2 }, + { 0, 6, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23855, { 0, 0, height }, { 32, 20, 0 }, { 0, 6, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24721, 0, 0, 32, 20, 0, height, 0, 6, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24721, { 0, 0, height }, { 32, 20, 0 }, + { 0, 6, height + 27 }); wooden_a_supports_paint_setup(session, 4, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -3969,43 +4041,44 @@ static void wooden_rc_track_left_quarter_turn_3_bank( session, direction, wooden_rc_get_track_colour(session) | 23845, { 0, 0, height }, { 16, 16, 2 }, { 16, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24711, 0, 0, 16, 16, 2, height, 16, 0, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24711, { 0, 0, height }, { 16, 16, 2 }, + { 16, 0, height }); break; case 1: PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23848, { 0, 0, height }, { 16, 16, 2 }, { 0, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24714, 0, 0, 16, 16, 2, height, 0, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24714, { 0, 0, height }, { 16, 16, 2 }, + { 0, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23857, { 0, 0, height }, { 16, 16, 0 }, { 0, 0, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24723, 0, 0, 16, 16, 0, height, 0, 0, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24723, { 0, 0, height }, { 16, 16, 0 }, + { 0, 0, height + 27 }); break; case 2: PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23851, { 0, 0, height }, { 16, 16, 2 }, { 0, 16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24717, 0, 0, 16, 16, 2, height, 0, 16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24717, { 0, 0, height }, { 16, 16, 2 }, + { 0, 16, height }); break; case 3: PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23842, { 0, 0, height }, { 16, 16, 2 }, { 16, 16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24708, 0, 0, 16, 16, 2, height, 16, 16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24708, { 0, 0, height }, { 16, 16, 2 }, + { 16, 16, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23854, { 0, 0, height }, { 16, 16, 0 }, { 16, 16, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24720, 0, 0, 16, 16, 0, height, 16, 16, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24720, { 0, 0, height }, { 16, 16, 0 }, + { 16, 16, height + 27 }); break; } paint_util_set_segment_support_height( @@ -4020,7 +4093,8 @@ static void wooden_rc_track_left_quarter_turn_3_bank( session, direction, wooden_rc_get_track_colour(session) | 23844, { 0, 0, height }, { 20, 32, 2 }, { 6, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24710, 0, 0, 20, 32, 2, height, 6, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24710, { 0, 0, height }, { 20, 32, 2 }, + { 6, 0, height }); wooden_a_supports_paint_setup(session, 5, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -4028,13 +4102,14 @@ static void wooden_rc_track_left_quarter_turn_3_bank( session, direction, wooden_rc_get_track_colour(session) | 23847, { 0, 0, height }, { 20, 32, 2 }, { 6, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24713, 0, 0, 20, 32, 2, height, 6, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24713, { 0, 0, height }, { 20, 32, 2 }, + { 6, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23856, { 0, 0, height }, { 20, 32, 0 }, { 6, 0, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24722, 0, 0, 20, 32, 0, height, 6, 0, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24722, { 0, 0, height }, { 20, 32, 0 }, + { 6, 0, height + 27 }); wooden_a_supports_paint_setup(session, 2, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -4042,7 +4117,8 @@ static void wooden_rc_track_left_quarter_turn_3_bank( session, direction, wooden_rc_get_track_colour(session) | 23850, { 0, 0, height }, { 20, 32, 2 }, { 6, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24716, 0, 0, 20, 32, 2, height, 6, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24716, { 0, 0, height }, { 20, 32, 2 }, + { 6, 0, height }); wooden_a_supports_paint_setup(session, 3, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -4050,13 +4126,14 @@ static void wooden_rc_track_left_quarter_turn_3_bank( session, direction, wooden_rc_get_track_colour(session) | 23841, { 0, 0, height }, { 20, 32, 2 }, { 6, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24707, 0, 0, 20, 32, 2, height, 6, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24707, { 0, 0, height }, { 20, 32, 2 }, + { 6, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23853, { 0, 0, height }, { 20, 32, 0 }, { 6, 0, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24719, 0, 0, 20, 32, 0, height, 6, 0, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24719, { 0, 0, height }, { 20, 32, 0 }, + { 6, 0, height + 27 }); wooden_a_supports_paint_setup(session, 4, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -4099,7 +4176,8 @@ static void wooden_rc_track_left_quarter_turn_3_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 23906, { 0, 6, height }, { 32, 20, 2 }, { 0, 6, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24772, 0, 6, 32, 20, 2, height, 0, 6, height); + session, direction, wooden_rc_get_rails_colour(session) | 24772, { 0, 6, height }, { 32, 20, 2 }, + { 0, 6, height }); wooden_a_supports_paint_setup(session, 5, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -4107,13 +4185,14 @@ static void wooden_rc_track_left_quarter_turn_3_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 23908, { 0, 6, height }, { 32, 20, 2 }, { 0, 6, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24774, 0, 6, 32, 20, 2, height, 0, 6, height); + session, direction, wooden_rc_get_rails_colour(session) | 24774, { 0, 6, height }, { 32, 20, 2 }, + { 0, 6, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23919, { 0, 6, height }, { 32, 20, 0 }, { 0, 6, height + 67 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24785, 0, 6, 32, 20, 0, height, 0, 6, - height + 67); + session, direction, wooden_rc_get_rails_colour(session) | 24785, { 0, 6, height }, { 32, 20, 0 }, + { 0, 6, height + 67 }); wooden_a_supports_paint_setup(session, 2, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -4121,7 +4200,8 @@ static void wooden_rc_track_left_quarter_turn_3_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 23910, { 0, 6, height }, { 32, 20, 2 }, { 0, 6, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24776, 0, 6, 32, 20, 2, height, 0, 6, height); + session, direction, wooden_rc_get_rails_colour(session) | 24776, { 0, 6, height }, { 32, 20, 2 }, + { 0, 6, height }); wooden_a_supports_paint_setup(session, 3, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -4129,13 +4209,14 @@ static void wooden_rc_track_left_quarter_turn_3_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 23904, { 0, 6, height }, { 32, 20, 2 }, { 0, 6, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24770, 0, 6, 32, 20, 2, height, 0, 6, height); + session, direction, wooden_rc_get_rails_colour(session) | 24770, { 0, 6, height }, { 32, 20, 2 }, + { 0, 6, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23917, { 0, 6, height }, { 32, 20, 0 }, { 0, 6, height + 67 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24783, 0, 6, 32, 20, 0, height, 0, 6, - height + 67); + session, direction, wooden_rc_get_rails_colour(session) | 24783, { 0, 6, height }, { 32, 20, 0 }, + { 0, 6, height + 67 }); wooden_a_supports_paint_setup(session, 4, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -4162,7 +4243,8 @@ static void wooden_rc_track_left_quarter_turn_3_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 23905, { 6, 0, height }, { 20, 32, 2 }, { 6, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24771, 6, 0, 20, 32, 2, height, 6, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24771, { 6, 0, height }, { 20, 32, 2 }, + { 6, 0, height }); wooden_a_supports_paint_setup(session, 5, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -4170,13 +4252,14 @@ static void wooden_rc_track_left_quarter_turn_3_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 23907, { 6, 0, height }, { 20, 32, 2 }, { 6, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24773, 6, 0, 20, 32, 2, height, 6, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24773, { 6, 0, height }, { 20, 32, 2 }, + { 6, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23918, { 6, 0, height }, { 20, 32, 0 }, { 6, 0, height + 67 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24784, 6, 0, 20, 32, 0, height, 6, 0, - height + 67); + session, direction, wooden_rc_get_rails_colour(session) | 24784, { 6, 0, height }, { 20, 32, 0 }, + { 6, 0, height + 67 }); wooden_a_supports_paint_setup(session, 2, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -4184,13 +4267,14 @@ static void wooden_rc_track_left_quarter_turn_3_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 23909, { 6, 0, height }, { 20, 32, 2 }, { 6, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24775, 6, 0, 20, 32, 2, height, 6, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24775, { 6, 0, height }, { 20, 32, 2 }, + { 6, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23920, { 6, 0, height }, { 20, 32, 0 }, { 6, 0, height + 67 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24786, 6, 0, 20, 32, 0, height, 6, 0, - height + 67); + session, direction, wooden_rc_get_rails_colour(session) | 24786, { 6, 0, height }, { 20, 32, 0 }, + { 6, 0, height + 67 }); wooden_a_supports_paint_setup(session, 3, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -4198,13 +4282,14 @@ static void wooden_rc_track_left_quarter_turn_3_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 23903, { 6, 0, height }, { 20, 32, 2 }, { 6, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24769, 6, 0, 20, 32, 2, height, 6, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24769, { 6, 0, height }, { 20, 32, 2 }, + { 6, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23916, { 6, 0, height }, { 20, 32, 0 }, { 6, 0, height + 67 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24782, 6, 0, 20, 32, 0, height, 6, 0, - height + 67); + session, direction, wooden_rc_get_rails_colour(session) | 24782, { 6, 0, height }, { 20, 32, 0 }, + { 6, 0, height + 67 }); wooden_a_supports_paint_setup(session, 4, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -4238,13 +4323,14 @@ static void wooden_rc_track_right_quarter_turn_3_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 23895, { 0, 6, height }, { 32, 20, 2 }, { 0, 6, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24761, 0, 6, 32, 20, 2, height, 0, 6, height); + session, direction, wooden_rc_get_rails_colour(session) | 24761, { 0, 6, height }, { 32, 20, 2 }, + { 0, 6, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23911, { 0, 6, height }, { 32, 20, 0 }, { 0, 6, height + 67 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24777, 0, 6, 32, 20, 0, height, 0, 6, - height + 67); + session, direction, wooden_rc_get_rails_colour(session) | 24777, { 0, 6, height }, { 32, 20, 0 }, + { 0, 6, height + 67 }); wooden_a_supports_paint_setup(session, 4, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -4252,7 +4338,8 @@ static void wooden_rc_track_right_quarter_turn_3_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 23897, { 0, 6, height }, { 32, 20, 2 }, { 0, 6, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24763, 0, 6, 32, 20, 2, height, 0, 6, height); + session, direction, wooden_rc_get_rails_colour(session) | 24763, { 0, 6, height }, { 32, 20, 2 }, + { 0, 6, height }); wooden_a_supports_paint_setup(session, 5, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -4260,13 +4347,14 @@ static void wooden_rc_track_right_quarter_turn_3_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 23899, { 0, 6, height }, { 32, 20, 2 }, { 0, 6, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24765, 0, 6, 32, 20, 2, height, 0, 6, height); + session, direction, wooden_rc_get_rails_colour(session) | 24765, { 0, 6, height }, { 32, 20, 2 }, + { 0, 6, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23914, { 0, 6, height }, { 32, 20, 0 }, { 0, 6, height + 67 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24780, 0, 6, 32, 20, 0, height, 0, 6, - height + 67); + session, direction, wooden_rc_get_rails_colour(session) | 24780, { 0, 6, height }, { 32, 20, 0 }, + { 0, 6, height + 67 }); wooden_a_supports_paint_setup(session, 2, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -4274,7 +4362,8 @@ static void wooden_rc_track_right_quarter_turn_3_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 23901, { 0, 6, height }, { 32, 20, 2 }, { 0, 6, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24767, 0, 6, 32, 20, 2, height, 0, 6, height); + session, direction, wooden_rc_get_rails_colour(session) | 24767, { 0, 6, height }, { 32, 20, 2 }, + { 0, 6, height }); wooden_a_supports_paint_setup(session, 3, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -4301,13 +4390,14 @@ static void wooden_rc_track_right_quarter_turn_3_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 23896, { 6, 0, height }, { 20, 32, 2 }, { 6, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24762, 6, 0, 20, 32, 2, height, 6, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24762, { 6, 0, height }, { 20, 32, 2 }, + { 6, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23912, { 6, 0, height }, { 20, 32, 0 }, { 6, 0, height + 67 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24778, 6, 0, 20, 32, 0, height, 6, 0, - height + 67); + session, direction, wooden_rc_get_rails_colour(session) | 24778, { 6, 0, height }, { 20, 32, 0 }, + { 6, 0, height + 67 }); wooden_a_supports_paint_setup(session, 4, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -4315,13 +4405,14 @@ static void wooden_rc_track_right_quarter_turn_3_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 23898, { 6, 0, height }, { 20, 32, 2 }, { 6, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24764, 6, 0, 20, 32, 2, height, 6, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24764, { 6, 0, height }, { 20, 32, 2 }, + { 6, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23913, { 6, 0, height }, { 20, 32, 0 }, { 6, 0, height + 67 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24779, 6, 0, 20, 32, 0, height, 6, 0, - height + 67); + session, direction, wooden_rc_get_rails_colour(session) | 24779, { 6, 0, height }, { 20, 32, 0 }, + { 6, 0, height + 67 }); wooden_a_supports_paint_setup(session, 5, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -4329,13 +4420,14 @@ static void wooden_rc_track_right_quarter_turn_3_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 23900, { 6, 0, height }, { 20, 32, 2 }, { 6, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24766, 6, 0, 20, 32, 2, height, 6, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24766, { 6, 0, height }, { 20, 32, 2 }, + { 6, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23915, { 6, 0, height }, { 20, 32, 0 }, { 6, 0, height + 67 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24781, 6, 0, 20, 32, 0, height, 6, 0, - height + 67); + session, direction, wooden_rc_get_rails_colour(session) | 24781, { 6, 0, height }, { 20, 32, 0 }, + { 6, 0, height + 67 }); wooden_a_supports_paint_setup(session, 2, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -4343,7 +4435,8 @@ static void wooden_rc_track_right_quarter_turn_3_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 23902, { 6, 0, height }, { 20, 32, 2 }, { 6, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24768, 6, 0, 20, 32, 2, height, 6, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24768, { 6, 0, height }, { 20, 32, 2 }, + { 6, 0, height }); wooden_a_supports_paint_setup(session, 3, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -4395,7 +4488,8 @@ static void wooden_rc_track_left_half_banked_helix_up_small( session, direction, wooden_rc_get_track_colour(session) | 23882, { 0, 0, height }, { 32, 20, 2 }, { 0, 6, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24748, 0, 0, 32, 20, 2, height, 0, 6, height); + session, direction, wooden_rc_get_rails_colour(session) | 24748, { 0, 0, height }, { 32, 20, 2 }, + { 0, 6, height }); wooden_a_supports_paint_setup(session, 5, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -4403,13 +4497,14 @@ static void wooden_rc_track_left_half_banked_helix_up_small( session, direction, wooden_rc_get_track_colour(session) | 23885, { 0, 0, height }, { 32, 20, 2 }, { 0, 6, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24751, 0, 0, 32, 20, 2, height, 0, 6, height); + session, direction, wooden_rc_get_rails_colour(session) | 24751, { 0, 0, height }, { 32, 20, 2 }, + { 0, 6, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23894, { 0, 0, height }, { 32, 20, 0 }, { 0, 6, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24760, 0, 0, 32, 20, 0, height, 0, 6, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24760, { 0, 0, height }, { 32, 20, 0 }, + { 0, 6, height + 27 }); wooden_a_supports_paint_setup(session, 2, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -4417,7 +4512,8 @@ static void wooden_rc_track_left_half_banked_helix_up_small( session, direction, wooden_rc_get_track_colour(session) | 23888, { 0, 0, height }, { 32, 20, 2 }, { 0, 6, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24754, 0, 0, 32, 20, 2, height, 0, 6, height); + session, direction, wooden_rc_get_rails_colour(session) | 24754, { 0, 0, height }, { 32, 20, 2 }, + { 0, 6, height }); wooden_a_supports_paint_setup(session, 3, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -4425,13 +4521,14 @@ static void wooden_rc_track_left_half_banked_helix_up_small( session, direction, wooden_rc_get_track_colour(session) | 23879, { 0, 0, height }, { 32, 20, 2 }, { 0, 6, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24745, 0, 0, 32, 20, 2, height, 0, 6, height); + session, direction, wooden_rc_get_rails_colour(session) | 24745, { 0, 0, height }, { 32, 20, 2 }, + { 0, 6, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23891, { 0, 0, height }, { 32, 20, 0 }, { 0, 6, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24757, 0, 0, 32, 20, 0, height, 0, 6, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24757, { 0, 0, height }, { 32, 20, 0 }, + { 0, 6, height + 27 }); wooden_a_supports_paint_setup(session, 4, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -4472,43 +4569,44 @@ static void wooden_rc_track_left_half_banked_helix_up_small( session, direction, wooden_rc_get_track_colour(session) | 23881, { 0, 0, height }, { 16, 16, 2 }, { 16, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24747, 0, 0, 16, 16, 2, height, 16, 0, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24747, { 0, 0, height }, { 16, 16, 2 }, + { 16, 0, height }); break; case 1: PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23884, { 0, 0, height }, { 16, 16, 2 }, { 0, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24750, 0, 0, 16, 16, 2, height, 0, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24750, { 0, 0, height }, { 16, 16, 2 }, + { 0, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23893, { 0, 0, height }, { 16, 16, 0 }, { 0, 0, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24759, 0, 0, 16, 16, 0, height, 0, 0, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24759, { 0, 0, height }, { 16, 16, 0 }, + { 0, 0, height + 27 }); break; case 2: PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23887, { 0, 0, height }, { 16, 16, 2 }, { 0, 16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24753, 0, 0, 16, 16, 2, height, 0, 16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24753, { 0, 0, height }, { 16, 16, 2 }, + { 0, 16, height }); break; case 3: PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23878, { 0, 0, height }, { 16, 16, 2 }, { 16, 16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24744, 0, 0, 16, 16, 2, height, 16, 16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24744, { 0, 0, height }, { 16, 16, 2 }, + { 16, 16, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23890, { 0, 0, height }, { 16, 16, 0 }, { 16, 16, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24756, 0, 0, 16, 16, 0, height, 16, 16, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24756, { 0, 0, height }, { 16, 16, 0 }, + { 16, 16, height + 27 }); break; } paint_util_set_segment_support_height( @@ -4523,7 +4621,8 @@ static void wooden_rc_track_left_half_banked_helix_up_small( session, direction, wooden_rc_get_track_colour(session) | 23880, { 0, 0, height }, { 20, 32, 2 }, { 6, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24746, 0, 0, 20, 32, 2, height, 6, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24746, { 0, 0, height }, { 20, 32, 2 }, + { 6, 0, height }); wooden_a_supports_paint_setup(session, 5, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -4531,13 +4630,14 @@ static void wooden_rc_track_left_half_banked_helix_up_small( session, direction, wooden_rc_get_track_colour(session) | 23883, { 0, 0, height }, { 20, 32, 2 }, { 6, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24749, 0, 0, 20, 32, 2, height, 6, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24749, { 0, 0, height }, { 20, 32, 2 }, + { 6, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23892, { 0, 0, height }, { 20, 32, 0 }, { 6, 0, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24758, 0, 0, 20, 32, 0, height, 6, 0, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24758, { 0, 0, height }, { 20, 32, 0 }, + { 6, 0, height + 27 }); wooden_a_supports_paint_setup(session, 2, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -4545,7 +4645,8 @@ static void wooden_rc_track_left_half_banked_helix_up_small( session, direction, wooden_rc_get_track_colour(session) | 23886, { 0, 0, height }, { 20, 32, 2 }, { 6, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24752, 0, 0, 20, 32, 2, height, 6, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24752, { 0, 0, height }, { 20, 32, 2 }, + { 6, 0, height }); wooden_a_supports_paint_setup(session, 3, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -4553,13 +4654,14 @@ static void wooden_rc_track_left_half_banked_helix_up_small( session, direction, wooden_rc_get_track_colour(session) | 23877, { 0, 0, height }, { 20, 32, 2 }, { 6, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24743, 0, 0, 20, 32, 2, height, 6, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24743, { 0, 0, height }, { 20, 32, 2 }, + { 6, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23889, { 0, 0, height }, { 20, 32, 0 }, { 6, 0, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24755, 0, 0, 20, 32, 0, height, 6, 0, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24755, { 0, 0, height }, { 20, 32, 0 }, + { 6, 0, height + 27 }); wooden_a_supports_paint_setup(session, 4, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -4587,13 +4689,14 @@ static void wooden_rc_track_left_half_banked_helix_up_small( session, direction, wooden_rc_get_track_colour(session) | 23879, { 0, 0, height }, { 20, 32, 2 }, { 6, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24745, 0, 0, 20, 32, 2, height, 6, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24745, { 0, 0, height }, { 20, 32, 2 }, + { 6, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23891, { 0, 0, height }, { 20, 32, 0 }, { 6, 0, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24757, 0, 0, 20, 32, 0, height, 6, 0, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24757, { 0, 0, height }, { 20, 32, 0 }, + { 6, 0, height + 27 }); wooden_a_supports_paint_setup(session, 4, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -4601,7 +4704,8 @@ static void wooden_rc_track_left_half_banked_helix_up_small( session, direction, wooden_rc_get_track_colour(session) | 23882, { 0, 0, height }, { 20, 32, 2 }, { 6, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24748, 0, 0, 20, 32, 2, height, 6, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24748, { 0, 0, height }, { 20, 32, 2 }, + { 6, 0, height }); wooden_a_supports_paint_setup(session, 5, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -4609,13 +4713,14 @@ static void wooden_rc_track_left_half_banked_helix_up_small( session, direction, wooden_rc_get_track_colour(session) | 23885, { 0, 0, height }, { 20, 32, 2 }, { 6, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24751, 0, 0, 20, 32, 2, height, 6, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24751, { 0, 0, height }, { 20, 32, 2 }, + { 6, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23894, { 0, 0, height }, { 20, 32, 0 }, { 6, 0, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24760, 0, 0, 20, 32, 0, height, 6, 0, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24760, { 0, 0, height }, { 20, 32, 0 }, + { 6, 0, height + 27 }); wooden_a_supports_paint_setup(session, 2, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -4623,7 +4728,8 @@ static void wooden_rc_track_left_half_banked_helix_up_small( session, direction, wooden_rc_get_track_colour(session) | 23888, { 0, 0, height }, { 20, 32, 2 }, { 6, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24754, 0, 0, 20, 32, 2, height, 6, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24754, { 0, 0, height }, { 20, 32, 2 }, + { 6, 0, height }); wooden_a_supports_paint_setup(session, 3, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -4669,43 +4775,44 @@ static void wooden_rc_track_left_half_banked_helix_up_small( session, direction, wooden_rc_get_track_colour(session) | 23878, { 0, 0, height }, { 16, 16, 2 }, { 16, 16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24744, 0, 0, 16, 16, 2, height, 16, 16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24744, { 0, 0, height }, { 16, 16, 2 }, + { 16, 16, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23890, { 0, 0, height }, { 16, 16, 0 }, { 16, 16, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24756, 0, 0, 16, 16, 0, height, 16, 16, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24756, { 0, 0, height }, { 16, 16, 0 }, + { 16, 16, height + 27 }); break; case 1: PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23881, { 0, 0, height }, { 16, 16, 2 }, { 0, 16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24747, 0, 0, 16, 16, 2, height, 0, 16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24747, { 0, 0, height }, { 16, 16, 2 }, + { 0, 16, height }); break; case 2: PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23884, { 0, 0, height }, { 16, 16, 2 }, { 0, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24750, 0, 0, 16, 16, 2, height, 0, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24750, { 0, 0, height }, { 16, 16, 2 }, + { 0, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23893, { 0, 0, height }, { 16, 16, 0 }, { 0, 0, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24759, 0, 0, 16, 16, 0, height, 0, 0, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24759, { 0, 0, height }, { 16, 16, 0 }, + { 0, 0, height + 27 }); break; case 3: PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23887, { 0, 0, height }, { 16, 16, 2 }, { 16, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24753, 0, 0, 16, 16, 2, height, 16, 0, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24753, { 0, 0, height }, { 16, 16, 2 }, + { 16, 0, height }); break; } paint_util_set_segment_support_height( @@ -4720,13 +4827,14 @@ static void wooden_rc_track_left_half_banked_helix_up_small( session, direction, wooden_rc_get_track_colour(session) | 23877, { 0, 0, height }, { 32, 20, 2 }, { 0, 6, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24743, 0, 0, 32, 20, 2, height, 0, 6, height); + session, direction, wooden_rc_get_rails_colour(session) | 24743, { 0, 0, height }, { 32, 20, 2 }, + { 0, 6, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23889, { 0, 0, height }, { 32, 20, 0 }, { 0, 6, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24755, 0, 0, 32, 20, 0, height, 0, 6, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24755, { 0, 0, height }, { 32, 20, 0 }, + { 0, 6, height + 27 }); wooden_a_supports_paint_setup(session, 4, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -4734,7 +4842,8 @@ static void wooden_rc_track_left_half_banked_helix_up_small( session, direction, wooden_rc_get_track_colour(session) | 23880, { 0, 0, height }, { 32, 20, 2 }, { 0, 6, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24746, 0, 0, 32, 20, 2, height, 0, 6, height); + session, direction, wooden_rc_get_rails_colour(session) | 24746, { 0, 0, height }, { 32, 20, 2 }, + { 0, 6, height }); wooden_a_supports_paint_setup(session, 5, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -4742,13 +4851,14 @@ static void wooden_rc_track_left_half_banked_helix_up_small( session, direction, wooden_rc_get_track_colour(session) | 23883, { 0, 0, height }, { 32, 20, 2 }, { 0, 6, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24749, 0, 0, 32, 20, 2, height, 0, 6, height); + session, direction, wooden_rc_get_rails_colour(session) | 24749, { 0, 0, height }, { 32, 20, 2 }, + { 0, 6, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23892, { 0, 0, height }, { 32, 20, 0 }, { 0, 6, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24758, 0, 0, 32, 20, 0, height, 0, 6, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24758, { 0, 0, height }, { 32, 20, 0 }, + { 0, 6, height + 27 }); wooden_a_supports_paint_setup(session, 2, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -4756,7 +4866,8 @@ static void wooden_rc_track_left_half_banked_helix_up_small( session, direction, wooden_rc_get_track_colour(session) | 23886, { 0, 0, height }, { 32, 20, 2 }, { 0, 6, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24752, 0, 0, 32, 20, 2, height, 0, 6, height); + session, direction, wooden_rc_get_rails_colour(session) | 24752, { 0, 0, height }, { 32, 20, 2 }, + { 0, 6, height }); wooden_a_supports_paint_setup(session, 3, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -4789,13 +4900,14 @@ static void wooden_rc_track_right_half_banked_helix_up_small( session, direction, wooden_rc_get_track_colour(session) | 23859, { 0, 0, height }, { 32, 20, 2 }, { 0, 6, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24725, 0, 0, 32, 20, 2, height, 0, 6, height); + session, direction, wooden_rc_get_rails_colour(session) | 24725, { 0, 0, height }, { 32, 20, 2 }, + { 0, 6, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23871, { 0, 0, height }, { 32, 20, 0 }, { 0, 6, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24737, 0, 0, 32, 20, 0, height, 0, 6, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24737, { 0, 0, height }, { 32, 20, 0 }, + { 0, 6, height + 27 }); wooden_a_supports_paint_setup(session, 4, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -4803,7 +4915,8 @@ static void wooden_rc_track_right_half_banked_helix_up_small( session, direction, wooden_rc_get_track_colour(session) | 23862, { 0, 0, height }, { 32, 20, 2 }, { 0, 6, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24728, 0, 0, 32, 20, 2, height, 0, 6, height); + session, direction, wooden_rc_get_rails_colour(session) | 24728, { 0, 0, height }, { 32, 20, 2 }, + { 0, 6, height }); wooden_a_supports_paint_setup(session, 5, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -4811,13 +4924,14 @@ static void wooden_rc_track_right_half_banked_helix_up_small( session, direction, wooden_rc_get_track_colour(session) | 23865, { 0, 0, height }, { 32, 20, 2 }, { 0, 6, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24731, 0, 0, 32, 20, 2, height, 0, 6, height); + session, direction, wooden_rc_get_rails_colour(session) | 24731, { 0, 0, height }, { 32, 20, 2 }, + { 0, 6, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23874, { 0, 0, height }, { 32, 20, 0 }, { 0, 6, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24740, 0, 0, 32, 20, 0, height, 0, 6, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24740, { 0, 0, height }, { 32, 20, 0 }, + { 0, 6, height + 27 }); wooden_a_supports_paint_setup(session, 2, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -4825,7 +4939,8 @@ static void wooden_rc_track_right_half_banked_helix_up_small( session, direction, wooden_rc_get_track_colour(session) | 23868, { 0, 0, height }, { 32, 20, 2 }, { 0, 6, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24734, 0, 0, 32, 20, 2, height, 0, 6, height); + session, direction, wooden_rc_get_rails_colour(session) | 24734, { 0, 0, height }, { 32, 20, 2 }, + { 0, 6, height }); wooden_a_supports_paint_setup(session, 3, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -4866,43 +4981,44 @@ static void wooden_rc_track_right_half_banked_helix_up_small( session, direction, wooden_rc_get_track_colour(session) | 23860, { 0, 0, height }, { 16, 16, 2 }, { 16, 16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24726, 0, 0, 16, 16, 2, height, 16, 16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24726, { 0, 0, height }, { 16, 16, 2 }, + { 16, 16, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23872, { 0, 0, height }, { 16, 16, 0 }, { 16, 16, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24738, 0, 0, 16, 16, 0, height, 16, 16, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24738, { 0, 0, height }, { 16, 16, 0 }, + { 16, 16, height + 27 }); break; case 1: PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23863, { 0, 0, height }, { 16, 16, 2 }, { 0, 16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24729, 0, 0, 16, 16, 2, height, 0, 16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24729, { 0, 0, height }, { 16, 16, 2 }, + { 0, 16, height }); break; case 2: PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23866, { 0, 0, height }, { 16, 16, 2 }, { 0, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24732, 0, 0, 16, 16, 2, height, 0, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24732, { 0, 0, height }, { 16, 16, 2 }, + { 0, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23875, { 0, 0, height }, { 16, 16, 0 }, { 0, 0, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24741, 0, 0, 16, 16, 0, height, 0, 0, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24741, { 0, 0, height }, { 16, 16, 0 }, + { 0, 0, height + 27 }); break; case 3: PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23869, { 0, 0, height }, { 16, 16, 2 }, { 16, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24735, 0, 0, 16, 16, 2, height, 16, 0, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24735, { 0, 0, height }, { 16, 16, 2 }, + { 16, 0, height }); break; } paint_util_set_segment_support_height( @@ -4917,13 +5033,14 @@ static void wooden_rc_track_right_half_banked_helix_up_small( session, direction, wooden_rc_get_track_colour(session) | 23861, { 0, 0, height }, { 20, 32, 2 }, { 6, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24727, 0, 0, 20, 32, 2, height, 6, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24727, { 0, 0, height }, { 20, 32, 2 }, + { 6, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23873, { 0, 0, height }, { 20, 32, 0 }, { 6, 0, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24739, 0, 0, 20, 32, 0, height, 6, 0, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24739, { 0, 0, height }, { 20, 32, 0 }, + { 6, 0, height + 27 }); wooden_a_supports_paint_setup(session, 4, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -4931,7 +5048,8 @@ static void wooden_rc_track_right_half_banked_helix_up_small( session, direction, wooden_rc_get_track_colour(session) | 23864, { 0, 0, height }, { 20, 32, 2 }, { 6, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24730, 0, 0, 20, 32, 2, height, 6, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24730, { 0, 0, height }, { 20, 32, 2 }, + { 6, 0, height }); wooden_a_supports_paint_setup(session, 5, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -4939,13 +5057,14 @@ static void wooden_rc_track_right_half_banked_helix_up_small( session, direction, wooden_rc_get_track_colour(session) | 23867, { 0, 0, height }, { 20, 32, 2 }, { 6, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24733, 0, 0, 20, 32, 2, height, 6, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24733, { 0, 0, height }, { 20, 32, 2 }, + { 6, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23876, { 0, 0, height }, { 20, 32, 0 }, { 6, 0, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24742, 0, 0, 20, 32, 0, height, 6, 0, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24742, { 0, 0, height }, { 20, 32, 0 }, + { 6, 0, height + 27 }); wooden_a_supports_paint_setup(session, 2, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -4953,7 +5072,8 @@ static void wooden_rc_track_right_half_banked_helix_up_small( session, direction, wooden_rc_get_track_colour(session) | 23870, { 0, 0, height }, { 20, 32, 2 }, { 6, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24736, 0, 0, 20, 32, 2, height, 6, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24736, { 0, 0, height }, { 20, 32, 2 }, + { 6, 0, height }); wooden_a_supports_paint_setup(session, 3, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -4981,7 +5101,8 @@ static void wooden_rc_track_right_half_banked_helix_up_small( session, direction, wooden_rc_get_track_colour(session) | 23862, { 0, 0, height }, { 20, 32, 2 }, { 6, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24728, 0, 0, 20, 32, 2, height, 6, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24728, { 0, 0, height }, { 20, 32, 2 }, + { 6, 0, height }); wooden_a_supports_paint_setup(session, 5, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -4989,13 +5110,14 @@ static void wooden_rc_track_right_half_banked_helix_up_small( session, direction, wooden_rc_get_track_colour(session) | 23865, { 0, 0, height }, { 20, 32, 2 }, { 6, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24731, 0, 0, 20, 32, 2, height, 6, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24731, { 0, 0, height }, { 20, 32, 2 }, + { 6, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23874, { 0, 0, height }, { 20, 32, 0 }, { 6, 0, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24740, 0, 0, 20, 32, 0, height, 6, 0, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24740, { 0, 0, height }, { 20, 32, 0 }, + { 6, 0, height + 27 }); wooden_a_supports_paint_setup(session, 2, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -5003,7 +5125,8 @@ static void wooden_rc_track_right_half_banked_helix_up_small( session, direction, wooden_rc_get_track_colour(session) | 23868, { 0, 0, height }, { 20, 32, 2 }, { 6, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24734, 0, 0, 20, 32, 2, height, 6, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24734, { 0, 0, height }, { 20, 32, 2 }, + { 6, 0, height }); wooden_a_supports_paint_setup(session, 3, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -5011,13 +5134,14 @@ static void wooden_rc_track_right_half_banked_helix_up_small( session, direction, wooden_rc_get_track_colour(session) | 23859, { 0, 0, height }, { 20, 32, 2 }, { 6, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24725, 0, 0, 20, 32, 2, height, 6, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24725, { 0, 0, height }, { 20, 32, 2 }, + { 6, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23871, { 0, 0, height }, { 20, 32, 0 }, { 6, 0, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24737, 0, 0, 20, 32, 0, height, 6, 0, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24737, { 0, 0, height }, { 20, 32, 0 }, + { 6, 0, height + 27 }); wooden_a_supports_paint_setup(session, 4, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -5063,43 +5187,44 @@ static void wooden_rc_track_right_half_banked_helix_up_small( session, direction, wooden_rc_get_track_colour(session) | 23863, { 0, 0, height }, { 16, 16, 2 }, { 16, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24729, 0, 0, 16, 16, 2, height, 16, 0, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24729, { 0, 0, height }, { 16, 16, 2 }, + { 16, 0, height }); break; case 1: PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23866, { 0, 0, height }, { 16, 16, 2 }, { 0, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24732, 0, 0, 16, 16, 2, height, 0, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24732, { 0, 0, height }, { 16, 16, 2 }, + { 0, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23875, { 0, 0, height }, { 16, 16, 0 }, { 0, 0, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24741, 0, 0, 16, 16, 0, height, 0, 0, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24741, { 0, 0, height }, { 16, 16, 0 }, + { 0, 0, height + 27 }); break; case 2: PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23869, { 0, 0, height }, { 16, 16, 2 }, { 0, 16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24735, 0, 0, 16, 16, 2, height, 0, 16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24735, { 0, 0, height }, { 16, 16, 2 }, + { 0, 16, height }); break; case 3: PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23860, { 0, 0, height }, { 16, 16, 2 }, { 16, 16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24726, 0, 0, 16, 16, 2, height, 16, 16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24726, { 0, 0, height }, { 16, 16, 2 }, + { 16, 16, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23872, { 0, 0, height }, { 16, 16, 0 }, { 16, 16, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24738, 0, 0, 16, 16, 0, height, 16, 16, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24738, { 0, 0, height }, { 16, 16, 0 }, + { 16, 16, height + 27 }); break; } paint_util_set_segment_support_height( @@ -5114,7 +5239,8 @@ static void wooden_rc_track_right_half_banked_helix_up_small( session, direction, wooden_rc_get_track_colour(session) | 23864, { 0, 0, height }, { 32, 20, 2 }, { 0, 6, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24730, 0, 0, 32, 20, 2, height, 0, 6, height); + session, direction, wooden_rc_get_rails_colour(session) | 24730, { 0, 0, height }, { 32, 20, 2 }, + { 0, 6, height }); wooden_a_supports_paint_setup(session, 5, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -5122,13 +5248,14 @@ static void wooden_rc_track_right_half_banked_helix_up_small( session, direction, wooden_rc_get_track_colour(session) | 23867, { 0, 0, height }, { 32, 20, 2 }, { 0, 6, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24733, 0, 0, 32, 20, 2, height, 0, 6, height); + session, direction, wooden_rc_get_rails_colour(session) | 24733, { 0, 0, height }, { 32, 20, 2 }, + { 0, 6, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23876, { 0, 0, height }, { 32, 20, 0 }, { 0, 6, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24742, 0, 0, 32, 20, 0, height, 0, 6, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24742, { 0, 0, height }, { 32, 20, 0 }, + { 0, 6, height + 27 }); wooden_a_supports_paint_setup(session, 2, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -5136,7 +5263,8 @@ static void wooden_rc_track_right_half_banked_helix_up_small( session, direction, wooden_rc_get_track_colour(session) | 23870, { 0, 0, height }, { 32, 20, 2 }, { 0, 6, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24736, 0, 0, 32, 20, 2, height, 0, 6, height); + session, direction, wooden_rc_get_rails_colour(session) | 24736, { 0, 0, height }, { 32, 20, 2 }, + { 0, 6, height }); wooden_a_supports_paint_setup(session, 3, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -5144,13 +5272,14 @@ static void wooden_rc_track_right_half_banked_helix_up_small( session, direction, wooden_rc_get_track_colour(session) | 23861, { 0, 0, height }, { 32, 20, 2 }, { 0, 6, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24727, 0, 0, 32, 20, 2, height, 0, 6, height); + session, direction, wooden_rc_get_rails_colour(session) | 24727, { 0, 0, height }, { 32, 20, 2 }, + { 0, 6, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23873, { 0, 0, height }, { 32, 20, 0 }, { 0, 6, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24739, 0, 0, 32, 20, 0, height, 0, 6, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24739, { 0, 0, height }, { 32, 20, 0 }, + { 0, 6, height + 27 }); wooden_a_supports_paint_setup(session, 4, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -5211,7 +5340,8 @@ static void wooden_rc_track_left_half_banked_helix_up_large( session, direction, wooden_rc_get_track_colour(session) | 23704, { 0, 0, height }, { 32, 20, 2 }, { 0, 6, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24570, 0, 0, 32, 20, 2, height, 0, 6, height); + session, direction, wooden_rc_get_rails_colour(session) | 24570, { 0, 0, height }, { 32, 20, 2 }, + { 0, 6, height }); wooden_a_supports_paint_setup(session, 0, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -5219,13 +5349,14 @@ static void wooden_rc_track_left_half_banked_helix_up_large( session, direction, wooden_rc_get_track_colour(session) | 23709, { 0, 0, height }, { 32, 27, 2 }, { 0, 2, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24575, 0, 0, 32, 27, 2, height, 0, 2, height); + session, direction, wooden_rc_get_rails_colour(session) | 24575, { 0, 0, height }, { 32, 27, 2 }, + { 0, 2, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23724, { 0, 0, height }, { 32, 27, 0 }, { 0, 2, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24590, 0, 0, 32, 27, 0, height, 0, 2, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24590, { 0, 0, height }, { 32, 27, 0 }, + { 0, 2, height + 27 }); wooden_a_supports_paint_setup(session, 1, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -5233,7 +5364,8 @@ static void wooden_rc_track_left_half_banked_helix_up_large( session, direction, wooden_rc_get_track_colour(session) | 23714, { 0, 0, height }, { 32, 20, 2 }, { 0, 6, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24580, 0, 0, 32, 20, 2, height, 0, 6, height); + session, direction, wooden_rc_get_rails_colour(session) | 24580, { 0, 0, height }, { 32, 20, 2 }, + { 0, 6, height }); wooden_a_supports_paint_setup(session, 0, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -5241,13 +5373,14 @@ static void wooden_rc_track_left_half_banked_helix_up_large( session, direction, wooden_rc_get_track_colour(session) | 23699, { 0, 0, height }, { 32, 20, 2 }, { 0, 6, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24565, 0, 0, 32, 20, 2, height, 0, 6, height); + session, direction, wooden_rc_get_rails_colour(session) | 24565, { 0, 0, height }, { 32, 20, 2 }, + { 0, 6, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23719, { 0, 0, height }, { 32, 20, 0 }, { 0, 6, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24585, 0, 0, 32, 20, 0, height, 0, 6, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24585, { 0, 0, height }, { 32, 20, 0 }, + { 0, 6, height + 27 }); wooden_a_supports_paint_setup(session, 1, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -5275,7 +5408,8 @@ static void wooden_rc_track_left_half_banked_helix_up_large( session, direction, wooden_rc_get_track_colour(session) | 23703, { 0, 0, height }, { 32, 16, 2 }, { 0, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24569, 0, 0, 32, 16, 2, height, 0, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24569, { 0, 0, height }, { 32, 16, 2 }, + { 0, 0, height }); wooden_a_supports_paint_setup(session, 5, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -5283,13 +5417,14 @@ static void wooden_rc_track_left_half_banked_helix_up_large( session, direction, wooden_rc_get_track_colour(session) | 23708, { 0, 0, height }, { 32, 16, 2 }, { 0, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24574, 0, 0, 32, 16, 2, height, 0, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24574, { 0, 0, height }, { 32, 16, 2 }, + { 0, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23723, { 0, 0, height }, { 32, 16, 0 }, { 0, 0, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24589, 0, 0, 32, 16, 0, height, 0, 0, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24589, { 0, 0, height }, { 32, 16, 0 }, + { 0, 0, height + 27 }); wooden_a_supports_paint_setup(session, 2, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -5297,8 +5432,8 @@ static void wooden_rc_track_left_half_banked_helix_up_large( session, direction, wooden_rc_get_track_colour(session) | 23713, { 0, 0, height }, { 32, 16, 2 }, { 0, 16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24579, 0, 0, 32, 16, 2, height, 0, 16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24579, { 0, 0, height }, { 32, 16, 2 }, + { 0, 16, height }); wooden_a_supports_paint_setup(session, 3, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -5306,14 +5441,14 @@ static void wooden_rc_track_left_half_banked_helix_up_large( session, direction, wooden_rc_get_track_colour(session) | 23698, { 0, 0, height }, { 32, 16, 2 }, { 0, 16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24564, 0, 0, 32, 16, 2, height, 0, 16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24564, { 0, 0, height }, { 32, 16, 2 }, + { 0, 16, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23718, { 0, 0, height }, { 32, 16, 0 }, { 0, 16, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24584, 0, 0, 32, 16, 0, height, 0, 16, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24584, { 0, 0, height }, { 32, 16, 0 }, + { 0, 16, height + 27 }); wooden_a_supports_paint_setup(session, 4, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -5332,8 +5467,8 @@ static void wooden_rc_track_left_half_banked_helix_up_large( session, direction, wooden_rc_get_track_colour(session) | 23702, { 0, 0, height }, { 16, 16, 2 }, { 0, 16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24568, 0, 0, 16, 16, 2, height, 0, 16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24568, { 0, 0, height }, { 16, 16, 2 }, + { 0, 16, height }); wooden_a_supports_paint_setup(session, 3, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -5341,14 +5476,14 @@ static void wooden_rc_track_left_half_banked_helix_up_large( session, direction, wooden_rc_get_track_colour(session) | 23707, { 0, 0, height }, { 16, 16, 2 }, { 16, 16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24573, 0, 0, 16, 16, 2, height, 16, 16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24573, { 0, 0, height }, { 16, 16, 2 }, + { 16, 16, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23722, { 0, 0, height }, { 16, 16, 0 }, { 16, 16, height + 29 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24588, 0, 0, 16, 16, 0, height, 16, 16, - height + 29); + session, direction, wooden_rc_get_rails_colour(session) | 24588, { 0, 0, height }, { 16, 16, 0 }, + { 16, 16, height + 29 }); wooden_a_supports_paint_setup(session, 4, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -5356,8 +5491,8 @@ static void wooden_rc_track_left_half_banked_helix_up_large( session, direction, wooden_rc_get_track_colour(session) | 23712, { 0, 0, height }, { 16, 16, 2 }, { 16, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24578, 0, 0, 16, 16, 2, height, 16, 0, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24578, { 0, 0, height }, { 16, 16, 2 }, + { 16, 0, height }); wooden_a_supports_paint_setup(session, 5, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -5365,13 +5500,14 @@ static void wooden_rc_track_left_half_banked_helix_up_large( session, direction, wooden_rc_get_track_colour(session) | 23697, { 0, 0, height }, { 16, 16, 2 }, { 0, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24563, 0, 0, 16, 16, 2, height, 0, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24563, { 0, 0, height }, { 16, 16, 2 }, + { 0, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23717, { 0, 0, height }, { 16, 16, 0 }, { 0, 0, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24583, 0, 0, 16, 16, 0, height, 0, 0, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24583, { 0, 0, height }, { 16, 16, 0 }, + { 0, 0, height + 27 }); wooden_a_supports_paint_setup(session, 2, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -5394,8 +5530,8 @@ static void wooden_rc_track_left_half_banked_helix_up_large( session, direction, wooden_rc_get_track_colour(session) | 23701, { 0, 0, height }, { 16, 32, 2 }, { 16, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24567, 0, 0, 16, 32, 2, height, 16, 0, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24567, { 0, 0, height }, { 16, 32, 2 }, + { 16, 0, height }); wooden_a_supports_paint_setup(session, 5, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -5403,13 +5539,14 @@ static void wooden_rc_track_left_half_banked_helix_up_large( session, direction, wooden_rc_get_track_colour(session) | 23706, { 0, 0, height }, { 16, 32, 2 }, { 0, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24572, 0, 0, 16, 32, 2, height, 0, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24572, { 0, 0, height }, { 16, 32, 2 }, + { 0, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23721, { 0, 0, height }, { 16, 32, 0 }, { 0, 0, height + 33 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24587, 0, 0, 16, 32, 0, height, 0, 0, - height + 33); + session, direction, wooden_rc_get_rails_colour(session) | 24587, { 0, 0, height }, { 16, 32, 0 }, + { 0, 0, height + 33 }); wooden_a_supports_paint_setup(session, 2, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -5417,7 +5554,8 @@ static void wooden_rc_track_left_half_banked_helix_up_large( session, direction, wooden_rc_get_track_colour(session) | 23711, { 0, 0, height }, { 16, 32, 2 }, { 0, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24577, 0, 0, 16, 32, 2, height, 0, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24577, { 0, 0, height }, { 16, 32, 2 }, + { 0, 0, height }); wooden_a_supports_paint_setup(session, 3, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -5425,14 +5563,14 @@ static void wooden_rc_track_left_half_banked_helix_up_large( session, direction, wooden_rc_get_track_colour(session) | 23696, { 0, 0, height }, { 16, 32, 2 }, { 16, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24562, 0, 0, 16, 32, 2, height, 16, 0, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24562, { 0, 0, height }, { 16, 32, 2 }, + { 16, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23716, { 0, 0, height }, { 16, 32, 0 }, { 16, 0, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24582, 0, 0, 16, 32, 0, height, 16, 0, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24582, { 0, 0, height }, { 16, 32, 0 }, + { 16, 0, height + 27 }); wooden_a_supports_paint_setup(session, 4, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -5451,7 +5589,8 @@ static void wooden_rc_track_left_half_banked_helix_up_large( session, direction, wooden_rc_get_track_colour(session) | 23700, { 0, 0, height }, { 20, 32, 2 }, { 6, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24566, 0, 0, 20, 32, 2, height, 6, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24566, { 0, 0, height }, { 20, 32, 2 }, + { 6, 0, height }); wooden_a_supports_paint_setup(session, 1, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -5459,13 +5598,14 @@ static void wooden_rc_track_left_half_banked_helix_up_large( session, direction, wooden_rc_get_track_colour(session) | 23705, { 0, 0, height }, { 27, 32, 2 }, { 2, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24571, 0, 0, 27, 32, 2, height, 2, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24571, { 0, 0, height }, { 27, 32, 2 }, + { 2, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23720, { 0, 0, height }, { 27, 32, 0 }, { 2, 0, height + 33 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24586, 0, 0, 27, 32, 0, height, 2, 0, - height + 33); + session, direction, wooden_rc_get_rails_colour(session) | 24586, { 0, 0, height }, { 27, 32, 0 }, + { 2, 0, height + 33 }); wooden_a_supports_paint_setup(session, 0, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -5473,7 +5613,8 @@ static void wooden_rc_track_left_half_banked_helix_up_large( session, direction, wooden_rc_get_track_colour(session) | 23710, { 0, 0, height }, { 20, 32, 2 }, { 6, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24576, 0, 0, 20, 32, 2, height, 6, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24576, { 0, 0, height }, { 20, 32, 2 }, + { 6, 0, height }); wooden_a_supports_paint_setup(session, 1, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -5481,13 +5622,14 @@ static void wooden_rc_track_left_half_banked_helix_up_large( session, direction, wooden_rc_get_track_colour(session) | 23695, { 0, 0, height }, { 20, 32, 2 }, { 6, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24561, 0, 0, 20, 32, 2, height, 6, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24561, { 0, 0, height }, { 20, 32, 2 }, + { 6, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23715, { 0, 0, height }, { 20, 32, 0 }, { 6, 0, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24581, 0, 0, 20, 32, 0, height, 6, 0, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24581, { 0, 0, height }, { 20, 32, 0 }, + { 6, 0, height + 27 }); wooden_a_supports_paint_setup(session, 0, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -5515,13 +5657,14 @@ static void wooden_rc_track_left_half_banked_helix_up_large( session, direction, wooden_rc_get_track_colour(session) | 23699, { 0, 0, height }, { 20, 32, 2 }, { 6, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24565, 0, 0, 20, 32, 2, height, 6, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24565, { 0, 0, height }, { 20, 32, 2 }, + { 6, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23719, { 0, 0, height }, { 20, 32, 0 }, { 6, 0, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24585, 0, 0, 20, 32, 0, height, 6, 0, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24585, { 0, 0, height }, { 20, 32, 0 }, + { 6, 0, height + 27 }); wooden_a_supports_paint_setup(session, 1, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -5529,7 +5672,8 @@ static void wooden_rc_track_left_half_banked_helix_up_large( session, direction, wooden_rc_get_track_colour(session) | 23704, { 0, 0, height }, { 20, 32, 2 }, { 6, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24570, 0, 0, 20, 32, 2, height, 6, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24570, { 0, 0, height }, { 20, 32, 2 }, + { 6, 0, height }); wooden_a_supports_paint_setup(session, 0, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -5537,13 +5681,14 @@ static void wooden_rc_track_left_half_banked_helix_up_large( session, direction, wooden_rc_get_track_colour(session) | 23709, { 0, 0, height }, { 27, 32, 2 }, { 2, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24575, 0, 0, 27, 32, 2, height, 2, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24575, { 0, 0, height }, { 27, 32, 2 }, + { 2, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23724, { 0, 0, height }, { 27, 32, 0 }, { 2, 0, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24590, 0, 0, 27, 32, 0, height, 2, 0, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24590, { 0, 0, height }, { 27, 32, 0 }, + { 2, 0, height + 27 }); wooden_a_supports_paint_setup(session, 1, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -5551,7 +5696,8 @@ static void wooden_rc_track_left_half_banked_helix_up_large( session, direction, wooden_rc_get_track_colour(session) | 23714, { 0, 0, height }, { 20, 32, 2 }, { 6, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24580, 0, 0, 20, 32, 2, height, 6, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24580, { 0, 0, height }, { 20, 32, 2 }, + { 6, 0, height }); wooden_a_supports_paint_setup(session, 0, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -5584,14 +5730,14 @@ static void wooden_rc_track_left_half_banked_helix_up_large( session, direction, wooden_rc_get_track_colour(session) | 23698, { 0, 0, height }, { 16, 32, 2 }, { 16, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24564, 0, 0, 16, 32, 2, height, 16, 0, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24564, { 0, 0, height }, { 16, 32, 2 }, + { 16, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23718, { 0, 0, height }, { 16, 32, 0 }, { 16, 0, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24584, 0, 0, 16, 32, 0, height, 16, 0, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24584, { 0, 0, height }, { 16, 32, 0 }, + { 16, 0, height + 27 }); wooden_a_supports_paint_setup(session, 4, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -5599,7 +5745,8 @@ static void wooden_rc_track_left_half_banked_helix_up_large( session, direction, wooden_rc_get_track_colour(session) | 23703, { 0, 0, height }, { 16, 32, 2 }, { 0, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24569, 0, 0, 16, 32, 2, height, 0, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24569, { 0, 0, height }, { 16, 32, 2 }, + { 0, 0, height }); wooden_a_supports_paint_setup(session, 5, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -5607,13 +5754,14 @@ static void wooden_rc_track_left_half_banked_helix_up_large( session, direction, wooden_rc_get_track_colour(session) | 23708, { 0, 0, height }, { 16, 32, 2 }, { 0, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24574, 0, 0, 16, 32, 2, height, 0, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24574, { 0, 0, height }, { 16, 32, 2 }, + { 0, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23723, { 0, 0, height }, { 16, 32, 0 }, { 0, 0, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24589, 0, 0, 16, 32, 0, height, 0, 0, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24589, { 0, 0, height }, { 16, 32, 0 }, + { 0, 0, height + 27 }); wooden_a_supports_paint_setup(session, 2, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -5621,8 +5769,8 @@ static void wooden_rc_track_left_half_banked_helix_up_large( session, direction, wooden_rc_get_track_colour(session) | 23713, { 0, 0, height }, { 16, 32, 2 }, { 16, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24579, 0, 0, 16, 32, 2, height, 16, 0, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24579, { 0, 0, height }, { 16, 32, 2 }, + { 16, 0, height }); wooden_a_supports_paint_setup(session, 3, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -5641,13 +5789,14 @@ static void wooden_rc_track_left_half_banked_helix_up_large( session, direction, wooden_rc_get_track_colour(session) | 23697, { 0, 0, height }, { 16, 16, 2 }, { 0, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24563, 0, 0, 16, 16, 2, height, 0, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24563, { 0, 0, height }, { 16, 16, 2 }, + { 0, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23717, { 0, 0, height }, { 16, 16, 0 }, { 0, 0, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24583, 0, 0, 16, 16, 0, height, 0, 0, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24583, { 0, 0, height }, { 16, 16, 0 }, + { 0, 0, height + 27 }); wooden_a_supports_paint_setup(session, 2, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -5655,8 +5804,8 @@ static void wooden_rc_track_left_half_banked_helix_up_large( session, direction, wooden_rc_get_track_colour(session) | 23702, { 0, 0, height }, { 16, 16, 2 }, { 16, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24568, 0, 0, 16, 16, 2, height, 16, 0, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24568, { 0, 0, height }, { 16, 16, 2 }, + { 16, 0, height }); wooden_a_supports_paint_setup(session, 3, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -5664,14 +5813,14 @@ static void wooden_rc_track_left_half_banked_helix_up_large( session, direction, wooden_rc_get_track_colour(session) | 23707, { 0, 0, height }, { 16, 16, 2 }, { 16, 16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24573, 0, 0, 16, 16, 2, height, 16, 16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24573, { 0, 0, height }, { 16, 16, 2 }, + { 16, 16, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23722, { 0, 0, height }, { 16, 16, 0 }, { 16, 16, height + 29 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24588, 0, 0, 16, 16, 0, height, 16, 16, - height + 29); + session, direction, wooden_rc_get_rails_colour(session) | 24588, { 0, 0, height }, { 16, 16, 0 }, + { 16, 16, height + 29 }); wooden_a_supports_paint_setup(session, 4, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -5679,8 +5828,8 @@ static void wooden_rc_track_left_half_banked_helix_up_large( session, direction, wooden_rc_get_track_colour(session) | 23712, { 0, 0, height }, { 16, 16, 2 }, { 0, 16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24578, 0, 0, 16, 16, 2, height, 0, 16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24578, { 0, 0, height }, { 16, 16, 2 }, + { 0, 16, height }); wooden_a_supports_paint_setup(session, 5, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -5703,14 +5852,14 @@ static void wooden_rc_track_left_half_banked_helix_up_large( session, direction, wooden_rc_get_track_colour(session) | 23696, { 0, 0, height }, { 32, 16, 2 }, { 0, 16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24562, 0, 0, 32, 16, 2, height, 0, 16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24562, { 0, 0, height }, { 32, 16, 2 }, + { 0, 16, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23716, { 0, 0, height }, { 32, 16, 0 }, { 0, 16, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24582, 0, 0, 32, 16, 0, height, 0, 16, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24582, { 0, 0, height }, { 32, 16, 0 }, + { 0, 16, height + 27 }); wooden_a_supports_paint_setup(session, 4, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -5718,8 +5867,8 @@ static void wooden_rc_track_left_half_banked_helix_up_large( session, direction, wooden_rc_get_track_colour(session) | 23701, { 0, 0, height }, { 32, 16, 2 }, { 0, 16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24567, 0, 0, 32, 16, 2, height, 0, 16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24567, { 0, 0, height }, { 32, 16, 2 }, + { 0, 16, height }); wooden_a_supports_paint_setup(session, 5, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -5727,13 +5876,14 @@ static void wooden_rc_track_left_half_banked_helix_up_large( session, direction, wooden_rc_get_track_colour(session) | 23706, { 0, 0, height }, { 32, 16, 2 }, { 0, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24572, 0, 0, 32, 16, 2, height, 0, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24572, { 0, 0, height }, { 32, 16, 2 }, + { 0, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23721, { 0, 0, height }, { 32, 16, 0 }, { 0, 0, height + 33 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24587, 0, 0, 32, 16, 0, height, 0, 0, - height + 33); + session, direction, wooden_rc_get_rails_colour(session) | 24587, { 0, 0, height }, { 32, 16, 0 }, + { 0, 0, height + 33 }); wooden_a_supports_paint_setup(session, 2, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -5741,7 +5891,8 @@ static void wooden_rc_track_left_half_banked_helix_up_large( session, direction, wooden_rc_get_track_colour(session) | 23711, { 0, 0, height }, { 32, 16, 2 }, { 0, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24577, 0, 0, 32, 16, 2, height, 0, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24577, { 0, 0, height }, { 32, 16, 2 }, + { 0, 0, height }); wooden_a_supports_paint_setup(session, 3, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -5760,13 +5911,14 @@ static void wooden_rc_track_left_half_banked_helix_up_large( session, direction, wooden_rc_get_track_colour(session) | 23695, { 0, 0, height }, { 32, 20, 2 }, { 0, 6, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24561, 0, 0, 32, 20, 2, height, 0, 6, height); + session, direction, wooden_rc_get_rails_colour(session) | 24561, { 0, 0, height }, { 32, 20, 2 }, + { 0, 6, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23715, { 0, 0, height }, { 32, 20, 0 }, { 0, 6, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24581, 0, 0, 32, 20, 0, height, 0, 6, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24581, { 0, 0, height }, { 32, 20, 0 }, + { 0, 6, height + 27 }); wooden_a_supports_paint_setup(session, 0, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -5774,7 +5926,8 @@ static void wooden_rc_track_left_half_banked_helix_up_large( session, direction, wooden_rc_get_track_colour(session) | 23700, { 0, 0, height }, { 32, 20, 2 }, { 0, 6, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24566, 0, 0, 32, 20, 2, height, 0, 6, height); + session, direction, wooden_rc_get_rails_colour(session) | 24566, { 0, 0, height }, { 32, 20, 2 }, + { 0, 6, height }); wooden_a_supports_paint_setup(session, 1, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -5782,13 +5935,14 @@ static void wooden_rc_track_left_half_banked_helix_up_large( session, direction, wooden_rc_get_track_colour(session) | 23705, { 0, 0, height }, { 32, 27, 2 }, { 0, 2, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24571, 0, 0, 32, 27, 2, height, 0, 2, height); + session, direction, wooden_rc_get_rails_colour(session) | 24571, { 0, 0, height }, { 32, 27, 2 }, + { 0, 2, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23720, { 0, 0, height }, { 32, 27, 0 }, { 0, 2, height + 33 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24586, 0, 0, 32, 27, 0, height, 0, 2, - height + 33); + session, direction, wooden_rc_get_rails_colour(session) | 24586, { 0, 0, height }, { 32, 27, 0 }, + { 0, 2, height + 33 }); wooden_a_supports_paint_setup(session, 0, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -5796,7 +5950,8 @@ static void wooden_rc_track_left_half_banked_helix_up_large( session, direction, wooden_rc_get_track_colour(session) | 23710, { 0, 0, height }, { 32, 20, 2 }, { 0, 6, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24576, 0, 0, 32, 20, 2, height, 0, 6, height); + session, direction, wooden_rc_get_rails_colour(session) | 24576, { 0, 0, height }, { 32, 20, 2 }, + { 0, 6, height }); wooden_a_supports_paint_setup(session, 1, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -5829,13 +5984,14 @@ static void wooden_rc_track_right_half_banked_helix_up_large( session, direction, wooden_rc_get_track_colour(session) | 23665, { 0, 0, height }, { 32, 20, 2 }, { 0, 6, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24531, 0, 0, 32, 20, 2, height, 0, 6, height); + session, direction, wooden_rc_get_rails_colour(session) | 24531, { 0, 0, height }, { 32, 20, 2 }, + { 0, 6, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23685, { 0, 0, height }, { 32, 20, 0 }, { 0, 6, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24551, 0, 0, 32, 20, 0, height, 0, 6, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24551, { 0, 0, height }, { 32, 20, 0 }, + { 0, 6, height + 27 }); wooden_a_supports_paint_setup(session, 0, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -5843,7 +5999,8 @@ static void wooden_rc_track_right_half_banked_helix_up_large( session, direction, wooden_rc_get_track_colour(session) | 23670, { 0, 0, height }, { 32, 20, 2 }, { 0, 6, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24536, 0, 0, 32, 20, 2, height, 0, 6, height); + session, direction, wooden_rc_get_rails_colour(session) | 24536, { 0, 0, height }, { 32, 20, 2 }, + { 0, 6, height }); wooden_a_supports_paint_setup(session, 1, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -5851,13 +6008,14 @@ static void wooden_rc_track_right_half_banked_helix_up_large( session, direction, wooden_rc_get_track_colour(session) | 23675, { 0, 0, height }, { 32, 27, 2 }, { 0, 2, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24541, 0, 0, 32, 27, 2, height, 0, 2, height); + session, direction, wooden_rc_get_rails_colour(session) | 24541, { 0, 0, height }, { 32, 27, 2 }, + { 0, 2, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23690, { 0, 0, height }, { 32, 27, 0 }, { 0, 2, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24556, 0, 0, 32, 27, 0, height, 0, 2, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24556, { 0, 0, height }, { 32, 27, 0 }, + { 0, 2, height + 27 }); wooden_a_supports_paint_setup(session, 0, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -5865,7 +6023,8 @@ static void wooden_rc_track_right_half_banked_helix_up_large( session, direction, wooden_rc_get_track_colour(session) | 23680, { 0, 0, height }, { 32, 20, 2 }, { 0, 6, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24546, 0, 0, 32, 20, 2, height, 0, 6, height); + session, direction, wooden_rc_get_rails_colour(session) | 24546, { 0, 0, height }, { 32, 20, 2 }, + { 0, 6, height }); wooden_a_supports_paint_setup(session, 1, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -5893,14 +6052,14 @@ static void wooden_rc_track_right_half_banked_helix_up_large( session, direction, wooden_rc_get_track_colour(session) | 23666, { 0, 0, height }, { 32, 16, 2 }, { 0, 16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24532, 0, 0, 32, 16, 2, height, 0, 16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24532, { 0, 0, height }, { 32, 16, 2 }, + { 0, 16, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23686, { 0, 0, height }, { 32, 16, 0 }, { 0, 16, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24552, 0, 0, 32, 16, 0, height, 0, 16, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24552, { 0, 0, height }, { 32, 16, 0 }, + { 0, 16, height + 27 }); wooden_a_supports_paint_setup(session, 4, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -5908,8 +6067,8 @@ static void wooden_rc_track_right_half_banked_helix_up_large( session, direction, wooden_rc_get_track_colour(session) | 23671, { 0, 0, height }, { 32, 16, 2 }, { 0, 16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24537, 0, 0, 32, 16, 2, height, 0, 16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24537, { 0, 0, height }, { 32, 16, 2 }, + { 0, 16, height }); wooden_a_supports_paint_setup(session, 5, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -5917,13 +6076,14 @@ static void wooden_rc_track_right_half_banked_helix_up_large( session, direction, wooden_rc_get_track_colour(session) | 23676, { 0, 0, height }, { 32, 16, 2 }, { 0, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24542, 0, 0, 32, 16, 2, height, 0, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24542, { 0, 0, height }, { 32, 16, 2 }, + { 0, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23691, { 0, 0, height }, { 32, 16, 0 }, { 0, 0, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24557, 0, 0, 32, 16, 0, height, 0, 0, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24557, { 0, 0, height }, { 32, 16, 0 }, + { 0, 0, height + 27 }); wooden_a_supports_paint_setup(session, 2, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -5931,7 +6091,8 @@ static void wooden_rc_track_right_half_banked_helix_up_large( session, direction, wooden_rc_get_track_colour(session) | 23681, { 0, 0, height }, { 32, 16, 2 }, { 0, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24547, 0, 0, 32, 16, 2, height, 0, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24547, { 0, 0, height }, { 32, 16, 2 }, + { 0, 0, height }); wooden_a_supports_paint_setup(session, 3, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -5950,13 +6111,14 @@ static void wooden_rc_track_right_half_banked_helix_up_large( session, direction, wooden_rc_get_track_colour(session) | 23667, { 0, 0, height }, { 16, 16, 2 }, { 0, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24533, 0, 0, 16, 16, 2, height, 0, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24533, { 0, 0, height }, { 16, 16, 2 }, + { 0, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23687, { 0, 0, height }, { 16, 16, 0 }, { 0, 0, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24553, 0, 0, 16, 16, 0, height, 0, 0, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24553, { 0, 0, height }, { 16, 16, 0 }, + { 0, 0, height + 27 }); wooden_a_supports_paint_setup(session, 2, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -5964,8 +6126,8 @@ static void wooden_rc_track_right_half_banked_helix_up_large( session, direction, wooden_rc_get_track_colour(session) | 23672, { 0, 0, height }, { 16, 16, 2 }, { 16, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24538, 0, 0, 16, 16, 2, height, 16, 0, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24538, { 0, 0, height }, { 16, 16, 2 }, + { 16, 0, height }); wooden_a_supports_paint_setup(session, 3, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -5973,14 +6135,14 @@ static void wooden_rc_track_right_half_banked_helix_up_large( session, direction, wooden_rc_get_track_colour(session) | 23677, { 0, 0, height }, { 16, 16, 2 }, { 16, 16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24543, 0, 0, 16, 16, 2, height, 16, 16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24543, { 0, 0, height }, { 16, 16, 2 }, + { 16, 16, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23692, { 0, 0, height }, { 16, 16, 0 }, { 16, 16, height + 29 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24558, 0, 0, 16, 16, 0, height, 16, 16, - height + 29); + session, direction, wooden_rc_get_rails_colour(session) | 24558, { 0, 0, height }, { 16, 16, 0 }, + { 16, 16, height + 29 }); wooden_a_supports_paint_setup(session, 4, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -5988,8 +6150,8 @@ static void wooden_rc_track_right_half_banked_helix_up_large( session, direction, wooden_rc_get_track_colour(session) | 23682, { 0, 0, height }, { 16, 16, 2 }, { 0, 16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24548, 0, 0, 16, 16, 2, height, 0, 16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24548, { 0, 0, height }, { 16, 16, 2 }, + { 0, 16, height }); wooden_a_supports_paint_setup(session, 5, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -6012,14 +6174,14 @@ static void wooden_rc_track_right_half_banked_helix_up_large( session, direction, wooden_rc_get_track_colour(session) | 23668, { 0, 0, height }, { 16, 32, 2 }, { 16, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24534, 0, 0, 16, 32, 2, height, 16, 0, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24534, { 0, 0, height }, { 16, 32, 2 }, + { 16, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23688, { 0, 0, height }, { 16, 32, 0 }, { 16, 0, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24554, 0, 0, 16, 32, 0, height, 16, 0, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24554, { 0, 0, height }, { 16, 32, 0 }, + { 16, 0, height + 27 }); wooden_a_supports_paint_setup(session, 4, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -6027,7 +6189,8 @@ static void wooden_rc_track_right_half_banked_helix_up_large( session, direction, wooden_rc_get_track_colour(session) | 23673, { 0, 0, height }, { 16, 32, 2 }, { 0, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24539, 0, 0, 16, 32, 2, height, 0, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24539, { 0, 0, height }, { 16, 32, 2 }, + { 0, 0, height }); wooden_a_supports_paint_setup(session, 5, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -6035,13 +6198,14 @@ static void wooden_rc_track_right_half_banked_helix_up_large( session, direction, wooden_rc_get_track_colour(session) | 23678, { 0, 0, height }, { 16, 32, 2 }, { 0, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24544, 0, 0, 16, 32, 2, height, 0, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24544, { 0, 0, height }, { 16, 32, 2 }, + { 0, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23693, { 0, 0, height }, { 16, 32, 0 }, { 0, 0, height + 33 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24559, 0, 0, 16, 32, 0, height, 0, 0, - height + 33); + session, direction, wooden_rc_get_rails_colour(session) | 24559, { 0, 0, height }, { 16, 32, 0 }, + { 0, 0, height + 33 }); wooden_a_supports_paint_setup(session, 2, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -6049,8 +6213,8 @@ static void wooden_rc_track_right_half_banked_helix_up_large( session, direction, wooden_rc_get_track_colour(session) | 23683, { 0, 0, height }, { 16, 32, 2 }, { 16, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24549, 0, 0, 16, 32, 2, height, 16, 0, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24549, { 0, 0, height }, { 16, 32, 2 }, + { 16, 0, height }); wooden_a_supports_paint_setup(session, 3, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -6069,13 +6233,14 @@ static void wooden_rc_track_right_half_banked_helix_up_large( session, direction, wooden_rc_get_track_colour(session) | 23669, { 0, 0, height }, { 20, 32, 2 }, { 6, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24535, 0, 0, 20, 32, 2, height, 6, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24535, { 0, 0, height }, { 20, 32, 2 }, + { 6, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23689, { 0, 0, height }, { 20, 32, 0 }, { 6, 0, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24555, 0, 0, 20, 32, 0, height, 6, 0, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24555, { 0, 0, height }, { 20, 32, 0 }, + { 6, 0, height + 27 }); wooden_a_supports_paint_setup(session, 1, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -6083,7 +6248,8 @@ static void wooden_rc_track_right_half_banked_helix_up_large( session, direction, wooden_rc_get_track_colour(session) | 23674, { 0, 0, height }, { 20, 32, 2 }, { 6, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24540, 0, 0, 20, 32, 2, height, 6, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24540, { 0, 0, height }, { 20, 32, 2 }, + { 6, 0, height }); wooden_a_supports_paint_setup(session, 0, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -6091,13 +6257,14 @@ static void wooden_rc_track_right_half_banked_helix_up_large( session, direction, wooden_rc_get_track_colour(session) | 23679, { 0, 0, height }, { 27, 32, 2 }, { 2, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24545, 0, 0, 27, 32, 2, height, 2, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24545, { 0, 0, height }, { 27, 32, 2 }, + { 2, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23694, { 0, 0, height }, { 27, 32, 0 }, { 2, 0, height + 33 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24560, 0, 0, 27, 32, 0, height, 2, 0, - height + 33); + session, direction, wooden_rc_get_rails_colour(session) | 24560, { 0, 0, height }, { 27, 32, 0 }, + { 2, 0, height + 33 }); wooden_a_supports_paint_setup(session, 1, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -6105,7 +6272,8 @@ static void wooden_rc_track_right_half_banked_helix_up_large( session, direction, wooden_rc_get_track_colour(session) | 23684, { 0, 0, height }, { 20, 32, 2 }, { 6, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24550, 0, 0, 20, 32, 2, height, 6, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24550, { 0, 0, height }, { 20, 32, 2 }, + { 6, 0, height }); wooden_a_supports_paint_setup(session, 0, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -6133,7 +6301,8 @@ static void wooden_rc_track_right_half_banked_helix_up_large( session, direction, wooden_rc_get_track_colour(session) | 23670, { 0, 0, height }, { 20, 32, 2 }, { 6, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24536, 0, 0, 20, 32, 2, height, 6, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24536, { 0, 0, height }, { 20, 32, 2 }, + { 6, 0, height }); wooden_a_supports_paint_setup(session, 1, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -6141,13 +6310,14 @@ static void wooden_rc_track_right_half_banked_helix_up_large( session, direction, wooden_rc_get_track_colour(session) | 23675, { 0, 0, height }, { 27, 32, 2 }, { 2, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24541, 0, 0, 27, 32, 2, height, 2, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24541, { 0, 0, height }, { 27, 32, 2 }, + { 2, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23690, { 0, 0, height }, { 27, 32, 0 }, { 2, 0, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24556, 0, 0, 27, 32, 0, height, 2, 0, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24556, { 0, 0, height }, { 27, 32, 0 }, + { 2, 0, height + 27 }); wooden_a_supports_paint_setup(session, 0, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -6155,7 +6325,8 @@ static void wooden_rc_track_right_half_banked_helix_up_large( session, direction, wooden_rc_get_track_colour(session) | 23680, { 0, 0, height }, { 20, 32, 2 }, { 6, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24546, 0, 0, 20, 32, 2, height, 6, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24546, { 0, 0, height }, { 20, 32, 2 }, + { 6, 0, height }); wooden_a_supports_paint_setup(session, 1, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -6163,13 +6334,14 @@ static void wooden_rc_track_right_half_banked_helix_up_large( session, direction, wooden_rc_get_track_colour(session) | 23665, { 0, 0, height }, { 20, 32, 2 }, { 6, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24531, 0, 0, 20, 32, 2, height, 6, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24531, { 0, 0, height }, { 20, 32, 2 }, + { 6, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23685, { 0, 0, height }, { 20, 32, 0 }, { 6, 0, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24551, 0, 0, 20, 32, 0, height, 6, 0, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24551, { 0, 0, height }, { 20, 32, 0 }, + { 6, 0, height + 27 }); wooden_a_supports_paint_setup(session, 0, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -6202,8 +6374,8 @@ static void wooden_rc_track_right_half_banked_helix_up_large( session, direction, wooden_rc_get_track_colour(session) | 23671, { 0, 0, height }, { 16, 32, 2 }, { 16, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24537, 0, 0, 16, 32, 2, height, 16, 0, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24537, { 0, 0, height }, { 16, 32, 2 }, + { 16, 0, height }); wooden_a_supports_paint_setup(session, 5, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -6211,13 +6383,14 @@ static void wooden_rc_track_right_half_banked_helix_up_large( session, direction, wooden_rc_get_track_colour(session) | 23676, { 0, 0, height }, { 16, 32, 2 }, { 0, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24542, 0, 0, 16, 32, 2, height, 0, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24542, { 0, 0, height }, { 16, 32, 2 }, + { 0, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23691, { 0, 0, height }, { 16, 32, 0 }, { 0, 0, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24557, 0, 0, 16, 32, 0, height, 0, 0, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24557, { 0, 0, height }, { 16, 32, 0 }, + { 0, 0, height + 27 }); wooden_a_supports_paint_setup(session, 2, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -6225,7 +6398,8 @@ static void wooden_rc_track_right_half_banked_helix_up_large( session, direction, wooden_rc_get_track_colour(session) | 23681, { 0, 0, height }, { 16, 32, 2 }, { 0, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24547, 0, 0, 16, 32, 2, height, 0, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24547, { 0, 0, height }, { 16, 32, 2 }, + { 0, 0, height }); wooden_a_supports_paint_setup(session, 3, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -6233,14 +6407,14 @@ static void wooden_rc_track_right_half_banked_helix_up_large( session, direction, wooden_rc_get_track_colour(session) | 23666, { 0, 0, height }, { 16, 32, 2 }, { 16, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24532, 0, 0, 16, 32, 2, height, 16, 0, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24532, { 0, 0, height }, { 16, 32, 2 }, + { 16, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23686, { 0, 0, height }, { 16, 32, 0 }, { 16, 0, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24552, 0, 0, 16, 32, 0, height, 16, 0, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24552, { 0, 0, height }, { 16, 32, 0 }, + { 16, 0, height + 27 }); wooden_a_supports_paint_setup(session, 4, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -6259,8 +6433,8 @@ static void wooden_rc_track_right_half_banked_helix_up_large( session, direction, wooden_rc_get_track_colour(session) | 23672, { 0, 0, height }, { 16, 16, 2 }, { 0, 16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24538, 0, 0, 16, 16, 2, height, 0, 16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24538, { 0, 0, height }, { 16, 16, 2 }, + { 0, 16, height }); wooden_a_supports_paint_setup(session, 3, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -6268,14 +6442,14 @@ static void wooden_rc_track_right_half_banked_helix_up_large( session, direction, wooden_rc_get_track_colour(session) | 23677, { 0, 0, height }, { 16, 16, 2 }, { 16, 16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24543, 0, 0, 16, 16, 2, height, 16, 16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24543, { 0, 0, height }, { 16, 16, 2 }, + { 16, 16, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23692, { 0, 0, height }, { 16, 16, 0 }, { 16, 16, height + 29 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24558, 0, 0, 16, 16, 0, height, 16, 16, - height + 29); + session, direction, wooden_rc_get_rails_colour(session) | 24558, { 0, 0, height }, { 16, 16, 0 }, + { 16, 16, height + 29 }); wooden_a_supports_paint_setup(session, 4, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -6283,8 +6457,8 @@ static void wooden_rc_track_right_half_banked_helix_up_large( session, direction, wooden_rc_get_track_colour(session) | 23682, { 0, 0, height }, { 16, 16, 2 }, { 16, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24548, 0, 0, 16, 16, 2, height, 16, 0, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24548, { 0, 0, height }, { 16, 16, 2 }, + { 16, 0, height }); wooden_a_supports_paint_setup(session, 5, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -6292,13 +6466,14 @@ static void wooden_rc_track_right_half_banked_helix_up_large( session, direction, wooden_rc_get_track_colour(session) | 23667, { 0, 0, height }, { 16, 16, 2 }, { 0, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24533, 0, 0, 16, 16, 2, height, 0, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24533, { 0, 0, height }, { 16, 16, 2 }, + { 0, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23687, { 0, 0, height }, { 16, 16, 0 }, { 0, 0, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24553, 0, 0, 16, 16, 0, height, 0, 0, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24553, { 0, 0, height }, { 16, 16, 0 }, + { 0, 0, height + 27 }); wooden_a_supports_paint_setup(session, 2, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -6321,7 +6496,8 @@ static void wooden_rc_track_right_half_banked_helix_up_large( session, direction, wooden_rc_get_track_colour(session) | 23673, { 0, 0, height }, { 32, 16, 2 }, { 0, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24539, 0, 0, 32, 16, 2, height, 0, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24539, { 0, 0, height }, { 32, 16, 2 }, + { 0, 0, height }); wooden_a_supports_paint_setup(session, 5, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -6329,13 +6505,14 @@ static void wooden_rc_track_right_half_banked_helix_up_large( session, direction, wooden_rc_get_track_colour(session) | 23678, { 0, 0, height }, { 32, 16, 2 }, { 0, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24544, 0, 0, 32, 16, 2, height, 0, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24544, { 0, 0, height }, { 32, 16, 2 }, + { 0, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23693, { 0, 0, height }, { 32, 16, 0 }, { 0, 0, height + 33 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24559, 0, 0, 32, 16, 0, height, 0, 0, - height + 33); + session, direction, wooden_rc_get_rails_colour(session) | 24559, { 0, 0, height }, { 32, 16, 0 }, + { 0, 0, height + 33 }); wooden_a_supports_paint_setup(session, 2, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -6343,8 +6520,8 @@ static void wooden_rc_track_right_half_banked_helix_up_large( session, direction, wooden_rc_get_track_colour(session) | 23683, { 0, 0, height }, { 32, 16, 2 }, { 0, 16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24549, 0, 0, 32, 16, 2, height, 0, 16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24549, { 0, 0, height }, { 32, 16, 2 }, + { 0, 16, height }); wooden_a_supports_paint_setup(session, 3, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -6352,14 +6529,14 @@ static void wooden_rc_track_right_half_banked_helix_up_large( session, direction, wooden_rc_get_track_colour(session) | 23668, { 0, 0, height }, { 32, 16, 2 }, { 0, 16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24534, 0, 0, 32, 16, 2, height, 0, 16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24534, { 0, 0, height }, { 32, 16, 2 }, + { 0, 16, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23688, { 0, 0, height }, { 32, 16, 0 }, { 0, 16, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24554, 0, 0, 32, 16, 0, height, 0, 16, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24554, { 0, 0, height }, { 32, 16, 0 }, + { 0, 16, height + 27 }); wooden_a_supports_paint_setup(session, 4, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -6378,7 +6555,8 @@ static void wooden_rc_track_right_half_banked_helix_up_large( session, direction, wooden_rc_get_track_colour(session) | 23674, { 0, 0, height }, { 32, 20, 2 }, { 0, 6, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24540, 0, 0, 32, 20, 2, height, 0, 6, height); + session, direction, wooden_rc_get_rails_colour(session) | 24540, { 0, 0, height }, { 32, 20, 2 }, + { 0, 6, height }); wooden_a_supports_paint_setup(session, 0, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -6386,13 +6564,14 @@ static void wooden_rc_track_right_half_banked_helix_up_large( session, direction, wooden_rc_get_track_colour(session) | 23679, { 0, 0, height }, { 32, 27, 2 }, { 0, 2, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24545, 0, 0, 32, 27, 2, height, 0, 2, height); + session, direction, wooden_rc_get_rails_colour(session) | 24545, { 0, 0, height }, { 32, 27, 2 }, + { 0, 2, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23694, { 0, 0, height }, { 32, 27, 0 }, { 0, 2, height + 33 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24560, 0, 0, 32, 27, 0, height, 0, 2, - height + 33); + session, direction, wooden_rc_get_rails_colour(session) | 24560, { 0, 0, height }, { 32, 27, 0 }, + { 0, 2, height + 33 }); wooden_a_supports_paint_setup(session, 1, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -6400,7 +6579,8 @@ static void wooden_rc_track_right_half_banked_helix_up_large( session, direction, wooden_rc_get_track_colour(session) | 23684, { 0, 0, height }, { 32, 20, 2 }, { 0, 6, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24550, 0, 0, 32, 20, 2, height, 0, 6, height); + session, direction, wooden_rc_get_rails_colour(session) | 24550, { 0, 0, height }, { 32, 20, 2 }, + { 0, 6, height }); wooden_a_supports_paint_setup(session, 0, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -6408,13 +6588,14 @@ static void wooden_rc_track_right_half_banked_helix_up_large( session, direction, wooden_rc_get_track_colour(session) | 23669, { 0, 0, height }, { 32, 20, 2 }, { 0, 6, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24535, 0, 0, 32, 20, 2, height, 0, 6, height); + session, direction, wooden_rc_get_rails_colour(session) | 24535, { 0, 0, height }, { 32, 20, 2 }, + { 0, 6, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23689, { 0, 0, height }, { 32, 20, 0 }, { 0, 6, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24555, 0, 0, 32, 20, 0, height, 0, 6, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24555, { 0, 0, height }, { 32, 20, 0 }, + { 0, 6, height + 27 }); wooden_a_supports_paint_setup(session, 1, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -6472,48 +6653,56 @@ static void wooden_rc_track_left_quarter_turn_1_60_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24209, { 0, 0, height }, { 28, 28, 3 }, { 2, 2, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25075, 0, 0, 28, 28, 3, height, 2, 2, height); + session, direction, wooden_rc_get_rails_colour(session) | 25075, { 0, 0, height }, { 28, 28, 3 }, + { 2, 2, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24217, { 0, 0, height }, { 28, 28, 1 }, { 2, 2, height + 99 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25083, 0, 0, 28, 28, 1, height, 2, 2, height + 99); + session, direction, wooden_rc_get_rails_colour(session) | 25083, { 0, 0, height }, { 28, 28, 1 }, + { 2, 2, height + 99 }); break; case 1: PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24210, { 0, 0, height }, { 28, 28, 3 }, { 2, 2, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25076, 0, 0, 28, 28, 3, height, 2, 2, height); + session, direction, wooden_rc_get_rails_colour(session) | 25076, { 0, 0, height }, { 28, 28, 3 }, + { 2, 2, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24218, { 0, 0, height }, { 28, 28, 1 }, { 2, 2, height + 99 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25084, 0, 0, 28, 28, 1, height, 2, 2, height + 99); + session, direction, wooden_rc_get_rails_colour(session) | 25084, { 0, 0, height }, { 28, 28, 1 }, + { 2, 2, height + 99 }); break; case 2: PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24211, { 0, 0, height }, { 28, 28, 3 }, { 2, 2, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25077, 0, 0, 28, 28, 3, height, 2, 2, height); + session, direction, wooden_rc_get_rails_colour(session) | 25077, { 0, 0, height }, { 28, 28, 3 }, + { 2, 2, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24219, { 0, 0, height }, { 28, 28, 1 }, { 2, 2, height + 99 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25085, 0, 0, 28, 28, 1, height, 2, 2, height + 99); + session, direction, wooden_rc_get_rails_colour(session) | 25085, { 0, 0, height }, { 28, 28, 1 }, + { 2, 2, height + 99 }); break; case 3: PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24212, { 0, 0, height }, { 28, 28, 3 }, { 2, 2, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25078, 0, 0, 28, 28, 3, height, 2, 2, height); + session, direction, wooden_rc_get_rails_colour(session) | 25078, { 0, 0, height }, { 28, 28, 3 }, + { 2, 2, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24220, { 0, 0, height }, { 28, 28, 1 }, { 2, 2, height + 99 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25086, 0, 0, 28, 28, 1, height, 2, 2, height + 99); + session, direction, wooden_rc_get_rails_colour(session) | 25086, { 0, 0, height }, { 28, 28, 1 }, + { 2, 2, height + 99 }); break; } track_paint_util_left_quarter_turn_1_tile_tunnel(session, direction, height, -8, TUNNEL_SQUARE_7, +56, TUNNEL_SQUARE_8); @@ -6533,48 +6722,56 @@ static void wooden_rc_track_right_quarter_turn_1_60_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24213, { 0, 0, height }, { 28, 28, 3 }, { 2, 2, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25079, 0, 0, 28, 28, 3, height, 2, 2, height); + session, direction, wooden_rc_get_rails_colour(session) | 25079, { 0, 0, height }, { 28, 28, 3 }, + { 2, 2, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24221, { 0, 0, height }, { 28, 28, 1 }, { 2, 2, height + 99 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25087, 0, 0, 28, 28, 1, height, 2, 2, height + 99); + session, direction, wooden_rc_get_rails_colour(session) | 25087, { 0, 0, height }, { 28, 28, 1 }, + { 2, 2, height + 99 }); break; case 1: PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24214, { 0, 0, height }, { 28, 28, 3 }, { 2, 2, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25080, 0, 0, 28, 28, 3, height, 2, 2, height); + session, direction, wooden_rc_get_rails_colour(session) | 25080, { 0, 0, height }, { 28, 28, 3 }, + { 2, 2, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24222, { 0, 0, height }, { 28, 28, 1 }, { 2, 2, height + 99 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25088, 0, 0, 28, 28, 1, height, 2, 2, height + 99); + session, direction, wooden_rc_get_rails_colour(session) | 25088, { 0, 0, height }, { 28, 28, 1 }, + { 2, 2, height + 99 }); break; case 2: PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24215, { 0, 0, height }, { 28, 28, 3 }, { 2, 2, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25081, 0, 0, 28, 28, 3, height, 2, 2, height); + session, direction, wooden_rc_get_rails_colour(session) | 25081, { 0, 0, height }, { 28, 28, 3 }, + { 2, 2, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24223, { 0, 0, height }, { 28, 28, 1 }, { 2, 2, height + 99 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25089, 0, 0, 28, 28, 1, height, 2, 2, height + 99); + session, direction, wooden_rc_get_rails_colour(session) | 25089, { 0, 0, height }, { 28, 28, 1 }, + { 2, 2, height + 99 }); break; case 3: PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24216, { 0, 0, height }, { 28, 28, 3 }, { 2, 2, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25082, 0, 0, 28, 28, 3, height, 2, 2, height); + session, direction, wooden_rc_get_rails_colour(session) | 25082, { 0, 0, height }, { 28, 28, 3 }, + { 2, 2, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24224, { 0, 0, height }, { 28, 28, 1 }, { 2, 2, height + 99 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25090, 0, 0, 28, 28, 1, height, 2, 2, height + 99); + session, direction, wooden_rc_get_rails_colour(session) | 25090, { 0, 0, height }, { 28, 28, 1 }, + { 2, 2, height + 99 }); break; } track_paint_util_right_quarter_turn_1_tile_tunnel(session, direction, height, -8, TUNNEL_SQUARE_7, +56, TUNNEL_SQUARE_8); @@ -6630,7 +6827,8 @@ static void wooden_rc_track_25_deg_up_left_banked( session, direction, wooden_rc_get_track_colour(session) | 24249, { 0, 0, height }, { 32, 25, 2 }, { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25115, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 25115, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); wooden_a_supports_paint_setup(session, 0, 9, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -6638,12 +6836,14 @@ static void wooden_rc_track_25_deg_up_left_banked( session, direction, wooden_rc_get_track_colour(session) | 24250, { 0, 0, height }, { 32, 25, 2 }, { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25116, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 25116, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24257, { 0, 0, height }, { 32, 1, 9 }, { 0, 26, height + 5 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25123, 0, 0, 32, 1, 9, height, 0, 26, height + 5); + session, direction, wooden_rc_get_rails_colour(session) | 25123, { 0, 0, height }, { 32, 1, 9 }, + { 0, 26, height + 5 }); wooden_a_supports_paint_setup(session, 1, 10, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -6651,12 +6851,14 @@ static void wooden_rc_track_25_deg_up_left_banked( session, direction, wooden_rc_get_track_colour(session) | 24251, { 0, 0, height }, { 32, 25, 2 }, { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25117, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 25117, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24258, { 0, 0, height }, { 32, 1, 9 }, { 0, 26, height + 5 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25124, 0, 0, 32, 1, 9, height, 0, 26, height + 5); + session, direction, wooden_rc_get_rails_colour(session) | 25124, { 0, 0, height }, { 32, 1, 9 }, + { 0, 26, height + 5 }); wooden_a_supports_paint_setup(session, 0, 11, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -6664,7 +6866,8 @@ static void wooden_rc_track_25_deg_up_left_banked( session, direction, wooden_rc_get_track_colour(session) | 24252, { 0, 0, height }, { 32, 25, 2 }, { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25118, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 25118, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); wooden_a_supports_paint_setup(session, 1, 12, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -6692,7 +6895,8 @@ static void wooden_rc_track_25_deg_up_right_banked( session, direction, wooden_rc_get_track_colour(session) | 24253, { 0, 0, height }, { 32, 25, 2 }, { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25119, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 25119, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); wooden_a_supports_paint_setup(session, 0, 9, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -6700,12 +6904,14 @@ static void wooden_rc_track_25_deg_up_right_banked( session, direction, wooden_rc_get_track_colour(session) | 24254, { 0, 0, height }, { 32, 25, 2 }, { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25120, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 25120, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24259, { 0, 0, height }, { 32, 1, 9 }, { 0, 26, height + 5 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25125, 0, 0, 32, 1, 9, height, 0, 26, height + 5); + session, direction, wooden_rc_get_rails_colour(session) | 25125, { 0, 0, height }, { 32, 1, 9 }, + { 0, 26, height + 5 }); wooden_a_supports_paint_setup(session, 1, 10, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -6713,12 +6919,14 @@ static void wooden_rc_track_25_deg_up_right_banked( session, direction, wooden_rc_get_track_colour(session) | 24255, { 0, 0, height }, { 32, 25, 2 }, { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25121, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 25121, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24260, { 0, 0, height }, { 32, 1, 9 }, { 0, 26, height + 5 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25126, 0, 0, 32, 1, 9, height, 0, 26, height + 5); + session, direction, wooden_rc_get_rails_colour(session) | 25126, { 0, 0, height }, { 32, 1, 9 }, + { 0, 26, height + 5 }); wooden_a_supports_paint_setup(session, 0, 11, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -6726,7 +6934,8 @@ static void wooden_rc_track_25_deg_up_right_banked( session, direction, wooden_rc_get_track_colour(session) | 24256, { 0, 0, height }, { 32, 25, 2 }, { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25122, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 25122, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); wooden_a_supports_paint_setup(session, 1, 12, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -6754,28 +6963,32 @@ static void wooden_rc_track_on_ride_photo( session, direction, wooden_rc_get_track_colour(session) | 23753, { 0, 2, height }, { 32, 25, 2 }, { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24619, 0, 2, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 24619, { 0, 2, height }, { 32, 25, 2 }, + { 0, 3, height }); break; case 1: PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23754, { 0, 2, height }, { 32, 25, 2 }, { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24620, 0, 2, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 24620, { 0, 2, height }, { 32, 25, 2 }, + { 0, 3, height }); break; case 2: PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23753, { 0, 2, height }, { 32, 25, 2 }, { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24619, 0, 2, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 24619, { 0, 2, height }, { 32, 25, 2 }, + { 0, 3, height }); break; case 3: PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23754, { 0, 2, height }, { 32, 25, 2 }, { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24620, 0, 2, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 24620, { 0, 2, height }, { 32, 25, 2 }, + { 0, 3, height }); break; } wooden_a_supports_paint_setup(session, direction & 1, 0, height, session.TrackColours[SCHEME_SUPPORTS]); @@ -6819,84 +7032,104 @@ static void wooden_rc_track_water_splash( session, direction, wooden_rc_get_track_colour(session) | 23989, { 0, 0, height }, { 32, 25, 2 }, { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24855, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 24855, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, 0x61000000 | SPR_WATER_MASK, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); + session, direction, 0x61000000 | SPR_WATER_MASK, { 0, 0, height + 16 }, { 32, 25, 2 }, + { 0, 3, height + 16 }); PaintAddImageAsChildRotated( - session, direction, 0x00000000 | waterOverlay, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); + session, direction, 0x00000000 | waterOverlay, { 0, 0, height + 16 }, { 32, 25, 2 }, + { 0, 3, height + 16 }); PaintAddImageAsChildRotated( - session, direction, session.TrackColours[SCHEME_SUPPORTS] | 23997, 0, 0, 32, 25, 2, height, 0, 3, - height); + session, direction, session.TrackColours[SCHEME_SUPPORTS] | 23997, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, session.TrackColours[SCHEME_SUPPORTS] | 24863, 0, 0, 32, 25, 2, height, 0, 3, - height); + session, direction, session.TrackColours[SCHEME_SUPPORTS] | 24863, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_track_colour(session) | 23993, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_track_colour(session) | 23993, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24859, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 24859, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); break; case 1: PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23990, { 0, 0, height }, { 32, 25, 2 }, { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24856, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 24856, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, 0x61000000 | SPR_WATER_MASK, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); + session, direction, 0x61000000 | SPR_WATER_MASK, { 0, 0, height + 16 }, { 32, 25, 2 }, + { 0, 3, height + 16 }); PaintAddImageAsChildRotated( - session, direction, 0x00000000 | waterOverlay, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); + session, direction, 0x00000000 | waterOverlay, { 0, 0, height + 16 }, { 32, 25, 2 }, + { 0, 3, height + 16 }); PaintAddImageAsChildRotated( - session, direction, session.TrackColours[SCHEME_SUPPORTS] | 23998, 0, 0, 32, 25, 2, height, 0, 3, - height); + session, direction, session.TrackColours[SCHEME_SUPPORTS] | 23998, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, session.TrackColours[SCHEME_SUPPORTS] | 24864, 0, 0, 32, 25, 2, height, 0, 3, - height); + session, direction, session.TrackColours[SCHEME_SUPPORTS] | 24864, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_track_colour(session) | 23994, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_track_colour(session) | 23994, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24860, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 24860, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); break; case 2: PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23987, { 0, 0, height }, { 32, 25, 2 }, { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24853, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 24853, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, 0x61000000 | SPR_WATER_MASK, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); + session, direction, 0x61000000 | SPR_WATER_MASK, { 0, 0, height + 16 }, { 32, 25, 2 }, + { 0, 3, height + 16 }); PaintAddImageAsChildRotated( - session, direction, 0x00000000 | waterOverlay, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); + session, direction, 0x00000000 | waterOverlay, { 0, 0, height + 16 }, { 32, 25, 2 }, + { 0, 3, height + 16 }); PaintAddImageAsChildRotated( - session, direction, session.TrackColours[SCHEME_SUPPORTS] | 23995, 0, 0, 32, 25, 2, height, 0, 3, - height); + session, direction, session.TrackColours[SCHEME_SUPPORTS] | 23995, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, session.TrackColours[SCHEME_SUPPORTS] | 24861, 0, 0, 32, 25, 2, height, 0, 3, - height); + session, direction, session.TrackColours[SCHEME_SUPPORTS] | 24861, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_track_colour(session) | 23991, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_track_colour(session) | 23991, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24857, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 24857, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); break; case 3: PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23988, { 0, 0, height }, { 32, 25, 2 }, { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24854, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 24854, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, 0x61000000 | SPR_WATER_MASK, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); + session, direction, 0x61000000 | SPR_WATER_MASK, { 0, 0, height + 16 }, { 32, 25, 2 }, + { 0, 3, height + 16 }); PaintAddImageAsChildRotated( - session, direction, 0x00000000 | waterOverlay, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); + session, direction, 0x00000000 | waterOverlay, { 0, 0, height + 16 }, { 32, 25, 2 }, + { 0, 3, height + 16 }); PaintAddImageAsChildRotated( - session, direction, session.TrackColours[SCHEME_SUPPORTS] | 23996, 0, 0, 32, 25, 2, height, 0, 3, - height); + session, direction, session.TrackColours[SCHEME_SUPPORTS] | 23996, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, session.TrackColours[SCHEME_SUPPORTS] | 24862, 0, 0, 32, 25, 2, height, 0, 3, - height); + session, direction, session.TrackColours[SCHEME_SUPPORTS] | 24862, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_track_colour(session) | 23992, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_track_colour(session) | 23992, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24858, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 24858, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); break; } wooden_a_supports_paint_setup(session, direction & 1, 0, height, session.TrackColours[SCHEME_SUPPORTS]); @@ -6912,84 +7145,104 @@ static void wooden_rc_track_water_splash( session, direction, wooden_rc_get_track_colour(session) | 23977, { 0, 0, height }, { 32, 25, 2 }, { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24843, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 24843, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, 0x61000000 | SPR_WATER_MASK, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); + session, direction, 0x61000000 | SPR_WATER_MASK, { 0, 0, height + 16 }, { 32, 25, 2 }, + { 0, 3, height + 16 }); PaintAddImageAsChildRotated( - session, direction, 0x00000000 | waterOverlay, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); + session, direction, 0x00000000 | waterOverlay, { 0, 0, height + 16 }, { 32, 25, 2 }, + { 0, 3, height + 16 }); PaintAddImageAsChildRotated( - session, direction, session.TrackColours[SCHEME_SUPPORTS] | 23985, 0, 0, 32, 25, 2, height, 0, 3, - height); + session, direction, session.TrackColours[SCHEME_SUPPORTS] | 23985, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, session.TrackColours[SCHEME_SUPPORTS] | 24851, 0, 0, 32, 25, 2, height, 0, 3, - height); + session, direction, session.TrackColours[SCHEME_SUPPORTS] | 24851, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_track_colour(session) | 23981, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_track_colour(session) | 23981, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24847, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 24847, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); break; case 1: PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23978, { 0, 0, height }, { 32, 25, 2 }, { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24844, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 24844, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, 0x61000000 | SPR_WATER_MASK, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); + session, direction, 0x61000000 | SPR_WATER_MASK, { 0, 0, height + 16 }, { 32, 25, 2 }, + { 0, 3, height + 16 }); PaintAddImageAsChildRotated( - session, direction, 0x00000000 | waterOverlay, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); + session, direction, 0x00000000 | waterOverlay, { 0, 0, height + 16 }, { 32, 25, 2 }, + { 0, 3, height + 16 }); PaintAddImageAsChildRotated( - session, direction, session.TrackColours[SCHEME_SUPPORTS] | 23986, 0, 0, 32, 25, 2, height, 0, 3, - height); + session, direction, session.TrackColours[SCHEME_SUPPORTS] | 23986, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, session.TrackColours[SCHEME_SUPPORTS] | 24852, 0, 0, 32, 25, 2, height, 0, 3, - height); + session, direction, session.TrackColours[SCHEME_SUPPORTS] | 24852, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_track_colour(session) | 23982, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_track_colour(session) | 23982, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24848, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 24848, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); break; case 2: PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23975, { 0, 0, height }, { 32, 25, 2 }, { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24841, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 24841, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, 0x61000000 | SPR_WATER_MASK, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); + session, direction, 0x61000000 | SPR_WATER_MASK, { 0, 0, height + 16 }, { 32, 25, 2 }, + { 0, 3, height + 16 }); PaintAddImageAsChildRotated( - session, direction, 0x00000000 | waterOverlay, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); + session, direction, 0x00000000 | waterOverlay, { 0, 0, height + 16 }, { 32, 25, 2 }, + { 0, 3, height + 16 }); PaintAddImageAsChildRotated( - session, direction, session.TrackColours[SCHEME_SUPPORTS] | 23983, 0, 0, 32, 25, 2, height, 0, 3, - height); + session, direction, session.TrackColours[SCHEME_SUPPORTS] | 23983, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, session.TrackColours[SCHEME_SUPPORTS] | 24849, 0, 0, 32, 25, 2, height, 0, 3, - height); + session, direction, session.TrackColours[SCHEME_SUPPORTS] | 24849, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_track_colour(session) | 23979, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_track_colour(session) | 23979, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24845, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 24845, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); break; case 3: PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23976, { 0, 0, height }, { 32, 25, 2 }, { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24842, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 24842, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, 0x61000000 | SPR_WATER_MASK, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); + session, direction, 0x61000000 | SPR_WATER_MASK, { 0, 0, height + 16 }, { 32, 25, 2 }, + { 0, 3, height + 16 }); PaintAddImageAsChildRotated( - session, direction, 0x00000000 | waterOverlay, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); + session, direction, 0x00000000 | waterOverlay, { 0, 0, height + 16 }, { 32, 25, 2 }, + { 0, 3, height + 16 }); PaintAddImageAsChildRotated( - session, direction, session.TrackColours[SCHEME_SUPPORTS] | 23984, 0, 0, 32, 25, 2, height, 0, 3, - height); + session, direction, session.TrackColours[SCHEME_SUPPORTS] | 23984, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, session.TrackColours[SCHEME_SUPPORTS] | 24850, 0, 0, 32, 25, 2, height, 0, 3, - height); + session, direction, session.TrackColours[SCHEME_SUPPORTS] | 24850, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_track_colour(session) | 23980, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_track_colour(session) | 23980, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24846, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 24846, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); break; } wooden_a_supports_paint_setup(session, direction & 1, 0, height, session.TrackColours[SCHEME_SUPPORTS]); @@ -7005,21 +7258,26 @@ static void wooden_rc_track_water_splash( session, direction, wooden_rc_get_track_colour(session) | 23999, { 0, 0, height }, { 32, 25, 2 }, { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24865, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 24865, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, 0x61000000 | SPR_WATER_MASK, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); + session, direction, 0x61000000 | SPR_WATER_MASK, { 0, 0, height + 16 }, { 32, 25, 2 }, + { 0, 3, height + 16 }); PaintAddImageAsChildRotated( - session, direction, 0x00000000 | waterOverlay, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); + session, direction, 0x00000000 | waterOverlay, { 0, 0, height + 16 }, { 32, 25, 2 }, + { 0, 3, height + 16 }); PaintAddImageAsChildRotated( - session, direction, session.TrackColours[SCHEME_SUPPORTS] | 24003, 0, 0, 32, 25, 2, height, 0, 3, - height); + session, direction, session.TrackColours[SCHEME_SUPPORTS] | 24003, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, session.TrackColours[SCHEME_SUPPORTS] | 24869, 0, 0, 32, 25, 2, height, 0, 3, - height); + session, direction, session.TrackColours[SCHEME_SUPPORTS] | 24869, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_track_colour(session) | 24001, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_track_colour(session) | 24001, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24867, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 24867, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); break; case 1: case 3: @@ -7027,21 +7285,26 @@ static void wooden_rc_track_water_splash( session, direction, wooden_rc_get_track_colour(session) | 24000, { 0, 0, height }, { 32, 25, 2 }, { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24866, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 24866, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, 0x61000000 | SPR_WATER_MASK, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); + session, direction, 0x61000000 | SPR_WATER_MASK, { 0, 0, height + 16 }, { 32, 25, 2 }, + { 0, 3, height + 16 }); PaintAddImageAsChildRotated( - session, direction, 0x00000000 | waterOverlay, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); + session, direction, 0x00000000 | waterOverlay, { 0, 0, height + 16 }, { 32, 25, 2 }, + { 0, 3, height + 16 }); PaintAddImageAsChildRotated( - session, direction, session.TrackColours[SCHEME_SUPPORTS] | 24004, 0, 0, 32, 25, 2, height, 0, 3, - height); + session, direction, session.TrackColours[SCHEME_SUPPORTS] | 24004, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, session.TrackColours[SCHEME_SUPPORTS] | 24870, 0, 0, 32, 25, 2, height, 0, 3, - height); + session, direction, session.TrackColours[SCHEME_SUPPORTS] | 24870, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_track_colour(session) | 24002, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_track_colour(session) | 24002, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24868, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 24868, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); break; } wooden_a_supports_paint_setup(session, direction & 1, 0, height, session.TrackColours[SCHEME_SUPPORTS]); @@ -7056,84 +7319,104 @@ static void wooden_rc_track_water_splash( session, direction, wooden_rc_get_track_colour(session) | 23975, { 0, 0, height }, { 32, 25, 2 }, { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24841, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 24841, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, 0x61000000 | SPR_WATER_MASK, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); + session, direction, 0x61000000 | SPR_WATER_MASK, { 0, 0, height + 16 }, { 32, 25, 2 }, + { 0, 3, height + 16 }); PaintAddImageAsChildRotated( - session, direction, 0x00000000 | waterOverlay, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); + session, direction, 0x00000000 | waterOverlay, { 0, 0, height + 16 }, { 32, 25, 2 }, + { 0, 3, height + 16 }); PaintAddImageAsChildRotated( - session, direction, session.TrackColours[SCHEME_SUPPORTS] | 23983, 0, 0, 32, 25, 2, height, 0, 3, - height); + session, direction, session.TrackColours[SCHEME_SUPPORTS] | 23983, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, session.TrackColours[SCHEME_SUPPORTS] | 24849, 0, 0, 32, 25, 2, height, 0, 3, - height); + session, direction, session.TrackColours[SCHEME_SUPPORTS] | 24849, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_track_colour(session) | 23979, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_track_colour(session) | 23979, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24845, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 24845, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); break; case 1: PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23976, { 0, 0, height }, { 32, 25, 2 }, { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24842, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 24842, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, 0x61000000 | SPR_WATER_MASK, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); + session, direction, 0x61000000 | SPR_WATER_MASK, { 0, 0, height + 16 }, { 32, 25, 2 }, + { 0, 3, height + 16 }); PaintAddImageAsChildRotated( - session, direction, 0x00000000 | waterOverlay, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); + session, direction, 0x00000000 | waterOverlay, { 0, 0, height + 16 }, { 32, 25, 2 }, + { 0, 3, height + 16 }); PaintAddImageAsChildRotated( - session, direction, session.TrackColours[SCHEME_SUPPORTS] | 23984, 0, 0, 32, 25, 2, height, 0, 3, - height); + session, direction, session.TrackColours[SCHEME_SUPPORTS] | 23984, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, session.TrackColours[SCHEME_SUPPORTS] | 24850, 0, 0, 32, 25, 2, height, 0, 3, - height); + session, direction, session.TrackColours[SCHEME_SUPPORTS] | 24850, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_track_colour(session) | 23980, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_track_colour(session) | 23980, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24846, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 24846, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); break; case 2: PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23977, { 0, 0, height }, { 32, 25, 2 }, { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24843, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 24843, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, 0x61000000 | SPR_WATER_MASK, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); + session, direction, 0x61000000 | SPR_WATER_MASK, { 0, 0, height + 16 }, { 32, 25, 2 }, + { 0, 3, height + 16 }); PaintAddImageAsChildRotated( - session, direction, 0x00000000 | waterOverlay, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); + session, direction, 0x00000000 | waterOverlay, { 0, 0, height + 16 }, { 32, 25, 2 }, + { 0, 3, height + 16 }); PaintAddImageAsChildRotated( - session, direction, session.TrackColours[SCHEME_SUPPORTS] | 23985, 0, 0, 32, 25, 2, height, 0, 3, - height); + session, direction, session.TrackColours[SCHEME_SUPPORTS] | 23985, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, session.TrackColours[SCHEME_SUPPORTS] | 24851, 0, 0, 32, 25, 2, height, 0, 3, - height); + session, direction, session.TrackColours[SCHEME_SUPPORTS] | 24851, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_track_colour(session) | 23981, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_track_colour(session) | 23981, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24847, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 24847, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); break; case 3: PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23978, { 0, 0, height }, { 32, 25, 2 }, { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24844, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 24844, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, 0x61000000 | SPR_WATER_MASK, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); + session, direction, 0x61000000 | SPR_WATER_MASK, { 0, 0, height + 16 }, { 32, 25, 2 }, + { 0, 3, height + 16 }); PaintAddImageAsChildRotated( - session, direction, 0x00000000 | waterOverlay, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); + session, direction, 0x00000000 | waterOverlay, { 0, 0, height + 16 }, { 32, 25, 2 }, + { 0, 3, height + 16 }); PaintAddImageAsChildRotated( - session, direction, session.TrackColours[SCHEME_SUPPORTS] | 23986, 0, 0, 32, 25, 2, height, 0, 3, - height); + session, direction, session.TrackColours[SCHEME_SUPPORTS] | 23986, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, session.TrackColours[SCHEME_SUPPORTS] | 24852, 0, 0, 32, 25, 2, height, 0, 3, - height); + session, direction, session.TrackColours[SCHEME_SUPPORTS] | 24852, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_track_colour(session) | 23982, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_track_colour(session) | 23982, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24848, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 24848, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); break; } wooden_a_supports_paint_setup(session, direction & 1, 0, height, session.TrackColours[SCHEME_SUPPORTS]); @@ -7148,84 +7431,104 @@ static void wooden_rc_track_water_splash( session, direction, wooden_rc_get_track_colour(session) | 23987, { 0, 0, height }, { 32, 25, 2 }, { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24853, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 24853, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, 0x61000000 | SPR_WATER_MASK, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); + session, direction, 0x61000000 | SPR_WATER_MASK, { 0, 0, height + 16 }, { 32, 25, 2 }, + { 0, 3, height + 16 }); PaintAddImageAsChildRotated( - session, direction, 0x00000000 | waterOverlay, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); + session, direction, 0x00000000 | waterOverlay, { 0, 0, height + 16 }, { 32, 25, 2 }, + { 0, 3, height + 16 }); PaintAddImageAsChildRotated( - session, direction, session.TrackColours[SCHEME_SUPPORTS] | 23995, 0, 0, 32, 25, 2, height, 0, 3, - height); + session, direction, session.TrackColours[SCHEME_SUPPORTS] | 23995, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, session.TrackColours[SCHEME_SUPPORTS] | 24861, 0, 0, 32, 25, 2, height, 0, 3, - height); + session, direction, session.TrackColours[SCHEME_SUPPORTS] | 24861, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_track_colour(session) | 23991, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_track_colour(session) | 23991, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24857, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 24857, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); break; case 1: PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23988, { 0, 0, height }, { 32, 25, 2 }, { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24854, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 24854, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, 0x61000000 | SPR_WATER_MASK, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); + session, direction, 0x61000000 | SPR_WATER_MASK, { 0, 0, height + 16 }, { 32, 25, 2 }, + { 0, 3, height + 16 }); PaintAddImageAsChildRotated( - session, direction, 0x00000000 | waterOverlay, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); + session, direction, 0x00000000 | waterOverlay, { 0, 0, height + 16 }, { 32, 25, 2 }, + { 0, 3, height + 16 }); PaintAddImageAsChildRotated( - session, direction, session.TrackColours[SCHEME_SUPPORTS] | 23996, 0, 0, 32, 25, 2, height, 0, 3, - height); + session, direction, session.TrackColours[SCHEME_SUPPORTS] | 23996, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, session.TrackColours[SCHEME_SUPPORTS] | 24862, 0, 0, 32, 25, 2, height, 0, 3, - height); + session, direction, session.TrackColours[SCHEME_SUPPORTS] | 24862, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_track_colour(session) | 23992, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_track_colour(session) | 23992, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24858, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 24858, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); break; case 2: PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23989, { 0, 0, height }, { 32, 25, 2 }, { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24855, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 24855, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, 0x61000000 | SPR_WATER_MASK, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); + session, direction, 0x61000000 | SPR_WATER_MASK, { 0, 0, height + 16 }, { 32, 25, 2 }, + { 0, 3, height + 16 }); PaintAddImageAsChildRotated( - session, direction, 0x00000000 | waterOverlay, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); + session, direction, 0x00000000 | waterOverlay, { 0, 0, height + 16 }, { 32, 25, 2 }, + { 0, 3, height + 16 }); PaintAddImageAsChildRotated( - session, direction, session.TrackColours[SCHEME_SUPPORTS] | 23997, 0, 0, 32, 25, 2, height, 0, 3, - height); + session, direction, session.TrackColours[SCHEME_SUPPORTS] | 23997, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, session.TrackColours[SCHEME_SUPPORTS] | 24863, 0, 0, 32, 25, 2, height, 0, 3, - height); + session, direction, session.TrackColours[SCHEME_SUPPORTS] | 24863, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_track_colour(session) | 23993, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_track_colour(session) | 23993, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24859, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 24859, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); break; case 3: PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23990, { 0, 0, height }, { 32, 25, 2 }, { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24856, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 24856, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, 0x61000000 | SPR_WATER_MASK, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); + session, direction, 0x61000000 | SPR_WATER_MASK, { 0, 0, height + 16 }, { 32, 25, 2 }, + { 0, 3, height + 16 }); PaintAddImageAsChildRotated( - session, direction, 0x00000000 | waterOverlay, 0, 0, 32, 25, 2, height + 16, 0, 3, height + 16); + session, direction, 0x00000000 | waterOverlay, { 0, 0, height + 16 }, { 32, 25, 2 }, + { 0, 3, height + 16 }); PaintAddImageAsChildRotated( - session, direction, session.TrackColours[SCHEME_SUPPORTS] | 23998, 0, 0, 32, 25, 2, height, 0, 3, - height); + session, direction, session.TrackColours[SCHEME_SUPPORTS] | 23998, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, session.TrackColours[SCHEME_SUPPORTS] | 24864, 0, 0, 32, 25, 2, height, 0, 3, - height); + session, direction, session.TrackColours[SCHEME_SUPPORTS] | 24864, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_track_colour(session) | 23994, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_track_colour(session) | 23994, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24860, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 24860, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); break; } wooden_a_supports_paint_setup(session, direction & 1, 0, height, session.TrackColours[SCHEME_SUPPORTS]); @@ -7251,7 +7554,8 @@ static void wooden_rc_track_left_eighth_to_diag( session, direction, wooden_rc_get_track_colour(session) | 24137, { 0, 0, height }, { 32, 32, 2 }, { 0, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25003, 0, 0, 32, 32, 2, height, 0, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 25003, { 0, 0, height }, { 32, 32, 2 }, + { 0, 0, height }); wooden_a_supports_paint_setup(session, 0, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -7259,13 +7563,14 @@ static void wooden_rc_track_left_eighth_to_diag( session, direction, wooden_rc_get_track_colour(session) | 24141, { 0, 0, height }, { 32, 32, 2 }, { 0, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25007, 0, 0, 32, 32, 2, height, 0, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 25007, { 0, 0, height }, { 32, 32, 2 }, + { 0, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24153, { 0, 0, height }, { 32, 32, 0 }, { 0, 0, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25019, 0, 0, 32, 32, 0, height, 0, 0, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 25019, { 0, 0, height }, { 32, 32, 0 }, + { 0, 0, height + 27 }); wooden_a_supports_paint_setup(session, 1, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -7273,7 +7578,8 @@ static void wooden_rc_track_left_eighth_to_diag( session, direction, wooden_rc_get_track_colour(session) | 24145, { 0, 0, height }, { 32, 32, 2 }, { 0, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25011, 0, 0, 32, 32, 2, height, 0, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 25011, { 0, 0, height }, { 32, 32, 2 }, + { 0, 0, height }); wooden_a_supports_paint_setup(session, 0, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -7281,13 +7587,14 @@ static void wooden_rc_track_left_eighth_to_diag( session, direction, wooden_rc_get_track_colour(session) | 24149, { 0, 0, height }, { 32, 32, 2 }, { 0, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25015, 0, 0, 32, 32, 2, height, 0, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 25015, { 0, 0, height }, { 32, 32, 2 }, + { 0, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24157, { 0, 0, height }, { 32, 32, 0 }, { 0, 0, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25023, 0, 0, 32, 32, 0, height, 0, 0, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 25023, { 0, 0, height }, { 32, 32, 0 }, + { 0, 0, height + 27 }); wooden_a_supports_paint_setup(session, 1, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -7306,7 +7613,8 @@ static void wooden_rc_track_left_eighth_to_diag( session, direction, wooden_rc_get_track_colour(session) | 24138, { 0, 0, height }, { 32, 16, 2 }, { 0, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25004, 0, 0, 32, 16, 2, height, 0, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 25004, { 0, 0, height }, { 32, 16, 2 }, + { 0, 0, height }); wooden_a_supports_paint_setup(session, 0, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -7314,13 +7622,14 @@ static void wooden_rc_track_left_eighth_to_diag( session, direction, wooden_rc_get_track_colour(session) | 24142, { 0, 0, height }, { 34, 16, 2 }, { 0, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25008, 0, 0, 34, 16, 2, height, 0, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 25008, { 0, 0, height }, { 34, 16, 2 }, + { 0, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24154, { 0, 0, height }, { 32, 16, 0 }, { 0, 0, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25020, 0, 0, 32, 16, 0, height, 0, 0, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 25020, { 0, 0, height }, { 32, 16, 0 }, + { 0, 0, height + 27 }); wooden_a_supports_paint_setup(session, 1, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -7328,8 +7637,8 @@ static void wooden_rc_track_left_eighth_to_diag( session, direction, wooden_rc_get_track_colour(session) | 24146, { 0, 0, height }, { 32, 16, 2 }, { 0, 16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25012, 0, 0, 32, 16, 2, height, 0, 16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 25012, { 0, 0, height }, { 32, 16, 2 }, + { 0, 16, height }); wooden_a_supports_paint_setup(session, 0, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -7337,14 +7646,14 @@ static void wooden_rc_track_left_eighth_to_diag( session, direction, wooden_rc_get_track_colour(session) | 24150, { 0, 0, height }, { 32, 16, 2 }, { 0, 16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25016, 0, 0, 32, 16, 2, height, 0, 16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 25016, { 0, 0, height }, { 32, 16, 2 }, + { 0, 16, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24158, { 0, 0, height }, { 32, 16, 0 }, { 0, 16, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25024, 0, 0, 32, 16, 0, height, 0, 16, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 25024, { 0, 0, height }, { 32, 16, 0 }, + { 0, 16, height + 27 }); wooden_a_supports_paint_setup(session, 1, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -7359,8 +7668,8 @@ static void wooden_rc_track_left_eighth_to_diag( session, direction, wooden_rc_get_track_colour(session) | 24139, { 0, 0, height }, { 16, 16, 2 }, { 0, 16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25005, 0, 0, 16, 16, 2, height, 0, 16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 25005, { 0, 0, height }, { 16, 16, 2 }, + { 0, 16, height }); wooden_a_supports_paint_setup(session, 3, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -7368,14 +7677,14 @@ static void wooden_rc_track_left_eighth_to_diag( session, direction, wooden_rc_get_track_colour(session) | 24143, { 0, 0, height }, { 16, 16, 2 }, { 16, 16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25009, 0, 0, 16, 16, 2, height, 16, 16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 25009, { 0, 0, height }, { 16, 16, 2 }, + { 16, 16, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24155, { 0, 0, height }, { 16, 16, 0 }, { 16, 16, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25021, 0, 0, 16, 16, 0, height, 16, 16, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 25021, { 0, 0, height }, { 16, 16, 0 }, + { 16, 16, height + 27 }); wooden_a_supports_paint_setup(session, 4, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -7383,8 +7692,8 @@ static void wooden_rc_track_left_eighth_to_diag( session, direction, wooden_rc_get_track_colour(session) | 24147, { 0, 0, height }, { 16, 16, 2 }, { 16, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25013, 0, 0, 16, 16, 2, height, 16, 0, - height); + session, direction, wooden_rc_get_rails_colour(session) | 25013, { 0, 0, height }, { 16, 16, 2 }, + { 16, 0, height }); wooden_a_supports_paint_setup(session, 5, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -7392,13 +7701,14 @@ static void wooden_rc_track_left_eighth_to_diag( session, direction, wooden_rc_get_track_colour(session) | 24151, { 0, 0, height }, { 16, 16, 2 }, { 0, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25017, 0, 0, 16, 16, 2, height, 0, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 25017, { 0, 0, height }, { 16, 16, 2 }, + { 0, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24159, { 0, 0, height }, { 16, 16, 0 }, { 0, 0, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25025, 0, 0, 16, 16, 0, height, 0, 0, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 25025, { 0, 0, height }, { 16, 16, 0 }, + { 0, 0, height + 27 }); wooden_a_supports_paint_setup(session, 2, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -7432,43 +7742,44 @@ static void wooden_rc_track_left_eighth_to_diag( session, direction, wooden_rc_get_track_colour(session) | 24140, { 0, 0, height }, { 16, 16, 2 }, { 16, 16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25006, 0, 0, 16, 16, 2, height, 16, 16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 25006, { 0, 0, height }, { 16, 16, 2 }, + { 16, 16, height }); break; case 1: PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24144, { 0, 0, height }, { 16, 18, 2 }, { 0, 16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25010, 0, 0, 16, 18, 2, height, 0, 16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 25010, { 0, 0, height }, { 16, 18, 2 }, + { 0, 16, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24156, { 0, 0, height }, { 16, 16, 0 }, { 0, 16, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25022, 0, 0, 16, 16, 0, height, 0, 16, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 25022, { 0, 0, height }, { 16, 16, 0 }, + { 0, 16, height + 27 }); break; case 2: PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24148, { 0, 0, height }, { 16, 16, 2 }, { 0, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25014, 0, 0, 16, 16, 2, height, 0, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 25014, { 0, 0, height }, { 16, 16, 2 }, + { 0, 0, height }); break; case 3: PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24152, { 0, 0, height }, { 16, 16, 2 }, { 16, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25018, 0, 0, 16, 16, 2, height, 16, 0, - height); + session, direction, wooden_rc_get_rails_colour(session) | 25018, { 0, 0, height }, { 16, 16, 2 }, + { 16, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24160, { 0, 0, height }, { 16, 16, 0 }, { 16, 0, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25026, 0, 0, 16, 16, 0, height, 16, 0, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 25026, { 0, 0, height }, { 16, 16, 0 }, + { 16, 0, height + 27 }); break; } paint_util_set_segment_support_height(session, SEGMENTS_ALL, 0xFFFF, 0); @@ -7492,13 +7803,14 @@ static void wooden_rc_track_right_eighth_to_diag( session, direction, wooden_rc_get_track_colour(session) | 24113, { 0, 0, height }, { 32, 32, 2 }, { 0, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24979, 0, 0, 32, 32, 2, height, 0, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24979, { 0, 0, height }, { 32, 32, 2 }, + { 0, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24129, { 0, 0, height }, { 32, 32, 0 }, { 0, 0, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24995, 0, 0, 32, 32, 0, height, 0, 0, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24995, { 0, 0, height }, { 32, 32, 0 }, + { 0, 0, height + 27 }); wooden_a_supports_paint_setup(session, 0, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -7506,7 +7818,8 @@ static void wooden_rc_track_right_eighth_to_diag( session, direction, wooden_rc_get_track_colour(session) | 24117, { 0, 0, height }, { 32, 32, 2 }, { 0, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24983, 0, 0, 32, 32, 2, height, 0, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24983, { 0, 0, height }, { 32, 32, 2 }, + { 0, 0, height }); wooden_a_supports_paint_setup(session, 1, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -7514,13 +7827,14 @@ static void wooden_rc_track_right_eighth_to_diag( session, direction, wooden_rc_get_track_colour(session) | 24121, { 0, 0, height }, { 32, 32, 2 }, { 0, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24987, 0, 0, 32, 32, 2, height, 0, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24987, { 0, 0, height }, { 32, 32, 2 }, + { 0, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24133, { 0, 0, height }, { 32, 32, 0 }, { 0, 0, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24999, 0, 0, 32, 32, 0, height, 0, 0, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24999, { 0, 0, height }, { 32, 32, 0 }, + { 0, 0, height + 27 }); wooden_a_supports_paint_setup(session, 0, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -7528,7 +7842,8 @@ static void wooden_rc_track_right_eighth_to_diag( session, direction, wooden_rc_get_track_colour(session) | 24125, { 0, 0, height }, { 32, 32, 2 }, { 0, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24991, 0, 0, 32, 32, 2, height, 0, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24991, { 0, 0, height }, { 32, 32, 2 }, + { 0, 0, height }); wooden_a_supports_paint_setup(session, 1, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -7547,14 +7862,14 @@ static void wooden_rc_track_right_eighth_to_diag( session, direction, wooden_rc_get_track_colour(session) | 24114, { 0, 0, height }, { 32, 16, 2 }, { 0, 16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24980, 0, 0, 32, 16, 2, height, 0, 16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24980, { 0, 0, height }, { 32, 16, 2 }, + { 0, 16, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24130, { 0, 0, height }, { 32, 16, 0 }, { 0, 16, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24996, 0, 0, 32, 16, 0, height, 0, 16, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24996, { 0, 0, height }, { 32, 16, 0 }, + { 0, 16, height + 27 }); wooden_a_supports_paint_setup(session, 0, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -7562,8 +7877,8 @@ static void wooden_rc_track_right_eighth_to_diag( session, direction, wooden_rc_get_track_colour(session) | 24118, { 0, 0, height }, { 32, 16, 2 }, { 0, 16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24984, 0, 0, 32, 16, 2, height, 0, 16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24984, { 0, 0, height }, { 32, 16, 2 }, + { 0, 16, height }); wooden_a_supports_paint_setup(session, 1, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -7571,13 +7886,14 @@ static void wooden_rc_track_right_eighth_to_diag( session, direction, wooden_rc_get_track_colour(session) | 24122, { 0, 0, height }, { 34, 16, 2 }, { 0, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24988, 0, 0, 34, 16, 2, height, 0, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24988, { 0, 0, height }, { 34, 16, 2 }, + { 0, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24134, { 0, 0, height }, { 32, 16, 0 }, { 0, 0, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25000, 0, 0, 32, 16, 0, height, 0, 0, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 25000, { 0, 0, height }, { 32, 16, 0 }, + { 0, 0, height + 27 }); wooden_a_supports_paint_setup(session, 0, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -7585,7 +7901,8 @@ static void wooden_rc_track_right_eighth_to_diag( session, direction, wooden_rc_get_track_colour(session) | 24126, { 0, 0, height }, { 32, 16, 2 }, { 0, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24992, 0, 0, 32, 16, 2, height, 0, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24992, { 0, 0, height }, { 32, 16, 2 }, + { 0, 0, height }); wooden_a_supports_paint_setup(session, 1, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -7600,13 +7917,14 @@ static void wooden_rc_track_right_eighth_to_diag( session, direction, wooden_rc_get_track_colour(session) | 24115, { 0, 0, height }, { 16, 16, 2 }, { 0, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24981, 0, 0, 16, 16, 2, height, 0, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24981, { 0, 0, height }, { 16, 16, 2 }, + { 0, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24131, { 0, 0, height }, { 16, 16, 0 }, { 0, 0, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24997, 0, 0, 16, 16, 0, height, 0, 0, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24997, { 0, 0, height }, { 16, 16, 0 }, + { 0, 0, height + 27 }); wooden_a_supports_paint_setup(session, 2, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -7614,8 +7932,8 @@ static void wooden_rc_track_right_eighth_to_diag( session, direction, wooden_rc_get_track_colour(session) | 24119, { 0, 0, height }, { 16, 16, 2 }, { 16, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24985, 0, 0, 16, 16, 2, height, 16, 0, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24985, { 0, 0, height }, { 16, 16, 2 }, + { 16, 0, height }); wooden_a_supports_paint_setup(session, 3, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -7623,13 +7941,14 @@ static void wooden_rc_track_right_eighth_to_diag( session, direction, wooden_rc_get_track_colour(session) | 24123, { 0, 0, height }, { 28, 28, 2 }, { 4, 4, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24989, 0, 0, 28, 28, 2, height, 4, 4, height); + session, direction, wooden_rc_get_rails_colour(session) | 24989, { 0, 0, height }, { 28, 28, 2 }, + { 4, 4, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24135, { 0, 0, height }, { 28, 28, 0 }, { 4, 4, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25001, 0, 0, 28, 28, 0, height, 4, 4, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 25001, { 0, 0, height }, { 28, 28, 0 }, + { 4, 4, height + 27 }); wooden_a_supports_paint_setup(session, 4, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -7637,8 +7956,8 @@ static void wooden_rc_track_right_eighth_to_diag( session, direction, wooden_rc_get_track_colour(session) | 24127, { 0, 0, height }, { 16, 16, 2 }, { 0, 16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24993, 0, 0, 16, 16, 2, height, 0, 16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24993, { 0, 0, height }, { 16, 16, 2 }, + { 0, 16, height }); wooden_a_supports_paint_setup(session, 5, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -7672,43 +7991,44 @@ static void wooden_rc_track_right_eighth_to_diag( session, direction, wooden_rc_get_track_colour(session) | 24116, { 0, 0, height }, { 16, 16, 2 }, { 16, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24982, 0, 0, 16, 16, 2, height, 16, 0, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24982, { 0, 0, height }, { 16, 16, 2 }, + { 16, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24132, { 0, 0, height }, { 16, 16, 0 }, { 16, 0, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24998, 0, 0, 16, 16, 0, height, 16, 0, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24998, { 0, 0, height }, { 16, 16, 0 }, + { 16, 0, height + 27 }); break; case 1: PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24120, { 0, 0, height }, { 16, 16, 2 }, { 0, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24986, 0, 0, 16, 16, 2, height, 0, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24986, { 0, 0, height }, { 16, 16, 2 }, + { 0, 0, height }); break; case 2: PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24124, { 0, 0, height }, { 16, 18, 2 }, { 0, 16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24990, 0, 0, 16, 18, 2, height, 0, 16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24990, { 0, 0, height }, { 16, 18, 2 }, + { 0, 16, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24136, { 0, 0, height }, { 16, 16, 0 }, { 0, 16, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25002, 0, 0, 16, 16, 0, height, 0, 16, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 25002, { 0, 0, height }, { 16, 16, 0 }, + { 0, 16, height + 27 }); break; case 3: PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24128, { 0, 0, height }, { 16, 16, 2 }, { 16, 16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24994, 0, 0, 16, 16, 2, height, 16, 16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24994, { 0, 0, height }, { 16, 16, 2 }, + { 16, 16, height }); break; } paint_util_set_segment_support_height(session, SEGMENTS_ALL, 0xFFFF, 0); @@ -7750,7 +8070,8 @@ static void wooden_rc_track_left_eighth_bank_to_diag( session, direction, wooden_rc_get_track_colour(session) | 24185, { 0, 0, height }, { 32, 32, 2 }, { 0, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25051, 0, 0, 32, 32, 2, height, 0, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 25051, { 0, 0, height }, { 32, 32, 2 }, + { 0, 0, height }); wooden_a_supports_paint_setup(session, 0, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -7758,13 +8079,14 @@ static void wooden_rc_track_left_eighth_bank_to_diag( session, direction, wooden_rc_get_track_colour(session) | 24189, { 0, 0, height }, { 32, 32, 2 }, { 0, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25055, 0, 0, 32, 32, 2, height, 0, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 25055, { 0, 0, height }, { 32, 32, 2 }, + { 0, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24201, { 0, 0, height }, { 32, 32, 0 }, { 0, 0, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25067, 0, 0, 32, 32, 0, height, 0, 0, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 25067, { 0, 0, height }, { 32, 32, 0 }, + { 0, 0, height + 27 }); wooden_a_supports_paint_setup(session, 1, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -7772,7 +8094,8 @@ static void wooden_rc_track_left_eighth_bank_to_diag( session, direction, wooden_rc_get_track_colour(session) | 24193, { 0, 0, height }, { 32, 32, 2 }, { 0, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25059, 0, 0, 32, 32, 2, height, 0, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 25059, { 0, 0, height }, { 32, 32, 2 }, + { 0, 0, height }); wooden_a_supports_paint_setup(session, 0, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -7780,13 +8103,14 @@ static void wooden_rc_track_left_eighth_bank_to_diag( session, direction, wooden_rc_get_track_colour(session) | 24197, { 0, 0, height }, { 32, 32, 2 }, { 0, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25063, 0, 0, 32, 32, 2, height, 0, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 25063, { 0, 0, height }, { 32, 32, 2 }, + { 0, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24205, { 0, 0, height }, { 32, 32, 0 }, { 0, 0, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25071, 0, 0, 32, 32, 0, height, 0, 0, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 25071, { 0, 0, height }, { 32, 32, 0 }, + { 0, 0, height + 27 }); wooden_a_supports_paint_setup(session, 1, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -7805,7 +8129,8 @@ static void wooden_rc_track_left_eighth_bank_to_diag( session, direction, wooden_rc_get_track_colour(session) | 24186, { 0, 0, height }, { 32, 16, 2 }, { 0, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25052, 0, 0, 32, 16, 2, height, 0, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 25052, { 0, 0, height }, { 32, 16, 2 }, + { 0, 0, height }); wooden_a_supports_paint_setup(session, 0, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -7813,13 +8138,14 @@ static void wooden_rc_track_left_eighth_bank_to_diag( session, direction, wooden_rc_get_track_colour(session) | 24190, { 0, 0, height }, { 34, 16, 2 }, { 0, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25056, 0, 0, 34, 16, 2, height, 0, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 25056, { 0, 0, height }, { 34, 16, 2 }, + { 0, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24202, { 0, 0, height }, { 32, 16, 0 }, { 0, 0, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25068, 0, 0, 32, 16, 0, height, 0, 0, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 25068, { 0, 0, height }, { 32, 16, 0 }, + { 0, 0, height + 27 }); wooden_a_supports_paint_setup(session, 1, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -7827,8 +8153,8 @@ static void wooden_rc_track_left_eighth_bank_to_diag( session, direction, wooden_rc_get_track_colour(session) | 24194, { 0, 0, height }, { 32, 16, 2 }, { 0, 16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25060, 0, 0, 32, 16, 2, height, 0, 16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 25060, { 0, 0, height }, { 32, 16, 2 }, + { 0, 16, height }); wooden_a_supports_paint_setup(session, 0, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -7836,14 +8162,14 @@ static void wooden_rc_track_left_eighth_bank_to_diag( session, direction, wooden_rc_get_track_colour(session) | 24198, { 0, 0, height }, { 32, 16, 2 }, { 0, 16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25064, 0, 0, 32, 16, 2, height, 0, 16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 25064, { 0, 0, height }, { 32, 16, 2 }, + { 0, 16, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24206, { 0, 0, height }, { 32, 16, 0 }, { 0, 16, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25072, 0, 0, 32, 16, 0, height, 0, 16, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 25072, { 0, 0, height }, { 32, 16, 0 }, + { 0, 16, height + 27 }); wooden_a_supports_paint_setup(session, 1, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -7858,8 +8184,8 @@ static void wooden_rc_track_left_eighth_bank_to_diag( session, direction, wooden_rc_get_track_colour(session) | 24187, { 0, 0, height }, { 16, 16, 2 }, { 0, 16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25053, 0, 0, 16, 16, 2, height, 0, 16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 25053, { 0, 0, height }, { 16, 16, 2 }, + { 0, 16, height }); wooden_a_supports_paint_setup(session, 3, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -7867,14 +8193,14 @@ static void wooden_rc_track_left_eighth_bank_to_diag( session, direction, wooden_rc_get_track_colour(session) | 24191, { 0, 0, height }, { 16, 16, 2 }, { 16, 16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25057, 0, 0, 16, 16, 2, height, 16, 16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 25057, { 0, 0, height }, { 16, 16, 2 }, + { 16, 16, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24203, { 0, 0, height }, { 16, 16, 0 }, { 16, 16, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25069, 0, 0, 16, 16, 0, height, 16, 16, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 25069, { 0, 0, height }, { 16, 16, 0 }, + { 16, 16, height + 27 }); wooden_a_supports_paint_setup(session, 4, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -7882,8 +8208,8 @@ static void wooden_rc_track_left_eighth_bank_to_diag( session, direction, wooden_rc_get_track_colour(session) | 24195, { 0, 0, height }, { 16, 16, 2 }, { 16, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25061, 0, 0, 16, 16, 2, height, 16, 0, - height); + session, direction, wooden_rc_get_rails_colour(session) | 25061, { 0, 0, height }, { 16, 16, 2 }, + { 16, 0, height }); wooden_a_supports_paint_setup(session, 5, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -7891,13 +8217,14 @@ static void wooden_rc_track_left_eighth_bank_to_diag( session, direction, wooden_rc_get_track_colour(session) | 24199, { 0, 0, height }, { 16, 16, 2 }, { 0, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25065, 0, 0, 16, 16, 2, height, 0, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 25065, { 0, 0, height }, { 16, 16, 2 }, + { 0, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24207, { 0, 0, height }, { 16, 16, 0 }, { 0, 0, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25073, 0, 0, 16, 16, 0, height, 0, 0, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 25073, { 0, 0, height }, { 16, 16, 0 }, + { 0, 0, height + 27 }); wooden_a_supports_paint_setup(session, 2, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -7931,43 +8258,44 @@ static void wooden_rc_track_left_eighth_bank_to_diag( session, direction, wooden_rc_get_track_colour(session) | 24188, { 0, 0, height }, { 16, 16, 2 }, { 16, 16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25054, 0, 0, 16, 16, 2, height, 16, 16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 25054, { 0, 0, height }, { 16, 16, 2 }, + { 16, 16, height }); break; case 1: PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24192, { 0, 0, height }, { 16, 18, 2 }, { 0, 16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25058, 0, 0, 16, 18, 2, height, 0, 16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 25058, { 0, 0, height }, { 16, 18, 2 }, + { 0, 16, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24204, { 0, 0, height }, { 16, 16, 0 }, { 0, 16, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25070, 0, 0, 16, 16, 0, height, 0, 16, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 25070, { 0, 0, height }, { 16, 16, 0 }, + { 0, 16, height + 27 }); break; case 2: PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24196, { 0, 0, height }, { 16, 16, 2 }, { 0, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25062, 0, 0, 16, 16, 2, height, 0, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 25062, { 0, 0, height }, { 16, 16, 2 }, + { 0, 0, height }); break; case 3: PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24200, { 0, 0, height }, { 16, 16, 2 }, { 16, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25066, 0, 0, 16, 16, 2, height, 16, 0, - height); + session, direction, wooden_rc_get_rails_colour(session) | 25066, { 0, 0, height }, { 16, 16, 2 }, + { 16, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24208, { 0, 0, height }, { 16, 16, 0 }, { 16, 0, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25074, 0, 0, 16, 16, 0, height, 16, 0, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 25074, { 0, 0, height }, { 16, 16, 0 }, + { 16, 0, height + 27 }); break; } paint_util_set_segment_support_height(session, SEGMENTS_ALL, 0xFFFF, 0); @@ -7991,13 +8319,14 @@ static void wooden_rc_track_right_eighth_bank_to_diag( session, direction, wooden_rc_get_track_colour(session) | 24161, { 0, 0, height }, { 32, 32, 2 }, { 0, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25027, 0, 0, 32, 32, 2, height, 0, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 25027, { 0, 0, height }, { 32, 32, 2 }, + { 0, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24177, { 0, 0, height }, { 32, 32, 0 }, { 0, 0, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25043, 0, 0, 32, 32, 0, height, 0, 0, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 25043, { 0, 0, height }, { 32, 32, 0 }, + { 0, 0, height + 27 }); wooden_a_supports_paint_setup(session, 0, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -8005,7 +8334,8 @@ static void wooden_rc_track_right_eighth_bank_to_diag( session, direction, wooden_rc_get_track_colour(session) | 24165, { 0, 0, height }, { 32, 32, 2 }, { 0, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25031, 0, 0, 32, 32, 2, height, 0, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 25031, { 0, 0, height }, { 32, 32, 2 }, + { 0, 0, height }); wooden_a_supports_paint_setup(session, 1, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -8013,13 +8343,14 @@ static void wooden_rc_track_right_eighth_bank_to_diag( session, direction, wooden_rc_get_track_colour(session) | 24169, { 0, 0, height }, { 32, 32, 2 }, { 0, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25035, 0, 0, 32, 32, 2, height, 0, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 25035, { 0, 0, height }, { 32, 32, 2 }, + { 0, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24181, { 0, 0, height }, { 32, 32, 0 }, { 0, 0, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25047, 0, 0, 32, 32, 0, height, 0, 0, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 25047, { 0, 0, height }, { 32, 32, 0 }, + { 0, 0, height + 27 }); wooden_a_supports_paint_setup(session, 0, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -8027,7 +8358,8 @@ static void wooden_rc_track_right_eighth_bank_to_diag( session, direction, wooden_rc_get_track_colour(session) | 24173, { 0, 0, height }, { 32, 32, 2 }, { 0, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25039, 0, 0, 32, 32, 2, height, 0, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 25039, { 0, 0, height }, { 32, 32, 2 }, + { 0, 0, height }); wooden_a_supports_paint_setup(session, 1, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -8046,14 +8378,14 @@ static void wooden_rc_track_right_eighth_bank_to_diag( session, direction, wooden_rc_get_track_colour(session) | 24162, { 0, 0, height }, { 32, 16, 2 }, { 0, 16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25028, 0, 0, 32, 16, 2, height, 0, 16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 25028, { 0, 0, height }, { 32, 16, 2 }, + { 0, 16, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24178, { 0, 0, height }, { 32, 16, 0 }, { 0, 16, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25044, 0, 0, 32, 16, 0, height, 0, 16, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 25044, { 0, 0, height }, { 32, 16, 0 }, + { 0, 16, height + 27 }); wooden_a_supports_paint_setup(session, 0, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -8061,8 +8393,8 @@ static void wooden_rc_track_right_eighth_bank_to_diag( session, direction, wooden_rc_get_track_colour(session) | 24166, { 0, 0, height }, { 32, 16, 2 }, { 0, 16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25032, 0, 0, 32, 16, 2, height, 0, 16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 25032, { 0, 0, height }, { 32, 16, 2 }, + { 0, 16, height }); wooden_a_supports_paint_setup(session, 1, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -8070,13 +8402,14 @@ static void wooden_rc_track_right_eighth_bank_to_diag( session, direction, wooden_rc_get_track_colour(session) | 24170, { 0, 0, height }, { 34, 16, 2 }, { 0, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25036, 0, 0, 34, 16, 2, height, 0, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 25036, { 0, 0, height }, { 34, 16, 2 }, + { 0, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24182, { 0, 0, height }, { 32, 16, 0 }, { 0, 0, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25048, 0, 0, 32, 16, 0, height, 0, 0, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 25048, { 0, 0, height }, { 32, 16, 0 }, + { 0, 0, height + 27 }); wooden_a_supports_paint_setup(session, 0, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -8084,7 +8417,8 @@ static void wooden_rc_track_right_eighth_bank_to_diag( session, direction, wooden_rc_get_track_colour(session) | 24174, { 0, 0, height }, { 32, 16, 2 }, { 0, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25040, 0, 0, 32, 16, 2, height, 0, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 25040, { 0, 0, height }, { 32, 16, 2 }, + { 0, 0, height }); wooden_a_supports_paint_setup(session, 1, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -8099,13 +8433,14 @@ static void wooden_rc_track_right_eighth_bank_to_diag( session, direction, wooden_rc_get_track_colour(session) | 24163, { 0, 0, height }, { 16, 16, 2 }, { 0, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25029, 0, 0, 16, 16, 2, height, 0, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 25029, { 0, 0, height }, { 16, 16, 2 }, + { 0, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24179, { 0, 0, height }, { 16, 16, 0 }, { 0, 0, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25045, 0, 0, 16, 16, 0, height, 0, 0, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 25045, { 0, 0, height }, { 16, 16, 0 }, + { 0, 0, height + 27 }); wooden_a_supports_paint_setup(session, 2, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -8113,8 +8448,8 @@ static void wooden_rc_track_right_eighth_bank_to_diag( session, direction, wooden_rc_get_track_colour(session) | 24167, { 0, 0, height }, { 16, 16, 2 }, { 16, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25033, 0, 0, 16, 16, 2, height, 16, 0, - height); + session, direction, wooden_rc_get_rails_colour(session) | 25033, { 0, 0, height }, { 16, 16, 2 }, + { 16, 0, height }); wooden_a_supports_paint_setup(session, 3, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -8122,13 +8457,14 @@ static void wooden_rc_track_right_eighth_bank_to_diag( session, direction, wooden_rc_get_track_colour(session) | 24171, { 0, 0, height }, { 28, 28, 2 }, { 4, 4, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25037, 0, 0, 28, 28, 2, height, 4, 4, height); + session, direction, wooden_rc_get_rails_colour(session) | 25037, { 0, 0, height }, { 28, 28, 2 }, + { 4, 4, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24183, { 0, 0, height }, { 28, 28, 0 }, { 4, 4, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25049, 0, 0, 28, 28, 0, height, 4, 4, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 25049, { 0, 0, height }, { 28, 28, 0 }, + { 4, 4, height + 27 }); wooden_a_supports_paint_setup(session, 4, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -8136,8 +8472,8 @@ static void wooden_rc_track_right_eighth_bank_to_diag( session, direction, wooden_rc_get_track_colour(session) | 24175, { 0, 0, height }, { 16, 16, 2 }, { 0, 16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25041, 0, 0, 16, 16, 2, height, 0, 16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 25041, { 0, 0, height }, { 16, 16, 2 }, + { 0, 16, height }); wooden_a_supports_paint_setup(session, 5, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -8171,43 +8507,44 @@ static void wooden_rc_track_right_eighth_bank_to_diag( session, direction, wooden_rc_get_track_colour(session) | 24164, { 0, 0, height }, { 16, 16, 2 }, { 16, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25030, 0, 0, 16, 16, 2, height, 16, 0, - height); + session, direction, wooden_rc_get_rails_colour(session) | 25030, { 0, 0, height }, { 16, 16, 2 }, + { 16, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24180, { 0, 0, height }, { 16, 16, 0 }, { 16, 0, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25046, 0, 0, 16, 16, 0, height, 16, 0, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 25046, { 0, 0, height }, { 16, 16, 0 }, + { 16, 0, height + 27 }); break; case 1: PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24168, { 0, 0, height }, { 16, 16, 2 }, { 0, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25034, 0, 0, 16, 16, 2, height, 0, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 25034, { 0, 0, height }, { 16, 16, 2 }, + { 0, 0, height }); break; case 2: PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24172, { 0, 0, height }, { 16, 18, 2 }, { 0, 16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25038, 0, 0, 16, 18, 2, height, 0, 16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 25038, { 0, 0, height }, { 16, 18, 2 }, + { 0, 16, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24184, { 0, 0, height }, { 16, 16, 0 }, { 0, 16, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25050, 0, 0, 16, 16, 0, height, 0, 16, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 25050, { 0, 0, height }, { 16, 16, 0 }, + { 0, 16, height + 27 }); break; case 3: PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24176, { 0, 0, height }, { 16, 16, 2 }, { 16, 16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25042, 0, 0, 16, 16, 2, height, 16, 16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 25042, { 0, 0, height }, { 16, 16, 2 }, + { 16, 16, height }); break; } paint_util_set_segment_support_height(session, SEGMENTS_ALL, 0xFFFF, 0); @@ -8251,8 +8588,8 @@ static void wooden_rc_track_diag_flat( session, direction, wooden_rc_get_track_colour(session) | 24050, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24916, -16, -16, 32, 32, 2, height, -16, - -16, height); + session, direction, wooden_rc_get_rails_colour(session) | 24916, { -16, -16, height }, + { 32, 32, 2 }, { -16, -16, height }); break; } } @@ -8265,8 +8602,8 @@ static void wooden_rc_track_diag_flat( session, direction, wooden_rc_get_track_colour(session) | 24008, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24874, -16, -16, 32, 32, 2, height, -16, - -16, height); + session, direction, wooden_rc_get_rails_colour(session) | 24874, { -16, -16, height }, + { 32, 32, 2 }, { -16, -16, height }); break; } } @@ -8283,14 +8620,14 @@ static void wooden_rc_track_diag_flat( session, direction, wooden_rc_get_track_colour(session) | 24047, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24913, -16, -16, 32, 32, 2, height, -16, - -16, height); + session, direction, wooden_rc_get_rails_colour(session) | 24913, { -16, -16, height }, + { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24051, { -16, -16, height }, { 32, 32, 0 }, { -16, -16, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24917, -16, -16, 32, 32, 0, height, -16, - -16, height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24917, { -16, -16, height }, + { 32, 32, 0 }, { -16, -16, height + 27 }); wooden_a_supports_paint_setup(session, 2, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -8313,14 +8650,14 @@ static void wooden_rc_track_diag_flat( session, direction, wooden_rc_get_track_colour(session) | 24005, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24871, -16, -16, 32, 32, 2, height, -16, - -16, height); + session, direction, wooden_rc_get_rails_colour(session) | 24871, { -16, -16, height }, + { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24009, { -16, -16, height }, { 32, 32, 0 }, { -16, -16, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24875, -16, -16, 32, 32, 0, height, -16, - -16, height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24875, { -16, -16, height }, + { 32, 32, 0 }, { -16, -16, height + 27 }); wooden_a_supports_paint_setup(session, 2, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -8353,14 +8690,14 @@ static void wooden_rc_track_diag_flat( session, direction, wooden_rc_get_track_colour(session) | 24049, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24915, -16, -16, 32, 32, 2, height, -16, - -16, height); + session, direction, wooden_rc_get_rails_colour(session) | 24915, { -16, -16, height }, + { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24052, { -16, -16, height }, { 32, 32, 0 }, { -16, -16, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24918, -16, -16, 32, 32, 0, height, -16, - -16, height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24918, { -16, -16, height }, + { 32, 32, 0 }, { -16, -16, height + 27 }); wooden_a_supports_paint_setup(session, 2, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -8383,14 +8720,14 @@ static void wooden_rc_track_diag_flat( session, direction, wooden_rc_get_track_colour(session) | 24007, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24873, -16, -16, 32, 32, 2, height, -16, - -16, height); + session, direction, wooden_rc_get_rails_colour(session) | 24873, { -16, -16, height }, + { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24010, { -16, -16, height }, { 32, 32, 0 }, { -16, -16, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24876, -16, -16, 32, 32, 0, height, -16, - -16, height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24876, { -16, -16, height }, + { 32, 32, 0 }, { -16, -16, height + 27 }); wooden_a_supports_paint_setup(session, 2, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -8411,8 +8748,8 @@ static void wooden_rc_track_diag_flat( session, direction, wooden_rc_get_track_colour(session) | 24048, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24914, -16, -16, 32, 32, 2, height, -16, - -16, height); + session, direction, wooden_rc_get_rails_colour(session) | 24914, { -16, -16, height }, + { 32, 32, 2 }, { -16, -16, height }); break; } } @@ -8425,8 +8762,8 @@ static void wooden_rc_track_diag_flat( session, direction, wooden_rc_get_track_colour(session) | 24006, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24872, -16, -16, 32, 32, 2, height, -16, - -16, height); + session, direction, wooden_rc_get_rails_colour(session) | 24872, { -16, -16, height }, + { 32, 32, 2 }, { -16, -16, height }); break; } } @@ -8453,8 +8790,8 @@ static void wooden_rc_track_diag_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24068, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24934, -16, -16, 32, 32, 2, height, -16, - -16, height); + session, direction, wooden_rc_get_rails_colour(session) | 24934, { -16, -16, height }, + { 32, 32, 2 }, { -16, -16, height }); break; } } @@ -8467,8 +8804,8 @@ static void wooden_rc_track_diag_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24026, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24892, -16, -16, 32, 32, 2, height, -16, - -16, height); + session, direction, wooden_rc_get_rails_colour(session) | 24892, { -16, -16, height }, + { 32, 32, 2 }, { -16, -16, height }); break; } } @@ -8485,14 +8822,14 @@ static void wooden_rc_track_diag_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24065, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24931, -16, -16, 32, 32, 2, height, -16, - -16, height); + session, direction, wooden_rc_get_rails_colour(session) | 24931, { -16, -16, height }, + { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24069, { -16, -16, height }, { 32, 32, 0 }, { -16, -16, height + 43 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24935, -16, -16, 32, 32, 0, height, -16, - -16, height + 43); + session, direction, wooden_rc_get_rails_colour(session) | 24935, { -16, -16, height }, + { 32, 32, 0 }, { -16, -16, height + 43 }); wooden_b_supports_paint_setup(session, 2, 0, height + 16, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -8515,14 +8852,14 @@ static void wooden_rc_track_diag_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24023, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24889, -16, -16, 32, 32, 2, height, -16, - -16, height); + session, direction, wooden_rc_get_rails_colour(session) | 24889, { -16, -16, height }, + { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24027, { -16, -16, height }, { 32, 32, 0 }, { -16, -16, height + 43 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24893, -16, -16, 32, 32, 0, height, -16, - -16, height + 43); + session, direction, wooden_rc_get_rails_colour(session) | 24893, { -16, -16, height }, + { 32, 32, 0 }, { -16, -16, height + 43 }); wooden_b_supports_paint_setup(session, 2, 0, height + 16, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -8555,14 +8892,14 @@ static void wooden_rc_track_diag_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24067, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24933, -16, -16, 32, 32, 2, height, -16, - -16, height); + session, direction, wooden_rc_get_rails_colour(session) | 24933, { -16, -16, height }, + { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24070, { -16, -16, height }, { 32, 32, 0 }, { -16, -16, height + 43 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24936, -16, -16, 32, 32, 0, height, -16, - -16, height + 43); + session, direction, wooden_rc_get_rails_colour(session) | 24936, { -16, -16, height }, + { 32, 32, 0 }, { -16, -16, height + 43 }); wooden_b_supports_paint_setup(session, 2, 0, height + 16, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -8585,14 +8922,14 @@ static void wooden_rc_track_diag_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24025, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24891, -16, -16, 32, 32, 2, height, -16, - -16, height); + session, direction, wooden_rc_get_rails_colour(session) | 24891, { -16, -16, height }, + { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24028, { -16, -16, height }, { 32, 32, 0 }, { -16, -16, height + 43 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24894, -16, -16, 32, 32, 0, height, -16, - -16, height + 43); + session, direction, wooden_rc_get_rails_colour(session) | 24894, { -16, -16, height }, + { 32, 32, 0 }, { -16, -16, height + 43 }); wooden_b_supports_paint_setup(session, 2, 0, height + 16, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -8613,8 +8950,8 @@ static void wooden_rc_track_diag_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24066, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24932, -16, -16, 32, 32, 2, height, -16, - -16, height); + session, direction, wooden_rc_get_rails_colour(session) | 24932, { -16, -16, height }, + { 32, 32, 2 }, { -16, -16, height }); break; } } @@ -8627,8 +8964,8 @@ static void wooden_rc_track_diag_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24024, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24890, -16, -16, 32, 32, 2, height, -16, - -16, height); + session, direction, wooden_rc_get_rails_colour(session) | 24890, { -16, -16, height }, + { 32, 32, 2 }, { -16, -16, height }); break; } } @@ -8653,8 +8990,8 @@ static void wooden_rc_track_diag_60_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24044, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24910, -16, -16, 32, 32, 2, height, -16, -16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24910, { -16, -16, height }, { 32, 32, 2 }, + { -16, -16, height }); break; } paint_util_set_segment_support_height(session, SEGMENTS_ALL, 0xFFFF, 0); @@ -8668,14 +9005,14 @@ static void wooden_rc_track_diag_60_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24041, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24907, -16, -16, 32, 32, 2, height, -16, -16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24907, { -16, -16, height }, { 32, 32, 2 }, + { -16, -16, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24045, { -16, -16, height }, { 32, 32, 0 }, { -16, -16, height + 91 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24911, -16, -16, 32, 32, 0, height, -16, -16, - height + 91); + session, direction, wooden_rc_get_rails_colour(session) | 24911, { -16, -16, height }, { 32, 32, 0 }, + { -16, -16, height + 91 }); wooden_b_supports_paint_setup(session, 2, 0, height + 16, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -8705,14 +9042,14 @@ static void wooden_rc_track_diag_60_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24043, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24909, -16, -16, 32, 32, 2, height, -16, -16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24909, { -16, -16, height }, { 32, 32, 2 }, + { -16, -16, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24046, { -16, -16, height }, { 32, 32, 0 }, { -16, -16, height + 91 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24912, -16, -16, 32, 32, 0, height, -16, -16, - height + 91); + session, direction, wooden_rc_get_rails_colour(session) | 24912, { -16, -16, height }, { 32, 32, 0 }, + { -16, -16, height + 91 }); wooden_b_supports_paint_setup(session, 2, 0, height + 16, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -8730,8 +9067,8 @@ static void wooden_rc_track_diag_60_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24042, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24908, -16, -16, 32, 32, 2, height, -16, -16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24908, { -16, -16, height }, { 32, 32, 2 }, + { -16, -16, height }); break; } paint_util_set_segment_support_height(session, SEGMENTS_ALL, 0xFFFF, 0); @@ -8757,8 +9094,8 @@ static void wooden_rc_track_diag_flat_to_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24056, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24922, -16, -16, 32, 32, 2, height, -16, - -16, height); + session, direction, wooden_rc_get_rails_colour(session) | 24922, { -16, -16, height }, + { 32, 32, 2 }, { -16, -16, height }); break; } } @@ -8771,8 +9108,8 @@ static void wooden_rc_track_diag_flat_to_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24014, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24880, -16, -16, 32, 32, 2, height, -16, - -16, height); + session, direction, wooden_rc_get_rails_colour(session) | 24880, { -16, -16, height }, + { 32, 32, 2 }, { -16, -16, height }); break; } } @@ -8789,14 +9126,14 @@ static void wooden_rc_track_diag_flat_to_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24053, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24919, -16, -16, 32, 32, 2, height, -16, - -16, height); + session, direction, wooden_rc_get_rails_colour(session) | 24919, { -16, -16, height }, + { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24057, { -16, -16, height }, { 32, 32, 0 }, { -16, -16, height + 35 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24923, -16, -16, 32, 32, 0, height, -16, - -16, height + 35); + session, direction, wooden_rc_get_rails_colour(session) | 24923, { -16, -16, height }, + { 32, 32, 0 }, { -16, -16, height + 35 }); wooden_a_supports_paint_setup(session, 2, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -8819,14 +9156,14 @@ static void wooden_rc_track_diag_flat_to_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24011, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24877, -16, -16, 32, 32, 2, height, -16, - -16, height); + session, direction, wooden_rc_get_rails_colour(session) | 24877, { -16, -16, height }, + { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24015, { -16, -16, height }, { 32, 32, 0 }, { -16, -16, height + 35 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24881, -16, -16, 32, 32, 0, height, -16, - -16, height + 35); + session, direction, wooden_rc_get_rails_colour(session) | 24881, { -16, -16, height }, + { 32, 32, 0 }, { -16, -16, height + 35 }); wooden_a_supports_paint_setup(session, 2, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -8859,14 +9196,14 @@ static void wooden_rc_track_diag_flat_to_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24055, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24921, -16, -16, 32, 32, 2, height, -16, - -16, height); + session, direction, wooden_rc_get_rails_colour(session) | 24921, { -16, -16, height }, + { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24058, { -16, -16, height }, { 32, 32, 0 }, { -16, -16, height + 35 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24924, -16, -16, 32, 32, 0, height, -16, - -16, height + 35); + session, direction, wooden_rc_get_rails_colour(session) | 24924, { -16, -16, height }, + { 32, 32, 0 }, { -16, -16, height + 35 }); wooden_a_supports_paint_setup(session, 2, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -8889,14 +9226,14 @@ static void wooden_rc_track_diag_flat_to_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24013, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24879, -16, -16, 32, 32, 2, height, -16, - -16, height); + session, direction, wooden_rc_get_rails_colour(session) | 24879, { -16, -16, height }, + { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24016, { -16, -16, height }, { 32, 32, 0 }, { -16, -16, height + 35 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24882, -16, -16, 32, 32, 0, height, -16, - -16, height + 35); + session, direction, wooden_rc_get_rails_colour(session) | 24882, { -16, -16, height }, + { 32, 32, 0 }, { -16, -16, height + 35 }); wooden_a_supports_paint_setup(session, 2, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -8917,8 +9254,8 @@ static void wooden_rc_track_diag_flat_to_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24054, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24920, -16, -16, 32, 32, 2, height, -16, - -16, height); + session, direction, wooden_rc_get_rails_colour(session) | 24920, { -16, -16, height }, + { 32, 32, 2 }, { -16, -16, height }); break; } } @@ -8931,8 +9268,8 @@ static void wooden_rc_track_diag_flat_to_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24012, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24878, -16, -16, 32, 32, 2, height, -16, - -16, height); + session, direction, wooden_rc_get_rails_colour(session) | 24878, { -16, -16, height }, + { 32, 32, 2 }, { -16, -16, height }); break; } } @@ -8957,8 +9294,8 @@ static void wooden_rc_track_diag_25_deg_up_to_60_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24032, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24898, -16, -16, 32, 32, 2, height, -16, -16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24898, { -16, -16, height }, { 32, 32, 2 }, + { -16, -16, height }); break; } paint_util_set_segment_support_height(session, SEGMENTS_ALL, 0xFFFF, 0); @@ -8972,14 +9309,14 @@ static void wooden_rc_track_diag_25_deg_up_to_60_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24029, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24895, -16, -16, 32, 32, 2, height, -16, -16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24895, { -16, -16, height }, { 32, 32, 2 }, + { -16, -16, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24033, { -16, -16, height }, { 32, 32, 0 }, { -16, -16, height + 59 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24899, -16, -16, 32, 32, 0, height, -16, -16, - height + 59); + session, direction, wooden_rc_get_rails_colour(session) | 24899, { -16, -16, height }, { 32, 32, 0 }, + { -16, -16, height + 59 }); wooden_b_supports_paint_setup(session, 2, 0, height + 16, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -9009,14 +9346,14 @@ static void wooden_rc_track_diag_25_deg_up_to_60_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24031, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24897, -16, -16, 32, 32, 2, height, -16, -16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24897, { -16, -16, height }, { 32, 32, 2 }, + { -16, -16, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24034, { -16, -16, height }, { 32, 32, 0 }, { -16, -16, height + 59 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24900, -16, -16, 32, 32, 0, height, -16, -16, - height + 59); + session, direction, wooden_rc_get_rails_colour(session) | 24900, { -16, -16, height }, { 32, 32, 0 }, + { -16, -16, height + 59 }); wooden_b_supports_paint_setup(session, 2, 0, height + 16, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -9034,8 +9371,8 @@ static void wooden_rc_track_diag_25_deg_up_to_60_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24030, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24896, -16, -16, 32, 32, 2, height, -16, -16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24896, { -16, -16, height }, { 32, 32, 2 }, + { -16, -16, height }); break; } paint_util_set_segment_support_height(session, SEGMENTS_ALL, 0xFFFF, 0); @@ -9059,8 +9396,8 @@ static void wooden_rc_track_diag_60_deg_up_to_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24038, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24904, -16, -16, 32, 32, 2, height, -16, -16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24904, { -16, -16, height }, { 32, 32, 2 }, + { -16, -16, height }); break; } paint_util_set_segment_support_height(session, SEGMENTS_ALL, 0xFFFF, 0); @@ -9074,14 +9411,14 @@ static void wooden_rc_track_diag_60_deg_up_to_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24035, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24901, -16, -16, 32, 32, 2, height, -16, -16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24901, { -16, -16, height }, { 32, 32, 2 }, + { -16, -16, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24039, { -16, -16, height }, { 32, 32, 0 }, { -16, -16, height + 59 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24905, -16, -16, 32, 32, 0, height, -16, -16, - height + 59); + session, direction, wooden_rc_get_rails_colour(session) | 24905, { -16, -16, height }, { 32, 32, 0 }, + { -16, -16, height + 59 }); wooden_b_supports_paint_setup(session, 2, 0, height + 16, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -9111,14 +9448,14 @@ static void wooden_rc_track_diag_60_deg_up_to_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24037, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24903, -16, -16, 32, 32, 2, height, -16, -16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24903, { -16, -16, height }, { 32, 32, 2 }, + { -16, -16, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24040, { -16, -16, height }, { 32, 32, 0 }, { -16, -16, height + 59 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24906, -16, -16, 32, 32, 0, height, -16, -16, - height + 59); + session, direction, wooden_rc_get_rails_colour(session) | 24906, { -16, -16, height }, { 32, 32, 0 }, + { -16, -16, height + 59 }); wooden_b_supports_paint_setup(session, 2, 0, height + 16, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -9136,8 +9473,8 @@ static void wooden_rc_track_diag_60_deg_up_to_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24036, { -16, -16, height }, { 16, 16, 2 }, { 0, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24902, -16, -16, 16, 16, 2, height, 0, 0, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24902, { -16, -16, height }, { 16, 16, 2 }, + { 0, 0, height }); break; } paint_util_set_segment_support_height(session, SEGMENTS_ALL, 0xFFFF, 0); @@ -9163,8 +9500,8 @@ static void wooden_rc_track_diag_25_deg_up_to_flat( session, direction, wooden_rc_get_track_colour(session) | 24062, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24928, -16, -16, 32, 32, 2, height, -16, - -16, height); + session, direction, wooden_rc_get_rails_colour(session) | 24928, { -16, -16, height }, + { 32, 32, 2 }, { -16, -16, height }); break; } } @@ -9177,8 +9514,8 @@ static void wooden_rc_track_diag_25_deg_up_to_flat( session, direction, wooden_rc_get_track_colour(session) | 24020, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24886, -16, -16, 32, 32, 2, height, -16, - -16, height); + session, direction, wooden_rc_get_rails_colour(session) | 24886, { -16, -16, height }, + { 32, 32, 2 }, { -16, -16, height }); break; } } @@ -9195,14 +9532,14 @@ static void wooden_rc_track_diag_25_deg_up_to_flat( session, direction, wooden_rc_get_track_colour(session) | 24059, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24925, -16, -16, 32, 32, 2, height, -16, - -16, height); + session, direction, wooden_rc_get_rails_colour(session) | 24925, { -16, -16, height }, + { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24063, { -16, -16, height }, { 32, 32, 0 }, { -16, -16, height + 35 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24929, -16, -16, 32, 32, 0, height, -16, - -16, height + 35); + session, direction, wooden_rc_get_rails_colour(session) | 24929, { -16, -16, height }, + { 32, 32, 0 }, { -16, -16, height + 35 }); wooden_b_supports_paint_setup(session, 2, 0, height + 16, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -9225,14 +9562,14 @@ static void wooden_rc_track_diag_25_deg_up_to_flat( session, direction, wooden_rc_get_track_colour(session) | 24017, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24883, -16, -16, 32, 32, 2, height, -16, - -16, height); + session, direction, wooden_rc_get_rails_colour(session) | 24883, { -16, -16, height }, + { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24021, { -16, -16, height }, { 32, 32, 0 }, { -16, -16, height + 35 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24887, -16, -16, 32, 32, 0, height, -16, - -16, height + 35); + session, direction, wooden_rc_get_rails_colour(session) | 24887, { -16, -16, height }, + { 32, 32, 0 }, { -16, -16, height + 35 }); wooden_b_supports_paint_setup(session, 2, 0, height + 16, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -9265,14 +9602,14 @@ static void wooden_rc_track_diag_25_deg_up_to_flat( session, direction, wooden_rc_get_track_colour(session) | 24061, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24927, -16, -16, 32, 32, 2, height, -16, - -16, height); + session, direction, wooden_rc_get_rails_colour(session) | 24927, { -16, -16, height }, + { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24064, { -16, -16, height }, { 32, 32, 0 }, { -16, -16, height + 35 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24930, -16, -16, 32, 32, 0, height, -16, - -16, height + 35); + session, direction, wooden_rc_get_rails_colour(session) | 24930, { -16, -16, height }, + { 32, 32, 0 }, { -16, -16, height + 35 }); wooden_b_supports_paint_setup(session, 2, 0, height + 16, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -9295,14 +9632,14 @@ static void wooden_rc_track_diag_25_deg_up_to_flat( session, direction, wooden_rc_get_track_colour(session) | 24019, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24885, -16, -16, 32, 32, 2, height, -16, - -16, height); + session, direction, wooden_rc_get_rails_colour(session) | 24885, { -16, -16, height }, + { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24022, { -16, -16, height }, { 32, 32, 0 }, { -16, -16, height + 35 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24888, -16, -16, 32, 32, 0, height, -16, - -16, height + 35); + session, direction, wooden_rc_get_rails_colour(session) | 24888, { -16, -16, height }, + { 32, 32, 0 }, { -16, -16, height + 35 }); wooden_b_supports_paint_setup(session, 2, 0, height + 16, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -9323,8 +9660,8 @@ static void wooden_rc_track_diag_25_deg_up_to_flat( session, direction, wooden_rc_get_track_colour(session) | 24060, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24926, -16, -16, 32, 32, 2, height, -16, - -16, height); + session, direction, wooden_rc_get_rails_colour(session) | 24926, { -16, -16, height }, + { 32, 32, 2 }, { -16, -16, height }); break; } } @@ -9337,8 +9674,8 @@ static void wooden_rc_track_diag_25_deg_up_to_flat( session, direction, wooden_rc_get_track_colour(session) | 24018, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24884, -16, -16, 32, 32, 2, height, -16, - -16, height); + session, direction, wooden_rc_get_rails_colour(session) | 24884, { -16, -16, height }, + { 32, 32, 2 }, { -16, -16, height }); break; } } @@ -9365,8 +9702,8 @@ static void wooden_rc_track_diag_25_deg_down( session, direction, wooden_rc_get_track_colour(session) | 24066, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24932, -16, -16, 32, 32, 2, height, -16, - -16, height); + session, direction, wooden_rc_get_rails_colour(session) | 24932, { -16, -16, height }, + { 32, 32, 2 }, { -16, -16, height }); break; } } @@ -9379,8 +9716,8 @@ static void wooden_rc_track_diag_25_deg_down( session, direction, wooden_rc_get_track_colour(session) | 24024, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24890, -16, -16, 32, 32, 2, height, -16, - -16, height); + session, direction, wooden_rc_get_rails_colour(session) | 24890, { -16, -16, height }, + { 32, 32, 2 }, { -16, -16, height }); break; } } @@ -9397,14 +9734,14 @@ static void wooden_rc_track_diag_25_deg_down( session, direction, wooden_rc_get_track_colour(session) | 24067, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24933, -16, -16, 32, 32, 2, height, -16, - -16, height); + session, direction, wooden_rc_get_rails_colour(session) | 24933, { -16, -16, height }, + { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24070, { -16, -16, height }, { 32, 32, 0 }, { -16, -16, height + 43 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24936, -16, -16, 32, 32, 0, height, -16, - -16, height + 43); + session, direction, wooden_rc_get_rails_colour(session) | 24936, { -16, -16, height }, + { 32, 32, 0 }, { -16, -16, height + 43 }); wooden_b_supports_paint_setup(session, 2, 0, height + 16, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -9427,14 +9764,14 @@ static void wooden_rc_track_diag_25_deg_down( session, direction, wooden_rc_get_track_colour(session) | 24025, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24891, -16, -16, 32, 32, 2, height, -16, - -16, height); + session, direction, wooden_rc_get_rails_colour(session) | 24891, { -16, -16, height }, + { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24028, { -16, -16, height }, { 32, 32, 0 }, { -16, -16, height + 43 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24894, -16, -16, 32, 32, 0, height, -16, - -16, height + 43); + session, direction, wooden_rc_get_rails_colour(session) | 24894, { -16, -16, height }, + { 32, 32, 0 }, { -16, -16, height + 43 }); wooden_b_supports_paint_setup(session, 2, 0, height + 16, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -9467,14 +9804,14 @@ static void wooden_rc_track_diag_25_deg_down( session, direction, wooden_rc_get_track_colour(session) | 24065, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24931, -16, -16, 32, 32, 2, height, -16, - -16, height); + session, direction, wooden_rc_get_rails_colour(session) | 24931, { -16, -16, height }, + { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24069, { -16, -16, height }, { 32, 32, 0 }, { -16, -16, height + 43 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24935, -16, -16, 32, 32, 0, height, -16, - -16, height + 43); + session, direction, wooden_rc_get_rails_colour(session) | 24935, { -16, -16, height }, + { 32, 32, 0 }, { -16, -16, height + 43 }); wooden_b_supports_paint_setup(session, 2, 0, height + 16, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -9497,14 +9834,14 @@ static void wooden_rc_track_diag_25_deg_down( session, direction, wooden_rc_get_track_colour(session) | 24023, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24889, -16, -16, 32, 32, 2, height, -16, - -16, height); + session, direction, wooden_rc_get_rails_colour(session) | 24889, { -16, -16, height }, + { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24027, { -16, -16, height }, { 32, 32, 0 }, { -16, -16, height + 43 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24893, -16, -16, 32, 32, 0, height, -16, - -16, height + 43); + session, direction, wooden_rc_get_rails_colour(session) | 24893, { -16, -16, height }, + { 32, 32, 0 }, { -16, -16, height + 43 }); wooden_b_supports_paint_setup(session, 2, 0, height + 16, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -9525,8 +9862,8 @@ static void wooden_rc_track_diag_25_deg_down( session, direction, wooden_rc_get_track_colour(session) | 24068, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24934, -16, -16, 32, 32, 2, height, -16, - -16, height); + session, direction, wooden_rc_get_rails_colour(session) | 24934, { -16, -16, height }, + { 32, 32, 2 }, { -16, -16, height }); break; } } @@ -9539,8 +9876,8 @@ static void wooden_rc_track_diag_25_deg_down( session, direction, wooden_rc_get_track_colour(session) | 24026, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24892, -16, -16, 32, 32, 2, height, -16, - -16, height); + session, direction, wooden_rc_get_rails_colour(session) | 24892, { -16, -16, height }, + { 32, 32, 2 }, { -16, -16, height }); break; } } @@ -9565,8 +9902,8 @@ static void wooden_rc_track_diag_60_deg_down( session, direction, wooden_rc_get_track_colour(session) | 24042, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24908, -16, -16, 32, 32, 2, height, -16, -16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24908, { -16, -16, height }, { 32, 32, 2 }, + { -16, -16, height }); break; } paint_util_set_segment_support_height(session, SEGMENTS_ALL, 0xFFFF, 0); @@ -9580,14 +9917,14 @@ static void wooden_rc_track_diag_60_deg_down( session, direction, wooden_rc_get_track_colour(session) | 24043, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24909, -16, -16, 32, 32, 2, height, -16, -16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24909, { -16, -16, height }, { 32, 32, 2 }, + { -16, -16, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24046, { -16, -16, height }, { 32, 32, 0 }, { -16, -16, height + 91 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24912, -16, -16, 32, 32, 0, height, -16, -16, - height + 91); + session, direction, wooden_rc_get_rails_colour(session) | 24912, { -16, -16, height }, { 32, 32, 0 }, + { -16, -16, height + 91 }); wooden_b_supports_paint_setup(session, 2, 0, height + 16, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -9617,14 +9954,14 @@ static void wooden_rc_track_diag_60_deg_down( session, direction, wooden_rc_get_track_colour(session) | 24041, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24907, -16, -16, 32, 32, 2, height, -16, -16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24907, { -16, -16, height }, { 32, 32, 2 }, + { -16, -16, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24045, { -16, -16, height }, { 32, 32, 0 }, { -16, -16, height + 91 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24911, -16, -16, 32, 32, 0, height, -16, -16, - height + 91); + session, direction, wooden_rc_get_rails_colour(session) | 24911, { -16, -16, height }, { 32, 32, 0 }, + { -16, -16, height + 91 }); wooden_b_supports_paint_setup(session, 2, 0, height + 16, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -9642,8 +9979,8 @@ static void wooden_rc_track_diag_60_deg_down( session, direction, wooden_rc_get_track_colour(session) | 24044, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24910, -16, -16, 32, 32, 2, height, -16, -16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24910, { -16, -16, height }, { 32, 32, 2 }, + { -16, -16, height }); break; } paint_util_set_segment_support_height(session, SEGMENTS_ALL, 0xFFFF, 0); @@ -9669,8 +10006,8 @@ static void wooden_rc_track_diag_flat_to_25_deg_down( session, direction, wooden_rc_get_track_colour(session) | 24060, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24926, -16, -16, 32, 32, 2, height, -16, - -16, height); + session, direction, wooden_rc_get_rails_colour(session) | 24926, { -16, -16, height }, + { 32, 32, 2 }, { -16, -16, height }); break; } } @@ -9683,8 +10020,8 @@ static void wooden_rc_track_diag_flat_to_25_deg_down( session, direction, wooden_rc_get_track_colour(session) | 24018, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24884, -16, -16, 32, 32, 2, height, -16, - -16, height); + session, direction, wooden_rc_get_rails_colour(session) | 24884, { -16, -16, height }, + { 32, 32, 2 }, { -16, -16, height }); break; } } @@ -9699,14 +10036,14 @@ static void wooden_rc_track_diag_flat_to_25_deg_down( session, direction, wooden_rc_get_track_colour(session) | 24061, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24927, -16, -16, 32, 32, 2, height, -16, - -16, height); + session, direction, wooden_rc_get_rails_colour(session) | 24927, { -16, -16, height }, + { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24064, { -16, -16, height }, { 32, 32, 0 }, { -16, -16, height + 35 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24930, -16, -16, 32, 32, 0, height, -16, - -16, height + 35); + session, direction, wooden_rc_get_rails_colour(session) | 24930, { -16, -16, height }, + { 32, 32, 0 }, { -16, -16, height + 35 }); wooden_b_supports_paint_setup(session, 2, 0, height + 16, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -9729,14 +10066,14 @@ static void wooden_rc_track_diag_flat_to_25_deg_down( session, direction, wooden_rc_get_track_colour(session) | 24019, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24885, -16, -16, 32, 32, 2, height, -16, - -16, height); + session, direction, wooden_rc_get_rails_colour(session) | 24885, { -16, -16, height }, + { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24022, { -16, -16, height }, { 32, 32, 0 }, { -16, -16, height + 35 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24888, -16, -16, 32, 32, 0, height, -16, - -16, height + 35); + session, direction, wooden_rc_get_rails_colour(session) | 24888, { -16, -16, height }, + { 32, 32, 0 }, { -16, -16, height + 35 }); wooden_b_supports_paint_setup(session, 2, 0, height + 16, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -9767,14 +10104,14 @@ static void wooden_rc_track_diag_flat_to_25_deg_down( session, direction, wooden_rc_get_track_colour(session) | 24059, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24925, -16, -16, 32, 32, 2, height, -16, - -16, height); + session, direction, wooden_rc_get_rails_colour(session) | 24925, { -16, -16, height }, + { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24063, { -16, -16, height }, { 32, 32, 0 }, { -16, -16, height + 35 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24929, -16, -16, 32, 32, 0, height, -16, - -16, height + 35); + session, direction, wooden_rc_get_rails_colour(session) | 24929, { -16, -16, height }, + { 32, 32, 0 }, { -16, -16, height + 35 }); wooden_b_supports_paint_setup(session, 2, 0, height + 16, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -9797,14 +10134,14 @@ static void wooden_rc_track_diag_flat_to_25_deg_down( session, direction, wooden_rc_get_track_colour(session) | 24017, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24883, -16, -16, 32, 32, 2, height, -16, - -16, height); + session, direction, wooden_rc_get_rails_colour(session) | 24883, { -16, -16, height }, + { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24021, { -16, -16, height }, { 32, 32, 0 }, { -16, -16, height + 35 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24887, -16, -16, 32, 32, 0, height, -16, - -16, height + 35); + session, direction, wooden_rc_get_rails_colour(session) | 24887, { -16, -16, height }, + { 32, 32, 0 }, { -16, -16, height + 35 }); wooden_b_supports_paint_setup(session, 2, 0, height + 16, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -9823,8 +10160,8 @@ static void wooden_rc_track_diag_flat_to_25_deg_down( session, direction, wooden_rc_get_track_colour(session) | 24062, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24928, -16, -16, 32, 32, 2, height, -16, - -16, height); + session, direction, wooden_rc_get_rails_colour(session) | 24928, { -16, -16, height }, + { 32, 32, 2 }, { -16, -16, height }); break; } } @@ -9837,8 +10174,8 @@ static void wooden_rc_track_diag_flat_to_25_deg_down( session, direction, wooden_rc_get_track_colour(session) | 24020, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24886, -16, -16, 32, 32, 2, height, -16, - -16, height); + session, direction, wooden_rc_get_rails_colour(session) | 24886, { -16, -16, height }, + { 32, 32, 2 }, { -16, -16, height }); break; } } @@ -9864,8 +10201,8 @@ static void wooden_rc_track_diag_25_deg_down_to_60_deg_down( session, direction, wooden_rc_get_track_colour(session) | 24036, { -16, -16, height }, { 16, 16, 2 }, { 0, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24902, -16, -16, 16, 16, 2, height, 0, 0, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24902, { -16, -16, height }, { 16, 16, 2 }, + { 0, 0, height }); break; } paint_util_set_segment_support_height(session, SEGMENTS_ALL, 0xFFFF, 0); @@ -9879,14 +10216,14 @@ static void wooden_rc_track_diag_25_deg_down_to_60_deg_down( session, direction, wooden_rc_get_track_colour(session) | 24037, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24903, -16, -16, 32, 32, 2, height, -16, -16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24903, { -16, -16, height }, { 32, 32, 2 }, + { -16, -16, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24040, { -16, -16, height }, { 32, 32, 0 }, { -16, -16, height + 59 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24906, -16, -16, 32, 32, 0, height, -16, -16, - height + 59); + session, direction, wooden_rc_get_rails_colour(session) | 24906, { -16, -16, height }, { 32, 32, 0 }, + { -16, -16, height + 59 }); wooden_b_supports_paint_setup(session, 2, 0, height + 16, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -9916,14 +10253,14 @@ static void wooden_rc_track_diag_25_deg_down_to_60_deg_down( session, direction, wooden_rc_get_track_colour(session) | 24035, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24901, -16, -16, 32, 32, 2, height, -16, -16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24901, { -16, -16, height }, { 32, 32, 2 }, + { -16, -16, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24039, { -16, -16, height }, { 32, 32, 0 }, { -16, -16, height + 59 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24905, -16, -16, 32, 32, 0, height, -16, -16, - height + 59); + session, direction, wooden_rc_get_rails_colour(session) | 24905, { -16, -16, height }, { 32, 32, 0 }, + { -16, -16, height + 59 }); wooden_b_supports_paint_setup(session, 2, 0, height + 16, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -9941,8 +10278,8 @@ static void wooden_rc_track_diag_25_deg_down_to_60_deg_down( session, direction, wooden_rc_get_track_colour(session) | 24038, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24904, -16, -16, 32, 32, 2, height, -16, -16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24904, { -16, -16, height }, { 32, 32, 2 }, + { -16, -16, height }); break; } paint_util_set_segment_support_height(session, SEGMENTS_ALL, 0xFFFF, 0); @@ -9966,8 +10303,8 @@ static void wooden_rc_track_diag_60_deg_down_to_25_deg_down( session, direction, wooden_rc_get_track_colour(session) | 24030, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24896, -16, -16, 32, 32, 2, height, -16, -16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24896, { -16, -16, height }, { 32, 32, 2 }, + { -16, -16, height }); break; } paint_util_set_segment_support_height(session, SEGMENTS_ALL, 0xFFFF, 0); @@ -9981,14 +10318,14 @@ static void wooden_rc_track_diag_60_deg_down_to_25_deg_down( session, direction, wooden_rc_get_track_colour(session) | 24031, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24897, -16, -16, 32, 32, 2, height, -16, -16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24897, { -16, -16, height }, { 32, 32, 2 }, + { -16, -16, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24034, { -16, -16, height }, { 32, 32, 0 }, { -16, -16, height + 59 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24900, -16, -16, 32, 32, 0, height, -16, -16, - height + 59); + session, direction, wooden_rc_get_rails_colour(session) | 24900, { -16, -16, height }, { 32, 32, 0 }, + { -16, -16, height + 59 }); wooden_b_supports_paint_setup(session, 2, 0, height + 16, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -10018,14 +10355,14 @@ static void wooden_rc_track_diag_60_deg_down_to_25_deg_down( session, direction, wooden_rc_get_track_colour(session) | 24029, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24895, -16, -16, 32, 32, 2, height, -16, -16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24895, { -16, -16, height }, { 32, 32, 2 }, + { -16, -16, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24033, { -16, -16, height }, { 32, 32, 0 }, { -16, -16, height + 59 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24899, -16, -16, 32, 32, 0, height, -16, -16, - height + 59); + session, direction, wooden_rc_get_rails_colour(session) | 24899, { -16, -16, height }, { 32, 32, 0 }, + { -16, -16, height + 59 }); wooden_b_supports_paint_setup(session, 2, 0, height + 16, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -10043,8 +10380,8 @@ static void wooden_rc_track_diag_60_deg_down_to_25_deg_down( session, direction, wooden_rc_get_track_colour(session) | 24032, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24898, -16, -16, 32, 32, 2, height, -16, -16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24898, { -16, -16, height }, { 32, 32, 2 }, + { -16, -16, height }); break; } paint_util_set_segment_support_height(session, SEGMENTS_ALL, 0xFFFF, 0); @@ -10070,8 +10407,8 @@ static void wooden_rc_track_diag_25_deg_down_to_flat( session, direction, wooden_rc_get_track_colour(session) | 24054, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24920, -16, -16, 32, 32, 2, height, -16, - -16, height); + session, direction, wooden_rc_get_rails_colour(session) | 24920, { -16, -16, height }, + { 32, 32, 2 }, { -16, -16, height }); break; } } @@ -10084,8 +10421,8 @@ static void wooden_rc_track_diag_25_deg_down_to_flat( session, direction, wooden_rc_get_track_colour(session) | 24012, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24878, -16, -16, 32, 32, 2, height, -16, - -16, height); + session, direction, wooden_rc_get_rails_colour(session) | 24878, { -16, -16, height }, + { 32, 32, 2 }, { -16, -16, height }); break; } } @@ -10102,14 +10439,14 @@ static void wooden_rc_track_diag_25_deg_down_to_flat( session, direction, wooden_rc_get_track_colour(session) | 24055, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24921, -16, -16, 32, 32, 2, height, -16, - -16, height); + session, direction, wooden_rc_get_rails_colour(session) | 24921, { -16, -16, height }, + { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24058, { -16, -16, height }, { 32, 32, 0 }, { -16, -16, height + 35 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24924, -16, -16, 32, 32, 0, height, -16, - -16, height + 35); + session, direction, wooden_rc_get_rails_colour(session) | 24924, { -16, -16, height }, + { 32, 32, 0 }, { -16, -16, height + 35 }); wooden_a_supports_paint_setup(session, 2, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -10132,14 +10469,14 @@ static void wooden_rc_track_diag_25_deg_down_to_flat( session, direction, wooden_rc_get_track_colour(session) | 24013, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24879, -16, -16, 32, 32, 2, height, -16, - -16, height); + session, direction, wooden_rc_get_rails_colour(session) | 24879, { -16, -16, height }, + { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24016, { -16, -16, height }, { 32, 32, 0 }, { -16, -16, height + 35 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24882, -16, -16, 32, 32, 0, height, -16, - -16, height + 35); + session, direction, wooden_rc_get_rails_colour(session) | 24882, { -16, -16, height }, + { 32, 32, 0 }, { -16, -16, height + 35 }); wooden_a_supports_paint_setup(session, 2, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -10172,14 +10509,14 @@ static void wooden_rc_track_diag_25_deg_down_to_flat( session, direction, wooden_rc_get_track_colour(session) | 24053, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24919, -16, -16, 32, 32, 2, height, -16, - -16, height); + session, direction, wooden_rc_get_rails_colour(session) | 24919, { -16, -16, height }, + { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24057, { -16, -16, height }, { 32, 32, 0 }, { -16, -16, height + 35 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24923, -16, -16, 32, 32, 0, height, -16, - -16, height + 35); + session, direction, wooden_rc_get_rails_colour(session) | 24923, { -16, -16, height }, + { 32, 32, 0 }, { -16, -16, height + 35 }); wooden_a_supports_paint_setup(session, 2, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -10202,14 +10539,14 @@ static void wooden_rc_track_diag_25_deg_down_to_flat( session, direction, wooden_rc_get_track_colour(session) | 24011, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24877, -16, -16, 32, 32, 2, height, -16, - -16, height); + session, direction, wooden_rc_get_rails_colour(session) | 24877, { -16, -16, height }, + { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24015, { -16, -16, height }, { 32, 32, 0 }, { -16, -16, height + 35 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24881, -16, -16, 32, 32, 0, height, -16, - -16, height + 35); + session, direction, wooden_rc_get_rails_colour(session) | 24881, { -16, -16, height }, + { 32, 32, 0 }, { -16, -16, height + 35 }); wooden_a_supports_paint_setup(session, 2, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -10230,8 +10567,8 @@ static void wooden_rc_track_diag_25_deg_down_to_flat( session, direction, wooden_rc_get_track_colour(session) | 24056, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24922, -16, -16, 32, 32, 2, height, -16, - -16, height); + session, direction, wooden_rc_get_rails_colour(session) | 24922, { -16, -16, height }, + { 32, 32, 2 }, { -16, -16, height }); break; } } @@ -10244,8 +10581,8 @@ static void wooden_rc_track_diag_25_deg_down_to_flat( session, direction, wooden_rc_get_track_colour(session) | 24014, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24880, -16, -16, 32, 32, 2, height, -16, - -16, height); + session, direction, wooden_rc_get_rails_colour(session) | 24880, { -16, -16, height }, + { 32, 32, 2 }, { -16, -16, height }); break; } } @@ -10270,8 +10607,8 @@ static void wooden_rc_track_diag_flat_to_left_bank( session, direction, wooden_rc_get_track_colour(session) | 24080, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24946, -16, -16, 32, 32, 2, height, -16, -16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24946, { -16, -16, height }, { 32, 32, 2 }, + { -16, -16, height }); break; } paint_util_set_segment_support_height(session, SEGMENTS_ALL, 0xFFFF, 0); @@ -10285,14 +10622,14 @@ static void wooden_rc_track_diag_flat_to_left_bank( session, direction, wooden_rc_get_track_colour(session) | 24077, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24943, -16, -16, 32, 32, 2, height, -16, -16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24943, { -16, -16, height }, { 32, 32, 2 }, + { -16, -16, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24081, { -16, -16, height }, { 32, 32, 0 }, { -16, -16, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24947, -16, -16, 32, 32, 0, height, -16, -16, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24947, { -16, -16, height }, { 32, 32, 0 }, + { -16, -16, height + 27 }); wooden_a_supports_paint_setup(session, 2, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -10322,14 +10659,14 @@ static void wooden_rc_track_diag_flat_to_left_bank( session, direction, wooden_rc_get_track_colour(session) | 24079, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24945, -16, -16, 32, 32, 2, height, -16, -16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24945, { -16, -16, height }, { 32, 32, 2 }, + { -16, -16, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24082, { -16, -16, height }, { 32, 32, 0 }, { -16, -16, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24948, -16, -16, 32, 32, 0, height, -16, -16, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24948, { -16, -16, height }, { 32, 32, 0 }, + { -16, -16, height + 27 }); wooden_a_supports_paint_setup(session, 2, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -10347,8 +10684,8 @@ static void wooden_rc_track_diag_flat_to_left_bank( session, direction, wooden_rc_get_track_colour(session) | 24078, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24944, -16, -16, 32, 32, 2, height, -16, -16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24944, { -16, -16, height }, { 32, 32, 2 }, + { -16, -16, height }); break; } paint_util_set_segment_support_height(session, SEGMENTS_ALL, 0xFFFF, 0); @@ -10372,8 +10709,8 @@ static void wooden_rc_track_diag_flat_to_right_bank( session, direction, wooden_rc_get_track_colour(session) | 24086, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24952, -16, -16, 32, 32, 2, height, -16, -16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24952, { -16, -16, height }, { 32, 32, 2 }, + { -16, -16, height }); break; } paint_util_set_segment_support_height(session, SEGMENTS_ALL, 0xFFFF, 0); @@ -10387,14 +10724,14 @@ static void wooden_rc_track_diag_flat_to_right_bank( session, direction, wooden_rc_get_track_colour(session) | 24083, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24949, -16, -16, 32, 32, 2, height, -16, -16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24949, { -16, -16, height }, { 32, 32, 2 }, + { -16, -16, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24087, { -16, -16, height }, { 32, 32, 0 }, { -16, -16, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24953, -16, -16, 32, 32, 0, height, -16, -16, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24953, { -16, -16, height }, { 32, 32, 0 }, + { -16, -16, height + 27 }); wooden_a_supports_paint_setup(session, 2, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -10424,14 +10761,14 @@ static void wooden_rc_track_diag_flat_to_right_bank( session, direction, wooden_rc_get_track_colour(session) | 24085, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24951, -16, -16, 32, 32, 2, height, -16, -16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24951, { -16, -16, height }, { 32, 32, 2 }, + { -16, -16, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24088, { -16, -16, height }, { 32, 32, 0 }, { -16, -16, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24954, -16, -16, 32, 32, 0, height, -16, -16, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24954, { -16, -16, height }, { 32, 32, 0 }, + { -16, -16, height + 27 }); wooden_a_supports_paint_setup(session, 2, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -10449,8 +10786,8 @@ static void wooden_rc_track_diag_flat_to_right_bank( session, direction, wooden_rc_get_track_colour(session) | 24084, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24950, -16, -16, 32, 32, 2, height, -16, -16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24950, { -16, -16, height }, { 32, 32, 2 }, + { -16, -16, height }); break; } paint_util_set_segment_support_height(session, SEGMENTS_ALL, 0xFFFF, 0); @@ -10474,8 +10811,8 @@ static void wooden_rc_track_diag_left_bank_to_flat( session, direction, wooden_rc_get_track_colour(session) | 24084, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24950, -16, -16, 32, 32, 2, height, -16, -16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24950, { -16, -16, height }, { 32, 32, 2 }, + { -16, -16, height }); break; } paint_util_set_segment_support_height(session, SEGMENTS_ALL, 0xFFFF, 0); @@ -10489,14 +10826,14 @@ static void wooden_rc_track_diag_left_bank_to_flat( session, direction, wooden_rc_get_track_colour(session) | 24085, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24951, -16, -16, 32, 32, 2, height, -16, -16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24951, { -16, -16, height }, { 32, 32, 2 }, + { -16, -16, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24088, { -16, -16, height }, { 32, 32, 0 }, { -16, -16, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24954, -16, -16, 32, 32, 0, height, -16, -16, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24954, { -16, -16, height }, { 32, 32, 0 }, + { -16, -16, height + 27 }); wooden_a_supports_paint_setup(session, 2, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -10526,14 +10863,14 @@ static void wooden_rc_track_diag_left_bank_to_flat( session, direction, wooden_rc_get_track_colour(session) | 24083, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24949, -16, -16, 32, 32, 2, height, -16, -16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24949, { -16, -16, height }, { 32, 32, 2 }, + { -16, -16, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24087, { -16, -16, height }, { 32, 32, 0 }, { -16, -16, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24953, -16, -16, 32, 32, 0, height, -16, -16, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24953, { -16, -16, height }, { 32, 32, 0 }, + { -16, -16, height + 27 }); wooden_a_supports_paint_setup(session, 2, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -10551,8 +10888,8 @@ static void wooden_rc_track_diag_left_bank_to_flat( session, direction, wooden_rc_get_track_colour(session) | 24086, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24952, -16, -16, 32, 32, 2, height, -16, -16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24952, { -16, -16, height }, { 32, 32, 2 }, + { -16, -16, height }); break; } paint_util_set_segment_support_height(session, SEGMENTS_ALL, 0xFFFF, 0); @@ -10576,8 +10913,8 @@ static void wooden_rc_track_diag_right_bank_to_flat( session, direction, wooden_rc_get_track_colour(session) | 24078, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24944, -16, -16, 32, 32, 2, height, -16, -16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24944, { -16, -16, height }, { 32, 32, 2 }, + { -16, -16, height }); break; } paint_util_set_segment_support_height(session, SEGMENTS_ALL, 0xFFFF, 0); @@ -10591,14 +10928,14 @@ static void wooden_rc_track_diag_right_bank_to_flat( session, direction, wooden_rc_get_track_colour(session) | 24079, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24945, -16, -16, 32, 32, 2, height, -16, -16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24945, { -16, -16, height }, { 32, 32, 2 }, + { -16, -16, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24082, { -16, -16, height }, { 32, 32, 0 }, { -16, -16, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24948, -16, -16, 32, 32, 0, height, -16, -16, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24948, { -16, -16, height }, { 32, 32, 0 }, + { -16, -16, height + 27 }); wooden_a_supports_paint_setup(session, 2, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -10628,14 +10965,14 @@ static void wooden_rc_track_diag_right_bank_to_flat( session, direction, wooden_rc_get_track_colour(session) | 24077, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24943, -16, -16, 32, 32, 2, height, -16, -16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24943, { -16, -16, height }, { 32, 32, 2 }, + { -16, -16, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24081, { -16, -16, height }, { 32, 32, 0 }, { -16, -16, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24947, -16, -16, 32, 32, 0, height, -16, -16, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24947, { -16, -16, height }, { 32, 32, 0 }, + { -16, -16, height + 27 }); wooden_a_supports_paint_setup(session, 2, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -10653,8 +10990,8 @@ static void wooden_rc_track_diag_right_bank_to_flat( session, direction, wooden_rc_get_track_colour(session) | 24080, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24946, -16, -16, 32, 32, 2, height, -16, -16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24946, { -16, -16, height }, { 32, 32, 2 }, + { -16, -16, height }); break; } paint_util_set_segment_support_height(session, SEGMENTS_ALL, 0xFFFF, 0); @@ -10678,8 +11015,8 @@ static void wooden_rc_track_diag_left_bank_to_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24104, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24970, -16, -16, 32, 32, 2, height, -16, -16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24970, { -16, -16, height }, { 32, 32, 2 }, + { -16, -16, height }); break; } paint_util_set_segment_support_height(session, SEGMENTS_ALL, 0xFFFF, 0); @@ -10693,14 +11030,14 @@ static void wooden_rc_track_diag_left_bank_to_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24101, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24967, -16, -16, 32, 32, 2, height, -16, -16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24967, { -16, -16, height }, { 32, 32, 2 }, + { -16, -16, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24105, { -16, -16, height }, { 32, 32, 0 }, { -16, -16, height + 35 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24971, -16, -16, 32, 32, 0, height, -16, -16, - height + 35); + session, direction, wooden_rc_get_rails_colour(session) | 24971, { -16, -16, height }, { 32, 32, 0 }, + { -16, -16, height + 35 }); wooden_a_supports_paint_setup(session, 2, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -10730,14 +11067,14 @@ static void wooden_rc_track_diag_left_bank_to_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24103, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24969, -16, -16, 32, 32, 2, height, -16, -16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24969, { -16, -16, height }, { 32, 32, 2 }, + { -16, -16, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24106, { -16, -16, height }, { 32, 32, 0 }, { -16, -16, height + 35 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24972, -16, -16, 32, 32, 0, height, -16, -16, - height + 35); + session, direction, wooden_rc_get_rails_colour(session) | 24972, { -16, -16, height }, { 32, 32, 0 }, + { -16, -16, height + 35 }); wooden_a_supports_paint_setup(session, 2, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -10755,8 +11092,8 @@ static void wooden_rc_track_diag_left_bank_to_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24102, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24968, -16, -16, 32, 32, 2, height, -16, -16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24968, { -16, -16, height }, { 32, 32, 2 }, + { -16, -16, height }); break; } paint_util_set_segment_support_height(session, SEGMENTS_ALL, 0xFFFF, 0); @@ -10780,8 +11117,8 @@ static void wooden_rc_track_diag_right_bank_to_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24110, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24976, -16, -16, 32, 32, 2, height, -16, -16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24976, { -16, -16, height }, { 32, 32, 2 }, + { -16, -16, height }); break; } paint_util_set_segment_support_height(session, SEGMENTS_ALL, 0xFFFF, 0); @@ -10795,14 +11132,14 @@ static void wooden_rc_track_diag_right_bank_to_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24107, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24973, -16, -16, 32, 32, 2, height, -16, -16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24973, { -16, -16, height }, { 32, 32, 2 }, + { -16, -16, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24111, { -16, -16, height }, { 32, 32, 0 }, { -16, -16, height + 35 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24977, -16, -16, 32, 32, 0, height, -16, -16, - height + 35); + session, direction, wooden_rc_get_rails_colour(session) | 24977, { -16, -16, height }, { 32, 32, 0 }, + { -16, -16, height + 35 }); wooden_a_supports_paint_setup(session, 2, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -10832,14 +11169,14 @@ static void wooden_rc_track_diag_right_bank_to_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24109, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24975, -16, -16, 32, 32, 2, height, -16, -16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24975, { -16, -16, height }, { 32, 32, 2 }, + { -16, -16, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24112, { -16, -16, height }, { 32, 32, 0 }, { -16, -16, height + 35 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24978, -16, -16, 32, 32, 0, height, -16, -16, - height + 35); + session, direction, wooden_rc_get_rails_colour(session) | 24978, { -16, -16, height }, { 32, 32, 0 }, + { -16, -16, height + 35 }); wooden_a_supports_paint_setup(session, 2, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -10857,8 +11194,8 @@ static void wooden_rc_track_diag_right_bank_to_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24108, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24974, -16, -16, 32, 32, 2, height, -16, -16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24974, { -16, -16, height }, { 32, 32, 2 }, + { -16, -16, height }); break; } paint_util_set_segment_support_height(session, SEGMENTS_ALL, 0xFFFF, 0); @@ -10882,8 +11219,8 @@ static void wooden_rc_track_diag_25_deg_up_to_left_bank( session, direction, wooden_rc_get_track_colour(session) | 24092, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24958, -16, -16, 32, 32, 2, height, -16, -16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24958, { -16, -16, height }, { 32, 32, 2 }, + { -16, -16, height }); break; } paint_util_set_segment_support_height(session, SEGMENTS_ALL, 0xFFFF, 0); @@ -10897,14 +11234,14 @@ static void wooden_rc_track_diag_25_deg_up_to_left_bank( session, direction, wooden_rc_get_track_colour(session) | 24089, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24955, -16, -16, 32, 32, 2, height, -16, -16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24955, { -16, -16, height }, { 32, 32, 2 }, + { -16, -16, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24093, { -16, -16, height }, { 32, 32, 0 }, { -16, -16, height + 35 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24959, -16, -16, 32, 32, 0, height, -16, -16, - height + 35); + session, direction, wooden_rc_get_rails_colour(session) | 24959, { -16, -16, height }, { 32, 32, 0 }, + { -16, -16, height + 35 }); wooden_b_supports_paint_setup(session, 2, 0, height + 16, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -10934,14 +11271,14 @@ static void wooden_rc_track_diag_25_deg_up_to_left_bank( session, direction, wooden_rc_get_track_colour(session) | 24091, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24957, -16, -16, 32, 32, 2, height, -16, -16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24957, { -16, -16, height }, { 32, 32, 2 }, + { -16, -16, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24094, { -16, -16, height }, { 32, 32, 0 }, { -16, -16, height + 35 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24960, -16, -16, 32, 32, 0, height, -16, -16, - height + 35); + session, direction, wooden_rc_get_rails_colour(session) | 24960, { -16, -16, height }, { 32, 32, 0 }, + { -16, -16, height + 35 }); wooden_b_supports_paint_setup(session, 2, 0, height + 16, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -10959,8 +11296,8 @@ static void wooden_rc_track_diag_25_deg_up_to_left_bank( session, direction, wooden_rc_get_track_colour(session) | 24090, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24956, -16, -16, 32, 32, 2, height, -16, -16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24956, { -16, -16, height }, { 32, 32, 2 }, + { -16, -16, height }); break; } paint_util_set_segment_support_height(session, SEGMENTS_ALL, 0xFFFF, 0); @@ -10984,8 +11321,8 @@ static void wooden_rc_track_diag_25_deg_up_to_right_bank( session, direction, wooden_rc_get_track_colour(session) | 24098, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24964, -16, -16, 32, 32, 2, height, -16, -16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24964, { -16, -16, height }, { 32, 32, 2 }, + { -16, -16, height }); break; } paint_util_set_segment_support_height(session, SEGMENTS_ALL, 0xFFFF, 0); @@ -10999,14 +11336,14 @@ static void wooden_rc_track_diag_25_deg_up_to_right_bank( session, direction, wooden_rc_get_track_colour(session) | 24095, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24961, -16, -16, 32, 32, 2, height, -16, -16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24961, { -16, -16, height }, { 32, 32, 2 }, + { -16, -16, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24099, { -16, -16, height }, { 32, 32, 0 }, { -16, -16, height + 35 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24965, -16, -16, 32, 32, 0, height, -16, -16, - height + 35); + session, direction, wooden_rc_get_rails_colour(session) | 24965, { -16, -16, height }, { 32, 32, 0 }, + { -16, -16, height + 35 }); wooden_b_supports_paint_setup(session, 2, 0, height + 16, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -11036,14 +11373,14 @@ static void wooden_rc_track_diag_25_deg_up_to_right_bank( session, direction, wooden_rc_get_track_colour(session) | 24097, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24963, -16, -16, 32, 32, 2, height, -16, -16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24963, { -16, -16, height }, { 32, 32, 2 }, + { -16, -16, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24100, { -16, -16, height }, { 32, 32, 0 }, { -16, -16, height + 35 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24966, -16, -16, 32, 32, 0, height, -16, -16, - height + 35); + session, direction, wooden_rc_get_rails_colour(session) | 24966, { -16, -16, height }, { 32, 32, 0 }, + { -16, -16, height + 35 }); wooden_b_supports_paint_setup(session, 2, 0, height + 16, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -11061,8 +11398,8 @@ static void wooden_rc_track_diag_25_deg_up_to_right_bank( session, direction, wooden_rc_get_track_colour(session) | 24096, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24962, -16, -16, 32, 32, 2, height, -16, -16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24962, { -16, -16, height }, { 32, 32, 2 }, + { -16, -16, height }); break; } paint_util_set_segment_support_height(session, SEGMENTS_ALL, 0xFFFF, 0); @@ -11086,8 +11423,8 @@ static void wooden_rc_track_diag_left_bank_to_25_deg_down( session, direction, wooden_rc_get_track_colour(session) | 24096, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24962, -16, -16, 32, 32, 2, height, -16, -16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24962, { -16, -16, height }, { 32, 32, 2 }, + { -16, -16, height }); break; } break; @@ -11099,14 +11436,14 @@ static void wooden_rc_track_diag_left_bank_to_25_deg_down( session, direction, wooden_rc_get_track_colour(session) | 24097, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24963, -16, -16, 32, 32, 2, height, -16, -16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24963, { -16, -16, height }, { 32, 32, 2 }, + { -16, -16, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24100, { -16, -16, height }, { 32, 32, 0 }, { -16, -16, height + 35 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24966, -16, -16, 32, 32, 0, height, -16, -16, - height + 35); + session, direction, wooden_rc_get_rails_colour(session) | 24966, { -16, -16, height }, { 32, 32, 0 }, + { -16, -16, height + 35 }); wooden_b_supports_paint_setup(session, 2, 0, height + 16, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -11134,14 +11471,14 @@ static void wooden_rc_track_diag_left_bank_to_25_deg_down( session, direction, wooden_rc_get_track_colour(session) | 24095, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24961, -16, -16, 32, 32, 2, height, -16, -16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24961, { -16, -16, height }, { 32, 32, 2 }, + { -16, -16, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24099, { -16, -16, height }, { 32, 32, 0 }, { -16, -16, height + 35 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24965, -16, -16, 32, 32, 0, height, -16, -16, - height + 35); + session, direction, wooden_rc_get_rails_colour(session) | 24965, { -16, -16, height }, { 32, 32, 0 }, + { -16, -16, height + 35 }); wooden_b_supports_paint_setup(session, 2, 0, height + 16, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -11157,8 +11494,8 @@ static void wooden_rc_track_diag_left_bank_to_25_deg_down( session, direction, wooden_rc_get_track_colour(session) | 24098, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24964, -16, -16, 32, 32, 2, height, -16, -16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24964, { -16, -16, height }, { 32, 32, 2 }, + { -16, -16, height }); break; } break; @@ -11183,8 +11520,8 @@ static void wooden_rc_track_diag_right_bank_to_25_deg_down( session, direction, wooden_rc_get_track_colour(session) | 24090, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24956, -16, -16, 32, 32, 2, height, -16, -16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24956, { -16, -16, height }, { 32, 32, 2 }, + { -16, -16, height }); break; } break; @@ -11196,14 +11533,14 @@ static void wooden_rc_track_diag_right_bank_to_25_deg_down( session, direction, wooden_rc_get_track_colour(session) | 24091, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24957, -16, -16, 32, 32, 2, height, -16, -16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24957, { -16, -16, height }, { 32, 32, 2 }, + { -16, -16, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24094, { -16, -16, height }, { 32, 32, 0 }, { -16, -16, height + 35 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24960, -16, -16, 32, 32, 0, height, -16, -16, - height + 35); + session, direction, wooden_rc_get_rails_colour(session) | 24960, { -16, -16, height }, { 32, 32, 0 }, + { -16, -16, height + 35 }); wooden_b_supports_paint_setup(session, 2, 0, height + 16, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -11231,14 +11568,14 @@ static void wooden_rc_track_diag_right_bank_to_25_deg_down( session, direction, wooden_rc_get_track_colour(session) | 24089, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24955, -16, -16, 32, 32, 2, height, -16, -16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24955, { -16, -16, height }, { 32, 32, 2 }, + { -16, -16, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24093, { -16, -16, height }, { 32, 32, 0 }, { -16, -16, height + 35 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24959, -16, -16, 32, 32, 0, height, -16, -16, - height + 35); + session, direction, wooden_rc_get_rails_colour(session) | 24959, { -16, -16, height }, { 32, 32, 0 }, + { -16, -16, height + 35 }); wooden_b_supports_paint_setup(session, 2, 0, height + 16, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -11254,8 +11591,8 @@ static void wooden_rc_track_diag_right_bank_to_25_deg_down( session, direction, wooden_rc_get_track_colour(session) | 24092, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24958, -16, -16, 32, 32, 2, height, -16, -16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24958, { -16, -16, height }, { 32, 32, 2 }, + { -16, -16, height }); break; } break; @@ -11280,8 +11617,8 @@ static void wooden_rc_track_diag_25_deg_down_to_left_bank( session, direction, wooden_rc_get_track_colour(session) | 24108, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24974, -16, -16, 32, 32, 2, height, -16, -16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24974, { -16, -16, height }, { 32, 32, 2 }, + { -16, -16, height }); break; } paint_util_set_segment_support_height(session, SEGMENTS_ALL, 0xFFFF, 0); @@ -11295,14 +11632,14 @@ static void wooden_rc_track_diag_25_deg_down_to_left_bank( session, direction, wooden_rc_get_track_colour(session) | 24109, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24975, -16, -16, 32, 32, 2, height, -16, -16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24975, { -16, -16, height }, { 32, 32, 2 }, + { -16, -16, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24112, { -16, -16, height }, { 32, 32, 0 }, { -16, -16, height + 35 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24978, -16, -16, 32, 32, 0, height, -16, -16, - height + 35); + session, direction, wooden_rc_get_rails_colour(session) | 24978, { -16, -16, height }, { 32, 32, 0 }, + { -16, -16, height + 35 }); wooden_a_supports_paint_setup(session, 2, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -11332,14 +11669,14 @@ static void wooden_rc_track_diag_25_deg_down_to_left_bank( session, direction, wooden_rc_get_track_colour(session) | 24107, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24973, -16, -16, 32, 32, 2, height, -16, -16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24973, { -16, -16, height }, { 32, 32, 2 }, + { -16, -16, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24111, { -16, -16, height }, { 32, 32, 0 }, { -16, -16, height + 35 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24977, -16, -16, 32, 32, 0, height, -16, -16, - height + 35); + session, direction, wooden_rc_get_rails_colour(session) | 24977, { -16, -16, height }, { 32, 32, 0 }, + { -16, -16, height + 35 }); wooden_a_supports_paint_setup(session, 2, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -11357,8 +11694,8 @@ static void wooden_rc_track_diag_25_deg_down_to_left_bank( session, direction, wooden_rc_get_track_colour(session) | 24110, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24976, -16, -16, 32, 32, 2, height, -16, -16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24976, { -16, -16, height }, { 32, 32, 2 }, + { -16, -16, height }); break; } paint_util_set_segment_support_height(session, SEGMENTS_ALL, 0xFFFF, 0); @@ -11382,8 +11719,8 @@ static void wooden_rc_track_diag_25_deg_down_to_right_bank( session, direction, wooden_rc_get_track_colour(session) | 24102, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24968, -16, -16, 32, 32, 2, height, -16, -16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24968, { -16, -16, height }, { 32, 32, 2 }, + { -16, -16, height }); break; } paint_util_set_segment_support_height(session, SEGMENTS_ALL, 0xFFFF, 0); @@ -11397,14 +11734,14 @@ static void wooden_rc_track_diag_25_deg_down_to_right_bank( session, direction, wooden_rc_get_track_colour(session) | 24103, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24969, -16, -16, 32, 32, 2, height, -16, -16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24969, { -16, -16, height }, { 32, 32, 2 }, + { -16, -16, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24106, { -16, -16, height }, { 32, 32, 0 }, { -16, -16, height + 35 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24972, -16, -16, 32, 32, 0, height, -16, -16, - height + 35); + session, direction, wooden_rc_get_rails_colour(session) | 24972, { -16, -16, height }, { 32, 32, 0 }, + { -16, -16, height + 35 }); wooden_a_supports_paint_setup(session, 2, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -11434,14 +11771,14 @@ static void wooden_rc_track_diag_25_deg_down_to_right_bank( session, direction, wooden_rc_get_track_colour(session) | 24101, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24967, -16, -16, 32, 32, 2, height, -16, -16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24967, { -16, -16, height }, { 32, 32, 2 }, + { -16, -16, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24105, { -16, -16, height }, { 32, 32, 0 }, { -16, -16, height + 35 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24971, -16, -16, 32, 32, 0, height, -16, -16, - height + 35); + session, direction, wooden_rc_get_rails_colour(session) | 24971, { -16, -16, height }, { 32, 32, 0 }, + { -16, -16, height + 35 }); wooden_a_supports_paint_setup(session, 2, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -11459,8 +11796,8 @@ static void wooden_rc_track_diag_25_deg_down_to_right_bank( session, direction, wooden_rc_get_track_colour(session) | 24104, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24970, -16, -16, 32, 32, 2, height, -16, -16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24970, { -16, -16, height }, { 32, 32, 2 }, + { -16, -16, height }); break; } paint_util_set_segment_support_height(session, SEGMENTS_ALL, 0xFFFF, 0); @@ -11484,8 +11821,8 @@ static void wooden_rc_track_diag_left_bank( session, direction, wooden_rc_get_track_colour(session) | 24074, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24940, -16, -16, 32, 32, 2, height, -16, -16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24940, { -16, -16, height }, { 32, 32, 2 }, + { -16, -16, height }); break; } paint_util_set_segment_support_height(session, SEGMENTS_ALL, 0xFFFF, 0); @@ -11499,14 +11836,14 @@ static void wooden_rc_track_diag_left_bank( session, direction, wooden_rc_get_track_colour(session) | 24071, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24937, -16, -16, 32, 32, 2, height, -16, -16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24937, { -16, -16, height }, { 32, 32, 2 }, + { -16, -16, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24075, { -16, -16, height }, { 32, 32, 0 }, { -16, -16, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24941, -16, -16, 32, 32, 0, height, -16, -16, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24941, { -16, -16, height }, { 32, 32, 0 }, + { -16, -16, height + 27 }); wooden_a_supports_paint_setup(session, 2, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -11536,14 +11873,14 @@ static void wooden_rc_track_diag_left_bank( session, direction, wooden_rc_get_track_colour(session) | 24073, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24939, -16, -16, 32, 32, 2, height, -16, -16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24939, { -16, -16, height }, { 32, 32, 2 }, + { -16, -16, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24076, { -16, -16, height }, { 32, 32, 0 }, { -16, -16, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24942, -16, -16, 32, 32, 0, height, -16, -16, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24942, { -16, -16, height }, { 32, 32, 0 }, + { -16, -16, height + 27 }); wooden_a_supports_paint_setup(session, 2, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -11561,8 +11898,8 @@ static void wooden_rc_track_diag_left_bank( session, direction, wooden_rc_get_track_colour(session) | 24072, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24938, -16, -16, 32, 32, 2, height, -16, -16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24938, { -16, -16, height }, { 32, 32, 2 }, + { -16, -16, height }); break; } paint_util_set_segment_support_height(session, SEGMENTS_ALL, 0xFFFF, 0); @@ -11586,8 +11923,8 @@ static void wooden_rc_track_diag_right_bank( session, direction, wooden_rc_get_track_colour(session) | 24072, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24938, -16, -16, 32, 32, 2, height, -16, -16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24938, { -16, -16, height }, { 32, 32, 2 }, + { -16, -16, height }); break; } paint_util_set_segment_support_height(session, SEGMENTS_ALL, 0xFFFF, 0); @@ -11601,14 +11938,14 @@ static void wooden_rc_track_diag_right_bank( session, direction, wooden_rc_get_track_colour(session) | 24073, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24939, -16, -16, 32, 32, 2, height, -16, -16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24939, { -16, -16, height }, { 32, 32, 2 }, + { -16, -16, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24076, { -16, -16, height }, { 32, 32, 0 }, { -16, -16, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24942, -16, -16, 32, 32, 0, height, -16, -16, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24942, { -16, -16, height }, { 32, 32, 0 }, + { -16, -16, height + 27 }); wooden_a_supports_paint_setup(session, 2, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -11638,14 +11975,14 @@ static void wooden_rc_track_diag_right_bank( session, direction, wooden_rc_get_track_colour(session) | 24071, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24937, -16, -16, 32, 32, 2, height, -16, -16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24937, { -16, -16, height }, { 32, 32, 2 }, + { -16, -16, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24075, { -16, -16, height }, { 32, 32, 0 }, { -16, -16, height + 27 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24941, -16, -16, 32, 32, 0, height, -16, -16, - height + 27); + session, direction, wooden_rc_get_rails_colour(session) | 24941, { -16, -16, height }, { 32, 32, 0 }, + { -16, -16, height + 27 }); wooden_a_supports_paint_setup(session, 2, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -11663,8 +12000,8 @@ static void wooden_rc_track_diag_right_bank( session, direction, wooden_rc_get_track_colour(session) | 24074, { -16, -16, height }, { 32, 32, 2 }, { -16, -16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24940, -16, -16, 32, 32, 2, height, -16, -16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 24940, { -16, -16, height }, { 32, 32, 2 }, + { -16, -16, height }); break; } paint_util_set_segment_support_height(session, SEGMENTS_ALL, 0xFFFF, 0); @@ -11688,7 +12025,8 @@ static void wooden_rc_track_left_bank_to_left_quarter_turn_3_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 23958, { 0, 6, height }, { 32, 20, 2 }, { 0, 6, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24824, 0, 6, 32, 20, 2, height, 0, 6, height); + session, direction, wooden_rc_get_rails_colour(session) | 24824, { 0, 6, height }, { 32, 20, 2 }, + { 0, 6, height }); wooden_a_supports_paint_setup(session, 5, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -11696,13 +12034,14 @@ static void wooden_rc_track_left_bank_to_left_quarter_turn_3_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 23960, { 0, 6, height }, { 32, 20, 2 }, { 0, 6, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24826, 0, 6, 32, 20, 2, height, 0, 6, height); + session, direction, wooden_rc_get_rails_colour(session) | 24826, { 0, 6, height }, { 32, 20, 2 }, + { 0, 6, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23971, { 0, 6, height }, { 32, 20, 0 }, { 0, 6, height + 67 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24837, 0, 6, 32, 20, 0, height, 0, 6, - height + 67); + session, direction, wooden_rc_get_rails_colour(session) | 24837, { 0, 6, height }, { 32, 20, 0 }, + { 0, 6, height + 67 }); wooden_a_supports_paint_setup(session, 2, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -11710,7 +12049,8 @@ static void wooden_rc_track_left_bank_to_left_quarter_turn_3_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 23962, { 0, 6, height }, { 32, 20, 2 }, { 0, 6, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24828, 0, 6, 32, 20, 2, height, 0, 6, height); + session, direction, wooden_rc_get_rails_colour(session) | 24828, { 0, 6, height }, { 32, 20, 2 }, + { 0, 6, height }); wooden_a_supports_paint_setup(session, 3, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -11718,13 +12058,14 @@ static void wooden_rc_track_left_bank_to_left_quarter_turn_3_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 23956, { 0, 6, height }, { 32, 20, 2 }, { 0, 6, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24822, 0, 6, 32, 20, 2, height, 0, 6, height); + session, direction, wooden_rc_get_rails_colour(session) | 24822, { 0, 6, height }, { 32, 20, 2 }, + { 0, 6, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23969, { 0, 6, height }, { 32, 20, 0 }, { 0, 6, height + 67 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24835, 0, 6, 32, 20, 0, height, 0, 6, - height + 67); + session, direction, wooden_rc_get_rails_colour(session) | 24835, { 0, 6, height }, { 32, 20, 0 }, + { 0, 6, height + 67 }); wooden_a_supports_paint_setup(session, 4, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -11751,7 +12092,8 @@ static void wooden_rc_track_left_bank_to_left_quarter_turn_3_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 23957, { 6, 0, height }, { 20, 32, 2 }, { 6, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24823, 6, 0, 20, 32, 2, height, 6, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24823, { 6, 0, height }, { 20, 32, 2 }, + { 6, 0, height }); wooden_a_supports_paint_setup(session, 5, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -11759,13 +12101,14 @@ static void wooden_rc_track_left_bank_to_left_quarter_turn_3_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 23959, { 6, 0, height }, { 20, 32, 2 }, { 6, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24825, 6, 0, 20, 32, 2, height, 6, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24825, { 6, 0, height }, { 20, 32, 2 }, + { 6, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23970, { 6, 0, height }, { 20, 32, 0 }, { 6, 0, height + 67 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24836, 6, 0, 20, 32, 0, height, 6, 0, - height + 67); + session, direction, wooden_rc_get_rails_colour(session) | 24836, { 6, 0, height }, { 20, 32, 0 }, + { 6, 0, height + 67 }); wooden_a_supports_paint_setup(session, 2, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -11773,13 +12116,14 @@ static void wooden_rc_track_left_bank_to_left_quarter_turn_3_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 23961, { 6, 0, height }, { 20, 32, 2 }, { 6, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24827, 6, 0, 20, 32, 2, height, 6, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24827, { 6, 0, height }, { 20, 32, 2 }, + { 6, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23972, { 6, 0, height }, { 20, 32, 0 }, { 6, 0, height + 67 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24838, 6, 0, 20, 32, 0, height, 6, 0, - height + 67); + session, direction, wooden_rc_get_rails_colour(session) | 24838, { 6, 0, height }, { 20, 32, 0 }, + { 6, 0, height + 67 }); wooden_a_supports_paint_setup(session, 3, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -11787,13 +12131,14 @@ static void wooden_rc_track_left_bank_to_left_quarter_turn_3_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 23955, { 6, 0, height }, { 20, 32, 2 }, { 6, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24821, 6, 0, 20, 32, 2, height, 6, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24821, { 6, 0, height }, { 20, 32, 2 }, + { 6, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23968, { 6, 0, height }, { 20, 32, 0 }, { 6, 0, height + 67 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24834, 6, 0, 20, 32, 0, height, 6, 0, - height + 67); + session, direction, wooden_rc_get_rails_colour(session) | 24834, { 6, 0, height }, { 20, 32, 0 }, + { 6, 0, height + 67 }); wooden_a_supports_paint_setup(session, 4, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -11827,13 +12172,14 @@ static void wooden_rc_track_right_bank_to_right_quarter_turn_3_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 23947, { 0, 6, height }, { 32, 20, 2 }, { 0, 6, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24813, 0, 6, 32, 20, 2, height, 0, 6, height); + session, direction, wooden_rc_get_rails_colour(session) | 24813, { 0, 6, height }, { 32, 20, 2 }, + { 0, 6, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23963, { 0, 6, height }, { 32, 20, 0 }, { 0, 6, height + 67 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24829, 0, 6, 32, 20, 0, height, 0, 6, - height + 67); + session, direction, wooden_rc_get_rails_colour(session) | 24829, { 0, 6, height }, { 32, 20, 0 }, + { 0, 6, height + 67 }); wooden_a_supports_paint_setup(session, 4, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -11841,7 +12187,8 @@ static void wooden_rc_track_right_bank_to_right_quarter_turn_3_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 23949, { 0, 6, height }, { 32, 20, 2 }, { 0, 6, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24815, 0, 6, 32, 20, 2, height, 0, 6, height); + session, direction, wooden_rc_get_rails_colour(session) | 24815, { 0, 6, height }, { 32, 20, 2 }, + { 0, 6, height }); wooden_a_supports_paint_setup(session, 5, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -11849,13 +12196,14 @@ static void wooden_rc_track_right_bank_to_right_quarter_turn_3_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 23951, { 0, 6, height }, { 32, 20, 2 }, { 0, 6, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24817, 0, 6, 32, 20, 2, height, 0, 6, height); + session, direction, wooden_rc_get_rails_colour(session) | 24817, { 0, 6, height }, { 32, 20, 2 }, + { 0, 6, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23966, { 0, 6, height }, { 32, 20, 0 }, { 0, 6, height + 67 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24832, 0, 6, 32, 20, 0, height, 0, 6, - height + 67); + session, direction, wooden_rc_get_rails_colour(session) | 24832, { 0, 6, height }, { 32, 20, 0 }, + { 0, 6, height + 67 }); wooden_a_supports_paint_setup(session, 2, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -11863,7 +12211,8 @@ static void wooden_rc_track_right_bank_to_right_quarter_turn_3_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 23953, { 0, 6, height }, { 32, 20, 2 }, { 0, 6, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24819, 0, 6, 32, 20, 2, height, 0, 6, height); + session, direction, wooden_rc_get_rails_colour(session) | 24819, { 0, 6, height }, { 32, 20, 2 }, + { 0, 6, height }); wooden_a_supports_paint_setup(session, 3, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -11890,13 +12239,14 @@ static void wooden_rc_track_right_bank_to_right_quarter_turn_3_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 23948, { 6, 0, height }, { 20, 32, 2 }, { 6, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24814, 6, 0, 20, 32, 2, height, 6, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24814, { 6, 0, height }, { 20, 32, 2 }, + { 6, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23964, { 6, 0, height }, { 20, 32, 0 }, { 6, 0, height + 67 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24830, 6, 0, 20, 32, 0, height, 6, 0, - height + 67); + session, direction, wooden_rc_get_rails_colour(session) | 24830, { 6, 0, height }, { 20, 32, 0 }, + { 6, 0, height + 67 }); wooden_a_supports_paint_setup(session, 4, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -11904,13 +12254,14 @@ static void wooden_rc_track_right_bank_to_right_quarter_turn_3_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 23950, { 6, 0, height }, { 20, 32, 2 }, { 6, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24816, 6, 0, 20, 32, 2, height, 6, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24816, { 6, 0, height }, { 20, 32, 2 }, + { 6, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23965, { 6, 0, height }, { 20, 32, 0 }, { 6, 0, height + 67 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24831, 6, 0, 20, 32, 0, height, 6, 0, - height + 67); + session, direction, wooden_rc_get_rails_colour(session) | 24831, { 6, 0, height }, { 20, 32, 0 }, + { 6, 0, height + 67 }); wooden_a_supports_paint_setup(session, 5, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -11918,13 +12269,14 @@ static void wooden_rc_track_right_bank_to_right_quarter_turn_3_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 23952, { 6, 0, height }, { 20, 32, 2 }, { 6, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24818, 6, 0, 20, 32, 2, height, 6, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24818, { 6, 0, height }, { 20, 32, 2 }, + { 6, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23967, { 6, 0, height }, { 20, 32, 0 }, { 6, 0, height + 67 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24833, 6, 0, 20, 32, 0, height, 6, 0, - height + 67); + session, direction, wooden_rc_get_rails_colour(session) | 24833, { 6, 0, height }, { 20, 32, 0 }, + { 6, 0, height + 67 }); wooden_a_supports_paint_setup(session, 2, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -11932,7 +12284,8 @@ static void wooden_rc_track_right_bank_to_right_quarter_turn_3_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 23954, { 6, 0, height }, { 20, 32, 2 }, { 6, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24820, 6, 0, 20, 32, 2, height, 6, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24820, { 6, 0, height }, { 20, 32, 2 }, + { 6, 0, height }); wooden_a_supports_paint_setup(session, 3, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -11966,13 +12319,14 @@ static void wooden_rc_track_left_quarter_turn_3_25_deg_down_to_left_bank( session, direction, wooden_rc_get_track_colour(session) | 23950, { 0, 6, height }, { 32, 20, 2 }, { 0, 6, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24816, 0, 6, 32, 20, 2, height, 0, 6, height); + session, direction, wooden_rc_get_rails_colour(session) | 24816, { 0, 6, height }, { 32, 20, 2 }, + { 0, 6, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23965, { 0, 6, height }, { 32, 20, 0 }, { 0, 6, height + 67 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24831, 0, 6, 32, 20, 0, height, 0, 6, - height + 67); + session, direction, wooden_rc_get_rails_colour(session) | 24831, { 0, 6, height }, { 32, 20, 0 }, + { 0, 6, height + 67 }); wooden_a_supports_paint_setup(session, 5, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -11980,13 +12334,14 @@ static void wooden_rc_track_left_quarter_turn_3_25_deg_down_to_left_bank( session, direction, wooden_rc_get_track_colour(session) | 23952, { 0, 6, height }, { 32, 20, 2 }, { 0, 6, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24818, 0, 6, 32, 20, 2, height, 0, 6, height); + session, direction, wooden_rc_get_rails_colour(session) | 24818, { 0, 6, height }, { 32, 20, 2 }, + { 0, 6, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23967, { 0, 6, height }, { 32, 20, 0 }, { 0, 6, height + 67 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24833, 0, 6, 32, 20, 0, height, 0, 6, - height + 67); + session, direction, wooden_rc_get_rails_colour(session) | 24833, { 0, 6, height }, { 32, 20, 0 }, + { 0, 6, height + 67 }); wooden_a_supports_paint_setup(session, 2, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -11994,7 +12349,8 @@ static void wooden_rc_track_left_quarter_turn_3_25_deg_down_to_left_bank( session, direction, wooden_rc_get_track_colour(session) | 23954, { 0, 6, height }, { 32, 20, 2 }, { 0, 6, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24820, 0, 6, 32, 20, 2, height, 0, 6, height); + session, direction, wooden_rc_get_rails_colour(session) | 24820, { 0, 6, height }, { 32, 20, 2 }, + { 0, 6, height }); wooden_a_supports_paint_setup(session, 3, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -12002,13 +12358,14 @@ static void wooden_rc_track_left_quarter_turn_3_25_deg_down_to_left_bank( session, direction, wooden_rc_get_track_colour(session) | 23948, { 0, 6, height }, { 32, 20, 2 }, { 0, 6, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24814, 0, 6, 32, 20, 2, height, 0, 6, height); + session, direction, wooden_rc_get_rails_colour(session) | 24814, { 0, 6, height }, { 32, 20, 2 }, + { 0, 6, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23964, { 0, 6, height }, { 32, 20, 0 }, { 0, 6, height + 67 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24830, 0, 6, 32, 20, 0, height, 0, 6, - height + 67); + session, direction, wooden_rc_get_rails_colour(session) | 24830, { 0, 6, height }, { 32, 20, 0 }, + { 0, 6, height + 67 }); wooden_a_supports_paint_setup(session, 4, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -12035,7 +12392,8 @@ static void wooden_rc_track_left_quarter_turn_3_25_deg_down_to_left_bank( session, direction, wooden_rc_get_track_colour(session) | 23949, { 6, 0, height }, { 20, 32, 2 }, { 6, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24815, 6, 0, 20, 32, 2, height, 6, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24815, { 6, 0, height }, { 20, 32, 2 }, + { 6, 0, height }); wooden_a_supports_paint_setup(session, 5, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -12043,13 +12401,14 @@ static void wooden_rc_track_left_quarter_turn_3_25_deg_down_to_left_bank( session, direction, wooden_rc_get_track_colour(session) | 23951, { 6, 0, height }, { 20, 32, 2 }, { 6, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24817, 6, 0, 20, 32, 2, height, 6, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24817, { 6, 0, height }, { 20, 32, 2 }, + { 6, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23966, { 6, 0, height }, { 20, 32, 0 }, { 6, 0, height + 67 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24832, 6, 0, 20, 32, 0, height, 6, 0, - height + 67); + session, direction, wooden_rc_get_rails_colour(session) | 24832, { 6, 0, height }, { 20, 32, 0 }, + { 6, 0, height + 67 }); wooden_a_supports_paint_setup(session, 2, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -12057,7 +12416,8 @@ static void wooden_rc_track_left_quarter_turn_3_25_deg_down_to_left_bank( session, direction, wooden_rc_get_track_colour(session) | 23953, { 6, 0, height }, { 20, 32, 2 }, { 6, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24819, 6, 0, 20, 32, 2, height, 6, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24819, { 6, 0, height }, { 20, 32, 2 }, + { 6, 0, height }); wooden_a_supports_paint_setup(session, 3, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -12065,13 +12425,14 @@ static void wooden_rc_track_left_quarter_turn_3_25_deg_down_to_left_bank( session, direction, wooden_rc_get_track_colour(session) | 23947, { 6, 0, height }, { 20, 32, 2 }, { 6, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24813, 6, 0, 20, 32, 2, height, 6, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24813, { 6, 0, height }, { 20, 32, 2 }, + { 6, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23963, { 6, 0, height }, { 20, 32, 0 }, { 6, 0, height + 67 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24829, 6, 0, 20, 32, 0, height, 6, 0, - height + 67); + session, direction, wooden_rc_get_rails_colour(session) | 24829, { 6, 0, height }, { 20, 32, 0 }, + { 6, 0, height + 67 }); wooden_a_supports_paint_setup(session, 4, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -12105,13 +12466,14 @@ static void wooden_rc_track_right_quarter_turn_3_25_deg_down_to_right_bank( session, direction, wooden_rc_get_track_colour(session) | 23955, { 0, 6, height }, { 32, 20, 2 }, { 0, 6, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24821, 0, 6, 32, 20, 2, height, 0, 6, height); + session, direction, wooden_rc_get_rails_colour(session) | 24821, { 0, 6, height }, { 32, 20, 2 }, + { 0, 6, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23968, { 0, 6, height }, { 32, 20, 0 }, { 0, 6, height + 67 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24834, 0, 6, 32, 20, 0, height, 0, 6, - height + 67); + session, direction, wooden_rc_get_rails_colour(session) | 24834, { 0, 6, height }, { 32, 20, 0 }, + { 0, 6, height + 67 }); wooden_a_supports_paint_setup(session, 4, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -12119,7 +12481,8 @@ static void wooden_rc_track_right_quarter_turn_3_25_deg_down_to_right_bank( session, direction, wooden_rc_get_track_colour(session) | 23957, { 0, 6, height }, { 32, 20, 2 }, { 0, 6, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24823, 0, 6, 32, 20, 2, height, 0, 6, height); + session, direction, wooden_rc_get_rails_colour(session) | 24823, { 0, 6, height }, { 32, 20, 2 }, + { 0, 6, height }); wooden_a_supports_paint_setup(session, 5, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -12127,13 +12490,14 @@ static void wooden_rc_track_right_quarter_turn_3_25_deg_down_to_right_bank( session, direction, wooden_rc_get_track_colour(session) | 23959, { 0, 6, height }, { 32, 20, 2 }, { 0, 6, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24825, 0, 6, 32, 20, 2, height, 0, 6, height); + session, direction, wooden_rc_get_rails_colour(session) | 24825, { 0, 6, height }, { 32, 20, 2 }, + { 0, 6, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23970, { 0, 6, height }, { 32, 20, 0 }, { 0, 6, height + 67 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24836, 0, 6, 32, 20, 0, height, 0, 6, - height + 67); + session, direction, wooden_rc_get_rails_colour(session) | 24836, { 0, 6, height }, { 32, 20, 0 }, + { 0, 6, height + 67 }); wooden_a_supports_paint_setup(session, 2, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -12141,13 +12505,14 @@ static void wooden_rc_track_right_quarter_turn_3_25_deg_down_to_right_bank( session, direction, wooden_rc_get_track_colour(session) | 23961, { 0, 6, height }, { 32, 20, 2 }, { 0, 6, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24827, 0, 6, 32, 20, 2, height, 0, 6, height); + session, direction, wooden_rc_get_rails_colour(session) | 24827, { 0, 6, height }, { 32, 20, 2 }, + { 0, 6, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23972, { 0, 6, height }, { 32, 20, 0 }, { 0, 6, height + 67 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24838, 0, 6, 32, 20, 0, height, 0, 6, - height + 67); + session, direction, wooden_rc_get_rails_colour(session) | 24838, { 0, 6, height }, { 32, 20, 0 }, + { 0, 6, height + 67 }); wooden_a_supports_paint_setup(session, 3, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -12174,13 +12539,14 @@ static void wooden_rc_track_right_quarter_turn_3_25_deg_down_to_right_bank( session, direction, wooden_rc_get_track_colour(session) | 23956, { 6, 0, height }, { 20, 32, 2 }, { 6, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24822, 6, 0, 20, 32, 2, height, 6, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24822, { 6, 0, height }, { 20, 32, 2 }, + { 6, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23969, { 6, 0, height }, { 20, 32, 0 }, { 6, 0, height + 67 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24835, 6, 0, 20, 32, 0, height, 6, 0, - height + 67); + session, direction, wooden_rc_get_rails_colour(session) | 24835, { 6, 0, height }, { 20, 32, 0 }, + { 6, 0, height + 67 }); wooden_a_supports_paint_setup(session, 4, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -12188,7 +12554,8 @@ static void wooden_rc_track_right_quarter_turn_3_25_deg_down_to_right_bank( session, direction, wooden_rc_get_track_colour(session) | 23958, { 6, 0, height }, { 20, 32, 2 }, { 6, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24824, 6, 0, 20, 32, 2, height, 6, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24824, { 6, 0, height }, { 20, 32, 2 }, + { 6, 0, height }); wooden_a_supports_paint_setup(session, 5, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -12196,13 +12563,14 @@ static void wooden_rc_track_right_quarter_turn_3_25_deg_down_to_right_bank( session, direction, wooden_rc_get_track_colour(session) | 23960, { 6, 0, height }, { 20, 32, 2 }, { 6, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24826, 6, 0, 20, 32, 2, height, 6, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24826, { 6, 0, height }, { 20, 32, 2 }, + { 6, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23971, { 6, 0, height }, { 20, 32, 0 }, { 6, 0, height + 67 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24837, 6, 0, 20, 32, 0, height, 6, 0, - height + 67); + session, direction, wooden_rc_get_rails_colour(session) | 24837, { 6, 0, height }, { 20, 32, 0 }, + { 6, 0, height + 67 }); wooden_a_supports_paint_setup(session, 2, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -12210,7 +12578,8 @@ static void wooden_rc_track_right_quarter_turn_3_25_deg_down_to_right_bank( session, direction, wooden_rc_get_track_colour(session) | 23962, { 6, 0, height }, { 20, 32, 2 }, { 6, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24828, 6, 0, 20, 32, 2, height, 6, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24828, { 6, 0, height }, { 20, 32, 2 }, + { 6, 0, height }); wooden_a_supports_paint_setup(session, 3, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -12259,7 +12628,8 @@ static void wooden_rc_track_left_banked_quarter_turn_3_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 23932, { 0, 6, height }, { 32, 20, 2 }, { 0, 6, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24798, 0, 6, 32, 20, 2, height, 0, 6, height); + session, direction, wooden_rc_get_rails_colour(session) | 24798, { 0, 6, height }, { 32, 20, 2 }, + { 0, 6, height }); wooden_a_supports_paint_setup(session, 5, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -12267,13 +12637,14 @@ static void wooden_rc_track_left_banked_quarter_turn_3_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 23934, { 0, 6, height }, { 32, 20, 2 }, { 0, 6, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24800, 0, 6, 32, 20, 2, height, 0, 6, height); + session, direction, wooden_rc_get_rails_colour(session) | 24800, { 0, 6, height }, { 32, 20, 2 }, + { 0, 6, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23945, { 0, 6, height }, { 32, 20, 0 }, { 0, 6, height + 67 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24811, 0, 6, 32, 20, 0, height, 0, 6, - height + 67); + session, direction, wooden_rc_get_rails_colour(session) | 24811, { 0, 6, height }, { 32, 20, 0 }, + { 0, 6, height + 67 }); wooden_a_supports_paint_setup(session, 2, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -12281,7 +12652,8 @@ static void wooden_rc_track_left_banked_quarter_turn_3_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 23936, { 0, 6, height }, { 32, 20, 2 }, { 0, 6, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24802, 0, 6, 32, 20, 2, height, 0, 6, height); + session, direction, wooden_rc_get_rails_colour(session) | 24802, { 0, 6, height }, { 32, 20, 2 }, + { 0, 6, height }); wooden_a_supports_paint_setup(session, 3, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -12289,13 +12661,14 @@ static void wooden_rc_track_left_banked_quarter_turn_3_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 23930, { 0, 6, height }, { 32, 20, 2 }, { 0, 6, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24796, 0, 6, 32, 20, 2, height, 0, 6, height); + session, direction, wooden_rc_get_rails_colour(session) | 24796, { 0, 6, height }, { 32, 20, 2 }, + { 0, 6, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23943, { 0, 6, height }, { 32, 20, 0 }, { 0, 6, height + 67 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24809, 0, 6, 32, 20, 0, height, 0, 6, - height + 67); + session, direction, wooden_rc_get_rails_colour(session) | 24809, { 0, 6, height }, { 32, 20, 0 }, + { 0, 6, height + 67 }); wooden_a_supports_paint_setup(session, 4, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -12322,7 +12695,8 @@ static void wooden_rc_track_left_banked_quarter_turn_3_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 23931, { 6, 0, height }, { 20, 32, 2 }, { 6, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24797, 6, 0, 20, 32, 2, height, 6, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24797, { 6, 0, height }, { 20, 32, 2 }, + { 6, 0, height }); wooden_a_supports_paint_setup(session, 5, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -12330,13 +12704,14 @@ static void wooden_rc_track_left_banked_quarter_turn_3_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 23933, { 6, 0, height }, { 20, 32, 2 }, { 6, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24799, 6, 0, 20, 32, 2, height, 6, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24799, { 6, 0, height }, { 20, 32, 2 }, + { 6, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23944, { 6, 0, height }, { 20, 32, 0 }, { 6, 0, height + 67 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24810, 6, 0, 20, 32, 0, height, 6, 0, - height + 67); + session, direction, wooden_rc_get_rails_colour(session) | 24810, { 6, 0, height }, { 20, 32, 0 }, + { 6, 0, height + 67 }); wooden_a_supports_paint_setup(session, 2, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -12344,13 +12719,14 @@ static void wooden_rc_track_left_banked_quarter_turn_3_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 23935, { 6, 0, height }, { 20, 32, 2 }, { 6, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24801, 6, 0, 20, 32, 2, height, 6, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24801, { 6, 0, height }, { 20, 32, 2 }, + { 6, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23946, { 6, 0, height }, { 20, 32, 0 }, { 6, 0, height + 67 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24812, 6, 0, 20, 32, 0, height, 6, 0, - height + 67); + session, direction, wooden_rc_get_rails_colour(session) | 24812, { 6, 0, height }, { 20, 32, 0 }, + { 6, 0, height + 67 }); wooden_a_supports_paint_setup(session, 3, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -12358,13 +12734,14 @@ static void wooden_rc_track_left_banked_quarter_turn_3_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 23929, { 6, 0, height }, { 20, 32, 2 }, { 6, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24795, 6, 0, 20, 32, 2, height, 6, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24795, { 6, 0, height }, { 20, 32, 2 }, + { 6, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23942, { 6, 0, height }, { 20, 32, 0 }, { 6, 0, height + 67 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24808, 6, 0, 20, 32, 0, height, 6, 0, - height + 67); + session, direction, wooden_rc_get_rails_colour(session) | 24808, { 6, 0, height }, { 20, 32, 0 }, + { 6, 0, height + 67 }); wooden_a_supports_paint_setup(session, 4, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -12398,13 +12775,14 @@ static void wooden_rc_track_right_banked_quarter_turn_3_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 23921, { 0, 6, height }, { 32, 20, 2 }, { 0, 6, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24787, 0, 6, 32, 20, 2, height, 0, 6, height); + session, direction, wooden_rc_get_rails_colour(session) | 24787, { 0, 6, height }, { 32, 20, 2 }, + { 0, 6, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23937, { 0, 6, height }, { 32, 20, 0 }, { 0, 6, height + 67 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24803, 0, 6, 32, 20, 0, height, 0, 6, - height + 67); + session, direction, wooden_rc_get_rails_colour(session) | 24803, { 0, 6, height }, { 32, 20, 0 }, + { 0, 6, height + 67 }); wooden_a_supports_paint_setup(session, 4, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -12412,7 +12790,8 @@ static void wooden_rc_track_right_banked_quarter_turn_3_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 23923, { 0, 6, height }, { 32, 20, 2 }, { 0, 6, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24789, 0, 6, 32, 20, 2, height, 0, 6, height); + session, direction, wooden_rc_get_rails_colour(session) | 24789, { 0, 6, height }, { 32, 20, 2 }, + { 0, 6, height }); wooden_a_supports_paint_setup(session, 5, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -12420,13 +12799,14 @@ static void wooden_rc_track_right_banked_quarter_turn_3_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 23925, { 0, 6, height }, { 32, 20, 2 }, { 0, 6, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24791, 0, 6, 32, 20, 2, height, 0, 6, height); + session, direction, wooden_rc_get_rails_colour(session) | 24791, { 0, 6, height }, { 32, 20, 2 }, + { 0, 6, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23940, { 0, 6, height }, { 32, 20, 0 }, { 0, 6, height + 67 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24806, 0, 6, 32, 20, 0, height, 0, 6, - height + 67); + session, direction, wooden_rc_get_rails_colour(session) | 24806, { 0, 6, height }, { 32, 20, 0 }, + { 0, 6, height + 67 }); wooden_a_supports_paint_setup(session, 2, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -12434,7 +12814,8 @@ static void wooden_rc_track_right_banked_quarter_turn_3_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 23927, { 0, 6, height }, { 32, 20, 2 }, { 0, 6, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24793, 0, 6, 32, 20, 2, height, 0, 6, height); + session, direction, wooden_rc_get_rails_colour(session) | 24793, { 0, 6, height }, { 32, 20, 2 }, + { 0, 6, height }); wooden_a_supports_paint_setup(session, 3, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -12461,13 +12842,14 @@ static void wooden_rc_track_right_banked_quarter_turn_3_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 23922, { 6, 0, height }, { 20, 32, 2 }, { 6, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24788, 6, 0, 20, 32, 2, height, 6, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24788, { 6, 0, height }, { 20, 32, 2 }, + { 6, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23938, { 6, 0, height }, { 20, 32, 0 }, { 6, 0, height + 67 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24804, 6, 0, 20, 32, 0, height, 6, 0, - height + 67); + session, direction, wooden_rc_get_rails_colour(session) | 24804, { 6, 0, height }, { 20, 32, 0 }, + { 6, 0, height + 67 }); wooden_a_supports_paint_setup(session, 4, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -12475,13 +12857,14 @@ static void wooden_rc_track_right_banked_quarter_turn_3_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 23924, { 6, 0, height }, { 20, 32, 2 }, { 6, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24790, 6, 0, 20, 32, 2, height, 6, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24790, { 6, 0, height }, { 20, 32, 2 }, + { 6, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23939, { 6, 0, height }, { 20, 32, 0 }, { 6, 0, height + 67 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24805, 6, 0, 20, 32, 0, height, 6, 0, - height + 67); + session, direction, wooden_rc_get_rails_colour(session) | 24805, { 6, 0, height }, { 20, 32, 0 }, + { 6, 0, height + 67 }); wooden_a_supports_paint_setup(session, 5, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -12489,13 +12872,14 @@ static void wooden_rc_track_right_banked_quarter_turn_3_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 23926, { 6, 0, height }, { 20, 32, 2 }, { 6, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24792, 6, 0, 20, 32, 2, height, 6, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24792, { 6, 0, height }, { 20, 32, 2 }, + { 6, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 23941, { 6, 0, height }, { 20, 32, 0 }, { 6, 0, height + 67 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24807, 6, 0, 20, 32, 0, height, 6, 0, - height + 67); + session, direction, wooden_rc_get_rails_colour(session) | 24807, { 6, 0, height }, { 20, 32, 0 }, + { 6, 0, height + 67 }); wooden_a_supports_paint_setup(session, 2, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -12503,7 +12887,8 @@ static void wooden_rc_track_right_banked_quarter_turn_3_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 23928, { 6, 0, height }, { 20, 32, 2 }, { 6, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 24794, 6, 0, 20, 32, 2, height, 6, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 24794, { 6, 0, height }, { 20, 32, 2 }, + { 6, 0, height }); wooden_a_supports_paint_setup(session, 3, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -12557,7 +12942,8 @@ static void wooden_rc_track_left_banked_quarter_turn_5_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24321, { 0, 0, height }, { 32, 27, 2 }, { 0, 2, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25187, 0, 0, 32, 27, 2, height, 0, 2, height); + session, direction, wooden_rc_get_rails_colour(session) | 25187, { 0, 0, height }, { 32, 27, 2 }, + { 0, 2, height }); wooden_a_supports_paint_setup(session, 0, 9, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -12565,13 +12951,14 @@ static void wooden_rc_track_left_banked_quarter_turn_5_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24326, { 0, 0, height }, { 32, 27, 2 }, { 0, 2, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25192, 0, 0, 32, 27, 2, height, 0, 2, height); + session, direction, wooden_rc_get_rails_colour(session) | 25192, { 0, 0, height }, { 32, 27, 2 }, + { 0, 2, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24352, { 0, 0, height }, { 32, 27, 0 }, { 0, 2, height + 67 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25218, 0, 0, 32, 27, 0, height, 0, 2, - height + 67); + session, direction, wooden_rc_get_rails_colour(session) | 25218, { 0, 0, height }, { 32, 27, 0 }, + { 0, 2, height + 67 }); wooden_a_supports_paint_setup(session, 1, 10, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -12579,7 +12966,8 @@ static void wooden_rc_track_left_banked_quarter_turn_5_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24331, { 0, 0, height }, { 32, 27, 2 }, { 0, 2, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25197, 0, 0, 32, 27, 2, height, 0, 2, height); + session, direction, wooden_rc_get_rails_colour(session) | 25197, { 0, 0, height }, { 32, 27, 2 }, + { 0, 2, height }); wooden_a_supports_paint_setup(session, 0, 11, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -12587,7 +12975,8 @@ static void wooden_rc_track_left_banked_quarter_turn_5_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24336, { 0, 0, height }, { 32, 27, 2 }, { 0, 2, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25202, 0, 0, 32, 27, 2, height, 0, 2, height); + session, direction, wooden_rc_get_rails_colour(session) | 25202, { 0, 0, height }, { 32, 27, 2 }, + { 0, 2, height }); wooden_a_supports_paint_setup(session, 1, 12, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -12611,7 +13000,8 @@ static void wooden_rc_track_left_banked_quarter_turn_5_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24322, { 0, 0, height }, { 32, 16, 2 }, { 0, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25188, 0, 0, 32, 16, 2, height, 0, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 25188, { 0, 0, height }, { 32, 16, 2 }, + { 0, 0, height }); wooden_a_supports_paint_setup(session, 5, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -12619,13 +13009,14 @@ static void wooden_rc_track_left_banked_quarter_turn_5_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24327, { 0, 0, height }, { 32, 16, 2 }, { 0, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25193, 0, 0, 32, 16, 2, height, 0, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 25193, { 0, 0, height }, { 32, 16, 2 }, + { 0, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24353, { 0, 0, height }, { 32, 16, 0 }, { 0, 0, height + 67 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25219, 0, 0, 32, 16, 0, height, 0, 0, - height + 67); + session, direction, wooden_rc_get_rails_colour(session) | 25219, { 0, 0, height }, { 32, 16, 0 }, + { 0, 0, height + 67 }); wooden_a_supports_paint_setup(session, 2, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -12633,8 +13024,8 @@ static void wooden_rc_track_left_banked_quarter_turn_5_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24332, { 0, 0, height }, { 32, 16, 2 }, { 0, 16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25198, 0, 0, 32, 16, 2, height, 0, 16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 25198, { 0, 0, height }, { 32, 16, 2 }, + { 0, 16, height }); wooden_a_supports_paint_setup(session, 3, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -12642,14 +13033,14 @@ static void wooden_rc_track_left_banked_quarter_turn_5_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24337, { 0, 0, height }, { 32, 16, 2 }, { 0, 16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25203, 0, 0, 32, 16, 2, height, 0, 16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 25203, { 0, 0, height }, { 32, 16, 2 }, + { 0, 16, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24359, { 0, 0, height }, { 32, 16, 0 }, { 0, 16, height + 67 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25225, 0, 0, 32, 16, 0, height, 0, 16, - height + 67); + session, direction, wooden_rc_get_rails_colour(session) | 25225, { 0, 0, height }, { 32, 16, 0 }, + { 0, 16, height + 67 }); wooden_a_supports_paint_setup(session, 4, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -12668,8 +13059,8 @@ static void wooden_rc_track_left_banked_quarter_turn_5_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24323, { 0, 0, height }, { 16, 16, 2 }, { 0, 16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25189, 0, 0, 16, 16, 2, height, 0, 16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 25189, { 0, 0, height }, { 16, 16, 2 }, + { 0, 16, height }); wooden_a_supports_paint_setup(session, 3, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -12677,14 +13068,14 @@ static void wooden_rc_track_left_banked_quarter_turn_5_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24328, { 0, 0, height }, { 16, 16, 2 }, { 16, 16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25194, 0, 0, 16, 16, 2, height, 16, 16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 25194, { 0, 0, height }, { 16, 16, 2 }, + { 16, 16, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24354, { 0, 0, height }, { 16, 16, 0 }, { 16, 16, height + 59 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25220, 0, 0, 16, 16, 0, height, 16, 16, - height + 59); + session, direction, wooden_rc_get_rails_colour(session) | 25220, { 0, 0, height }, { 16, 16, 0 }, + { 16, 16, height + 59 }); wooden_a_supports_paint_setup(session, 4, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -12692,8 +13083,8 @@ static void wooden_rc_track_left_banked_quarter_turn_5_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24333, { 0, 0, height }, { 16, 16, 2 }, { 16, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25199, 0, 0, 16, 16, 2, height, 16, 0, - height); + session, direction, wooden_rc_get_rails_colour(session) | 25199, { 0, 0, height }, { 16, 16, 2 }, + { 16, 0, height }); wooden_a_supports_paint_setup(session, 5, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -12701,13 +13092,14 @@ static void wooden_rc_track_left_banked_quarter_turn_5_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24338, { 0, 0, height }, { 16, 16, 2 }, { 0, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25204, 0, 0, 16, 16, 2, height, 0, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 25204, { 0, 0, height }, { 16, 16, 2 }, + { 0, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24360, { 0, 0, height }, { 16, 16, 0 }, { 0, 0, height + 59 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25226, 0, 0, 16, 16, 0, height, 0, 0, - height + 59); + session, direction, wooden_rc_get_rails_colour(session) | 25226, { 0, 0, height }, { 16, 16, 0 }, + { 0, 0, height + 59 }); wooden_a_supports_paint_setup(session, 2, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -12732,8 +13124,8 @@ static void wooden_rc_track_left_banked_quarter_turn_5_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24324, { 0, 0, height }, { 16, 32, 2 }, { 16, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25190, 0, 0, 16, 32, 2, height, 16, 0, - height); + session, direction, wooden_rc_get_rails_colour(session) | 25190, { 0, 0, height }, { 16, 32, 2 }, + { 16, 0, height }); wooden_a_supports_paint_setup(session, 5, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -12741,13 +13133,14 @@ static void wooden_rc_track_left_banked_quarter_turn_5_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24329, { 0, 0, height }, { 16, 32, 2 }, { 0, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25195, 0, 0, 16, 32, 2, height, 0, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 25195, { 0, 0, height }, { 16, 32, 2 }, + { 0, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24355, { 0, 0, height }, { 16, 32, 0 }, { 0, 0, height + 67 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25221, 0, 0, 16, 32, 0, height, 0, 0, - height + 67); + session, direction, wooden_rc_get_rails_colour(session) | 25221, { 0, 0, height }, { 16, 32, 0 }, + { 0, 0, height + 67 }); wooden_a_supports_paint_setup(session, 2, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -12755,13 +13148,14 @@ static void wooden_rc_track_left_banked_quarter_turn_5_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24334, { 0, 0, height }, { 16, 32, 2 }, { 0, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25200, 0, 0, 16, 32, 2, height, 0, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 25200, { 0, 0, height }, { 16, 32, 2 }, + { 0, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24357, { 0, 0, height }, { 16, 32, 0 }, { 0, 0, height + 67 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25223, 0, 0, 16, 32, 0, height, 0, 0, - height + 67); + session, direction, wooden_rc_get_rails_colour(session) | 25223, { 0, 0, height }, { 16, 32, 0 }, + { 0, 0, height + 67 }); wooden_a_supports_paint_setup(session, 3, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -12769,14 +13163,14 @@ static void wooden_rc_track_left_banked_quarter_turn_5_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24339, { 0, 0, height }, { 16, 32, 2 }, { 16, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25205, 0, 0, 16, 32, 2, height, 16, 0, - height); + session, direction, wooden_rc_get_rails_colour(session) | 25205, { 0, 0, height }, { 16, 32, 2 }, + { 16, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24361, { 0, 0, height }, { 16, 32, 0 }, { 16, 0, height + 67 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25227, 0, 0, 16, 32, 0, height, 16, 0, - height + 67); + session, direction, wooden_rc_get_rails_colour(session) | 25227, { 0, 0, height }, { 16, 32, 0 }, + { 16, 0, height + 67 }); wooden_a_supports_paint_setup(session, 4, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -12795,7 +13189,8 @@ static void wooden_rc_track_left_banked_quarter_turn_5_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24325, { 0, 0, height }, { 27, 32, 2 }, { 2, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25191, 0, 0, 27, 32, 2, height, 2, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 25191, { 0, 0, height }, { 27, 32, 2 }, + { 2, 0, height }); wooden_a_supports_paint_setup(session, 1, 12, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -12803,13 +13198,14 @@ static void wooden_rc_track_left_banked_quarter_turn_5_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24330, { 0, 0, height }, { 27, 32, 2 }, { 2, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25196, 0, 0, 27, 32, 2, height, 2, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 25196, { 0, 0, height }, { 27, 32, 2 }, + { 2, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24356, { 0, 0, height }, { 27, 32, 0 }, { 2, 0, height + 67 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25222, 0, 0, 27, 32, 0, height, 2, 0, - height + 67); + session, direction, wooden_rc_get_rails_colour(session) | 25222, { 0, 0, height }, { 27, 32, 0 }, + { 2, 0, height + 67 }); wooden_a_supports_paint_setup(session, 0, 9, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -12817,13 +13213,14 @@ static void wooden_rc_track_left_banked_quarter_turn_5_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24335, { 0, 0, height }, { 27, 32, 2 }, { 2, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25201, 0, 0, 27, 32, 2, height, 2, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 25201, { 0, 0, height }, { 27, 32, 2 }, + { 2, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24358, { 0, 0, height }, { 27, 32, 0 }, { 2, 0, height + 67 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25224, 0, 0, 27, 32, 0, height, 2, 0, - height + 67); + session, direction, wooden_rc_get_rails_colour(session) | 25224, { 0, 0, height }, { 27, 32, 0 }, + { 2, 0, height + 67 }); wooden_a_supports_paint_setup(session, 1, 10, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -12831,13 +13228,14 @@ static void wooden_rc_track_left_banked_quarter_turn_5_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24340, { 0, 0, height }, { 27, 32, 2 }, { 2, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25206, 0, 0, 27, 32, 2, height, 2, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 25206, { 0, 0, height }, { 27, 32, 2 }, + { 2, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24362, { 0, 0, height }, { 27, 32, 0 }, { 2, 0, height + 67 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25228, 0, 0, 27, 32, 0, height, 2, 0, - height + 67); + session, direction, wooden_rc_get_rails_colour(session) | 25228, { 0, 0, height }, { 27, 32, 0 }, + { 2, 0, height + 67 }); wooden_a_supports_paint_setup(session, 0, 11, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -12871,7 +13269,8 @@ static void wooden_rc_track_right_banked_quarter_turn_5_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24301, { 0, 0, height }, { 32, 27, 2 }, { 0, 2, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25167, 0, 0, 32, 27, 2, height, 0, 2, height); + session, direction, wooden_rc_get_rails_colour(session) | 25167, { 0, 0, height }, { 32, 27, 2 }, + { 0, 2, height }); wooden_a_supports_paint_setup(session, 0, 9, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -12879,7 +13278,8 @@ static void wooden_rc_track_right_banked_quarter_turn_5_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24306, { 0, 0, height }, { 32, 27, 2 }, { 0, 2, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25172, 0, 0, 32, 27, 2, height, 0, 2, height); + session, direction, wooden_rc_get_rails_colour(session) | 25172, { 0, 0, height }, { 32, 27, 2 }, + { 0, 2, height }); wooden_a_supports_paint_setup(session, 1, 10, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -12887,13 +13287,14 @@ static void wooden_rc_track_right_banked_quarter_turn_5_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24311, { 0, 0, height }, { 32, 27, 2 }, { 0, 2, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25177, 0, 0, 32, 27, 2, height, 0, 2, height); + session, direction, wooden_rc_get_rails_colour(session) | 25177, { 0, 0, height }, { 32, 27, 2 }, + { 0, 2, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24347, { 0, 0, height }, { 32, 27, 0 }, { 0, 2, height + 67 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25213, 0, 0, 32, 27, 0, height, 0, 2, - height + 67); + session, direction, wooden_rc_get_rails_colour(session) | 25213, { 0, 0, height }, { 32, 27, 0 }, + { 0, 2, height + 67 }); wooden_a_supports_paint_setup(session, 0, 11, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -12901,7 +13302,8 @@ static void wooden_rc_track_right_banked_quarter_turn_5_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24316, { 0, 0, height }, { 32, 27, 2 }, { 0, 2, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25182, 0, 0, 32, 27, 2, height, 0, 2, height); + session, direction, wooden_rc_get_rails_colour(session) | 25182, { 0, 0, height }, { 32, 27, 2 }, + { 0, 2, height }); wooden_a_supports_paint_setup(session, 1, 12, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -12925,14 +13327,14 @@ static void wooden_rc_track_right_banked_quarter_turn_5_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24302, { 0, 0, height }, { 32, 16, 2 }, { 0, 16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25168, 0, 0, 32, 16, 2, height, 0, 16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 25168, { 0, 0, height }, { 32, 16, 2 }, + { 0, 16, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24341, { 0, 0, height }, { 32, 16, 0 }, { 0, 16, height + 67 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25207, 0, 0, 32, 16, 0, height, 0, 16, - height + 67); + session, direction, wooden_rc_get_rails_colour(session) | 25207, { 0, 0, height }, { 32, 16, 0 }, + { 0, 16, height + 67 }); wooden_a_supports_paint_setup(session, 4, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -12940,8 +13342,8 @@ static void wooden_rc_track_right_banked_quarter_turn_5_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24307, { 0, 0, height }, { 32, 16, 2 }, { 0, 16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25173, 0, 0, 32, 16, 2, height, 0, 16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 25173, { 0, 0, height }, { 32, 16, 2 }, + { 0, 16, height }); wooden_a_supports_paint_setup(session, 5, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -12949,13 +13351,14 @@ static void wooden_rc_track_right_banked_quarter_turn_5_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24312, { 0, 0, height }, { 32, 16, 2 }, { 0, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25178, 0, 0, 32, 16, 2, height, 0, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 25178, { 0, 0, height }, { 32, 16, 2 }, + { 0, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24348, { 0, 0, height }, { 32, 16, 0 }, { 0, 0, height + 67 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25214, 0, 0, 32, 16, 0, height, 0, 0, - height + 67); + session, direction, wooden_rc_get_rails_colour(session) | 25214, { 0, 0, height }, { 32, 16, 0 }, + { 0, 0, height + 67 }); wooden_a_supports_paint_setup(session, 2, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -12963,7 +13366,8 @@ static void wooden_rc_track_right_banked_quarter_turn_5_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24317, { 0, 0, height }, { 32, 16, 2 }, { 0, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25183, 0, 0, 32, 16, 2, height, 0, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 25183, { 0, 0, height }, { 32, 16, 2 }, + { 0, 0, height }); wooden_a_supports_paint_setup(session, 3, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -12982,13 +13386,14 @@ static void wooden_rc_track_right_banked_quarter_turn_5_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24303, { 0, 0, height }, { 16, 16, 2 }, { 0, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25169, 0, 0, 16, 16, 2, height, 0, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 25169, { 0, 0, height }, { 16, 16, 2 }, + { 0, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24342, { 0, 0, height }, { 16, 16, 0 }, { 0, 0, height + 59 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25208, 0, 0, 16, 16, 0, height, 0, 0, - height + 59); + session, direction, wooden_rc_get_rails_colour(session) | 25208, { 0, 0, height }, { 16, 16, 0 }, + { 0, 0, height + 59 }); wooden_a_supports_paint_setup(session, 2, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -12996,8 +13401,8 @@ static void wooden_rc_track_right_banked_quarter_turn_5_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24308, { 0, 0, height }, { 16, 16, 2 }, { 16, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25174, 0, 0, 16, 16, 2, height, 16, 0, - height); + session, direction, wooden_rc_get_rails_colour(session) | 25174, { 0, 0, height }, { 16, 16, 2 }, + { 16, 0, height }); wooden_a_supports_paint_setup(session, 3, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -13005,14 +13410,14 @@ static void wooden_rc_track_right_banked_quarter_turn_5_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24313, { 0, 0, height }, { 16, 16, 2 }, { 16, 16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25179, 0, 0, 16, 16, 2, height, 16, 16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 25179, { 0, 0, height }, { 16, 16, 2 }, + { 16, 16, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24349, { 0, 0, height }, { 16, 16, 0 }, { 16, 16, height + 59 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25215, 0, 0, 16, 16, 0, height, 16, 16, - height + 59); + session, direction, wooden_rc_get_rails_colour(session) | 25215, { 0, 0, height }, { 16, 16, 0 }, + { 16, 16, height + 59 }); wooden_a_supports_paint_setup(session, 4, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -13020,8 +13425,8 @@ static void wooden_rc_track_right_banked_quarter_turn_5_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24318, { 0, 0, height }, { 16, 16, 2 }, { 0, 16, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25184, 0, 0, 16, 16, 2, height, 0, 16, - height); + session, direction, wooden_rc_get_rails_colour(session) | 25184, { 0, 0, height }, { 16, 16, 2 }, + { 0, 16, height }); wooden_a_supports_paint_setup(session, 5, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -13046,14 +13451,14 @@ static void wooden_rc_track_right_banked_quarter_turn_5_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24304, { 0, 0, height }, { 16, 32, 2 }, { 16, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25170, 0, 0, 16, 32, 2, height, 16, 0, - height); + session, direction, wooden_rc_get_rails_colour(session) | 25170, { 0, 0, height }, { 16, 32, 2 }, + { 16, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24343, { 0, 0, height }, { 16, 32, 0 }, { 16, 0, height + 67 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25209, 0, 0, 16, 32, 0, height, 16, 0, - height + 67); + session, direction, wooden_rc_get_rails_colour(session) | 25209, { 0, 0, height }, { 16, 32, 0 }, + { 16, 0, height + 67 }); wooden_a_supports_paint_setup(session, 4, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -13061,13 +13466,14 @@ static void wooden_rc_track_right_banked_quarter_turn_5_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24309, { 0, 0, height }, { 16, 32, 2 }, { 0, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25175, 0, 0, 16, 32, 2, height, 0, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 25175, { 0, 0, height }, { 16, 32, 2 }, + { 0, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24345, { 0, 0, height }, { 16, 32, 0 }, { 0, 0, height + 67 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25211, 0, 0, 16, 32, 0, height, 0, 0, - height + 67); + session, direction, wooden_rc_get_rails_colour(session) | 25211, { 0, 0, height }, { 16, 32, 0 }, + { 0, 0, height + 67 }); wooden_a_supports_paint_setup(session, 5, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -13075,13 +13481,14 @@ static void wooden_rc_track_right_banked_quarter_turn_5_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24314, { 0, 0, height }, { 16, 32, 2 }, { 0, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25180, 0, 0, 16, 32, 2, height, 0, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 25180, { 0, 0, height }, { 16, 32, 2 }, + { 0, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24350, { 0, 0, height }, { 16, 32, 0 }, { 0, 0, height + 67 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25216, 0, 0, 16, 32, 0, height, 0, 0, - height + 67); + session, direction, wooden_rc_get_rails_colour(session) | 25216, { 0, 0, height }, { 16, 32, 0 }, + { 0, 0, height + 67 }); wooden_a_supports_paint_setup(session, 2, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -13089,8 +13496,8 @@ static void wooden_rc_track_right_banked_quarter_turn_5_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24319, { 0, 0, height }, { 16, 32, 2 }, { 16, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25185, 0, 0, 16, 32, 2, height, 16, 0, - height); + session, direction, wooden_rc_get_rails_colour(session) | 25185, { 0, 0, height }, { 16, 32, 2 }, + { 16, 0, height }); wooden_a_supports_paint_setup(session, 3, 0, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -13109,13 +13516,14 @@ static void wooden_rc_track_right_banked_quarter_turn_5_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24305, { 0, 0, height }, { 27, 32, 2 }, { 2, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25171, 0, 0, 27, 32, 2, height, 2, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 25171, { 0, 0, height }, { 27, 32, 2 }, + { 2, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24344, { 0, 0, height }, { 27, 32, 0 }, { 2, 0, height + 67 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25210, 0, 0, 27, 32, 0, height, 2, 0, - height + 67); + session, direction, wooden_rc_get_rails_colour(session) | 25210, { 0, 0, height }, { 27, 32, 0 }, + { 2, 0, height + 67 }); wooden_a_supports_paint_setup(session, 1, 10, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -13123,13 +13531,14 @@ static void wooden_rc_track_right_banked_quarter_turn_5_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24310, { 0, 0, height }, { 27, 32, 2 }, { 2, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25176, 0, 0, 27, 32, 2, height, 2, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 25176, { 0, 0, height }, { 27, 32, 2 }, + { 2, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24346, { 0, 0, height }, { 27, 32, 0 }, { 2, 0, height + 67 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25212, 0, 0, 27, 32, 0, height, 2, 0, - height + 67); + session, direction, wooden_rc_get_rails_colour(session) | 25212, { 0, 0, height }, { 27, 32, 0 }, + { 2, 0, height + 67 }); wooden_a_supports_paint_setup(session, 0, 11, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -13137,13 +13546,14 @@ static void wooden_rc_track_right_banked_quarter_turn_5_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24315, { 0, 0, height }, { 27, 32, 2 }, { 2, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25181, 0, 0, 27, 32, 2, height, 2, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 25181, { 0, 0, height }, { 27, 32, 2 }, + { 2, 0, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24351, { 0, 0, height }, { 27, 32, 0 }, { 2, 0, height + 67 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25217, 0, 0, 27, 32, 0, height, 2, 0, - height + 67); + session, direction, wooden_rc_get_rails_colour(session) | 25217, { 0, 0, height }, { 27, 32, 0 }, + { 2, 0, height + 67 }); wooden_a_supports_paint_setup(session, 1, 12, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -13151,7 +13561,8 @@ static void wooden_rc_track_right_banked_quarter_turn_5_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24320, { 0, 0, height }, { 27, 32, 2 }, { 2, 0, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25186, 0, 0, 27, 32, 2, height, 2, 0, height); + session, direction, wooden_rc_get_rails_colour(session) | 25186, { 0, 0, height }, { 27, 32, 2 }, + { 2, 0, height }); wooden_a_supports_paint_setup(session, 0, 9, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -13202,7 +13613,8 @@ static void wooden_rc_track_25_deg_up_to_left_banked_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24261, { 0, 0, height }, { 32, 25, 2 }, { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25127, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 25127, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); wooden_a_supports_paint_setup(session, 0, 9, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -13210,7 +13622,8 @@ static void wooden_rc_track_25_deg_up_to_left_banked_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24262, { 0, 0, height }, { 32, 25, 2 }, { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25128, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 25128, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); wooden_a_supports_paint_setup(session, 1, 10, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -13218,7 +13631,8 @@ static void wooden_rc_track_25_deg_up_to_left_banked_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24263, { 0, 0, height }, { 32, 25, 2 }, { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25129, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 25129, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); wooden_a_supports_paint_setup(session, 0, 11, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -13226,7 +13640,8 @@ static void wooden_rc_track_25_deg_up_to_left_banked_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24264, { 0, 0, height }, { 32, 25, 2 }, { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25130, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 25130, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); wooden_a_supports_paint_setup(session, 1, 12, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -13254,7 +13669,8 @@ static void wooden_rc_track_25_deg_up_to_right_banked_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24265, { 0, 0, height }, { 32, 25, 2 }, { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25131, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 25131, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); wooden_a_supports_paint_setup(session, 0, 9, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -13262,7 +13678,8 @@ static void wooden_rc_track_25_deg_up_to_right_banked_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24266, { 0, 0, height }, { 32, 25, 2 }, { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25132, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 25132, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); wooden_a_supports_paint_setup(session, 1, 10, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -13270,7 +13687,8 @@ static void wooden_rc_track_25_deg_up_to_right_banked_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24267, { 0, 0, height }, { 32, 25, 2 }, { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25133, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 25133, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); wooden_a_supports_paint_setup(session, 0, 11, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -13278,7 +13696,8 @@ static void wooden_rc_track_25_deg_up_to_right_banked_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24268, { 0, 0, height }, { 32, 25, 2 }, { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25134, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 25134, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); wooden_a_supports_paint_setup(session, 1, 12, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -13306,7 +13725,8 @@ static void wooden_rc_track_left_banked_25_deg_up_to_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24269, { 0, 0, height }, { 32, 25, 2 }, { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25135, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 25135, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); wooden_a_supports_paint_setup(session, 0, 9, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -13314,7 +13734,8 @@ static void wooden_rc_track_left_banked_25_deg_up_to_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24270, { 0, 0, height }, { 32, 25, 2 }, { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25136, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 25136, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); wooden_a_supports_paint_setup(session, 1, 10, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -13322,7 +13743,8 @@ static void wooden_rc_track_left_banked_25_deg_up_to_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24271, { 0, 0, height }, { 32, 25, 2 }, { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25137, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 25137, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); wooden_a_supports_paint_setup(session, 0, 11, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -13330,7 +13752,8 @@ static void wooden_rc_track_left_banked_25_deg_up_to_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24272, { 0, 0, height }, { 32, 25, 2 }, { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25138, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 25138, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); wooden_a_supports_paint_setup(session, 1, 12, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -13358,7 +13781,8 @@ static void wooden_rc_track_right_banked_25_deg_up_to_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24273, { 0, 0, height }, { 32, 25, 2 }, { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25139, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 25139, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); wooden_a_supports_paint_setup(session, 0, 9, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -13366,7 +13790,8 @@ static void wooden_rc_track_right_banked_25_deg_up_to_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24274, { 0, 0, height }, { 32, 25, 2 }, { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25140, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 25140, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); wooden_a_supports_paint_setup(session, 1, 10, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -13374,7 +13799,8 @@ static void wooden_rc_track_right_banked_25_deg_up_to_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24275, { 0, 0, height }, { 32, 25, 2 }, { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25141, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 25141, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); wooden_a_supports_paint_setup(session, 0, 11, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -13382,7 +13808,8 @@ static void wooden_rc_track_right_banked_25_deg_up_to_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24276, { 0, 0, height }, { 32, 25, 2 }, { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25142, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 25142, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); wooden_a_supports_paint_setup(session, 1, 12, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -13444,7 +13871,8 @@ static void wooden_rc_track_left_banked_flat_to_left_banked_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24277, { 0, 0, height }, { 32, 25, 2 }, { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25143, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 25143, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); wooden_a_supports_paint_setup(session, 0, 1, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -13452,12 +13880,14 @@ static void wooden_rc_track_left_banked_flat_to_left_banked_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24278, { 0, 0, height }, { 32, 25, 2 }, { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25144, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 25144, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24293, { 0, 0, height }, { 32, 1, 9 }, { 0, 26, height + 5 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25159, 0, 0, 32, 1, 9, height, 0, 26, height + 5); + session, direction, wooden_rc_get_rails_colour(session) | 25159, { 0, 0, height }, { 32, 1, 9 }, + { 0, 26, height + 5 }); wooden_a_supports_paint_setup(session, 1, 2, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -13465,12 +13895,14 @@ static void wooden_rc_track_left_banked_flat_to_left_banked_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24279, { 0, 0, height }, { 32, 25, 2 }, { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25145, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 25145, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24294, { 0, 0, height }, { 32, 1, 9 }, { 0, 26, height + 5 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25160, 0, 0, 32, 1, 9, height, 0, 26, height + 5); + session, direction, wooden_rc_get_rails_colour(session) | 25160, { 0, 0, height }, { 32, 1, 9 }, + { 0, 26, height + 5 }); wooden_a_supports_paint_setup(session, 0, 3, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -13478,7 +13910,8 @@ static void wooden_rc_track_left_banked_flat_to_left_banked_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24280, { 0, 0, height }, { 32, 25, 2 }, { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25146, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 25146, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); wooden_a_supports_paint_setup(session, 1, 4, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -13506,7 +13939,8 @@ static void wooden_rc_track_right_banked_flat_to_right_banked_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24281, { 0, 0, height }, { 32, 25, 2 }, { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25147, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 25147, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); wooden_a_supports_paint_setup(session, 0, 1, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -13514,12 +13948,14 @@ static void wooden_rc_track_right_banked_flat_to_right_banked_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24282, { 0, 0, height }, { 32, 25, 2 }, { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25148, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 25148, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24295, { 0, 0, height }, { 32, 1, 9 }, { 0, 26, height + 5 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25161, 0, 0, 32, 1, 9, height, 0, 26, height + 5); + session, direction, wooden_rc_get_rails_colour(session) | 25161, { 0, 0, height }, { 32, 1, 9 }, + { 0, 26, height + 5 }); wooden_a_supports_paint_setup(session, 1, 2, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -13527,12 +13963,14 @@ static void wooden_rc_track_right_banked_flat_to_right_banked_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24283, { 0, 0, height }, { 32, 25, 2 }, { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25149, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 25149, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24296, { 0, 0, height }, { 32, 1, 9 }, { 0, 26, height + 5 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25162, 0, 0, 32, 1, 9, height, 0, 26, height + 5); + session, direction, wooden_rc_get_rails_colour(session) | 25162, { 0, 0, height }, { 32, 1, 9 }, + { 0, 26, height + 5 }); wooden_a_supports_paint_setup(session, 0, 3, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -13540,7 +13978,8 @@ static void wooden_rc_track_right_banked_flat_to_right_banked_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24284, { 0, 0, height }, { 32, 25, 2 }, { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25150, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 25150, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); wooden_a_supports_paint_setup(session, 1, 4, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -13568,7 +14007,8 @@ static void wooden_rc_track_left_banked_25_deg_up_to_left_banked_flat( session, direction, wooden_rc_get_track_colour(session) | 24285, { 0, 0, height }, { 32, 25, 2 }, { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25151, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 25151, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); wooden_a_supports_paint_setup(session, 0, 5, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -13576,12 +14016,14 @@ static void wooden_rc_track_left_banked_25_deg_up_to_left_banked_flat( session, direction, wooden_rc_get_track_colour(session) | 24286, { 0, 0, height }, { 32, 25, 2 }, { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25152, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 25152, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24297, { 0, 0, height }, { 32, 1, 9 }, { 0, 26, height + 5 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25163, 0, 0, 32, 1, 9, height, 0, 26, height + 5); + session, direction, wooden_rc_get_rails_colour(session) | 25163, { 0, 0, height }, { 32, 1, 9 }, + { 0, 26, height + 5 }); wooden_a_supports_paint_setup(session, 1, 6, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -13589,12 +14031,14 @@ static void wooden_rc_track_left_banked_25_deg_up_to_left_banked_flat( session, direction, wooden_rc_get_track_colour(session) | 24287, { 0, 0, height }, { 32, 25, 2 }, { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25153, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 25153, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24298, { 0, 0, height }, { 32, 1, 9 }, { 0, 26, height + 5 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25164, 0, 0, 32, 1, 9, height, 0, 26, height + 5); + session, direction, wooden_rc_get_rails_colour(session) | 25164, { 0, 0, height }, { 32, 1, 9 }, + { 0, 26, height + 5 }); wooden_a_supports_paint_setup(session, 0, 7, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -13602,7 +14046,8 @@ static void wooden_rc_track_left_banked_25_deg_up_to_left_banked_flat( session, direction, wooden_rc_get_track_colour(session) | 24288, { 0, 0, height }, { 32, 25, 2 }, { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25154, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 25154, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); wooden_a_supports_paint_setup(session, 1, 8, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -13630,7 +14075,8 @@ static void wooden_rc_track_right_banked_25_deg_up_to_right_banked_flat( session, direction, wooden_rc_get_track_colour(session) | 24289, { 0, 0, height }, { 32, 25, 2 }, { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25155, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 25155, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); wooden_a_supports_paint_setup(session, 0, 5, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -13638,12 +14084,14 @@ static void wooden_rc_track_right_banked_25_deg_up_to_right_banked_flat( session, direction, wooden_rc_get_track_colour(session) | 24290, { 0, 0, height }, { 32, 25, 2 }, { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25156, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 25156, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24299, { 0, 0, height }, { 32, 1, 9 }, { 0, 26, height + 5 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25165, 0, 0, 32, 1, 9, height, 0, 26, height + 5); + session, direction, wooden_rc_get_rails_colour(session) | 25165, { 0, 0, height }, { 32, 1, 9 }, + { 0, 26, height + 5 }); wooden_a_supports_paint_setup(session, 1, 6, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -13651,12 +14099,14 @@ static void wooden_rc_track_right_banked_25_deg_up_to_right_banked_flat( session, direction, wooden_rc_get_track_colour(session) | 24291, { 0, 0, height }, { 32, 25, 2 }, { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25157, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 25157, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24300, { 0, 0, height }, { 32, 1, 9 }, { 0, 26, height + 5 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25166, 0, 0, 32, 1, 9, height, 0, 26, height + 5); + session, direction, wooden_rc_get_rails_colour(session) | 25166, { 0, 0, height }, { 32, 1, 9 }, + { 0, 26, height + 5 }); wooden_a_supports_paint_setup(session, 0, 7, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -13664,7 +14114,8 @@ static void wooden_rc_track_right_banked_25_deg_up_to_right_banked_flat( session, direction, wooden_rc_get_track_colour(session) | 24292, { 0, 0, height }, { 32, 25, 2 }, { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25158, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 25158, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); wooden_a_supports_paint_setup(session, 1, 8, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -13728,7 +14179,8 @@ static void wooden_rc_track_flat_to_left_banked_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24225, { 0, 0, height }, { 32, 25, 2 }, { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25091, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 25091, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); wooden_a_supports_paint_setup(session, 0, 1, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -13736,12 +14188,14 @@ static void wooden_rc_track_flat_to_left_banked_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24226, { 0, 0, height }, { 32, 25, 2 }, { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25092, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 25092, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24241, { 0, 0, height }, { 32, 1, 9 }, { 0, 26, height + 5 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25107, 0, 0, 32, 1, 9, height, 0, 26, height + 5); + session, direction, wooden_rc_get_rails_colour(session) | 25107, { 0, 0, height }, { 32, 1, 9 }, + { 0, 26, height + 5 }); wooden_a_supports_paint_setup(session, 1, 2, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -13749,12 +14203,14 @@ static void wooden_rc_track_flat_to_left_banked_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24227, { 0, 0, height }, { 32, 25, 2 }, { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25093, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 25093, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24242, { 0, 0, height }, { 32, 1, 9 }, { 0, 26, height + 5 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25108, 0, 0, 32, 1, 9, height, 0, 26, height + 5); + session, direction, wooden_rc_get_rails_colour(session) | 25108, { 0, 0, height }, { 32, 1, 9 }, + { 0, 26, height + 5 }); wooden_a_supports_paint_setup(session, 0, 3, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -13762,7 +14218,8 @@ static void wooden_rc_track_flat_to_left_banked_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24228, { 0, 0, height }, { 32, 25, 2 }, { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25094, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 25094, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); wooden_a_supports_paint_setup(session, 1, 4, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -13790,7 +14247,8 @@ static void wooden_rc_track_flat_to_right_banked_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24229, { 0, 0, height }, { 32, 25, 2 }, { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25095, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 25095, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); wooden_a_supports_paint_setup(session, 0, 1, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -13798,12 +14256,14 @@ static void wooden_rc_track_flat_to_right_banked_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24230, { 0, 0, height }, { 32, 25, 2 }, { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25096, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 25096, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24243, { 0, 0, height }, { 32, 1, 9 }, { 0, 26, height + 5 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25109, 0, 0, 32, 1, 9, height, 0, 26, height + 5); + session, direction, wooden_rc_get_rails_colour(session) | 25109, { 0, 0, height }, { 32, 1, 9 }, + { 0, 26, height + 5 }); wooden_a_supports_paint_setup(session, 1, 2, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -13811,12 +14271,14 @@ static void wooden_rc_track_flat_to_right_banked_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24231, { 0, 0, height }, { 32, 25, 2 }, { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25097, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 25097, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24244, { 0, 0, height }, { 32, 1, 9 }, { 0, 26, height + 5 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25110, 0, 0, 32, 1, 9, height, 0, 26, height + 5); + session, direction, wooden_rc_get_rails_colour(session) | 25110, { 0, 0, height }, { 32, 1, 9 }, + { 0, 26, height + 5 }); wooden_a_supports_paint_setup(session, 0, 3, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -13824,7 +14286,8 @@ static void wooden_rc_track_flat_to_right_banked_25_deg_up( session, direction, wooden_rc_get_track_colour(session) | 24232, { 0, 0, height }, { 32, 25, 2 }, { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25098, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 25098, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); wooden_a_supports_paint_setup(session, 1, 4, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -13852,7 +14315,8 @@ static void wooden_rc_track_left_banked_25_deg_up_to_flat( session, direction, wooden_rc_get_track_colour(session) | 24233, { 0, 0, height }, { 32, 25, 2 }, { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25099, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 25099, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); wooden_a_supports_paint_setup(session, 0, 5, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -13860,12 +14324,14 @@ static void wooden_rc_track_left_banked_25_deg_up_to_flat( session, direction, wooden_rc_get_track_colour(session) | 24234, { 0, 0, height }, { 32, 25, 2 }, { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25100, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 25100, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24245, { 0, 0, height }, { 32, 1, 9 }, { 0, 26, height + 5 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25111, 0, 0, 32, 1, 9, height, 0, 26, height + 5); + session, direction, wooden_rc_get_rails_colour(session) | 25111, { 0, 0, height }, { 32, 1, 9 }, + { 0, 26, height + 5 }); wooden_a_supports_paint_setup(session, 1, 6, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -13873,12 +14339,14 @@ static void wooden_rc_track_left_banked_25_deg_up_to_flat( session, direction, wooden_rc_get_track_colour(session) | 24235, { 0, 0, height }, { 32, 25, 2 }, { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25101, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 25101, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24246, { 0, 0, height }, { 32, 1, 9 }, { 0, 26, height + 5 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25112, 0, 0, 32, 1, 9, height, 0, 26, height + 5); + session, direction, wooden_rc_get_rails_colour(session) | 25112, { 0, 0, height }, { 32, 1, 9 }, + { 0, 26, height + 5 }); wooden_a_supports_paint_setup(session, 0, 7, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -13886,7 +14354,8 @@ static void wooden_rc_track_left_banked_25_deg_up_to_flat( session, direction, wooden_rc_get_track_colour(session) | 24236, { 0, 0, height }, { 32, 25, 2 }, { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25102, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 25102, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); wooden_a_supports_paint_setup(session, 1, 8, height, session.TrackColours[SCHEME_SUPPORTS]); break; } @@ -13914,7 +14383,8 @@ static void wooden_rc_track_right_banked_25_deg_up_to_flat( session, direction, wooden_rc_get_track_colour(session) | 24237, { 0, 0, height }, { 32, 25, 2 }, { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25103, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 25103, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); wooden_a_supports_paint_setup(session, 0, 5, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 1: @@ -13922,12 +14392,14 @@ static void wooden_rc_track_right_banked_25_deg_up_to_flat( session, direction, wooden_rc_get_track_colour(session) | 24238, { 0, 0, height }, { 32, 25, 2 }, { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25104, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 25104, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24247, { 0, 0, height }, { 32, 1, 9 }, { 0, 26, height + 5 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25113, 0, 0, 32, 1, 9, height, 0, 26, height + 5); + session, direction, wooden_rc_get_rails_colour(session) | 25113, { 0, 0, height }, { 32, 1, 9 }, + { 0, 26, height + 5 }); wooden_a_supports_paint_setup(session, 1, 6, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 2: @@ -13935,12 +14407,14 @@ static void wooden_rc_track_right_banked_25_deg_up_to_flat( session, direction, wooden_rc_get_track_colour(session) | 24239, { 0, 0, height }, { 32, 25, 2 }, { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25105, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 25105, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); PaintAddImageAsParentRotated( session, direction, wooden_rc_get_track_colour(session) | 24248, { 0, 0, height }, { 32, 1, 9 }, { 0, 26, height + 5 }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25114, 0, 0, 32, 1, 9, height, 0, 26, height + 5); + session, direction, wooden_rc_get_rails_colour(session) | 25114, { 0, 0, height }, { 32, 1, 9 }, + { 0, 26, height + 5 }); wooden_a_supports_paint_setup(session, 0, 7, height, session.TrackColours[SCHEME_SUPPORTS]); break; case 3: @@ -13948,7 +14422,8 @@ static void wooden_rc_track_right_banked_25_deg_up_to_flat( session, direction, wooden_rc_get_track_colour(session) | 24240, { 0, 0, height }, { 32, 25, 2 }, { 0, 3, height }); PaintAddImageAsChildRotated( - session, direction, wooden_rc_get_rails_colour(session) | 25106, 0, 0, 32, 25, 2, height, 0, 3, height); + session, direction, wooden_rc_get_rails_colour(session) | 25106, { 0, 0, height }, { 32, 25, 2 }, + { 0, 3, height }); wooden_a_supports_paint_setup(session, 1, 8, height, session.TrackColours[SCHEME_SUPPORTS]); break; } diff --git a/src/openrct2/ride/coaster/WoodenWildMouse.cpp b/src/openrct2/ride/coaster/WoodenWildMouse.cpp index 22b68d215d..d14905c712 100644 --- a/src/openrct2/ride/coaster/WoodenWildMouse.cpp +++ b/src/openrct2/ride/coaster/WoodenWildMouse.cpp @@ -160,7 +160,8 @@ static void wooden_wild_mouse_track_station( session, direction, imageIds[direction][1] | session.TrackColours[SCHEME_MISC], { 0, 0, height - 2 }, { 32, 28, 1 }, { 0, 2, height }); PaintAddImageAsChildRotated( - session, direction, imageIds[direction][0] | session.TrackColours[SCHEME_TRACK], 0, 6, 32, 20, 1, height, 0, 0, height); + session, direction, imageIds[direction][0] | session.TrackColours[SCHEME_TRACK], { 0, 6, height }, { 32, 20, 1 }, + { 0, 0, height }); wooden_a_supports_paint_setup(session, direction & 1, 0, height, session.TrackColours[SCHEME_SUPPORTS]); track_paint_util_draw_station(session, ride, direction, height, trackElement); paint_util_push_tunnel_rotated(session, direction, height, TUNNEL_SQUARE_FLAT); diff --git a/src/openrct2/ride/gentle/GhostTrain.cpp b/src/openrct2/ride/gentle/GhostTrain.cpp index 4c15dc5fdb..c6d049bd17 100644 --- a/src/openrct2/ride/gentle/GhostTrain.cpp +++ b/src/openrct2/ride/gentle/GhostTrain.cpp @@ -384,7 +384,7 @@ static void paint_ghost_train_station( PaintAddImageAsParentRotated(session, direction, imageId, { 0, 0, height - 2 }, { 32, 28, 3 }, { 0, 2, height }); imageId = ghost_train_track_pieces_flat[direction] | session.TrackColours[SCHEME_TRACK]; - PaintAddImageAsChildRotated(session, direction, imageId, 0, 0, 32, 20, 3, height, 0, 0, height); + PaintAddImageAsChildRotated(session, direction, imageId, { 0, 0, height }, { 32, 20, 3 }, { 0, 0, height }); paint_util_push_tunnel_rotated(session, direction, height, TUNNEL_SQUARE_FLAT); diff --git a/src/openrct2/ride/transport/MiniatureRailway.cpp b/src/openrct2/ride/transport/MiniatureRailway.cpp index dadc16ee87..c9304d0a96 100644 --- a/src/openrct2/ride/transport/MiniatureRailway.cpp +++ b/src/openrct2/ride/transport/MiniatureRailway.cpp @@ -649,24 +649,24 @@ static void paint_miniature_railway_track_flat( imageId = miniature_railway_track_pieces_flat[direction] | session.TrackColours[SCHEME_TRACK]; if (!paintAsGravel) { - PaintAddImageAsChildRotated(session, direction, imageId, 0, 6, 32, 20, 2, height, 0, 6, height); + PaintAddImageAsChildRotated(session, direction, imageId, { 0, 6, height}, { 32, 20, 2}, { 0, 6, height); } else { - imageIdAlt = miniature_railway_track_to_gravel(imageId); - PaintAddImageAsChildRotated(session, direction, imageIdAlt, 0, 6, 32, 20, 2, height, 0, 6, height); + imageIdAlt = miniature_railway_track_to_gravel(imageId}); + PaintAddImageAsChildRotated(session, direction, imageIdAlt, { 0, 6, height}, { 32, 20, 2}, { 0, 6, height); } if (paintGrooved) { - imageIdAlt = miniature_railway_track_to_grooved(imageId); - PaintAddImageAsChildRotated(session, direction, imageIdAlt, 0, 6, 32, 20, 2, height, 0, 6, height + 2); + imageIdAlt = miniature_railway_track_to_grooved(imageId}); + PaintAddImageAsChildRotated(session, direction, imageIdAlt, { 0, 6, height }, { 32, 20, 2 }, { 0, 6, height + 2 }); imageIdAlt = miniature_railway_track_to_grooved_indent( imageId, session.PathElementOnSameHeight, direction, session.CurrentRotation); PaintAddImageAsChildRotated( session, direction, (imageIdAlt & 0x7FFFF) | IMAGE_TYPE_REMAP | IMAGE_TYPE_TRANSPARENT | (EnumValue(FilterPaletteID::PaletteDarken2) << 19), - 0, 6, 32, 20, 2, height, 0, 6, height + 2); + { 0, 6, height }, { 32, 20, 2 }, { 0, 6, height + 2 }); } } else @@ -714,7 +714,7 @@ static void paint_miniature_railway_station( PaintAddImageAsParentRotated(session, direction, imageId, { 0, 0, height - 2 }, { 32, 28, 2 }, { 0, 2, height }); imageId = miniature_railway_track_pieces_flat_station[direction] | session.TrackColours[SCHEME_TRACK]; - PaintAddImageAsChildRotated(session, direction, imageId, 0, 6, 32, 20, 2, height, 0, 0, height); + PaintAddImageAsChildRotated(session, direction, imageId, { 0, 6, height }, { 32, 20, 2 }, { 0, 0, height }); paint_util_push_tunnel_rotated(session, direction, height, TUNNEL_SQUARE_FLAT); @@ -1145,8 +1145,8 @@ static void paint_miniature_railway_track_s_bend_left( imageId = miniature_railway_track_pieces_s_bend_left[direction & 1][trackSequence] | session.TrackColours[SCHEME_TRACK]; PaintAddImageAsChildRotated( - session, direction, imageId, static_cast(offset.x), static_cast(offset.y), bounds.x, bounds.y, 2, - height, offset.x, offset.y, height); + session, direction, imageId, { static_cast(offset.x), static_cast(offset.y), height }, + { bounds.x, bounds.y, 2 }, { offset.x, offset.y, height }); } if (direction == 0 || direction == 2) { @@ -1253,8 +1253,8 @@ static void paint_miniature_railway_track_s_bend_right( imageId = miniature_railway_track_pieces_s_bend_right[direction & 1][trackSequence] | session.TrackColours[SCHEME_TRACK]; PaintAddImageAsChildRotated( - session, direction, imageId, static_cast(offset.x), static_cast(offset.y), bounds.x, bounds.y, 2, - height, offset.x, offset.y, height); + session, direction, imageId, { static_cast(offset.x), static_cast(offset.y), height }, + { bounds.x, bounds.y, 2 }, { offset.x, offset.y, height }); } if (direction == 0 || direction == 2) diff --git a/src/openrct2/ride/transport/SuspendedMonorail.cpp b/src/openrct2/ride/transport/SuspendedMonorail.cpp index 91d0b310a3..9a5861b59f 100644 --- a/src/openrct2/ride/transport/SuspendedMonorail.cpp +++ b/src/openrct2/ride/transport/SuspendedMonorail.cpp @@ -70,8 +70,8 @@ static void suspended_monorail_track_station( session, direction, imageIds[direction][1] | session.TrackColours[SCHEME_TRACK], { 0, 0, height + 32 }, { 32, 20, 3 }, { 0, 6, height + 32 }); PaintAddImageAsChildRotated( - session, direction, imageIds[direction][2] | session.TrackColours[SCHEME_SUPPORTS], 0, 6, 32, 20, 3, height + 32, 0, 6, - height + 32); + session, direction, imageIds[direction][2] | session.TrackColours[SCHEME_SUPPORTS], { 0, 6, height + 32 }, + { 32, 20, 3 }, { 0, 6, height + 32 }); track_paint_util_draw_station_metal_supports_2(session, direction, height, session.TrackColours[SCHEME_SUPPORTS], 3); track_paint_util_draw_station_inverted(session, ride, direction, height, trackElement, STATION_VARIANT_TALL); paint_util_push_tunnel_rotated(session, direction, height, TUNNEL_SQUARE_INVERTED_9);